docs.go 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224
  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:平安期货,不传默认返回风管云平台",
  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/GetServerTime": {
  481. "get": {
  482. "produces": [
  483. "application/json"
  484. ],
  485. "tags": [
  486. "通用服务"
  487. ],
  488. "summary": "获取服务器时间",
  489. "responses": {
  490. "200": {
  491. "description": "OK",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. },
  496. "500": {
  497. "description": "Internal Server Error",
  498. "schema": {
  499. "$ref": "#/definitions/app.Response"
  500. }
  501. }
  502. }
  503. }
  504. },
  505. "/Common/NoticeReaded": {
  506. "post": {
  507. "security": [
  508. {
  509. "ApiKeyAuth": []
  510. }
  511. ],
  512. "produces": [
  513. "application/json"
  514. ],
  515. "tags": [
  516. "通用服务"
  517. ],
  518. "summary": "通知公告设置已读请求",
  519. "parameters": [
  520. {
  521. "type": "integer",
  522. "description": "登录账号",
  523. "name": "loginID",
  524. "in": "query",
  525. "required": true
  526. },
  527. {
  528. "type": "integer",
  529. "description": "通知公告ID",
  530. "name": "noticeID",
  531. "in": "query",
  532. "required": true
  533. }
  534. ],
  535. "responses": {
  536. "200": {
  537. "description": "OK",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. },
  542. "500": {
  543. "description": "Internal Server Error",
  544. "schema": {
  545. "$ref": "#/definitions/app.Response"
  546. }
  547. }
  548. }
  549. }
  550. },
  551. "/Common/QueryErrorInfos": {
  552. "get": {
  553. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  554. "produces": [
  555. "application/json"
  556. ],
  557. "tags": [
  558. "通用服务"
  559. ],
  560. "summary": "获取数据库错误信息",
  561. "parameters": [
  562. {
  563. "type": "string",
  564. "description": "起始行号前索引",
  565. "name": "rowNumber",
  566. "in": "query"
  567. }
  568. ],
  569. "responses": {
  570. "200": {
  571. "description": "OK",
  572. "schema": {
  573. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  574. }
  575. },
  576. "500": {
  577. "description": "Internal Server Error",
  578. "schema": {
  579. "$ref": "#/definitions/app.Response"
  580. }
  581. }
  582. }
  583. }
  584. },
  585. "/Common/QueryImageConfigs": {
  586. "get": {
  587. "produces": [
  588. "application/json"
  589. ],
  590. "tags": [
  591. "通用服务"
  592. ],
  593. "summary": "查询轮播图配置信息",
  594. "parameters": [
  595. {
  596. "type": "integer",
  597. "description": "用户id",
  598. "name": "userId",
  599. "in": "query"
  600. },
  601. {
  602. "type": "integer",
  603. "description": "类型 - 1:App首页轮播 2:我的",
  604. "name": "imageType",
  605. "in": "query"
  606. }
  607. ],
  608. "responses": {
  609. "200": {
  610. "description": "OK",
  611. "schema": {
  612. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  613. }
  614. },
  615. "500": {
  616. "description": "Internal Server Error",
  617. "schema": {
  618. "$ref": "#/definitions/app.Response"
  619. }
  620. }
  621. }
  622. }
  623. },
  624. "/Common/QueryNotice": {
  625. "get": {
  626. "security": [
  627. {
  628. "ApiKeyAuth": []
  629. }
  630. ],
  631. "produces": [
  632. "application/json"
  633. ],
  634. "tags": [
  635. "通用服务"
  636. ],
  637. "summary": "通知公告系统消息查询",
  638. "parameters": [
  639. {
  640. "type": "integer",
  641. "description": "页码",
  642. "name": "page",
  643. "in": "query"
  644. },
  645. {
  646. "type": "integer",
  647. "description": "每页条数",
  648. "name": "pagesize",
  649. "in": "query"
  650. },
  651. {
  652. "type": "integer",
  653. "description": "登录账号",
  654. "name": "loginID",
  655. "in": "query",
  656. "required": true
  657. },
  658. {
  659. "type": "integer",
  660. "description": "消息类型 - 1:公告通知 2:系统消息",
  661. "name": "msgType",
  662. "in": "query"
  663. },
  664. {
  665. "type": "boolean",
  666. "description": "是否只获取未读信息",
  667. "name": "onlyUnRead",
  668. "in": "query"
  669. },
  670. {
  671. "type": "integer",
  672. "description": "自增ID,传入后会返回这个ID后面的记录",
  673. "name": "lastID",
  674. "in": "query"
  675. }
  676. ],
  677. "responses": {
  678. "200": {
  679. "description": "OK",
  680. "schema": {
  681. "$ref": "#/definitions/common.QueryNoticeRsp"
  682. }
  683. },
  684. "500": {
  685. "description": "Internal Server Error",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "/Common/QueryProvincesAndCities": {
  694. "get": {
  695. "produces": [
  696. "application/json"
  697. ],
  698. "tags": [
  699. "通用服务"
  700. ],
  701. "summary": "查询省市信息(不包括区)",
  702. "parameters": [
  703. {
  704. "type": "integer",
  705. "description": "省ID",
  706. "name": "provinceID",
  707. "in": "query"
  708. }
  709. ],
  710. "responses": {
  711. "200": {
  712. "description": "OK",
  713. "schema": {
  714. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  715. }
  716. },
  717. "500": {
  718. "description": "Internal Server Error",
  719. "schema": {
  720. "$ref": "#/definitions/app.Response"
  721. }
  722. }
  723. }
  724. }
  725. },
  726. "/Common/QueryTableDefine": {
  727. "get": {
  728. "produces": [
  729. "application/json"
  730. ],
  731. "tags": [
  732. "通用服务"
  733. ],
  734. "summary": "查询交易端列表头信息",
  735. "parameters": [
  736. {
  737. "type": "string",
  738. "description": "表key",
  739. "name": "tableKey",
  740. "in": "query"
  741. },
  742. {
  743. "type": "integer",
  744. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  745. "name": "tableType",
  746. "in": "query"
  747. }
  748. ],
  749. "responses": {
  750. "200": {
  751. "description": "OK",
  752. "schema": {
  753. "$ref": "#/definitions/common.QueryTableDefineRsp"
  754. }
  755. },
  756. "500": {
  757. "description": "Internal Server Error",
  758. "schema": {
  759. "$ref": "#/definitions/app.Response"
  760. }
  761. }
  762. }
  763. }
  764. },
  765. "/Common/QueryTraderMenu": {
  766. "get": {
  767. "produces": [
  768. "application/json"
  769. ],
  770. "tags": [
  771. "通用服务"
  772. ],
  773. "summary": "查询交易端菜单",
  774. "parameters": [
  775. {
  776. "type": "integer",
  777. "description": "登录账号",
  778. "name": "loginid",
  779. "in": "query",
  780. "required": true
  781. }
  782. ],
  783. "responses": {
  784. "200": {
  785. "description": "OK",
  786. "schema": {
  787. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  788. }
  789. },
  790. "500": {
  791. "description": "Internal Server Error",
  792. "schema": {
  793. "$ref": "#/definitions/app.Response"
  794. }
  795. }
  796. }
  797. }
  798. },
  799. "/Delivery/QueryDeliveryRelation": {
  800. "get": {
  801. "security": [
  802. {
  803. "ApiKeyAuth": []
  804. }
  805. ],
  806. "produces": [
  807. "application/json"
  808. ],
  809. "tags": [
  810. "交割服务"
  811. ],
  812. "summary": "查询商品交割关系表",
  813. "parameters": [
  814. {
  815. "type": "integer",
  816. "description": "商品ID",
  817. "name": "goodsid",
  818. "in": "query"
  819. },
  820. {
  821. "type": "integer",
  822. "description": "品种ID",
  823. "name": "deliverygoodsid",
  824. "in": "query"
  825. },
  826. {
  827. "type": "integer",
  828. "description": "市场ID",
  829. "name": "marketid",
  830. "in": "query"
  831. }
  832. ],
  833. "responses": {
  834. "200": {
  835. "description": "OK",
  836. "schema": {
  837. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  838. }
  839. },
  840. "500": {
  841. "description": "Internal Server Error",
  842. "schema": {
  843. "$ref": "#/definitions/app.Response"
  844. }
  845. }
  846. }
  847. }
  848. },
  849. "/Ermcp/GetErmcpGoods": {
  850. "get": {
  851. "security": [
  852. {
  853. "ApiKeyAuth": []
  854. }
  855. ],
  856. "produces": [
  857. "application/json"
  858. ],
  859. "tags": [
  860. "企业风险管理(app)"
  861. ],
  862. "summary": "查询企业风管期货商品信息",
  863. "parameters": [
  864. {
  865. "type": "string",
  866. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  867. "name": "lastUpdateTime",
  868. "in": "query"
  869. }
  870. ],
  871. "responses": {
  872. "200": {
  873. "description": "OK",
  874. "schema": {
  875. "$ref": "#/definitions/models.ErmcpGoods"
  876. }
  877. },
  878. "500": {
  879. "description": "Internal Server Error",
  880. "schema": {
  881. "$ref": "#/definitions/app.Response"
  882. }
  883. }
  884. }
  885. }
  886. },
  887. "/Ermcp/GetErmcpGoodsSortByPosition": {
  888. "get": {
  889. "security": [
  890. {
  891. "ApiKeyAuth": []
  892. }
  893. ],
  894. "produces": [
  895. "application/json"
  896. ],
  897. "tags": [
  898. "企业风险管理(app)"
  899. ],
  900. "summary": "查询企业风管期货主力、次主力商品信息",
  901. "parameters": [
  902. {
  903. "type": "string",
  904. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  905. "name": "sortIndex",
  906. "in": "query"
  907. }
  908. ],
  909. "responses": {
  910. "200": {
  911. "description": "OK",
  912. "schema": {
  913. "$ref": "#/definitions/models.Goodssortbypreposition"
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/GetErmcpOutAccountStatus": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "获取目标登录账号当前对冲账号在线状态",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "登录账号",
  943. "name": "loginID",
  944. "in": "query",
  945. "required": true
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/models.Hedgemarketopenlog"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. }
  970. ],
  971. "produces": [
  972. "application/json"
  973. ],
  974. "tags": [
  975. "企业风险管理(app)"
  976. ],
  977. "summary": "获取企业风管终端权限",
  978. "parameters": [
  979. {
  980. "type": "integer",
  981. "description": "登录账号",
  982. "name": "loginID",
  983. "in": "query",
  984. "required": true
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "$ref": "#/definitions/models.Funcmenulist"
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Ermcp/QueryAccMgrBizGroupSet": {
  1004. "get": {
  1005. "security": [
  1006. {
  1007. "ApiKeyAuth": []
  1008. }
  1009. ],
  1010. "produces": [
  1011. "application/json"
  1012. ],
  1013. "tags": [
  1014. "企业风险管理(app)"
  1015. ],
  1016. "summary": "查询业务类型分组(账户管理/账户设置)",
  1017. "parameters": [
  1018. {
  1019. "type": "integer",
  1020. "description": "用户ID",
  1021. "name": "userid",
  1022. "in": "query",
  1023. "required": true
  1024. },
  1025. {
  1026. "type": "integer",
  1027. "description": "现货商品id",
  1028. "name": "deliverygoodsid",
  1029. "in": "query"
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrLoginUser": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "用户类型 2-机构 7-企业成员",
  1076. "name": "usertype",
  1077. "in": "query"
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1082. "name": "querytype",
  1083. "in": "query",
  1084. "required": true
  1085. }
  1086. ],
  1087. "responses": {
  1088. "200": {
  1089. "description": "OK",
  1090. "schema": {
  1091. "type": "array",
  1092. "items": {
  1093. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1094. }
  1095. }
  1096. },
  1097. "500": {
  1098. "description": "Internal Server Error",
  1099. "schema": {
  1100. "$ref": "#/definitions/app.Response"
  1101. }
  1102. }
  1103. }
  1104. }
  1105. },
  1106. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1107. "get": {
  1108. "security": [
  1109. {
  1110. "ApiKeyAuth": []
  1111. }
  1112. ],
  1113. "produces": [
  1114. "application/json"
  1115. ],
  1116. "tags": [
  1117. "企业风险管理(app)"
  1118. ],
  1119. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1120. "parameters": [
  1121. {
  1122. "type": "integer",
  1123. "description": "用户ID",
  1124. "name": "userid",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "主账号id",
  1130. "name": "accountid",
  1131. "in": "query"
  1132. }
  1133. ],
  1134. "responses": {
  1135. "200": {
  1136. "description": "OK",
  1137. "schema": {
  1138. "type": "array",
  1139. "items": {
  1140. "$ref": "#/definitions/models.MainAccountInfo"
  1141. }
  1142. }
  1143. },
  1144. "500": {
  1145. "description": "Internal Server Error",
  1146. "schema": {
  1147. "$ref": "#/definitions/app.Response"
  1148. }
  1149. }
  1150. }
  1151. }
  1152. },
  1153. "/Ermcp/QueryAccMgrRole": {
  1154. "get": {
  1155. "security": [
  1156. {
  1157. "ApiKeyAuth": []
  1158. }
  1159. ],
  1160. "produces": [
  1161. "application/json"
  1162. ],
  1163. "tags": [
  1164. "企业风险管理(app)"
  1165. ],
  1166. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1167. "parameters": [
  1168. {
  1169. "type": "integer",
  1170. "description": "用户ID",
  1171. "name": "userid",
  1172. "in": "query",
  1173. "required": true
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/models.ErmcpRole"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryAccMgrRoleMenu": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "企业风险管理(app)"
  1207. ],
  1208. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "用户ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "角色id(可多个,逗号隔开)",
  1220. "name": "roleid",
  1221. "in": "query"
  1222. },
  1223. {
  1224. "type": "integer",
  1225. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1226. "name": "menutype",
  1227. "in": "query"
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrTaAccountInfo": {
  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": "integer",
  1273. "description": "账号id",
  1274. "name": "accountid",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaaccount": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAvaildGoodsGroup": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "所属机构ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. }
  1361. ],
  1362. "responses": {
  1363. "200": {
  1364. "description": "OK",
  1365. "schema": {
  1366. "type": "array",
  1367. "items": {
  1368. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1369. }
  1370. }
  1371. },
  1372. "500": {
  1373. "description": "Internal Server Error",
  1374. "schema": {
  1375. "$ref": "#/definitions/app.Response"
  1376. }
  1377. }
  1378. }
  1379. }
  1380. },
  1381. "/Ermcp/QueryBusinessDj": {
  1382. "get": {
  1383. "security": [
  1384. {
  1385. "ApiKeyAuth": []
  1386. }
  1387. ],
  1388. "produces": [
  1389. "application/json"
  1390. ],
  1391. "tags": [
  1392. "企业风险管理(app)"
  1393. ],
  1394. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1395. "parameters": [
  1396. {
  1397. "type": "integer",
  1398. "description": "用户ID",
  1399. "name": "UserId",
  1400. "in": "query",
  1401. "required": true
  1402. },
  1403. {
  1404. "type": "integer",
  1405. "description": "用户类型 2-机构 7-企业成员",
  1406. "name": "usertype",
  1407. "in": "query"
  1408. },
  1409. {
  1410. "type": "string",
  1411. "description": "现货合同ID, 不填则查所有",
  1412. "name": "relatedid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "string",
  1417. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1418. "name": "applystatus",
  1419. "in": "query"
  1420. }
  1421. ],
  1422. "responses": {
  1423. "200": {
  1424. "description": "OK",
  1425. "schema": {
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1429. }
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/Ermcp/QueryBusinessFp": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "企业风险管理(app)"
  1453. ],
  1454. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "用户ID",
  1459. "name": "UserId",
  1460. "in": "query",
  1461. "required": true
  1462. },
  1463. {
  1464. "type": "integer",
  1465. "description": "用户类型 2-机构 7-企业成员",
  1466. "name": "usertype",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "现货合同ID, 不填则查所有",
  1472. "name": "relatedid",
  1473. "in": "query"
  1474. },
  1475. {
  1476. "type": "string",
  1477. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1478. "name": "applystatus",
  1479. "in": "query"
  1480. }
  1481. ],
  1482. "responses": {
  1483. "200": {
  1484. "description": "OK",
  1485. "schema": {
  1486. "type": "array",
  1487. "items": {
  1488. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1489. }
  1490. }
  1491. },
  1492. "500": {
  1493. "description": "Internal Server Error",
  1494. "schema": {
  1495. "$ref": "#/definitions/app.Response"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/Ermcp/QueryBusinessJs": {
  1502. "get": {
  1503. "security": [
  1504. {
  1505. "ApiKeyAuth": []
  1506. }
  1507. ],
  1508. "produces": [
  1509. "application/json"
  1510. ],
  1511. "tags": [
  1512. "企业风险管理(app)"
  1513. ],
  1514. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1515. "parameters": [
  1516. {
  1517. "type": "integer",
  1518. "description": "用户ID",
  1519. "name": "UserId",
  1520. "in": "query",
  1521. "required": true
  1522. },
  1523. {
  1524. "type": "integer",
  1525. "description": "用户类型 2-机构 7-企业成员",
  1526. "name": "usertype",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "现货合同ID, 不填则查所有",
  1532. "name": "relatedid",
  1533. "in": "query"
  1534. },
  1535. {
  1536. "type": "string",
  1537. "description": "操作申请id",
  1538. "name": "operateapplyid",
  1539. "in": "query"
  1540. },
  1541. {
  1542. "type": "string",
  1543. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1544. "name": "applystatus",
  1545. "in": "query"
  1546. }
  1547. ],
  1548. "responses": {
  1549. "200": {
  1550. "description": "OK",
  1551. "schema": {
  1552. "type": "array",
  1553. "items": {
  1554. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1555. }
  1556. }
  1557. },
  1558. "500": {
  1559. "description": "Internal Server Error",
  1560. "schema": {
  1561. "$ref": "#/definitions/app.Response"
  1562. }
  1563. }
  1564. }
  1565. }
  1566. },
  1567. "/Ermcp/QueryBusinessJsEx": {
  1568. "get": {
  1569. "security": [
  1570. {
  1571. "ApiKeyAuth": []
  1572. }
  1573. ],
  1574. "produces": [
  1575. "application/json"
  1576. ],
  1577. "tags": [
  1578. "企业风险管理(app)"
  1579. ],
  1580. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1581. "parameters": [
  1582. {
  1583. "type": "integer",
  1584. "description": "用户ID",
  1585. "name": "UserId",
  1586. "in": "query",
  1587. "required": true
  1588. },
  1589. {
  1590. "type": "integer",
  1591. "description": "用户类型 2-机构 7-企业成员",
  1592. "name": "usertype",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "现货合同ID, 不填则查所有",
  1598. "name": "relatedid",
  1599. "in": "query"
  1600. },
  1601. {
  1602. "type": "string",
  1603. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1604. "name": "applystatus",
  1605. "in": "query"
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryBusinessKx": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "用户ID",
  1645. "name": "UserId",
  1646. "in": "query",
  1647. "required": true
  1648. },
  1649. {
  1650. "type": "integer",
  1651. "description": "用户类型 2-机构 7-企业成员",
  1652. "name": "usertype",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "现货合同ID, 不填则查所有",
  1658. "name": "relatedid",
  1659. "in": "query"
  1660. },
  1661. {
  1662. "type": "string",
  1663. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1664. "name": "applystatus",
  1665. "in": "query"
  1666. }
  1667. ],
  1668. "responses": {
  1669. "200": {
  1670. "description": "OK",
  1671. "schema": {
  1672. "type": "array",
  1673. "items": {
  1674. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1675. }
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "Internal Server Error",
  1680. "schema": {
  1681. "$ref": "#/definitions/app.Response"
  1682. }
  1683. }
  1684. }
  1685. }
  1686. },
  1687. "/Ermcp/QueryChangeLog": {
  1688. "get": {
  1689. "security": [
  1690. {
  1691. "ApiKeyAuth": []
  1692. }
  1693. ],
  1694. "produces": [
  1695. "application/json"
  1696. ],
  1697. "tags": [
  1698. "企业风险管理(app)"
  1699. ],
  1700. "summary": "查询变更记录",
  1701. "parameters": [
  1702. {
  1703. "type": "string",
  1704. "description": "合同ID",
  1705. "name": "RelatedId",
  1706. "in": "query",
  1707. "required": true
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryErmcpHisOrderDetails": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "获取企业风管期货历史委托单信息",
  1743. "parameters": [
  1744. {
  1745. "type": "integer",
  1746. "description": "资金账户ID",
  1747. "name": "accountID",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "string",
  1753. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1754. "name": "startDate",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1760. "name": "endDate",
  1761. "in": "query"
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1769. }
  1770. },
  1771. "500": {
  1772. "description": "Internal Server Error",
  1773. "schema": {
  1774. "$ref": "#/definitions/app.Response"
  1775. }
  1776. }
  1777. }
  1778. }
  1779. },
  1780. "/Ermcp/QueryErmcpHisTradeDetails": {
  1781. "get": {
  1782. "security": [
  1783. {
  1784. "ApiKeyAuth": []
  1785. }
  1786. ],
  1787. "produces": [
  1788. "application/json"
  1789. ],
  1790. "tags": [
  1791. "企业风险管理(app)"
  1792. ],
  1793. "summary": "获取企业风管期货历史成交单信息",
  1794. "parameters": [
  1795. {
  1796. "type": "integer",
  1797. "description": "资金账户ID",
  1798. "name": "accountID",
  1799. "in": "query",
  1800. "required": true
  1801. },
  1802. {
  1803. "type": "integer",
  1804. "description": "商品ID",
  1805. "name": "goodsID",
  1806. "in": "query"
  1807. },
  1808. {
  1809. "type": "integer",
  1810. "description": "买卖方向,0:买 1:卖",
  1811. "name": "buyOrSell",
  1812. "in": "query"
  1813. },
  1814. {
  1815. "type": "integer",
  1816. "description": "关联委托单号",
  1817. "name": "orderID",
  1818. "in": "query"
  1819. },
  1820. {
  1821. "type": "string",
  1822. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1823. "name": "startDate",
  1824. "in": "query"
  1825. },
  1826. {
  1827. "type": "string",
  1828. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1829. "name": "endDate",
  1830. "in": "query"
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "OK",
  1836. "schema": {
  1837. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1838. }
  1839. },
  1840. "500": {
  1841. "description": "Internal Server Error",
  1842. "schema": {
  1843. "$ref": "#/definitions/app.Response"
  1844. }
  1845. }
  1846. }
  1847. }
  1848. },
  1849. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1850. "get": {
  1851. "security": [
  1852. {
  1853. "ApiKeyAuth": []
  1854. }
  1855. ],
  1856. "produces": [
  1857. "application/json"
  1858. ],
  1859. "tags": [
  1860. "企业风险管理(app)"
  1861. ],
  1862. "summary": "获取企业风管期货内部持仓单信息",
  1863. "parameters": [
  1864. {
  1865. "type": "integer",
  1866. "description": "资金账户ID",
  1867. "name": "accountID",
  1868. "in": "query",
  1869. "required": true
  1870. },
  1871. {
  1872. "type": "integer",
  1873. "description": "商品ID",
  1874. "name": "goodsID",
  1875. "in": "query"
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "买卖方向,0:买 1:卖",
  1880. "name": "buyOrSell",
  1881. "in": "query"
  1882. }
  1883. ],
  1884. "responses": {
  1885. "200": {
  1886. "description": "OK",
  1887. "schema": {
  1888. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/Ermcp/QueryErmcpOrderDetails": {
  1901. "get": {
  1902. "security": [
  1903. {
  1904. "ApiKeyAuth": []
  1905. }
  1906. ],
  1907. "produces": [
  1908. "application/json"
  1909. ],
  1910. "tags": [
  1911. "企业风险管理(app)"
  1912. ],
  1913. "summary": "获取企业风管期货委托单信息",
  1914. "parameters": [
  1915. {
  1916. "type": "integer",
  1917. "description": "资金账户ID",
  1918. "name": "accountID",
  1919. "in": "query",
  1920. "required": true
  1921. }
  1922. ],
  1923. "responses": {
  1924. "200": {
  1925. "description": "OK",
  1926. "schema": {
  1927. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1928. }
  1929. },
  1930. "500": {
  1931. "description": "Internal Server Error",
  1932. "schema": {
  1933. "$ref": "#/definitions/app.Response"
  1934. }
  1935. }
  1936. }
  1937. }
  1938. },
  1939. "/Ermcp/QueryErmcpTradeDetails": {
  1940. "get": {
  1941. "security": [
  1942. {
  1943. "ApiKeyAuth": []
  1944. }
  1945. ],
  1946. "produces": [
  1947. "application/json"
  1948. ],
  1949. "tags": [
  1950. "企业风险管理(app)"
  1951. ],
  1952. "summary": "获取企业风管期货成交单信息",
  1953. "parameters": [
  1954. {
  1955. "type": "integer",
  1956. "description": "资金账户ID",
  1957. "name": "accountID",
  1958. "in": "query",
  1959. "required": true
  1960. },
  1961. {
  1962. "type": "integer",
  1963. "description": "商品ID",
  1964. "name": "goodsID",
  1965. "in": "query"
  1966. },
  1967. {
  1968. "type": "integer",
  1969. "description": "买卖方向,0:买 1:卖",
  1970. "name": "buyOrSell",
  1971. "in": "query"
  1972. },
  1973. {
  1974. "type": "integer",
  1975. "description": "关联委托单号",
  1976. "name": "orderID",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1985. }
  1986. },
  1987. "500": {
  1988. "description": "Internal Server Error",
  1989. "schema": {
  1990. "$ref": "#/definitions/app.Response"
  1991. }
  1992. }
  1993. }
  1994. }
  1995. },
  1996. "/Ermcp/QueryErmcpTradePosition": {
  1997. "get": {
  1998. "security": [
  1999. {
  2000. "ApiKeyAuth": []
  2001. }
  2002. ],
  2003. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2004. "produces": [
  2005. "application/json"
  2006. ],
  2007. "tags": [
  2008. "企业风险管理(app)"
  2009. ],
  2010. "summary": "获取企业风管期货持仓头寸信息",
  2011. "parameters": [
  2012. {
  2013. "type": "integer",
  2014. "description": "资金账户ID",
  2015. "name": "accountID",
  2016. "in": "query",
  2017. "required": true
  2018. },
  2019. {
  2020. "type": "integer",
  2021. "description": "所属市场ID",
  2022. "name": "marketID",
  2023. "in": "query"
  2024. }
  2025. ],
  2026. "responses": {
  2027. "200": {
  2028. "description": "OK",
  2029. "schema": {
  2030. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2031. }
  2032. },
  2033. "500": {
  2034. "description": "Internal Server Error",
  2035. "schema": {
  2036. "$ref": "#/definitions/app.Response"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/Ermcp/QueryExposureDetail": {
  2043. "get": {
  2044. "security": [
  2045. {
  2046. "ApiKeyAuth": []
  2047. }
  2048. ],
  2049. "produces": [
  2050. "application/json"
  2051. ],
  2052. "tags": [
  2053. "企业风险管理(app)"
  2054. ],
  2055. "summary": "查询敞口现货明细",
  2056. "parameters": [
  2057. {
  2058. "type": "integer",
  2059. "description": "所属机构ID",
  2060. "name": "areaUserId",
  2061. "in": "query",
  2062. "required": true
  2063. },
  2064. {
  2065. "type": "integer",
  2066. "description": "套保商品",
  2067. "name": "middleGoodsId",
  2068. "in": "query",
  2069. "required": true
  2070. }
  2071. ],
  2072. "responses": {
  2073. "200": {
  2074. "description": "OK",
  2075. "schema": {
  2076. "type": "array",
  2077. "items": {
  2078. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2079. }
  2080. }
  2081. },
  2082. "500": {
  2083. "description": "Internal Server Error",
  2084. "schema": {
  2085. "$ref": "#/definitions/app.Response"
  2086. }
  2087. }
  2088. }
  2089. }
  2090. },
  2091. "/Ermcp/QueryExposureGoods": {
  2092. "get": {
  2093. "security": [
  2094. {
  2095. "ApiKeyAuth": []
  2096. }
  2097. ],
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "企业风险管理(app)"
  2103. ],
  2104. "summary": "查询敞口主力合约",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "套保商品id",
  2109. "name": "middlegoodsid",
  2110. "in": "query",
  2111. "required": true
  2112. }
  2113. ],
  2114. "responses": {
  2115. "200": {
  2116. "description": "OK",
  2117. "schema": {
  2118. "type": "array",
  2119. "items": {
  2120. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2121. }
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryExposureHedgePosition": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "用户id",
  2151. "name": "userid",
  2152. "in": "query",
  2153. "required": true
  2154. }
  2155. ],
  2156. "responses": {
  2157. "200": {
  2158. "description": "OK",
  2159. "schema": {
  2160. "type": "array",
  2161. "items": {
  2162. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2163. }
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Ermcp/QueryExposureHedgePositionDetail": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "企业风险管理(app)"
  2187. ],
  2188. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2189. "parameters": [
  2190. {
  2191. "type": "integer",
  2192. "description": "所属机构ID",
  2193. "name": "userid",
  2194. "in": "query",
  2195. "required": true
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": "商品id",
  2200. "name": "goodsId",
  2201. "in": "query",
  2202. "required": true
  2203. }
  2204. ],
  2205. "responses": {
  2206. "200": {
  2207. "description": "OK",
  2208. "schema": {
  2209. "type": "array",
  2210. "items": {
  2211. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2212. }
  2213. }
  2214. },
  2215. "500": {
  2216. "description": "Internal Server Error",
  2217. "schema": {
  2218. "$ref": "#/definitions/app.Response"
  2219. }
  2220. }
  2221. }
  2222. }
  2223. },
  2224. "/Ermcp/QueryExposureSpot": {
  2225. "get": {
  2226. "security": [
  2227. {
  2228. "ApiKeyAuth": []
  2229. }
  2230. ],
  2231. "produces": [
  2232. "application/json"
  2233. ],
  2234. "tags": [
  2235. "企业风险管理(app)"
  2236. ],
  2237. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2238. "parameters": [
  2239. {
  2240. "type": "integer",
  2241. "description": "所属机构ID",
  2242. "name": "areaUserId",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryExposureSpotDetail": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "areaUserId",
  2285. "in": "query",
  2286. "required": true
  2287. },
  2288. {
  2289. "type": "integer",
  2290. "description": "现货品种ID",
  2291. "name": "wrstandardId",
  2292. "in": "query",
  2293. "required": true
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryFuturesCompany": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询期货公司",
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "type": "array",
  2334. "items": {
  2335. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2336. }
  2337. }
  2338. },
  2339. "500": {
  2340. "description": "Internal Server Error",
  2341. "schema": {
  2342. "$ref": "#/definitions/app.Response"
  2343. }
  2344. }
  2345. }
  2346. }
  2347. },
  2348. "/Ermcp/QueryGGConvertConfig": {
  2349. "get": {
  2350. "security": [
  2351. {
  2352. "ApiKeyAuth": []
  2353. }
  2354. ],
  2355. "produces": [
  2356. "application/json"
  2357. ],
  2358. "tags": [
  2359. "企业风险管理(app)"
  2360. ],
  2361. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2362. "parameters": [
  2363. {
  2364. "type": "integer",
  2365. "description": "品种id(不填则查所有)",
  2366. "name": "goodsgroupid",
  2367. "in": "query"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "type": "array",
  2375. "items": {
  2376. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2377. }
  2378. }
  2379. },
  2380. "500": {
  2381. "description": "Internal Server Error",
  2382. "schema": {
  2383. "$ref": "#/definitions/app.Response"
  2384. }
  2385. }
  2386. }
  2387. }
  2388. },
  2389. "/Ermcp/QueryGoodsBrand": {
  2390. "get": {
  2391. "security": [
  2392. {
  2393. "ApiKeyAuth": []
  2394. }
  2395. ],
  2396. "produces": [
  2397. "application/json"
  2398. ],
  2399. "tags": [
  2400. "企业风险管理(app)"
  2401. ],
  2402. "summary": "查询商品品牌",
  2403. "parameters": [
  2404. {
  2405. "type": "integer",
  2406. "description": "用户ID",
  2407. "name": "userid",
  2408. "in": "query",
  2409. "required": true
  2410. },
  2411. {
  2412. "type": "integer",
  2413. "description": "现货商品ID",
  2414. "name": "wrstandardid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsModel": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品型号",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. }
  2459. ],
  2460. "responses": {
  2461. "200": {
  2462. "description": "OK",
  2463. "schema": {
  2464. "type": "array",
  2465. "items": {
  2466. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2467. }
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/Ermcp/QueryHisExposure": {
  2480. "get": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "企业风险管理(app)"
  2491. ],
  2492. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2493. "parameters": [
  2494. {
  2495. "type": "integer",
  2496. "description": "用户id",
  2497. "name": "userid",
  2498. "in": "query",
  2499. "required": true
  2500. },
  2501. {
  2502. "type": "integer",
  2503. "description": "每个品种记录数",
  2504. "name": "lastNum",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryMiddleGoods": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询套保品种(菜单:套保品种)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "状态 0-停用 1-正常",
  2553. "name": "status",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "userid",
  2596. "in": "query",
  2597. "required": true
  2598. },
  2599. {
  2600. "type": "integer",
  2601. "description": "套保品种id",
  2602. "name": "middlegoodsid",
  2603. "in": "query",
  2604. "required": true
  2605. }
  2606. ],
  2607. "responses": {
  2608. "200": {
  2609. "description": "OK",
  2610. "schema": {
  2611. "type": "array",
  2612. "items": {
  2613. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2614. }
  2615. }
  2616. },
  2617. "500": {
  2618. "description": "Internal Server Error",
  2619. "schema": {
  2620. "$ref": "#/definitions/app.Response"
  2621. }
  2622. }
  2623. }
  2624. }
  2625. },
  2626. "/Ermcp/QueryMiddleGoodsDetail": {
  2627. "get": {
  2628. "security": [
  2629. {
  2630. "ApiKeyAuth": []
  2631. }
  2632. ],
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "企业风险管理(app)"
  2638. ],
  2639. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2640. "parameters": [
  2641. {
  2642. "type": "integer",
  2643. "description": "所属机构ID",
  2644. "name": "userid",
  2645. "in": "query",
  2646. "required": true
  2647. },
  2648. {
  2649. "type": "integer",
  2650. "description": "套保品种id",
  2651. "name": "middlegoodsid",
  2652. "in": "query"
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryPendingAuditInfo": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "用户ID",
  2692. "name": "UserId",
  2693. "in": "query",
  2694. "required": true
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "type": "array",
  2702. "items": {
  2703. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2704. }
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Ermcp/QueryRealtimeExposure": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "企业风险管理(app)"
  2728. ],
  2729. "summary": "查询实时敞口",
  2730. "parameters": [
  2731. {
  2732. "type": "integer",
  2733. "description": "所属机构ID",
  2734. "name": "userid",
  2735. "in": "query",
  2736. "required": true
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2746. }
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Ermcp/QueryRealtimeExposurePosition": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "企业风险管理(app)"
  2770. ],
  2771. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "用户id",
  2776. "name": "userid",
  2777. "in": "query",
  2778. "required": true
  2779. },
  2780. {
  2781. "type": "integer",
  2782. "description": "套保商品ID",
  2783. "name": "middleGoodsId",
  2784. "in": "query",
  2785. "required": true
  2786. }
  2787. ],
  2788. "responses": {
  2789. "200": {
  2790. "description": "OK",
  2791. "schema": {
  2792. "type": "array",
  2793. "items": {
  2794. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2795. }
  2796. }
  2797. },
  2798. "500": {
  2799. "description": "Internal Server Error",
  2800. "schema": {
  2801. "$ref": "#/definitions/app.Response"
  2802. }
  2803. }
  2804. }
  2805. }
  2806. },
  2807. "/Ermcp/QueryRoleMenu": {
  2808. "get": {
  2809. "security": [
  2810. {
  2811. "ApiKeyAuth": []
  2812. }
  2813. ],
  2814. "produces": [
  2815. "application/json"
  2816. ],
  2817. "tags": [
  2818. "企业风险管理(app)"
  2819. ],
  2820. "summary": "查询角色菜单和权限",
  2821. "parameters": [
  2822. {
  2823. "type": "integer",
  2824. "description": "登录ID",
  2825. "name": "loginid",
  2826. "in": "query",
  2827. "required": true
  2828. },
  2829. {
  2830. "type": "integer",
  2831. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2832. "name": "menutype",
  2833. "in": "query"
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/models.RoleMenu"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryTradeConfigTMP": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询交易模板配置",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "所属机构id",
  2873. "name": "areauserid",
  2874. "in": "query"
  2875. }
  2876. ],
  2877. "responses": {
  2878. "200": {
  2879. "description": "OK",
  2880. "schema": {
  2881. "type": "array",
  2882. "items": {
  2883. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2884. }
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/Ermcp/QueryUserInfo": {
  2897. "get": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "企业风险管理(app)"
  2908. ],
  2909. "summary": "查询客户资料",
  2910. "parameters": [
  2911. {
  2912. "type": "integer",
  2913. "description": "所属机构用户ID",
  2914. "name": "MemberUserID",
  2915. "in": "query",
  2916. "required": true
  2917. },
  2918. {
  2919. "type": "integer",
  2920. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2921. "name": "queryType",
  2922. "in": "query",
  2923. "required": true
  2924. }
  2925. ],
  2926. "responses": {
  2927. "200": {
  2928. "description": "OK",
  2929. "schema": {
  2930. "type": "array",
  2931. "items": {
  2932. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2933. }
  2934. }
  2935. },
  2936. "500": {
  2937. "description": "Internal Server Error",
  2938. "schema": {
  2939. "$ref": "#/definitions/app.Response"
  2940. }
  2941. }
  2942. }
  2943. }
  2944. },
  2945. "/Ermcp/QueryWarehouseInfo": {
  2946. "get": {
  2947. "security": [
  2948. {
  2949. "ApiKeyAuth": []
  2950. }
  2951. ],
  2952. "produces": [
  2953. "application/json"
  2954. ],
  2955. "tags": [
  2956. "企业风险管理(app)"
  2957. ],
  2958. "summary": "查询仓库信息",
  2959. "parameters": [
  2960. {
  2961. "type": "integer",
  2962. "description": "用户ID",
  2963. "name": "userid",
  2964. "in": "query",
  2965. "required": true
  2966. },
  2967. {
  2968. "type": "string",
  2969. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2970. "name": "status",
  2971. "in": "query"
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp3/QryAreaExpourseContractDetail": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理v3(app)"
  3005. ],
  3006. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "integer",
  3017. "description": "套保商品id",
  3018. "name": "middlegoodsid",
  3019. "in": "query",
  3020. "required": true
  3021. },
  3022. {
  3023. "type": "integer",
  3024. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3025. "name": "cycletype",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "string",
  3031. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3032. "name": "cycletime",
  3033. "in": "query",
  3034. "required": true
  3035. }
  3036. ],
  3037. "responses": {
  3038. "200": {
  3039. "description": "OK",
  3040. "schema": {
  3041. "type": "array",
  3042. "items": {
  3043. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3044. }
  3045. }
  3046. },
  3047. "500": {
  3048. "description": "Internal Server Error",
  3049. "schema": {
  3050. "$ref": "#/definitions/app.Response"
  3051. }
  3052. }
  3053. }
  3054. }
  3055. },
  3056. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3057. "get": {
  3058. "security": [
  3059. {
  3060. "ApiKeyAuth": []
  3061. }
  3062. ],
  3063. "produces": [
  3064. "application/json"
  3065. ],
  3066. "tags": [
  3067. "企业风险管理v3(app)"
  3068. ],
  3069. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3070. "parameters": [
  3071. {
  3072. "type": "integer",
  3073. "description": "用户ID",
  3074. "name": "userid",
  3075. "in": "query",
  3076. "required": true
  3077. },
  3078. {
  3079. "type": "integer",
  3080. "description": "套保商品id",
  3081. "name": "middlegoodsid",
  3082. "in": "query",
  3083. "required": true
  3084. },
  3085. {
  3086. "type": "integer",
  3087. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3088. "name": "cycletype",
  3089. "in": "query",
  3090. "required": true
  3091. },
  3092. {
  3093. "type": "string",
  3094. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3095. "name": "cycletime",
  3096. "in": "query",
  3097. "required": true
  3098. }
  3099. ],
  3100. "responses": {
  3101. "200": {
  3102. "description": "OK",
  3103. "schema": {
  3104. "type": "array",
  3105. "items": {
  3106. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3107. }
  3108. }
  3109. },
  3110. "500": {
  3111. "description": "Internal Server Error",
  3112. "schema": {
  3113. "$ref": "#/definitions/app.Response"
  3114. }
  3115. }
  3116. }
  3117. }
  3118. },
  3119. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3120. "get": {
  3121. "security": [
  3122. {
  3123. "ApiKeyAuth": []
  3124. }
  3125. ],
  3126. "produces": [
  3127. "application/json"
  3128. ],
  3129. "tags": [
  3130. "企业风险管理v3(app)"
  3131. ],
  3132. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3133. "parameters": [
  3134. {
  3135. "type": "integer",
  3136. "description": "用户ID",
  3137. "name": "userid",
  3138. "in": "query",
  3139. "required": true
  3140. },
  3141. {
  3142. "type": "integer",
  3143. "description": "套保商品id",
  3144. "name": "middlegoodsid",
  3145. "in": "query",
  3146. "required": true
  3147. },
  3148. {
  3149. "type": "integer",
  3150. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3151. "name": "cycletype",
  3152. "in": "query",
  3153. "required": true
  3154. },
  3155. {
  3156. "type": "string",
  3157. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3158. "name": "cycletime",
  3159. "in": "query",
  3160. "required": true
  3161. }
  3162. ],
  3163. "responses": {
  3164. "200": {
  3165. "description": "OK",
  3166. "schema": {
  3167. "type": "array",
  3168. "items": {
  3169. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3170. }
  3171. }
  3172. },
  3173. "500": {
  3174. "description": "Internal Server Error",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. }
  3179. }
  3180. }
  3181. },
  3182. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3183. "get": {
  3184. "security": [
  3185. {
  3186. "ApiKeyAuth": []
  3187. }
  3188. ],
  3189. "produces": [
  3190. "application/json"
  3191. ],
  3192. "tags": [
  3193. "企业风险管理v3(app)"
  3194. ],
  3195. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3196. "parameters": [
  3197. {
  3198. "type": "integer",
  3199. "description": "用户ID",
  3200. "name": "userid",
  3201. "in": "query",
  3202. "required": true
  3203. },
  3204. {
  3205. "type": "integer",
  3206. "description": "套保商品id",
  3207. "name": "middlegoodsid",
  3208. "in": "query",
  3209. "required": true
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3214. "name": "cycletype",
  3215. "in": "query",
  3216. "required": true
  3217. },
  3218. {
  3219. "type": "string",
  3220. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3221. "name": "cycletime",
  3222. "in": "query",
  3223. "required": true
  3224. }
  3225. ],
  3226. "responses": {
  3227. "200": {
  3228. "description": "OK",
  3229. "schema": {
  3230. "type": "array",
  3231. "items": {
  3232. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3233. }
  3234. }
  3235. },
  3236. "500": {
  3237. "description": "Internal Server Error",
  3238. "schema": {
  3239. "$ref": "#/definitions/app.Response"
  3240. }
  3241. }
  3242. }
  3243. }
  3244. },
  3245. "/Ermcp3/QryAreaExpourseReport": {
  3246. "get": {
  3247. "security": [
  3248. {
  3249. "ApiKeyAuth": []
  3250. }
  3251. ],
  3252. "produces": [
  3253. "application/json"
  3254. ],
  3255. "tags": [
  3256. "企业风险管理v3(app)"
  3257. ],
  3258. "summary": "查询敞口报表",
  3259. "parameters": [
  3260. {
  3261. "type": "integer",
  3262. "description": "用户ID",
  3263. "name": "userid",
  3264. "in": "query",
  3265. "required": true
  3266. },
  3267. {
  3268. "type": "integer",
  3269. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3270. "name": "querytype",
  3271. "in": "query",
  3272. "required": true
  3273. },
  3274. {
  3275. "type": "integer",
  3276. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3277. "name": "cycletype",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "string",
  3283. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3284. "name": "cycletime",
  3285. "in": "query",
  3286. "required": true
  3287. }
  3288. ],
  3289. "responses": {
  3290. "200": {
  3291. "description": "OK",
  3292. "schema": {
  3293. "type": "array",
  3294. "items": {
  3295. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3296. }
  3297. }
  3298. },
  3299. "500": {
  3300. "description": "Internal Server Error",
  3301. "schema": {
  3302. "$ref": "#/definitions/app.Response"
  3303. }
  3304. }
  3305. }
  3306. }
  3307. },
  3308. "/Ermcp3/QryAreaSpotplReport": {
  3309. "get": {
  3310. "security": [
  3311. {
  3312. "ApiKeyAuth": []
  3313. }
  3314. ],
  3315. "produces": [
  3316. "application/json"
  3317. ],
  3318. "tags": [
  3319. "企业风险管理v3(app)"
  3320. ],
  3321. "summary": "查询现货报表",
  3322. "parameters": [
  3323. {
  3324. "type": "integer",
  3325. "description": "用户ID",
  3326. "name": "userid",
  3327. "in": "query",
  3328. "required": true
  3329. },
  3330. {
  3331. "type": "integer",
  3332. "description": "查询类型 1-报表 2-报表明细",
  3333. "name": "querytype",
  3334. "in": "query",
  3335. "required": true
  3336. },
  3337. {
  3338. "type": "integer",
  3339. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3340. "name": "cycletype",
  3341. "in": "query",
  3342. "required": true
  3343. },
  3344. {
  3345. "type": "string",
  3346. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3347. "name": "cycletime",
  3348. "in": "query",
  3349. "required": true
  3350. },
  3351. {
  3352. "type": "integer",
  3353. "description": "现货品种id(明细必填)",
  3354. "name": "deliverygoodsid",
  3355. "in": "query"
  3356. },
  3357. {
  3358. "type": "integer",
  3359. "description": "币种id(明细必填)",
  3360. "name": "currencyid",
  3361. "in": "query"
  3362. }
  3363. ],
  3364. "responses": {
  3365. "200": {
  3366. "description": "OK",
  3367. "schema": {
  3368. "type": "array",
  3369. "items": {
  3370. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3371. }
  3372. }
  3373. },
  3374. "500": {
  3375. "description": "Internal Server Error",
  3376. "schema": {
  3377. "$ref": "#/definitions/app.Response"
  3378. }
  3379. }
  3380. }
  3381. }
  3382. },
  3383. "/Ermcp3/QryAreaStockReport": {
  3384. "get": {
  3385. "security": [
  3386. {
  3387. "ApiKeyAuth": []
  3388. }
  3389. ],
  3390. "produces": [
  3391. "application/json"
  3392. ],
  3393. "tags": [
  3394. "企业风险管理v3(app)"
  3395. ],
  3396. "summary": "查询库存报表",
  3397. "parameters": [
  3398. {
  3399. "type": "integer",
  3400. "description": "用户ID",
  3401. "name": "userid",
  3402. "in": "query",
  3403. "required": true
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "查询类型 1-报表 2-报表明细",
  3408. "name": "querytype",
  3409. "in": "query",
  3410. "required": true
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3415. "name": "cycletype",
  3416. "in": "query",
  3417. "required": true
  3418. },
  3419. {
  3420. "type": "string",
  3421. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3422. "name": "cycletime",
  3423. "in": "query",
  3424. "required": true
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3429. "name": "sumfields",
  3430. "in": "query"
  3431. },
  3432. {
  3433. "type": "integer",
  3434. "description": "品种ID",
  3435. "name": "deliverygoodsid",
  3436. "in": "query"
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "品类ID",
  3441. "name": "wrstandardid",
  3442. "in": "query"
  3443. },
  3444. {
  3445. "type": "integer",
  3446. "description": "品牌ID",
  3447. "name": "spotgoodsbrandid",
  3448. "in": "query"
  3449. },
  3450. {
  3451. "type": "integer",
  3452. "description": "仓库ID",
  3453. "name": "warehouseinfoid",
  3454. "in": "query"
  3455. }
  3456. ],
  3457. "responses": {
  3458. "200": {
  3459. "description": "OK",
  3460. "schema": {
  3461. "type": "array",
  3462. "items": {
  3463. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3464. }
  3465. }
  3466. },
  3467. "500": {
  3468. "description": "Internal Server Error",
  3469. "schema": {
  3470. "$ref": "#/definitions/app.Response"
  3471. }
  3472. }
  3473. }
  3474. }
  3475. },
  3476. "/Ermcp3/QryAreaSumPL": {
  3477. "get": {
  3478. "security": [
  3479. {
  3480. "ApiKeyAuth": []
  3481. }
  3482. ],
  3483. "produces": [
  3484. "application/json"
  3485. ],
  3486. "tags": [
  3487. "企业风险管理v3(app)"
  3488. ],
  3489. "summary": "查询汇总损益表",
  3490. "parameters": [
  3491. {
  3492. "type": "integer",
  3493. "description": "用户ID",
  3494. "name": "userid",
  3495. "in": "query",
  3496. "required": true
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "查询类型 1-报表 2-报表明细",
  3501. "name": "querytype",
  3502. "in": "query",
  3503. "required": true
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3508. "name": "cycletype",
  3509. "in": "query",
  3510. "required": true
  3511. },
  3512. {
  3513. "type": "string",
  3514. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3515. "name": "cycletime",
  3516. "in": "query",
  3517. "required": true
  3518. },
  3519. {
  3520. "type": "integer",
  3521. "description": "币种id(明细必填)",
  3522. "name": "currencyid",
  3523. "in": "query"
  3524. }
  3525. ],
  3526. "responses": {
  3527. "200": {
  3528. "description": "OK",
  3529. "schema": {
  3530. "type": "array",
  3531. "items": {
  3532. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3533. }
  3534. }
  3535. },
  3536. "500": {
  3537. "description": "Internal Server Error",
  3538. "schema": {
  3539. "$ref": "#/definitions/app.Response"
  3540. }
  3541. }
  3542. }
  3543. }
  3544. },
  3545. "/Ermcp3/QryFinanceReport": {
  3546. "get": {
  3547. "security": [
  3548. {
  3549. "ApiKeyAuth": []
  3550. }
  3551. ],
  3552. "produces": [
  3553. "application/json"
  3554. ],
  3555. "tags": [
  3556. "企业风险管理v3(app)"
  3557. ],
  3558. "summary": "查询财务报表",
  3559. "parameters": [
  3560. {
  3561. "type": "integer",
  3562. "description": "用户ID",
  3563. "name": "userid",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "查询类型 1-报表 2-报表明细",
  3570. "name": "querytype",
  3571. "in": "query",
  3572. "required": true
  3573. },
  3574. {
  3575. "type": "integer",
  3576. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3577. "name": "cycletype",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "string",
  3583. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3584. "name": "cycletime",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "币种id(报表明细必填)",
  3591. "name": "currencyid",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3597. "name": "sumfields",
  3598. "in": "query"
  3599. }
  3600. ],
  3601. "responses": {
  3602. "200": {
  3603. "description": "OK",
  3604. "schema": {
  3605. "type": "array",
  3606. "items": {
  3607. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3608. }
  3609. }
  3610. },
  3611. "500": {
  3612. "description": "Internal Server Error",
  3613. "schema": {
  3614. "$ref": "#/definitions/app.Response"
  3615. }
  3616. }
  3617. }
  3618. }
  3619. },
  3620. "/Ermcp3/QryTaFutureDataReport": {
  3621. "get": {
  3622. "security": [
  3623. {
  3624. "ApiKeyAuth": []
  3625. }
  3626. ],
  3627. "produces": [
  3628. "application/json"
  3629. ],
  3630. "tags": [
  3631. "企业风险管理v3(app)"
  3632. ],
  3633. "summary": "查询期货报表",
  3634. "parameters": [
  3635. {
  3636. "type": "integer",
  3637. "description": "用户ID",
  3638. "name": "userid",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "integer",
  3644. "description": "查询类型 1-报表 2-报表明细",
  3645. "name": "querytype",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3652. "name": "cycletype",
  3653. "in": "query",
  3654. "required": true
  3655. },
  3656. {
  3657. "type": "string",
  3658. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3659. "name": "cycletime",
  3660. "in": "query",
  3661. "required": true
  3662. },
  3663. {
  3664. "type": "integer",
  3665. "description": "币种id(查明细必填)",
  3666. "name": "currencyid",
  3667. "in": "query"
  3668. },
  3669. {
  3670. "type": "integer",
  3671. "description": "品种id(查明细必填)",
  3672. "name": "goodsgroupid",
  3673. "in": "query"
  3674. },
  3675. {
  3676. "type": "integer",
  3677. "description": "商品id(查明细必填)",
  3678. "name": "goodsid",
  3679. "in": "query"
  3680. },
  3681. {
  3682. "type": "integer",
  3683. "description": "买卖方向(查明细必填)",
  3684. "name": "buyorsell",
  3685. "in": "query"
  3686. }
  3687. ],
  3688. "responses": {
  3689. "200": {
  3690. "description": "OK",
  3691. "schema": {
  3692. "type": "array",
  3693. "items": {
  3694. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3695. }
  3696. }
  3697. },
  3698. "500": {
  3699. "description": "Internal Server Error",
  3700. "schema": {
  3701. "$ref": "#/definitions/app.Response"
  3702. }
  3703. }
  3704. }
  3705. }
  3706. },
  3707. "/Ermcp3/QueryAreaStock": {
  3708. "get": {
  3709. "security": [
  3710. {
  3711. "ApiKeyAuth": []
  3712. }
  3713. ],
  3714. "produces": [
  3715. "application/json"
  3716. ],
  3717. "tags": [
  3718. "企业风险管理v3(app)"
  3719. ],
  3720. "summary": "查询机构库存(库存管理/当前库存)",
  3721. "parameters": [
  3722. {
  3723. "type": "integer",
  3724. "description": "用户ID",
  3725. "name": "userid",
  3726. "in": "query",
  3727. "required": true
  3728. }
  3729. ],
  3730. "responses": {
  3731. "200": {
  3732. "description": "OK",
  3733. "schema": {
  3734. "type": "array",
  3735. "items": {
  3736. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3737. }
  3738. }
  3739. },
  3740. "500": {
  3741. "description": "Internal Server Error",
  3742. "schema": {
  3743. "$ref": "#/definitions/app.Response"
  3744. }
  3745. }
  3746. }
  3747. }
  3748. },
  3749. "/Ermcp3/QueryAreaStockApply": {
  3750. "get": {
  3751. "security": [
  3752. {
  3753. "ApiKeyAuth": []
  3754. }
  3755. ],
  3756. "produces": [
  3757. "application/json"
  3758. ],
  3759. "tags": [
  3760. "企业风险管理v3(app)"
  3761. ],
  3762. "summary": "查询库存申请(出入库记录|库存审核)",
  3763. "parameters": [
  3764. {
  3765. "type": "integer",
  3766. "description": "用户ID",
  3767. "name": "userid",
  3768. "in": "query",
  3769. "required": true
  3770. },
  3771. {
  3772. "type": "integer",
  3773. "description": "用户类型 2-机构 7-企业成员",
  3774. "name": "usertype",
  3775. "in": "query"
  3776. },
  3777. {
  3778. "type": "integer",
  3779. "description": "现货商品ID",
  3780. "name": "deliverygoodsid",
  3781. "in": "query"
  3782. },
  3783. {
  3784. "type": "string",
  3785. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3786. "name": "inouttype",
  3787. "in": "query"
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "合同ID",
  3792. "name": "spotcontractid",
  3793. "in": "query"
  3794. },
  3795. {
  3796. "type": "integer",
  3797. "description": "品类ID",
  3798. "name": "wrstandardid",
  3799. "in": "query"
  3800. },
  3801. {
  3802. "type": "integer",
  3803. "description": "品牌ID",
  3804. "name": "spotgoodsbrandid",
  3805. "in": "query"
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "仓库ID",
  3810. "name": "warehouseinfoid",
  3811. "in": "query"
  3812. },
  3813. {
  3814. "type": "string",
  3815. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3816. "name": "applystatus",
  3817. "in": "query"
  3818. }
  3819. ],
  3820. "responses": {
  3821. "200": {
  3822. "description": "OK",
  3823. "schema": {
  3824. "type": "array",
  3825. "items": {
  3826. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3827. }
  3828. }
  3829. },
  3830. "500": {
  3831. "description": "Internal Server Error",
  3832. "schema": {
  3833. "$ref": "#/definitions/app.Response"
  3834. }
  3835. }
  3836. }
  3837. }
  3838. },
  3839. "/Ermcp3/QueryAreaStockApplySum": {
  3840. "get": {
  3841. "security": [
  3842. {
  3843. "ApiKeyAuth": []
  3844. }
  3845. ],
  3846. "produces": [
  3847. "application/json"
  3848. ],
  3849. "tags": [
  3850. "企业风险管理v3(app)"
  3851. ],
  3852. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3853. "parameters": [
  3854. {
  3855. "type": "integer",
  3856. "description": "合同ID",
  3857. "name": "spotcontractid",
  3858. "in": "query",
  3859. "required": true
  3860. }
  3861. ],
  3862. "responses": {
  3863. "200": {
  3864. "description": "OK",
  3865. "schema": {
  3866. "type": "array",
  3867. "items": {
  3868. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3869. }
  3870. }
  3871. },
  3872. "500": {
  3873. "description": "Internal Server Error",
  3874. "schema": {
  3875. "$ref": "#/definitions/app.Response"
  3876. }
  3877. }
  3878. }
  3879. }
  3880. },
  3881. "/Ermcp3/QueryDGFactoryItem": {
  3882. "get": {
  3883. "security": [
  3884. {
  3885. "ApiKeyAuth": []
  3886. }
  3887. ],
  3888. "produces": [
  3889. "application/json"
  3890. ],
  3891. "tags": [
  3892. "企业风险管理v3(app)"
  3893. ],
  3894. "summary": "查询品种要素定义项",
  3895. "parameters": [
  3896. {
  3897. "type": "integer",
  3898. "description": "用户id",
  3899. "name": "userid",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "用户类型 2-机构 7-企业成员",
  3905. "name": "usertype",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "integer",
  3910. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3911. "name": "dgfactoryitemid",
  3912. "in": "query"
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "现货品种ID",
  3917. "name": "deliverygoodsid",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "要素项类型",
  3923. "name": "dgfactoryitemtypeid",
  3924. "in": "query"
  3925. },
  3926. {
  3927. "type": "integer",
  3928. "description": "顺序",
  3929. "name": "orderindex",
  3930. "in": "query"
  3931. }
  3932. ],
  3933. "responses": {
  3934. "200": {
  3935. "description": "OK",
  3936. "schema": {
  3937. "type": "array",
  3938. "items": {
  3939. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3940. }
  3941. }
  3942. },
  3943. "500": {
  3944. "description": "Internal Server Error",
  3945. "schema": {
  3946. "$ref": "#/definitions/app.Response"
  3947. }
  3948. }
  3949. }
  3950. }
  3951. },
  3952. "/Ermcp3/QueryDeliveryGoods": {
  3953. "get": {
  3954. "security": [
  3955. {
  3956. "ApiKeyAuth": []
  3957. }
  3958. ],
  3959. "produces": [
  3960. "application/json"
  3961. ],
  3962. "tags": [
  3963. "企业风险管理v3(app)"
  3964. ],
  3965. "summary": "查询现货商品",
  3966. "parameters": [
  3967. {
  3968. "type": "integer",
  3969. "description": "用户id",
  3970. "name": "userid",
  3971. "in": "query",
  3972. "required": true
  3973. },
  3974. {
  3975. "type": "integer",
  3976. "description": "用户类型 2-机构 7-企业成员",
  3977. "name": "usertype",
  3978. "in": "query"
  3979. },
  3980. {
  3981. "type": "integer",
  3982. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3983. "name": "excludecfg",
  3984. "in": "query"
  3985. }
  3986. ],
  3987. "responses": {
  3988. "200": {
  3989. "description": "OK",
  3990. "schema": {
  3991. "type": "array",
  3992. "items": {
  3993. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3994. }
  3995. }
  3996. },
  3997. "500": {
  3998. "description": "Internal Server Error",
  3999. "schema": {
  4000. "$ref": "#/definitions/app.Response"
  4001. }
  4002. }
  4003. }
  4004. }
  4005. },
  4006. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4007. "get": {
  4008. "security": [
  4009. {
  4010. "ApiKeyAuth": []
  4011. }
  4012. ],
  4013. "produces": [
  4014. "application/json"
  4015. ],
  4016. "tags": [
  4017. "企业风险管理v3(app)"
  4018. ],
  4019. "summary": "查询现货商品详情",
  4020. "parameters": [
  4021. {
  4022. "type": "integer",
  4023. "description": "用户id",
  4024. "name": "userid",
  4025. "in": "query",
  4026. "required": true
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "用户类型 2-机构 7-企业成员",
  4031. "name": "usertype",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货商品id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. }
  4040. ],
  4041. "responses": {
  4042. "200": {
  4043. "description": "OK",
  4044. "schema": {
  4045. "type": "array",
  4046. "items": {
  4047. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4048. }
  4049. }
  4050. },
  4051. "500": {
  4052. "description": "Internal Server Error",
  4053. "schema": {
  4054. "$ref": "#/definitions/app.Response"
  4055. }
  4056. }
  4057. }
  4058. }
  4059. },
  4060. "/Ermcp3/QueryExposureDetail": {
  4061. "get": {
  4062. "security": [
  4063. {
  4064. "ApiKeyAuth": []
  4065. }
  4066. ],
  4067. "produces": [
  4068. "application/json"
  4069. ],
  4070. "tags": [
  4071. "企业风险管理v3(app)"
  4072. ],
  4073. "summary": "查询敞口现货明细",
  4074. "parameters": [
  4075. {
  4076. "type": "integer",
  4077. "description": "用户id",
  4078. "name": "userid",
  4079. "in": "query",
  4080. "required": true
  4081. },
  4082. {
  4083. "type": "integer",
  4084. "description": "用户类型 2-机构 7-企业成员",
  4085. "name": "usertype",
  4086. "in": "query"
  4087. },
  4088. {
  4089. "type": "integer",
  4090. "description": "套保商品",
  4091. "name": "middlegoodsid",
  4092. "in": "query",
  4093. "required": true
  4094. }
  4095. ],
  4096. "responses": {
  4097. "200": {
  4098. "description": "OK",
  4099. "schema": {
  4100. "type": "array",
  4101. "items": {
  4102. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4103. }
  4104. }
  4105. },
  4106. "500": {
  4107. "description": "Internal Server Error",
  4108. "schema": {
  4109. "$ref": "#/definitions/app.Response"
  4110. }
  4111. }
  4112. }
  4113. }
  4114. },
  4115. "/Ermcp3/QueryExposureSpot": {
  4116. "get": {
  4117. "security": [
  4118. {
  4119. "ApiKeyAuth": []
  4120. }
  4121. ],
  4122. "produces": [
  4123. "application/json"
  4124. ],
  4125. "tags": [
  4126. "企业风险管理v3(app)"
  4127. ],
  4128. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4129. "parameters": [
  4130. {
  4131. "type": "integer",
  4132. "description": "用户id",
  4133. "name": "userid",
  4134. "in": "query",
  4135. "required": true
  4136. },
  4137. {
  4138. "type": "integer",
  4139. "description": "用户类型 2-机构 7-企业成员",
  4140. "name": "usertype",
  4141. "in": "query"
  4142. }
  4143. ],
  4144. "responses": {
  4145. "200": {
  4146. "description": "OK",
  4147. "schema": {
  4148. "type": "array",
  4149. "items": {
  4150. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4151. }
  4152. }
  4153. },
  4154. "500": {
  4155. "description": "Internal Server Error",
  4156. "schema": {
  4157. "$ref": "#/definitions/app.Response"
  4158. }
  4159. }
  4160. }
  4161. }
  4162. },
  4163. "/Ermcp3/QueryExposureSpotDetail": {
  4164. "get": {
  4165. "security": [
  4166. {
  4167. "ApiKeyAuth": []
  4168. }
  4169. ],
  4170. "produces": [
  4171. "application/json"
  4172. ],
  4173. "tags": [
  4174. "企业风险管理v3(app)"
  4175. ],
  4176. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4177. "parameters": [
  4178. {
  4179. "type": "integer",
  4180. "description": "用户id",
  4181. "name": "userid",
  4182. "in": "query",
  4183. "required": true
  4184. },
  4185. {
  4186. "type": "integer",
  4187. "description": "用户类型 2-机构 7-企业成员",
  4188. "name": "usertype",
  4189. "in": "query"
  4190. },
  4191. {
  4192. "type": "integer",
  4193. "description": "现货品种ID",
  4194. "name": "deliverygoodsid",
  4195. "in": "query",
  4196. "required": true
  4197. }
  4198. ],
  4199. "responses": {
  4200. "200": {
  4201. "description": "OK",
  4202. "schema": {
  4203. "type": "array",
  4204. "items": {
  4205. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4206. }
  4207. }
  4208. },
  4209. "500": {
  4210. "description": "Internal Server Error",
  4211. "schema": {
  4212. "$ref": "#/definitions/app.Response"
  4213. }
  4214. }
  4215. }
  4216. }
  4217. },
  4218. "/Ermcp3/QueryGoodsGroup": {
  4219. "get": {
  4220. "security": [
  4221. {
  4222. "ApiKeyAuth": []
  4223. }
  4224. ],
  4225. "produces": [
  4226. "application/json"
  4227. ],
  4228. "tags": [
  4229. "企业风险管理v3(app)"
  4230. ],
  4231. "summary": "查询期货商品组",
  4232. "parameters": [
  4233. {
  4234. "type": "integer",
  4235. "description": "用户id",
  4236. "name": "userid",
  4237. "in": "query",
  4238. "required": true
  4239. },
  4240. {
  4241. "type": "integer",
  4242. "description": "用户类型 2-机构 7-企业成员",
  4243. "name": "usertype",
  4244. "in": "query"
  4245. },
  4246. {
  4247. "type": "integer",
  4248. "description": "排除套保品中已关联的商品组 1-排除",
  4249. "name": "excludecfg",
  4250. "in": "query"
  4251. }
  4252. ],
  4253. "responses": {
  4254. "200": {
  4255. "description": "OK",
  4256. "schema": {
  4257. "type": "array",
  4258. "items": {
  4259. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4260. }
  4261. }
  4262. },
  4263. "500": {
  4264. "description": "Internal Server Error",
  4265. "schema": {
  4266. "$ref": "#/definitions/app.Response"
  4267. }
  4268. }
  4269. }
  4270. }
  4271. },
  4272. "/Ermcp3/QueryGoodsWrstandard": {
  4273. "get": {
  4274. "security": [
  4275. {
  4276. "ApiKeyAuth": []
  4277. }
  4278. ],
  4279. "produces": [
  4280. "application/json"
  4281. ],
  4282. "tags": [
  4283. "企业风险管理v3(app)"
  4284. ],
  4285. "summary": "查询商品品类",
  4286. "parameters": [
  4287. {
  4288. "type": "integer",
  4289. "description": "用户id",
  4290. "name": "userid",
  4291. "in": "query",
  4292. "required": true
  4293. },
  4294. {
  4295. "type": "integer",
  4296. "description": "用户类型 2-机构 7-企业成员",
  4297. "name": "usertype",
  4298. "in": "query"
  4299. },
  4300. {
  4301. "type": "integer",
  4302. "description": "现货商品id",
  4303. "name": "deliverygoodsid",
  4304. "in": "query"
  4305. }
  4306. ],
  4307. "responses": {
  4308. "200": {
  4309. "description": "OK",
  4310. "schema": {
  4311. "type": "array",
  4312. "items": {
  4313. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4314. }
  4315. }
  4316. },
  4317. "500": {
  4318. "description": "Internal Server Error",
  4319. "schema": {
  4320. "$ref": "#/definitions/app.Response"
  4321. }
  4322. }
  4323. }
  4324. }
  4325. },
  4326. "/Ermcp3/QueryGoodsbrand": {
  4327. "get": {
  4328. "security": [
  4329. {
  4330. "ApiKeyAuth": []
  4331. }
  4332. ],
  4333. "produces": [
  4334. "application/json"
  4335. ],
  4336. "tags": [
  4337. "企业风险管理v3(app)"
  4338. ],
  4339. "summary": "查询商品品牌",
  4340. "parameters": [
  4341. {
  4342. "type": "integer",
  4343. "description": "用户id",
  4344. "name": "userid",
  4345. "in": "query",
  4346. "required": true
  4347. },
  4348. {
  4349. "type": "integer",
  4350. "description": "用户类型 2-机构 7-企业成员",
  4351. "name": "usertype",
  4352. "in": "query"
  4353. }
  4354. ],
  4355. "responses": {
  4356. "200": {
  4357. "description": "OK",
  4358. "schema": {
  4359. "type": "array",
  4360. "items": {
  4361. "$ref": "#/definitions/models.Ermcp3Brand"
  4362. }
  4363. }
  4364. },
  4365. "500": {
  4366. "description": "Internal Server Error",
  4367. "schema": {
  4368. "$ref": "#/definitions/app.Response"
  4369. }
  4370. }
  4371. }
  4372. }
  4373. },
  4374. "/Ermcp3/QueryHedgePlan": {
  4375. "get": {
  4376. "security": [
  4377. {
  4378. "ApiKeyAuth": []
  4379. }
  4380. ],
  4381. "produces": [
  4382. "application/json"
  4383. ],
  4384. "tags": [
  4385. "企业风险管理v3(app)"
  4386. ],
  4387. "summary": "查询套保计划",
  4388. "parameters": [
  4389. {
  4390. "type": "integer",
  4391. "description": "用户ID",
  4392. "name": "userid",
  4393. "in": "query",
  4394. "required": true
  4395. },
  4396. {
  4397. "type": "integer",
  4398. "description": "用户类型 2-机构 7-企业成员",
  4399. "name": "usertype",
  4400. "in": "query"
  4401. },
  4402. {
  4403. "type": "string",
  4404. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4405. "name": "hedgeplanstatus",
  4406. "in": "query",
  4407. "required": true
  4408. }
  4409. ],
  4410. "responses": {
  4411. "200": {
  4412. "description": "OK",
  4413. "schema": {
  4414. "type": "array",
  4415. "items": {
  4416. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4417. }
  4418. }
  4419. },
  4420. "500": {
  4421. "description": "Internal Server Error",
  4422. "schema": {
  4423. "$ref": "#/definitions/app.Response"
  4424. }
  4425. }
  4426. }
  4427. }
  4428. },
  4429. "/Ermcp3/QueryMiddleGoodsDetail": {
  4430. "get": {
  4431. "security": [
  4432. {
  4433. "ApiKeyAuth": []
  4434. }
  4435. ],
  4436. "produces": [
  4437. "application/json"
  4438. ],
  4439. "tags": [
  4440. "企业风险管理v3(app)"
  4441. ],
  4442. "summary": "查询套保品种详情(套保品种/商品详情)",
  4443. "parameters": [
  4444. {
  4445. "type": "integer",
  4446. "description": "用户id",
  4447. "name": "userid",
  4448. "in": "query",
  4449. "required": true
  4450. },
  4451. {
  4452. "type": "integer",
  4453. "description": "用户类型 2-机构 7-企业成员",
  4454. "name": "usertype",
  4455. "in": "query"
  4456. },
  4457. {
  4458. "type": "integer",
  4459. "description": "套保品种id",
  4460. "name": "middlegoodsid",
  4461. "in": "query"
  4462. }
  4463. ],
  4464. "responses": {
  4465. "200": {
  4466. "description": "OK",
  4467. "schema": {
  4468. "type": "array",
  4469. "items": {
  4470. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4471. }
  4472. }
  4473. },
  4474. "500": {
  4475. "description": "Internal Server Error",
  4476. "schema": {
  4477. "$ref": "#/definitions/app.Response"
  4478. }
  4479. }
  4480. }
  4481. }
  4482. },
  4483. "/Ermcp3/QueryPaAreaAuditCfg": {
  4484. "get": {
  4485. "security": [
  4486. {
  4487. "ApiKeyAuth": []
  4488. }
  4489. ],
  4490. "produces": [
  4491. "application/json"
  4492. ],
  4493. "tags": [
  4494. "企业风险管理v3(app)"
  4495. ],
  4496. "summary": "查询审核设置",
  4497. "parameters": [
  4498. {
  4499. "type": "integer",
  4500. "description": "用户id",
  4501. "name": "userid",
  4502. "in": "query",
  4503. "required": true
  4504. }
  4505. ],
  4506. "responses": {
  4507. "200": {
  4508. "description": "OK",
  4509. "schema": {
  4510. "type": "array",
  4511. "items": {
  4512. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4513. }
  4514. }
  4515. },
  4516. "500": {
  4517. "description": "Internal Server Error",
  4518. "schema": {
  4519. "$ref": "#/definitions/app.Response"
  4520. }
  4521. }
  4522. }
  4523. }
  4524. },
  4525. "/Ermcp3/QueryPaAreaSubject": {
  4526. "get": {
  4527. "security": [
  4528. {
  4529. "ApiKeyAuth": []
  4530. }
  4531. ],
  4532. "produces": [
  4533. "application/json"
  4534. ],
  4535. "tags": [
  4536. "企业风险管理v3(app)"
  4537. ],
  4538. "summary": "查询交易主体",
  4539. "parameters": [
  4540. {
  4541. "type": "integer",
  4542. "description": "用户id",
  4543. "name": "userid",
  4544. "in": "query",
  4545. "required": true
  4546. },
  4547. {
  4548. "type": "integer",
  4549. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4550. "name": "subjectid",
  4551. "in": "query"
  4552. },
  4553. {
  4554. "type": "integer",
  4555. "description": "主体类型 - 1:交易主体 2:业务部门",
  4556. "name": "subjecttype",
  4557. "in": "query"
  4558. },
  4559. {
  4560. "type": "integer",
  4561. "description": "主体状态 - 1:正常 2: 停用",
  4562. "name": "subjectstatus",
  4563. "in": "query"
  4564. }
  4565. ],
  4566. "responses": {
  4567. "200": {
  4568. "description": "OK",
  4569. "schema": {
  4570. "type": "array",
  4571. "items": {
  4572. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4573. }
  4574. }
  4575. },
  4576. "500": {
  4577. "description": "Internal Server Error",
  4578. "schema": {
  4579. "$ref": "#/definitions/app.Response"
  4580. }
  4581. }
  4582. }
  4583. }
  4584. },
  4585. "/Ermcp3/QueryRootUserAccount": {
  4586. "get": {
  4587. "security": [
  4588. {
  4589. "ApiKeyAuth": []
  4590. }
  4591. ],
  4592. "produces": [
  4593. "application/json"
  4594. ],
  4595. "tags": [
  4596. "企业风险管理v3(app)"
  4597. ],
  4598. "summary": "查询顶级用户信息",
  4599. "parameters": [
  4600. {
  4601. "type": "integer",
  4602. "description": "用户ID",
  4603. "name": "userid",
  4604. "in": "query",
  4605. "required": true
  4606. }
  4607. ],
  4608. "responses": {
  4609. "200": {
  4610. "description": "OK",
  4611. "schema": {
  4612. "type": "array",
  4613. "items": {
  4614. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4615. }
  4616. }
  4617. },
  4618. "500": {
  4619. "description": "Internal Server Error",
  4620. "schema": {
  4621. "$ref": "#/definitions/app.Response"
  4622. }
  4623. }
  4624. }
  4625. }
  4626. },
  4627. "/Ermcp3/QuerySpotContract": {
  4628. "get": {
  4629. "security": [
  4630. {
  4631. "ApiKeyAuth": []
  4632. }
  4633. ],
  4634. "produces": [
  4635. "application/json"
  4636. ],
  4637. "tags": [
  4638. "企业风险管理v3(app)"
  4639. ],
  4640. "summary": "查询现货合同",
  4641. "parameters": [
  4642. {
  4643. "type": "integer",
  4644. "description": "用户id",
  4645. "name": "userid",
  4646. "in": "query",
  4647. "required": true
  4648. },
  4649. {
  4650. "type": "integer",
  4651. "description": "用户类型 2-机构 7-企业成员",
  4652. "name": "usertype",
  4653. "in": "query"
  4654. },
  4655. {
  4656. "type": "integer",
  4657. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4658. "name": "querytype",
  4659. "in": "query",
  4660. "required": true
  4661. },
  4662. {
  4663. "type": "string",
  4664. "description": "合同ID(SpotContractId)",
  4665. "name": "contractid",
  4666. "in": "query"
  4667. }
  4668. ],
  4669. "responses": {
  4670. "200": {
  4671. "description": "OK",
  4672. "schema": {
  4673. "type": "array",
  4674. "items": {
  4675. "$ref": "#/definitions/models.Ermcp3Contract"
  4676. }
  4677. }
  4678. },
  4679. "500": {
  4680. "description": "Internal Server Error",
  4681. "schema": {
  4682. "$ref": "#/definitions/app.Response"
  4683. }
  4684. }
  4685. }
  4686. }
  4687. },
  4688. "/Ermcp3/QuerySpotContractBS": {
  4689. "get": {
  4690. "security": [
  4691. {
  4692. "ApiKeyAuth": []
  4693. }
  4694. ],
  4695. "produces": [
  4696. "application/json"
  4697. ],
  4698. "tags": [
  4699. "企业风险管理v3(app)"
  4700. ],
  4701. "summary": "查询合同(采购/销售)",
  4702. "parameters": [
  4703. {
  4704. "type": "integer",
  4705. "description": "用户id",
  4706. "name": "userid",
  4707. "in": "query",
  4708. "required": true
  4709. },
  4710. {
  4711. "type": "integer",
  4712. "description": "用户类型 2-机构 7-企业成员",
  4713. "name": "usertype",
  4714. "in": "query"
  4715. },
  4716. {
  4717. "type": "integer",
  4718. "description": "合同类型 1-采购, -1-销售",
  4719. "name": "contracttype",
  4720. "in": "query",
  4721. "required": true
  4722. },
  4723. {
  4724. "type": "integer",
  4725. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4726. "name": "querytype",
  4727. "in": "query",
  4728. "required": true
  4729. },
  4730. {
  4731. "type": "string",
  4732. "description": "合同ID(SpotContractId)",
  4733. "name": "contractid",
  4734. "in": "query"
  4735. }
  4736. ],
  4737. "responses": {
  4738. "200": {
  4739. "description": "OK",
  4740. "schema": {
  4741. "type": "array",
  4742. "items": {
  4743. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4744. }
  4745. }
  4746. },
  4747. "500": {
  4748. "description": "Internal Server Error",
  4749. "schema": {
  4750. "$ref": "#/definitions/app.Response"
  4751. }
  4752. }
  4753. }
  4754. }
  4755. },
  4756. "/Ermcp3/QuerySpotGoodsPrice": {
  4757. "get": {
  4758. "security": [
  4759. {
  4760. "ApiKeyAuth": []
  4761. }
  4762. ],
  4763. "produces": [
  4764. "application/json"
  4765. ],
  4766. "tags": [
  4767. "企业风险管理v3(app)"
  4768. ],
  4769. "summary": "查询现货市价(现货市价)",
  4770. "parameters": [
  4771. {
  4772. "type": "integer",
  4773. "description": "用户ID",
  4774. "name": "userid",
  4775. "in": "query",
  4776. "required": true
  4777. }
  4778. ],
  4779. "responses": {
  4780. "200": {
  4781. "description": "OK",
  4782. "schema": {
  4783. "type": "array",
  4784. "items": {
  4785. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4786. }
  4787. }
  4788. },
  4789. "500": {
  4790. "description": "Internal Server Error",
  4791. "schema": {
  4792. "$ref": "#/definitions/app.Response"
  4793. }
  4794. }
  4795. }
  4796. }
  4797. },
  4798. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4799. "get": {
  4800. "security": [
  4801. {
  4802. "ApiKeyAuth": []
  4803. }
  4804. ],
  4805. "produces": [
  4806. "application/json"
  4807. ],
  4808. "tags": [
  4809. "企业风险管理v3(app)"
  4810. ],
  4811. "summary": "查询现货市价详情(现货市价/详情)",
  4812. "parameters": [
  4813. {
  4814. "type": "integer",
  4815. "description": "用户ID",
  4816. "name": "userid",
  4817. "in": "query",
  4818. "required": true
  4819. },
  4820. {
  4821. "type": "integer",
  4822. "description": "现货商品ID",
  4823. "name": "deliverygoodsid",
  4824. "in": "query",
  4825. "required": true
  4826. },
  4827. {
  4828. "type": "integer",
  4829. "description": "品牌ID",
  4830. "name": "brandid",
  4831. "in": "query"
  4832. },
  4833. {
  4834. "type": "integer",
  4835. "description": "品类ID",
  4836. "name": "wrstandardid",
  4837. "in": "query"
  4838. }
  4839. ],
  4840. "responses": {
  4841. "200": {
  4842. "description": "OK",
  4843. "schema": {
  4844. "type": "array",
  4845. "items": {
  4846. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4847. }
  4848. }
  4849. },
  4850. "500": {
  4851. "description": "Internal Server Error",
  4852. "schema": {
  4853. "$ref": "#/definitions/app.Response"
  4854. }
  4855. }
  4856. }
  4857. }
  4858. },
  4859. "/Erms2/QueryArbitrageStrategy": {
  4860. "get": {
  4861. "security": [
  4862. {
  4863. "ApiKeyAuth": []
  4864. }
  4865. ],
  4866. "produces": [
  4867. "application/json"
  4868. ],
  4869. "tags": [
  4870. "风险管理"
  4871. ],
  4872. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4873. "parameters": [
  4874. {
  4875. "type": "integer",
  4876. "description": "账户ID",
  4877. "name": "userid",
  4878. "in": "query",
  4879. "required": true
  4880. },
  4881. {
  4882. "type": "string",
  4883. "description": "商品组ID(品种ID)",
  4884. "name": "goodsgroupid",
  4885. "in": "query"
  4886. }
  4887. ],
  4888. "responses": {
  4889. "200": {
  4890. "description": "OK",
  4891. "schema": {
  4892. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4893. }
  4894. },
  4895. "500": {
  4896. "description": "Internal Server Error",
  4897. "schema": {
  4898. "$ref": "#/definitions/app.Response"
  4899. }
  4900. }
  4901. }
  4902. }
  4903. },
  4904. "/Erms2/QueryInnerTradeDetail": {
  4905. "get": {
  4906. "security": [
  4907. {
  4908. "ApiKeyAuth": []
  4909. }
  4910. ],
  4911. "produces": [
  4912. "application/json"
  4913. ],
  4914. "tags": [
  4915. "风险管理"
  4916. ],
  4917. "summary": "查询内部成交单信息",
  4918. "parameters": [
  4919. {
  4920. "type": "integer",
  4921. "description": "资金账户",
  4922. "name": "accountid",
  4923. "in": "query",
  4924. "required": true
  4925. }
  4926. ],
  4927. "responses": {
  4928. "200": {
  4929. "description": "OK",
  4930. "schema": {
  4931. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4932. }
  4933. },
  4934. "500": {
  4935. "description": "Internal Server Error",
  4936. "schema": {
  4937. "$ref": "#/definitions/app.Response"
  4938. }
  4939. }
  4940. }
  4941. }
  4942. },
  4943. "/Erms2/QuerySpotContract": {
  4944. "get": {
  4945. "security": [
  4946. {
  4947. "ApiKeyAuth": []
  4948. }
  4949. ],
  4950. "produces": [
  4951. "application/json"
  4952. ],
  4953. "tags": [
  4954. "风险管理"
  4955. ],
  4956. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4957. "parameters": [
  4958. {
  4959. "type": "integer",
  4960. "description": "策略申请ID",
  4961. "name": "asapplyid",
  4962. "in": "query",
  4963. "required": true
  4964. },
  4965. {
  4966. "type": "integer",
  4967. "description": "现货合同ID",
  4968. "name": "spotcontractid",
  4969. "in": "query"
  4970. }
  4971. ],
  4972. "responses": {
  4973. "200": {
  4974. "description": "OK",
  4975. "schema": {
  4976. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4977. }
  4978. },
  4979. "500": {
  4980. "description": "Internal Server Error",
  4981. "schema": {
  4982. "$ref": "#/definitions/app.Response"
  4983. }
  4984. }
  4985. }
  4986. }
  4987. },
  4988. "/Erms3/AddErms2ASApply": {
  4989. "post": {
  4990. "security": [
  4991. {
  4992. "ApiKeyAuth": []
  4993. }
  4994. ],
  4995. "produces": [
  4996. "application/json"
  4997. ],
  4998. "tags": [
  4999. "风险管理v3"
  5000. ],
  5001. "summary": "新增期现套利业务申请",
  5002. "parameters": [
  5003. {
  5004. "description": "申请参数",
  5005. "name": "jsonBody",
  5006. "in": "body",
  5007. "required": true,
  5008. "schema": {
  5009. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5010. }
  5011. }
  5012. ],
  5013. "responses": {
  5014. "200": {
  5015. "description": "OK",
  5016. "schema": {
  5017. "$ref": "#/definitions/app.Response"
  5018. }
  5019. },
  5020. "500": {
  5021. "description": "Internal Server Error",
  5022. "schema": {
  5023. "$ref": "#/definitions/app.Response"
  5024. }
  5025. }
  5026. }
  5027. }
  5028. },
  5029. "/Erms3/AddErms2SpotTradeApply": {
  5030. "post": {
  5031. "security": [
  5032. {
  5033. "ApiKeyAuth": []
  5034. }
  5035. ],
  5036. "produces": [
  5037. "application/json"
  5038. ],
  5039. "tags": [
  5040. "风险管理v3"
  5041. ],
  5042. "summary": "新增现货贸易业务申请",
  5043. "parameters": [
  5044. {
  5045. "description": "申请参数",
  5046. "name": "jsonBody",
  5047. "in": "body",
  5048. "required": true,
  5049. "schema": {
  5050. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5051. }
  5052. }
  5053. ],
  5054. "responses": {
  5055. "200": {
  5056. "description": "OK",
  5057. "schema": {
  5058. "$ref": "#/definitions/app.Response"
  5059. }
  5060. },
  5061. "500": {
  5062. "description": "Internal Server Error",
  5063. "schema": {
  5064. "$ref": "#/definitions/app.Response"
  5065. }
  5066. }
  5067. }
  5068. }
  5069. },
  5070. "/Erms3/AddSpotContractApply": {
  5071. "post": {
  5072. "security": [
  5073. {
  5074. "ApiKeyAuth": []
  5075. }
  5076. ],
  5077. "produces": [
  5078. "application/json"
  5079. ],
  5080. "tags": [
  5081. "风险管理v3"
  5082. ],
  5083. "summary": "新增现货合同申请",
  5084. "parameters": [
  5085. {
  5086. "description": "申请参数",
  5087. "name": "jsonBody",
  5088. "in": "body",
  5089. "required": true,
  5090. "schema": {
  5091. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5092. }
  5093. }
  5094. ],
  5095. "responses": {
  5096. "200": {
  5097. "description": "OK",
  5098. "schema": {
  5099. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5100. }
  5101. },
  5102. "500": {
  5103. "description": "Internal Server Error",
  5104. "schema": {
  5105. "$ref": "#/definitions/app.Response"
  5106. }
  5107. }
  5108. }
  5109. }
  5110. },
  5111. "/Erms3/AddUserInfoApply": {
  5112. "post": {
  5113. "security": [
  5114. {
  5115. "ApiKeyAuth": []
  5116. }
  5117. ],
  5118. "produces": [
  5119. "application/json"
  5120. ],
  5121. "tags": [
  5122. "风险管理v3"
  5123. ],
  5124. "summary": "新增客户申请",
  5125. "parameters": [
  5126. {
  5127. "description": "用户信息",
  5128. "name": "jsonBody",
  5129. "in": "body",
  5130. "required": true,
  5131. "schema": {
  5132. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5133. }
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "$ref": "#/definitions/app.Response"
  5141. }
  5142. },
  5143. "500": {
  5144. "description": "Internal Server Error",
  5145. "schema": {
  5146. "$ref": "#/definitions/app.Response"
  5147. }
  5148. }
  5149. }
  5150. }
  5151. },
  5152. "/Erms3/DeleteUserInfoApply": {
  5153. "get": {
  5154. "security": [
  5155. {
  5156. "ApiKeyAuth": []
  5157. }
  5158. ],
  5159. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5160. "produces": [
  5161. "application/json"
  5162. ],
  5163. "tags": [
  5164. "风险管理v3"
  5165. ],
  5166. "summary": "删除客户申请",
  5167. "parameters": [
  5168. {
  5169. "type": "integer",
  5170. "description": "用户ID",
  5171. "name": "userID",
  5172. "in": "query",
  5173. "required": true
  5174. }
  5175. ],
  5176. "responses": {
  5177. "200": {
  5178. "description": "OK",
  5179. "schema": {
  5180. "$ref": "#/definitions/app.Response"
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/Erms3/ModifyUserInfoApply": {
  5193. "post": {
  5194. "security": [
  5195. {
  5196. "ApiKeyAuth": []
  5197. }
  5198. ],
  5199. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5200. "produces": [
  5201. "application/json"
  5202. ],
  5203. "tags": [
  5204. "风险管理v3"
  5205. ],
  5206. "summary": "修改客户申请",
  5207. "parameters": [
  5208. {
  5209. "description": "用户信息",
  5210. "name": "jsonBody",
  5211. "in": "body",
  5212. "required": true,
  5213. "schema": {
  5214. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5215. }
  5216. }
  5217. ],
  5218. "responses": {
  5219. "200": {
  5220. "description": "OK",
  5221. "schema": {
  5222. "$ref": "#/definitions/app.Response"
  5223. }
  5224. },
  5225. "500": {
  5226. "description": "Internal Server Error",
  5227. "schema": {
  5228. "$ref": "#/definitions/app.Response"
  5229. }
  5230. }
  5231. }
  5232. }
  5233. },
  5234. "/Erms3/QueryBusinessInfo": {
  5235. "get": {
  5236. "security": [
  5237. {
  5238. "ApiKeyAuth": []
  5239. }
  5240. ],
  5241. "produces": [
  5242. "application/json"
  5243. ],
  5244. "tags": [
  5245. "风险管理v3"
  5246. ],
  5247. "summary": "查询业务表单数据",
  5248. "parameters": [
  5249. {
  5250. "type": "string",
  5251. "description": "资金账号ID列表,用逗号分隔",
  5252. "name": "accountids",
  5253. "in": "query",
  5254. "required": true
  5255. },
  5256. {
  5257. "type": "integer",
  5258. "description": "状态,0为未结束 1为已结束",
  5259. "name": "status",
  5260. "in": "query",
  5261. "required": true
  5262. }
  5263. ],
  5264. "responses": {
  5265. "200": {
  5266. "description": "OK",
  5267. "schema": {
  5268. "type": "array",
  5269. "items": {
  5270. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5271. }
  5272. }
  5273. },
  5274. "500": {
  5275. "description": "Internal Server Error",
  5276. "schema": {
  5277. "$ref": "#/definitions/app.Response"
  5278. }
  5279. }
  5280. }
  5281. }
  5282. },
  5283. "/Erms3/QueryPendingAuditContract": {
  5284. "get": {
  5285. "security": [
  5286. {
  5287. "ApiKeyAuth": []
  5288. }
  5289. ],
  5290. "produces": [
  5291. "application/json"
  5292. ],
  5293. "tags": [
  5294. "风险管理v3"
  5295. ],
  5296. "summary": "查询待审核合同",
  5297. "parameters": [
  5298. {
  5299. "type": "string",
  5300. "description": "资金账号ID列表,逗号隔开",
  5301. "name": "accountids",
  5302. "in": "query",
  5303. "required": true
  5304. },
  5305. {
  5306. "type": "integer",
  5307. "description": "合同类型 1-采购 -1-销售",
  5308. "name": "contracttype",
  5309. "in": "query",
  5310. "required": true
  5311. },
  5312. {
  5313. "type": "integer",
  5314. "description": "合同模式 1-普通 2-回购",
  5315. "name": "contractmode",
  5316. "in": "query",
  5317. "required": true
  5318. }
  5319. ],
  5320. "responses": {
  5321. "200": {
  5322. "description": "OK",
  5323. "schema": {
  5324. "type": "array",
  5325. "items": {
  5326. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5327. }
  5328. }
  5329. },
  5330. "500": {
  5331. "description": "Internal Server Error",
  5332. "schema": {
  5333. "$ref": "#/definitions/app.Response"
  5334. }
  5335. }
  5336. }
  5337. }
  5338. },
  5339. "/Erms3/QueryPendingBusiness": {
  5340. "get": {
  5341. "security": [
  5342. {
  5343. "ApiKeyAuth": []
  5344. }
  5345. ],
  5346. "produces": [
  5347. "application/json"
  5348. ],
  5349. "tags": [
  5350. "风险管理v3"
  5351. ],
  5352. "summary": "查询待审核基差贸易业务",
  5353. "parameters": [
  5354. {
  5355. "type": "string",
  5356. "description": "资金账号ID列表,逗号隔开",
  5357. "name": "accountids",
  5358. "in": "query",
  5359. "required": true
  5360. }
  5361. ],
  5362. "responses": {
  5363. "200": {
  5364. "description": "OK",
  5365. "schema": {
  5366. "type": "array",
  5367. "items": {
  5368. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5369. }
  5370. }
  5371. },
  5372. "500": {
  5373. "description": "Internal Server Error",
  5374. "schema": {
  5375. "$ref": "#/definitions/app.Response"
  5376. }
  5377. }
  5378. }
  5379. }
  5380. },
  5381. "/Erms3/QuerySpotContractAppleForm": {
  5382. "get": {
  5383. "security": [
  5384. {
  5385. "ApiKeyAuth": []
  5386. }
  5387. ],
  5388. "produces": [
  5389. "application/json"
  5390. ],
  5391. "tags": [
  5392. "风险管理v3"
  5393. ],
  5394. "summary": "查询合同申请表单数据",
  5395. "parameters": [
  5396. {
  5397. "type": "integer",
  5398. "description": "登录账号",
  5399. "name": "loginID",
  5400. "in": "query",
  5401. "required": true
  5402. }
  5403. ],
  5404. "responses": {
  5405. "200": {
  5406. "description": "OK",
  5407. "schema": {
  5408. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5409. }
  5410. },
  5411. "500": {
  5412. "description": "Internal Server Error",
  5413. "schema": {
  5414. "$ref": "#/definitions/app.Response"
  5415. }
  5416. }
  5417. }
  5418. }
  5419. },
  5420. "/Erms3/QuerySpotContractDetail": {
  5421. "get": {
  5422. "security": [
  5423. {
  5424. "ApiKeyAuth": []
  5425. }
  5426. ],
  5427. "produces": [
  5428. "application/json"
  5429. ],
  5430. "tags": [
  5431. "风险管理v3"
  5432. ],
  5433. "summary": "查询合同详细信息",
  5434. "parameters": [
  5435. {
  5436. "type": "string",
  5437. "description": "资金账号ID列表,用逗号分隔",
  5438. "name": "accountids",
  5439. "in": "query",
  5440. "required": true
  5441. },
  5442. {
  5443. "type": "integer",
  5444. "description": "合同类型,1为采购合同 -1为销售合同",
  5445. "name": "contracttype",
  5446. "in": "query",
  5447. "required": true
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "合同模式,1为普通合同 2为回购销售合同",
  5452. "name": "contractmode",
  5453. "in": "query",
  5454. "required": true
  5455. },
  5456. {
  5457. "type": "integer",
  5458. "description": "状态,0为履约中 1为已完成",
  5459. "name": "status",
  5460. "in": "query",
  5461. "required": true
  5462. }
  5463. ],
  5464. "responses": {
  5465. "200": {
  5466. "description": "OK",
  5467. "schema": {
  5468. "type": "array",
  5469. "items": {
  5470. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5471. }
  5472. }
  5473. },
  5474. "500": {
  5475. "description": "Internal Server Error",
  5476. "schema": {
  5477. "$ref": "#/definitions/app.Response"
  5478. }
  5479. }
  5480. }
  5481. }
  5482. },
  5483. "/Erms3/QueryUserInfoApplies": {
  5484. "get": {
  5485. "security": [
  5486. {
  5487. "ApiKeyAuth": []
  5488. }
  5489. ],
  5490. "produces": [
  5491. "application/json"
  5492. ],
  5493. "tags": [
  5494. "风险管理v3"
  5495. ],
  5496. "summary": "客户申请信息查询",
  5497. "parameters": [
  5498. {
  5499. "type": "integer",
  5500. "description": "页码",
  5501. "name": "page",
  5502. "in": "query"
  5503. },
  5504. {
  5505. "type": "integer",
  5506. "description": "每页条数",
  5507. "name": "pagesize",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "string",
  5512. "description": "客户名称,支持模糊查询",
  5513. "name": "userName",
  5514. "in": "query"
  5515. }
  5516. ],
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5522. }
  5523. },
  5524. "500": {
  5525. "description": "Internal Server Error",
  5526. "schema": {
  5527. "$ref": "#/definitions/app.Response"
  5528. }
  5529. }
  5530. }
  5531. }
  5532. },
  5533. "/Erms3/QueryUserInfos": {
  5534. "get": {
  5535. "security": [
  5536. {
  5537. "ApiKeyAuth": []
  5538. }
  5539. ],
  5540. "produces": [
  5541. "application/json"
  5542. ],
  5543. "tags": [
  5544. "风险管理v3"
  5545. ],
  5546. "summary": "客户信息查询",
  5547. "parameters": [
  5548. {
  5549. "type": "integer",
  5550. "description": "页码",
  5551. "name": "page",
  5552. "in": "query"
  5553. },
  5554. {
  5555. "type": "integer",
  5556. "description": "每页条数",
  5557. "name": "pagesize",
  5558. "in": "query"
  5559. },
  5560. {
  5561. "type": "string",
  5562. "description": "客户名称,支持模糊查询",
  5563. "name": "userName",
  5564. "in": "query"
  5565. }
  5566. ],
  5567. "responses": {
  5568. "200": {
  5569. "description": "OK",
  5570. "schema": {
  5571. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5572. }
  5573. },
  5574. "500": {
  5575. "description": "Internal Server Error",
  5576. "schema": {
  5577. "$ref": "#/definitions/app.Response"
  5578. }
  5579. }
  5580. }
  5581. }
  5582. },
  5583. "/HSBY/GetHsbyMyCount": {
  5584. "get": {
  5585. "security": [
  5586. {
  5587. "ApiKeyAuth": []
  5588. }
  5589. ],
  5590. "description": "说明: 不包括已完成的数量。",
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "定制【海商报业】"
  5596. ],
  5597. "summary": "获取我的订单与包裹数量",
  5598. "parameters": [
  5599. {
  5600. "type": "string",
  5601. "description": "资金账户列表,格式:1,2,3",
  5602. "name": "accountIDs",
  5603. "in": "query",
  5604. "required": true
  5605. }
  5606. ],
  5607. "responses": {
  5608. "200": {
  5609. "description": "OK",
  5610. "schema": {
  5611. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5612. }
  5613. },
  5614. "500": {
  5615. "description": "Internal Server Error",
  5616. "schema": {
  5617. "$ref": "#/definitions/app.Response"
  5618. }
  5619. }
  5620. }
  5621. }
  5622. },
  5623. "/HSBY/QueryClientFixedADConfigs": {
  5624. "get": {
  5625. "security": [
  5626. {
  5627. "ApiKeyAuth": []
  5628. }
  5629. ],
  5630. "produces": [
  5631. "application/json"
  5632. ],
  5633. "tags": [
  5634. "定制【海商报业】"
  5635. ],
  5636. "summary": "获取终端固定广告配置",
  5637. "responses": {
  5638. "200": {
  5639. "description": "OK",
  5640. "schema": {
  5641. "$ref": "#/definitions/models.Clientfixedadconfig"
  5642. }
  5643. },
  5644. "500": {
  5645. "description": "Internal Server Error",
  5646. "schema": {
  5647. "$ref": "#/definitions/app.Response"
  5648. }
  5649. }
  5650. }
  5651. }
  5652. },
  5653. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5654. "get": {
  5655. "security": [
  5656. {
  5657. "ApiKeyAuth": []
  5658. }
  5659. ],
  5660. "produces": [
  5661. "application/json"
  5662. ],
  5663. "tags": [
  5664. "定制【海商报业】"
  5665. ],
  5666. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5667. "parameters": [
  5668. {
  5669. "type": "integer",
  5670. "description": "页码",
  5671. "name": "page",
  5672. "in": "query"
  5673. },
  5674. {
  5675. "type": "integer",
  5676. "description": "每页条数",
  5677. "name": "pagesize",
  5678. "in": "query"
  5679. },
  5680. {
  5681. "type": "string",
  5682. "description": "资金账户列表,格式:1,2,3",
  5683. "name": "accountIDs",
  5684. "in": "query",
  5685. "required": true
  5686. }
  5687. ],
  5688. "responses": {
  5689. "200": {
  5690. "description": "OK",
  5691. "schema": {
  5692. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5693. }
  5694. },
  5695. "500": {
  5696. "description": "Internal Server Error",
  5697. "schema": {
  5698. "$ref": "#/definitions/app.Response"
  5699. }
  5700. }
  5701. }
  5702. }
  5703. },
  5704. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5705. "get": {
  5706. "security": [
  5707. {
  5708. "ApiKeyAuth": []
  5709. }
  5710. ],
  5711. "description": "说明:查询结果已按委托价格和委托时间排序",
  5712. "produces": [
  5713. "application/json"
  5714. ],
  5715. "tags": [
  5716. "定制【海商报业】"
  5717. ],
  5718. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5719. "parameters": [
  5720. {
  5721. "type": "integer",
  5722. "description": "商品ID",
  5723. "name": "goodsID",
  5724. "in": "query",
  5725. "required": true
  5726. },
  5727. {
  5728. "type": "string",
  5729. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5730. "name": "accountIDs",
  5731. "in": "query"
  5732. },
  5733. {
  5734. "type": "integer",
  5735. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5736. "name": "buyOrSell",
  5737. "in": "query"
  5738. },
  5739. {
  5740. "type": "number",
  5741. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5742. "name": "price",
  5743. "in": "query"
  5744. },
  5745. {
  5746. "type": "integer",
  5747. "description": "档位,不传则默认为3档",
  5748. "name": "speed",
  5749. "in": "query"
  5750. }
  5751. ],
  5752. "responses": {
  5753. "200": {
  5754. "description": "OK",
  5755. "schema": {
  5756. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5757. }
  5758. },
  5759. "500": {
  5760. "description": "Internal Server Error",
  5761. "schema": {
  5762. "$ref": "#/definitions/app.Response"
  5763. }
  5764. }
  5765. }
  5766. }
  5767. },
  5768. "/HSBY/QueryHsbyListingGoodsDetail": {
  5769. "get": {
  5770. "security": [
  5771. {
  5772. "ApiKeyAuth": []
  5773. }
  5774. ],
  5775. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5776. "produces": [
  5777. "application/json"
  5778. ],
  5779. "tags": [
  5780. "定制【海商报业】"
  5781. ],
  5782. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5783. "parameters": [
  5784. {
  5785. "type": "integer",
  5786. "description": "商品ID",
  5787. "name": "goodsID",
  5788. "in": "query",
  5789. "required": true
  5790. },
  5791. {
  5792. "type": "integer",
  5793. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5794. "name": "accountID",
  5795. "in": "query"
  5796. }
  5797. ],
  5798. "responses": {
  5799. "200": {
  5800. "description": "OK",
  5801. "schema": {
  5802. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5803. }
  5804. },
  5805. "500": {
  5806. "description": "Internal Server Error",
  5807. "schema": {
  5808. "$ref": "#/definitions/app.Response"
  5809. }
  5810. }
  5811. }
  5812. }
  5813. },
  5814. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5815. "get": {
  5816. "security": [
  5817. {
  5818. "ApiKeyAuth": []
  5819. }
  5820. ],
  5821. "produces": [
  5822. "application/json"
  5823. ],
  5824. "tags": [
  5825. "定制【海商报业】"
  5826. ],
  5827. "summary": "查询三级市场(商城)商品信息详情",
  5828. "parameters": [
  5829. {
  5830. "type": "integer",
  5831. "description": "委托单号",
  5832. "name": "orderID",
  5833. "in": "query",
  5834. "required": true
  5835. },
  5836. {
  5837. "type": "integer",
  5838. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5839. "name": "accountID",
  5840. "in": "query"
  5841. }
  5842. ],
  5843. "responses": {
  5844. "200": {
  5845. "description": "OK",
  5846. "schema": {
  5847. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5848. }
  5849. },
  5850. "500": {
  5851. "description": "Internal Server Error",
  5852. "schema": {
  5853. "$ref": "#/definitions/app.Response"
  5854. }
  5855. }
  5856. }
  5857. }
  5858. },
  5859. "/HSBY/QueryHsbyMarketGoodses": {
  5860. "get": {
  5861. "security": [
  5862. {
  5863. "ApiKeyAuth": []
  5864. }
  5865. ],
  5866. "produces": [
  5867. "application/json"
  5868. ],
  5869. "tags": [
  5870. "定制【海商报业】"
  5871. ],
  5872. "summary": "查询特卖商品列表(三级商城)",
  5873. "parameters": [
  5874. {
  5875. "type": "integer",
  5876. "description": "页码",
  5877. "name": "page",
  5878. "in": "query"
  5879. },
  5880. {
  5881. "type": "integer",
  5882. "description": "每页条数",
  5883. "name": "pagesize",
  5884. "in": "query"
  5885. },
  5886. {
  5887. "type": "string",
  5888. "description": "市场ID列表,格式:1,2,3",
  5889. "name": "marketIDs",
  5890. "in": "query",
  5891. "required": true
  5892. },
  5893. {
  5894. "type": "integer",
  5895. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5896. "name": "accountID",
  5897. "in": "query",
  5898. "required": true
  5899. },
  5900. {
  5901. "type": "integer",
  5902. "description": "类别ID",
  5903. "name": "categoryID",
  5904. "in": "query"
  5905. },
  5906. {
  5907. "type": "string",
  5908. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5909. "name": "goodsIDs",
  5910. "in": "query"
  5911. },
  5912. {
  5913. "type": "integer",
  5914. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5915. "name": "couponTypeID",
  5916. "in": "query"
  5917. }
  5918. ],
  5919. "responses": {
  5920. "200": {
  5921. "description": "OK",
  5922. "schema": {
  5923. "$ref": "#/definitions/models.HsbyMarketGoods"
  5924. }
  5925. },
  5926. "500": {
  5927. "description": "Internal Server Error",
  5928. "schema": {
  5929. "$ref": "#/definitions/app.Response"
  5930. }
  5931. }
  5932. }
  5933. }
  5934. },
  5935. "/HSBY/QueryHsbyMarkets": {
  5936. "get": {
  5937. "security": [
  5938. {
  5939. "ApiKeyAuth": []
  5940. }
  5941. ],
  5942. "produces": [
  5943. "application/json"
  5944. ],
  5945. "tags": [
  5946. "定制【海商报业】"
  5947. ],
  5948. "summary": "查询海商报业相关市场信息",
  5949. "responses": {
  5950. "200": {
  5951. "description": "OK",
  5952. "schema": {
  5953. "$ref": "#/definitions/models.HsbyMarketInfo"
  5954. }
  5955. },
  5956. "500": {
  5957. "description": "Internal Server Error",
  5958. "schema": {
  5959. "$ref": "#/definitions/app.Response"
  5960. }
  5961. }
  5962. }
  5963. }
  5964. },
  5965. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5966. "get": {
  5967. "security": [
  5968. {
  5969. "ApiKeyAuth": []
  5970. }
  5971. ],
  5972. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5973. "produces": [
  5974. "application/json"
  5975. ],
  5976. "tags": [
  5977. "定制【海商报业】"
  5978. ],
  5979. "summary": "查询“我的订单”信息",
  5980. "parameters": [
  5981. {
  5982. "type": "string",
  5983. "description": "资金账户列表,格式:1,2,3",
  5984. "name": "accountIDs",
  5985. "in": "query",
  5986. "required": true
  5987. }
  5988. ],
  5989. "responses": {
  5990. "200": {
  5991. "description": "OK",
  5992. "schema": {
  5993. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5994. }
  5995. },
  5996. "500": {
  5997. "description": "Internal Server Error",
  5998. "schema": {
  5999. "$ref": "#/definitions/app.Response"
  6000. }
  6001. }
  6002. }
  6003. }
  6004. },
  6005. "/HSBY/QueryHsbyMyGoods": {
  6006. "get": {
  6007. "security": [
  6008. {
  6009. "ApiKeyAuth": []
  6010. }
  6011. ],
  6012. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6013. "produces": [
  6014. "application/json"
  6015. ],
  6016. "tags": [
  6017. "定制【海商报业】"
  6018. ],
  6019. "summary": "查询“我的商品”信息",
  6020. "parameters": [
  6021. {
  6022. "type": "string",
  6023. "description": "资金账户列表,格式:1,2,3",
  6024. "name": "accountIDs",
  6025. "in": "query",
  6026. "required": true
  6027. }
  6028. ],
  6029. "responses": {
  6030. "200": {
  6031. "description": "OK",
  6032. "schema": {
  6033. "$ref": "#/definitions/models.HsbyMyGoods"
  6034. }
  6035. },
  6036. "500": {
  6037. "description": "Internal Server Error",
  6038. "schema": {
  6039. "$ref": "#/definitions/app.Response"
  6040. }
  6041. }
  6042. }
  6043. }
  6044. },
  6045. "/HSBY/QueryHsbyMyPackages": {
  6046. "get": {
  6047. "security": [
  6048. {
  6049. "ApiKeyAuth": []
  6050. }
  6051. ],
  6052. "produces": [
  6053. "application/json"
  6054. ],
  6055. "tags": [
  6056. "定制【海商报业】"
  6057. ],
  6058. "summary": "查询我的包裹信息",
  6059. "parameters": [
  6060. {
  6061. "type": "string",
  6062. "description": "资金账户列表,格式:1,2,3",
  6063. "name": "accountIDs",
  6064. "in": "query",
  6065. "required": true
  6066. },
  6067. {
  6068. "type": "integer",
  6069. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6070. "name": "takeOrderStatus",
  6071. "in": "query"
  6072. }
  6073. ],
  6074. "responses": {
  6075. "200": {
  6076. "description": "OK",
  6077. "schema": {
  6078. "$ref": "#/definitions/models.HsbyMyPackage"
  6079. }
  6080. },
  6081. "500": {
  6082. "description": "Internal Server Error",
  6083. "schema": {
  6084. "$ref": "#/definitions/app.Response"
  6085. }
  6086. }
  6087. }
  6088. }
  6089. },
  6090. "/HSBY/QueryHsbyPreGoodsDetail": {
  6091. "get": {
  6092. "security": [
  6093. {
  6094. "ApiKeyAuth": []
  6095. }
  6096. ],
  6097. "produces": [
  6098. "application/json"
  6099. ],
  6100. "tags": [
  6101. "定制【海商报业】"
  6102. ],
  6103. "summary": "查询一级市场(预售)商品信息详情",
  6104. "parameters": [
  6105. {
  6106. "type": "integer",
  6107. "description": "商品ID",
  6108. "name": "goodsID",
  6109. "in": "query",
  6110. "required": true
  6111. },
  6112. {
  6113. "type": "integer",
  6114. "description": "资金账户,主要用于获取预售商品购买上限",
  6115. "name": "accountID",
  6116. "in": "query"
  6117. }
  6118. ],
  6119. "responses": {
  6120. "200": {
  6121. "description": "OK",
  6122. "schema": {
  6123. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6124. }
  6125. },
  6126. "500": {
  6127. "description": "Internal Server Error",
  6128. "schema": {
  6129. "$ref": "#/definitions/app.Response"
  6130. }
  6131. }
  6132. }
  6133. }
  6134. },
  6135. "/HSBY/QueryHsbyPreGoodses": {
  6136. "get": {
  6137. "security": [
  6138. {
  6139. "ApiKeyAuth": []
  6140. }
  6141. ],
  6142. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6143. "produces": [
  6144. "application/json"
  6145. ],
  6146. "tags": [
  6147. "定制【海商报业】"
  6148. ],
  6149. "summary": "查询新品上市商品列表(一级市场预售)",
  6150. "parameters": [
  6151. {
  6152. "type": "integer",
  6153. "description": "页码",
  6154. "name": "page",
  6155. "in": "query"
  6156. },
  6157. {
  6158. "type": "integer",
  6159. "description": "每页条数",
  6160. "name": "pagesize",
  6161. "in": "query"
  6162. },
  6163. {
  6164. "type": "string",
  6165. "description": "市场ID列表,格式:1,2,3",
  6166. "name": "marketIDs",
  6167. "in": "query",
  6168. "required": true
  6169. },
  6170. {
  6171. "type": "integer",
  6172. "description": "目的地(省)ID",
  6173. "name": "descProvinceID",
  6174. "in": "query"
  6175. },
  6176. {
  6177. "type": "integer",
  6178. "description": "目的地(市)ID",
  6179. "name": "descCityID",
  6180. "in": "query"
  6181. }
  6182. ],
  6183. "responses": {
  6184. "200": {
  6185. "description": "OK",
  6186. "schema": {
  6187. "$ref": "#/definitions/models.HsbyPreGoods"
  6188. }
  6189. },
  6190. "500": {
  6191. "description": "Internal Server Error",
  6192. "schema": {
  6193. "$ref": "#/definitions/app.Response"
  6194. }
  6195. }
  6196. }
  6197. }
  6198. },
  6199. "/HSBY/QueryHsbySellMyDetails": {
  6200. "get": {
  6201. "security": [
  6202. {
  6203. "ApiKeyAuth": []
  6204. }
  6205. ],
  6206. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "定制【海商报业】"
  6212. ],
  6213. "summary": "查询\"我的闲置\"单据信息",
  6214. "parameters": [
  6215. {
  6216. "type": "integer",
  6217. "description": "页码",
  6218. "name": "page",
  6219. "in": "query"
  6220. },
  6221. {
  6222. "type": "integer",
  6223. "description": "每页条数",
  6224. "name": "pagesize",
  6225. "in": "query"
  6226. },
  6227. {
  6228. "type": "string",
  6229. "description": "资金账户列表,格式:1,2,3",
  6230. "name": "accountIDs",
  6231. "in": "query",
  6232. "required": true
  6233. },
  6234. {
  6235. "type": "integer",
  6236. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6237. "name": "orderType",
  6238. "in": "query"
  6239. }
  6240. ],
  6241. "responses": {
  6242. "200": {
  6243. "description": "OK",
  6244. "schema": {
  6245. "$ref": "#/definitions/models.HsbySellMyDetail"
  6246. }
  6247. },
  6248. "500": {
  6249. "description": "Internal Server Error",
  6250. "schema": {
  6251. "$ref": "#/definitions/app.Response"
  6252. }
  6253. }
  6254. }
  6255. }
  6256. },
  6257. "/HSBY/QueryHsbyTopGoodses": {
  6258. "get": {
  6259. "security": [
  6260. {
  6261. "ApiKeyAuth": []
  6262. }
  6263. ],
  6264. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6265. "produces": [
  6266. "application/json"
  6267. ],
  6268. "tags": [
  6269. "定制【海商报业】"
  6270. ],
  6271. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6272. "parameters": [
  6273. {
  6274. "type": "integer",
  6275. "description": "页码",
  6276. "name": "page",
  6277. "in": "query"
  6278. },
  6279. {
  6280. "type": "integer",
  6281. "description": "每页条数",
  6282. "name": "pagesize",
  6283. "in": "query"
  6284. },
  6285. {
  6286. "type": "string",
  6287. "description": "市场ID列表,格式:1,2,3",
  6288. "name": "marketIDs",
  6289. "in": "query",
  6290. "required": true
  6291. },
  6292. {
  6293. "type": "integer",
  6294. "description": "目的地(省)ID",
  6295. "name": "descProvinceID",
  6296. "in": "query"
  6297. },
  6298. {
  6299. "type": "integer",
  6300. "description": "目的地(市)ID",
  6301. "name": "descCityID",
  6302. "in": "query"
  6303. }
  6304. ],
  6305. "responses": {
  6306. "200": {
  6307. "description": "OK",
  6308. "schema": {
  6309. "$ref": "#/definitions/models.HsbyTopGoods"
  6310. }
  6311. },
  6312. "500": {
  6313. "description": "Internal Server Error",
  6314. "schema": {
  6315. "$ref": "#/definitions/app.Response"
  6316. }
  6317. }
  6318. }
  6319. }
  6320. },
  6321. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6322. "get": {
  6323. "security": [
  6324. {
  6325. "ApiKeyAuth": []
  6326. }
  6327. ],
  6328. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6329. "produces": [
  6330. "application/json"
  6331. ],
  6332. "tags": [
  6333. "定制【海商报业】"
  6334. ],
  6335. "summary": "查询游客三级市场(商城)商品信息详情",
  6336. "parameters": [
  6337. {
  6338. "type": "integer",
  6339. "description": "商品ID",
  6340. "name": "goodsID",
  6341. "in": "query",
  6342. "required": true
  6343. }
  6344. ],
  6345. "responses": {
  6346. "200": {
  6347. "description": "OK",
  6348. "schema": {
  6349. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6350. }
  6351. },
  6352. "500": {
  6353. "description": "Internal Server Error",
  6354. "schema": {
  6355. "$ref": "#/definitions/app.Response"
  6356. }
  6357. }
  6358. }
  6359. }
  6360. },
  6361. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6362. "get": {
  6363. "security": [
  6364. {
  6365. "ApiKeyAuth": []
  6366. }
  6367. ],
  6368. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6369. "produces": [
  6370. "application/json"
  6371. ],
  6372. "tags": [
  6373. "定制【海商报业】"
  6374. ],
  6375. "summary": "查询游客特卖商品列表(三级商城)",
  6376. "parameters": [
  6377. {
  6378. "type": "integer",
  6379. "description": "页码",
  6380. "name": "page",
  6381. "in": "query"
  6382. },
  6383. {
  6384. "type": "integer",
  6385. "description": "每页条数",
  6386. "name": "pagesize",
  6387. "in": "query"
  6388. },
  6389. {
  6390. "type": "string",
  6391. "description": "市场ID列表,格式:1,2,3",
  6392. "name": "marketIDs",
  6393. "in": "query",
  6394. "required": true
  6395. },
  6396. {
  6397. "type": "integer",
  6398. "description": "类别ID",
  6399. "name": "categoryID",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "string",
  6404. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6405. "name": "goodsIDs",
  6406. "in": "query"
  6407. }
  6408. ],
  6409. "responses": {
  6410. "200": {
  6411. "description": "OK",
  6412. "schema": {
  6413. "$ref": "#/definitions/models.HsbyMarketGoods"
  6414. }
  6415. },
  6416. "500": {
  6417. "description": "Internal Server Error",
  6418. "schema": {
  6419. "$ref": "#/definitions/app.Response"
  6420. }
  6421. }
  6422. }
  6423. }
  6424. },
  6425. "/HSBY/QueryMyCollectionOrders": {
  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": "页码",
  6443. "name": "page",
  6444. "in": "query"
  6445. },
  6446. {
  6447. "type": "integer",
  6448. "description": "每页条数",
  6449. "name": "pagesize",
  6450. "in": "query"
  6451. },
  6452. {
  6453. "type": "string",
  6454. "description": "资金账户,格式:1,2,3",
  6455. "name": "accountIDs",
  6456. "in": "query",
  6457. "required": true
  6458. }
  6459. ],
  6460. "responses": {
  6461. "200": {
  6462. "description": "OK",
  6463. "schema": {
  6464. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6465. }
  6466. },
  6467. "500": {
  6468. "description": "Internal Server Error",
  6469. "schema": {
  6470. "$ref": "#/definitions/app.Response"
  6471. }
  6472. }
  6473. }
  6474. }
  6475. },
  6476. "/HSBY/QueryMyCouponHolds": {
  6477. "get": {
  6478. "security": [
  6479. {
  6480. "ApiKeyAuth": []
  6481. }
  6482. ],
  6483. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6484. "produces": [
  6485. "application/json"
  6486. ],
  6487. "tags": [
  6488. "定制【海商报业】"
  6489. ],
  6490. "summary": "我的优惠卷持仓查询",
  6491. "parameters": [
  6492. {
  6493. "type": "string",
  6494. "description": "资金账户列表,格式:1,2,3",
  6495. "name": "accountIDs",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "string",
  6501. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6502. "name": "holdStatus",
  6503. "in": "query"
  6504. }
  6505. ],
  6506. "responses": {
  6507. "200": {
  6508. "description": "OK",
  6509. "schema": {
  6510. "$ref": "#/definitions/models.MyCouponHold"
  6511. }
  6512. },
  6513. "500": {
  6514. "description": "Internal Server Error",
  6515. "schema": {
  6516. "$ref": "#/definitions/app.Response"
  6517. }
  6518. }
  6519. }
  6520. }
  6521. },
  6522. "/HSBY/QueryMyCoupons": {
  6523. "get": {
  6524. "security": [
  6525. {
  6526. "ApiKeyAuth": []
  6527. }
  6528. ],
  6529. "produces": [
  6530. "application/json"
  6531. ],
  6532. "tags": [
  6533. "定制【海商报业】"
  6534. ],
  6535. "summary": "我的优惠卷查询",
  6536. "parameters": [
  6537. {
  6538. "type": "string",
  6539. "description": "资金账户列表,格式:1,2,3",
  6540. "name": "accountIDs",
  6541. "in": "query",
  6542. "required": true
  6543. },
  6544. {
  6545. "type": "integer",
  6546. "description": "商品ID, 一般与sellUserID配套传入",
  6547. "name": "goodsID",
  6548. "in": "query"
  6549. },
  6550. {
  6551. "type": "integer",
  6552. "description": "卖方UserID",
  6553. "name": "sellUserID",
  6554. "in": "query"
  6555. }
  6556. ],
  6557. "responses": {
  6558. "200": {
  6559. "description": "OK",
  6560. "schema": {
  6561. "$ref": "#/definitions/models.MyCoupon"
  6562. }
  6563. },
  6564. "500": {
  6565. "description": "Internal Server Error",
  6566. "schema": {
  6567. "$ref": "#/definitions/app.Response"
  6568. }
  6569. }
  6570. }
  6571. }
  6572. },
  6573. "/HSBY/QueryMyPayOrders": {
  6574. "get": {
  6575. "security": [
  6576. {
  6577. "ApiKeyAuth": []
  6578. }
  6579. ],
  6580. "produces": [
  6581. "application/json"
  6582. ],
  6583. "tags": [
  6584. "定制【海商报业】"
  6585. ],
  6586. "summary": "获取我的订单中待付款信息",
  6587. "parameters": [
  6588. {
  6589. "type": "integer",
  6590. "description": "页码",
  6591. "name": "page",
  6592. "in": "query"
  6593. },
  6594. {
  6595. "type": "integer",
  6596. "description": "每页条数",
  6597. "name": "pagesize",
  6598. "in": "query"
  6599. },
  6600. {
  6601. "type": "string",
  6602. "description": "资金账户列表,格式:1,2,3",
  6603. "name": "accountIDs",
  6604. "in": "query",
  6605. "required": true
  6606. },
  6607. {
  6608. "type": "integer",
  6609. "description": "买方委托单号",
  6610. "name": "buyOrderID",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "integer",
  6615. "description": "卖方委托单号",
  6616. "name": "sellOrderID",
  6617. "in": "query"
  6618. }
  6619. ],
  6620. "responses": {
  6621. "200": {
  6622. "description": "OK",
  6623. "schema": {
  6624. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6625. }
  6626. },
  6627. "500": {
  6628. "description": "Internal Server Error",
  6629. "schema": {
  6630. "$ref": "#/definitions/app.Response"
  6631. }
  6632. }
  6633. }
  6634. }
  6635. },
  6636. "/HSBY/QueryMyUsedCoupon": {
  6637. "get": {
  6638. "security": [
  6639. {
  6640. "ApiKeyAuth": []
  6641. }
  6642. ],
  6643. "produces": [
  6644. "application/json"
  6645. ],
  6646. "tags": [
  6647. "定制【海商报业】"
  6648. ],
  6649. "summary": "已使用优惠卷查询",
  6650. "parameters": [
  6651. {
  6652. "type": "string",
  6653. "description": "资金账户列表,格式:1,2,3",
  6654. "name": "accountIDs",
  6655. "in": "query",
  6656. "required": true
  6657. }
  6658. ],
  6659. "responses": {
  6660. "200": {
  6661. "description": "OK",
  6662. "schema": {
  6663. "$ref": "#/definitions/models.MyUsedCoupon"
  6664. }
  6665. },
  6666. "500": {
  6667. "description": "Internal Server Error",
  6668. "schema": {
  6669. "$ref": "#/definitions/app.Response"
  6670. }
  6671. }
  6672. }
  6673. }
  6674. },
  6675. "/HSBY/QueryProvincesAndCities": {
  6676. "get": {
  6677. "security": [
  6678. {
  6679. "ApiKeyAuth": []
  6680. }
  6681. ],
  6682. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6683. "produces": [
  6684. "application/json"
  6685. ],
  6686. "tags": [
  6687. "定制【海商报业】"
  6688. ],
  6689. "summary": "查询省市信息(不包括区)",
  6690. "parameters": [
  6691. {
  6692. "type": "integer",
  6693. "description": "省ID",
  6694. "name": "provinceID",
  6695. "in": "query"
  6696. }
  6697. ],
  6698. "responses": {
  6699. "200": {
  6700. "description": "OK",
  6701. "schema": {
  6702. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6703. }
  6704. },
  6705. "500": {
  6706. "description": "Internal Server Error",
  6707. "schema": {
  6708. "$ref": "#/definitions/app.Response"
  6709. }
  6710. }
  6711. }
  6712. }
  6713. },
  6714. "/HSBY/SetHsbyMyPackagesStatus": {
  6715. "post": {
  6716. "security": [
  6717. {
  6718. "ApiKeyAuth": []
  6719. }
  6720. ],
  6721. "produces": [
  6722. "application/json"
  6723. ],
  6724. "tags": [
  6725. "定制【海商报业】"
  6726. ],
  6727. "summary": "设置我的包裹已收货状态",
  6728. "parameters": [
  6729. {
  6730. "type": "string",
  6731. "description": "提货单号",
  6732. "name": "takeOrderID",
  6733. "in": "query",
  6734. "required": true
  6735. },
  6736. {
  6737. "type": "integer",
  6738. "description": "资金账号",
  6739. "name": "accountID",
  6740. "in": "query",
  6741. "required": true
  6742. }
  6743. ],
  6744. "responses": {
  6745. "200": {
  6746. "description": "OK",
  6747. "schema": {
  6748. "$ref": "#/definitions/app.Response"
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Market/GetAllExExchanges": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "通用市场"
  6772. ],
  6773. "summary": "获取所有外部交易所信息",
  6774. "responses": {
  6775. "200": {
  6776. "description": "OK",
  6777. "schema": {
  6778. "$ref": "#/definitions/models.Goods"
  6779. }
  6780. },
  6781. "500": {
  6782. "description": "Internal Server Error",
  6783. "schema": {
  6784. "$ref": "#/definitions/app.Response"
  6785. }
  6786. }
  6787. }
  6788. }
  6789. },
  6790. "/Market/QueryGoodsesByLoginID": {
  6791. "get": {
  6792. "security": [
  6793. {
  6794. "ApiKeyAuth": []
  6795. }
  6796. ],
  6797. "produces": [
  6798. "application/json"
  6799. ],
  6800. "tags": [
  6801. "通用市场"
  6802. ],
  6803. "summary": "获取登录账号有权限的商品信息",
  6804. "parameters": [
  6805. {
  6806. "type": "integer",
  6807. "description": "登录账号",
  6808. "name": "loginID",
  6809. "in": "query",
  6810. "required": true
  6811. },
  6812. {
  6813. "type": "string",
  6814. "description": "市场ID列表,格式:1,2,3",
  6815. "name": "marketIDs",
  6816. "in": "query"
  6817. }
  6818. ],
  6819. "responses": {
  6820. "200": {
  6821. "description": "OK",
  6822. "schema": {
  6823. "$ref": "#/definitions/models.Goods"
  6824. }
  6825. },
  6826. "500": {
  6827. "description": "Internal Server Error",
  6828. "schema": {
  6829. "$ref": "#/definitions/app.Response"
  6830. }
  6831. }
  6832. }
  6833. }
  6834. },
  6835. "/Market/QueryMarketRun": {
  6836. "get": {
  6837. "security": [
  6838. {
  6839. "ApiKeyAuth": []
  6840. }
  6841. ],
  6842. "produces": [
  6843. "application/json"
  6844. ],
  6845. "tags": [
  6846. "通用市场"
  6847. ],
  6848. "summary": "查询市场运行信息",
  6849. "parameters": [
  6850. {
  6851. "type": "integer",
  6852. "description": "市场ID,不传返回所有",
  6853. "name": "marketID",
  6854. "in": "query"
  6855. }
  6856. ],
  6857. "responses": {
  6858. "200": {
  6859. "description": "OK",
  6860. "schema": {
  6861. "$ref": "#/definitions/models.Marketrun"
  6862. }
  6863. },
  6864. "500": {
  6865. "description": "Internal Server Error",
  6866. "schema": {
  6867. "$ref": "#/definitions/app.Response"
  6868. }
  6869. }
  6870. }
  6871. }
  6872. },
  6873. "/Market/QueryMarketsByLoginID": {
  6874. "get": {
  6875. "security": [
  6876. {
  6877. "ApiKeyAuth": []
  6878. }
  6879. ],
  6880. "produces": [
  6881. "application/json"
  6882. ],
  6883. "tags": [
  6884. "通用市场"
  6885. ],
  6886. "summary": "获取登录账号有权限的市场信息",
  6887. "parameters": [
  6888. {
  6889. "type": "integer",
  6890. "description": "登录账号",
  6891. "name": "loginID",
  6892. "in": "query",
  6893. "required": true
  6894. }
  6895. ],
  6896. "responses": {
  6897. "200": {
  6898. "description": "OK",
  6899. "schema": {
  6900. "$ref": "#/definitions/models.Market"
  6901. }
  6902. },
  6903. "500": {
  6904. "description": "Internal Server Error",
  6905. "schema": {
  6906. "$ref": "#/definitions/app.Response"
  6907. }
  6908. }
  6909. }
  6910. }
  6911. },
  6912. "/Order/QueryHisTradeDetail": {
  6913. "get": {
  6914. "security": [
  6915. {
  6916. "ApiKeyAuth": []
  6917. }
  6918. ],
  6919. "produces": [
  6920. "application/json"
  6921. ],
  6922. "tags": [
  6923. "通用单据"
  6924. ],
  6925. "summary": "历史成交单查询(合约市场)",
  6926. "parameters": [
  6927. {
  6928. "type": "string",
  6929. "description": "资金账户 - 格式:1,2,3",
  6930. "name": "accountID",
  6931. "in": "query",
  6932. "required": true
  6933. },
  6934. {
  6935. "type": "integer",
  6936. "description": "成交单号",
  6937. "name": "tradeID",
  6938. "in": "query"
  6939. },
  6940. {
  6941. "type": "integer",
  6942. "description": "委托单号",
  6943. "name": "orderID",
  6944. "in": "query"
  6945. },
  6946. {
  6947. "type": "integer",
  6948. "description": "商品ID",
  6949. "name": "goodsID",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "string",
  6954. "description": "交易模式 - 格式:1,2,3",
  6955. "name": "tradeMode",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "integer",
  6960. "description": "委托单据类型",
  6961. "name": "buildType",
  6962. "in": "query"
  6963. },
  6964. {
  6965. "type": "string",
  6966. "description": "成交类别 - 格式:1,2,3",
  6967. "name": "tradeType",
  6968. "in": "query"
  6969. },
  6970. {
  6971. "type": "string",
  6972. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6973. "name": "startDate",
  6974. "in": "query"
  6975. },
  6976. {
  6977. "type": "string",
  6978. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6979. "name": "endDate",
  6980. "in": "query"
  6981. }
  6982. ],
  6983. "responses": {
  6984. "200": {
  6985. "description": "OK",
  6986. "schema": {
  6987. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6988. }
  6989. },
  6990. "500": {
  6991. "description": "Internal Server Error",
  6992. "schema": {
  6993. "$ref": "#/definitions/app.Response"
  6994. }
  6995. }
  6996. }
  6997. }
  6998. },
  6999. "/Order/QueryHisTradeOrderDetail": {
  7000. "get": {
  7001. "security": [
  7002. {
  7003. "ApiKeyAuth": []
  7004. }
  7005. ],
  7006. "produces": [
  7007. "application/json"
  7008. ],
  7009. "tags": [
  7010. "通用单据"
  7011. ],
  7012. "summary": "历史委托单查询请求(合约市场)",
  7013. "parameters": [
  7014. {
  7015. "type": "string",
  7016. "description": "资金账户 - 格式:1,2,3",
  7017. "name": "accountID",
  7018. "in": "query",
  7019. "required": true
  7020. },
  7021. {
  7022. "type": "string",
  7023. "description": "交易模式 - 格式:1,2,3",
  7024. "name": "tradeMode",
  7025. "in": "query"
  7026. },
  7027. {
  7028. "type": "string",
  7029. "description": "委托状态 - 格式:1,2,3",
  7030. "name": "orderStatus",
  7031. "in": "query"
  7032. },
  7033. {
  7034. "type": "integer",
  7035. "description": "委托单号",
  7036. "name": "orderID",
  7037. "in": "query"
  7038. },
  7039. {
  7040. "type": "string",
  7041. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7042. "name": "startDate",
  7043. "in": "query"
  7044. },
  7045. {
  7046. "type": "string",
  7047. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7048. "name": "endDate",
  7049. "in": "query"
  7050. }
  7051. ],
  7052. "responses": {
  7053. "200": {
  7054. "description": "OK",
  7055. "schema": {
  7056. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7057. }
  7058. },
  7059. "500": {
  7060. "description": "Internal Server Error",
  7061. "schema": {
  7062. "$ref": "#/definitions/app.Response"
  7063. }
  7064. }
  7065. }
  7066. }
  7067. },
  7068. "/Order/QueryTradeDetail": {
  7069. "get": {
  7070. "security": [
  7071. {
  7072. "ApiKeyAuth": []
  7073. }
  7074. ],
  7075. "produces": [
  7076. "application/json"
  7077. ],
  7078. "tags": [
  7079. "通用单据"
  7080. ],
  7081. "summary": "成交单查询(合约市场)",
  7082. "parameters": [
  7083. {
  7084. "type": "string",
  7085. "description": "资金账户 - 格式:1,2,3",
  7086. "name": "accountID",
  7087. "in": "query",
  7088. "required": true
  7089. },
  7090. {
  7091. "type": "integer",
  7092. "description": "成交单号",
  7093. "name": "tradeID",
  7094. "in": "query"
  7095. },
  7096. {
  7097. "type": "integer",
  7098. "description": "委托单号",
  7099. "name": "orderID",
  7100. "in": "query"
  7101. },
  7102. {
  7103. "type": "string",
  7104. "description": "交易模式 - 格式:1,2,3",
  7105. "name": "tradeMode",
  7106. "in": "query"
  7107. },
  7108. {
  7109. "type": "integer",
  7110. "description": "委托单据类型",
  7111. "name": "buildType",
  7112. "in": "query"
  7113. },
  7114. {
  7115. "type": "string",
  7116. "description": "成交类别 - 格式:1,2,3",
  7117. "name": "tradeType",
  7118. "in": "query"
  7119. },
  7120. {
  7121. "type": "integer",
  7122. "description": "商品ID",
  7123. "name": "goodsID",
  7124. "in": "query"
  7125. }
  7126. ],
  7127. "responses": {
  7128. "200": {
  7129. "description": "OK",
  7130. "schema": {
  7131. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7132. }
  7133. },
  7134. "500": {
  7135. "description": "Internal Server Error",
  7136. "schema": {
  7137. "$ref": "#/definitions/app.Response"
  7138. }
  7139. }
  7140. }
  7141. }
  7142. },
  7143. "/Order/QueryTradeHolderDetail": {
  7144. "get": {
  7145. "security": [
  7146. {
  7147. "ApiKeyAuth": []
  7148. }
  7149. ],
  7150. "produces": [
  7151. "application/json"
  7152. ],
  7153. "tags": [
  7154. "通用单据"
  7155. ],
  7156. "summary": "查询持仓明细",
  7157. "parameters": [
  7158. {
  7159. "type": "integer",
  7160. "description": "用户id",
  7161. "name": "userid",
  7162. "in": "query"
  7163. },
  7164. {
  7165. "type": "string",
  7166. "description": "资金账号, 格式 1,2,3",
  7167. "name": "accids",
  7168. "in": "query"
  7169. },
  7170. {
  7171. "type": "string",
  7172. "description": "交易模式, 格式 1,2,3",
  7173. "name": "trademodes",
  7174. "in": "query"
  7175. },
  7176. {
  7177. "type": "string",
  7178. "description": "市场id, 格式 1,2,3",
  7179. "name": "marketids",
  7180. "in": "query"
  7181. },
  7182. {
  7183. "type": "integer",
  7184. "description": "商品id",
  7185. "name": "goodsid",
  7186. "in": "query"
  7187. },
  7188. {
  7189. "type": "integer",
  7190. "description": "买卖方向 0-买 1-卖",
  7191. "name": "buyorsell",
  7192. "in": "query"
  7193. }
  7194. ],
  7195. "responses": {
  7196. "200": {
  7197. "description": "OK",
  7198. "schema": {
  7199. "type": "array",
  7200. "items": {
  7201. "$ref": "#/definitions/models.TradeHolderDetail"
  7202. }
  7203. }
  7204. },
  7205. "500": {
  7206. "description": "Internal Server Error",
  7207. "schema": {
  7208. "$ref": "#/definitions/app.Response"
  7209. }
  7210. }
  7211. }
  7212. }
  7213. },
  7214. "/Order/QueryTradeOrderDetail": {
  7215. "get": {
  7216. "security": [
  7217. {
  7218. "ApiKeyAuth": []
  7219. }
  7220. ],
  7221. "produces": [
  7222. "application/json"
  7223. ],
  7224. "tags": [
  7225. "通用单据"
  7226. ],
  7227. "summary": "委托单查询请求(合约市场)",
  7228. "parameters": [
  7229. {
  7230. "type": "string",
  7231. "description": "资金账户 - 格式:1,2,3",
  7232. "name": "accountID",
  7233. "in": "query",
  7234. "required": true
  7235. },
  7236. {
  7237. "type": "string",
  7238. "description": "交易模式 - 格式:1,2,3",
  7239. "name": "tradeMode",
  7240. "in": "query"
  7241. },
  7242. {
  7243. "type": "string",
  7244. "description": "委托状态 - 格式:1,2,3",
  7245. "name": "orderStatus",
  7246. "in": "query"
  7247. },
  7248. {
  7249. "type": "integer",
  7250. "description": "委托单号",
  7251. "name": "orderID",
  7252. "in": "query"
  7253. }
  7254. ],
  7255. "responses": {
  7256. "200": {
  7257. "description": "OK",
  7258. "schema": {
  7259. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7260. }
  7261. },
  7262. "500": {
  7263. "description": "Internal Server Error",
  7264. "schema": {
  7265. "$ref": "#/definitions/app.Response"
  7266. }
  7267. }
  7268. }
  7269. }
  7270. },
  7271. "/Order/QueryTradePosition": {
  7272. "get": {
  7273. "security": [
  7274. {
  7275. "ApiKeyAuth": []
  7276. }
  7277. ],
  7278. "produces": [
  7279. "application/json"
  7280. ],
  7281. "tags": [
  7282. "通用单据"
  7283. ],
  7284. "summary": "持仓汇总查询(合约市场)",
  7285. "parameters": [
  7286. {
  7287. "type": "string",
  7288. "description": "资金账户 - 格式:1,2,3",
  7289. "name": "accountID",
  7290. "in": "query",
  7291. "required": true
  7292. },
  7293. {
  7294. "type": "string",
  7295. "description": "交易模式 - 格式:1,2,3",
  7296. "name": "tradeMode",
  7297. "in": "query"
  7298. }
  7299. ],
  7300. "responses": {
  7301. "200": {
  7302. "description": "OK",
  7303. "schema": {
  7304. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7305. }
  7306. },
  7307. "500": {
  7308. "description": "Internal Server Error",
  7309. "schema": {
  7310. "$ref": "#/definitions/app.Response"
  7311. }
  7312. }
  7313. }
  7314. }
  7315. },
  7316. "/Qhj/QueryAccountInOutApply": {
  7317. "get": {
  7318. "security": [
  7319. {
  7320. "ApiKeyAuth": []
  7321. }
  7322. ],
  7323. "produces": [
  7324. "application/json"
  7325. ],
  7326. "tags": [
  7327. "大连千海金"
  7328. ],
  7329. "summary": "查询充值提现",
  7330. "parameters": [
  7331. {
  7332. "type": "integer",
  7333. "description": "用户ID",
  7334. "name": "userid",
  7335. "in": "query",
  7336. "required": true
  7337. },
  7338. {
  7339. "type": "string",
  7340. "description": "申请起始日期(格式yyyymmdd)",
  7341. "name": "begindate",
  7342. "in": "query"
  7343. },
  7344. {
  7345. "type": "string",
  7346. "description": "申请截止日期(格式yyyymmdd)",
  7347. "name": "enddate",
  7348. "in": "query"
  7349. },
  7350. {
  7351. "type": "string",
  7352. "description": "模糊搜索名称",
  7353. "name": "likename",
  7354. "in": "query"
  7355. }
  7356. ],
  7357. "responses": {
  7358. "200": {
  7359. "description": "OK",
  7360. "schema": {
  7361. "type": "array",
  7362. "items": {
  7363. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7364. }
  7365. }
  7366. },
  7367. "500": {
  7368. "description": "Internal Server Error",
  7369. "schema": {
  7370. "$ref": "#/definitions/app.Response"
  7371. }
  7372. }
  7373. }
  7374. }
  7375. },
  7376. "/Qhj/QueryAreaFinanceConfig": {
  7377. "get": {
  7378. "security": [
  7379. {
  7380. "ApiKeyAuth": []
  7381. }
  7382. ],
  7383. "produces": [
  7384. "application/json"
  7385. ],
  7386. "tags": [
  7387. "大连千海金"
  7388. ],
  7389. "summary": "查询企业配置表",
  7390. "parameters": [
  7391. {
  7392. "type": "integer",
  7393. "description": "机构用户ID 其他做市关系,都设置为 1",
  7394. "name": "userid",
  7395. "in": "query"
  7396. }
  7397. ],
  7398. "responses": {
  7399. "200": {
  7400. "description": "OK",
  7401. "schema": {
  7402. "type": "array",
  7403. "items": {
  7404. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7405. }
  7406. }
  7407. },
  7408. "500": {
  7409. "description": "Internal Server Error",
  7410. "schema": {
  7411. "$ref": "#/definitions/app.Response"
  7412. }
  7413. }
  7414. }
  7415. }
  7416. },
  7417. "/Qhj/QueryBankAccountSign": {
  7418. "get": {
  7419. "security": [
  7420. {
  7421. "ApiKeyAuth": []
  7422. }
  7423. ],
  7424. "produces": [
  7425. "application/json"
  7426. ],
  7427. "tags": [
  7428. "大连千海金"
  7429. ],
  7430. "summary": "查询签约银行信息(提现账户管理)",
  7431. "parameters": [
  7432. {
  7433. "type": "integer",
  7434. "description": "用户ID",
  7435. "name": "userid",
  7436. "in": "query",
  7437. "required": true
  7438. }
  7439. ],
  7440. "responses": {
  7441. "200": {
  7442. "description": "OK",
  7443. "schema": {
  7444. "type": "array",
  7445. "items": {
  7446. "$ref": "#/definitions/models.QhjBankAccountSign"
  7447. }
  7448. }
  7449. },
  7450. "500": {
  7451. "description": "Internal Server Error",
  7452. "schema": {
  7453. "$ref": "#/definitions/app.Response"
  7454. }
  7455. }
  7456. }
  7457. }
  7458. },
  7459. "/Qhj/QueryBankInfo": {
  7460. "get": {
  7461. "security": [
  7462. {
  7463. "ApiKeyAuth": []
  7464. }
  7465. ],
  7466. "produces": [
  7467. "application/json"
  7468. ],
  7469. "tags": [
  7470. "大连千海金"
  7471. ],
  7472. "summary": "查询开户行",
  7473. "responses": {
  7474. "200": {
  7475. "description": "OK",
  7476. "schema": {
  7477. "type": "array",
  7478. "items": {
  7479. "$ref": "#/definitions/models.QhjBankInfo"
  7480. }
  7481. }
  7482. },
  7483. "500": {
  7484. "description": "Internal Server Error",
  7485. "schema": {
  7486. "$ref": "#/definitions/app.Response"
  7487. }
  7488. }
  7489. }
  7490. }
  7491. },
  7492. "/Qhj/QueryBrokerApply": {
  7493. "get": {
  7494. "security": [
  7495. {
  7496. "ApiKeyAuth": []
  7497. }
  7498. ],
  7499. "produces": [
  7500. "application/json"
  7501. ],
  7502. "tags": [
  7503. "大连千海金"
  7504. ],
  7505. "summary": "查询经纪人申请",
  7506. "parameters": [
  7507. {
  7508. "type": "integer",
  7509. "description": "所属机构ID",
  7510. "name": "userid",
  7511. "in": "query"
  7512. },
  7513. {
  7514. "type": "string",
  7515. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7516. "name": "filterstatus",
  7517. "in": "query"
  7518. }
  7519. ],
  7520. "responses": {
  7521. "200": {
  7522. "description": "OK",
  7523. "schema": {
  7524. "type": "array",
  7525. "items": {
  7526. "$ref": "#/definitions/models.QhjBrokerApply"
  7527. }
  7528. }
  7529. },
  7530. "500": {
  7531. "description": "Internal Server Error",
  7532. "schema": {
  7533. "$ref": "#/definitions/app.Response"
  7534. }
  7535. }
  7536. }
  7537. }
  7538. },
  7539. "/Qhj/QueryBrokerApplyEx": {
  7540. "get": {
  7541. "security": [
  7542. {
  7543. "ApiKeyAuth": []
  7544. }
  7545. ],
  7546. "produces": [
  7547. "application/json"
  7548. ],
  7549. "tags": [
  7550. "大连千海金"
  7551. ],
  7552. "summary": "查询经纪人信息和申请记录",
  7553. "parameters": [
  7554. {
  7555. "type": "integer",
  7556. "description": "所属机构ID",
  7557. "name": "userid",
  7558. "in": "query"
  7559. }
  7560. ],
  7561. "responses": {
  7562. "200": {
  7563. "description": "OK",
  7564. "schema": {
  7565. "type": "array",
  7566. "items": {
  7567. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7568. }
  7569. }
  7570. },
  7571. "500": {
  7572. "description": "Internal Server Error",
  7573. "schema": {
  7574. "$ref": "#/definitions/app.Response"
  7575. }
  7576. }
  7577. }
  7578. }
  7579. },
  7580. "/Qhj/QueryBrokerRewardLog": {
  7581. "get": {
  7582. "security": [
  7583. {
  7584. "ApiKeyAuth": []
  7585. }
  7586. ],
  7587. "produces": [
  7588. "application/json"
  7589. ],
  7590. "tags": [
  7591. "大连千海金"
  7592. ],
  7593. "summary": "查询奖励流水(我的奖励)",
  7594. "parameters": [
  7595. {
  7596. "type": "integer",
  7597. "description": "用户ID",
  7598. "name": "userid",
  7599. "in": "query",
  7600. "required": true
  7601. },
  7602. {
  7603. "type": "string",
  7604. "description": "开始交易日(yyyymmdd)",
  7605. "name": "begindate",
  7606. "in": "query"
  7607. },
  7608. {
  7609. "type": "string",
  7610. "description": "结束交易日(yyyymmdd)",
  7611. "name": "enddate",
  7612. "in": "query"
  7613. }
  7614. ],
  7615. "responses": {
  7616. "200": {
  7617. "description": "OK",
  7618. "schema": {
  7619. "type": "array",
  7620. "items": {
  7621. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7622. }
  7623. }
  7624. },
  7625. "500": {
  7626. "description": "Internal Server Error",
  7627. "schema": {
  7628. "$ref": "#/definitions/app.Response"
  7629. }
  7630. }
  7631. }
  7632. }
  7633. },
  7634. "/Qhj/QueryContract": {
  7635. "get": {
  7636. "security": [
  7637. {
  7638. "ApiKeyAuth": []
  7639. }
  7640. ],
  7641. "produces": [
  7642. "application/json"
  7643. ],
  7644. "tags": [
  7645. "大连千海金"
  7646. ],
  7647. "summary": "查询融资明细(合同)",
  7648. "parameters": [
  7649. {
  7650. "type": "integer",
  7651. "description": "用户ID",
  7652. "name": "userid",
  7653. "in": "query"
  7654. },
  7655. {
  7656. "type": "integer",
  7657. "description": "scf合同id",
  7658. "name": "scfcontractid",
  7659. "in": "query"
  7660. }
  7661. ],
  7662. "responses": {
  7663. "200": {
  7664. "description": "OK",
  7665. "schema": {
  7666. "type": "array",
  7667. "items": {
  7668. "$ref": "#/definitions/models.QhjContract"
  7669. }
  7670. }
  7671. },
  7672. "500": {
  7673. "description": "Internal Server Error",
  7674. "schema": {
  7675. "$ref": "#/definitions/app.Response"
  7676. }
  7677. }
  7678. }
  7679. }
  7680. },
  7681. "/Qhj/QueryContractLog": {
  7682. "get": {
  7683. "security": [
  7684. {
  7685. "ApiKeyAuth": []
  7686. }
  7687. ],
  7688. "produces": [
  7689. "application/json"
  7690. ],
  7691. "tags": [
  7692. "大连千海金"
  7693. ],
  7694. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7695. "parameters": [
  7696. {
  7697. "type": "integer",
  7698. "description": "scf合同id",
  7699. "name": "scfcontractid",
  7700. "in": "query",
  7701. "required": true
  7702. },
  7703. {
  7704. "type": "string",
  7705. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7706. "name": "amounttype",
  7707. "in": "query"
  7708. }
  7709. ],
  7710. "responses": {
  7711. "200": {
  7712. "description": "OK",
  7713. "schema": {
  7714. "type": "array",
  7715. "items": {
  7716. "$ref": "#/definitions/models.QhjContractLog"
  7717. }
  7718. }
  7719. },
  7720. "500": {
  7721. "description": "Internal Server Error",
  7722. "schema": {
  7723. "$ref": "#/definitions/app.Response"
  7724. }
  7725. }
  7726. }
  7727. }
  7728. },
  7729. "/Qhj/QueryCusBankSignBank": {
  7730. "get": {
  7731. "security": [
  7732. {
  7733. "ApiKeyAuth": []
  7734. }
  7735. ],
  7736. "produces": [
  7737. "application/json"
  7738. ],
  7739. "tags": [
  7740. "大连千海金"
  7741. ],
  7742. "summary": "查询托管银行",
  7743. "responses": {
  7744. "200": {
  7745. "description": "OK",
  7746. "schema": {
  7747. "type": "array",
  7748. "items": {
  7749. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7750. }
  7751. }
  7752. },
  7753. "500": {
  7754. "description": "Internal Server Error",
  7755. "schema": {
  7756. "$ref": "#/definitions/app.Response"
  7757. }
  7758. }
  7759. }
  7760. }
  7761. },
  7762. "/Qhj/QueryCustomerInfo": {
  7763. "get": {
  7764. "security": [
  7765. {
  7766. "ApiKeyAuth": []
  7767. }
  7768. ],
  7769. "produces": [
  7770. "application/json"
  7771. ],
  7772. "tags": [
  7773. "大连千海金"
  7774. ],
  7775. "summary": "查询客户资料",
  7776. "parameters": [
  7777. {
  7778. "type": "integer",
  7779. "description": "用户ID",
  7780. "name": "userid",
  7781. "in": "query",
  7782. "required": true
  7783. },
  7784. {
  7785. "type": "integer",
  7786. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7787. "name": "querytype",
  7788. "in": "query",
  7789. "required": true
  7790. },
  7791. {
  7792. "type": "integer",
  7793. "description": "客户类型 1-个人 2-企业",
  7794. "name": "userinfotype",
  7795. "in": "query"
  7796. },
  7797. {
  7798. "type": "string",
  7799. "description": "客户名称(模糊匹配)",
  7800. "name": "customername",
  7801. "in": "query"
  7802. },
  7803. {
  7804. "type": "string",
  7805. "description": "昵称(模糊匹配)",
  7806. "name": "nickname",
  7807. "in": "query"
  7808. },
  7809. {
  7810. "type": "integer",
  7811. "description": "是否包含子级 1-包含",
  7812. "name": "includesub",
  7813. "in": "query"
  7814. }
  7815. ],
  7816. "responses": {
  7817. "200": {
  7818. "description": "OK",
  7819. "schema": {
  7820. "type": "array",
  7821. "items": {
  7822. "$ref": "#/definitions/models.QhjCustomer"
  7823. }
  7824. }
  7825. },
  7826. "500": {
  7827. "description": "Internal Server Error",
  7828. "schema": {
  7829. "$ref": "#/definitions/app.Response"
  7830. }
  7831. }
  7832. }
  7833. }
  7834. },
  7835. "/Qhj/QueryGoodsEx": {
  7836. "get": {
  7837. "security": [
  7838. {
  7839. "ApiKeyAuth": []
  7840. }
  7841. ],
  7842. "produces": [
  7843. "application/json"
  7844. ],
  7845. "tags": [
  7846. "大连千海金"
  7847. ],
  7848. "summary": "交易商品扩展表",
  7849. "parameters": [
  7850. {
  7851. "type": "integer",
  7852. "description": "商品id",
  7853. "name": "goodsid",
  7854. "in": "query"
  7855. }
  7856. ],
  7857. "responses": {
  7858. "200": {
  7859. "description": "OK",
  7860. "schema": {
  7861. "type": "array",
  7862. "items": {
  7863. "$ref": "#/definitions/models.Qhjgoodsex"
  7864. }
  7865. }
  7866. },
  7867. "500": {
  7868. "description": "Internal Server Error",
  7869. "schema": {
  7870. "$ref": "#/definitions/app.Response"
  7871. }
  7872. }
  7873. }
  7874. }
  7875. },
  7876. "/Qhj/QueryMyTeam": {
  7877. "get": {
  7878. "security": [
  7879. {
  7880. "ApiKeyAuth": []
  7881. }
  7882. ],
  7883. "produces": [
  7884. "application/json"
  7885. ],
  7886. "tags": [
  7887. "大连千海金"
  7888. ],
  7889. "summary": "查询我的团队",
  7890. "parameters": [
  7891. {
  7892. "type": "integer",
  7893. "description": "用户ID",
  7894. "name": "userid",
  7895. "in": "query",
  7896. "required": true
  7897. }
  7898. ],
  7899. "responses": {
  7900. "200": {
  7901. "description": "OK",
  7902. "schema": {
  7903. "type": "array",
  7904. "items": {
  7905. "$ref": "#/definitions/models.QhjMyTeamEx"
  7906. }
  7907. }
  7908. },
  7909. "500": {
  7910. "description": "Internal Server Error",
  7911. "schema": {
  7912. "$ref": "#/definitions/app.Response"
  7913. }
  7914. }
  7915. }
  7916. }
  7917. },
  7918. "/Qhj/QueryMyTeamOrder": {
  7919. "get": {
  7920. "security": [
  7921. {
  7922. "ApiKeyAuth": []
  7923. }
  7924. ],
  7925. "produces": [
  7926. "application/json"
  7927. ],
  7928. "tags": [
  7929. "大连千海金"
  7930. ],
  7931. "summary": "查询团队订单(我的团队/团队订单)",
  7932. "parameters": [
  7933. {
  7934. "type": "integer",
  7935. "description": "页码",
  7936. "name": "page",
  7937. "in": "query"
  7938. },
  7939. {
  7940. "type": "integer",
  7941. "description": "每页条数",
  7942. "name": "pagesize",
  7943. "in": "query"
  7944. },
  7945. {
  7946. "type": "integer",
  7947. "description": "用户ID",
  7948. "name": "userid",
  7949. "in": "query",
  7950. "required": true
  7951. },
  7952. {
  7953. "type": "integer",
  7954. "description": "交易模式",
  7955. "name": "trademode",
  7956. "in": "query"
  7957. },
  7958. {
  7959. "type": "string",
  7960. "description": "名称(模糊搜索账户)",
  7961. "name": "filtername",
  7962. "in": "query"
  7963. }
  7964. ],
  7965. "responses": {
  7966. "200": {
  7967. "description": "OK",
  7968. "schema": {
  7969. "type": "array",
  7970. "items": {
  7971. "$ref": "#/definitions/models.QhjTeamOrder"
  7972. }
  7973. }
  7974. },
  7975. "500": {
  7976. "description": "Internal Server Error",
  7977. "schema": {
  7978. "$ref": "#/definitions/app.Response"
  7979. }
  7980. }
  7981. }
  7982. }
  7983. },
  7984. "/Qhj/QueryParentAreaList": {
  7985. "get": {
  7986. "security": [
  7987. {
  7988. "ApiKeyAuth": []
  7989. }
  7990. ],
  7991. "produces": [
  7992. "application/json"
  7993. ],
  7994. "tags": [
  7995. "大连千海金"
  7996. ],
  7997. "summary": "查询所属机构列表",
  7998. "parameters": [
  7999. {
  8000. "type": "integer",
  8001. "description": "用户ID",
  8002. "name": "userid",
  8003. "in": "query",
  8004. "required": true
  8005. }
  8006. ],
  8007. "responses": {
  8008. "200": {
  8009. "description": "OK",
  8010. "schema": {
  8011. "type": "array",
  8012. "items": {
  8013. "$ref": "#/definitions/models.QhjParentAreaList"
  8014. }
  8015. }
  8016. },
  8017. "500": {
  8018. "description": "Internal Server Error",
  8019. "schema": {
  8020. "$ref": "#/definitions/app.Response"
  8021. }
  8022. }
  8023. }
  8024. }
  8025. },
  8026. "/Qhj/QueryPayOrder": {
  8027. "get": {
  8028. "security": [
  8029. {
  8030. "ApiKeyAuth": []
  8031. }
  8032. ],
  8033. "produces": [
  8034. "application/json"
  8035. ],
  8036. "tags": [
  8037. "大连千海金"
  8038. ],
  8039. "summary": "查询待付款单据",
  8040. "parameters": [
  8041. {
  8042. "type": "integer",
  8043. "description": "资金账号id",
  8044. "name": "accountid",
  8045. "in": "query",
  8046. "required": true
  8047. },
  8048. {
  8049. "type": "integer",
  8050. "description": "成交单号",
  8051. "name": "tradeid",
  8052. "in": "query"
  8053. },
  8054. {
  8055. "type": "string",
  8056. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8057. "name": "payflag",
  8058. "in": "query"
  8059. }
  8060. ],
  8061. "responses": {
  8062. "200": {
  8063. "description": "OK",
  8064. "schema": {
  8065. "type": "array",
  8066. "items": {
  8067. "$ref": "#/definitions/models.QhjPayOrder"
  8068. }
  8069. }
  8070. },
  8071. "500": {
  8072. "description": "Internal Server Error",
  8073. "schema": {
  8074. "$ref": "#/definitions/app.Response"
  8075. }
  8076. }
  8077. }
  8078. }
  8079. },
  8080. "/Qhj/QueryPickArea": {
  8081. "get": {
  8082. "security": [
  8083. {
  8084. "ApiKeyAuth": []
  8085. }
  8086. ],
  8087. "produces": [
  8088. "application/json"
  8089. ],
  8090. "tags": [
  8091. "大连千海金"
  8092. ],
  8093. "summary": "查询提货门店",
  8094. "parameters": [
  8095. {
  8096. "type": "integer",
  8097. "description": "用户ID",
  8098. "name": "userid",
  8099. "in": "query"
  8100. }
  8101. ],
  8102. "responses": {
  8103. "200": {
  8104. "description": "OK",
  8105. "schema": {
  8106. "type": "array",
  8107. "items": {
  8108. "$ref": "#/definitions/models.QhjPickArea"
  8109. }
  8110. }
  8111. },
  8112. "500": {
  8113. "description": "Internal Server Error",
  8114. "schema": {
  8115. "$ref": "#/definitions/app.Response"
  8116. }
  8117. }
  8118. }
  8119. }
  8120. },
  8121. "/Qhj/QueryPickGoods": {
  8122. "get": {
  8123. "security": [
  8124. {
  8125. "ApiKeyAuth": []
  8126. }
  8127. ],
  8128. "produces": [
  8129. "application/json"
  8130. ],
  8131. "tags": [
  8132. "大连千海金"
  8133. ],
  8134. "summary": "查询提货商品",
  8135. "parameters": [
  8136. {
  8137. "type": "integer",
  8138. "description": "交易商品id",
  8139. "name": "goodsid",
  8140. "in": "query",
  8141. "required": true
  8142. },
  8143. {
  8144. "type": "string",
  8145. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8146. "name": "status",
  8147. "in": "query"
  8148. }
  8149. ],
  8150. "responses": {
  8151. "200": {
  8152. "description": "OK",
  8153. "schema": {
  8154. "type": "array",
  8155. "items": {
  8156. "$ref": "#/definitions/models.QhjPickGoods"
  8157. }
  8158. }
  8159. },
  8160. "500": {
  8161. "description": "Internal Server Error",
  8162. "schema": {
  8163. "$ref": "#/definitions/app.Response"
  8164. }
  8165. }
  8166. }
  8167. }
  8168. },
  8169. "/Qhj/QueryRSTriggerLog": {
  8170. "get": {
  8171. "security": [
  8172. {
  8173. "ApiKeyAuth": []
  8174. }
  8175. ],
  8176. "produces": [
  8177. "application/json"
  8178. ],
  8179. "tags": [
  8180. "大连千海金"
  8181. ],
  8182. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8183. "parameters": [
  8184. {
  8185. "type": "integer",
  8186. "description": "用户ID",
  8187. "name": "userid",
  8188. "in": "query"
  8189. },
  8190. {
  8191. "type": "integer",
  8192. "description": "定投策略id",
  8193. "name": "regularlystrategyid",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "integer",
  8198. "description": "商品id",
  8199. "name": "goodsid",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "string",
  8204. "description": "开始交易日(yyyymmdd)",
  8205. "name": "begindate",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "string",
  8210. "description": "结束交易日(yyyymmdd)",
  8211. "name": "enddate",
  8212. "in": "query"
  8213. },
  8214. {
  8215. "type": "string",
  8216. "description": "名称(模糊搜索账户)",
  8217. "name": "filtername",
  8218. "in": "query"
  8219. }
  8220. ],
  8221. "responses": {
  8222. "200": {
  8223. "description": "OK",
  8224. "schema": {
  8225. "type": "array",
  8226. "items": {
  8227. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8228. }
  8229. }
  8230. },
  8231. "500": {
  8232. "description": "Internal Server Error",
  8233. "schema": {
  8234. "$ref": "#/definitions/app.Response"
  8235. }
  8236. }
  8237. }
  8238. }
  8239. },
  8240. "/Qhj/QueryRStrategy": {
  8241. "get": {
  8242. "security": [
  8243. {
  8244. "ApiKeyAuth": []
  8245. }
  8246. ],
  8247. "produces": [
  8248. "application/json"
  8249. ],
  8250. "tags": [
  8251. "大连千海金"
  8252. ],
  8253. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8254. "parameters": [
  8255. {
  8256. "type": "integer",
  8257. "description": "用户ID",
  8258. "name": "userid",
  8259. "in": "query"
  8260. },
  8261. {
  8262. "type": "integer",
  8263. "description": "商品id",
  8264. "name": "goodsid",
  8265. "in": "query"
  8266. },
  8267. {
  8268. "type": "string",
  8269. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8270. "name": "status",
  8271. "in": "query"
  8272. },
  8273. {
  8274. "type": "string",
  8275. "description": "名称(模糊搜索账户)",
  8276. "name": "filtername",
  8277. "in": "query"
  8278. }
  8279. ],
  8280. "responses": {
  8281. "200": {
  8282. "description": "OK",
  8283. "schema": {
  8284. "type": "array",
  8285. "items": {
  8286. "$ref": "#/definitions/models.QhjRStrategy"
  8287. }
  8288. }
  8289. },
  8290. "500": {
  8291. "description": "Internal Server Error",
  8292. "schema": {
  8293. "$ref": "#/definitions/app.Response"
  8294. }
  8295. }
  8296. }
  8297. }
  8298. },
  8299. "/Qhj/QueryReckonPriceLog": {
  8300. "get": {
  8301. "security": [
  8302. {
  8303. "ApiKeyAuth": []
  8304. }
  8305. ],
  8306. "produces": [
  8307. "application/json"
  8308. ],
  8309. "tags": [
  8310. "大连千海金"
  8311. ],
  8312. "summary": "查询定投价(结算价)",
  8313. "parameters": [
  8314. {
  8315. "type": "integer",
  8316. "description": "商品ID",
  8317. "name": "goodsid",
  8318. "in": "query"
  8319. },
  8320. {
  8321. "type": "string",
  8322. "description": "交易日 格式(yyyymmdd)",
  8323. "name": "tradedate",
  8324. "in": "query"
  8325. }
  8326. ],
  8327. "responses": {
  8328. "200": {
  8329. "description": "OK",
  8330. "schema": {
  8331. "type": "array",
  8332. "items": {
  8333. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8334. }
  8335. }
  8336. },
  8337. "500": {
  8338. "description": "Internal Server Error",
  8339. "schema": {
  8340. "$ref": "#/definitions/app.Response"
  8341. }
  8342. }
  8343. }
  8344. }
  8345. },
  8346. "/Qhj/QueryScoreLog": {
  8347. "get": {
  8348. "security": [
  8349. {
  8350. "ApiKeyAuth": []
  8351. }
  8352. ],
  8353. "produces": [
  8354. "application/json"
  8355. ],
  8356. "tags": [
  8357. "大连千海金"
  8358. ],
  8359. "summary": "查询积分流水(我的积分)",
  8360. "parameters": [
  8361. {
  8362. "type": "integer",
  8363. "description": "用户ID",
  8364. "name": "userid",
  8365. "in": "query",
  8366. "required": true
  8367. },
  8368. {
  8369. "type": "string",
  8370. "description": "开始交易日(yyyymmdd)",
  8371. "name": "begindate",
  8372. "in": "query"
  8373. },
  8374. {
  8375. "type": "string",
  8376. "description": "结束交易日(yyyymmdd)",
  8377. "name": "enddate",
  8378. "in": "query"
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "最近多少条",
  8383. "name": "lastnum",
  8384. "in": "query"
  8385. }
  8386. ],
  8387. "responses": {
  8388. "200": {
  8389. "description": "OK",
  8390. "schema": {
  8391. "type": "array",
  8392. "items": {
  8393. "$ref": "#/definitions/models.QhjScoreLog"
  8394. }
  8395. }
  8396. },
  8397. "500": {
  8398. "description": "Internal Server Error",
  8399. "schema": {
  8400. "$ref": "#/definitions/app.Response"
  8401. }
  8402. }
  8403. }
  8404. }
  8405. },
  8406. "/Qhj/QuerySiteColumnDetail": {
  8407. "get": {
  8408. "security": [
  8409. {
  8410. "ApiKeyAuth": []
  8411. }
  8412. ],
  8413. "produces": [
  8414. "application/json"
  8415. ],
  8416. "tags": [
  8417. "大连千海金"
  8418. ],
  8419. "summary": "查询资讯",
  8420. "parameters": [
  8421. {
  8422. "type": "integer",
  8423. "description": "用户ID",
  8424. "name": "userid",
  8425. "in": "query",
  8426. "required": true
  8427. }
  8428. ],
  8429. "responses": {
  8430. "200": {
  8431. "description": "OK",
  8432. "schema": {
  8433. "type": "array",
  8434. "items": {
  8435. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8436. }
  8437. }
  8438. },
  8439. "500": {
  8440. "description": "Internal Server Error",
  8441. "schema": {
  8442. "$ref": "#/definitions/app.Response"
  8443. }
  8444. }
  8445. }
  8446. }
  8447. },
  8448. "/Qhj/QueryTradeGoodsPickup": {
  8449. "get": {
  8450. "security": [
  8451. {
  8452. "ApiKeyAuth": []
  8453. }
  8454. ],
  8455. "produces": [
  8456. "application/json"
  8457. ],
  8458. "tags": [
  8459. "大连千海金"
  8460. ],
  8461. "summary": "查询提货",
  8462. "parameters": [
  8463. {
  8464. "type": "integer",
  8465. "description": "用户ID",
  8466. "name": "userid",
  8467. "in": "query",
  8468. "required": true
  8469. },
  8470. {
  8471. "type": "integer",
  8472. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8473. "name": "takeorderstatus",
  8474. "in": "query"
  8475. }
  8476. ],
  8477. "responses": {
  8478. "200": {
  8479. "description": "OK",
  8480. "schema": {
  8481. "type": "array",
  8482. "items": {
  8483. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8484. }
  8485. }
  8486. },
  8487. "500": {
  8488. "description": "Internal Server Error",
  8489. "schema": {
  8490. "$ref": "#/definitions/app.Response"
  8491. }
  8492. }
  8493. }
  8494. }
  8495. },
  8496. "/Qhj/QueryUserCollectConfig": {
  8497. "get": {
  8498. "security": [
  8499. {
  8500. "ApiKeyAuth": []
  8501. }
  8502. ],
  8503. "produces": [
  8504. "application/json"
  8505. ],
  8506. "tags": [
  8507. "大连千海金"
  8508. ],
  8509. "summary": "查询提现账户设置",
  8510. "parameters": [
  8511. {
  8512. "type": "integer",
  8513. "description": "用户ID",
  8514. "name": "userid",
  8515. "in": "query",
  8516. "required": true
  8517. }
  8518. ],
  8519. "responses": {
  8520. "200": {
  8521. "description": "OK",
  8522. "schema": {
  8523. "type": "array",
  8524. "items": {
  8525. "$ref": "#/definitions/models.UserCollectConfig"
  8526. }
  8527. }
  8528. },
  8529. "500": {
  8530. "description": "Internal Server Error",
  8531. "schema": {
  8532. "$ref": "#/definitions/app.Response"
  8533. }
  8534. }
  8535. }
  8536. }
  8537. },
  8538. "/Qhj/QueryUserReceiveInfo": {
  8539. "get": {
  8540. "security": [
  8541. {
  8542. "ApiKeyAuth": []
  8543. }
  8544. ],
  8545. "produces": [
  8546. "application/json"
  8547. ],
  8548. "tags": [
  8549. "大连千海金"
  8550. ],
  8551. "summary": "查询收货地址信息",
  8552. "parameters": [
  8553. {
  8554. "type": "integer",
  8555. "description": "用户ID",
  8556. "name": "userid",
  8557. "in": "query",
  8558. "required": true
  8559. }
  8560. ],
  8561. "responses": {
  8562. "200": {
  8563. "description": "OK",
  8564. "schema": {
  8565. "type": "array",
  8566. "items": {
  8567. "$ref": "#/definitions/models.UserReceiveInfo"
  8568. }
  8569. }
  8570. },
  8571. "500": {
  8572. "description": "Internal Server Error",
  8573. "schema": {
  8574. "$ref": "#/definitions/app.Response"
  8575. }
  8576. }
  8577. }
  8578. }
  8579. },
  8580. "/QhjMgr/QueryAccountInOutApply": {
  8581. "get": {
  8582. "security": [
  8583. {
  8584. "ApiKeyAuth": []
  8585. }
  8586. ],
  8587. "produces": [
  8588. "application/json"
  8589. ],
  8590. "tags": [
  8591. "大连千海金(PCWeb)"
  8592. ],
  8593. "summary": "查询充值提现",
  8594. "parameters": [
  8595. {
  8596. "type": "integer",
  8597. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8598. "name": "querytype",
  8599. "in": "query",
  8600. "required": true
  8601. },
  8602. {
  8603. "type": "integer",
  8604. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8605. "name": "applystatus",
  8606. "in": "query"
  8607. },
  8608. {
  8609. "type": "string",
  8610. "description": "申请起始日期(格式yyyymmdd)",
  8611. "name": "begindate",
  8612. "in": "query"
  8613. },
  8614. {
  8615. "type": "string",
  8616. "description": "申请截止日期(格式yyyymmdd)",
  8617. "name": "enddate",
  8618. "in": "query"
  8619. },
  8620. {
  8621. "type": "string",
  8622. "description": "模糊搜索名称",
  8623. "name": "likename",
  8624. "in": "query"
  8625. }
  8626. ],
  8627. "responses": {
  8628. "200": {
  8629. "description": "OK",
  8630. "schema": {
  8631. "type": "array",
  8632. "items": {
  8633. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8634. }
  8635. }
  8636. },
  8637. "500": {
  8638. "description": "Internal Server Error",
  8639. "schema": {
  8640. "$ref": "#/definitions/app.Response"
  8641. }
  8642. }
  8643. }
  8644. }
  8645. },
  8646. "/QhjMgr/QueryBrokerApply": {
  8647. "get": {
  8648. "security": [
  8649. {
  8650. "ApiKeyAuth": []
  8651. }
  8652. ],
  8653. "produces": [
  8654. "application/json"
  8655. ],
  8656. "tags": [
  8657. "大连千海金(PCWeb)"
  8658. ],
  8659. "summary": "查询经纪人申请",
  8660. "parameters": [
  8661. {
  8662. "type": "integer",
  8663. "description": "所属机构ID",
  8664. "name": "userid",
  8665. "in": "query"
  8666. },
  8667. {
  8668. "type": "string",
  8669. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8670. "name": "filterstatus",
  8671. "in": "query"
  8672. },
  8673. {
  8674. "type": "string",
  8675. "description": "名称(模糊匹配)",
  8676. "name": "filtername",
  8677. "in": "query"
  8678. },
  8679. {
  8680. "type": "integer",
  8681. "description": "是否包含子级 1-包含",
  8682. "name": "includesub",
  8683. "in": "query"
  8684. }
  8685. ],
  8686. "responses": {
  8687. "200": {
  8688. "description": "OK",
  8689. "schema": {
  8690. "type": "array",
  8691. "items": {
  8692. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8693. }
  8694. }
  8695. },
  8696. "500": {
  8697. "description": "Internal Server Error",
  8698. "schema": {
  8699. "$ref": "#/definitions/app.Response"
  8700. }
  8701. }
  8702. }
  8703. }
  8704. },
  8705. "/QhjMgr/QueryBrokerRewardReport": {
  8706. "get": {
  8707. "security": [
  8708. {
  8709. "ApiKeyAuth": []
  8710. }
  8711. ],
  8712. "produces": [
  8713. "application/json"
  8714. ],
  8715. "tags": [
  8716. "大连千海金(PCWeb)"
  8717. ],
  8718. "summary": "查询经纪人奖励报表(废弃)",
  8719. "parameters": [
  8720. {
  8721. "type": "integer",
  8722. "description": "所属机构ID",
  8723. "name": "userid",
  8724. "in": "query",
  8725. "required": true
  8726. },
  8727. {
  8728. "type": "integer",
  8729. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8730. "name": "cycletype",
  8731. "in": "query",
  8732. "required": true
  8733. },
  8734. {
  8735. "type": "string",
  8736. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8737. "name": "cycletime",
  8738. "in": "query",
  8739. "required": true
  8740. },
  8741. {
  8742. "type": "string",
  8743. "description": "名称(模糊匹配)",
  8744. "name": "filtername",
  8745. "in": "query"
  8746. },
  8747. {
  8748. "type": "integer",
  8749. "description": "是否包含子级 1-包含",
  8750. "name": "includesub",
  8751. "in": "query"
  8752. }
  8753. ],
  8754. "responses": {
  8755. "200": {
  8756. "description": "OK",
  8757. "schema": {
  8758. "type": "array",
  8759. "items": {
  8760. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8761. }
  8762. }
  8763. },
  8764. "500": {
  8765. "description": "Internal Server Error",
  8766. "schema": {
  8767. "$ref": "#/definitions/app.Response"
  8768. }
  8769. }
  8770. }
  8771. }
  8772. },
  8773. "/QhjMgr/QueryContract": {
  8774. "get": {
  8775. "security": [
  8776. {
  8777. "ApiKeyAuth": []
  8778. }
  8779. ],
  8780. "produces": [
  8781. "application/json"
  8782. ],
  8783. "tags": [
  8784. "大连千海金(PCWeb)"
  8785. ],
  8786. "summary": "查询融资信息(合同)",
  8787. "parameters": [
  8788. {
  8789. "type": "integer",
  8790. "description": "用户ID",
  8791. "name": "userid",
  8792. "in": "query"
  8793. },
  8794. {
  8795. "type": "integer",
  8796. "description": "商品id",
  8797. "name": "goodsid",
  8798. "in": "query"
  8799. },
  8800. {
  8801. "type": "string",
  8802. "description": "名称(模糊搜索账户)",
  8803. "name": "filtername",
  8804. "in": "query"
  8805. },
  8806. {
  8807. "type": "string",
  8808. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8809. "name": "risklevel",
  8810. "in": "query"
  8811. },
  8812. {
  8813. "type": "string",
  8814. "description": "开始交易日(yyyymmdd)",
  8815. "name": "begindate",
  8816. "in": "query"
  8817. },
  8818. {
  8819. "type": "string",
  8820. "description": "结束交易日(yyyymmdd)",
  8821. "name": "enddate",
  8822. "in": "query"
  8823. }
  8824. ],
  8825. "responses": {
  8826. "200": {
  8827. "description": "OK",
  8828. "schema": {
  8829. "type": "array",
  8830. "items": {
  8831. "$ref": "#/definitions/models.QhjMgrContract"
  8832. }
  8833. }
  8834. },
  8835. "500": {
  8836. "description": "Internal Server Error",
  8837. "schema": {
  8838. "$ref": "#/definitions/app.Response"
  8839. }
  8840. }
  8841. }
  8842. }
  8843. },
  8844. "/QhjMgr/QueryCustomerInfo": {
  8845. "get": {
  8846. "security": [
  8847. {
  8848. "ApiKeyAuth": []
  8849. }
  8850. ],
  8851. "produces": [
  8852. "application/json"
  8853. ],
  8854. "tags": [
  8855. "大连千海金(PCWeb)"
  8856. ],
  8857. "summary": "查询客户资料",
  8858. "parameters": [
  8859. {
  8860. "type": "integer",
  8861. "description": "用户ID",
  8862. "name": "userid",
  8863. "in": "query",
  8864. "required": true
  8865. },
  8866. {
  8867. "type": "integer",
  8868. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8869. "name": "querytype",
  8870. "in": "query",
  8871. "required": true
  8872. },
  8873. {
  8874. "type": "integer",
  8875. "description": "客户类型 1-个人 2-企业",
  8876. "name": "userinfotype",
  8877. "in": "query"
  8878. },
  8879. {
  8880. "type": "string",
  8881. "description": "客户名称(模糊匹配)",
  8882. "name": "customername",
  8883. "in": "query"
  8884. },
  8885. {
  8886. "type": "string",
  8887. "description": "昵称(模糊匹配)",
  8888. "name": "nickname",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "string",
  8893. "description": "所属客户经理(模糊匹配)",
  8894. "name": "brokername",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "string",
  8899. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  8900. "name": "birthday",
  8901. "in": "query"
  8902. },
  8903. {
  8904. "type": "integer",
  8905. "description": "是否包含子级 1-包含",
  8906. "name": "includesub",
  8907. "in": "query"
  8908. }
  8909. ],
  8910. "responses": {
  8911. "200": {
  8912. "description": "OK",
  8913. "schema": {
  8914. "type": "array",
  8915. "items": {
  8916. "$ref": "#/definitions/models.QhjMgrCustomer"
  8917. }
  8918. }
  8919. },
  8920. "500": {
  8921. "description": "Internal Server Error",
  8922. "schema": {
  8923. "$ref": "#/definitions/app.Response"
  8924. }
  8925. }
  8926. }
  8927. }
  8928. },
  8929. "/QhjMgr/QueryPickGoods": {
  8930. "get": {
  8931. "security": [
  8932. {
  8933. "ApiKeyAuth": []
  8934. }
  8935. ],
  8936. "produces": [
  8937. "application/json"
  8938. ],
  8939. "tags": [
  8940. "大连千海金(PCWeb)"
  8941. ],
  8942. "summary": "查询提货商品",
  8943. "parameters": [
  8944. {
  8945. "type": "string",
  8946. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8947. "name": "status",
  8948. "in": "query"
  8949. }
  8950. ],
  8951. "responses": {
  8952. "200": {
  8953. "description": "OK",
  8954. "schema": {
  8955. "type": "array",
  8956. "items": {
  8957. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8958. }
  8959. }
  8960. },
  8961. "500": {
  8962. "description": "Internal Server Error",
  8963. "schema": {
  8964. "$ref": "#/definitions/app.Response"
  8965. }
  8966. }
  8967. }
  8968. }
  8969. },
  8970. "/QhjMgr/QuerySubArea": {
  8971. "get": {
  8972. "security": [
  8973. {
  8974. "ApiKeyAuth": []
  8975. }
  8976. ],
  8977. "produces": [
  8978. "application/json"
  8979. ],
  8980. "tags": [
  8981. "大连千海金(PCWeb)"
  8982. ],
  8983. "summary": "查询子机构列表",
  8984. "parameters": [
  8985. {
  8986. "type": "integer",
  8987. "description": "用户ID",
  8988. "name": "userid",
  8989. "in": "query",
  8990. "required": true
  8991. }
  8992. ],
  8993. "responses": {
  8994. "200": {
  8995. "description": "OK",
  8996. "schema": {
  8997. "type": "array",
  8998. "items": {
  8999. "$ref": "#/definitions/models.QhjMgrSubArea"
  9000. }
  9001. }
  9002. },
  9003. "500": {
  9004. "description": "Internal Server Error",
  9005. "schema": {
  9006. "$ref": "#/definitions/app.Response"
  9007. }
  9008. }
  9009. }
  9010. }
  9011. },
  9012. "/QhjMgr/QueryTradeDetail": {
  9013. "get": {
  9014. "security": [
  9015. {
  9016. "ApiKeyAuth": []
  9017. }
  9018. ],
  9019. "produces": [
  9020. "application/json"
  9021. ],
  9022. "tags": [
  9023. "大连千海金(PCWeb)"
  9024. ],
  9025. "summary": "查询成交明细",
  9026. "parameters": [
  9027. {
  9028. "type": "integer",
  9029. "description": "用户ID",
  9030. "name": "userid",
  9031. "in": "query",
  9032. "required": true
  9033. },
  9034. {
  9035. "type": "integer",
  9036. "description": "用户类型 1-个人 2-企业",
  9037. "name": "userinfotype",
  9038. "in": "query"
  9039. },
  9040. {
  9041. "type": "integer",
  9042. "description": "交易模式",
  9043. "name": "trademode",
  9044. "in": "query"
  9045. },
  9046. {
  9047. "type": "integer",
  9048. "description": "商品id",
  9049. "name": "goodsid",
  9050. "in": "query"
  9051. },
  9052. {
  9053. "type": "string",
  9054. "description": "名称(模糊搜索账户)",
  9055. "name": "filtername",
  9056. "in": "query"
  9057. },
  9058. {
  9059. "type": "string",
  9060. "description": "开始交易日(yyyymmdd)",
  9061. "name": "begindate",
  9062. "in": "query"
  9063. },
  9064. {
  9065. "type": "string",
  9066. "description": "结束交易日(yyyymmdd)",
  9067. "name": "enddate",
  9068. "in": "query"
  9069. },
  9070. {
  9071. "type": "integer",
  9072. "description": "是否包含子级 1-包含",
  9073. "name": "includesub",
  9074. "in": "query"
  9075. }
  9076. ],
  9077. "responses": {
  9078. "200": {
  9079. "description": "OK",
  9080. "schema": {
  9081. "type": "array",
  9082. "items": {
  9083. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9084. }
  9085. }
  9086. },
  9087. "500": {
  9088. "description": "Internal Server Error",
  9089. "schema": {
  9090. "$ref": "#/definitions/app.Response"
  9091. }
  9092. }
  9093. }
  9094. }
  9095. },
  9096. "/QhjMgr/QueryTradeOrderDetail": {
  9097. "get": {
  9098. "security": [
  9099. {
  9100. "ApiKeyAuth": []
  9101. }
  9102. ],
  9103. "produces": [
  9104. "application/json"
  9105. ],
  9106. "tags": [
  9107. "大连千海金(PCWeb)"
  9108. ],
  9109. "summary": "查询委托明细",
  9110. "parameters": [
  9111. {
  9112. "type": "integer",
  9113. "description": "用户ID",
  9114. "name": "userid",
  9115. "in": "query",
  9116. "required": true
  9117. },
  9118. {
  9119. "type": "integer",
  9120. "description": "用户类型 1-个人 2-企业",
  9121. "name": "userinfotype",
  9122. "in": "query"
  9123. },
  9124. {
  9125. "type": "integer",
  9126. "description": "交易模式",
  9127. "name": "trademode",
  9128. "in": "query"
  9129. },
  9130. {
  9131. "type": "integer",
  9132. "description": "商品id",
  9133. "name": "goodsid",
  9134. "in": "query"
  9135. },
  9136. {
  9137. "type": "string",
  9138. "description": "名称(模糊搜索账户)",
  9139. "name": "filtername",
  9140. "in": "query"
  9141. },
  9142. {
  9143. "type": "string",
  9144. "description": "开始交易日(yyyymmdd)",
  9145. "name": "begindate",
  9146. "in": "query"
  9147. },
  9148. {
  9149. "type": "string",
  9150. "description": "结束交易日(yyyymmdd)",
  9151. "name": "enddate",
  9152. "in": "query"
  9153. },
  9154. {
  9155. "type": "integer",
  9156. "description": "是否包含子级 1-包含",
  9157. "name": "includesub",
  9158. "in": "query"
  9159. }
  9160. ],
  9161. "responses": {
  9162. "200": {
  9163. "description": "OK",
  9164. "schema": {
  9165. "type": "array",
  9166. "items": {
  9167. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9168. }
  9169. }
  9170. },
  9171. "500": {
  9172. "description": "Internal Server Error",
  9173. "schema": {
  9174. "$ref": "#/definitions/app.Response"
  9175. }
  9176. }
  9177. }
  9178. }
  9179. },
  9180. "/QhjMgr/QueryTradePayOrder": {
  9181. "get": {
  9182. "security": [
  9183. {
  9184. "ApiKeyAuth": []
  9185. }
  9186. ],
  9187. "produces": [
  9188. "application/json"
  9189. ],
  9190. "tags": [
  9191. "大连千海金(PCWeb)"
  9192. ],
  9193. "summary": "查询待付款单",
  9194. "parameters": [
  9195. {
  9196. "type": "integer",
  9197. "description": "用户ID",
  9198. "name": "userid",
  9199. "in": "query",
  9200. "required": true
  9201. },
  9202. {
  9203. "type": "string",
  9204. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9205. "name": "payflag",
  9206. "in": "query"
  9207. },
  9208. {
  9209. "type": "integer",
  9210. "description": "用户类型 1-个人 2-企业",
  9211. "name": "userinfotype",
  9212. "in": "query"
  9213. },
  9214. {
  9215. "type": "integer",
  9216. "description": "交易模式",
  9217. "name": "trademode",
  9218. "in": "query"
  9219. },
  9220. {
  9221. "type": "integer",
  9222. "description": "商品id",
  9223. "name": "goodsid",
  9224. "in": "query"
  9225. },
  9226. {
  9227. "type": "string",
  9228. "description": "名称(模糊搜索账户)",
  9229. "name": "filtername",
  9230. "in": "query"
  9231. },
  9232. {
  9233. "type": "string",
  9234. "description": "开始交易日(yyyymmdd)",
  9235. "name": "begindate",
  9236. "in": "query"
  9237. },
  9238. {
  9239. "type": "string",
  9240. "description": "结束交易日(yyyymmdd)",
  9241. "name": "enddate",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "是否包含子级 1-包含",
  9247. "name": "includesub",
  9248. "in": "query"
  9249. }
  9250. ],
  9251. "responses": {
  9252. "200": {
  9253. "description": "OK",
  9254. "schema": {
  9255. "type": "array",
  9256. "items": {
  9257. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9258. }
  9259. }
  9260. },
  9261. "500": {
  9262. "description": "Internal Server Error",
  9263. "schema": {
  9264. "$ref": "#/definitions/app.Response"
  9265. }
  9266. }
  9267. }
  9268. }
  9269. },
  9270. "/QhjMgr/QueryTradePosition": {
  9271. "get": {
  9272. "security": [
  9273. {
  9274. "ApiKeyAuth": []
  9275. }
  9276. ],
  9277. "produces": [
  9278. "application/json"
  9279. ],
  9280. "tags": [
  9281. "大连千海金(PCWeb)"
  9282. ],
  9283. "summary": "查询持仓汇总",
  9284. "parameters": [
  9285. {
  9286. "type": "integer",
  9287. "description": "用户ID",
  9288. "name": "userid",
  9289. "in": "query",
  9290. "required": true
  9291. },
  9292. {
  9293. "type": "integer",
  9294. "description": "用户类型 1-个人 2-企业",
  9295. "name": "userinfotype",
  9296. "in": "query"
  9297. },
  9298. {
  9299. "type": "integer",
  9300. "description": "交易模式",
  9301. "name": "trademode",
  9302. "in": "query"
  9303. },
  9304. {
  9305. "type": "integer",
  9306. "description": "商品id",
  9307. "name": "goodsid",
  9308. "in": "query"
  9309. },
  9310. {
  9311. "type": "string",
  9312. "description": "名称(模糊搜索账户)",
  9313. "name": "filtername",
  9314. "in": "query"
  9315. },
  9316. {
  9317. "type": "integer",
  9318. "description": "是否包含子级 1-包含",
  9319. "name": "includesub",
  9320. "in": "query"
  9321. }
  9322. ],
  9323. "responses": {
  9324. "200": {
  9325. "description": "OK",
  9326. "schema": {
  9327. "type": "array",
  9328. "items": {
  9329. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9330. }
  9331. }
  9332. },
  9333. "500": {
  9334. "description": "Internal Server Error",
  9335. "schema": {
  9336. "$ref": "#/definitions/app.Response"
  9337. }
  9338. }
  9339. }
  9340. }
  9341. },
  9342. "/QhjSys/QueryAgreementChangeLog": {
  9343. "get": {
  9344. "security": [
  9345. {
  9346. "ApiKeyAuth": []
  9347. }
  9348. ],
  9349. "produces": [
  9350. "application/json"
  9351. ],
  9352. "tags": [
  9353. "大连千海金(协议和签约信息)"
  9354. ],
  9355. "summary": "查询协议配置变更流水",
  9356. "parameters": [
  9357. {
  9358. "type": "integer",
  9359. "description": "协议ID",
  9360. "name": "agreementid",
  9361. "in": "query"
  9362. },
  9363. {
  9364. "type": "integer",
  9365. "description": "协议版本号",
  9366. "name": "agreementversion",
  9367. "in": "query"
  9368. },
  9369. {
  9370. "type": "integer",
  9371. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9372. "name": "agreementtype",
  9373. "in": "query"
  9374. },
  9375. {
  9376. "type": "string",
  9377. "description": "协议编号(模糊匹配)",
  9378. "name": "agreementno",
  9379. "in": "query"
  9380. },
  9381. {
  9382. "type": "string",
  9383. "description": "协议名称(模糊匹配)",
  9384. "name": "agreementname",
  9385. "in": "query"
  9386. }
  9387. ],
  9388. "responses": {
  9389. "200": {
  9390. "description": "OK",
  9391. "schema": {
  9392. "type": "array",
  9393. "items": {
  9394. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9395. }
  9396. }
  9397. },
  9398. "500": {
  9399. "description": "Internal Server Error",
  9400. "schema": {
  9401. "$ref": "#/definitions/app.Response"
  9402. }
  9403. }
  9404. }
  9405. }
  9406. },
  9407. "/QhjSys/QueryAgreementConfig": {
  9408. "get": {
  9409. "security": [
  9410. {
  9411. "ApiKeyAuth": []
  9412. }
  9413. ],
  9414. "produces": [
  9415. "application/json"
  9416. ],
  9417. "tags": [
  9418. "大连千海金(协议和签约信息)"
  9419. ],
  9420. "summary": "查询协议配置",
  9421. "parameters": [
  9422. {
  9423. "type": "integer",
  9424. "description": "协议ID",
  9425. "name": "agreementid",
  9426. "in": "query"
  9427. },
  9428. {
  9429. "type": "integer",
  9430. "description": "协议版本号",
  9431. "name": "agreementversion",
  9432. "in": "query"
  9433. },
  9434. {
  9435. "type": "integer",
  9436. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9437. "name": "agreementtype",
  9438. "in": "query"
  9439. },
  9440. {
  9441. "type": "integer",
  9442. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9443. "name": "isvalid",
  9444. "in": "query"
  9445. },
  9446. {
  9447. "type": "string",
  9448. "description": "协议编号(模糊匹配)",
  9449. "name": "agreementno",
  9450. "in": "query"
  9451. },
  9452. {
  9453. "type": "string",
  9454. "description": "协议名称(模糊匹配)",
  9455. "name": "agreementname",
  9456. "in": "query"
  9457. }
  9458. ],
  9459. "responses": {
  9460. "200": {
  9461. "description": "OK",
  9462. "schema": {
  9463. "type": "array",
  9464. "items": {
  9465. "$ref": "#/definitions/models.QhjAgreementConfig"
  9466. }
  9467. }
  9468. },
  9469. "500": {
  9470. "description": "Internal Server Error",
  9471. "schema": {
  9472. "$ref": "#/definitions/app.Response"
  9473. }
  9474. }
  9475. }
  9476. }
  9477. },
  9478. "/QhjSys/QueryCustomerSignStatus": {
  9479. "get": {
  9480. "security": [
  9481. {
  9482. "ApiKeyAuth": []
  9483. }
  9484. ],
  9485. "produces": [
  9486. "application/json"
  9487. ],
  9488. "tags": [
  9489. "大连千海金(协议和签约信息)"
  9490. ],
  9491. "summary": "查询客户协议签约状态",
  9492. "parameters": [
  9493. {
  9494. "type": "integer",
  9495. "description": "客户ID",
  9496. "name": "userid",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "integer",
  9501. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9502. "name": "nodetype",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "integer",
  9507. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9508. "name": "goodsid",
  9509. "in": "query"
  9510. },
  9511. {
  9512. "type": "string",
  9513. "description": "创建交易日(yyyyMMdd)",
  9514. "name": "tradedate",
  9515. "in": "query"
  9516. },
  9517. {
  9518. "type": "string",
  9519. "description": "用户名称(模糊匹配)",
  9520. "name": "username",
  9521. "in": "query"
  9522. }
  9523. ],
  9524. "responses": {
  9525. "200": {
  9526. "description": "OK",
  9527. "schema": {
  9528. "type": "array",
  9529. "items": {
  9530. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9531. }
  9532. }
  9533. },
  9534. "500": {
  9535. "description": "Internal Server Error",
  9536. "schema": {
  9537. "$ref": "#/definitions/app.Response"
  9538. }
  9539. }
  9540. }
  9541. }
  9542. },
  9543. "/QhjSys/QueryNodeAgreementConfig": {
  9544. "get": {
  9545. "security": [
  9546. {
  9547. "ApiKeyAuth": []
  9548. }
  9549. ],
  9550. "produces": [
  9551. "application/json"
  9552. ],
  9553. "tags": [
  9554. "大连千海金(协议和签约信息)"
  9555. ],
  9556. "summary": "查询协议节点配置",
  9557. "parameters": [
  9558. {
  9559. "type": "integer",
  9560. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9561. "name": "configid",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9567. "name": "nodetype",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9573. "name": "goodsid",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "integer",
  9578. "description": "协议ID",
  9579. "name": "agreementid",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "integer",
  9584. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9585. "name": "agreementtype",
  9586. "in": "query"
  9587. },
  9588. {
  9589. "type": "integer",
  9590. "description": "协议版本号",
  9591. "name": "agreementversion",
  9592. "in": "query"
  9593. },
  9594. {
  9595. "type": "string",
  9596. "description": "协议编号(模糊匹配)",
  9597. "name": "agreementno",
  9598. "in": "query"
  9599. },
  9600. {
  9601. "type": "string",
  9602. "description": "协议名称(模糊匹配)",
  9603. "name": "agreementname",
  9604. "in": "query"
  9605. }
  9606. ],
  9607. "responses": {
  9608. "200": {
  9609. "description": "OK",
  9610. "schema": {
  9611. "type": "array",
  9612. "items": {
  9613. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9614. }
  9615. }
  9616. },
  9617. "500": {
  9618. "description": "Internal Server Error",
  9619. "schema": {
  9620. "$ref": "#/definitions/app.Response"
  9621. }
  9622. }
  9623. }
  9624. }
  9625. },
  9626. "/QhjSys/QueryQhjCustomerSignLog": {
  9627. "get": {
  9628. "security": [
  9629. {
  9630. "ApiKeyAuth": []
  9631. }
  9632. ],
  9633. "produces": [
  9634. "application/json"
  9635. ],
  9636. "tags": [
  9637. "大连千海金(协议和签约信息)"
  9638. ],
  9639. "summary": "查询客户协议签约流水",
  9640. "parameters": [
  9641. {
  9642. "type": "integer",
  9643. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9644. "name": "logid",
  9645. "in": "query"
  9646. },
  9647. {
  9648. "type": "integer",
  9649. "description": "客户ID",
  9650. "name": "userid",
  9651. "in": "query"
  9652. },
  9653. {
  9654. "type": "integer",
  9655. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9656. "name": "nodetype",
  9657. "in": "query"
  9658. },
  9659. {
  9660. "type": "integer",
  9661. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9662. "name": "goodsid",
  9663. "in": "query"
  9664. },
  9665. {
  9666. "type": "integer",
  9667. "description": "协议ID",
  9668. "name": "agreementid",
  9669. "in": "query"
  9670. },
  9671. {
  9672. "type": "string",
  9673. "description": "用户名称(模糊匹配)",
  9674. "name": "username",
  9675. "in": "query"
  9676. },
  9677. {
  9678. "type": "string",
  9679. "description": "协议编号(模糊匹配)",
  9680. "name": "agreementno",
  9681. "in": "query"
  9682. },
  9683. {
  9684. "type": "string",
  9685. "description": "协议名称(模糊匹配)",
  9686. "name": "agreementname",
  9687. "in": "query"
  9688. }
  9689. ],
  9690. "responses": {
  9691. "200": {
  9692. "description": "OK",
  9693. "schema": {
  9694. "type": "array",
  9695. "items": {
  9696. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9697. }
  9698. }
  9699. },
  9700. "500": {
  9701. "description": "Internal Server Error",
  9702. "schema": {
  9703. "$ref": "#/definitions/app.Response"
  9704. }
  9705. }
  9706. }
  9707. }
  9708. },
  9709. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9710. "get": {
  9711. "security": [
  9712. {
  9713. "ApiKeyAuth": []
  9714. }
  9715. ],
  9716. "produces": [
  9717. "application/json"
  9718. ],
  9719. "tags": [
  9720. "大连千海金(协议和签约信息)"
  9721. ],
  9722. "summary": "查询用户协议节点配置和状态",
  9723. "parameters": [
  9724. {
  9725. "type": "integer",
  9726. "description": "客户ID",
  9727. "name": "userid",
  9728. "in": "query"
  9729. },
  9730. {
  9731. "type": "integer",
  9732. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9733. "name": "configid",
  9734. "in": "query"
  9735. },
  9736. {
  9737. "type": "string",
  9738. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9739. "name": "nodetype",
  9740. "in": "query"
  9741. },
  9742. {
  9743. "type": "integer",
  9744. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9745. "name": "goodsid",
  9746. "in": "query"
  9747. },
  9748. {
  9749. "type": "integer",
  9750. "description": "协议ID",
  9751. "name": "agreementid",
  9752. "in": "query"
  9753. },
  9754. {
  9755. "type": "integer",
  9756. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9757. "name": "agreementtype",
  9758. "in": "query"
  9759. },
  9760. {
  9761. "type": "integer",
  9762. "description": "协议版本号",
  9763. "name": "agreementversion",
  9764. "in": "query"
  9765. },
  9766. {
  9767. "type": "string",
  9768. "description": "协议编号(模糊匹配)",
  9769. "name": "agreementno",
  9770. "in": "query"
  9771. },
  9772. {
  9773. "type": "string",
  9774. "description": "协议名称(模糊匹配)",
  9775. "name": "agreementname",
  9776. "in": "query"
  9777. }
  9778. ],
  9779. "responses": {
  9780. "200": {
  9781. "description": "OK",
  9782. "schema": {
  9783. "type": "array",
  9784. "items": {
  9785. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9786. }
  9787. }
  9788. },
  9789. "500": {
  9790. "description": "Internal Server Error",
  9791. "schema": {
  9792. "$ref": "#/definitions/app.Response"
  9793. }
  9794. }
  9795. }
  9796. }
  9797. },
  9798. "/Quote/QueryHistoryDatas": {
  9799. "get": {
  9800. "security": [
  9801. {
  9802. "ApiKeyAuth": []
  9803. }
  9804. ],
  9805. "produces": [
  9806. "application/json"
  9807. ],
  9808. "tags": [
  9809. "行情服务"
  9810. ],
  9811. "summary": "查询行情历史数据",
  9812. "parameters": [
  9813. {
  9814. "type": "integer",
  9815. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9816. "name": "cycleType",
  9817. "in": "query",
  9818. "required": true
  9819. },
  9820. {
  9821. "type": "string",
  9822. "description": "商品代码",
  9823. "name": "goodsCode",
  9824. "in": "query",
  9825. "required": true
  9826. },
  9827. {
  9828. "type": "string",
  9829. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9830. "name": "startTime",
  9831. "in": "query"
  9832. },
  9833. {
  9834. "type": "string",
  9835. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9836. "name": "endTime",
  9837. "in": "query"
  9838. },
  9839. {
  9840. "type": "integer",
  9841. "description": "条数",
  9842. "name": "count",
  9843. "in": "query"
  9844. },
  9845. {
  9846. "type": "boolean",
  9847. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9848. "name": "isAsc",
  9849. "in": "query"
  9850. }
  9851. ],
  9852. "responses": {
  9853. "200": {
  9854. "description": "OK",
  9855. "schema": {
  9856. "$ref": "#/definitions/quote.HistoryData"
  9857. }
  9858. },
  9859. "500": {
  9860. "description": "Internal Server Error",
  9861. "schema": {
  9862. "$ref": "#/definitions/app.Response"
  9863. }
  9864. }
  9865. }
  9866. }
  9867. },
  9868. "/Quote/QueryHistoryTikDatas": {
  9869. "get": {
  9870. "security": [
  9871. {
  9872. "ApiKeyAuth": []
  9873. }
  9874. ],
  9875. "produces": [
  9876. "application/json"
  9877. ],
  9878. "tags": [
  9879. "行情服务"
  9880. ],
  9881. "summary": "查询行情Tik数据",
  9882. "parameters": [
  9883. {
  9884. "type": "string",
  9885. "description": "商品代码",
  9886. "name": "goodsCode",
  9887. "in": "query",
  9888. "required": true
  9889. },
  9890. {
  9891. "type": "string",
  9892. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9893. "name": "startTime",
  9894. "in": "query"
  9895. },
  9896. {
  9897. "type": "string",
  9898. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9899. "name": "endTime",
  9900. "in": "query"
  9901. },
  9902. {
  9903. "type": "integer",
  9904. "description": "条数",
  9905. "name": "count",
  9906. "in": "query"
  9907. },
  9908. {
  9909. "type": "boolean",
  9910. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9911. "name": "isAsc",
  9912. "in": "query"
  9913. }
  9914. ],
  9915. "responses": {
  9916. "200": {
  9917. "description": "OK",
  9918. "schema": {
  9919. "$ref": "#/definitions/quote.HistoryTikData"
  9920. }
  9921. },
  9922. "500": {
  9923. "description": "Internal Server Error",
  9924. "schema": {
  9925. "$ref": "#/definitions/app.Response"
  9926. }
  9927. }
  9928. }
  9929. }
  9930. },
  9931. "/Quote/QueryQuoteDay": {
  9932. "get": {
  9933. "security": [
  9934. {
  9935. "ApiKeyAuth": []
  9936. }
  9937. ],
  9938. "produces": [
  9939. "application/json"
  9940. ],
  9941. "tags": [
  9942. "行情服务"
  9943. ],
  9944. "summary": "获取商品盘面信息",
  9945. "parameters": [
  9946. {
  9947. "type": "string",
  9948. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9949. "name": "goodsCodes",
  9950. "in": "query",
  9951. "required": true
  9952. }
  9953. ],
  9954. "responses": {
  9955. "200": {
  9956. "description": "OK",
  9957. "schema": {
  9958. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9959. }
  9960. },
  9961. "500": {
  9962. "description": "Internal Server Error",
  9963. "schema": {
  9964. "$ref": "#/definitions/app.Response"
  9965. }
  9966. }
  9967. }
  9968. }
  9969. },
  9970. "/Quote/QueryTSData": {
  9971. "get": {
  9972. "security": [
  9973. {
  9974. "ApiKeyAuth": []
  9975. }
  9976. ],
  9977. "produces": [
  9978. "application/json"
  9979. ],
  9980. "tags": [
  9981. "行情服务"
  9982. ],
  9983. "summary": "分时图数据查询",
  9984. "parameters": [
  9985. {
  9986. "type": "string",
  9987. "description": "商品代码",
  9988. "name": "goodsCode",
  9989. "in": "query",
  9990. "required": true
  9991. }
  9992. ],
  9993. "responses": {
  9994. "200": {
  9995. "description": "OK",
  9996. "schema": {
  9997. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9998. }
  9999. },
  10000. "500": {
  10001. "description": "Internal Server Error",
  10002. "schema": {
  10003. "$ref": "#/definitions/app.Response"
  10004. }
  10005. }
  10006. }
  10007. }
  10008. },
  10009. "/SZDZ/QueryConvertConfig": {
  10010. "get": {
  10011. "security": [
  10012. {
  10013. "ApiKeyAuth": []
  10014. }
  10015. ],
  10016. "produces": [
  10017. "application/json"
  10018. ],
  10019. "tags": [
  10020. "定制【尚志大宗】"
  10021. ],
  10022. "summary": "查询交易系统转换设置",
  10023. "parameters": [
  10024. {
  10025. "type": "integer",
  10026. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10027. "name": "convertType",
  10028. "in": "query"
  10029. },
  10030. {
  10031. "type": "string",
  10032. "description": "外部商品代码[JD\\PD]",
  10033. "name": "outerGoodsCode",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "string",
  10038. "description": "内部商品ID列表[交易],格式:1,2,3",
  10039. "name": "innerGoodsIDs",
  10040. "in": "query"
  10041. }
  10042. ],
  10043. "responses": {
  10044. "200": {
  10045. "description": "OK",
  10046. "schema": {
  10047. "$ref": "#/definitions/models.Szdz3convertconfig"
  10048. }
  10049. },
  10050. "500": {
  10051. "description": "Internal Server Error",
  10052. "schema": {
  10053. "$ref": "#/definitions/app.Response"
  10054. }
  10055. }
  10056. }
  10057. }
  10058. },
  10059. "/SZDZ/QueryConvertLog": {
  10060. "get": {
  10061. "security": [
  10062. {
  10063. "ApiKeyAuth": []
  10064. }
  10065. ],
  10066. "produces": [
  10067. "application/json"
  10068. ],
  10069. "tags": [
  10070. "定制【尚志大宗】"
  10071. ],
  10072. "summary": "交易系统转换流水查询",
  10073. "parameters": [
  10074. {
  10075. "type": "string",
  10076. "description": "资金账户 - 格式:1,2,3",
  10077. "name": "accountID",
  10078. "in": "query",
  10079. "required": true
  10080. },
  10081. {
  10082. "type": "string",
  10083. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10084. "name": "startDate",
  10085. "in": "query"
  10086. },
  10087. {
  10088. "type": "string",
  10089. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10090. "name": "endDate",
  10091. "in": "query"
  10092. }
  10093. ],
  10094. "responses": {
  10095. "200": {
  10096. "description": "OK",
  10097. "schema": {
  10098. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10099. }
  10100. },
  10101. "500": {
  10102. "description": "Internal Server Error",
  10103. "schema": {
  10104. "$ref": "#/definitions/app.Response"
  10105. }
  10106. }
  10107. }
  10108. }
  10109. },
  10110. "/SZDZ/QueryGoodsPickup": {
  10111. "get": {
  10112. "security": [
  10113. {
  10114. "ApiKeyAuth": []
  10115. }
  10116. ],
  10117. "produces": [
  10118. "application/json"
  10119. ],
  10120. "tags": [
  10121. "定制【尚志大宗】"
  10122. ],
  10123. "summary": "商品提货单查询",
  10124. "parameters": [
  10125. {
  10126. "type": "string",
  10127. "description": "资金账户 - 格式:1,2,3",
  10128. "name": "accountID",
  10129. "in": "query",
  10130. "required": true
  10131. },
  10132. {
  10133. "type": "integer",
  10134. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10135. "name": "takeOrderStatus",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10144. }
  10145. },
  10146. "500": {
  10147. "description": "Internal Server Error",
  10148. "schema": {
  10149. "$ref": "#/definitions/app.Response"
  10150. }
  10151. }
  10152. }
  10153. }
  10154. },
  10155. "/SZDZ/QueryRecieptOrder": {
  10156. "get": {
  10157. "security": [
  10158. {
  10159. "ApiKeyAuth": []
  10160. }
  10161. ],
  10162. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10163. "produces": [
  10164. "application/json"
  10165. ],
  10166. "tags": [
  10167. "定制【尚志大宗】"
  10168. ],
  10169. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10170. "parameters": [
  10171. {
  10172. "type": "integer",
  10173. "description": "页码",
  10174. "name": "page",
  10175. "in": "query"
  10176. },
  10177. {
  10178. "type": "integer",
  10179. "description": "每页条数",
  10180. "name": "pagesize",
  10181. "in": "query"
  10182. },
  10183. {
  10184. "type": "integer",
  10185. "description": "商品ID",
  10186. "name": "goodsID",
  10187. "in": "query",
  10188. "required": true
  10189. },
  10190. {
  10191. "type": "string",
  10192. "description": "所属账户名称",
  10193. "name": "accountName",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "integer",
  10198. "description": "市场ID",
  10199. "name": "marketID",
  10200. "in": "query"
  10201. },
  10202. {
  10203. "type": "integer",
  10204. "description": "方向 - 0:买 1:卖",
  10205. "name": "buyorsell",
  10206. "in": "query",
  10207. "required": true
  10208. }
  10209. ],
  10210. "responses": {
  10211. "200": {
  10212. "description": "OK",
  10213. "schema": {
  10214. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10215. }
  10216. },
  10217. "500": {
  10218. "description": "Internal Server Error",
  10219. "schema": {
  10220. "$ref": "#/definitions/app.Response"
  10221. }
  10222. }
  10223. }
  10224. }
  10225. },
  10226. "/SZDZ/QuerySZDZTradePosition": {
  10227. "get": {
  10228. "security": [
  10229. {
  10230. "ApiKeyAuth": []
  10231. }
  10232. ],
  10233. "produces": [
  10234. "application/json"
  10235. ],
  10236. "tags": [
  10237. "定制【尚志大宗】"
  10238. ],
  10239. "summary": "持仓汇总查询(尚志大宗)",
  10240. "parameters": [
  10241. {
  10242. "type": "integer",
  10243. "description": "资金账户",
  10244. "name": "accountID",
  10245. "in": "query",
  10246. "required": true
  10247. }
  10248. ],
  10249. "responses": {
  10250. "200": {
  10251. "description": "OK",
  10252. "schema": {
  10253. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10254. }
  10255. },
  10256. "500": {
  10257. "description": "Internal Server Error",
  10258. "schema": {
  10259. "$ref": "#/definitions/app.Response"
  10260. }
  10261. }
  10262. }
  10263. }
  10264. },
  10265. "/SZDZ/SearchWhite": {
  10266. "get": {
  10267. "security": [
  10268. {
  10269. "ApiKeyAuth": []
  10270. }
  10271. ],
  10272. "produces": [
  10273. "application/json"
  10274. ],
  10275. "tags": [
  10276. "定制【尚志大宗】"
  10277. ],
  10278. "summary": "搜索白名单",
  10279. "parameters": [
  10280. {
  10281. "type": "integer",
  10282. "description": "用户ID",
  10283. "name": "userID",
  10284. "in": "query",
  10285. "required": true
  10286. }
  10287. ],
  10288. "responses": {
  10289. "200": {
  10290. "description": "OK",
  10291. "schema": {
  10292. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10293. }
  10294. },
  10295. "500": {
  10296. "description": "Internal Server Error",
  10297. "schema": {
  10298. "$ref": "#/definitions/app.Response"
  10299. }
  10300. }
  10301. }
  10302. }
  10303. },
  10304. "/Search/SearchGoodses": {
  10305. "get": {
  10306. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10307. "produces": [
  10308. "application/json"
  10309. ],
  10310. "tags": [
  10311. "检索服务"
  10312. ],
  10313. "summary": "检索商品信息",
  10314. "parameters": [
  10315. {
  10316. "type": "string",
  10317. "description": "检索内容",
  10318. "name": "content",
  10319. "in": "query",
  10320. "required": true
  10321. },
  10322. {
  10323. "type": "string",
  10324. "description": "交易模式,格式:1,2,3",
  10325. "name": "tradeModes",
  10326. "in": "query"
  10327. }
  10328. ],
  10329. "responses": {
  10330. "200": {
  10331. "description": "OK",
  10332. "schema": {
  10333. "$ref": "#/definitions/models.SearchGoods"
  10334. }
  10335. },
  10336. "500": {
  10337. "description": "Internal Server Error",
  10338. "schema": {
  10339. "$ref": "#/definitions/app.Response"
  10340. }
  10341. }
  10342. }
  10343. }
  10344. },
  10345. "/TaAccount/GetTaAccounts": {
  10346. "get": {
  10347. "security": [
  10348. {
  10349. "ApiKeyAuth": []
  10350. }
  10351. ],
  10352. "produces": [
  10353. "application/json"
  10354. ],
  10355. "tags": [
  10356. "资金账户"
  10357. ],
  10358. "summary": "获取资金账户信息",
  10359. "parameters": [
  10360. {
  10361. "type": "integer",
  10362. "description": "登录账户",
  10363. "name": "loginID",
  10364. "in": "query",
  10365. "required": true
  10366. },
  10367. {
  10368. "type": "integer",
  10369. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10370. "name": "taAccountType",
  10371. "in": "query"
  10372. }
  10373. ],
  10374. "responses": {
  10375. "200": {
  10376. "description": "OK",
  10377. "schema": {
  10378. "$ref": "#/definitions/models.Taaccount"
  10379. }
  10380. },
  10381. "500": {
  10382. "description": "Internal Server Error",
  10383. "schema": {
  10384. "$ref": "#/definitions/app.Response"
  10385. }
  10386. }
  10387. }
  10388. }
  10389. },
  10390. "/TaAccount/QueryAmountLog": {
  10391. "get": {
  10392. "security": [
  10393. {
  10394. "ApiKeyAuth": []
  10395. }
  10396. ],
  10397. "produces": [
  10398. "application/json"
  10399. ],
  10400. "tags": [
  10401. "资金账户"
  10402. ],
  10403. "summary": "资金流水查询(当前)",
  10404. "parameters": [
  10405. {
  10406. "type": "integer",
  10407. "description": "页码",
  10408. "name": "page",
  10409. "in": "query"
  10410. },
  10411. {
  10412. "type": "integer",
  10413. "description": "每页条数",
  10414. "name": "pagesize",
  10415. "in": "query"
  10416. },
  10417. {
  10418. "type": "string",
  10419. "description": "资金账户 - 格式:1,2,3",
  10420. "name": "accountID",
  10421. "in": "query",
  10422. "required": true
  10423. },
  10424. {
  10425. "type": "string",
  10426. "description": "资金操作类型 - 格式:1,2,3",
  10427. "name": "OperateType",
  10428. "in": "query"
  10429. }
  10430. ],
  10431. "responses": {
  10432. "200": {
  10433. "description": "OK",
  10434. "schema": {
  10435. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10436. }
  10437. },
  10438. "500": {
  10439. "description": "Internal Server Error",
  10440. "schema": {
  10441. "$ref": "#/definitions/app.Response"
  10442. }
  10443. }
  10444. }
  10445. }
  10446. },
  10447. "/TaAccount/QueryHisAmountLog": {
  10448. "get": {
  10449. "security": [
  10450. {
  10451. "ApiKeyAuth": []
  10452. }
  10453. ],
  10454. "produces": [
  10455. "application/json"
  10456. ],
  10457. "tags": [
  10458. "资金账户"
  10459. ],
  10460. "summary": "资金流水查询(历史)",
  10461. "parameters": [
  10462. {
  10463. "type": "integer",
  10464. "description": "页码",
  10465. "name": "page",
  10466. "in": "query"
  10467. },
  10468. {
  10469. "type": "integer",
  10470. "description": "每页条数",
  10471. "name": "pagesize",
  10472. "in": "query"
  10473. },
  10474. {
  10475. "type": "string",
  10476. "description": "资金账户 - 格式:1,2,3",
  10477. "name": "accountID",
  10478. "in": "query",
  10479. "required": true
  10480. },
  10481. {
  10482. "type": "string",
  10483. "description": "资金操作类型 - 格式:1,2,3",
  10484. "name": "OperateType",
  10485. "in": "query"
  10486. },
  10487. {
  10488. "type": "string",
  10489. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10490. "name": "startDate",
  10491. "in": "query"
  10492. },
  10493. {
  10494. "type": "string",
  10495. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10496. "name": "endDate",
  10497. "in": "query"
  10498. }
  10499. ],
  10500. "responses": {
  10501. "200": {
  10502. "description": "OK",
  10503. "schema": {
  10504. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10505. }
  10506. },
  10507. "500": {
  10508. "description": "Internal Server Error",
  10509. "schema": {
  10510. "$ref": "#/definitions/app.Response"
  10511. }
  10512. }
  10513. }
  10514. }
  10515. },
  10516. "/Tjmd/QueryQuoteGoodsList": {
  10517. "get": {
  10518. "security": [
  10519. {
  10520. "ApiKeyAuth": []
  10521. }
  10522. ],
  10523. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10524. "produces": [
  10525. "application/json"
  10526. ],
  10527. "tags": [
  10528. "天津麦顿"
  10529. ],
  10530. "summary": "查询掉期报价列表",
  10531. "parameters": [
  10532. {
  10533. "type": "integer",
  10534. "description": "用户类型",
  10535. "name": "usertype",
  10536. "in": "query",
  10537. "required": true
  10538. },
  10539. {
  10540. "type": "string",
  10541. "description": "市场id, 格式 1,2,3",
  10542. "name": "marketids",
  10543. "in": "query"
  10544. },
  10545. {
  10546. "type": "integer",
  10547. "description": "商品组id",
  10548. "name": "goodsgroupid",
  10549. "in": "query"
  10550. },
  10551. {
  10552. "type": "integer",
  10553. "description": "商品id",
  10554. "name": "goodsid",
  10555. "in": "query"
  10556. }
  10557. ],
  10558. "responses": {
  10559. "200": {
  10560. "description": "OK",
  10561. "schema": {
  10562. "type": "array",
  10563. "items": {
  10564. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10565. }
  10566. }
  10567. },
  10568. "500": {
  10569. "description": "Internal Server Error",
  10570. "schema": {
  10571. "$ref": "#/definitions/app.Response"
  10572. }
  10573. }
  10574. }
  10575. }
  10576. },
  10577. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10578. "get": {
  10579. "security": [
  10580. {
  10581. "ApiKeyAuth": []
  10582. }
  10583. ],
  10584. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10585. "produces": [
  10586. "application/json"
  10587. ],
  10588. "tags": [
  10589. "天津麦顿"
  10590. ],
  10591. "summary": "查询掉期买卖大厅",
  10592. "parameters": [
  10593. {
  10594. "type": "integer",
  10595. "description": "页码",
  10596. "name": "page",
  10597. "in": "query"
  10598. },
  10599. {
  10600. "type": "integer",
  10601. "description": "每页条数",
  10602. "name": "pagesize",
  10603. "in": "query"
  10604. },
  10605. {
  10606. "type": "integer",
  10607. "description": "用户类型",
  10608. "name": "usertype",
  10609. "in": "query",
  10610. "required": true
  10611. },
  10612. {
  10613. "type": "string",
  10614. "description": "市场id, 格式 1,2,3",
  10615. "name": "marketids",
  10616. "in": "query"
  10617. },
  10618. {
  10619. "type": "integer",
  10620. "description": "商品id",
  10621. "name": "goodsid",
  10622. "in": "query",
  10623. "required": true
  10624. },
  10625. {
  10626. "type": "integer",
  10627. "description": "买卖方向 0-买 1-卖",
  10628. "name": "buyorsell",
  10629. "in": "query",
  10630. "required": true
  10631. }
  10632. ],
  10633. "responses": {
  10634. "200": {
  10635. "description": "OK",
  10636. "schema": {
  10637. "type": "array",
  10638. "items": {
  10639. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10640. }
  10641. }
  10642. },
  10643. "500": {
  10644. "description": "Internal Server Error",
  10645. "schema": {
  10646. "$ref": "#/definitions/app.Response"
  10647. }
  10648. }
  10649. }
  10650. }
  10651. },
  10652. "/Tjmd/QueryTjmdTransferApply": {
  10653. "get": {
  10654. "security": [
  10655. {
  10656. "ApiKeyAuth": []
  10657. }
  10658. ],
  10659. "produces": [
  10660. "application/json"
  10661. ],
  10662. "tags": [
  10663. "天津麦顿"
  10664. ],
  10665. "summary": "查询掉期协议单",
  10666. "parameters": [
  10667. {
  10668. "type": "integer",
  10669. "description": "类型 1-我的申请 2-对方申请",
  10670. "name": "applytype",
  10671. "in": "query",
  10672. "required": true
  10673. },
  10674. {
  10675. "type": "string",
  10676. "description": "市场id, 格式 1,2,3",
  10677. "name": "marketids",
  10678. "in": "query"
  10679. },
  10680. {
  10681. "type": "string",
  10682. "description": "资金账号, 格式 25000000001,25000000003",
  10683. "name": "accountids",
  10684. "in": "query"
  10685. }
  10686. ],
  10687. "responses": {
  10688. "200": {
  10689. "description": "OK",
  10690. "schema": {
  10691. "type": "array",
  10692. "items": {
  10693. "$ref": "#/definitions/models.TjmdTransferApply"
  10694. }
  10695. }
  10696. },
  10697. "500": {
  10698. "description": "Internal Server Error",
  10699. "schema": {
  10700. "$ref": "#/definitions/app.Response"
  10701. }
  10702. }
  10703. }
  10704. }
  10705. },
  10706. "/Trade/QueryRecieptOrder": {
  10707. "get": {
  10708. "security": [
  10709. {
  10710. "ApiKeyAuth": []
  10711. }
  10712. ],
  10713. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10714. "produces": [
  10715. "application/json"
  10716. ],
  10717. "tags": [
  10718. "通用交易"
  10719. ],
  10720. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10721. "parameters": [
  10722. {
  10723. "type": "integer",
  10724. "description": "页码",
  10725. "name": "page",
  10726. "in": "query"
  10727. },
  10728. {
  10729. "type": "integer",
  10730. "description": "每页条数",
  10731. "name": "pagesize",
  10732. "in": "query"
  10733. },
  10734. {
  10735. "type": "integer",
  10736. "description": "商品ID",
  10737. "name": "goodsID",
  10738. "in": "query",
  10739. "required": true
  10740. },
  10741. {
  10742. "type": "string",
  10743. "description": "所属账户名称",
  10744. "name": "accountName",
  10745. "in": "query"
  10746. },
  10747. {
  10748. "type": "integer",
  10749. "description": "市场ID",
  10750. "name": "marketID",
  10751. "in": "query"
  10752. },
  10753. {
  10754. "type": "integer",
  10755. "description": "方向 - 0:买 1:卖",
  10756. "name": "buyorsell",
  10757. "in": "query",
  10758. "required": true
  10759. }
  10760. ],
  10761. "responses": {
  10762. "200": {
  10763. "description": "OK",
  10764. "schema": {
  10765. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10766. }
  10767. },
  10768. "500": {
  10769. "description": "Internal Server Error",
  10770. "schema": {
  10771. "$ref": "#/definitions/app.Response"
  10772. }
  10773. }
  10774. }
  10775. }
  10776. },
  10777. "/User/AddMessageBoard": {
  10778. "post": {
  10779. "security": [
  10780. {
  10781. "ApiKeyAuth": []
  10782. }
  10783. ],
  10784. "produces": [
  10785. "application/json"
  10786. ],
  10787. "tags": [
  10788. "用户信息"
  10789. ],
  10790. "summary": "添加用户留言板信息",
  10791. "parameters": [
  10792. {
  10793. "type": "integer",
  10794. "description": "用户ID",
  10795. "name": "userID",
  10796. "in": "query",
  10797. "required": true
  10798. },
  10799. {
  10800. "type": "string",
  10801. "description": "留言信息",
  10802. "name": "message",
  10803. "in": "query",
  10804. "required": true
  10805. },
  10806. {
  10807. "type": "string",
  10808. "description": "联系电话",
  10809. "name": "contactNum",
  10810. "in": "query",
  10811. "required": true
  10812. }
  10813. ],
  10814. "responses": {
  10815. "200": {
  10816. "description": "OK",
  10817. "schema": {
  10818. "$ref": "#/definitions/app.Response"
  10819. }
  10820. },
  10821. "500": {
  10822. "description": "Internal Server Error",
  10823. "schema": {
  10824. "$ref": "#/definitions/app.Response"
  10825. }
  10826. }
  10827. }
  10828. }
  10829. },
  10830. "/User/AddUserFavoriteGoods": {
  10831. "post": {
  10832. "security": [
  10833. {
  10834. "ApiKeyAuth": []
  10835. }
  10836. ],
  10837. "produces": [
  10838. "application/json"
  10839. ],
  10840. "tags": [
  10841. "用户信息"
  10842. ],
  10843. "summary": "添加用户商品收藏信息",
  10844. "parameters": [
  10845. {
  10846. "type": "integer",
  10847. "description": "用户ID",
  10848. "name": "userID",
  10849. "in": "query",
  10850. "required": true
  10851. },
  10852. {
  10853. "type": "integer",
  10854. "description": "商品ID",
  10855. "name": "goodsID",
  10856. "in": "query",
  10857. "required": true
  10858. }
  10859. ],
  10860. "responses": {
  10861. "200": {
  10862. "description": "OK",
  10863. "schema": {
  10864. "$ref": "#/definitions/app.Response"
  10865. }
  10866. },
  10867. "500": {
  10868. "description": "Internal Server Error",
  10869. "schema": {
  10870. "$ref": "#/definitions/app.Response"
  10871. }
  10872. }
  10873. }
  10874. }
  10875. },
  10876. "/User/GetLoginID": {
  10877. "get": {
  10878. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10879. "produces": [
  10880. "application/json"
  10881. ],
  10882. "tags": [
  10883. "用户信息"
  10884. ],
  10885. "summary": "获取登录ID",
  10886. "parameters": [
  10887. {
  10888. "type": "string",
  10889. "description": "登录代码",
  10890. "name": "username",
  10891. "in": "query",
  10892. "required": true
  10893. }
  10894. ],
  10895. "responses": {
  10896. "200": {
  10897. "description": "OK",
  10898. "schema": {
  10899. "$ref": "#/definitions/app.Response"
  10900. }
  10901. },
  10902. "500": {
  10903. "description": "Internal Server Error",
  10904. "schema": {
  10905. "$ref": "#/definitions/app.Response"
  10906. }
  10907. }
  10908. }
  10909. }
  10910. },
  10911. "/User/GetUserAccount": {
  10912. "get": {
  10913. "security": [
  10914. {
  10915. "ApiKeyAuth": []
  10916. }
  10917. ],
  10918. "produces": [
  10919. "application/json"
  10920. ],
  10921. "tags": [
  10922. "用户信息"
  10923. ],
  10924. "summary": "获取用户账号信息",
  10925. "parameters": [
  10926. {
  10927. "type": "integer",
  10928. "description": "用户ID",
  10929. "name": "userID",
  10930. "in": "query",
  10931. "required": true
  10932. }
  10933. ],
  10934. "responses": {
  10935. "200": {
  10936. "description": "OK",
  10937. "schema": {
  10938. "$ref": "#/definitions/models.Useraccount"
  10939. }
  10940. },
  10941. "500": {
  10942. "description": "Internal Server Error",
  10943. "schema": {
  10944. "$ref": "#/definitions/app.Response"
  10945. }
  10946. }
  10947. }
  10948. }
  10949. },
  10950. "/User/GetUserAuthStatus": {
  10951. "get": {
  10952. "security": [
  10953. {
  10954. "ApiKeyAuth": []
  10955. }
  10956. ],
  10957. "produces": [
  10958. "application/json"
  10959. ],
  10960. "tags": [
  10961. "用户信息"
  10962. ],
  10963. "summary": "获取用户实名认证状态",
  10964. "parameters": [
  10965. {
  10966. "type": "integer",
  10967. "description": "用户ID",
  10968. "name": "userID",
  10969. "in": "query",
  10970. "required": true
  10971. }
  10972. ],
  10973. "responses": {
  10974. "200": {
  10975. "description": "OK",
  10976. "schema": {
  10977. "$ref": "#/definitions/app.Response"
  10978. }
  10979. },
  10980. "500": {
  10981. "description": "Internal Server Error",
  10982. "schema": {
  10983. "$ref": "#/definitions/app.Response"
  10984. }
  10985. }
  10986. }
  10987. }
  10988. },
  10989. "/User/LoginQuery": {
  10990. "get": {
  10991. "security": [
  10992. {
  10993. "ApiKeyAuth": []
  10994. }
  10995. ],
  10996. "produces": [
  10997. "application/json"
  10998. ],
  10999. "tags": [
  11000. "用户信息"
  11001. ],
  11002. "summary": "账户登录后信息查询",
  11003. "parameters": [
  11004. {
  11005. "type": "integer",
  11006. "description": "登录账号",
  11007. "name": "loginID",
  11008. "in": "query",
  11009. "required": true
  11010. }
  11011. ],
  11012. "responses": {
  11013. "200": {
  11014. "description": "OK",
  11015. "schema": {
  11016. "$ref": "#/definitions/user.LoginQueryRsp"
  11017. }
  11018. },
  11019. "500": {
  11020. "description": "Internal Server Error",
  11021. "schema": {
  11022. "$ref": "#/definitions/app.Response"
  11023. }
  11024. }
  11025. }
  11026. }
  11027. },
  11028. "/User/QueryMessageBoard": {
  11029. "get": {
  11030. "security": [
  11031. {
  11032. "ApiKeyAuth": []
  11033. }
  11034. ],
  11035. "produces": [
  11036. "application/json"
  11037. ],
  11038. "tags": [
  11039. "用户信息"
  11040. ],
  11041. "summary": "获取用户留言板信息",
  11042. "parameters": [
  11043. {
  11044. "type": "integer",
  11045. "description": "用户ID",
  11046. "name": "userID",
  11047. "in": "query",
  11048. "required": true
  11049. }
  11050. ],
  11051. "responses": {
  11052. "200": {
  11053. "description": "OK",
  11054. "schema": {
  11055. "$ref": "#/definitions/models.Messageboard"
  11056. }
  11057. },
  11058. "500": {
  11059. "description": "Internal Server Error",
  11060. "schema": {
  11061. "$ref": "#/definitions/app.Response"
  11062. }
  11063. }
  11064. }
  11065. }
  11066. },
  11067. "/User/QueryUserFavoriteGoodses": {
  11068. "get": {
  11069. "security": [
  11070. {
  11071. "ApiKeyAuth": []
  11072. }
  11073. ],
  11074. "produces": [
  11075. "application/json"
  11076. ],
  11077. "tags": [
  11078. "用户信息"
  11079. ],
  11080. "summary": "获取用户商品收藏信息",
  11081. "parameters": [
  11082. {
  11083. "type": "integer",
  11084. "description": "用户ID",
  11085. "name": "userID",
  11086. "in": "query",
  11087. "required": true
  11088. }
  11089. ],
  11090. "responses": {
  11091. "200": {
  11092. "description": "OK",
  11093. "schema": {
  11094. "$ref": "#/definitions/models.Userfavoritegoods"
  11095. }
  11096. },
  11097. "500": {
  11098. "description": "Internal Server Error",
  11099. "schema": {
  11100. "$ref": "#/definitions/app.Response"
  11101. }
  11102. }
  11103. }
  11104. }
  11105. },
  11106. "/User/QueryUserInfo": {
  11107. "get": {
  11108. "security": [
  11109. {
  11110. "ApiKeyAuth": []
  11111. }
  11112. ],
  11113. "produces": [
  11114. "application/json"
  11115. ],
  11116. "tags": [
  11117. "用户信息"
  11118. ],
  11119. "summary": "获取用户信息",
  11120. "parameters": [
  11121. {
  11122. "type": "integer",
  11123. "description": "用户ID",
  11124. "name": "userID",
  11125. "in": "query",
  11126. "required": true
  11127. },
  11128. {
  11129. "type": "boolean",
  11130. "description": "是否解密",
  11131. "name": "isDecrypt",
  11132. "in": "query"
  11133. }
  11134. ],
  11135. "responses": {
  11136. "200": {
  11137. "description": "OK",
  11138. "schema": {
  11139. "$ref": "#/definitions/models.Userinfo"
  11140. }
  11141. },
  11142. "500": {
  11143. "description": "Internal Server Error",
  11144. "schema": {
  11145. "$ref": "#/definitions/app.Response"
  11146. }
  11147. }
  11148. }
  11149. }
  11150. },
  11151. "/User/QueryUserReferNum": {
  11152. "get": {
  11153. "produces": [
  11154. "application/json"
  11155. ],
  11156. "tags": [
  11157. "用户信息"
  11158. ],
  11159. "summary": "获取用户邀请码",
  11160. "parameters": [
  11161. {
  11162. "type": "integer",
  11163. "description": "用户ID",
  11164. "name": "userID",
  11165. "in": "query",
  11166. "required": true
  11167. }
  11168. ],
  11169. "responses": {
  11170. "200": {
  11171. "description": "OK",
  11172. "schema": {
  11173. "$ref": "#/definitions/app.Response"
  11174. }
  11175. },
  11176. "500": {
  11177. "description": "Internal Server Error",
  11178. "schema": {
  11179. "$ref": "#/definitions/app.Response"
  11180. }
  11181. }
  11182. }
  11183. }
  11184. },
  11185. "/User/RemoveUserFavoriteGoods": {
  11186. "post": {
  11187. "security": [
  11188. {
  11189. "ApiKeyAuth": []
  11190. }
  11191. ],
  11192. "produces": [
  11193. "application/json"
  11194. ],
  11195. "tags": [
  11196. "用户信息"
  11197. ],
  11198. "summary": "移除用户商品收藏信息",
  11199. "parameters": [
  11200. {
  11201. "type": "integer",
  11202. "description": "用户ID",
  11203. "name": "userID",
  11204. "in": "query",
  11205. "required": true
  11206. },
  11207. {
  11208. "type": "integer",
  11209. "description": "商品ID",
  11210. "name": "goodsID",
  11211. "in": "query",
  11212. "required": true
  11213. }
  11214. ],
  11215. "responses": {
  11216. "200": {
  11217. "description": "OK",
  11218. "schema": {
  11219. "$ref": "#/definitions/app.Response"
  11220. }
  11221. },
  11222. "500": {
  11223. "description": "Internal Server Error",
  11224. "schema": {
  11225. "$ref": "#/definitions/app.Response"
  11226. }
  11227. }
  11228. }
  11229. }
  11230. },
  11231. "/User/UpdateUserAccountStatus": {
  11232. "post": {
  11233. "security": [
  11234. {
  11235. "ApiKeyAuth": []
  11236. }
  11237. ],
  11238. "produces": [
  11239. "application/json"
  11240. ],
  11241. "tags": [
  11242. "用户信息"
  11243. ],
  11244. "summary": "更新用户状态",
  11245. "parameters": [
  11246. {
  11247. "type": "integer",
  11248. "description": "用户ID",
  11249. "name": "userID",
  11250. "in": "query",
  11251. "required": true
  11252. },
  11253. {
  11254. "type": "integer",
  11255. "description": "账户状态 - 4:正常 6:注销(停用)",
  11256. "name": "accountStatus",
  11257. "in": "query",
  11258. "required": true
  11259. }
  11260. ],
  11261. "responses": {
  11262. "200": {
  11263. "description": "OK",
  11264. "schema": {
  11265. "$ref": "#/definitions/app.Response"
  11266. }
  11267. },
  11268. "500": {
  11269. "description": "Internal Server Error",
  11270. "schema": {
  11271. "$ref": "#/definitions/app.Response"
  11272. }
  11273. }
  11274. }
  11275. }
  11276. },
  11277. "/WRTrade/GetAllDeliveryGoods": {
  11278. "get": {
  11279. "security": [
  11280. {
  11281. "ApiKeyAuth": []
  11282. },
  11283. {
  11284. "ApiKeyAuth": []
  11285. }
  11286. ],
  11287. "produces": [
  11288. "application/json",
  11289. "application/json"
  11290. ],
  11291. "tags": [
  11292. "仓单贸易",
  11293. "仓单贸易"
  11294. ],
  11295. "summary": "获取带仓单分类的种类信息",
  11296. "responses": {
  11297. "200": {
  11298. "description": "OK",
  11299. "schema": {
  11300. "$ref": "#/definitions/app.Response"
  11301. }
  11302. },
  11303. "500": {
  11304. "description": "Internal Server Error",
  11305. "schema": {
  11306. "$ref": "#/definitions/app.Response"
  11307. }
  11308. }
  11309. }
  11310. }
  11311. },
  11312. "/WrTrade2/QueryFaProductDetail": {
  11313. "get": {
  11314. "security": [
  11315. {
  11316. "ApiKeyAuth": []
  11317. }
  11318. ],
  11319. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11320. "produces": [
  11321. "application/json"
  11322. ],
  11323. "tags": [
  11324. "仓单贸易v2"
  11325. ],
  11326. "summary": "查询融资产品列表",
  11327. "parameters": [
  11328. {
  11329. "type": "integer",
  11330. "description": "仓单要素id",
  11331. "name": "wrfactortypeid",
  11332. "in": "query",
  11333. "required": true
  11334. }
  11335. ],
  11336. "responses": {
  11337. "200": {
  11338. "description": "OK",
  11339. "schema": {
  11340. "type": "array",
  11341. "items": {
  11342. "$ref": "#/definitions/models.WrFAProductDetail"
  11343. }
  11344. }
  11345. },
  11346. "500": {
  11347. "description": "Internal Server Error",
  11348. "schema": {
  11349. "$ref": "#/definitions/app.Response"
  11350. }
  11351. }
  11352. }
  11353. }
  11354. },
  11355. "/WrTrade2/QueryFilterItem": {
  11356. "get": {
  11357. "security": [
  11358. {
  11359. "ApiKeyAuth": []
  11360. }
  11361. ],
  11362. "produces": [
  11363. "application/json"
  11364. ],
  11365. "tags": [
  11366. "仓单贸易v2"
  11367. ],
  11368. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11369. "parameters": [
  11370. {
  11371. "type": "string",
  11372. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11373. "name": "itype",
  11374. "in": "query",
  11375. "required": true
  11376. }
  11377. ],
  11378. "responses": {
  11379. "200": {
  11380. "description": "OK",
  11381. "schema": {
  11382. "type": "array",
  11383. "items": {
  11384. "$ref": "#/definitions/models.WrFilterItem"
  11385. }
  11386. }
  11387. },
  11388. "500": {
  11389. "description": "Internal Server Error",
  11390. "schema": {
  11391. "$ref": "#/definitions/app.Response"
  11392. }
  11393. }
  11394. }
  11395. }
  11396. },
  11397. "/WrTrade2/QueryFtDeliveryGoods": {
  11398. "get": {
  11399. "security": [
  11400. {
  11401. "ApiKeyAuth": []
  11402. }
  11403. ],
  11404. "produces": [
  11405. "application/json"
  11406. ],
  11407. "tags": [
  11408. "仓单贸易v2"
  11409. ],
  11410. "summary": "查询品种品类筛选框列表",
  11411. "responses": {
  11412. "200": {
  11413. "description": "OK",
  11414. "schema": {
  11415. "type": "array",
  11416. "items": {
  11417. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11418. }
  11419. }
  11420. },
  11421. "500": {
  11422. "description": "Internal Server Error",
  11423. "schema": {
  11424. "$ref": "#/definitions/app.Response"
  11425. }
  11426. }
  11427. }
  11428. }
  11429. },
  11430. "/WrTrade2/QueryHoldLB": {
  11431. "get": {
  11432. "security": [
  11433. {
  11434. "ApiKeyAuth": []
  11435. }
  11436. ],
  11437. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11438. "produces": [
  11439. "application/json"
  11440. ],
  11441. "tags": [
  11442. "仓单贸易v2"
  11443. ],
  11444. "summary": "查询仓单持有记录",
  11445. "parameters": [
  11446. {
  11447. "type": "integer",
  11448. "description": "资金账号",
  11449. "name": "accountid",
  11450. "in": "query",
  11451. "required": true
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "仓库id",
  11456. "name": "warehouseid",
  11457. "in": "query"
  11458. },
  11459. {
  11460. "type": "integer",
  11461. "description": "品种id",
  11462. "name": "deliverygoodsid",
  11463. "in": "query"
  11464. },
  11465. {
  11466. "type": "integer",
  11467. "description": "品类id",
  11468. "name": "wrstandardid",
  11469. "in": "query"
  11470. },
  11471. {
  11472. "type": "integer",
  11473. "description": "仓单要素id",
  11474. "name": "wrfactortypeid",
  11475. "in": "query"
  11476. }
  11477. ],
  11478. "responses": {
  11479. "200": {
  11480. "description": "OK",
  11481. "schema": {
  11482. "type": "array",
  11483. "items": {
  11484. "$ref": "#/definitions/models.WrHoldLB"
  11485. }
  11486. }
  11487. },
  11488. "500": {
  11489. "description": "Internal Server Error",
  11490. "schema": {
  11491. "$ref": "#/definitions/app.Response"
  11492. }
  11493. }
  11494. }
  11495. }
  11496. },
  11497. "/WrTrade2/QueryOrderQuote": {
  11498. "get": {
  11499. "security": [
  11500. {
  11501. "ApiKeyAuth": []
  11502. }
  11503. ],
  11504. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11505. "produces": [
  11506. "application/json"
  11507. ],
  11508. "tags": [
  11509. "仓单贸易v2"
  11510. ],
  11511. "summary": "查询大厅行情列表",
  11512. "parameters": [
  11513. {
  11514. "type": "integer",
  11515. "description": "页码",
  11516. "name": "page",
  11517. "in": "query"
  11518. },
  11519. {
  11520. "type": "integer",
  11521. "description": "每页条数",
  11522. "name": "pagesize",
  11523. "in": "query"
  11524. },
  11525. {
  11526. "type": "integer",
  11527. "description": "仓单贸易市场id",
  11528. "name": "marketid",
  11529. "in": "query"
  11530. },
  11531. {
  11532. "type": "integer",
  11533. "description": "价格方式 - 1:固定价 2-浮动价",
  11534. "name": "wrpricetype",
  11535. "in": "query",
  11536. "required": true
  11537. },
  11538. {
  11539. "type": "integer",
  11540. "description": "0:仓单预售 1:仓单贸易",
  11541. "name": "haswr",
  11542. "in": "query",
  11543. "required": true
  11544. },
  11545. {
  11546. "type": "string",
  11547. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11548. "name": "dgitemname",
  11549. "in": "query"
  11550. },
  11551. {
  11552. "type": "integer",
  11553. "description": "仓库id(筛选条件)",
  11554. "name": "warehouseid",
  11555. "in": "query"
  11556. },
  11557. {
  11558. "type": "integer",
  11559. "description": "品种id",
  11560. "name": "deliverygoodsid",
  11561. "in": "query"
  11562. },
  11563. {
  11564. "type": "integer",
  11565. "description": "品类id",
  11566. "name": "wrstandardid",
  11567. "in": "query"
  11568. },
  11569. {
  11570. "type": "integer",
  11571. "description": "仓单要素id",
  11572. "name": "wrfactortypeid",
  11573. "in": "query"
  11574. },
  11575. {
  11576. "type": "string",
  11577. "description": "交收月(yyyy-mm) 仓单预售填写",
  11578. "name": "deliverymonth",
  11579. "in": "query"
  11580. }
  11581. ],
  11582. "responses": {
  11583. "200": {
  11584. "description": "OK",
  11585. "schema": {
  11586. "type": "array",
  11587. "items": {
  11588. "$ref": "#/definitions/models.WrOrderQuote"
  11589. }
  11590. }
  11591. },
  11592. "500": {
  11593. "description": "Internal Server Error",
  11594. "schema": {
  11595. "$ref": "#/definitions/app.Response"
  11596. }
  11597. }
  11598. }
  11599. }
  11600. },
  11601. "/WrTrade2/QueryOrderQuoteDetail": {
  11602. "get": {
  11603. "security": [
  11604. {
  11605. "ApiKeyAuth": []
  11606. }
  11607. ],
  11608. "produces": [
  11609. "application/json"
  11610. ],
  11611. "tags": [
  11612. "仓单贸易v2"
  11613. ],
  11614. "summary": "查询买卖大厅",
  11615. "parameters": [
  11616. {
  11617. "type": "integer",
  11618. "description": "页码",
  11619. "name": "page",
  11620. "in": "query"
  11621. },
  11622. {
  11623. "type": "integer",
  11624. "description": "每页条数",
  11625. "name": "pagesize",
  11626. "in": "query"
  11627. },
  11628. {
  11629. "type": "integer",
  11630. "description": "仓单贸易市场id",
  11631. "name": "marketid",
  11632. "in": "query"
  11633. },
  11634. {
  11635. "type": "integer",
  11636. "description": "价格方式 - 1:固定价 2-浮动价",
  11637. "name": "wrpricetype",
  11638. "in": "query",
  11639. "required": true
  11640. },
  11641. {
  11642. "type": "integer",
  11643. "description": "0:仓单预售 1:仓单贸易",
  11644. "name": "haswr",
  11645. "in": "query",
  11646. "required": true
  11647. },
  11648. {
  11649. "type": "integer",
  11650. "description": "仓单要素id",
  11651. "name": "wrfactortypeid",
  11652. "in": "query",
  11653. "required": true
  11654. },
  11655. {
  11656. "type": "integer",
  11657. "description": "期货商品id(浮动价方式时填)",
  11658. "name": "goodsid",
  11659. "in": "query"
  11660. },
  11661. {
  11662. "type": "integer",
  11663. "description": "买卖方向 0-买 1-卖",
  11664. "name": "buyorsell",
  11665. "in": "query",
  11666. "required": true
  11667. },
  11668. {
  11669. "type": "string",
  11670. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11671. "name": "deliverymonth",
  11672. "in": "query"
  11673. }
  11674. ],
  11675. "responses": {
  11676. "200": {
  11677. "description": "OK",
  11678. "schema": {
  11679. "type": "array",
  11680. "items": {
  11681. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11682. }
  11683. }
  11684. },
  11685. "500": {
  11686. "description": "Internal Server Error",
  11687. "schema": {
  11688. "$ref": "#/definitions/app.Response"
  11689. }
  11690. }
  11691. }
  11692. }
  11693. },
  11694. "/WrTrade2/QueryOrderQuoteMyq": {
  11695. "get": {
  11696. "security": [
  11697. {
  11698. "ApiKeyAuth": []
  11699. }
  11700. ],
  11701. "produces": [
  11702. "application/json"
  11703. ],
  11704. "tags": [
  11705. "仓单贸易v2"
  11706. ],
  11707. "summary": "查询贸易圈挂牌大厅",
  11708. "parameters": [
  11709. {
  11710. "type": "integer",
  11711. "description": "页码",
  11712. "name": "page",
  11713. "in": "query"
  11714. },
  11715. {
  11716. "type": "integer",
  11717. "description": "每页条数",
  11718. "name": "pagesize",
  11719. "in": "query"
  11720. },
  11721. {
  11722. "type": "integer",
  11723. "description": "用户id",
  11724. "name": "userid",
  11725. "in": "query",
  11726. "required": true
  11727. },
  11728. {
  11729. "type": "integer",
  11730. "description": "仓单贸易市场id",
  11731. "name": "marketid",
  11732. "in": "query"
  11733. },
  11734. {
  11735. "type": "integer",
  11736. "description": "0:仓单预售 1:仓单贸易",
  11737. "name": "haswr",
  11738. "in": "query",
  11739. "required": true
  11740. },
  11741. {
  11742. "type": "integer",
  11743. "description": "买卖方向 0-买 1-卖",
  11744. "name": "buyorsell",
  11745. "in": "query",
  11746. "required": true
  11747. },
  11748. {
  11749. "type": "integer",
  11750. "description": "品种id",
  11751. "name": "deliverygoodsid",
  11752. "in": "query"
  11753. },
  11754. {
  11755. "type": "integer",
  11756. "description": "品类id",
  11757. "name": "wrstandardid",
  11758. "in": "query"
  11759. },
  11760. {
  11761. "type": "string",
  11762. "description": "交收月(yyyy-mm) 仓单预售填写",
  11763. "name": "deliverymonth",
  11764. "in": "query"
  11765. },
  11766. {
  11767. "type": "string",
  11768. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11769. "name": "dgitemname",
  11770. "in": "query"
  11771. }
  11772. ],
  11773. "responses": {
  11774. "200": {
  11775. "description": "OK",
  11776. "schema": {
  11777. "type": "array",
  11778. "items": {
  11779. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11780. }
  11781. }
  11782. },
  11783. "500": {
  11784. "description": "Internal Server Error",
  11785. "schema": {
  11786. "$ref": "#/definitions/app.Response"
  11787. }
  11788. }
  11789. }
  11790. }
  11791. },
  11792. "/WrTrade2/QueryPerformancePlan": {
  11793. "get": {
  11794. "security": [
  11795. {
  11796. "ApiKeyAuth": []
  11797. }
  11798. ],
  11799. "produces": [
  11800. "application/json"
  11801. ],
  11802. "tags": [
  11803. "仓单贸易v2"
  11804. ],
  11805. "summary": "查询履约信息",
  11806. "parameters": [
  11807. {
  11808. "type": "integer",
  11809. "description": "用户id",
  11810. "name": "userid",
  11811. "in": "query",
  11812. "required": true
  11813. },
  11814. {
  11815. "type": "integer",
  11816. "description": "买卖方向 0-买 1-卖",
  11817. "name": "buyorsell",
  11818. "in": "query",
  11819. "required": true
  11820. }
  11821. ],
  11822. "responses": {
  11823. "200": {
  11824. "description": "OK",
  11825. "schema": {
  11826. "type": "array",
  11827. "items": {
  11828. "$ref": "#/definitions/models.WrPerformancePlan"
  11829. }
  11830. }
  11831. },
  11832. "500": {
  11833. "description": "Internal Server Error",
  11834. "schema": {
  11835. "$ref": "#/definitions/app.Response"
  11836. }
  11837. }
  11838. }
  11839. }
  11840. },
  11841. "/WrTrade2/QueryPermancePlanTmp": {
  11842. "get": {
  11843. "security": [
  11844. {
  11845. "ApiKeyAuth": []
  11846. }
  11847. ],
  11848. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11849. "produces": [
  11850. "application/json"
  11851. ],
  11852. "tags": [
  11853. "仓单贸易v2"
  11854. ],
  11855. "summary": "查询履约模板",
  11856. "parameters": [
  11857. {
  11858. "type": "integer",
  11859. "description": "用户id",
  11860. "name": "userid",
  11861. "in": "query"
  11862. },
  11863. {
  11864. "type": "string",
  11865. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11866. "name": "tmptype",
  11867. "in": "query"
  11868. },
  11869. {
  11870. "type": "integer",
  11871. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11872. "name": "includepub",
  11873. "in": "query"
  11874. }
  11875. ],
  11876. "responses": {
  11877. "200": {
  11878. "description": "OK",
  11879. "schema": {
  11880. "type": "array",
  11881. "items": {
  11882. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11883. }
  11884. }
  11885. },
  11886. "500": {
  11887. "description": "Internal Server Error",
  11888. "schema": {
  11889. "$ref": "#/definitions/app.Response"
  11890. }
  11891. }
  11892. }
  11893. }
  11894. },
  11895. "/WrTrade2/QueryWrAverageTradePrice": {
  11896. "get": {
  11897. "security": [
  11898. {
  11899. "ApiKeyAuth": []
  11900. }
  11901. ],
  11902. "produces": [
  11903. "application/json"
  11904. ],
  11905. "tags": [
  11906. "仓单贸易v2"
  11907. ],
  11908. "summary": "查询成交价(历史走势)",
  11909. "parameters": [
  11910. {
  11911. "type": "integer",
  11912. "description": "页码",
  11913. "name": "page",
  11914. "in": "query"
  11915. },
  11916. {
  11917. "type": "integer",
  11918. "description": "每页条数",
  11919. "name": "pagesize",
  11920. "in": "query"
  11921. },
  11922. {
  11923. "type": "integer",
  11924. "description": "0:仓单预售 1:仓单贸易",
  11925. "name": "haswr",
  11926. "in": "query",
  11927. "required": true
  11928. },
  11929. {
  11930. "type": "integer",
  11931. "description": "仓单要素id",
  11932. "name": "wrfactortypeid",
  11933. "in": "query",
  11934. "required": true
  11935. }
  11936. ],
  11937. "responses": {
  11938. "200": {
  11939. "description": "OK",
  11940. "schema": {
  11941. "type": "array",
  11942. "items": {
  11943. "$ref": "#/definitions/models.WrAverageTradePrice"
  11944. }
  11945. }
  11946. },
  11947. "500": {
  11948. "description": "Internal Server Error",
  11949. "schema": {
  11950. "$ref": "#/definitions/app.Response"
  11951. }
  11952. }
  11953. }
  11954. }
  11955. },
  11956. "/WrTrade2/QueryWrBsGoodsInfo": {
  11957. "get": {
  11958. "security": [
  11959. {
  11960. "ApiKeyAuth": []
  11961. }
  11962. ],
  11963. "description": "合约交易/买卖大厅/详情",
  11964. "produces": [
  11965. "application/json"
  11966. ],
  11967. "tags": [
  11968. "仓单贸易v2"
  11969. ],
  11970. "summary": "查询合约交易买卖大厅详情",
  11971. "parameters": [
  11972. {
  11973. "type": "integer",
  11974. "description": "商品id",
  11975. "name": "goodsid",
  11976. "in": "query",
  11977. "required": true
  11978. }
  11979. ],
  11980. "responses": {
  11981. "200": {
  11982. "description": "OK",
  11983. "schema": {
  11984. "type": "array",
  11985. "items": {
  11986. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11987. }
  11988. }
  11989. },
  11990. "500": {
  11991. "description": "Internal Server Error",
  11992. "schema": {
  11993. "$ref": "#/definitions/app.Response"
  11994. }
  11995. }
  11996. }
  11997. }
  11998. },
  11999. "/WrTrade2/QueryWrBuybackDetail": {
  12000. "get": {
  12001. "security": [
  12002. {
  12003. "ApiKeyAuth": []
  12004. }
  12005. ],
  12006. "produces": [
  12007. "application/json"
  12008. ],
  12009. "tags": [
  12010. "仓单贸易v2"
  12011. ],
  12012. "summary": "查询仓单回购明细",
  12013. "parameters": [
  12014. {
  12015. "type": "integer",
  12016. "description": "融资合同id",
  12017. "name": "scfcontractid",
  12018. "in": "query"
  12019. }
  12020. ],
  12021. "responses": {
  12022. "200": {
  12023. "description": "OK",
  12024. "schema": {
  12025. "type": "array",
  12026. "items": {
  12027. "$ref": "#/definitions/models.WrBuybackDetail"
  12028. }
  12029. }
  12030. },
  12031. "500": {
  12032. "description": "Internal Server Error",
  12033. "schema": {
  12034. "$ref": "#/definitions/app.Response"
  12035. }
  12036. }
  12037. }
  12038. }
  12039. },
  12040. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12041. "get": {
  12042. "security": [
  12043. {
  12044. "ApiKeyAuth": []
  12045. }
  12046. ],
  12047. "produces": [
  12048. "application/json"
  12049. ],
  12050. "tags": [
  12051. "仓单贸易v2"
  12052. ],
  12053. "summary": "查询合约交收可点选仓单",
  12054. "parameters": [
  12055. {
  12056. "type": "integer",
  12057. "description": "资金账号",
  12058. "name": "accountid",
  12059. "in": "query",
  12060. "required": true
  12061. },
  12062. {
  12063. "type": "integer",
  12064. "description": "商品id",
  12065. "name": "goodsid",
  12066. "in": "query",
  12067. "required": true
  12068. }
  12069. ],
  12070. "responses": {
  12071. "200": {
  12072. "description": "OK",
  12073. "schema": {
  12074. "type": "array",
  12075. "items": {
  12076. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12077. }
  12078. }
  12079. },
  12080. "500": {
  12081. "description": "Internal Server Error",
  12082. "schema": {
  12083. "$ref": "#/definitions/app.Response"
  12084. }
  12085. }
  12086. }
  12087. }
  12088. },
  12089. "/WrTrade2/QueryWrDeliveryDetail": {
  12090. "get": {
  12091. "security": [
  12092. {
  12093. "ApiKeyAuth": []
  12094. }
  12095. ],
  12096. "produces": [
  12097. "application/json"
  12098. ],
  12099. "tags": [
  12100. "仓单贸易v2"
  12101. ],
  12102. "summary": "查询交收",
  12103. "parameters": [
  12104. {
  12105. "type": "integer",
  12106. "description": "用户id",
  12107. "name": "userid",
  12108. "in": "query",
  12109. "required": true
  12110. },
  12111. {
  12112. "type": "integer",
  12113. "description": "资金账号id",
  12114. "name": "accountid",
  12115. "in": "query"
  12116. }
  12117. ],
  12118. "responses": {
  12119. "200": {
  12120. "description": "OK",
  12121. "schema": {
  12122. "type": "array",
  12123. "items": {
  12124. "$ref": "#/definitions/models.WrDeliveryDetail"
  12125. }
  12126. }
  12127. },
  12128. "500": {
  12129. "description": "Internal Server Error",
  12130. "schema": {
  12131. "$ref": "#/definitions/app.Response"
  12132. }
  12133. }
  12134. }
  12135. }
  12136. },
  12137. "/WrTrade2/QueryWrFactorTypeInfo": {
  12138. "get": {
  12139. "security": [
  12140. {
  12141. "ApiKeyAuth": []
  12142. }
  12143. ],
  12144. "produces": [
  12145. "application/json"
  12146. ],
  12147. "tags": [
  12148. "仓单贸易v2"
  12149. ],
  12150. "summary": "查询仓单要素详细信息",
  12151. "parameters": [
  12152. {
  12153. "type": "integer",
  12154. "description": "仓单要素id",
  12155. "name": "wrfactortypeid",
  12156. "in": "query",
  12157. "required": true
  12158. }
  12159. ],
  12160. "responses": {
  12161. "200": {
  12162. "description": "OK",
  12163. "schema": {
  12164. "type": "array",
  12165. "items": {
  12166. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12167. }
  12168. }
  12169. },
  12170. "500": {
  12171. "description": "Internal Server Error",
  12172. "schema": {
  12173. "$ref": "#/definitions/app.Response"
  12174. }
  12175. }
  12176. }
  12177. }
  12178. },
  12179. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12180. "get": {
  12181. "security": [
  12182. {
  12183. "ApiKeyAuth": []
  12184. }
  12185. ],
  12186. "produces": [
  12187. "application/json"
  12188. ],
  12189. "tags": [
  12190. "仓单贸易v2"
  12191. ],
  12192. "summary": "查询仓单要素详细信息列表项",
  12193. "parameters": [
  12194. {
  12195. "type": "integer",
  12196. "description": "仓单要素id",
  12197. "name": "wrfactortypeid",
  12198. "in": "query",
  12199. "required": true
  12200. }
  12201. ],
  12202. "responses": {
  12203. "200": {
  12204. "description": "OK",
  12205. "schema": {
  12206. "type": "array",
  12207. "items": {
  12208. "$ref": "#/definitions/models.WrTypeItem"
  12209. }
  12210. }
  12211. },
  12212. "500": {
  12213. "description": "Internal Server Error",
  12214. "schema": {
  12215. "$ref": "#/definitions/app.Response"
  12216. }
  12217. }
  12218. }
  12219. }
  12220. },
  12221. "/WrTrade2/QueryWrFinanceBuyApply": {
  12222. "get": {
  12223. "security": [
  12224. {
  12225. "ApiKeyAuth": []
  12226. }
  12227. ],
  12228. "description": "页面 融资信息+ / 申请单",
  12229. "produces": [
  12230. "application/json"
  12231. ],
  12232. "tags": [
  12233. "仓单贸易v2"
  12234. ],
  12235. "summary": "查询融资购买申请",
  12236. "parameters": [
  12237. {
  12238. "type": "integer",
  12239. "description": "用户id",
  12240. "name": "userid",
  12241. "in": "query",
  12242. "required": true
  12243. }
  12244. ],
  12245. "responses": {
  12246. "200": {
  12247. "description": "OK",
  12248. "schema": {
  12249. "type": "array",
  12250. "items": {
  12251. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12252. }
  12253. }
  12254. },
  12255. "500": {
  12256. "description": "Internal Server Error",
  12257. "schema": {
  12258. "$ref": "#/definitions/app.Response"
  12259. }
  12260. }
  12261. }
  12262. }
  12263. },
  12264. "/WrTrade2/QueryWrFriendApply": {
  12265. "get": {
  12266. "security": [
  12267. {
  12268. "ApiKeyAuth": []
  12269. }
  12270. ],
  12271. "produces": [
  12272. "application/json"
  12273. ],
  12274. "tags": [
  12275. "仓单贸易v2"
  12276. ],
  12277. "summary": "查询好友申请记录",
  12278. "parameters": [
  12279. {
  12280. "type": "integer",
  12281. "description": "用户id",
  12282. "name": "userid",
  12283. "in": "query",
  12284. "required": true
  12285. }
  12286. ],
  12287. "responses": {
  12288. "200": {
  12289. "description": "OK",
  12290. "schema": {
  12291. "type": "array",
  12292. "items": {
  12293. "$ref": "#/definitions/models.WrFriendApply"
  12294. }
  12295. }
  12296. },
  12297. "500": {
  12298. "description": "Internal Server Error",
  12299. "schema": {
  12300. "$ref": "#/definitions/app.Response"
  12301. }
  12302. }
  12303. }
  12304. }
  12305. },
  12306. "/WrTrade2/QueryWrGoodsInfo": {
  12307. "get": {
  12308. "security": [
  12309. {
  12310. "ApiKeyAuth": []
  12311. }
  12312. ],
  12313. "produces": [
  12314. "application/json"
  12315. ],
  12316. "tags": [
  12317. "仓单贸易v2"
  12318. ],
  12319. "summary": "查询仓单商品信息",
  12320. "parameters": [
  12321. {
  12322. "type": "integer",
  12323. "description": "仓单贸易市场id",
  12324. "name": "marketid",
  12325. "in": "query"
  12326. },
  12327. {
  12328. "type": "integer",
  12329. "description": "0:仓单预售 1:仓单贸易",
  12330. "name": "haswr",
  12331. "in": "query",
  12332. "required": true
  12333. },
  12334. {
  12335. "type": "integer",
  12336. "description": "仓单要素id",
  12337. "name": "wrfactortypeid",
  12338. "in": "query",
  12339. "required": true
  12340. },
  12341. {
  12342. "type": "integer",
  12343. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12344. "name": "tmplateid",
  12345. "in": "query"
  12346. }
  12347. ],
  12348. "responses": {
  12349. "200": {
  12350. "description": "OK",
  12351. "schema": {
  12352. "type": "array",
  12353. "items": {
  12354. "$ref": "#/definitions/models.WrGoodsInfo"
  12355. }
  12356. }
  12357. },
  12358. "500": {
  12359. "description": "Internal Server Error",
  12360. "schema": {
  12361. "$ref": "#/definitions/app.Response"
  12362. }
  12363. }
  12364. }
  12365. }
  12366. },
  12367. "/WrTrade2/QueryWrMarketTradeConfig": {
  12368. "get": {
  12369. "security": [
  12370. {
  12371. "ApiKeyAuth": []
  12372. }
  12373. ],
  12374. "produces": [
  12375. "application/json"
  12376. ],
  12377. "tags": [
  12378. "仓单贸易v2"
  12379. ],
  12380. "summary": "查询市场交易参数配置",
  12381. "parameters": [
  12382. {
  12383. "type": "integer",
  12384. "description": "市场id",
  12385. "name": "marketid",
  12386. "in": "query"
  12387. }
  12388. ],
  12389. "responses": {
  12390. "200": {
  12391. "description": "OK",
  12392. "schema": {
  12393. "type": "array",
  12394. "items": {
  12395. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12396. }
  12397. }
  12398. },
  12399. "500": {
  12400. "description": "Internal Server Error",
  12401. "schema": {
  12402. "$ref": "#/definitions/app.Response"
  12403. }
  12404. }
  12405. }
  12406. }
  12407. },
  12408. "/WrTrade2/QueryWrOrderDetail": {
  12409. "get": {
  12410. "security": [
  12411. {
  12412. "ApiKeyAuth": []
  12413. }
  12414. ],
  12415. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12416. "produces": [
  12417. "application/json"
  12418. ],
  12419. "tags": [
  12420. "仓单贸易v2"
  12421. ],
  12422. "summary": "查询仓单委托单(挂单)",
  12423. "parameters": [
  12424. {
  12425. "type": "integer",
  12426. "description": "页码",
  12427. "name": "page",
  12428. "in": "query"
  12429. },
  12430. {
  12431. "type": "integer",
  12432. "description": "每页条数",
  12433. "name": "pagesize",
  12434. "in": "query"
  12435. },
  12436. {
  12437. "type": "integer",
  12438. "description": "用户id",
  12439. "name": "userid",
  12440. "in": "query",
  12441. "required": true
  12442. },
  12443. {
  12444. "type": "integer",
  12445. "description": "仓单贸易市场id",
  12446. "name": "marketid",
  12447. "in": "query"
  12448. },
  12449. {
  12450. "type": "integer",
  12451. "description": "0:仓单预售 1:仓单贸易",
  12452. "name": "haswr",
  12453. "in": "query",
  12454. "required": true
  12455. }
  12456. ],
  12457. "responses": {
  12458. "200": {
  12459. "description": "OK",
  12460. "schema": {
  12461. "type": "array",
  12462. "items": {
  12463. "$ref": "#/definitions/models.WrOrderDetail"
  12464. }
  12465. }
  12466. },
  12467. "500": {
  12468. "description": "Internal Server Error",
  12469. "schema": {
  12470. "$ref": "#/definitions/app.Response"
  12471. }
  12472. }
  12473. }
  12474. }
  12475. },
  12476. "/WrTrade2/QueryWrOutInApply": {
  12477. "get": {
  12478. "security": [
  12479. {
  12480. "ApiKeyAuth": []
  12481. }
  12482. ],
  12483. "produces": [
  12484. "application/json"
  12485. ],
  12486. "tags": [
  12487. "仓单贸易v2"
  12488. ],
  12489. "summary": "查询提货申请",
  12490. "parameters": [
  12491. {
  12492. "type": "integer",
  12493. "description": "用户id",
  12494. "name": "userid",
  12495. "in": "query",
  12496. "required": true
  12497. }
  12498. ],
  12499. "responses": {
  12500. "200": {
  12501. "description": "OK",
  12502. "schema": {
  12503. "type": "array",
  12504. "items": {
  12505. "$ref": "#/definitions/models.WrOutInApply"
  12506. }
  12507. }
  12508. },
  12509. "500": {
  12510. "description": "Internal Server Error",
  12511. "schema": {
  12512. "$ref": "#/definitions/app.Response"
  12513. }
  12514. }
  12515. }
  12516. }
  12517. },
  12518. "/WrTrade2/QueryWrPerformancePlanStep": {
  12519. "get": {
  12520. "security": [
  12521. {
  12522. "ApiKeyAuth": []
  12523. }
  12524. ],
  12525. "produces": [
  12526. "application/json"
  12527. ],
  12528. "tags": [
  12529. "仓单贸易v2"
  12530. ],
  12531. "summary": "查询履约信息详情",
  12532. "parameters": [
  12533. {
  12534. "type": "integer",
  12535. "description": "履约计划id(performanceplanid)",
  12536. "name": "planid",
  12537. "in": "query",
  12538. "required": true
  12539. },
  12540. {
  12541. "type": "integer",
  12542. "description": "当前步骤id",
  12543. "name": "curstepid",
  12544. "in": "query"
  12545. }
  12546. ],
  12547. "responses": {
  12548. "200": {
  12549. "description": "OK",
  12550. "schema": {
  12551. "type": "array",
  12552. "items": {
  12553. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12554. }
  12555. }
  12556. },
  12557. "500": {
  12558. "description": "Internal Server Error",
  12559. "schema": {
  12560. "$ref": "#/definitions/app.Response"
  12561. }
  12562. }
  12563. }
  12564. }
  12565. },
  12566. "/WrTrade2/QueryWrPerformanceStepType": {
  12567. "get": {
  12568. "security": [
  12569. {
  12570. "ApiKeyAuth": []
  12571. }
  12572. ],
  12573. "produces": [
  12574. "application/json"
  12575. ],
  12576. "tags": [
  12577. "仓单贸易v2"
  12578. ],
  12579. "summary": "查询履约步骤枚举",
  12580. "responses": {
  12581. "200": {
  12582. "description": "OK",
  12583. "schema": {
  12584. "type": "array",
  12585. "items": {
  12586. "$ref": "#/definitions/models.WrPerformanceStepType"
  12587. }
  12588. }
  12589. },
  12590. "500": {
  12591. "description": "Internal Server Error",
  12592. "schema": {
  12593. "$ref": "#/definitions/app.Response"
  12594. }
  12595. }
  12596. }
  12597. }
  12598. },
  12599. "/WrTrade2/QueryWrPosition": {
  12600. "get": {
  12601. "security": [
  12602. {
  12603. "ApiKeyAuth": []
  12604. }
  12605. ],
  12606. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12607. "produces": [
  12608. "application/json"
  12609. ],
  12610. "tags": [
  12611. "仓单贸易v2"
  12612. ],
  12613. "summary": "查询现货(预售)仓单持仓",
  12614. "parameters": [
  12615. {
  12616. "type": "integer",
  12617. "description": "用户id",
  12618. "name": "userid",
  12619. "in": "query",
  12620. "required": true
  12621. },
  12622. {
  12623. "type": "integer",
  12624. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12625. "name": "querytype",
  12626. "in": "query",
  12627. "required": true
  12628. },
  12629. {
  12630. "type": "integer",
  12631. "description": "0:仓单预售 1:仓单贸易",
  12632. "name": "haswr",
  12633. "in": "query",
  12634. "required": true
  12635. },
  12636. {
  12637. "type": "string",
  12638. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12639. "name": "dgitemname",
  12640. "in": "query"
  12641. },
  12642. {
  12643. "type": "integer",
  12644. "description": "仓库id(筛选条件)",
  12645. "name": "warehouseid",
  12646. "in": "query"
  12647. },
  12648. {
  12649. "type": "integer",
  12650. "description": "品种id",
  12651. "name": "deliverygoodsid",
  12652. "in": "query"
  12653. },
  12654. {
  12655. "type": "integer",
  12656. "description": "品类id",
  12657. "name": "wrstandardid",
  12658. "in": "query"
  12659. }
  12660. ],
  12661. "responses": {
  12662. "200": {
  12663. "description": "OK",
  12664. "schema": {
  12665. "type": "array",
  12666. "items": {
  12667. "$ref": "#/definitions/models.WrPosition"
  12668. }
  12669. }
  12670. },
  12671. "500": {
  12672. "description": "Internal Server Error",
  12673. "schema": {
  12674. "$ref": "#/definitions/app.Response"
  12675. }
  12676. }
  12677. }
  12678. }
  12679. },
  12680. "/WrTrade2/QueryWrScfContract": {
  12681. "get": {
  12682. "security": [
  12683. {
  12684. "ApiKeyAuth": []
  12685. }
  12686. ],
  12687. "produces": [
  12688. "application/json"
  12689. ],
  12690. "tags": [
  12691. "仓单贸易v2"
  12692. ],
  12693. "summary": "查询仓单贸易融资合同",
  12694. "parameters": [
  12695. {
  12696. "type": "integer",
  12697. "description": "用户id",
  12698. "name": "userid",
  12699. "in": "query",
  12700. "required": true
  12701. },
  12702. {
  12703. "type": "integer",
  12704. "description": "融资合同id",
  12705. "name": "scfcontractid",
  12706. "in": "query"
  12707. }
  12708. ],
  12709. "responses": {
  12710. "200": {
  12711. "description": "OK",
  12712. "schema": {
  12713. "type": "array",
  12714. "items": {
  12715. "$ref": "#/definitions/models.WrScfContract"
  12716. }
  12717. }
  12718. },
  12719. "500": {
  12720. "description": "Internal Server Error",
  12721. "schema": {
  12722. "$ref": "#/definitions/app.Response"
  12723. }
  12724. }
  12725. }
  12726. }
  12727. },
  12728. "/WrTrade2/QueryWrScfContractInterest": {
  12729. "get": {
  12730. "security": [
  12731. {
  12732. "ApiKeyAuth": []
  12733. }
  12734. ],
  12735. "produces": [
  12736. "application/json"
  12737. ],
  12738. "tags": [
  12739. "仓单贸易v2"
  12740. ],
  12741. "summary": "查询融资合同费用明细",
  12742. "parameters": [
  12743. {
  12744. "type": "integer",
  12745. "description": "融资合同id",
  12746. "name": "scfcontractid",
  12747. "in": "query"
  12748. }
  12749. ],
  12750. "responses": {
  12751. "200": {
  12752. "description": "OK",
  12753. "schema": {
  12754. "type": "array",
  12755. "items": {
  12756. "$ref": "#/definitions/models.WrScfContractInterest"
  12757. }
  12758. }
  12759. },
  12760. "500": {
  12761. "description": "Internal Server Error",
  12762. "schema": {
  12763. "$ref": "#/definitions/app.Response"
  12764. }
  12765. }
  12766. }
  12767. }
  12768. },
  12769. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12770. "get": {
  12771. "security": [
  12772. {
  12773. "ApiKeyAuth": []
  12774. }
  12775. ],
  12776. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12777. "produces": [
  12778. "application/json"
  12779. ],
  12780. "tags": [
  12781. "仓单贸易v2"
  12782. ],
  12783. "summary": "查询指定成交",
  12784. "parameters": [
  12785. {
  12786. "type": "integer",
  12787. "description": "页码",
  12788. "name": "page",
  12789. "in": "query"
  12790. },
  12791. {
  12792. "type": "integer",
  12793. "description": "每页条数",
  12794. "name": "pagesize",
  12795. "in": "query"
  12796. },
  12797. {
  12798. "type": "integer",
  12799. "description": "用户id",
  12800. "name": "userid",
  12801. "in": "query",
  12802. "required": true
  12803. },
  12804. {
  12805. "type": "integer",
  12806. "description": "仓单贸易市场id",
  12807. "name": "marketid",
  12808. "in": "query"
  12809. },
  12810. {
  12811. "type": "integer",
  12812. "description": "0:仓单预售 1:仓单贸易",
  12813. "name": "haswr",
  12814. "in": "query",
  12815. "required": true
  12816. }
  12817. ],
  12818. "responses": {
  12819. "200": {
  12820. "description": "OK",
  12821. "schema": {
  12822. "type": "array",
  12823. "items": {
  12824. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12825. }
  12826. }
  12827. },
  12828. "500": {
  12829. "description": "Internal Server Error",
  12830. "schema": {
  12831. "$ref": "#/definitions/app.Response"
  12832. }
  12833. }
  12834. }
  12835. }
  12836. },
  12837. "/WrTrade2/QueryWrStandardFactoryItem": {
  12838. "get": {
  12839. "security": [
  12840. {
  12841. "ApiKeyAuth": []
  12842. }
  12843. ],
  12844. "produces": [
  12845. "application/json"
  12846. ],
  12847. "tags": [
  12848. "仓单贸易v2"
  12849. ],
  12850. "summary": "查询品类要素定义项",
  12851. "parameters": [
  12852. {
  12853. "type": "integer",
  12854. "description": "品类id",
  12855. "name": "wrstandardid",
  12856. "in": "query",
  12857. "required": true
  12858. }
  12859. ],
  12860. "responses": {
  12861. "200": {
  12862. "description": "OK",
  12863. "schema": {
  12864. "type": "array",
  12865. "items": {
  12866. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12867. }
  12868. }
  12869. },
  12870. "500": {
  12871. "description": "Internal Server Error",
  12872. "schema": {
  12873. "$ref": "#/definitions/app.Response"
  12874. }
  12875. }
  12876. }
  12877. }
  12878. },
  12879. "/WrTrade2/QueryWrTradeBargainApply": {
  12880. "get": {
  12881. "security": [
  12882. {
  12883. "ApiKeyAuth": []
  12884. }
  12885. ],
  12886. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12887. "produces": [
  12888. "application/json"
  12889. ],
  12890. "tags": [
  12891. "仓单贸易v2"
  12892. ],
  12893. "summary": "查询议价单",
  12894. "parameters": [
  12895. {
  12896. "type": "integer",
  12897. "description": "议价人id(摘牌方)",
  12898. "name": "userid",
  12899. "in": "query"
  12900. },
  12901. {
  12902. "type": "integer",
  12903. "description": "关联委托单id",
  12904. "name": "wrtradeorderid",
  12905. "in": "query"
  12906. },
  12907. {
  12908. "type": "integer",
  12909. "description": "0:仓单预售 1:仓单贸易",
  12910. "name": "haswr",
  12911. "in": "query",
  12912. "required": true
  12913. }
  12914. ],
  12915. "responses": {
  12916. "200": {
  12917. "description": "OK",
  12918. "schema": {
  12919. "type": "array",
  12920. "items": {
  12921. "$ref": "#/definitions/models.WRTradeBargainApply"
  12922. }
  12923. }
  12924. },
  12925. "500": {
  12926. "description": "Internal Server Error",
  12927. "schema": {
  12928. "$ref": "#/definitions/app.Response"
  12929. }
  12930. }
  12931. }
  12932. }
  12933. },
  12934. "/WrTrade2/QueryWrTradeDetail": {
  12935. "get": {
  12936. "security": [
  12937. {
  12938. "ApiKeyAuth": []
  12939. }
  12940. ],
  12941. "produces": [
  12942. "application/json"
  12943. ],
  12944. "tags": [
  12945. "仓单贸易v2"
  12946. ],
  12947. "summary": "查询仓单成交明细",
  12948. "parameters": [
  12949. {
  12950. "type": "integer",
  12951. "description": "页码",
  12952. "name": "page",
  12953. "in": "query"
  12954. },
  12955. {
  12956. "type": "integer",
  12957. "description": "每页条数",
  12958. "name": "pagesize",
  12959. "in": "query"
  12960. },
  12961. {
  12962. "type": "integer",
  12963. "description": "用户id",
  12964. "name": "userid",
  12965. "in": "query",
  12966. "required": true
  12967. },
  12968. {
  12969. "type": "integer",
  12970. "description": "仓单贸易市场id",
  12971. "name": "marketid",
  12972. "in": "query"
  12973. },
  12974. {
  12975. "type": "integer",
  12976. "description": "0:仓单预售 1:仓单贸易",
  12977. "name": "haswr",
  12978. "in": "query",
  12979. "required": true
  12980. }
  12981. ],
  12982. "responses": {
  12983. "200": {
  12984. "description": "OK",
  12985. "schema": {
  12986. "type": "array",
  12987. "items": {
  12988. "$ref": "#/definitions/models.WrTradeDetail"
  12989. }
  12990. }
  12991. },
  12992. "500": {
  12993. "description": "Internal Server Error",
  12994. "schema": {
  12995. "$ref": "#/definitions/app.Response"
  12996. }
  12997. }
  12998. }
  12999. }
  13000. },
  13001. "/WrTrade2/QueryWrTradeOrderDetail": {
  13002. "get": {
  13003. "security": [
  13004. {
  13005. "ApiKeyAuth": []
  13006. }
  13007. ],
  13008. "produces": [
  13009. "application/json"
  13010. ],
  13011. "tags": [
  13012. "仓单贸易v2"
  13013. ],
  13014. "summary": "查询合约交易买卖大厅",
  13015. "parameters": [
  13016. {
  13017. "type": "integer",
  13018. "description": "页码",
  13019. "name": "page",
  13020. "in": "query"
  13021. },
  13022. {
  13023. "type": "integer",
  13024. "description": "每页条数",
  13025. "name": "pagesize",
  13026. "in": "query"
  13027. },
  13028. {
  13029. "type": "integer",
  13030. "description": "商品id",
  13031. "name": "goodsid",
  13032. "in": "query",
  13033. "required": true
  13034. },
  13035. {
  13036. "type": "integer",
  13037. "description": "买卖方向 0-买 1-卖",
  13038. "name": "buyorsell",
  13039. "in": "query",
  13040. "required": true
  13041. }
  13042. ],
  13043. "responses": {
  13044. "200": {
  13045. "description": "OK",
  13046. "schema": {
  13047. "type": "array",
  13048. "items": {
  13049. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13050. }
  13051. }
  13052. },
  13053. "500": {
  13054. "description": "Internal Server Error",
  13055. "schema": {
  13056. "$ref": "#/definitions/app.Response"
  13057. }
  13058. }
  13059. }
  13060. }
  13061. },
  13062. "/WrTrade2/QueryWrUserFriend": {
  13063. "get": {
  13064. "security": [
  13065. {
  13066. "ApiKeyAuth": []
  13067. }
  13068. ],
  13069. "produces": [
  13070. "application/json"
  13071. ],
  13072. "tags": [
  13073. "仓单贸易v2"
  13074. ],
  13075. "summary": "查询我的朋友",
  13076. "parameters": [
  13077. {
  13078. "type": "integer",
  13079. "description": "用户id",
  13080. "name": "userid",
  13081. "in": "query",
  13082. "required": true
  13083. },
  13084. {
  13085. "type": "integer",
  13086. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13087. "name": "newuserid",
  13088. "in": "query"
  13089. }
  13090. ],
  13091. "responses": {
  13092. "200": {
  13093. "description": "OK",
  13094. "schema": {
  13095. "type": "array",
  13096. "items": {
  13097. "$ref": "#/definitions/models.WrUserFriend"
  13098. }
  13099. }
  13100. },
  13101. "500": {
  13102. "description": "Internal Server Error",
  13103. "schema": {
  13104. "$ref": "#/definitions/app.Response"
  13105. }
  13106. }
  13107. }
  13108. }
  13109. }
  13110. },
  13111. "definitions": {
  13112. "app.Response": {
  13113. "type": "object",
  13114. "properties": {
  13115. "code": {
  13116. "type": "integer"
  13117. },
  13118. "data": {
  13119. "type": "object"
  13120. },
  13121. "msg": {
  13122. "type": "string"
  13123. },
  13124. "page": {
  13125. "description": "页码",
  13126. "type": "integer"
  13127. },
  13128. "pagesize": {
  13129. "description": "每页条数",
  13130. "type": "integer"
  13131. },
  13132. "total": {
  13133. "description": "总条数",
  13134. "type": "integer"
  13135. }
  13136. }
  13137. },
  13138. "common.ClientMenu": {
  13139. "type": "object",
  13140. "properties": {
  13141. "children": {
  13142. "description": "子菜单列表",
  13143. "type": "array",
  13144. "items": {
  13145. "$ref": "#/definitions/common.ClientMenu"
  13146. }
  13147. },
  13148. "code": {
  13149. "description": "ID",
  13150. "type": "string"
  13151. },
  13152. "isshow": {
  13153. "description": "是否显示",
  13154. "type": "boolean"
  13155. },
  13156. "remark": {
  13157. "description": "备注",
  13158. "type": "string"
  13159. },
  13160. "rulekey": {
  13161. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13162. "type": "string"
  13163. },
  13164. "sort": {
  13165. "description": "排序",
  13166. "type": "integer"
  13167. },
  13168. "title": {
  13169. "description": "标题",
  13170. "type": "string"
  13171. },
  13172. "type": {
  13173. "description": "类型,1:菜单 2:按钮",
  13174. "type": "integer"
  13175. },
  13176. "url": {
  13177. "description": "URL",
  13178. "type": "string"
  13179. }
  13180. }
  13181. },
  13182. "common.QueryImageConfigsRsp": {
  13183. "type": "object",
  13184. "required": [
  13185. "configid"
  13186. ],
  13187. "properties": {
  13188. "areauserid": {
  13189. "description": "所属机构ID",
  13190. "type": "integer"
  13191. },
  13192. "configid": {
  13193. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13194. "type": "integer"
  13195. },
  13196. "createdate": {
  13197. "description": "创建时间",
  13198. "type": "string"
  13199. },
  13200. "creatorid": {
  13201. "description": "创建人",
  13202. "type": "integer"
  13203. },
  13204. "imagepath": {
  13205. "description": "图片",
  13206. "type": "string"
  13207. },
  13208. "imagetype": {
  13209. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13210. "type": "integer"
  13211. },
  13212. "isshow": {
  13213. "description": "是否展示 - 0:不展示 1:展示",
  13214. "type": "integer"
  13215. },
  13216. "marketid": {
  13217. "description": "市场ID",
  13218. "type": "integer"
  13219. },
  13220. "modifierid": {
  13221. "description": "操作人",
  13222. "type": "integer"
  13223. },
  13224. "sort": {
  13225. "description": "排序",
  13226. "type": "integer"
  13227. },
  13228. "title": {
  13229. "description": "标题",
  13230. "type": "string"
  13231. },
  13232. "trademode": {
  13233. "description": "交易模式",
  13234. "type": "integer"
  13235. },
  13236. "updatedate": {
  13237. "description": "修改时间",
  13238. "type": "string"
  13239. },
  13240. "url": {
  13241. "description": "链接(地址或商品ID)",
  13242. "type": "string"
  13243. },
  13244. "urltype": {
  13245. "description": "链接类型 - 1:直接地址 2:商品ID",
  13246. "type": "integer"
  13247. }
  13248. }
  13249. },
  13250. "common.QueryNoticeRsp": {
  13251. "type": "object",
  13252. "required": [
  13253. "autoid"
  13254. ],
  13255. "properties": {
  13256. "auditoruserid": {
  13257. "description": "审核人",
  13258. "type": "integer"
  13259. },
  13260. "auditremark": {
  13261. "description": "审核备注",
  13262. "type": "string"
  13263. },
  13264. "audittime": {
  13265. "description": "审核日期",
  13266. "type": "string"
  13267. },
  13268. "autoid": {
  13269. "description": "自增ID",
  13270. "type": "integer"
  13271. },
  13272. "content": {
  13273. "description": "内容",
  13274. "type": "string"
  13275. },
  13276. "createtime": {
  13277. "description": "创建时间",
  13278. "type": "string"
  13279. },
  13280. "creatorid": {
  13281. "description": "建仓人",
  13282. "type": "integer"
  13283. },
  13284. "endtime": {
  13285. "description": "结束时间",
  13286. "type": "string"
  13287. },
  13288. "istop": {
  13289. "description": "是否置顶 - 0:不置顶 1:置顶",
  13290. "type": "integer"
  13291. },
  13292. "msgiconurl": {
  13293. "description": "消息图标Url",
  13294. "type": "string"
  13295. },
  13296. "msgtype": {
  13297. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13298. "type": "integer"
  13299. },
  13300. "publisher": {
  13301. "description": "消息发布者",
  13302. "type": "string"
  13303. },
  13304. "readed": {
  13305. "description": "是否已读",
  13306. "type": "boolean"
  13307. },
  13308. "scheduletime": {
  13309. "description": "计划发送时间",
  13310. "type": "string"
  13311. },
  13312. "sendtype": {
  13313. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13314. "type": "integer"
  13315. },
  13316. "sentstatus": {
  13317. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13318. "type": "integer"
  13319. },
  13320. "title": {
  13321. "description": "标题",
  13322. "type": "string"
  13323. },
  13324. "userid": {
  13325. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13326. "type": "integer"
  13327. }
  13328. }
  13329. },
  13330. "common.QueryProvincesAndCitiesRsp": {
  13331. "type": "object",
  13332. "properties": {
  13333. "cities": {
  13334. "description": "市",
  13335. "type": "array",
  13336. "items": {
  13337. "$ref": "#/definitions/models.Division"
  13338. }
  13339. },
  13340. "province": {
  13341. "description": "省",
  13342. "$ref": "#/definitions/models.Division"
  13343. }
  13344. }
  13345. },
  13346. "common.QueryTableDefineRsp": {
  13347. "type": "object",
  13348. "required": [
  13349. "tablekey"
  13350. ],
  13351. "properties": {
  13352. "columns": {
  13353. "description": "列头信息数组",
  13354. "type": "array",
  13355. "items": {
  13356. "$ref": "#/definitions/models.Tablecolumnconfig"
  13357. }
  13358. },
  13359. "remark": {
  13360. "description": "Remark",
  13361. "type": "string"
  13362. },
  13363. "tabelmenu": {
  13364. "description": "列表菜单",
  13365. "type": "string"
  13366. },
  13367. "tablekey": {
  13368. "description": "列表Key",
  13369. "type": "string"
  13370. },
  13371. "tablename": {
  13372. "description": "列表名称",
  13373. "type": "string"
  13374. },
  13375. "tabletype": {
  13376. "description": "列表类型 - 1:管理端 2:终端",
  13377. "type": "integer"
  13378. }
  13379. }
  13380. },
  13381. "common.QueryTraderMenuRsp": {
  13382. "type": "object",
  13383. "properties": {
  13384. "OperationMenu": {
  13385. "description": "功能菜单",
  13386. "type": "array",
  13387. "items": {
  13388. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13389. }
  13390. },
  13391. "QuoteMenu": {
  13392. "description": "报价牌分类菜单",
  13393. "type": "array",
  13394. "items": {
  13395. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13396. }
  13397. }
  13398. }
  13399. },
  13400. "cptrade.Cptradepositioncancel": {
  13401. "type": "object",
  13402. "required": [
  13403. "cancelid"
  13404. ],
  13405. "properties": {
  13406. "accountid": {
  13407. "description": "申请人账户ID",
  13408. "type": "integer"
  13409. },
  13410. "applystatus": {
  13411. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13412. "type": "integer"
  13413. },
  13414. "applytime": {
  13415. "description": "申请时间",
  13416. "type": "string"
  13417. },
  13418. "cancelid": {
  13419. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13420. "type": "integer"
  13421. },
  13422. "cancelqty": {
  13423. "description": "注销数量",
  13424. "type": "integer"
  13425. },
  13426. "createtime": {
  13427. "description": "创建时间",
  13428. "type": "string"
  13429. },
  13430. "creatorid": {
  13431. "description": "创建人ID",
  13432. "type": "integer"
  13433. },
  13434. "creatorname": {
  13435. "description": "创建人",
  13436. "type": "string"
  13437. },
  13438. "goodscode": {
  13439. "description": "订单商品代码",
  13440. "type": "string"
  13441. },
  13442. "goodsid": {
  13443. "description": "商品ID",
  13444. "type": "integer"
  13445. },
  13446. "goodsname": {
  13447. "description": "订单商品名称",
  13448. "type": "string"
  13449. },
  13450. "goodunit": {
  13451. "description": "报价单位",
  13452. "type": "string"
  13453. },
  13454. "handlestatus": {
  13455. "description": "处理状态",
  13456. "type": "integer"
  13457. },
  13458. "marketid": {
  13459. "description": "市场ID",
  13460. "type": "integer"
  13461. },
  13462. "marketname": {
  13463. "description": "市场名称",
  13464. "type": "string"
  13465. },
  13466. "tradedate": {
  13467. "description": "交易日(yyyyMMdd)",
  13468. "type": "string"
  13469. },
  13470. "userid": {
  13471. "description": "申请人ID",
  13472. "type": "integer"
  13473. }
  13474. }
  13475. },
  13476. "cptrade.Cptradepresaleapply": {
  13477. "type": "object",
  13478. "required": [
  13479. "applyid"
  13480. ],
  13481. "properties": {
  13482. "accountid": {
  13483. "description": "申请人账户ID",
  13484. "type": "integer"
  13485. },
  13486. "applyid": {
  13487. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13488. "type": "integer"
  13489. },
  13490. "applyremark": {
  13491. "description": "申请备注",
  13492. "type": "string"
  13493. },
  13494. "applystatus": {
  13495. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13496. "type": "integer"
  13497. },
  13498. "applytime": {
  13499. "description": "申请时间",
  13500. "type": "string"
  13501. },
  13502. "attachmenturl": {
  13503. "description": "附件地址",
  13504. "type": "string"
  13505. },
  13506. "endtime": {
  13507. "description": "预售结束时间",
  13508. "type": "string"
  13509. },
  13510. "goodscode": {
  13511. "description": "商品代码",
  13512. "type": "string"
  13513. },
  13514. "goodsid": {
  13515. "description": "商品ID",
  13516. "type": "integer"
  13517. },
  13518. "goodsname": {
  13519. "description": "商品名称",
  13520. "type": "string"
  13521. },
  13522. "goodunit": {
  13523. "description": "报价单位",
  13524. "type": "string"
  13525. },
  13526. "handlestatus": {
  13527. "description": "处理状态",
  13528. "type": "integer"
  13529. },
  13530. "marketid": {
  13531. "description": "预售市场ID",
  13532. "type": "integer"
  13533. },
  13534. "marketname": {
  13535. "description": "预售市场名称",
  13536. "type": "string"
  13537. },
  13538. "presaleqty": {
  13539. "description": "预售数量",
  13540. "type": "integer"
  13541. },
  13542. "relatedgoodscode": {
  13543. "description": "关联交易合约代码",
  13544. "type": "string"
  13545. },
  13546. "relatedgoodsid": {
  13547. "description": "关联交易合约ID",
  13548. "type": "integer"
  13549. },
  13550. "relatedgoodsname": {
  13551. "description": "关联交易合约名称",
  13552. "type": "string"
  13553. },
  13554. "starttime": {
  13555. "description": "预售开始时间",
  13556. "type": "string"
  13557. },
  13558. "tradedate": {
  13559. "description": "交易日(yyyyMMdd)",
  13560. "type": "string"
  13561. },
  13562. "trademode": {
  13563. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13564. "type": "integer"
  13565. },
  13566. "userid": {
  13567. "description": "申请人ID",
  13568. "type": "integer"
  13569. }
  13570. }
  13571. },
  13572. "cptrade.Cptradeusergoodsdata": {
  13573. "type": "object",
  13574. "required": [
  13575. "accountid",
  13576. "goodsid"
  13577. ],
  13578. "properties": {
  13579. "EnabledQty": {
  13580. "description": "可用量",
  13581. "type": "integer"
  13582. },
  13583. "GoodsCode": {
  13584. "description": "订单商品代码",
  13585. "type": "string"
  13586. },
  13587. "GoodsName": {
  13588. "description": "订单商品名称",
  13589. "type": "string"
  13590. },
  13591. "WRStandardCode": {
  13592. "description": "仓单标准代码",
  13593. "type": "string"
  13594. },
  13595. "WRStandardName": {
  13596. "description": "仓单标准名称",
  13597. "type": "string"
  13598. },
  13599. "accountid": {
  13600. "description": "账户ID",
  13601. "type": "integer"
  13602. },
  13603. "cancelqty": {
  13604. "description": "注销量",
  13605. "type": "integer"
  13606. },
  13607. "curpresaleqty": {
  13608. "description": "当前预售量",
  13609. "type": "integer"
  13610. },
  13611. "deliveryqty": {
  13612. "description": "交割量",
  13613. "type": "integer"
  13614. },
  13615. "freezeamount": {
  13616. "description": "冻结金额",
  13617. "type": "number"
  13618. },
  13619. "goodsid": {
  13620. "description": "商品ID",
  13621. "type": "integer"
  13622. },
  13623. "goodunit": {
  13624. "description": "报价单位",
  13625. "type": "string"
  13626. },
  13627. "hasspotfreeze": {
  13628. "description": "是否有现货冻结 - 0:否 1:有",
  13629. "type": "integer"
  13630. },
  13631. "inqty": {
  13632. "description": "转入量(总数量)",
  13633. "type": "integer"
  13634. },
  13635. "marketid": {
  13636. "description": "市场ID",
  13637. "type": "integer"
  13638. },
  13639. "presaledamount": {
  13640. "description": "已预售总金额",
  13641. "type": "integer"
  13642. },
  13643. "presaledqty": {
  13644. "description": "已预售量",
  13645. "type": "integer"
  13646. },
  13647. "userid": {
  13648. "description": "用户ID",
  13649. "type": "integer"
  13650. },
  13651. "wrstandardid": {
  13652. "description": "仓单标准ID",
  13653. "type": "integer"
  13654. }
  13655. }
  13656. },
  13657. "cptrade.QueryCPTradeMyBidRsp": {
  13658. "type": "object",
  13659. "required": [
  13660. "accountid",
  13661. "goodsid",
  13662. "marketid",
  13663. "orderid",
  13664. "orderqty",
  13665. "ordertime",
  13666. "tradeprice",
  13667. "tradeqty"
  13668. ],
  13669. "properties": {
  13670. "accountid": {
  13671. "description": "账户ID[报价币种]",
  13672. "type": "integer"
  13673. },
  13674. "goodsid": {
  13675. "description": "商品ID",
  13676. "type": "integer"
  13677. },
  13678. "goodunit": {
  13679. "description": "报价单位",
  13680. "type": "string"
  13681. },
  13682. "marketid": {
  13683. "description": "市场ID",
  13684. "type": "integer"
  13685. },
  13686. "orderid": {
  13687. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13688. "type": "integer"
  13689. },
  13690. "orderprice": {
  13691. "description": "委托价格",
  13692. "type": "number"
  13693. },
  13694. "orderqty": {
  13695. "description": "委托数量",
  13696. "type": "integer"
  13697. },
  13698. "ordertime": {
  13699. "description": "委托时间",
  13700. "type": "string"
  13701. },
  13702. "ordertotalprice": {
  13703. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13704. "type": "number"
  13705. },
  13706. "ordertotalweight": {
  13707. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13708. "type": "integer"
  13709. },
  13710. "totaltotalprice": {
  13711. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13712. "type": "number"
  13713. },
  13714. "tradeprice": {
  13715. "description": "成交价格",
  13716. "type": "number"
  13717. },
  13718. "tradeqty": {
  13719. "description": "成交数量",
  13720. "type": "integer"
  13721. }
  13722. }
  13723. },
  13724. "cptrade.QueryCPTradeOrderDetailRsq": {
  13725. "type": "object",
  13726. "required": [
  13727. "accountid",
  13728. "buildtype",
  13729. "buyorsell",
  13730. "goodsid",
  13731. "marketid",
  13732. "memberuserid",
  13733. "operatetype",
  13734. "orderqty",
  13735. "ordertime",
  13736. "pricemode",
  13737. "strorderid",
  13738. "tradedate",
  13739. "validtype"
  13740. ],
  13741. "properties": {
  13742. "accountid": {
  13743. "description": "账户ID[报价币种]",
  13744. "type": "integer"
  13745. },
  13746. "buildtype": {
  13747. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13748. "type": "integer"
  13749. },
  13750. "buyorsell": {
  13751. "description": "买卖 - 0:买 1:卖",
  13752. "type": "integer"
  13753. },
  13754. "cancelorderid": {
  13755. "description": "撤单单号(撤单时填写)",
  13756. "type": "integer"
  13757. },
  13758. "cancelqty": {
  13759. "description": "撤单数量",
  13760. "type": "integer"
  13761. },
  13762. "clientordertime": {
  13763. "description": "客户端委托时间",
  13764. "type": "string"
  13765. },
  13766. "clientticket": {
  13767. "description": "客户端流水号",
  13768. "type": "string"
  13769. },
  13770. "clienttype": {
  13771. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13772. "type": "integer"
  13773. },
  13774. "closeexchagechargevalue": {
  13775. "description": "平仓交易所手续费设置值",
  13776. "type": "number"
  13777. },
  13778. "closefeealgorithm": {
  13779. "description": "平仓手续费收取方式 1:比率 2:固定",
  13780. "type": "integer"
  13781. },
  13782. "closefreezecharge": {
  13783. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13784. "type": "number"
  13785. },
  13786. "closememberchargevalue": {
  13787. "description": "平仓会员手续费设置值",
  13788. "type": "number"
  13789. },
  13790. "closeqty": {
  13791. "description": "平仓数量(先建后平操作 需要记录)",
  13792. "type": "integer"
  13793. },
  13794. "closetradeqty": {
  13795. "description": "平仓成交数量(先建后平操作,需要记录)",
  13796. "type": "integer"
  13797. },
  13798. "closeunfreezecharge": {
  13799. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13800. "type": "number"
  13801. },
  13802. "delistingtype": {
  13803. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13804. "type": "integer"
  13805. },
  13806. "freezecharge": {
  13807. "description": "冻结手续费",
  13808. "type": "number"
  13809. },
  13810. "freezemargin": {
  13811. "description": "冻结保证金(冻结交易金额)",
  13812. "type": "number"
  13813. },
  13814. "gcaccountid": {
  13815. "description": "账户ID[合约币种]",
  13816. "type": "integer"
  13817. },
  13818. "goodsid": {
  13819. "description": "商品ID",
  13820. "type": "integer"
  13821. },
  13822. "isconfirmexercise": {
  13823. "description": "是否确认行权- 0:否 1:是",
  13824. "type": "integer"
  13825. },
  13826. "ispreexercise": {
  13827. "description": "是否预申报- 0:否 1:是",
  13828. "type": "integer"
  13829. },
  13830. "listingselecttype": {
  13831. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13832. "type": "integer"
  13833. },
  13834. "marginalgorithm": {
  13835. "description": "保证金收取方式 1:比率 2:固定",
  13836. "type": "integer"
  13837. },
  13838. "marginvalue": {
  13839. "description": "即市保证金设置值",
  13840. "type": "number"
  13841. },
  13842. "marketid": {
  13843. "description": "市场ID",
  13844. "type": "integer"
  13845. },
  13846. "marketmaxsub": {
  13847. "description": "市价最大偏移范围",
  13848. "type": "number"
  13849. },
  13850. "memberuserid": {
  13851. "description": "所属会员UserID",
  13852. "type": "integer"
  13853. },
  13854. "openexchagechargevalue": {
  13855. "description": "建仓交易所手续费设置值",
  13856. "type": "number"
  13857. },
  13858. "openfeealgorithm": {
  13859. "description": "建仓手续费收取方式 1:比率 2:固定",
  13860. "type": "integer"
  13861. },
  13862. "openfreezecharge": {
  13863. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13864. "type": "number"
  13865. },
  13866. "openmemberchargevalue": {
  13867. "description": "建仓会员手续费设置值",
  13868. "type": "number"
  13869. },
  13870. "openqty": {
  13871. "description": "开仓数量(先建后平操作,需要记录)",
  13872. "type": "integer"
  13873. },
  13874. "opentradeqty": {
  13875. "description": "开仓成交数量(先建后平操作,需要记录)",
  13876. "type": "integer"
  13877. },
  13878. "openunfreezecharge": {
  13879. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13880. "type": "number"
  13881. },
  13882. "operatetype": {
  13883. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13884. "type": "integer"
  13885. },
  13886. "operatorid": {
  13887. "description": "登录账号(LoginID)",
  13888. "type": "integer"
  13889. },
  13890. "optiontype": {
  13891. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13892. "type": "integer"
  13893. },
  13894. "orderprice": {
  13895. "description": "委托价格",
  13896. "type": "number"
  13897. },
  13898. "orderqty": {
  13899. "description": "委托数量",
  13900. "type": "integer"
  13901. },
  13902. "ordersrc": {
  13903. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13904. "type": "integer"
  13905. },
  13906. "orderstatus": {
  13907. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13908. "type": "integer"
  13909. },
  13910. "ordertime": {
  13911. "description": "委托时间",
  13912. "type": "string"
  13913. },
  13914. "preexerciseprice": {
  13915. "description": "预申报价格",
  13916. "type": "number"
  13917. },
  13918. "premium": {
  13919. "description": "权利金",
  13920. "type": "number"
  13921. },
  13922. "preorderid": {
  13923. "description": "关联预埋单号(止盈止损单时填写)",
  13924. "type": "integer"
  13925. },
  13926. "pricemode": {
  13927. "description": "取价方式 - 1:市价 2: 限价",
  13928. "type": "integer"
  13929. },
  13930. "quoteid": {
  13931. "description": "报价单ID",
  13932. "type": "integer"
  13933. },
  13934. "relatedid": {
  13935. "description": "关联单号(交割单)",
  13936. "type": "integer"
  13937. },
  13938. "retcode": {
  13939. "description": "错误代码",
  13940. "type": "integer"
  13941. },
  13942. "sessionid": {
  13943. "description": "会话ID",
  13944. "type": "integer"
  13945. },
  13946. "strorderid": {
  13947. "description": "委托单号",
  13948. "type": "string"
  13949. },
  13950. "tradedate": {
  13951. "description": "交易日(yyyyMMdd)",
  13952. "type": "string"
  13953. },
  13954. "tradeproperty": {
  13955. "description": "交易属性",
  13956. "type": "integer"
  13957. },
  13958. "tradeqty": {
  13959. "description": "成交数量",
  13960. "type": "integer"
  13961. },
  13962. "unfreezecharge": {
  13963. "description": "解冻手续费",
  13964. "type": "number"
  13965. },
  13966. "unfreezemargin": {
  13967. "description": "解冻保证金",
  13968. "type": "number"
  13969. },
  13970. "updatetime": {
  13971. "description": "更新时间",
  13972. "type": "string"
  13973. },
  13974. "uuid": {
  13975. "description": "发起端唯一id",
  13976. "type": "string"
  13977. },
  13978. "validtime": {
  13979. "description": "有效期限",
  13980. "type": "string"
  13981. },
  13982. "validtype": {
  13983. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13984. "type": "integer"
  13985. },
  13986. "volumetype": {
  13987. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13988. "type": "integer"
  13989. }
  13990. }
  13991. },
  13992. "cptrade.QueryMyCPTradeGoodsRsp": {
  13993. "type": "object",
  13994. "required": [
  13995. "goodscode",
  13996. "goodsid",
  13997. "goodsname",
  13998. "marketid",
  13999. "relatedgoodscode",
  14000. "relatedgoodsname"
  14001. ],
  14002. "properties": {
  14003. "accountid": {
  14004. "description": "卖方账户ID",
  14005. "type": "integer"
  14006. },
  14007. "agreeunit": {
  14008. "description": "合约单位",
  14009. "type": "number"
  14010. },
  14011. "applyid": {
  14012. "description": "关联申请ID",
  14013. "type": "integer"
  14014. },
  14015. "attachmenturl": {
  14016. "description": "附件地址",
  14017. "type": "string"
  14018. },
  14019. "createtime": {
  14020. "description": "创建时间",
  14021. "type": "string"
  14022. },
  14023. "currencyid": {
  14024. "description": "报价货币ID",
  14025. "type": "integer"
  14026. },
  14027. "decimalplace": {
  14028. "description": "报价小数位",
  14029. "type": "integer"
  14030. },
  14031. "endtime": {
  14032. "description": "预售结束时间",
  14033. "type": "string"
  14034. },
  14035. "floorprice": {
  14036. "description": "底价[大宗式竞拍]",
  14037. "type": "number"
  14038. },
  14039. "goodscode": {
  14040. "description": "商品代码(预售)",
  14041. "type": "string"
  14042. },
  14043. "goodsdetail": {
  14044. "description": "详情[大宗]",
  14045. "type": "string"
  14046. },
  14047. "goodsid": {
  14048. "description": "商品ID(自增ID SEQ_GOODS)",
  14049. "type": "integer"
  14050. },
  14051. "goodsname": {
  14052. "description": "商品名称(预售)",
  14053. "type": "string"
  14054. },
  14055. "goodunit": {
  14056. "description": "报价单位",
  14057. "type": "string"
  14058. },
  14059. "goodunitid": {
  14060. "description": "报价单位ID",
  14061. "type": "integer"
  14062. },
  14063. "marketid": {
  14064. "description": "所属市场ID",
  14065. "type": "integer"
  14066. },
  14067. "marketname": {
  14068. "description": "预售市场名称",
  14069. "type": "string"
  14070. },
  14071. "presaledamount": {
  14072. "description": "已预售总金额(预售结束时更新)",
  14073. "type": "number"
  14074. },
  14075. "presaledqty": {
  14076. "description": "已预售量(预售结束时更新)",
  14077. "type": "integer"
  14078. },
  14079. "presalemode": {
  14080. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14081. "type": "integer"
  14082. },
  14083. "presaleqty": {
  14084. "description": "预售数量",
  14085. "type": "integer"
  14086. },
  14087. "refprice": {
  14088. "description": "参考价格[一口价]",
  14089. "type": "number"
  14090. },
  14091. "relatedgoodscode": {
  14092. "description": "商品代码(订单)",
  14093. "type": "string"
  14094. },
  14095. "relatedgoodsid": {
  14096. "description": "关联交易合约ID",
  14097. "type": "integer"
  14098. },
  14099. "relatedgoodsname": {
  14100. "description": "商品名称(订单)",
  14101. "type": "string"
  14102. },
  14103. "relatedmarketid": {
  14104. "description": "关联交易合约市场ID",
  14105. "type": "integer"
  14106. },
  14107. "sellstatus": {
  14108. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14109. "type": "integer"
  14110. },
  14111. "startprice": {
  14112. "description": "起拍价[大宗式竞拍]",
  14113. "type": "number"
  14114. },
  14115. "starttime": {
  14116. "description": "预售开始时间",
  14117. "type": "string"
  14118. },
  14119. "tradedate": {
  14120. "description": "交易日(yyyyMMdd)",
  14121. "type": "string"
  14122. },
  14123. "tradeprice": {
  14124. "description": "成交价[大宗]",
  14125. "type": "number"
  14126. },
  14127. "userid": {
  14128. "description": "卖方用户ID",
  14129. "type": "integer"
  14130. }
  14131. }
  14132. },
  14133. "cptrade.QueryPresaleGoodsExRsp": {
  14134. "type": "object",
  14135. "required": [
  14136. "goodsid"
  14137. ],
  14138. "properties": {
  14139. "attachmenturl": {
  14140. "description": "附件地址",
  14141. "type": "string"
  14142. },
  14143. "createtime": {
  14144. "description": "创建时间",
  14145. "type": "string"
  14146. },
  14147. "endtime": {
  14148. "description": "预售结束时间",
  14149. "type": "string"
  14150. },
  14151. "floorprice": {
  14152. "description": "底价[大宗式竞拍]",
  14153. "type": "number"
  14154. },
  14155. "goodsdetail": {
  14156. "description": "详情[大宗]",
  14157. "type": "string"
  14158. },
  14159. "goodsid": {
  14160. "description": "商品ID(预售)",
  14161. "type": "integer"
  14162. },
  14163. "goodunit": {
  14164. "description": "报价单位",
  14165. "type": "string"
  14166. },
  14167. "marketid": {
  14168. "description": "预售市场ID - 根据预售模式选择市场",
  14169. "type": "integer"
  14170. },
  14171. "presaledamount": {
  14172. "description": "已预售总金额(预售结束时更新)",
  14173. "type": "number"
  14174. },
  14175. "presaledqty": {
  14176. "description": "已预售量(预售结束时更新)",
  14177. "type": "integer"
  14178. },
  14179. "presalemode": {
  14180. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14181. "type": "integer"
  14182. },
  14183. "presaleqty": {
  14184. "description": "预售数量",
  14185. "type": "integer"
  14186. },
  14187. "refprice": {
  14188. "description": "参考价格[一口价]",
  14189. "type": "number"
  14190. },
  14191. "relatedgoodsid": {
  14192. "description": "关联交易合约ID",
  14193. "type": "integer"
  14194. },
  14195. "relatedmarketid": {
  14196. "description": "关联交易合约市场ID",
  14197. "type": "integer"
  14198. },
  14199. "sellstatus": {
  14200. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14201. "type": "integer"
  14202. },
  14203. "startprice": {
  14204. "description": "起拍价[大宗式竞拍]",
  14205. "type": "number"
  14206. },
  14207. "starttime": {
  14208. "description": "预售开始时间",
  14209. "type": "string"
  14210. },
  14211. "tradedate": {
  14212. "description": "交易日(yyyyMMdd)",
  14213. "type": "string"
  14214. },
  14215. "tradeprice": {
  14216. "description": "成交价[大宗]",
  14217. "type": "number"
  14218. }
  14219. }
  14220. },
  14221. "delivery.QueryDeliveryRelationRsp": {
  14222. "type": "object",
  14223. "required": [
  14224. "begindate",
  14225. "enddate",
  14226. "goodsid",
  14227. "mindeliveryqty",
  14228. "xdeliveryratio"
  14229. ],
  14230. "properties": {
  14231. "begindate": {
  14232. "description": "起始日期(yyyyMMdd)",
  14233. "type": "string"
  14234. },
  14235. "buytemplateid": {
  14236. "description": "买履约计划模板ID",
  14237. "type": "integer"
  14238. },
  14239. "deliverygoodscode": {
  14240. "description": "品种代码",
  14241. "type": "string"
  14242. },
  14243. "deliverygoodsid": {
  14244. "description": "交割商品",
  14245. "type": "integer"
  14246. },
  14247. "deliverygoodsname": {
  14248. "description": "品种名称",
  14249. "type": "string"
  14250. },
  14251. "deliverymode": {
  14252. "description": "交割方式 - 1:点选式 2:申报式",
  14253. "type": "integer"
  14254. },
  14255. "deliverypricerule": {
  14256. "description": "交割价规则- 1:行情价 2:建仓价",
  14257. "type": "integer"
  14258. },
  14259. "deliverytype": {
  14260. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14261. "type": "integer"
  14262. },
  14263. "enddate": {
  14264. "description": "结束日期(yyyyMMdd)",
  14265. "type": "string"
  14266. },
  14267. "enumdicname": {
  14268. "description": "品类单位名称",
  14269. "type": "string"
  14270. },
  14271. "goodscode": {
  14272. "description": "商品代码",
  14273. "type": "string"
  14274. },
  14275. "goodsid": {
  14276. "description": "交易合约ID",
  14277. "type": "integer"
  14278. },
  14279. "goodsname": {
  14280. "description": "商品名称",
  14281. "type": "string"
  14282. },
  14283. "marketid": {
  14284. "description": "市场ID",
  14285. "type": "integer"
  14286. },
  14287. "mindeliveryqty": {
  14288. "description": "最小交割系数(K)",
  14289. "type": "integer"
  14290. },
  14291. "p2deliveryprice": {
  14292. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14293. "type": "number"
  14294. },
  14295. "p2deliveryratio": {
  14296. "description": "P2合约系数(p)",
  14297. "type": "integer"
  14298. },
  14299. "p2goodsid": {
  14300. "description": "P2合约ID",
  14301. "type": "integer"
  14302. },
  14303. "p2pricemode": {
  14304. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14305. "type": "integer"
  14306. },
  14307. "pdeliveryprice": {
  14308. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14309. "type": "number"
  14310. },
  14311. "pdeliveryratio": {
  14312. "description": "P合约系数(n)",
  14313. "type": "integer"
  14314. },
  14315. "pgoodscode": {
  14316. "description": "p合约代码",
  14317. "type": "string"
  14318. },
  14319. "pgoodsid": {
  14320. "description": "P合约ID",
  14321. "type": "integer"
  14322. },
  14323. "ppricemode": {
  14324. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14325. "type": "integer"
  14326. },
  14327. "rratio": {
  14328. "description": "兑换系数(R)",
  14329. "type": "integer"
  14330. },
  14331. "rratio1": {
  14332. "description": "兑换系数(交易合约)(R1)",
  14333. "type": "integer"
  14334. },
  14335. "rratio2": {
  14336. "description": "兑换系数(仓单标准)(R2)",
  14337. "type": "integer"
  14338. },
  14339. "selltemplateid": {
  14340. "description": "卖履约计划模板ID",
  14341. "type": "integer"
  14342. },
  14343. "wrstandardid": {
  14344. "description": "仓单标准ID",
  14345. "type": "integer"
  14346. },
  14347. "xdeliveryratio": {
  14348. "description": "交易合约系数(m)",
  14349. "type": "integer"
  14350. }
  14351. }
  14352. },
  14353. "ermcp.ExposureDetailRsp": {
  14354. "type": "object",
  14355. "properties": {
  14356. "areauserid": {
  14357. "description": "机构ID",
  14358. "type": "integer"
  14359. },
  14360. "changeQty": {
  14361. "description": "套保变动量",
  14362. "type": "number"
  14363. },
  14364. "contracttype": {
  14365. "description": "现货合同类型 - 1:采购 -1:销售",
  14366. "type": "integer"
  14367. },
  14368. "convertfactor": {
  14369. "description": "标仓系数",
  14370. "type": "number"
  14371. },
  14372. "convertratio": {
  14373. "description": "套保系数",
  14374. "type": "number"
  14375. },
  14376. "createtime": {
  14377. "description": "时间",
  14378. "type": "string"
  14379. },
  14380. "enumdicname": {
  14381. "description": "现货商品单位名称",
  14382. "type": "string"
  14383. },
  14384. "logtype": {
  14385. "description": "类型 - 1:套保计划 2:现货合同",
  14386. "type": "integer"
  14387. },
  14388. "middlegoodsId": {
  14389. "description": "套保商品id",
  14390. "type": "integer"
  14391. },
  14392. "middlegoodscode": {
  14393. "description": "套保商品代码",
  14394. "type": "string"
  14395. },
  14396. "middlegoodsname": {
  14397. "description": "套保商品名称",
  14398. "type": "string"
  14399. },
  14400. "qty": {
  14401. "description": "数量",
  14402. "type": "number"
  14403. },
  14404. "relateNo": {
  14405. "description": "现货合同/套保计划编号",
  14406. "type": "string"
  14407. },
  14408. "wrstandardcode": {
  14409. "description": "现货商品代码",
  14410. "type": "string"
  14411. },
  14412. "wrstandardid": {
  14413. "description": "现货商品ID",
  14414. "type": "integer"
  14415. },
  14416. "wrstandardname": {
  14417. "description": "现货商品名称",
  14418. "type": "string"
  14419. }
  14420. }
  14421. },
  14422. "ermcp.ExposureHedgePosDetailRsp": {
  14423. "type": "object",
  14424. "properties": {
  14425. "buyorsell": {
  14426. "description": "买卖方向 0-买 1-卖",
  14427. "type": "integer"
  14428. },
  14429. "channelbuildtype": {
  14430. "description": "开平方向 1-建仓 2-平仓",
  14431. "type": "integer"
  14432. },
  14433. "goodscode": {
  14434. "description": "商品代码",
  14435. "type": "string"
  14436. },
  14437. "goodsname": {
  14438. "description": "商品名称",
  14439. "type": "string"
  14440. },
  14441. "hedgegoodsid": {
  14442. "description": "商品id",
  14443. "type": "integer"
  14444. },
  14445. "tradeqty": {
  14446. "description": "数量(成交数量)",
  14447. "type": "integer"
  14448. },
  14449. "tradetime": {
  14450. "description": "时间(成交时间)",
  14451. "type": "string"
  14452. }
  14453. }
  14454. },
  14455. "ermcp.ExposureHedgePositionRsp": {
  14456. "type": "object",
  14457. "properties": {
  14458. "accountid": {
  14459. "description": "资金账号[外部母账户]",
  14460. "type": "integer"
  14461. },
  14462. "curbuyposition": {
  14463. "description": "期末买头寸",
  14464. "type": "integer"
  14465. },
  14466. "cursellposition": {
  14467. "description": "期末卖头寸",
  14468. "type": "integer"
  14469. },
  14470. "curtdbuyposition": {
  14471. "description": "期末今日买头寸",
  14472. "type": "integer"
  14473. },
  14474. "curtdsellposition": {
  14475. "description": "期末今日卖头寸",
  14476. "type": "integer"
  14477. },
  14478. "curydbuyposition": {
  14479. "description": "期末上日买头寸",
  14480. "type": "integer"
  14481. },
  14482. "curydsellposition": {
  14483. "description": "期末上日卖头寸",
  14484. "type": "integer"
  14485. },
  14486. "decreaseqty": {
  14487. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14488. "type": "integer"
  14489. },
  14490. "fretdbuyposition": {
  14491. "description": "冻结今日买头寸",
  14492. "type": "integer"
  14493. },
  14494. "fretdsellposition": {
  14495. "description": "冻结今日卖头寸",
  14496. "type": "integer"
  14497. },
  14498. "freydbuyposition": {
  14499. "description": "冻结上日买头寸",
  14500. "type": "integer"
  14501. },
  14502. "freydsellposition": {
  14503. "description": "冻结上日卖头寸",
  14504. "type": "integer"
  14505. },
  14506. "goodscode": {
  14507. "description": "商品代码",
  14508. "type": "string"
  14509. },
  14510. "goodsid": {
  14511. "description": "商品id",
  14512. "type": "integer"
  14513. },
  14514. "goodsname": {
  14515. "description": "商品名称",
  14516. "type": "string"
  14517. },
  14518. "hedgeaccountcode": {
  14519. "description": "对冲账号",
  14520. "type": "string"
  14521. },
  14522. "hedgegoodsid": {
  14523. "description": "对冲合约ID",
  14524. "type": "integer"
  14525. },
  14526. "increaseqty": {
  14527. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14528. "type": "integer"
  14529. },
  14530. "marketid": {
  14531. "description": "市场ID",
  14532. "type": "integer"
  14533. },
  14534. "relateduserid": {
  14535. "description": "关联用户id",
  14536. "type": "integer"
  14537. },
  14538. "totalcurqty": {
  14539. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14540. "type": "integer"
  14541. },
  14542. "totalydqty": {
  14543. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14544. "type": "integer"
  14545. },
  14546. "tradedate": {
  14547. "description": "交易日(yyyyMMdd)",
  14548. "type": "string"
  14549. },
  14550. "ydbuyposition": {
  14551. "description": "期初买头寸",
  14552. "type": "integer"
  14553. },
  14554. "ydsellposition": {
  14555. "description": "期初卖头寸",
  14556. "type": "integer"
  14557. }
  14558. }
  14559. },
  14560. "ermcp.ExposureSpotDetailRsp": {
  14561. "type": "object",
  14562. "properties": {
  14563. "contracttype": {
  14564. "description": "合同类型 1-采购 -1-销售",
  14565. "type": "integer"
  14566. },
  14567. "createtime": {
  14568. "description": "创建时间",
  14569. "type": "string"
  14570. },
  14571. "enumdicname": {
  14572. "description": "现货商品单位名称",
  14573. "type": "string"
  14574. },
  14575. "logtype": {
  14576. "description": "记录类型 1-套保 2-现货合同",
  14577. "type": "integer"
  14578. },
  14579. "qty": {
  14580. "description": "数量",
  14581. "type": "number"
  14582. },
  14583. "recordname": {
  14584. "description": "类型名称",
  14585. "type": "string"
  14586. },
  14587. "relatedid": {
  14588. "description": "套保计划ID/现货合同ID",
  14589. "type": "string"
  14590. },
  14591. "relatedno": {
  14592. "description": "编号",
  14593. "type": "string"
  14594. },
  14595. "strtime": {
  14596. "description": "时间",
  14597. "type": "string"
  14598. },
  14599. "wrstandardcode": {
  14600. "description": "现货商品代码",
  14601. "type": "string"
  14602. },
  14603. "wrstandardname": {
  14604. "description": "现货商品名称",
  14605. "type": "string"
  14606. }
  14607. }
  14608. },
  14609. "ermcp.ExposureSpotRsp": {
  14610. "type": "object",
  14611. "properties": {
  14612. "areauserid": {
  14613. "description": "所属机构",
  14614. "type": "integer"
  14615. },
  14616. "decreaseqty": {
  14617. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14618. "type": "number"
  14619. },
  14620. "increaseqty": {
  14621. "description": "增加数量=销售计划数量+采购已定价数量",
  14622. "type": "number"
  14623. },
  14624. "oritoalspotqty": {
  14625. "description": "昨日数量",
  14626. "type": "number"
  14627. },
  14628. "totalspotqty": {
  14629. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14630. "type": "number"
  14631. },
  14632. "updatetime": {
  14633. "description": "更新时间",
  14634. "type": "string"
  14635. },
  14636. "wrstandardcode": {
  14637. "description": "现货品种代码",
  14638. "type": "string"
  14639. },
  14640. "wrstandardid": {
  14641. "description": "现货商品ID",
  14642. "type": "integer"
  14643. },
  14644. "wrstandardname": {
  14645. "description": "现货品种",
  14646. "type": "string"
  14647. }
  14648. }
  14649. },
  14650. "ermcp.HisExposureRsp": {
  14651. "type": "object",
  14652. "properties": {
  14653. "data": {
  14654. "description": "历史敞口",
  14655. "type": "array",
  14656. "items": {
  14657. "$ref": "#/definitions/models.ErmcpHisExposure"
  14658. }
  14659. },
  14660. "enumdicname": {
  14661. "description": "单位名称",
  14662. "type": "string"
  14663. },
  14664. "middlegoodscode": {
  14665. "description": "套保品种代码",
  14666. "type": "string"
  14667. },
  14668. "middlegoodsid": {
  14669. "description": "套保品种ID",
  14670. "type": "integer"
  14671. },
  14672. "middlegoodsname": {
  14673. "description": "套保品种名称",
  14674. "type": "string"
  14675. }
  14676. }
  14677. },
  14678. "ermcp.PendingAuditCntRsp": {
  14679. "type": "object",
  14680. "properties": {
  14681. "areastockqty": {
  14682. "description": "待审核数量: 库存申请",
  14683. "type": "integer"
  14684. },
  14685. "businessdjqty": {
  14686. "description": "待审核数量: 点价",
  14687. "type": "integer"
  14688. },
  14689. "businessfpqty": {
  14690. "description": "待审核数量: 发票",
  14691. "type": "integer"
  14692. },
  14693. "businessjsqty": {
  14694. "description": "待审核数量: 结算",
  14695. "type": "integer"
  14696. },
  14697. "businesskxqty": {
  14698. "description": "待审核数量: 款项",
  14699. "type": "integer"
  14700. },
  14701. "hedgeplanqty": {
  14702. "description": "待审核数量: 套保计划",
  14703. "type": "integer"
  14704. },
  14705. "spotcontractqty": {
  14706. "description": "待审核数量: 现货合同",
  14707. "type": "integer"
  14708. },
  14709. "userqty": {
  14710. "description": "待审核数量: 用户",
  14711. "type": "integer"
  14712. }
  14713. }
  14714. },
  14715. "ermcp.QryAvalidGPRsp": {
  14716. "type": "object",
  14717. "properties": {
  14718. "goodsgroupid": {
  14719. "description": "期货品种id",
  14720. "type": "integer"
  14721. },
  14722. "goodsgroupname": {
  14723. "description": "期货品种名称",
  14724. "type": "string"
  14725. },
  14726. "goodunitid": {
  14727. "description": "品种单位id",
  14728. "type": "integer"
  14729. },
  14730. "goodunitname": {
  14731. "description": "品种单位名称",
  14732. "type": "string"
  14733. },
  14734. "outergroupcode": {
  14735. "description": "期货品种代码",
  14736. "type": "string"
  14737. }
  14738. }
  14739. },
  14740. "ermcp.QryBusinessDjRsp": {
  14741. "type": "object",
  14742. "properties": {
  14743. "amount": {
  14744. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14745. "type": "number"
  14746. },
  14747. "applyid": {
  14748. "description": "申请人",
  14749. "type": "string"
  14750. },
  14751. "applyname": {
  14752. "description": "申请人名称",
  14753. "type": "string"
  14754. },
  14755. "applystatus": {
  14756. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14757. "type": "integer"
  14758. },
  14759. "applytime": {
  14760. "description": "申请时间",
  14761. "type": "string"
  14762. },
  14763. "attachurl": {
  14764. "description": "附件",
  14765. "type": "string"
  14766. },
  14767. "auditid": {
  14768. "description": "审核人ID",
  14769. "type": "string"
  14770. },
  14771. "auditname": {
  14772. "description": "审核人名称",
  14773. "type": "string"
  14774. },
  14775. "audittime": {
  14776. "description": "审核时间",
  14777. "type": "string"
  14778. },
  14779. "buyusername": {
  14780. "description": "采购方名称",
  14781. "type": "string"
  14782. },
  14783. "contractno": {
  14784. "description": "合同编号",
  14785. "type": "string"
  14786. },
  14787. "contractstatus": {
  14788. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14789. "type": "integer"
  14790. },
  14791. "contracttype": {
  14792. "description": "现货合同类型 - 1:采购 -1:销售",
  14793. "type": "integer"
  14794. },
  14795. "deliverygoodscode": {
  14796. "description": "现货品种代码",
  14797. "type": "string"
  14798. },
  14799. "deliverygoodsid": {
  14800. "description": "现货商品ID",
  14801. "type": "integer"
  14802. },
  14803. "deliverygoodsname": {
  14804. "description": "现货品种名称",
  14805. "type": "string"
  14806. },
  14807. "enumdicname": {
  14808. "description": "单位名称",
  14809. "type": "string"
  14810. },
  14811. "goodscode": {
  14812. "description": "点价合约",
  14813. "type": "string"
  14814. },
  14815. "goodsname": {
  14816. "description": "商品名称",
  14817. "type": "string"
  14818. },
  14819. "operateapplyid": {
  14820. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14821. "type": "string"
  14822. },
  14823. "operateapplytype": {
  14824. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14825. "type": "integer"
  14826. },
  14827. "pricedPrice": {
  14828. "description": "点价价格(非必填)",
  14829. "type": "number"
  14830. },
  14831. "pricedQty": {
  14832. "description": "点价数量(非必填)",
  14833. "type": "number"
  14834. },
  14835. "pricemove": {
  14836. "description": "升贴水",
  14837. "type": "number"
  14838. },
  14839. "pricetype": {
  14840. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14841. "type": "integer"
  14842. },
  14843. "relatedid": {
  14844. "description": "现货合同ID",
  14845. "type": "string"
  14846. },
  14847. "sellusername": {
  14848. "description": "销售方名字",
  14849. "type": "string"
  14850. },
  14851. "userid": {
  14852. "description": "用户ID",
  14853. "type": "integer"
  14854. },
  14855. "wrstandardcode": {
  14856. "description": "品类代码",
  14857. "type": "string"
  14858. },
  14859. "wrstandardid": {
  14860. "description": "品类id",
  14861. "type": "integer"
  14862. },
  14863. "wrstandardname": {
  14864. "description": "品类名称",
  14865. "type": "string"
  14866. }
  14867. }
  14868. },
  14869. "ermcp.QryBussinessFpRsp": {
  14870. "type": "object",
  14871. "properties": {
  14872. "applyid": {
  14873. "description": "申请人",
  14874. "type": "string"
  14875. },
  14876. "applyname": {
  14877. "description": "申请人名称",
  14878. "type": "string"
  14879. },
  14880. "applystatus": {
  14881. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14882. "type": "integer"
  14883. },
  14884. "applytime": {
  14885. "description": "申请时间",
  14886. "type": "string"
  14887. },
  14888. "attachurl": {
  14889. "description": "附件",
  14890. "type": "string"
  14891. },
  14892. "auditid": {
  14893. "description": "审核人ID",
  14894. "type": "string"
  14895. },
  14896. "auditname": {
  14897. "description": "审核人名称",
  14898. "type": "string"
  14899. },
  14900. "audittime": {
  14901. "description": "审核时间",
  14902. "type": "string"
  14903. },
  14904. "buyusername": {
  14905. "description": "采购方名称",
  14906. "type": "string"
  14907. },
  14908. "contractno": {
  14909. "description": "合同编号",
  14910. "type": "string"
  14911. },
  14912. "contractstatus": {
  14913. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14914. "type": "integer"
  14915. },
  14916. "contracttype": {
  14917. "description": "现货合同类型 - 1:采购 -1:销售",
  14918. "type": "integer"
  14919. },
  14920. "deliverygoodscode": {
  14921. "description": "现货品种代码",
  14922. "type": "string"
  14923. },
  14924. "deliverygoodsid": {
  14925. "description": "现货商品ID",
  14926. "type": "integer"
  14927. },
  14928. "deliverygoodsname": {
  14929. "description": "现货品种名称",
  14930. "type": "string"
  14931. },
  14932. "enumdicname": {
  14933. "description": "单位名称",
  14934. "type": "string"
  14935. },
  14936. "goodscode": {
  14937. "description": "点价合约",
  14938. "type": "string"
  14939. },
  14940. "goodsname": {
  14941. "description": "商品名称",
  14942. "type": "string"
  14943. },
  14944. "invoiceAmount": {
  14945. "description": "已开收票金额(销售为开票,采购为收票)",
  14946. "type": "number"
  14947. },
  14948. "operateapplyid": {
  14949. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14950. "type": "string"
  14951. },
  14952. "operateapplytype": {
  14953. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14954. "type": "integer"
  14955. },
  14956. "pricemove": {
  14957. "description": "升贴水",
  14958. "type": "number"
  14959. },
  14960. "pricetype": {
  14961. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14962. "type": "integer"
  14963. },
  14964. "relatedid": {
  14965. "description": "现货合同ID",
  14966. "type": "string"
  14967. },
  14968. "sellusername": {
  14969. "description": "销售方名字",
  14970. "type": "string"
  14971. },
  14972. "userid": {
  14973. "description": "用户ID",
  14974. "type": "integer"
  14975. },
  14976. "wrstandardcode": {
  14977. "description": "品类代码",
  14978. "type": "string"
  14979. },
  14980. "wrstandardid": {
  14981. "description": "品类id",
  14982. "type": "integer"
  14983. },
  14984. "wrstandardname": {
  14985. "description": "品类名称",
  14986. "type": "string"
  14987. }
  14988. }
  14989. },
  14990. "ermcp.QryBussinessJsExRsp": {
  14991. "type": "object",
  14992. "properties": {
  14993. "applyid": {
  14994. "description": "申请人",
  14995. "type": "string"
  14996. },
  14997. "applyname": {
  14998. "description": "申请人名称",
  14999. "type": "string"
  15000. },
  15001. "applystatus": {
  15002. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15003. "type": "integer"
  15004. },
  15005. "applytime": {
  15006. "description": "申请时间",
  15007. "type": "string"
  15008. },
  15009. "attachurl": {
  15010. "description": "附件",
  15011. "type": "string"
  15012. },
  15013. "auditid": {
  15014. "description": "审核人ID",
  15015. "type": "string"
  15016. },
  15017. "auditname": {
  15018. "description": "审核人名称",
  15019. "type": "string"
  15020. },
  15021. "audittime": {
  15022. "description": "审核时间",
  15023. "type": "string"
  15024. },
  15025. "buyusername": {
  15026. "description": "采购方名称",
  15027. "type": "string"
  15028. },
  15029. "contractno": {
  15030. "description": "合同编号",
  15031. "type": "string"
  15032. },
  15033. "contractstatus": {
  15034. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15035. "type": "integer"
  15036. },
  15037. "contracttype": {
  15038. "description": "现货合同类型 - 1:采购 -1:销售",
  15039. "type": "integer"
  15040. },
  15041. "deliverygoodscode": {
  15042. "description": "现货品种代码",
  15043. "type": "string"
  15044. },
  15045. "deliverygoodsid": {
  15046. "description": "现货商品ID",
  15047. "type": "integer"
  15048. },
  15049. "deliverygoodsname": {
  15050. "description": "现货品种名称",
  15051. "type": "string"
  15052. },
  15053. "enumdicname": {
  15054. "description": "单位名称",
  15055. "type": "string"
  15056. },
  15057. "goodscode": {
  15058. "description": "点价合约",
  15059. "type": "string"
  15060. },
  15061. "goodsname": {
  15062. "description": "商品名称",
  15063. "type": "string"
  15064. },
  15065. "operateapplyid": {
  15066. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15067. "type": "string"
  15068. },
  15069. "operateapplytype": {
  15070. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15071. "type": "integer"
  15072. },
  15073. "pricemove": {
  15074. "description": "升贴水",
  15075. "type": "number"
  15076. },
  15077. "pricetype": {
  15078. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15079. "type": "integer"
  15080. },
  15081. "reckontype": {
  15082. "description": "结算类型",
  15083. "type": "string"
  15084. },
  15085. "reckonvalue": {
  15086. "description": "值",
  15087. "type": "number"
  15088. },
  15089. "relatedid": {
  15090. "description": "现货合同ID",
  15091. "type": "string"
  15092. },
  15093. "sellusername": {
  15094. "description": "销售方名字",
  15095. "type": "string"
  15096. },
  15097. "userid": {
  15098. "description": "用户ID",
  15099. "type": "integer"
  15100. },
  15101. "wrstandardcode": {
  15102. "description": "品类代码",
  15103. "type": "string"
  15104. },
  15105. "wrstandardid": {
  15106. "description": "品类id",
  15107. "type": "integer"
  15108. },
  15109. "wrstandardname": {
  15110. "description": "品类名称",
  15111. "type": "string"
  15112. }
  15113. }
  15114. },
  15115. "ermcp.QryBussinessJsRsp": {
  15116. "type": "object",
  15117. "properties": {
  15118. "addmargin": {
  15119. "description": "追加保证金(非必填)",
  15120. "type": "number"
  15121. },
  15122. "applyid": {
  15123. "description": "申请人",
  15124. "type": "string"
  15125. },
  15126. "applyname": {
  15127. "description": "申请人名称",
  15128. "type": "string"
  15129. },
  15130. "applystatus": {
  15131. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15132. "type": "integer"
  15133. },
  15134. "applytime": {
  15135. "description": "申请时间",
  15136. "type": "string"
  15137. },
  15138. "attachurl": {
  15139. "description": "附件",
  15140. "type": "string"
  15141. },
  15142. "auditid": {
  15143. "description": "审核人ID",
  15144. "type": "string"
  15145. },
  15146. "auditname": {
  15147. "description": "审核人名称",
  15148. "type": "string"
  15149. },
  15150. "audittime": {
  15151. "description": "审核时间",
  15152. "type": "string"
  15153. },
  15154. "buyusername": {
  15155. "description": "采购方名称",
  15156. "type": "string"
  15157. },
  15158. "contractno": {
  15159. "description": "合同编号",
  15160. "type": "string"
  15161. },
  15162. "contractstatus": {
  15163. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15164. "type": "integer"
  15165. },
  15166. "contracttype": {
  15167. "description": "现货合同类型 - 1:采购 -1:销售",
  15168. "type": "integer"
  15169. },
  15170. "decmargin": {
  15171. "description": "减少保证金(非必填)",
  15172. "type": "number"
  15173. },
  15174. "deliverygoodscode": {
  15175. "description": "现货品种代码",
  15176. "type": "string"
  15177. },
  15178. "deliverygoodsid": {
  15179. "description": "现货商品ID",
  15180. "type": "integer"
  15181. },
  15182. "deliverygoodsname": {
  15183. "description": "现货品种名称",
  15184. "type": "string"
  15185. },
  15186. "enumdicname": {
  15187. "description": "单位名称",
  15188. "type": "string"
  15189. },
  15190. "goodscode": {
  15191. "description": "点价合约",
  15192. "type": "string"
  15193. },
  15194. "goodsname": {
  15195. "description": "商品名称",
  15196. "type": "string"
  15197. },
  15198. "operateapplyid": {
  15199. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15200. "type": "string"
  15201. },
  15202. "operateapplytype": {
  15203. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15204. "type": "integer"
  15205. },
  15206. "pricemove": {
  15207. "description": "升贴水",
  15208. "type": "number"
  15209. },
  15210. "pricetype": {
  15211. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15212. "type": "integer"
  15213. },
  15214. "reckonadjustamount": {
  15215. "description": "结算调整金额(非必填)",
  15216. "type": "number"
  15217. },
  15218. "reckonosamount": {
  15219. "description": "结算溢短金额(非必填)",
  15220. "type": "number"
  15221. },
  15222. "reckonotheramount": {
  15223. "description": "结算其他费用(非必填)",
  15224. "type": "number"
  15225. },
  15226. "reckonrealqty": {
  15227. "description": "结算实际数量(非必填)",
  15228. "type": "number"
  15229. },
  15230. "relatedid": {
  15231. "description": "现货合同ID",
  15232. "type": "string"
  15233. },
  15234. "sellusername": {
  15235. "description": "销售方名字",
  15236. "type": "string"
  15237. },
  15238. "userid": {
  15239. "description": "用户ID",
  15240. "type": "integer"
  15241. },
  15242. "wrstandardcode": {
  15243. "description": "品类代码",
  15244. "type": "string"
  15245. },
  15246. "wrstandardid": {
  15247. "description": "品类id",
  15248. "type": "integer"
  15249. },
  15250. "wrstandardname": {
  15251. "description": "品类名称",
  15252. "type": "string"
  15253. }
  15254. }
  15255. },
  15256. "ermcp.QryBussinessKxRsp": {
  15257. "type": "object",
  15258. "properties": {
  15259. "applyid": {
  15260. "description": "申请人",
  15261. "type": "string"
  15262. },
  15263. "applyname": {
  15264. "description": "申请人名称",
  15265. "type": "string"
  15266. },
  15267. "applystatus": {
  15268. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15269. "type": "integer"
  15270. },
  15271. "applytime": {
  15272. "description": "申请时间",
  15273. "type": "string"
  15274. },
  15275. "attachurl": {
  15276. "description": "附件",
  15277. "type": "string"
  15278. },
  15279. "auditid": {
  15280. "description": "审核人ID",
  15281. "type": "string"
  15282. },
  15283. "auditname": {
  15284. "description": "审核人名称",
  15285. "type": "string"
  15286. },
  15287. "audittime": {
  15288. "description": "审核时间",
  15289. "type": "string"
  15290. },
  15291. "buyusername": {
  15292. "description": "采购方名称",
  15293. "type": "string"
  15294. },
  15295. "contractno": {
  15296. "description": "合同编号",
  15297. "type": "string"
  15298. },
  15299. "contractstatus": {
  15300. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15301. "type": "integer"
  15302. },
  15303. "contracttype": {
  15304. "description": "现货合同类型 - 1:采购 -1:销售",
  15305. "type": "integer"
  15306. },
  15307. "deductamount": {
  15308. "description": "退款(非必填)",
  15309. "type": "number"
  15310. },
  15311. "deliverygoodscode": {
  15312. "description": "现货品种代码",
  15313. "type": "string"
  15314. },
  15315. "deliverygoodsid": {
  15316. "description": "现货商品ID",
  15317. "type": "integer"
  15318. },
  15319. "deliverygoodsname": {
  15320. "description": "现货品种名称",
  15321. "type": "string"
  15322. },
  15323. "enumdicname": {
  15324. "description": "单位名称",
  15325. "type": "string"
  15326. },
  15327. "goodscode": {
  15328. "description": "点价合约",
  15329. "type": "string"
  15330. },
  15331. "goodsname": {
  15332. "description": "商品名称",
  15333. "type": "string"
  15334. },
  15335. "kxtype": {
  15336. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15337. "type": "integer"
  15338. },
  15339. "operateapplyid": {
  15340. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15341. "type": "string"
  15342. },
  15343. "operateapplytype": {
  15344. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15345. "type": "integer"
  15346. },
  15347. "payamount": {
  15348. "description": "收付款(非必填)",
  15349. "type": "number"
  15350. },
  15351. "pricemove": {
  15352. "description": "升贴水",
  15353. "type": "number"
  15354. },
  15355. "pricetype": {
  15356. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15357. "type": "integer"
  15358. },
  15359. "relatedid": {
  15360. "description": "现货合同ID",
  15361. "type": "string"
  15362. },
  15363. "sellusername": {
  15364. "description": "销售方名字",
  15365. "type": "string"
  15366. },
  15367. "userid": {
  15368. "description": "用户ID",
  15369. "type": "integer"
  15370. },
  15371. "wrstandardcode": {
  15372. "description": "品类代码",
  15373. "type": "string"
  15374. },
  15375. "wrstandardid": {
  15376. "description": "品类id",
  15377. "type": "integer"
  15378. },
  15379. "wrstandardname": {
  15380. "description": "品类名称",
  15381. "type": "string"
  15382. }
  15383. }
  15384. },
  15385. "ermcp.QryGGCovertCfgRsp": {
  15386. "type": "object",
  15387. "properties": {
  15388. "convertratio": {
  15389. "description": "折算系数",
  15390. "type": "number"
  15391. },
  15392. "destgoodsgroupid": {
  15393. "description": "目标品种ID",
  15394. "type": "integer"
  15395. },
  15396. "dstcode": {
  15397. "description": "目录品种代码",
  15398. "type": "string"
  15399. },
  15400. "dstexchangecode": {
  15401. "description": "目标期货交易所",
  15402. "type": "string"
  15403. },
  15404. "dstname": {
  15405. "description": "目标品种名称",
  15406. "type": "string"
  15407. },
  15408. "dstunitid": {
  15409. "description": "目标品种单位ID",
  15410. "type": "integer"
  15411. },
  15412. "dstunitidname": {
  15413. "description": "目标品种单位名称",
  15414. "type": "string"
  15415. },
  15416. "modifytime": {
  15417. "description": "修改时间",
  15418. "type": "string"
  15419. },
  15420. "srccode": {
  15421. "description": "源品种代码",
  15422. "type": "string"
  15423. },
  15424. "srcexchangecode": {
  15425. "description": "源期货交易所",
  15426. "type": "string"
  15427. },
  15428. "srcgoodsgroupid": {
  15429. "description": "源品种ID",
  15430. "type": "integer"
  15431. },
  15432. "srcname": {
  15433. "description": "源品种名称",
  15434. "type": "string"
  15435. },
  15436. "srcunitid": {
  15437. "description": "源品种单位ID",
  15438. "type": "integer"
  15439. },
  15440. "srcunitidname": {
  15441. "description": "源品种单位名称",
  15442. "type": "string"
  15443. }
  15444. }
  15445. },
  15446. "ermcp.QryMGChangeLogRsp": {
  15447. "type": "object",
  15448. "properties": {
  15449. "aftervalue": {
  15450. "description": "变更后",
  15451. "type": "number"
  15452. },
  15453. "applyid": {
  15454. "description": "操作人",
  15455. "type": "integer"
  15456. },
  15457. "applyname": {
  15458. "description": "操作人名称",
  15459. "type": "string"
  15460. },
  15461. "applysrc": {
  15462. "description": "操作来源 - 1:管理端 2:终端",
  15463. "type": "integer"
  15464. },
  15465. "beforevalue": {
  15466. "description": "变更前",
  15467. "type": "number"
  15468. },
  15469. "changelogtype": {
  15470. "description": "变更流水类型 - 1:套保比率变更",
  15471. "type": "integer"
  15472. },
  15473. "handlestatus": {
  15474. "description": "处理状态",
  15475. "type": "integer"
  15476. },
  15477. "logdatetime": {
  15478. "description": "流水日期",
  15479. "type": "string"
  15480. },
  15481. "logid": {
  15482. "description": "流水ID",
  15483. "type": "integer"
  15484. },
  15485. "logremark": {
  15486. "description": "流水备注",
  15487. "type": "string"
  15488. },
  15489. "middlegoodsid": {
  15490. "description": "套保品种ID",
  15491. "type": "integer"
  15492. },
  15493. "tradedate": {
  15494. "description": "交易日(yyyyMMdd)",
  15495. "type": "string"
  15496. },
  15497. "updatetime": {
  15498. "description": "更新时间",
  15499. "type": "string"
  15500. }
  15501. }
  15502. },
  15503. "ermcp.QryMiddleGoodsDetailRsp": {
  15504. "type": "object",
  15505. "properties": {
  15506. "cvList": {
  15507. "description": "期货品种折算列表",
  15508. "type": "array",
  15509. "items": {
  15510. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15511. }
  15512. },
  15513. "mg": {
  15514. "description": "套保品种基本信息",
  15515. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15516. },
  15517. "wrcList": {
  15518. "description": "现货品种列表(现货商品折算配置)",
  15519. "type": "array",
  15520. "items": {
  15521. "$ref": "#/definitions/models.WRSConverTDetail"
  15522. }
  15523. }
  15524. }
  15525. },
  15526. "ermcp.QryMiddleGoodsRsp": {
  15527. "type": "object",
  15528. "properties": {
  15529. "areauserid": {
  15530. "description": "机构用户ID",
  15531. "type": "integer"
  15532. },
  15533. "createtime": {
  15534. "description": "修改时间",
  15535. "type": "string"
  15536. },
  15537. "enumdicname": {
  15538. "description": "单位名称",
  15539. "type": "string"
  15540. },
  15541. "evaluateratio": {
  15542. "description": "估价系数",
  15543. "type": "number"
  15544. },
  15545. "goodsgroupid": {
  15546. "description": "关联期货品种ID",
  15547. "type": "integer"
  15548. },
  15549. "goodsunitid": {
  15550. "description": "单位ID",
  15551. "type": "integer"
  15552. },
  15553. "isvalid": {
  15554. "description": "状态 0-无效(停用) 1-有效(正常)",
  15555. "type": "integer"
  15556. },
  15557. "middlegoodscode": {
  15558. "description": "套保品种代码",
  15559. "type": "string"
  15560. },
  15561. "middlegoodsid": {
  15562. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15563. "type": "integer"
  15564. },
  15565. "middlegoodsname": {
  15566. "description": "套保品种名称",
  15567. "type": "string"
  15568. },
  15569. "modifytime": {
  15570. "description": "修改时间",
  15571. "type": "string"
  15572. },
  15573. "needarbitrageratio": {
  15574. "description": "套利比例",
  15575. "type": "number"
  15576. },
  15577. "needhedgeratio": {
  15578. "description": "套保比率",
  15579. "type": "number"
  15580. },
  15581. "qtydecimalplace": {
  15582. "description": "数量小数位",
  15583. "type": "integer"
  15584. },
  15585. "relatedgoodsid": {
  15586. "description": "关联交易商品ID",
  15587. "type": "integer"
  15588. },
  15589. "relatedgoodstype": {
  15590. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15591. "type": "integer"
  15592. },
  15593. "remark": {
  15594. "description": "备注",
  15595. "type": "string"
  15596. }
  15597. }
  15598. },
  15599. "ermcp.QryOPLogRsp": {
  15600. "type": "object",
  15601. "properties": {
  15602. "aftervalue": {
  15603. "description": "变更后",
  15604. "type": "number"
  15605. },
  15606. "applyid": {
  15607. "description": "操作人ID",
  15608. "type": "string"
  15609. },
  15610. "applyname": {
  15611. "description": "操作人名称",
  15612. "type": "string"
  15613. },
  15614. "beforevalue": {
  15615. "description": "变更前",
  15616. "type": "number"
  15617. },
  15618. "biztype": {
  15619. "description": "业务类型 - 1:套保计划 2:现货合同",
  15620. "type": "integer"
  15621. },
  15622. "contracttype": {
  15623. "description": "现货合同类型 - 1:采购 -1:销售",
  15624. "type": "integer"
  15625. },
  15626. "logvalue": {
  15627. "description": "数值",
  15628. "type": "number"
  15629. },
  15630. "operatelogtype": {
  15631. "description": "操作流水类型",
  15632. "type": "integer"
  15633. },
  15634. "operatelogtypedesc": {
  15635. "description": "操作流水类型名称",
  15636. "type": "string"
  15637. },
  15638. "relatedid": {
  15639. "description": "现货合同ID\\套保计划",
  15640. "type": "string"
  15641. },
  15642. "updatetime": {
  15643. "description": "更新时间",
  15644. "type": "string"
  15645. }
  15646. }
  15647. },
  15648. "ermcp.QryUserInfoRsp": {
  15649. "type": "object",
  15650. "properties": {
  15651. "address": {
  15652. "description": "通讯地址",
  15653. "type": "string"
  15654. },
  15655. "attachment1": {
  15656. "description": "附件1",
  15657. "type": "string"
  15658. },
  15659. "audittime": {
  15660. "description": "审核时间",
  15661. "type": "string"
  15662. },
  15663. "cardbackphotourl": {
  15664. "description": "证件反面图片地址",
  15665. "type": "string"
  15666. },
  15667. "cardfrontphotourl": {
  15668. "description": "证件正面图片地址",
  15669. "type": "string"
  15670. },
  15671. "cardnum": {
  15672. "description": "证件号码",
  15673. "type": "string"
  15674. },
  15675. "cardtype": {
  15676. "description": "证件类型",
  15677. "type": "integer"
  15678. },
  15679. "cardtypename": {
  15680. "description": "证件类型名称",
  15681. "type": "string"
  15682. },
  15683. "cityid": {
  15684. "description": "市",
  15685. "type": "integer"
  15686. },
  15687. "contactname": {
  15688. "description": "联系人",
  15689. "type": "string"
  15690. },
  15691. "countryid": {
  15692. "description": "国家",
  15693. "type": "integer"
  15694. },
  15695. "createtime": {
  15696. "description": "创建时间",
  15697. "type": "string"
  15698. },
  15699. "customername": {
  15700. "description": "企业名称",
  15701. "type": "string"
  15702. },
  15703. "districtid": {
  15704. "description": "区域",
  15705. "type": "integer"
  15706. },
  15707. "email": {
  15708. "description": "邮件",
  15709. "type": "string"
  15710. },
  15711. "legalpersonname": {
  15712. "description": "法人姓名(企业)",
  15713. "type": "string"
  15714. },
  15715. "memberuserid": {
  15716. "description": "所属机构ID",
  15717. "type": "integer"
  15718. },
  15719. "mobile": {
  15720. "description": "手机号码",
  15721. "type": "string"
  15722. },
  15723. "modifytime": {
  15724. "description": "修改时间",
  15725. "type": "string"
  15726. },
  15727. "nickname": {
  15728. "description": "昵称",
  15729. "type": "string"
  15730. },
  15731. "provinceid": {
  15732. "description": "省",
  15733. "type": "integer"
  15734. },
  15735. "remark": {
  15736. "description": "备注",
  15737. "type": "string"
  15738. },
  15739. "status": {
  15740. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15741. "type": "integer"
  15742. },
  15743. "statusdesc": {
  15744. "description": "账户状态中文描述",
  15745. "type": "string"
  15746. },
  15747. "taxpayernum": {
  15748. "description": "纳税人识别号",
  15749. "type": "string"
  15750. },
  15751. "telphone": {
  15752. "description": "联系电话",
  15753. "type": "string"
  15754. },
  15755. "userid": {
  15756. "description": "用户ID",
  15757. "type": "integer"
  15758. },
  15759. "userinfotype": {
  15760. "description": "客户类型",
  15761. "type": "string"
  15762. }
  15763. }
  15764. },
  15765. "ermcp.QryWarehouseRsp": {
  15766. "type": "object",
  15767. "properties": {
  15768. "address": {
  15769. "description": "详细地址",
  15770. "type": "string"
  15771. },
  15772. "areauserid": {
  15773. "description": "所属机构",
  15774. "type": "integer"
  15775. },
  15776. "autoid": {
  15777. "description": "自增ID(仓库ID)",
  15778. "type": "integer"
  15779. },
  15780. "cityid": {
  15781. "description": "市",
  15782. "type": "integer"
  15783. },
  15784. "contactname": {
  15785. "description": "联系人",
  15786. "type": "string"
  15787. },
  15788. "contactnum": {
  15789. "description": "联系电话",
  15790. "type": "string"
  15791. },
  15792. "countryid": {
  15793. "description": "国家",
  15794. "type": "integer"
  15795. },
  15796. "createtime": {
  15797. "description": "创建时间",
  15798. "type": "string"
  15799. },
  15800. "districtid": {
  15801. "description": "区",
  15802. "type": "integer"
  15803. },
  15804. "hasvideo": {
  15805. "description": "是否有视频 - 0:无 1:有",
  15806. "type": "integer"
  15807. },
  15808. "provinceid": {
  15809. "description": "省",
  15810. "type": "integer"
  15811. },
  15812. "remark": {
  15813. "description": "审核备注",
  15814. "type": "string"
  15815. },
  15816. "videourl": {
  15817. "description": "视频地址",
  15818. "type": "string"
  15819. },
  15820. "warehousecode": {
  15821. "description": "仓库代码",
  15822. "type": "string"
  15823. },
  15824. "warehousename": {
  15825. "description": "仓库名称",
  15826. "type": "string"
  15827. },
  15828. "warehousestatus": {
  15829. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15830. "type": "integer"
  15831. },
  15832. "warehousetype": {
  15833. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15834. "type": "integer"
  15835. }
  15836. }
  15837. },
  15838. "ermcp.QueryErmcpTradePositionRsp": {
  15839. "type": "object",
  15840. "properties": {
  15841. "agreeunit": {
  15842. "description": "合约单位",
  15843. "type": "number"
  15844. },
  15845. "buyorsell": {
  15846. "description": "方向 - 0:买 1:卖",
  15847. "type": "integer"
  15848. },
  15849. "curpositionqty": {
  15850. "description": "持仓(总仓数量, 期末头寸)",
  15851. "type": "integer"
  15852. },
  15853. "curtdposition": {
  15854. "description": "今仓数量(期末今日头寸)",
  15855. "type": "integer"
  15856. },
  15857. "curtdpositionenabled": {
  15858. "description": "今仓可用",
  15859. "type": "integer"
  15860. },
  15861. "decimalplace": {
  15862. "description": "报价小数位",
  15863. "type": "integer"
  15864. },
  15865. "enableqty": {
  15866. "description": "可用(总仓可用)",
  15867. "type": "integer"
  15868. },
  15869. "exexchangename": {
  15870. "description": "外部交易所名称",
  15871. "type": "string"
  15872. },
  15873. "goodscode": {
  15874. "description": "商品代码(内部)",
  15875. "type": "string"
  15876. },
  15877. "goodsid": {
  15878. "description": "商品ID(自增ID SEQ_GOODS)",
  15879. "type": "integer"
  15880. },
  15881. "goodsname": {
  15882. "description": "商品名称",
  15883. "type": "string"
  15884. },
  15885. "last": {
  15886. "description": "现价",
  15887. "type": "number"
  15888. },
  15889. "marketid": {
  15890. "description": "所属市场ID",
  15891. "type": "integer"
  15892. },
  15893. "openaverageprice": {
  15894. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  15895. "type": "number"
  15896. },
  15897. "opencost": {
  15898. "description": "开仓成本",
  15899. "type": "number"
  15900. },
  15901. "openpl": {
  15902. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15903. "type": "number"
  15904. },
  15905. "outgoodscode": {
  15906. "description": "商品代码(外部)",
  15907. "type": "string"
  15908. },
  15909. "positionaverageprice": {
  15910. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  15911. "type": "number"
  15912. },
  15913. "positioncost": {
  15914. "description": "持仓成本",
  15915. "type": "number"
  15916. },
  15917. "positionpl": {
  15918. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15919. "type": "number"
  15920. },
  15921. "positionplrate": {
  15922. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  15923. "type": "number"
  15924. },
  15925. "usedmargin": {
  15926. "description": "占用保证金",
  15927. "type": "number"
  15928. }
  15929. }
  15930. },
  15931. "ermcp.RealtimeExposurePositionRsp": {
  15932. "type": "object",
  15933. "properties": {
  15934. "agreeunit": {
  15935. "description": "合约单位",
  15936. "type": "string"
  15937. },
  15938. "areauserid": {
  15939. "description": "所属机构id",
  15940. "type": "integer"
  15941. },
  15942. "convertratio": {
  15943. "description": "期货品种系数(折算系数)",
  15944. "type": "number"
  15945. },
  15946. "curqty": {
  15947. "description": "当前持仓",
  15948. "type": "integer"
  15949. },
  15950. "diffhedgeqty": {
  15951. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15952. "type": "number"
  15953. },
  15954. "diffqty": {
  15955. "description": "持仓变动量=当前持仓-昨日持仓",
  15956. "type": "integer"
  15957. },
  15958. "goodscode": {
  15959. "description": "商品代码",
  15960. "type": "string"
  15961. },
  15962. "goodsid": {
  15963. "description": "商品id",
  15964. "type": "integer"
  15965. },
  15966. "goodsname": {
  15967. "description": "商品名称",
  15968. "type": "string"
  15969. },
  15970. "middlegoodsid": {
  15971. "description": "套保商品id",
  15972. "type": "integer"
  15973. },
  15974. "ydqty": {
  15975. "description": "昨日持仓",
  15976. "type": "integer"
  15977. }
  15978. }
  15979. },
  15980. "ermcp.RealtimeExposureRsp": {
  15981. "type": "object",
  15982. "properties": {
  15983. "AreaUserID": {
  15984. "description": "所属机构",
  15985. "type": "integer"
  15986. },
  15987. "BuyFutureQty": {
  15988. "description": "买入期货数量",
  15989. "type": "number"
  15990. },
  15991. "BuyPlanQty": {
  15992. "description": "采购计划数量",
  15993. "type": "number"
  15994. },
  15995. "BuyPricedQty": {
  15996. "description": "采购合同已定价数量",
  15997. "type": "number"
  15998. },
  15999. "MiddleGoodsCode": {
  16000. "description": "套保品种代码",
  16001. "type": "string"
  16002. },
  16003. "MiddleGoodsHedgeRatio": {
  16004. "description": "套保比例",
  16005. "type": "number"
  16006. },
  16007. "MiddleGoodsID": {
  16008. "description": "套保品种",
  16009. "type": "integer"
  16010. },
  16011. "MiddleGoodsName": {
  16012. "description": "套保品种名称",
  16013. "type": "string"
  16014. },
  16015. "NeedHedgeExposoure": {
  16016. "description": "应套保敞口(套保敞口)",
  16017. "type": "number"
  16018. },
  16019. "NeedHedgeRatio": {
  16020. "description": "应套保敞口比例",
  16021. "type": "number"
  16022. },
  16023. "OriBuyFutureQty": {
  16024. "description": "期初买入期货数量",
  16025. "type": "number"
  16026. },
  16027. "OriBuyPlanQty": {
  16028. "description": "期初采购计划数量",
  16029. "type": "number"
  16030. },
  16031. "OriBuyPricedQty": {
  16032. "description": "期初采购合同已定价数量",
  16033. "type": "number"
  16034. },
  16035. "OriSellFutureQty": {
  16036. "description": "期初卖出期货数量",
  16037. "type": "number"
  16038. },
  16039. "OriSellPlanQty": {
  16040. "description": "期初销售计划数量",
  16041. "type": "number"
  16042. },
  16043. "OriSellPricedQty": {
  16044. "description": "期初销售合同已定价数量",
  16045. "type": "number"
  16046. },
  16047. "SellFutureQty": {
  16048. "description": "卖出期货数量",
  16049. "type": "number"
  16050. },
  16051. "SellPlanQty": {
  16052. "description": "销售计划数量",
  16053. "type": "number"
  16054. },
  16055. "SellPricedQty": {
  16056. "description": "销售合同已定价数量",
  16057. "type": "number"
  16058. },
  16059. "TotalExposure": {
  16060. "description": "总敞口 平安:净敞口",
  16061. "type": "number"
  16062. },
  16063. "TotalFutureQty": {
  16064. "description": "期货总量 平安:保值净持仓量",
  16065. "type": "number"
  16066. },
  16067. "TotalHedgeRatio": {
  16068. "description": "敞口比例",
  16069. "type": "number"
  16070. },
  16071. "TotalNeedHedgeQty": {
  16072. "description": "应套保总量(现货应套保总量)",
  16073. "type": "number"
  16074. },
  16075. "TotalSpotQty": {
  16076. "description": "现货总量 平安:采销定价净值",
  16077. "type": "number"
  16078. },
  16079. "arbitrageqty": {
  16080. "description": "套利量",
  16081. "type": "number"
  16082. },
  16083. "diffArbitrageQty": {
  16084. "description": "套利变动量",
  16085. "type": "number"
  16086. },
  16087. "diffExposoureQty": {
  16088. "description": "变动量(套保敞口)",
  16089. "type": "number"
  16090. },
  16091. "diffFutuQty": {
  16092. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  16093. "type": "number"
  16094. },
  16095. "diffHedgeQty": {
  16096. "description": "套保变动量",
  16097. "type": "number"
  16098. },
  16099. "diffQty": {
  16100. "description": "变动量(总敞口) 平安:净敞口今日变动",
  16101. "type": "number"
  16102. },
  16103. "diffSpotHedgeQty": {
  16104. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  16105. "type": "number"
  16106. },
  16107. "diffSpotQty": {
  16108. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  16109. "type": "number"
  16110. },
  16111. "enumdicname": {
  16112. "description": "单位名称",
  16113. "type": "string"
  16114. },
  16115. "hedgeqty": {
  16116. "description": "套保量",
  16117. "type": "number"
  16118. },
  16119. "needarbitrageqty": {
  16120. "description": "应套利量",
  16121. "type": "number"
  16122. },
  16123. "needarbitrageratio": {
  16124. "description": "套利比例",
  16125. "type": "number"
  16126. },
  16127. "needhedgeqty": {
  16128. "description": "应套保量",
  16129. "type": "number"
  16130. },
  16131. "oriTotalFutuQty": {
  16132. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16133. "type": "number"
  16134. },
  16135. "oriTotalSpotQty": {
  16136. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16137. "type": "number"
  16138. },
  16139. "oriarbitrageqty": {
  16140. "description": "期初套利量",
  16141. "type": "number"
  16142. },
  16143. "orihedgeqty": {
  16144. "description": "期初套保量",
  16145. "type": "number"
  16146. },
  16147. "orineedhedgeexposoure": {
  16148. "description": "期初套保敞口",
  16149. "type": "number"
  16150. },
  16151. "oritotalexposure": {
  16152. "description": "期初总敞口",
  16153. "type": "number"
  16154. },
  16155. "oritotalfutureqty": {
  16156. "description": "期初期货总量",
  16157. "type": "number"
  16158. },
  16159. "oritotalneedhedgeqty": {
  16160. "description": "期初现货应套保量",
  16161. "type": "number"
  16162. }
  16163. }
  16164. },
  16165. "erms2.QueryArbitrageStrategyRsp": {
  16166. "type": "object",
  16167. "required": [
  16168. "asapplyid"
  16169. ],
  16170. "properties": {
  16171. "applybasis": {
  16172. "description": "申请基差",
  16173. "type": "number"
  16174. },
  16175. "asapplyid": {
  16176. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16177. "type": "string"
  16178. },
  16179. "asname": {
  16180. "description": "策略名称",
  16181. "type": "string"
  16182. },
  16183. "asno": {
  16184. "description": "策略编号",
  16185. "type": "string"
  16186. },
  16187. "basischangepl": {
  16188. "description": "基差变动损益[结算更新]",
  16189. "type": "number"
  16190. },
  16191. "biztype": {
  16192. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16193. "type": "integer"
  16194. },
  16195. "closetradedate": {
  16196. "description": "完结交易日(yyyyMMdd)",
  16197. "type": "string"
  16198. },
  16199. "curbasis": {
  16200. "description": "当前基差[结算更新]",
  16201. "type": "number"
  16202. },
  16203. "deliverygoodsid": {
  16204. "description": "现货品种ID",
  16205. "type": "integer"
  16206. },
  16207. "futureavgprice": {
  16208. "description": "期货建仓均价",
  16209. "type": "number"
  16210. },
  16211. "futurecloseamount": {
  16212. "description": "期货平仓金额",
  16213. "type": "number"
  16214. },
  16215. "futurecloseqty": {
  16216. "description": "期货平仓数量",
  16217. "type": "number"
  16218. },
  16219. "futureopenamount": {
  16220. "description": "期货开仓金额",
  16221. "type": "number"
  16222. },
  16223. "futureopenqty": {
  16224. "description": "期货开仓数量",
  16225. "type": "number"
  16226. },
  16227. "futurepl": {
  16228. "description": "期货总盈亏[结算更新]",
  16229. "type": "number"
  16230. },
  16231. "futureqty": {
  16232. "description": "期货持仓数量",
  16233. "type": "number"
  16234. },
  16235. "futurequote": {
  16236. "description": "期货额度",
  16237. "type": "number"
  16238. },
  16239. "goodsgroupid": {
  16240. "description": "期货品种ID",
  16241. "type": "integer"
  16242. },
  16243. "marketid": {
  16244. "description": "市场ID",
  16245. "type": "integer"
  16246. },
  16247. "netexposure": {
  16248. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16249. "type": "number"
  16250. },
  16251. "netexposurepl": {
  16252. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16253. "type": "number"
  16254. },
  16255. "netexposurerate": {
  16256. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16257. "type": "number"
  16258. },
  16259. "openbasis": {
  16260. "description": "建仓基差",
  16261. "type": "number"
  16262. },
  16263. "pricedspotqty": {
  16264. "description": "已定价现货数量",
  16265. "type": "number"
  16266. },
  16267. "pricedspotqtynotax": {
  16268. "description": "已定价现货不含税数量",
  16269. "type": "number"
  16270. },
  16271. "remark": {
  16272. "description": "备注",
  16273. "type": "string"
  16274. },
  16275. "spotavgprice": {
  16276. "description": "现货均价",
  16277. "type": "number"
  16278. },
  16279. "spotbuyamount": {
  16280. "description": "现货采购金额",
  16281. "type": "number"
  16282. },
  16283. "spotbuyqty": {
  16284. "description": "现货采购数量",
  16285. "type": "number"
  16286. },
  16287. "spotpl": {
  16288. "description": "现货总盈亏[结算更新]",
  16289. "type": "number"
  16290. },
  16291. "spotquota": {
  16292. "description": "现货额度",
  16293. "type": "number"
  16294. },
  16295. "spotsellamount": {
  16296. "description": "现货销售金额",
  16297. "type": "number"
  16298. },
  16299. "spotsellqty": {
  16300. "description": "现货销售数量",
  16301. "type": "number"
  16302. },
  16303. "spotusedquota": {
  16304. "description": "现货占用资金",
  16305. "type": "number"
  16306. },
  16307. "strategystatus": {
  16308. "description": "策略状态 - 0:未结束 1:已结束",
  16309. "type": "integer"
  16310. },
  16311. "totalpl": {
  16312. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16313. "type": "number"
  16314. },
  16315. "tradedate": {
  16316. "description": "交易日(yyyyMMdd)",
  16317. "type": "string"
  16318. },
  16319. "updatetime": {
  16320. "description": "更新时间",
  16321. "type": "string"
  16322. },
  16323. "usedquota": {
  16324. "description": "已占用资金",
  16325. "type": "number"
  16326. },
  16327. "userid": {
  16328. "description": "所属机构",
  16329. "type": "integer"
  16330. }
  16331. }
  16332. },
  16333. "erms2.QueryInnerTradeDetailRsp": {
  16334. "type": "object",
  16335. "required": [
  16336. "asapplyid",
  16337. "buyorsell",
  16338. "goodscode",
  16339. "goodsgroupid",
  16340. "goodsgroupname",
  16341. "goodsname",
  16342. "tradeid"
  16343. ],
  16344. "properties": {
  16345. "accountid": {
  16346. "description": "账号ID",
  16347. "type": "integer"
  16348. },
  16349. "agreeunit": {
  16350. "description": "合约单位",
  16351. "type": "number"
  16352. },
  16353. "asapplyid": {
  16354. "description": "策略申请ID",
  16355. "type": "integer"
  16356. },
  16357. "asname": {
  16358. "description": "策略名称",
  16359. "type": "string"
  16360. },
  16361. "asno": {
  16362. "description": "策略编号",
  16363. "type": "string"
  16364. },
  16365. "buyorsell": {
  16366. "description": "方向 - 0:买 1:卖",
  16367. "type": "integer"
  16368. },
  16369. "channelbuildtype": {
  16370. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16371. "type": "integer"
  16372. },
  16373. "closetype": {
  16374. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16375. "type": "integer"
  16376. },
  16377. "decimalplace": {
  16378. "description": "报价小数位",
  16379. "type": "integer"
  16380. },
  16381. "detailtype": {
  16382. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  16383. "type": "integer"
  16384. },
  16385. "exexchangecode": {
  16386. "description": "外部交易所代码",
  16387. "type": "string"
  16388. },
  16389. "exexchangename": {
  16390. "description": "外部交易所名称",
  16391. "type": "string"
  16392. },
  16393. "goodscode": {
  16394. "description": "商品代码(合约)",
  16395. "type": "string"
  16396. },
  16397. "goodsgroupid": {
  16398. "description": "商品组ID(品种ID)",
  16399. "type": "integer"
  16400. },
  16401. "goodsgroupname": {
  16402. "description": "商品组名称(品种)",
  16403. "type": "string"
  16404. },
  16405. "goodsid": {
  16406. "description": "商品ID",
  16407. "type": "integer"
  16408. },
  16409. "goodsname": {
  16410. "description": "商品名称(合约)",
  16411. "type": "string"
  16412. },
  16413. "goodunit": {
  16414. "description": "报价单位",
  16415. "type": "string"
  16416. },
  16417. "marketid": {
  16418. "description": "市场ID",
  16419. "type": "integer"
  16420. },
  16421. "orderid": {
  16422. "description": "委托单号",
  16423. "type": "string"
  16424. },
  16425. "outgoodscode": {
  16426. "description": "商品代码(外部)",
  16427. "type": "string"
  16428. },
  16429. "relatedouttradeid": {
  16430. "description": "关联外部成交单ID",
  16431. "type": "string"
  16432. },
  16433. "remark": {
  16434. "description": "备注",
  16435. "type": "string"
  16436. },
  16437. "spotcontractid": {
  16438. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  16439. "type": "integer"
  16440. },
  16441. "spotcontractno": {
  16442. "description": "现货合同编号",
  16443. "type": "string"
  16444. },
  16445. "tradeid": {
  16446. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16447. "type": "string"
  16448. },
  16449. "tradeprice": {
  16450. "description": "成交价格",
  16451. "type": "number"
  16452. },
  16453. "tradeqty": {
  16454. "description": "成交数量",
  16455. "type": "integer"
  16456. },
  16457. "tradetime": {
  16458. "description": "成交时间",
  16459. "type": "string"
  16460. },
  16461. "updatetime": {
  16462. "description": "更新时间",
  16463. "type": "string"
  16464. }
  16465. }
  16466. },
  16467. "erms2.QuerySpotContractRsp": {
  16468. "type": "object",
  16469. "required": [
  16470. "spotcontractid"
  16471. ],
  16472. "properties": {
  16473. "accountid": {
  16474. "description": "资金账户ID",
  16475. "type": "integer"
  16476. },
  16477. "areauserid": {
  16478. "description": "所属机构",
  16479. "type": "integer"
  16480. },
  16481. "closedate": {
  16482. "description": "终止日期",
  16483. "type": "string"
  16484. },
  16485. "closeremark": {
  16486. "description": "结束备注",
  16487. "type": "string"
  16488. },
  16489. "closetradedate": {
  16490. "description": "完结交易日(yyyyMMdd)",
  16491. "type": "string"
  16492. },
  16493. "closetype": {
  16494. "description": "终止类型 - 1:违约 2:提前终止",
  16495. "type": "integer"
  16496. },
  16497. "contractamount": {
  16498. "description": "合同金额",
  16499. "type": "number"
  16500. },
  16501. "contractattachment": {
  16502. "description": "合同附件",
  16503. "type": "string"
  16504. },
  16505. "contractno": {
  16506. "description": "现货合同编号",
  16507. "type": "string"
  16508. },
  16509. "contractqty": {
  16510. "description": "合同数量(数值) (用于计算)",
  16511. "type": "number"
  16512. },
  16513. "contractqtychar": {
  16514. "description": "合同数量\\已订价数量 (用于显示)",
  16515. "type": "string"
  16516. },
  16517. "contractstatus": {
  16518. "description": "合同状态 - 0:未结束 1:已结束",
  16519. "type": "integer"
  16520. },
  16521. "contracttype": {
  16522. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  16523. "type": "integer"
  16524. },
  16525. "customeraccountid": {
  16526. "description": "客户资金账户ID",
  16527. "type": "integer"
  16528. },
  16529. "customeruserid": {
  16530. "description": "客户ID",
  16531. "type": "integer"
  16532. },
  16533. "deliverygoodsdesc": {
  16534. "description": "品种说明",
  16535. "type": "string"
  16536. },
  16537. "deliverygoodsid": {
  16538. "description": "现货品种ID",
  16539. "type": "integer"
  16540. },
  16541. "handlestatus": {
  16542. "description": "处理状态",
  16543. "type": "integer"
  16544. },
  16545. "invoiceatt": {
  16546. "description": "发票附件",
  16547. "type": "string"
  16548. },
  16549. "invoicedatetime": {
  16550. "description": "开收票更新时间",
  16551. "type": "string"
  16552. },
  16553. "invoiceopentime": {
  16554. "description": "开票时间",
  16555. "type": "string"
  16556. },
  16557. "invoiceremark": {
  16558. "description": "发票备注",
  16559. "type": "string"
  16560. },
  16561. "invoicestatus": {
  16562. "description": "开收票状态 - 0:未开票 1:已开票",
  16563. "type": "integer"
  16564. },
  16565. "lastdate": {
  16566. "description": "交货时间",
  16567. "type": "string"
  16568. },
  16569. "marketid": {
  16570. "description": "市场ID",
  16571. "type": "integer"
  16572. },
  16573. "paydatetime": {
  16574. "description": "收付款更新时间",
  16575. "type": "string"
  16576. },
  16577. "payremark": {
  16578. "description": "收付款备注",
  16579. "type": "string"
  16580. },
  16581. "paystatus": {
  16582. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  16583. "type": "integer"
  16584. },
  16585. "positionqty": {
  16586. "description": "头寸数量 - 合同数量去小数部分",
  16587. "type": "integer"
  16588. },
  16589. "producttype": {
  16590. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16591. "type": "integer"
  16592. },
  16593. "relatedqty": {
  16594. "description": "已关联数量",
  16595. "type": "number"
  16596. },
  16597. "relatedstatus": {
  16598. "description": "关联完结状态 - 0:未结束 1:已结束",
  16599. "type": "integer"
  16600. },
  16601. "remark": {
  16602. "description": "备注",
  16603. "type": "string"
  16604. },
  16605. "signdate": {
  16606. "description": "签订日期",
  16607. "type": "string"
  16608. },
  16609. "spotcontractid": {
  16610. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  16611. "type": "string"
  16612. },
  16613. "spotdatetime": {
  16614. "description": "收发货更新时间",
  16615. "type": "string"
  16616. },
  16617. "spotprice": {
  16618. "description": "价格",
  16619. "type": "number"
  16620. },
  16621. "spotremark": {
  16622. "description": "收发货备注",
  16623. "type": "string"
  16624. },
  16625. "spotstatus": {
  16626. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  16627. "type": "integer"
  16628. },
  16629. "tradedate": {
  16630. "description": "交易日(yyyyMMdd)",
  16631. "type": "string"
  16632. },
  16633. "userid": {
  16634. "description": "业务员用户ID",
  16635. "type": "integer"
  16636. },
  16637. "warehouseid": {
  16638. "description": "仓库ID",
  16639. "type": "integer"
  16640. },
  16641. "wrfactortypeid": {
  16642. "description": "仓单要素类型ID",
  16643. "type": "integer"
  16644. },
  16645. "wrstandardid": {
  16646. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16647. "type": "integer"
  16648. }
  16649. }
  16650. },
  16651. "erms3.AddErms2ASApplyReq": {
  16652. "type": "object",
  16653. "required": [
  16654. "asapplyid"
  16655. ],
  16656. "properties": {
  16657. "applybasis": {
  16658. "description": "申请基差",
  16659. "type": "number"
  16660. },
  16661. "applystatus": {
  16662. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16663. "type": "integer"
  16664. },
  16665. "asapplyid": {
  16666. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  16667. "type": "integer"
  16668. },
  16669. "asname": {
  16670. "description": "策略名称",
  16671. "type": "string"
  16672. },
  16673. "asno": {
  16674. "description": "策略编号",
  16675. "type": "string"
  16676. },
  16677. "auditid": {
  16678. "description": "审核人",
  16679. "type": "integer"
  16680. },
  16681. "auditremark": {
  16682. "description": "审核备注",
  16683. "type": "string"
  16684. },
  16685. "audittime": {
  16686. "description": "审核时间",
  16687. "type": "string"
  16688. },
  16689. "biztype": {
  16690. "description": "业务类型 - 1:正向套利 2:反向套利",
  16691. "type": "integer"
  16692. },
  16693. "createtime": {
  16694. "description": "创建时间",
  16695. "type": "string"
  16696. },
  16697. "creatorid": {
  16698. "description": "创建人",
  16699. "type": "integer"
  16700. },
  16701. "deliverygoodsid": {
  16702. "description": "现货品种ID",
  16703. "type": "integer"
  16704. },
  16705. "futurequote": {
  16706. "description": "期货额度",
  16707. "type": "number"
  16708. },
  16709. "goodsgroupid": {
  16710. "description": "期货品种ID",
  16711. "type": "integer"
  16712. },
  16713. "marketid": {
  16714. "description": "市场ID",
  16715. "type": "integer"
  16716. },
  16717. "remark": {
  16718. "description": "备注",
  16719. "type": "string"
  16720. },
  16721. "spotquota": {
  16722. "description": "现货额度",
  16723. "type": "number"
  16724. },
  16725. "tradedate": {
  16726. "description": "交易日(yyyyMMdd)",
  16727. "type": "string"
  16728. },
  16729. "userid": {
  16730. "description": "所属机构",
  16731. "type": "integer"
  16732. }
  16733. }
  16734. },
  16735. "erms3.AddErms2SpotTradeApplyReq": {
  16736. "type": "object",
  16737. "required": [
  16738. "spottradeid"
  16739. ],
  16740. "properties": {
  16741. "applyjsondetail": {
  16742. "description": "申请明细(JSON)",
  16743. "type": "string"
  16744. },
  16745. "applystatus": {
  16746. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16747. "type": "integer"
  16748. },
  16749. "areauserid": {
  16750. "description": "所属机构",
  16751. "type": "integer"
  16752. },
  16753. "auditid": {
  16754. "description": "审核人",
  16755. "type": "integer"
  16756. },
  16757. "auditremark": {
  16758. "description": "审核备注",
  16759. "type": "string"
  16760. },
  16761. "audittime": {
  16762. "description": "审核时间",
  16763. "type": "string"
  16764. },
  16765. "createtime": {
  16766. "description": "创建时间",
  16767. "type": "string"
  16768. },
  16769. "creatorid": {
  16770. "description": "创建人",
  16771. "type": "integer"
  16772. },
  16773. "deliverygoodsid": {
  16774. "description": "现货品种ID",
  16775. "type": "integer"
  16776. },
  16777. "futureaccountid": {
  16778. "description": "期货资金账户",
  16779. "type": "integer"
  16780. },
  16781. "goodsgroupid": {
  16782. "description": "期货品种",
  16783. "type": "integer"
  16784. },
  16785. "marketid": {
  16786. "description": "市场ID",
  16787. "type": "integer"
  16788. },
  16789. "remark": {
  16790. "description": "备注",
  16791. "type": "string"
  16792. },
  16793. "spotaccountid": {
  16794. "description": "现货资金账户",
  16795. "type": "integer"
  16796. },
  16797. "spottradeid": {
  16798. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  16799. "type": "integer"
  16800. },
  16801. "spottradename": {
  16802. "description": "业务名称",
  16803. "type": "string"
  16804. },
  16805. "spottradeno": {
  16806. "description": "业务编号",
  16807. "type": "string"
  16808. },
  16809. "tradedate": {
  16810. "description": "交易日(yyyyMMdd)",
  16811. "type": "string"
  16812. },
  16813. "wrstandardid": {
  16814. "description": "仓单标准ID",
  16815. "type": "integer"
  16816. }
  16817. }
  16818. },
  16819. "erms3.AddSpotContractApplyReq": {
  16820. "type": "object",
  16821. "required": [
  16822. "accountid",
  16823. "areauserid",
  16824. "contractno",
  16825. "contracttype",
  16826. "customeraccountid",
  16827. "customeruserid",
  16828. "details",
  16829. "orimargin",
  16830. "signdate"
  16831. ],
  16832. "properties": {
  16833. "accountid": {
  16834. "description": "资金账户ID",
  16835. "type": "integer"
  16836. },
  16837. "areauserid": {
  16838. "description": "所属机构",
  16839. "type": "integer"
  16840. },
  16841. "contractattachment": {
  16842. "description": "合同附件",
  16843. "type": "string"
  16844. },
  16845. "contractno": {
  16846. "description": "现货合同编号",
  16847. "type": "string"
  16848. },
  16849. "contracttype": {
  16850. "description": "现货合同类型 - 1:采购 -1:销售",
  16851. "type": "integer"
  16852. },
  16853. "creatorid": {
  16854. "description": "申请人",
  16855. "type": "integer"
  16856. },
  16857. "customeraccountid": {
  16858. "description": "客户资金账户ID",
  16859. "type": "integer"
  16860. },
  16861. "customeruserid": {
  16862. "description": "客户ID",
  16863. "type": "integer"
  16864. },
  16865. "details": {
  16866. "description": "明细",
  16867. "type": "array",
  16868. "items": {
  16869. "$ref": "#/definitions/erms3.SoptContractDetail"
  16870. }
  16871. },
  16872. "orimargin": {
  16873. "description": "初始保证金",
  16874. "type": "number"
  16875. },
  16876. "remark": {
  16877. "description": "备注",
  16878. "type": "string"
  16879. },
  16880. "signdate": {
  16881. "description": "签订日期",
  16882. "type": "string"
  16883. }
  16884. }
  16885. },
  16886. "erms3.AddSpotContractApplyRsp": {
  16887. "type": "object",
  16888. "required": [
  16889. "contractno"
  16890. ],
  16891. "properties": {
  16892. "contractno": {
  16893. "description": "现货合同编号",
  16894. "type": "string"
  16895. },
  16896. "spotcontractid": {
  16897. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  16898. "type": "integer"
  16899. }
  16900. }
  16901. },
  16902. "erms3.AddUserInfoApplyReq": {
  16903. "type": "object",
  16904. "required": [
  16905. "userid"
  16906. ],
  16907. "properties": {
  16908. "accountid": {
  16909. "description": "交易系统帐号Id (加密存储)",
  16910. "type": "integer"
  16911. },
  16912. "areacode": {
  16913. "description": "机构代码",
  16914. "type": "string"
  16915. },
  16916. "areaid": {
  16917. "description": "机构Id",
  16918. "type": "integer"
  16919. },
  16920. "attachment1": {
  16921. "description": "附件1",
  16922. "type": "string"
  16923. },
  16924. "attachment2": {
  16925. "description": "附件2",
  16926. "type": "string"
  16927. },
  16928. "attachment3": {
  16929. "description": "附件3",
  16930. "type": "string"
  16931. },
  16932. "attachment4": {
  16933. "description": "附件4",
  16934. "type": "string"
  16935. },
  16936. "attachment5": {
  16937. "description": "附件5",
  16938. "type": "string"
  16939. },
  16940. "auditedby": {
  16941. "description": "审核人",
  16942. "type": "string"
  16943. },
  16944. "auditime": {
  16945. "description": "审核时间",
  16946. "type": "string"
  16947. },
  16948. "auditsrc": {
  16949. "description": "审核来源 - 1:管理端 2:终端",
  16950. "type": "integer"
  16951. },
  16952. "bankaccount": {
  16953. "description": "银行帐号 (加密存储)",
  16954. "type": "string"
  16955. },
  16956. "bankaccountname": {
  16957. "description": "收款人名称",
  16958. "type": "string"
  16959. },
  16960. "bankcardbackphotourl": {
  16961. "description": "银行卡背面照地址",
  16962. "type": "string"
  16963. },
  16964. "bankcardfrontphotourl": {
  16965. "description": "银行卡正面照地址",
  16966. "type": "string"
  16967. },
  16968. "bankid": {
  16969. "description": "银行编码",
  16970. "type": "string"
  16971. },
  16972. "bankname": {
  16973. "description": "银行名称",
  16974. "type": "string"
  16975. },
  16976. "bankpictureurl": {
  16977. "description": "银行卡正面地址",
  16978. "type": "string"
  16979. },
  16980. "biznature": {
  16981. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16982. "type": "integer"
  16983. },
  16984. "bizscope": {
  16985. "description": "企业经营范围(企业)",
  16986. "type": "string"
  16987. },
  16988. "biztype": {
  16989. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16990. "type": "integer"
  16991. },
  16992. "brokerid": {
  16993. "description": "经纪人ID(加密存储)",
  16994. "type": "string"
  16995. },
  16996. "cardaddress": {
  16997. "description": "证件地址 (加密存储)",
  16998. "type": "string"
  16999. },
  17000. "cardbackphotourl": {
  17001. "description": "背面证件照地址",
  17002. "type": "string"
  17003. },
  17004. "cardfrontphotourl": {
  17005. "description": "正面证件照地址",
  17006. "type": "string"
  17007. },
  17008. "cardnum": {
  17009. "description": "证件号码 (加密存储)",
  17010. "type": "string"
  17011. },
  17012. "cardtype": {
  17013. "description": "证件类型",
  17014. "type": "integer"
  17015. },
  17016. "cityid": {
  17017. "description": "市",
  17018. "type": "integer"
  17019. },
  17020. "company": {
  17021. "description": "公司(个人)",
  17022. "type": "string"
  17023. },
  17024. "contactcardbackphotourl": {
  17025. "description": "联系人证件背面图片地址",
  17026. "type": "string"
  17027. },
  17028. "contactcardfrontphotourl": {
  17029. "description": "联系人证件正面图片地址",
  17030. "type": "string"
  17031. },
  17032. "contactname": {
  17033. "description": "联系人",
  17034. "type": "string"
  17035. },
  17036. "countryid": {
  17037. "description": "国家",
  17038. "type": "integer"
  17039. },
  17040. "createtime": {
  17041. "description": "开户申请时间",
  17042. "type": "string"
  17043. },
  17044. "cusbankid": {
  17045. "description": "签约类型",
  17046. "type": "string"
  17047. },
  17048. "cusbankname": {
  17049. "description": "签约类型名称",
  17050. "type": "string"
  17051. },
  17052. "customername": {
  17053. "description": "客户名称(企业名称)",
  17054. "type": "string"
  17055. },
  17056. "districtid": {
  17057. "description": "地区",
  17058. "type": "integer"
  17059. },
  17060. "email": {
  17061. "description": "Email地址(加密存储)",
  17062. "type": "string"
  17063. },
  17064. "halfbodyphotourl": {
  17065. "description": "半身照地址",
  17066. "type": "string"
  17067. },
  17068. "headurl": {
  17069. "description": "头像地址",
  17070. "type": "string"
  17071. },
  17072. "ipaddress": {
  17073. "description": "IP地址",
  17074. "type": "string"
  17075. },
  17076. "isvalidate": {
  17077. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17078. "type": "string"
  17079. },
  17080. "legalcardbackphotourl": {
  17081. "description": "法人身份证背面照地址",
  17082. "type": "string"
  17083. },
  17084. "legalcardfrontphotourl": {
  17085. "description": "法人身份证正面照地址",
  17086. "type": "string"
  17087. },
  17088. "legalpersonname": {
  17089. "description": "法人姓名(企业)",
  17090. "type": "string"
  17091. },
  17092. "logincode": {
  17093. "description": "登录帐号 (加密存储)",
  17094. "type": "string"
  17095. },
  17096. "memberareaid": {
  17097. "description": "所属会员ID",
  17098. "type": "integer"
  17099. },
  17100. "mobile2": {
  17101. "description": "手机号码[明文-尚志]",
  17102. "type": "string"
  17103. },
  17104. "mobilephone": {
  17105. "description": "手机号码 (加密存储)",
  17106. "type": "string"
  17107. },
  17108. "modifiedby": {
  17109. "description": "修改人帐号",
  17110. "type": "integer"
  17111. },
  17112. "modifiedtime": {
  17113. "description": "修改时间",
  17114. "type": "string"
  17115. },
  17116. "nickname": {
  17117. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17118. "type": "string"
  17119. },
  17120. "openmode": {
  17121. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17122. "type": "integer"
  17123. },
  17124. "otherurl": {
  17125. "description": "其它图片地址[使用分号分隔]",
  17126. "type": "string"
  17127. },
  17128. "postalcode": {
  17129. "description": "邮政编码",
  17130. "type": "string"
  17131. },
  17132. "provinceid": {
  17133. "description": "省",
  17134. "type": "integer"
  17135. },
  17136. "proxystatementurl": {
  17137. "description": "授权委托书",
  17138. "type": "string"
  17139. },
  17140. "qq": {
  17141. "description": "QQ(加密存储",
  17142. "type": "string"
  17143. },
  17144. "referral": {
  17145. "description": "推荐人编码",
  17146. "type": "string"
  17147. },
  17148. "remark": {
  17149. "description": "备注",
  17150. "type": "string"
  17151. },
  17152. "removebeforestatus": {
  17153. "description": "REMOVEBEFORESTATUS",
  17154. "type": "integer"
  17155. },
  17156. "sex": {
  17157. "description": "性别 - 0:女 1:男",
  17158. "type": "integer"
  17159. },
  17160. "signedstatus": {
  17161. "description": "账户一号签签约状态",
  17162. "type": "integer"
  17163. },
  17164. "signpdfurl": {
  17165. "description": "签约pdf文件",
  17166. "type": "string"
  17167. },
  17168. "subbranch": {
  17169. "description": "开户支行",
  17170. "type": "string"
  17171. },
  17172. "taxpayernum": {
  17173. "description": "纳税人识别号",
  17174. "type": "string"
  17175. },
  17176. "telphone": {
  17177. "description": "联系电话(加密存储)",
  17178. "type": "string"
  17179. },
  17180. "userid": {
  17181. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17182. "type": "integer"
  17183. },
  17184. "userinfotype": {
  17185. "description": "用户信息类型 - 1:个人 2:企业",
  17186. "type": "integer"
  17187. },
  17188. "username": {
  17189. "description": "用户姓名",
  17190. "type": "string"
  17191. },
  17192. "userstate": {
  17193. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17194. "type": "integer"
  17195. },
  17196. "usertype": {
  17197. "description": "用户类型 - 1:投资者 2:机构",
  17198. "type": "integer"
  17199. },
  17200. "videourl": {
  17201. "description": "视频地址",
  17202. "type": "string"
  17203. },
  17204. "wechat": {
  17205. "description": "微信号 (加密存储)",
  17206. "type": "string"
  17207. }
  17208. }
  17209. },
  17210. "erms3.CustomerInfo": {
  17211. "type": "object",
  17212. "required": [
  17213. "userid"
  17214. ],
  17215. "properties": {
  17216. "accountids": {
  17217. "description": "资金账户ID列表",
  17218. "type": "array",
  17219. "items": {
  17220. "type": "integer"
  17221. }
  17222. },
  17223. "customername": {
  17224. "description": "名称(企业名称)",
  17225. "type": "string"
  17226. },
  17227. "mobile": {
  17228. "description": "手机号码",
  17229. "type": "string"
  17230. },
  17231. "userid": {
  17232. "description": "用户ID",
  17233. "type": "integer"
  17234. }
  17235. }
  17236. },
  17237. "erms3.ModifyUserInfoApplyReq": {
  17238. "type": "object",
  17239. "required": [
  17240. "userid"
  17241. ],
  17242. "properties": {
  17243. "accountid": {
  17244. "description": "交易系统帐号Id (加密存储)",
  17245. "type": "integer"
  17246. },
  17247. "areacode": {
  17248. "description": "机构代码",
  17249. "type": "string"
  17250. },
  17251. "areaid": {
  17252. "description": "机构Id",
  17253. "type": "integer"
  17254. },
  17255. "attachment1": {
  17256. "description": "附件1",
  17257. "type": "string"
  17258. },
  17259. "attachment2": {
  17260. "description": "附件2",
  17261. "type": "string"
  17262. },
  17263. "attachment3": {
  17264. "description": "附件3",
  17265. "type": "string"
  17266. },
  17267. "attachment4": {
  17268. "description": "附件4",
  17269. "type": "string"
  17270. },
  17271. "attachment5": {
  17272. "description": "附件5",
  17273. "type": "string"
  17274. },
  17275. "auditedby": {
  17276. "description": "审核人",
  17277. "type": "string"
  17278. },
  17279. "auditime": {
  17280. "description": "审核时间",
  17281. "type": "string"
  17282. },
  17283. "auditsrc": {
  17284. "description": "审核来源 - 1:管理端 2:终端",
  17285. "type": "integer"
  17286. },
  17287. "bankaccount": {
  17288. "description": "银行帐号 (加密存储)",
  17289. "type": "string"
  17290. },
  17291. "bankaccountname": {
  17292. "description": "收款人名称",
  17293. "type": "string"
  17294. },
  17295. "bankcardbackphotourl": {
  17296. "description": "银行卡背面照地址",
  17297. "type": "string"
  17298. },
  17299. "bankcardfrontphotourl": {
  17300. "description": "银行卡正面照地址",
  17301. "type": "string"
  17302. },
  17303. "bankid": {
  17304. "description": "银行编码",
  17305. "type": "string"
  17306. },
  17307. "bankname": {
  17308. "description": "银行名称",
  17309. "type": "string"
  17310. },
  17311. "bankpictureurl": {
  17312. "description": "银行卡正面地址",
  17313. "type": "string"
  17314. },
  17315. "biznature": {
  17316. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17317. "type": "integer"
  17318. },
  17319. "bizscope": {
  17320. "description": "企业经营范围(企业)",
  17321. "type": "string"
  17322. },
  17323. "biztype": {
  17324. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17325. "type": "integer"
  17326. },
  17327. "brokerid": {
  17328. "description": "经纪人ID(加密存储)",
  17329. "type": "string"
  17330. },
  17331. "cardaddress": {
  17332. "description": "证件地址 (加密存储)",
  17333. "type": "string"
  17334. },
  17335. "cardbackphotourl": {
  17336. "description": "背面证件照地址",
  17337. "type": "string"
  17338. },
  17339. "cardfrontphotourl": {
  17340. "description": "正面证件照地址",
  17341. "type": "string"
  17342. },
  17343. "cardnum": {
  17344. "description": "证件号码 (加密存储)",
  17345. "type": "string"
  17346. },
  17347. "cardtype": {
  17348. "description": "证件类型",
  17349. "type": "integer"
  17350. },
  17351. "cityid": {
  17352. "description": "市",
  17353. "type": "integer"
  17354. },
  17355. "company": {
  17356. "description": "公司(个人)",
  17357. "type": "string"
  17358. },
  17359. "contactcardbackphotourl": {
  17360. "description": "联系人证件背面图片地址",
  17361. "type": "string"
  17362. },
  17363. "contactcardfrontphotourl": {
  17364. "description": "联系人证件正面图片地址",
  17365. "type": "string"
  17366. },
  17367. "contactname": {
  17368. "description": "联系人",
  17369. "type": "string"
  17370. },
  17371. "countryid": {
  17372. "description": "国家",
  17373. "type": "integer"
  17374. },
  17375. "createtime": {
  17376. "description": "开户申请时间",
  17377. "type": "string"
  17378. },
  17379. "cusbankid": {
  17380. "description": "签约类型",
  17381. "type": "string"
  17382. },
  17383. "cusbankname": {
  17384. "description": "签约类型名称",
  17385. "type": "string"
  17386. },
  17387. "customername": {
  17388. "description": "客户名称(企业名称)",
  17389. "type": "string"
  17390. },
  17391. "districtid": {
  17392. "description": "地区",
  17393. "type": "integer"
  17394. },
  17395. "email": {
  17396. "description": "Email地址(加密存储)",
  17397. "type": "string"
  17398. },
  17399. "halfbodyphotourl": {
  17400. "description": "半身照地址",
  17401. "type": "string"
  17402. },
  17403. "headurl": {
  17404. "description": "头像地址",
  17405. "type": "string"
  17406. },
  17407. "ipaddress": {
  17408. "description": "IP地址",
  17409. "type": "string"
  17410. },
  17411. "isvalidate": {
  17412. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17413. "type": "string"
  17414. },
  17415. "legalcardbackphotourl": {
  17416. "description": "法人身份证背面照地址",
  17417. "type": "string"
  17418. },
  17419. "legalcardfrontphotourl": {
  17420. "description": "法人身份证正面照地址",
  17421. "type": "string"
  17422. },
  17423. "legalpersonname": {
  17424. "description": "法人姓名(企业)",
  17425. "type": "string"
  17426. },
  17427. "logincode": {
  17428. "description": "登录帐号 (加密存储)",
  17429. "type": "string"
  17430. },
  17431. "memberareaid": {
  17432. "description": "所属会员ID",
  17433. "type": "integer"
  17434. },
  17435. "mobile2": {
  17436. "description": "手机号码[明文-尚志]",
  17437. "type": "string"
  17438. },
  17439. "mobilephone": {
  17440. "description": "手机号码 (加密存储)",
  17441. "type": "string"
  17442. },
  17443. "modifiedby": {
  17444. "description": "修改人帐号",
  17445. "type": "integer"
  17446. },
  17447. "modifiedtime": {
  17448. "description": "修改时间",
  17449. "type": "string"
  17450. },
  17451. "nickname": {
  17452. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17453. "type": "string"
  17454. },
  17455. "openmode": {
  17456. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17457. "type": "integer"
  17458. },
  17459. "otherurl": {
  17460. "description": "其它图片地址[使用分号分隔]",
  17461. "type": "string"
  17462. },
  17463. "postalcode": {
  17464. "description": "邮政编码",
  17465. "type": "string"
  17466. },
  17467. "provinceid": {
  17468. "description": "省",
  17469. "type": "integer"
  17470. },
  17471. "proxystatementurl": {
  17472. "description": "授权委托书",
  17473. "type": "string"
  17474. },
  17475. "qq": {
  17476. "description": "QQ(加密存储",
  17477. "type": "string"
  17478. },
  17479. "referral": {
  17480. "description": "推荐人编码",
  17481. "type": "string"
  17482. },
  17483. "remark": {
  17484. "description": "备注",
  17485. "type": "string"
  17486. },
  17487. "removebeforestatus": {
  17488. "description": "REMOVEBEFORESTATUS",
  17489. "type": "integer"
  17490. },
  17491. "sex": {
  17492. "description": "性别 - 0:女 1:男",
  17493. "type": "integer"
  17494. },
  17495. "signedstatus": {
  17496. "description": "账户一号签签约状态",
  17497. "type": "integer"
  17498. },
  17499. "signpdfurl": {
  17500. "description": "签约pdf文件",
  17501. "type": "string"
  17502. },
  17503. "subbranch": {
  17504. "description": "开户支行",
  17505. "type": "string"
  17506. },
  17507. "taxpayernum": {
  17508. "description": "纳税人识别号",
  17509. "type": "string"
  17510. },
  17511. "telphone": {
  17512. "description": "联系电话(加密存储)",
  17513. "type": "string"
  17514. },
  17515. "userid": {
  17516. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17517. "type": "integer"
  17518. },
  17519. "userinfotype": {
  17520. "description": "用户信息类型 - 1:个人 2:企业",
  17521. "type": "integer"
  17522. },
  17523. "username": {
  17524. "description": "用户姓名",
  17525. "type": "string"
  17526. },
  17527. "userstate": {
  17528. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17529. "type": "integer"
  17530. },
  17531. "usertype": {
  17532. "description": "用户类型 - 1:投资者 2:机构",
  17533. "type": "integer"
  17534. },
  17535. "videourl": {
  17536. "description": "视频地址",
  17537. "type": "string"
  17538. },
  17539. "wechat": {
  17540. "description": "微信号 (加密存储)",
  17541. "type": "string"
  17542. }
  17543. }
  17544. },
  17545. "erms3.QryAuditContractRsp": {
  17546. "type": "object",
  17547. "required": [
  17548. "matchcustomername",
  17549. "spotcontractid"
  17550. ],
  17551. "properties": {
  17552. "accountid": {
  17553. "description": "交易员ID",
  17554. "type": "string"
  17555. },
  17556. "applystatus": {
  17557. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17558. "type": "integer"
  17559. },
  17560. "curdeliveryqty": {
  17561. "description": "未交收量",
  17562. "type": "integer"
  17563. },
  17564. "customername": {
  17565. "description": "采购方ID",
  17566. "type": "string"
  17567. },
  17568. "deliverygoodsid": {
  17569. "description": "品种ID",
  17570. "type": "string"
  17571. },
  17572. "deliveryqty": {
  17573. "description": "交收量",
  17574. "type": "integer"
  17575. },
  17576. "enumdicname": {
  17577. "description": "单位名称",
  17578. "type": "string"
  17579. },
  17580. "matchaccountid": {
  17581. "description": "业务员ID",
  17582. "type": "string"
  17583. },
  17584. "matchcustomername": {
  17585. "description": "销售方ID",
  17586. "type": "string"
  17587. },
  17588. "pricedqty": {
  17589. "description": "定价量",
  17590. "type": "number"
  17591. },
  17592. "signdate": {
  17593. "description": "签订日期",
  17594. "type": "string"
  17595. },
  17596. "spotcontractid": {
  17597. "description": "合同ID",
  17598. "type": "string"
  17599. },
  17600. "totaldqty": {
  17601. "description": "合同量",
  17602. "type": "number"
  17603. },
  17604. "unpricedqty": {
  17605. "description": "未定价量",
  17606. "type": "number"
  17607. },
  17608. "wrstandardname": {
  17609. "description": "商品名称",
  17610. "type": "string"
  17611. }
  17612. }
  17613. },
  17614. "erms3.QryPendingBizRsp": {
  17615. "type": "object",
  17616. "properties": {
  17617. "accountid": {
  17618. "description": "现货账户",
  17619. "type": "string"
  17620. },
  17621. "areaname": {
  17622. "description": "所属部门",
  17623. "type": "string"
  17624. },
  17625. "bizid": {
  17626. "description": "业务ID",
  17627. "type": "string"
  17628. },
  17629. "bizname": {
  17630. "description": "业务名称",
  17631. "type": "string"
  17632. },
  17633. "status": {
  17634. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17635. "type": "integer"
  17636. },
  17637. "type": {
  17638. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  17639. "type": "integer"
  17640. }
  17641. }
  17642. },
  17643. "erms3.QueryBusinessInfoRsp": {
  17644. "type": "object",
  17645. "properties": {
  17646. "businessid": {
  17647. "description": "业务ID.",
  17648. "type": "integer"
  17649. },
  17650. "buyamount": {
  17651. "description": "采购额.",
  17652. "type": "number"
  17653. },
  17654. "buyqty": {
  17655. "description": "采购量.",
  17656. "type": "string"
  17657. },
  17658. "futurepl": {
  17659. "description": "期货盈亏.",
  17660. "type": "number"
  17661. },
  17662. "futureqty": {
  17663. "description": "期货敞口.",
  17664. "type": "string"
  17665. },
  17666. "goodsid": {
  17667. "description": "商品名称/商品代码.",
  17668. "type": "string"
  17669. },
  17670. "hedgingqty": {
  17671. "description": "套保量.",
  17672. "type": "string"
  17673. },
  17674. "sellamount": {
  17675. "description": "销售额.",
  17676. "type": "number"
  17677. },
  17678. "sellqty": {
  17679. "description": "销售量.",
  17680. "type": "string"
  17681. },
  17682. "spotmarketvalue": {
  17683. "description": "现货市值.",
  17684. "type": "number"
  17685. },
  17686. "spotpl": {
  17687. "description": "浮动权益.",
  17688. "type": "number"
  17689. },
  17690. "spotqty": {
  17691. "description": "现货量.",
  17692. "type": "string"
  17693. },
  17694. "statu": {
  17695. "description": "状态,0-未结束 1-已结束.",
  17696. "type": "integer"
  17697. },
  17698. "totalpl": {
  17699. "description": "总盈亏.",
  17700. "type": "number"
  17701. },
  17702. "totalqty": {
  17703. "description": "总敞口.",
  17704. "type": "string"
  17705. },
  17706. "type": {
  17707. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  17708. "type": "integer"
  17709. }
  17710. }
  17711. },
  17712. "erms3.QuerySpotContractAppleFormRsp": {
  17713. "type": "object",
  17714. "properties": {
  17715. "goodses": {
  17716. "description": "合约列表",
  17717. "type": "array",
  17718. "items": {
  17719. "$ref": "#/definitions/models.GoodsIDAndName"
  17720. }
  17721. },
  17722. "oppositeusers": {
  17723. "description": "对方账号列表",
  17724. "type": "array",
  17725. "items": {
  17726. "$ref": "#/definitions/erms3.CustomerInfo"
  17727. }
  17728. },
  17729. "ouruser": {
  17730. "description": "我方账号",
  17731. "$ref": "#/definitions/erms3.CustomerInfo"
  17732. },
  17733. "warehouseinfos": {
  17734. "description": "仓库信息列表",
  17735. "type": "array",
  17736. "items": {
  17737. "$ref": "#/definitions/models.Warehouseinfo"
  17738. }
  17739. },
  17740. "wrstandards": {
  17741. "description": "仓单标准列表",
  17742. "type": "array",
  17743. "items": {
  17744. "$ref": "#/definitions/models.WRStandardInfo"
  17745. }
  17746. }
  17747. }
  17748. },
  17749. "erms3.QuerySpotContractInfoRsp": {
  17750. "type": "object",
  17751. "properties": {
  17752. "accountid": {
  17753. "description": "表示交易员ID.",
  17754. "type": "integer"
  17755. },
  17756. "curdeliveryqty": {
  17757. "description": "表示未交收量.",
  17758. "type": "number"
  17759. },
  17760. "customername": {
  17761. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  17762. "type": "string"
  17763. },
  17764. "deliverygoodsid": {
  17765. "description": "表示品种ID.",
  17766. "type": "string"
  17767. },
  17768. "deliveryqty": {
  17769. "description": "表示交收量.",
  17770. "type": "number"
  17771. },
  17772. "matchaccountid": {
  17773. "description": "表示业务员ID.",
  17774. "type": "integer"
  17775. },
  17776. "matchcustomername": {
  17777. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  17778. "type": "string"
  17779. },
  17780. "priceqty": {
  17781. "description": "表示定价量.",
  17782. "type": "number"
  17783. },
  17784. "relatedbizid": {
  17785. "description": "表示业务ID.",
  17786. "type": "string"
  17787. },
  17788. "signdate": {
  17789. "description": "表示签订日期.",
  17790. "type": "string"
  17791. },
  17792. "spotcontractid": {
  17793. "description": "合同ID",
  17794. "type": "string"
  17795. },
  17796. "status": {
  17797. "description": "表示状态,0-履约中 1-已完成.",
  17798. "type": "integer"
  17799. },
  17800. "totalqty": {
  17801. "description": "表示合同量.",
  17802. "type": "number"
  17803. },
  17804. "unpricedqty": {
  17805. "description": "表示未定价量.",
  17806. "type": "number"
  17807. },
  17808. "wrstandardname": {
  17809. "description": "表示商品ID.",
  17810. "type": "string"
  17811. }
  17812. }
  17813. },
  17814. "erms3.QueryUserInfoAppliesRsp": {
  17815. "type": "object",
  17816. "required": [
  17817. "userid"
  17818. ],
  17819. "properties": {
  17820. "biznature": {
  17821. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17822. "type": "integer"
  17823. },
  17824. "contactname": {
  17825. "description": "联系人",
  17826. "type": "string"
  17827. },
  17828. "createtime": {
  17829. "description": "开户申请时间",
  17830. "type": "string"
  17831. },
  17832. "userid": {
  17833. "description": "用户ID(自增ID)",
  17834. "type": "integer"
  17835. },
  17836. "userinfotype": {
  17837. "description": "用户信息类型 - 1:个人 2:企业",
  17838. "type": "integer"
  17839. },
  17840. "username": {
  17841. "description": "用户姓名",
  17842. "type": "string"
  17843. },
  17844. "userstate": {
  17845. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17846. "type": "integer"
  17847. }
  17848. }
  17849. },
  17850. "erms3.QueryUserInfosRsp": {
  17851. "type": "object",
  17852. "required": [
  17853. "userid"
  17854. ],
  17855. "properties": {
  17856. "biznature": {
  17857. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17858. "type": "integer"
  17859. },
  17860. "contactname": {
  17861. "description": "联系人",
  17862. "type": "string"
  17863. },
  17864. "customername": {
  17865. "description": "客户名称(企业名称)",
  17866. "type": "string"
  17867. },
  17868. "userid": {
  17869. "description": "用户ID",
  17870. "type": "integer"
  17871. },
  17872. "userinfotype": {
  17873. "description": "用户信息类型 - 1:个人 2:企业",
  17874. "type": "integer"
  17875. },
  17876. "userstatus": {
  17877. "description": "用户状态 - 1:正常 2:注销",
  17878. "type": "integer"
  17879. }
  17880. }
  17881. },
  17882. "erms3.SoptContractDetail": {
  17883. "type": "object",
  17884. "required": [
  17885. "deliverygoodsid",
  17886. "producttype",
  17887. "unitname",
  17888. "warehouseid",
  17889. "wrstandardid",
  17890. "wrstandardname"
  17891. ],
  17892. "properties": {
  17893. "deliverygoodsdesc": {
  17894. "description": "现货品种说明",
  17895. "type": "string"
  17896. },
  17897. "deliverygoodsid": {
  17898. "description": "现货品种ID",
  17899. "type": "integer"
  17900. },
  17901. "deliverygoodsname": {
  17902. "description": "现货品种名称",
  17903. "type": "string"
  17904. },
  17905. "pointdesc": {
  17906. "description": "点价描述",
  17907. "type": "string"
  17908. },
  17909. "producttype": {
  17910. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  17911. "type": "integer"
  17912. },
  17913. "producttypename": {
  17914. "description": "产品类型名称",
  17915. "type": "string"
  17916. },
  17917. "spotPointOrderVoList": {
  17918. "description": "点价列表",
  17919. "type": "array",
  17920. "items": {
  17921. "$ref": "#/definitions/erms3.SpotPointOrder"
  17922. }
  17923. },
  17924. "spotPriceOrderList": {
  17925. "description": "定价列表",
  17926. "type": "array",
  17927. "items": {
  17928. "$ref": "#/definitions/erms3.SpotPriceOrder"
  17929. }
  17930. },
  17931. "unitname": {
  17932. "description": "单位名称",
  17933. "type": "string"
  17934. },
  17935. "warehouseid": {
  17936. "description": "仓库ID",
  17937. "type": "integer"
  17938. },
  17939. "warehousename": {
  17940. "description": "仓库名称",
  17941. "type": "string"
  17942. },
  17943. "wrstandardid": {
  17944. "description": "交易标的ID",
  17945. "type": "integer"
  17946. },
  17947. "wrstandardname": {
  17948. "description": "交易标的名称",
  17949. "type": "string"
  17950. }
  17951. }
  17952. },
  17953. "erms3.SpotPointOrder": {
  17954. "type": "object",
  17955. "required": [
  17956. "basic",
  17957. "goodsid",
  17958. "qty"
  17959. ],
  17960. "properties": {
  17961. "basic": {
  17962. "description": "基差",
  17963. "type": "number"
  17964. },
  17965. "deliveryenddate": {
  17966. "description": "交收结束日期",
  17967. "type": "string"
  17968. },
  17969. "deliverystartdate": {
  17970. "description": "交收开始日期",
  17971. "type": "string"
  17972. },
  17973. "enddate": {
  17974. "description": "点价结束日期",
  17975. "type": "string"
  17976. },
  17977. "goodsid": {
  17978. "description": "商品ID",
  17979. "type": "integer"
  17980. },
  17981. "goodsname": {
  17982. "description": "商品名称",
  17983. "type": "string"
  17984. },
  17985. "qty": {
  17986. "description": "数量",
  17987. "type": "number"
  17988. },
  17989. "startdate": {
  17990. "description": "点价开始日期",
  17991. "type": "string"
  17992. }
  17993. }
  17994. },
  17995. "erms3.SpotPriceOrder": {
  17996. "type": "object",
  17997. "required": [
  17998. "amount",
  17999. "price",
  18000. "qty"
  18001. ],
  18002. "properties": {
  18003. "amount": {
  18004. "description": "金额",
  18005. "type": "number"
  18006. },
  18007. "deliveryenddate": {
  18008. "description": "交收结束日期",
  18009. "type": "string"
  18010. },
  18011. "deliverystartdate": {
  18012. "description": "交收开始日期",
  18013. "type": "string"
  18014. },
  18015. "price": {
  18016. "description": "价格",
  18017. "type": "number"
  18018. },
  18019. "qty": {
  18020. "description": "数量",
  18021. "type": "number"
  18022. }
  18023. }
  18024. },
  18025. "hsby.GetHsbyMyCountRsp": {
  18026. "type": "object",
  18027. "properties": {
  18028. "myCouponCount": {
  18029. "description": "我的优惠卷数量",
  18030. "type": "integer"
  18031. },
  18032. "myOrderDetailListingCount": {
  18033. "description": "我的订单求购中数量",
  18034. "type": "integer"
  18035. },
  18036. "myOrderDetailPreCount": {
  18037. "description": "我的订单抢购中数量",
  18038. "type": "integer"
  18039. },
  18040. "myPackageUnReceiveCount": {
  18041. "description": "我的包裹待收货数量",
  18042. "type": "integer"
  18043. },
  18044. "myPackageUnSendCount": {
  18045. "description": "我的包裹待发货数量",
  18046. "type": "integer"
  18047. },
  18048. "myPayOrderCount": {
  18049. "description": "我的订单待付款数量",
  18050. "type": "integer"
  18051. }
  18052. }
  18053. },
  18054. "hsby.QueryProvincesAndCitiesRsp": {
  18055. "type": "object",
  18056. "properties": {
  18057. "cities": {
  18058. "description": "市",
  18059. "type": "array",
  18060. "items": {
  18061. "$ref": "#/definitions/models.Division"
  18062. }
  18063. },
  18064. "province": {
  18065. "description": "省",
  18066. "$ref": "#/definitions/models.Division"
  18067. }
  18068. }
  18069. },
  18070. "models.Arearole": {
  18071. "type": "object",
  18072. "required": [
  18073. "roletype",
  18074. "userid"
  18075. ],
  18076. "properties": {
  18077. "createtime": {
  18078. "description": "创建时间",
  18079. "type": "string"
  18080. },
  18081. "creatorid": {
  18082. "description": "创建人ID",
  18083. "type": "integer"
  18084. },
  18085. "fromuserid": {
  18086. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18087. "type": "integer"
  18088. },
  18089. "isreturnscore": {
  18090. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18091. "type": "integer"
  18092. },
  18093. "modifierid": {
  18094. "description": "修改人ID",
  18095. "type": "integer"
  18096. },
  18097. "modifytime": {
  18098. "description": "修改时间",
  18099. "type": "string"
  18100. },
  18101. "orgtype": {
  18102. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18103. "type": "integer"
  18104. },
  18105. "outuserid": {
  18106. "description": "外部账户[场外期权做市商]",
  18107. "type": "string"
  18108. },
  18109. "parentuserid": {
  18110. "description": "上级组织机构(组织机构)",
  18111. "type": "integer"
  18112. },
  18113. "roletype": {
  18114. "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:门店",
  18115. "type": "integer"
  18116. },
  18117. "rootuserid": {
  18118. "description": "顶级组织机构用户ID(组织机构)",
  18119. "type": "integer"
  18120. },
  18121. "shoppassword": {
  18122. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18123. "type": "string"
  18124. },
  18125. "sublevelpath": {
  18126. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18127. "type": "string"
  18128. },
  18129. "suborgtype": {
  18130. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18131. "type": "integer"
  18132. },
  18133. "tradeaccountid": {
  18134. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18135. "type": "integer"
  18136. },
  18137. "transurl": {
  18138. "description": "物流地址(物流机构)",
  18139. "type": "string"
  18140. },
  18141. "userid": {
  18142. "description": "机构用户ID其他做市关系,都设置为 1",
  18143. "type": "integer"
  18144. }
  18145. }
  18146. },
  18147. "models.Clientfixedadconfig": {
  18148. "type": "object",
  18149. "required": [
  18150. "adsort",
  18151. "adtype"
  18152. ],
  18153. "properties": {
  18154. "adsort": {
  18155. "description": "排序",
  18156. "type": "integer"
  18157. },
  18158. "adtype": {
  18159. "description": "广告位类型 - 1:新品抢购(HSBY)",
  18160. "type": "integer"
  18161. },
  18162. "areauserid": {
  18163. "description": "所属机构ID",
  18164. "type": "integer"
  18165. },
  18166. "createdate": {
  18167. "description": "创建时间",
  18168. "type": "string"
  18169. },
  18170. "creatorid": {
  18171. "description": "创建人",
  18172. "type": "integer"
  18173. },
  18174. "imagepath": {
  18175. "description": "图片",
  18176. "type": "string"
  18177. },
  18178. "isshow": {
  18179. "description": "是否展示 - 0:不展示 1:展示",
  18180. "type": "integer"
  18181. },
  18182. "modifierid": {
  18183. "description": "操作人",
  18184. "type": "integer"
  18185. },
  18186. "recsize": {
  18187. "description": "推荐尺寸",
  18188. "type": "string"
  18189. },
  18190. "title": {
  18191. "description": "标题",
  18192. "type": "string"
  18193. },
  18194. "updatedate": {
  18195. "description": "更新时间",
  18196. "type": "string"
  18197. },
  18198. "urlcontent": {
  18199. "description": "链接(地址或商品ID)",
  18200. "type": "string"
  18201. },
  18202. "urltype": {
  18203. "description": "链接类型 - 1:直接地址 2:商品ID",
  18204. "type": "integer"
  18205. }
  18206. }
  18207. },
  18208. "models.Division": {
  18209. "type": "object",
  18210. "required": [
  18211. "autoid",
  18212. "divisioncode"
  18213. ],
  18214. "properties": {
  18215. "autoid": {
  18216. "description": "自增ID",
  18217. "type": "integer"
  18218. },
  18219. "divisioncode": {
  18220. "description": "行政代码",
  18221. "type": "string"
  18222. },
  18223. "divisionlevel": {
  18224. "description": "行政级别",
  18225. "type": "string"
  18226. },
  18227. "divisionname": {
  18228. "description": "行政名称",
  18229. "type": "string"
  18230. },
  18231. "modifierid": {
  18232. "description": "修改人",
  18233. "type": "integer"
  18234. },
  18235. "modifytime": {
  18236. "description": "修改时间",
  18237. "type": "string"
  18238. },
  18239. "parentcode": {
  18240. "description": "上级行政代码",
  18241. "type": "string"
  18242. },
  18243. "pathname": {
  18244. "description": "路径名称",
  18245. "type": "string"
  18246. },
  18247. "postcode": {
  18248. "description": "邮政编码",
  18249. "type": "string"
  18250. },
  18251. "separablename": {
  18252. "description": "可拆分的全称",
  18253. "type": "string"
  18254. },
  18255. "shortcode": {
  18256. "description": "地区简码",
  18257. "type": "string"
  18258. }
  18259. }
  18260. },
  18261. "models.Enumdicitem": {
  18262. "type": "object",
  18263. "required": [
  18264. "autoid",
  18265. "enumdiccode",
  18266. "enumdicid",
  18267. "enumitemname"
  18268. ],
  18269. "properties": {
  18270. "autoid": {
  18271. "description": "自增ID",
  18272. "type": "integer"
  18273. },
  18274. "bankmappedvalue": {
  18275. "description": "银行服务对应值",
  18276. "type": "string"
  18277. },
  18278. "enumdiccode": {
  18279. "description": "所属枚举代码",
  18280. "type": "string"
  18281. },
  18282. "enumdicid": {
  18283. "description": "所属枚举ID",
  18284. "type": "integer"
  18285. },
  18286. "enumdicname": {
  18287. "description": "枚举项名称",
  18288. "type": "string"
  18289. },
  18290. "enumitemname": {
  18291. "description": "枚举项值",
  18292. "type": "integer"
  18293. },
  18294. "enumitemstatus": {
  18295. "description": "枚举项状态 - 1.启用 2.不启用",
  18296. "type": "integer"
  18297. },
  18298. "enumitemvalue": {
  18299. "description": "通用值 - [币种通用简写]",
  18300. "type": "string"
  18301. },
  18302. "param1": {
  18303. "description": "参数1[币种:币种小数位]",
  18304. "type": "string"
  18305. },
  18306. "param2": {
  18307. "description": "参数1[币种:币种显示单位]",
  18308. "type": "string"
  18309. },
  18310. "remark": {
  18311. "description": "备注",
  18312. "type": "string"
  18313. }
  18314. }
  18315. },
  18316. "models.Ermcp3AreaSpot": {
  18317. "type": "object",
  18318. "properties": {
  18319. "areauserid": {
  18320. "description": "所属机构",
  18321. "type": "integer"
  18322. },
  18323. "decreaseqty": {
  18324. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18325. "type": "number"
  18326. },
  18327. "deliverygoodscode": {
  18328. "description": "现货品种代码",
  18329. "type": "string"
  18330. },
  18331. "deliverygoodsid": {
  18332. "description": "现货品种id",
  18333. "type": "integer"
  18334. },
  18335. "deliverygoodsname": {
  18336. "description": "现货品种名称",
  18337. "type": "string"
  18338. },
  18339. "enumdicname": {
  18340. "description": "单位名称",
  18341. "type": "string"
  18342. },
  18343. "goodsunitid": {
  18344. "description": "现货品种单位id",
  18345. "type": "integer"
  18346. },
  18347. "increaseqty": {
  18348. "description": "增加数量=销售计划数量+采购已定价数量",
  18349. "type": "number"
  18350. },
  18351. "oritoalspotqty": {
  18352. "description": "昨日数量",
  18353. "type": "number"
  18354. },
  18355. "totalspotqty": {
  18356. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18357. "type": "number"
  18358. },
  18359. "updatetime": {
  18360. "description": "更新时间",
  18361. "type": "string"
  18362. }
  18363. }
  18364. },
  18365. "models.Ermcp3AreaSpotDetail": {
  18366. "type": "object",
  18367. "properties": {
  18368. "contracttype": {
  18369. "description": "合同类型 1-采购 -1-销售",
  18370. "type": "integer"
  18371. },
  18372. "createtime": {
  18373. "description": "创建时间",
  18374. "type": "string"
  18375. },
  18376. "deliverygoodscode": {
  18377. "description": "现货品种代码",
  18378. "type": "string"
  18379. },
  18380. "deliverygoodsid": {
  18381. "description": "现货品种id",
  18382. "type": "integer"
  18383. },
  18384. "deliverygoodsname": {
  18385. "description": "现货品种名称",
  18386. "type": "string"
  18387. },
  18388. "enumdicname": {
  18389. "description": "现货商品单位名称",
  18390. "type": "string"
  18391. },
  18392. "logtype": {
  18393. "description": "记录类型 1-套保 2-现货合同",
  18394. "type": "integer"
  18395. },
  18396. "qty": {
  18397. "description": "数量",
  18398. "type": "number"
  18399. },
  18400. "recordname": {
  18401. "description": "类型名称",
  18402. "type": "string"
  18403. },
  18404. "relatedid": {
  18405. "description": "套保计划ID/现货合同ID",
  18406. "type": "string"
  18407. },
  18408. "relatedno": {
  18409. "description": "编号",
  18410. "type": "string"
  18411. },
  18412. "strtime": {
  18413. "description": "时间",
  18414. "type": "string"
  18415. }
  18416. }
  18417. },
  18418. "models.Ermcp3AreaSpotPLReport": {
  18419. "type": "object",
  18420. "properties": {
  18421. "accountid": {
  18422. "description": "期货账户ID (作废, 默认为0)",
  18423. "type": "integer"
  18424. },
  18425. "accountname": {
  18426. "description": "机构名称",
  18427. "type": "string"
  18428. },
  18429. "actualpl": {
  18430. "description": "现货损益",
  18431. "type": "number"
  18432. },
  18433. "areauserid": {
  18434. "description": "所属机构\\交易用户ID",
  18435. "type": "integer"
  18436. },
  18437. "begindate": {
  18438. "description": "开始交易日",
  18439. "type": "string"
  18440. },
  18441. "biztype": {
  18442. "description": "业务类型 - 1:套保 2:套利",
  18443. "type": "integer"
  18444. },
  18445. "brandname": {
  18446. "description": "品牌名称",
  18447. "type": "string"
  18448. },
  18449. "curamount": {
  18450. "description": "期末额",
  18451. "type": "number"
  18452. },
  18453. "curaverageprice": {
  18454. "description": "期末均价",
  18455. "type": "number"
  18456. },
  18457. "curbuyamount": {
  18458. "description": "期末采购总额",
  18459. "type": "number"
  18460. },
  18461. "curbuyqty": {
  18462. "description": "期末采购总量",
  18463. "type": "number"
  18464. },
  18465. "curmarketvalue": {
  18466. "description": "参考市值(期末市值)",
  18467. "type": "number"
  18468. },
  18469. "curqty": {
  18470. "description": "期末量",
  18471. "type": "number"
  18472. },
  18473. "currencyid": {
  18474. "description": "结算币种ID【原值】",
  18475. "type": "integer"
  18476. },
  18477. "currencyname": {
  18478. "description": "币种名称",
  18479. "type": "string"
  18480. },
  18481. "cursellamount": {
  18482. "description": "期末销售总额",
  18483. "type": "number"
  18484. },
  18485. "cursellqty": {
  18486. "description": "期末销售总量",
  18487. "type": "number"
  18488. },
  18489. "curspotprice": {
  18490. "description": "参考市价(最新价)",
  18491. "type": "number"
  18492. },
  18493. "cycletime": {
  18494. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18495. "type": "string"
  18496. },
  18497. "cycletype": {
  18498. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18499. "type": "integer"
  18500. },
  18501. "deliverygoodscode": {
  18502. "description": "现货商品代码",
  18503. "type": "string"
  18504. },
  18505. "deliverygoodsid": {
  18506. "description": "现货品种ID",
  18507. "type": "integer"
  18508. },
  18509. "deliverygoodsname": {
  18510. "description": "现货商品名称",
  18511. "type": "string"
  18512. },
  18513. "enddate": {
  18514. "description": "结束交易日",
  18515. "type": "string"
  18516. },
  18517. "enumdicname": {
  18518. "description": "现货商品单位名称",
  18519. "type": "string"
  18520. },
  18521. "floatpl": {
  18522. "description": "浮动损益",
  18523. "type": "number"
  18524. },
  18525. "goodsunitid": {
  18526. "description": "现货商品单位id",
  18527. "type": "integer"
  18528. },
  18529. "oriamount": {
  18530. "description": "期初额",
  18531. "type": "number"
  18532. },
  18533. "oriaverageprice": {
  18534. "description": "期初均价",
  18535. "type": "number"
  18536. },
  18537. "oribuyamount": {
  18538. "description": "期初采购总额",
  18539. "type": "number"
  18540. },
  18541. "oribuyqty": {
  18542. "description": "期初采购总量",
  18543. "type": "number"
  18544. },
  18545. "oriqty": {
  18546. "description": "期初量",
  18547. "type": "number"
  18548. },
  18549. "orisellamount": {
  18550. "description": "期初销售总额",
  18551. "type": "number"
  18552. },
  18553. "orisellqty": {
  18554. "description": "期初销售总量",
  18555. "type": "number"
  18556. },
  18557. "reckondate": {
  18558. "description": "日照时期(yyyyMMdd)",
  18559. "type": "string"
  18560. },
  18561. "spotgoodsbrandid": {
  18562. "description": "现货品牌ID",
  18563. "type": "integer"
  18564. },
  18565. "todaybuyamount": {
  18566. "description": "今日采购额(今采购额)",
  18567. "type": "number"
  18568. },
  18569. "todaybuyaverageprice": {
  18570. "description": "今日采购均价",
  18571. "type": "number"
  18572. },
  18573. "todaybuyqty": {
  18574. "description": "今日采购量(今采购量)",
  18575. "type": "number"
  18576. },
  18577. "todayinqty": {
  18578. "description": "今日入库量(今入库量)",
  18579. "type": "number"
  18580. },
  18581. "todayoutqty": {
  18582. "description": "今日出库量(今出库量)",
  18583. "type": "number"
  18584. },
  18585. "todaysellamount": {
  18586. "description": "今日销售额(今销售额)",
  18587. "type": "number"
  18588. },
  18589. "todaysellaverageprice": {
  18590. "description": "今日销售均价",
  18591. "type": "number"
  18592. },
  18593. "todaysellqty": {
  18594. "description": "今日销售量(今销售量)",
  18595. "type": "number"
  18596. },
  18597. "unitid": {
  18598. "description": "品类单位id",
  18599. "type": "integer"
  18600. },
  18601. "unitidname": {
  18602. "description": "品类单位名称",
  18603. "type": "string"
  18604. },
  18605. "updatetime": {
  18606. "description": "更新时间",
  18607. "type": "string"
  18608. },
  18609. "wrfactortypeid": {
  18610. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18611. "type": "integer"
  18612. },
  18613. "wrstandardcode": {
  18614. "description": "品类代码",
  18615. "type": "string"
  18616. },
  18617. "wrstandardid": {
  18618. "description": "现货品类ID",
  18619. "type": "integer"
  18620. },
  18621. "wrstandardname": {
  18622. "description": "品类名称",
  18623. "type": "string"
  18624. }
  18625. }
  18626. },
  18627. "models.Ermcp3AreaStock": {
  18628. "type": "object",
  18629. "required": [
  18630. "userid"
  18631. ],
  18632. "properties": {
  18633. "brandname": {
  18634. "description": "品牌名称",
  18635. "type": "string"
  18636. },
  18637. "curstock": {
  18638. "description": "期末库存量(今日量)",
  18639. "type": "number"
  18640. },
  18641. "deliverygoodscode": {
  18642. "description": "现货品种代码",
  18643. "type": "string"
  18644. },
  18645. "deliverygoodsid": {
  18646. "description": "现货品种id",
  18647. "type": "integer"
  18648. },
  18649. "deliverygoodsname": {
  18650. "description": "现货品种名称",
  18651. "type": "string"
  18652. },
  18653. "enumdicname": {
  18654. "description": "单位名称",
  18655. "type": "string"
  18656. },
  18657. "goodsunitid": {
  18658. "description": "现货商品单位id",
  18659. "type": "integer"
  18660. },
  18661. "oristock": {
  18662. "description": "期初库存量(昨日量)",
  18663. "type": "number"
  18664. },
  18665. "spotgoodsbrandid": {
  18666. "description": "现货品牌ID",
  18667. "type": "integer"
  18668. },
  18669. "todaybuyinqty": {
  18670. "description": "今日采购入库量",
  18671. "type": "number"
  18672. },
  18673. "todayproduceinqty": {
  18674. "description": "今日生产入库量",
  18675. "type": "number"
  18676. },
  18677. "todayproduceoutqty": {
  18678. "description": "今日生产出库量",
  18679. "type": "number"
  18680. },
  18681. "todayselloutqty": {
  18682. "description": "今日销售出库量",
  18683. "type": "number"
  18684. },
  18685. "unitid": {
  18686. "description": "单位id",
  18687. "type": "integer"
  18688. },
  18689. "updatetime": {
  18690. "description": "更新时间",
  18691. "type": "string"
  18692. },
  18693. "userid": {
  18694. "description": "机构ID",
  18695. "type": "integer"
  18696. },
  18697. "username": {
  18698. "description": "机构名称",
  18699. "type": "string"
  18700. },
  18701. "warehousecode": {
  18702. "description": "仓库代码",
  18703. "type": "string"
  18704. },
  18705. "warehouseinfoid": {
  18706. "description": "仓库ID",
  18707. "type": "string"
  18708. },
  18709. "warehousename": {
  18710. "description": "仓库名称",
  18711. "type": "string"
  18712. },
  18713. "warehousetype": {
  18714. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18715. "type": "integer"
  18716. },
  18717. "wrstandardcode": {
  18718. "description": "品类代码",
  18719. "type": "string"
  18720. },
  18721. "wrstandardid": {
  18722. "description": "品类ID",
  18723. "type": "string"
  18724. },
  18725. "wrstandardname": {
  18726. "description": "品类名称",
  18727. "type": "string"
  18728. }
  18729. }
  18730. },
  18731. "models.Ermcp3AreaStockApply": {
  18732. "type": "object",
  18733. "properties": {
  18734. "applyid": {
  18735. "description": "申请人",
  18736. "type": "integer"
  18737. },
  18738. "applyname": {
  18739. "description": "申请人名称",
  18740. "type": "string"
  18741. },
  18742. "applyremark": {
  18743. "description": "申请备注",
  18744. "type": "string"
  18745. },
  18746. "applysrc": {
  18747. "description": "申请来源 - 1:管理端 2:终端",
  18748. "type": "integer"
  18749. },
  18750. "applystatus": {
  18751. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18752. "type": "integer"
  18753. },
  18754. "applytime": {
  18755. "description": "申请时间",
  18756. "type": "string"
  18757. },
  18758. "auditid": {
  18759. "description": "审核人",
  18760. "type": "integer"
  18761. },
  18762. "auditname": {
  18763. "description": "审核人名称",
  18764. "type": "string"
  18765. },
  18766. "auditremark": {
  18767. "description": "审核备注",
  18768. "type": "string"
  18769. },
  18770. "auditsrc": {
  18771. "description": "审核来源 - 1:管理端 2:终端",
  18772. "type": "integer"
  18773. },
  18774. "audittime": {
  18775. "description": "审核时间",
  18776. "type": "string"
  18777. },
  18778. "audittradedate": {
  18779. "description": "审核交易日(yyyyMMdd)",
  18780. "type": "string"
  18781. },
  18782. "brandname": {
  18783. "description": "品牌名称",
  18784. "type": "string"
  18785. },
  18786. "buynickname": {
  18787. "description": "采购方昵称",
  18788. "type": "string"
  18789. },
  18790. "buyuserid": {
  18791. "description": "采购方userid",
  18792. "type": "integer"
  18793. },
  18794. "buyusername": {
  18795. "description": "采购方名称",
  18796. "type": "string"
  18797. },
  18798. "contractno": {
  18799. "description": "合同编号",
  18800. "type": "string"
  18801. },
  18802. "contractqty": {
  18803. "description": "合同量",
  18804. "type": "number"
  18805. },
  18806. "contracttype": {
  18807. "description": "现货合同类型 - 1:采购 -1:销售",
  18808. "type": "integer"
  18809. },
  18810. "deliverygoodscode": {
  18811. "description": "现货品种代码",
  18812. "type": "string"
  18813. },
  18814. "deliverygoodsid": {
  18815. "description": "现货品种id",
  18816. "type": "integer"
  18817. },
  18818. "deliverygoodsname": {
  18819. "description": "现货品种名称",
  18820. "type": "string"
  18821. },
  18822. "detailjson": {
  18823. "description": "明细数据",
  18824. "type": "string"
  18825. },
  18826. "enumdicname": {
  18827. "description": "现货商品单位名称",
  18828. "type": "string"
  18829. },
  18830. "inoutapplyid": {
  18831. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  18832. "type": "string"
  18833. },
  18834. "inouttype": {
  18835. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  18836. "type": "integer"
  18837. },
  18838. "pricetype": {
  18839. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18840. "type": "integer"
  18841. },
  18842. "qty": {
  18843. "description": "数量",
  18844. "type": "number"
  18845. },
  18846. "sellnickname": {
  18847. "description": "销售方昵称",
  18848. "type": "string"
  18849. },
  18850. "selluserid": {
  18851. "description": "销售方userid",
  18852. "type": "integer"
  18853. },
  18854. "sellusername": {
  18855. "description": "销售方名称",
  18856. "type": "string"
  18857. },
  18858. "spotcontractid": {
  18859. "description": "关联现货合同ID",
  18860. "type": "string"
  18861. },
  18862. "spotgoodsbrandid": {
  18863. "description": "现货品牌ID",
  18864. "type": "integer"
  18865. },
  18866. "unitid": {
  18867. "description": "单位id",
  18868. "type": "integer"
  18869. },
  18870. "userid": {
  18871. "description": "机构ID",
  18872. "type": "integer"
  18873. },
  18874. "warehousecode": {
  18875. "description": "仓库代码",
  18876. "type": "string"
  18877. },
  18878. "warehouseinfoid": {
  18879. "description": "现货仓库ID",
  18880. "type": "string"
  18881. },
  18882. "warehousename": {
  18883. "description": "仓库名称",
  18884. "type": "string"
  18885. },
  18886. "warehousetype": {
  18887. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18888. "type": "integer"
  18889. },
  18890. "wrstandardcode": {
  18891. "description": "品类代码",
  18892. "type": "string"
  18893. },
  18894. "wrstandardid": {
  18895. "description": "品类ID",
  18896. "type": "integer"
  18897. },
  18898. "wrstandardname": {
  18899. "description": "品类名称",
  18900. "type": "string"
  18901. }
  18902. }
  18903. },
  18904. "models.Ermcp3AreaStockApplySum": {
  18905. "type": "object",
  18906. "properties": {
  18907. "brandname": {
  18908. "description": "品牌名称",
  18909. "type": "string"
  18910. },
  18911. "inouttype": {
  18912. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  18913. "type": "integer"
  18914. },
  18915. "spotcontractid": {
  18916. "description": "关联现货合同ID",
  18917. "type": "string"
  18918. },
  18919. "spotgoodsbrandid": {
  18920. "description": "品牌id",
  18921. "type": "integer"
  18922. },
  18923. "totalqty": {
  18924. "description": "总数量",
  18925. "type": "number"
  18926. },
  18927. "wrstandardid": {
  18928. "description": "品类id",
  18929. "type": "integer"
  18930. },
  18931. "wrstandardname": {
  18932. "description": "品类名称",
  18933. "type": "string"
  18934. }
  18935. }
  18936. },
  18937. "models.Ermcp3AreaStockReportEx": {
  18938. "type": "object",
  18939. "properties": {
  18940. "begindate": {
  18941. "description": "开始交易日",
  18942. "type": "string"
  18943. },
  18944. "brandname": {
  18945. "description": "品牌名称",
  18946. "type": "string"
  18947. },
  18948. "curstock": {
  18949. "description": "期末库存量",
  18950. "type": "number"
  18951. },
  18952. "cycletime": {
  18953. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18954. "type": "string"
  18955. },
  18956. "cycletype": {
  18957. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18958. "type": "integer"
  18959. },
  18960. "deliverygoodscode": {
  18961. "description": "现货品种代码",
  18962. "type": "string"
  18963. },
  18964. "deliverygoodsid": {
  18965. "description": "现货品种id",
  18966. "type": "integer"
  18967. },
  18968. "deliverygoodsname": {
  18969. "description": "现货品种名称",
  18970. "type": "string"
  18971. },
  18972. "diffqty": {
  18973. "description": "库存变化量 = 期末 - 期初",
  18974. "type": "number"
  18975. },
  18976. "enddate": {
  18977. "description": "结束交易日",
  18978. "type": "string"
  18979. },
  18980. "enumdicname": {
  18981. "description": "单位名称",
  18982. "type": "string"
  18983. },
  18984. "goodsunitid": {
  18985. "description": "现货单位id",
  18986. "type": "integer"
  18987. },
  18988. "oristock": {
  18989. "description": "期初库存量",
  18990. "type": "number"
  18991. },
  18992. "reckondate": {
  18993. "description": "日照时期(yyyyMMdd)",
  18994. "type": "string"
  18995. },
  18996. "spotgoodsbrandid": {
  18997. "description": "现货品牌ID",
  18998. "type": "integer"
  18999. },
  19000. "todaybuyinqty": {
  19001. "description": "今采购入库量",
  19002. "type": "number"
  19003. },
  19004. "todayproduceinqty": {
  19005. "description": "今内部入库量",
  19006. "type": "number"
  19007. },
  19008. "todayproduceoutqty": {
  19009. "description": "今内部出库量",
  19010. "type": "number"
  19011. },
  19012. "todayselloutqty": {
  19013. "description": "今销售出库量",
  19014. "type": "number"
  19015. },
  19016. "unbuyinqty": {
  19017. "description": "采购未入库量(数据库未找到相关字段?)",
  19018. "type": "number"
  19019. },
  19020. "unitid": {
  19021. "description": "品类单位id",
  19022. "type": "integer"
  19023. },
  19024. "unselloutqty": {
  19025. "description": "销售未出库量(数据库未找到相关字段?)",
  19026. "type": "number"
  19027. },
  19028. "updatetime": {
  19029. "description": "更新时间",
  19030. "type": "string"
  19031. },
  19032. "userid": {
  19033. "description": "机构ID",
  19034. "type": "integer"
  19035. },
  19036. "username": {
  19037. "description": "机构名称",
  19038. "type": "string"
  19039. },
  19040. "warehousecode": {
  19041. "description": "仓库代码",
  19042. "type": "string"
  19043. },
  19044. "warehouseinfoid": {
  19045. "description": "仓库ID",
  19046. "type": "string"
  19047. },
  19048. "warehousename": {
  19049. "description": "仓库名称",
  19050. "type": "string"
  19051. },
  19052. "warehousetype": {
  19053. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19054. "type": "integer"
  19055. },
  19056. "wrstandardcode": {
  19057. "description": "品类代码",
  19058. "type": "string"
  19059. },
  19060. "wrstandardid": {
  19061. "description": "品类ID",
  19062. "type": "integer"
  19063. },
  19064. "wrstandardname": {
  19065. "description": "品类名称",
  19066. "type": "string"
  19067. }
  19068. }
  19069. },
  19070. "models.Ermcp3ArealSumPL": {
  19071. "type": "object",
  19072. "properties": {
  19073. "accountname": {
  19074. "description": "机构名称",
  19075. "type": "string"
  19076. },
  19077. "areauserid": {
  19078. "description": "所属机构\\交易用户ID",
  19079. "type": "integer"
  19080. },
  19081. "begindate": {
  19082. "description": "开始交易日",
  19083. "type": "string"
  19084. },
  19085. "currencyid": {
  19086. "description": "结算币种ID",
  19087. "type": "integer"
  19088. },
  19089. "currencyname": {
  19090. "description": "币种名称",
  19091. "type": "string"
  19092. },
  19093. "cycletime": {
  19094. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19095. "type": "string"
  19096. },
  19097. "cycletype": {
  19098. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19099. "type": "integer"
  19100. },
  19101. "enddate": {
  19102. "description": "结束交易日",
  19103. "type": "string"
  19104. },
  19105. "enumdicname": {
  19106. "description": "单位名称(套保品种)",
  19107. "type": "string"
  19108. },
  19109. "futureactualpl": {
  19110. "description": "期货损益",
  19111. "type": "number"
  19112. },
  19113. "futurefloatpl": {
  19114. "description": "期货浮动损益",
  19115. "type": "number"
  19116. },
  19117. "goodsunitid": {
  19118. "description": "套保品种单位id",
  19119. "type": "integer"
  19120. },
  19121. "middlegoodscode": {
  19122. "description": "套保品种代码",
  19123. "type": "string"
  19124. },
  19125. "middlegoodsid": {
  19126. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19127. "type": "integer"
  19128. },
  19129. "middlegoodsname": {
  19130. "description": "套保品种名称",
  19131. "type": "string"
  19132. },
  19133. "reckondate": {
  19134. "description": "日照时期(yyyyMMdd)",
  19135. "type": "string"
  19136. },
  19137. "spotactualpl": {
  19138. "description": "现货损益",
  19139. "type": "number"
  19140. },
  19141. "spotfloatpl": {
  19142. "description": "现货浮动损益",
  19143. "type": "number"
  19144. },
  19145. "sumactualpl": {
  19146. "description": "实际损益 = (ActualPL + FutureActualPL)",
  19147. "type": "number"
  19148. },
  19149. "sumpl": {
  19150. "description": "汇总损益",
  19151. "type": "number"
  19152. },
  19153. "updatetime": {
  19154. "description": "更新时间",
  19155. "type": "string"
  19156. }
  19157. }
  19158. },
  19159. "models.Ermcp3Brand": {
  19160. "type": "object",
  19161. "properties": {
  19162. "areauserid": {
  19163. "description": "用户id",
  19164. "type": "integer"
  19165. },
  19166. "brandid": {
  19167. "description": "品牌id",
  19168. "type": "integer"
  19169. },
  19170. "brandname": {
  19171. "description": "品牌名称",
  19172. "type": "string"
  19173. },
  19174. "deliverygoodsid": {
  19175. "description": "品种ID",
  19176. "type": "integer"
  19177. }
  19178. }
  19179. },
  19180. "models.Ermcp3Contract": {
  19181. "type": "object",
  19182. "properties": {
  19183. "accountid": {
  19184. "description": "期货账户id",
  19185. "type": "string"
  19186. },
  19187. "amount": {
  19188. "description": "金额 [1:一口价、3:暂定价]",
  19189. "type": "number"
  19190. },
  19191. "attachment": {
  19192. "description": "附件",
  19193. "type": "string"
  19194. },
  19195. "auditremark": {
  19196. "description": "审核意见",
  19197. "type": "string"
  19198. },
  19199. "audittime": {
  19200. "description": "审核时间",
  19201. "type": "string"
  19202. },
  19203. "biztype": {
  19204. "description": "业务类型 1-套保 2-套利",
  19205. "type": "integer"
  19206. },
  19207. "brandname": {
  19208. "description": "品牌名称",
  19209. "type": "string"
  19210. },
  19211. "buynickname": {
  19212. "description": "销售方昵称",
  19213. "type": "string"
  19214. },
  19215. "buyuserid": {
  19216. "description": "采购方ID",
  19217. "type": "integer"
  19218. },
  19219. "buyusername": {
  19220. "description": "采购方名称",
  19221. "type": "string"
  19222. },
  19223. "contracctstatus": {
  19224. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19225. "type": "integer"
  19226. },
  19227. "contractmargin": {
  19228. "description": "合同保证金",
  19229. "type": "number"
  19230. },
  19231. "contractno": {
  19232. "description": "现货合同编号",
  19233. "type": "string"
  19234. },
  19235. "contracttype": {
  19236. "description": "现货合同类型 - 1:采购 -1:销售",
  19237. "type": "integer"
  19238. },
  19239. "convertfactor": {
  19240. "description": "标仓系数(品类)",
  19241. "type": "number"
  19242. },
  19243. "createtime": {
  19244. "description": "创建时间",
  19245. "type": "string"
  19246. },
  19247. "currencyid": {
  19248. "description": "币种id",
  19249. "type": "integer"
  19250. },
  19251. "currencyname": {
  19252. "description": "币种名称",
  19253. "type": "string"
  19254. },
  19255. "deliveryenddate": {
  19256. "description": "交收期(结束)",
  19257. "type": "string"
  19258. },
  19259. "deliverygoodscode": {
  19260. "description": "现货品种代码",
  19261. "type": "string"
  19262. },
  19263. "deliverygoodsid": {
  19264. "description": "现货品种ID",
  19265. "type": "integer"
  19266. },
  19267. "deliverygoodsname": {
  19268. "description": "现货品种名称",
  19269. "type": "string"
  19270. },
  19271. "deliverystartdate": {
  19272. "description": "交收期(开始)",
  19273. "type": "string"
  19274. },
  19275. "enddate": {
  19276. "description": "点价结束日期 [2:点价 3:暂定价]",
  19277. "type": "string"
  19278. },
  19279. "enumdicname": {
  19280. "description": "单位名称",
  19281. "type": "string"
  19282. },
  19283. "goodscode": {
  19284. "description": "点价合约代码",
  19285. "type": "string"
  19286. },
  19287. "goodsid": {
  19288. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  19289. "type": "integer"
  19290. },
  19291. "goodsname": {
  19292. "description": "点价商品名称",
  19293. "type": "string"
  19294. },
  19295. "margin": {
  19296. "description": "当前保证金",
  19297. "type": "number"
  19298. },
  19299. "meruserid": {
  19300. "description": "跟单员id",
  19301. "type": "integer"
  19302. },
  19303. "meruserlogincode": {
  19304. "description": "跟单员登录代码",
  19305. "type": "string"
  19306. },
  19307. "merusername": {
  19308. "description": "跟单员名称",
  19309. "type": "string"
  19310. },
  19311. "price": {
  19312. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  19313. "type": "number"
  19314. },
  19315. "pricemove": {
  19316. "description": "升贴水 [2:点价 3:暂定价]",
  19317. "type": "number"
  19318. },
  19319. "pricetype": {
  19320. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19321. "type": "integer"
  19322. },
  19323. "producttype": {
  19324. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19325. "type": "integer"
  19326. },
  19327. "qty": {
  19328. "description": "数量",
  19329. "type": "number"
  19330. },
  19331. "remark": {
  19332. "description": "备注",
  19333. "type": "string"
  19334. },
  19335. "saleuserid": {
  19336. "description": "业务员id",
  19337. "type": "integer"
  19338. },
  19339. "saleuserlogincode": {
  19340. "description": "业务员登录代码",
  19341. "type": "string"
  19342. },
  19343. "saleusername": {
  19344. "description": "业务员名称",
  19345. "type": "string"
  19346. },
  19347. "sellnickname": {
  19348. "description": "采购方昵称",
  19349. "type": "string"
  19350. },
  19351. "selluserid": {
  19352. "description": "销售方ID",
  19353. "type": "integer"
  19354. },
  19355. "sellusername": {
  19356. "description": "销售方名称",
  19357. "type": "string"
  19358. },
  19359. "spotcontractid": {
  19360. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  19361. "type": "string"
  19362. },
  19363. "spotgoodsbrandid": {
  19364. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19365. "type": "integer"
  19366. },
  19367. "spotgoodsdesc": {
  19368. "description": "商品型号",
  19369. "type": "string"
  19370. },
  19371. "startdate": {
  19372. "description": "点价开始日期 [2:点价 3:暂定价]",
  19373. "type": "string"
  19374. },
  19375. "tradeuserid": {
  19376. "description": "交易员id",
  19377. "type": "integer"
  19378. },
  19379. "tradeuserlogincode": {
  19380. "description": "交易员登录代码",
  19381. "type": "string"
  19382. },
  19383. "tradeusername": {
  19384. "description": "交易员名称",
  19385. "type": "string"
  19386. },
  19387. "unitid": {
  19388. "description": "单位id(取品类上的单位id)",
  19389. "type": "integer"
  19390. },
  19391. "updatetime": {
  19392. "description": "更新时间",
  19393. "type": "string"
  19394. },
  19395. "userid": {
  19396. "description": "所属机构ID",
  19397. "type": "integer"
  19398. },
  19399. "wrstandardcode": {
  19400. "description": "品类代码",
  19401. "type": "string"
  19402. },
  19403. "wrstandardid": {
  19404. "description": "品类ID",
  19405. "type": "integer"
  19406. },
  19407. "wrstandardname": {
  19408. "description": "品类名称",
  19409. "type": "string"
  19410. }
  19411. }
  19412. },
  19413. "models.Ermcp3ExposureContractDetail": {
  19414. "type": "object",
  19415. "properties": {
  19416. "biztype": {
  19417. "description": "业务类型 1-套保 2-套利",
  19418. "type": "integer"
  19419. },
  19420. "brandname": {
  19421. "description": "品牌名称",
  19422. "type": "string"
  19423. },
  19424. "buyuserid": {
  19425. "description": "采购方id",
  19426. "type": "integer"
  19427. },
  19428. "buyusername": {
  19429. "description": "采购方名称",
  19430. "type": "string"
  19431. },
  19432. "contractno": {
  19433. "description": "合同编号",
  19434. "type": "string"
  19435. },
  19436. "contracttype": {
  19437. "description": "现货合同类型 - 1:采购 -1:销售",
  19438. "type": "integer"
  19439. },
  19440. "convertfactor": {
  19441. "description": "标仓系数",
  19442. "type": "number"
  19443. },
  19444. "convertratio": {
  19445. "description": "折算系数(套保品种)",
  19446. "type": "number"
  19447. },
  19448. "curqty": {
  19449. "description": "今定价量",
  19450. "type": "number"
  19451. },
  19452. "deliverygoodscode": {
  19453. "description": "现货商品代码",
  19454. "type": "string"
  19455. },
  19456. "deliverygoodsid": {
  19457. "description": "现货商品id",
  19458. "type": "integer"
  19459. },
  19460. "deliverygoodsname": {
  19461. "description": "现货商品名称",
  19462. "type": "string"
  19463. },
  19464. "diffhedgeqty": {
  19465. "description": "套保变动量",
  19466. "type": "number"
  19467. },
  19468. "diffneedhedgeqty": {
  19469. "description": "应套保变动量",
  19470. "type": "number"
  19471. },
  19472. "diffqty": {
  19473. "description": "套保品种今变动量",
  19474. "type": "number"
  19475. },
  19476. "enumdicname": {
  19477. "description": "单位名称",
  19478. "type": "string"
  19479. },
  19480. "mgunitname": {
  19481. "description": "套保品种单位名称",
  19482. "type": "string"
  19483. },
  19484. "middlegoodscode": {
  19485. "description": "套保品种代码",
  19486. "type": "string"
  19487. },
  19488. "middlegoodsid": {
  19489. "description": "套保品种id",
  19490. "type": "integer"
  19491. },
  19492. "middlegoodsname": {
  19493. "description": "套保品种名称",
  19494. "type": "string"
  19495. },
  19496. "needarbitrageratio": {
  19497. "description": "应套利比例",
  19498. "type": "number"
  19499. },
  19500. "needhedgeratio": {
  19501. "description": "应套保比例",
  19502. "type": "number"
  19503. },
  19504. "pricedqty": {
  19505. "description": "已定价量",
  19506. "type": "number"
  19507. },
  19508. "qty": {
  19509. "description": "合同量",
  19510. "type": "number"
  19511. },
  19512. "selluserid": {
  19513. "description": "销售方id",
  19514. "type": "integer"
  19515. },
  19516. "sellusername": {
  19517. "description": "销售方名称",
  19518. "type": "string"
  19519. },
  19520. "spotcontractid": {
  19521. "description": "合同id",
  19522. "type": "string"
  19523. },
  19524. "todaypricedqty": {
  19525. "description": "今定价量",
  19526. "type": "number"
  19527. },
  19528. "tradedate": {
  19529. "description": "交易日",
  19530. "type": "string"
  19531. },
  19532. "unitid": {
  19533. "description": "品类单位id",
  19534. "type": "integer"
  19535. },
  19536. "userid": {
  19537. "description": "机构id",
  19538. "type": "integer"
  19539. },
  19540. "username": {
  19541. "description": "交易用户",
  19542. "type": "string"
  19543. },
  19544. "wrstandardcode": {
  19545. "description": "品类代码",
  19546. "type": "string"
  19547. },
  19548. "wrstandardid": {
  19549. "description": "品类id",
  19550. "type": "integer"
  19551. },
  19552. "wrstandardname": {
  19553. "description": "品类名称",
  19554. "type": "string"
  19555. }
  19556. }
  19557. },
  19558. "models.Ermcp3ExposureDetail": {
  19559. "type": "object",
  19560. "properties": {
  19561. "areauserid": {
  19562. "description": "机构ID",
  19563. "type": "integer"
  19564. },
  19565. "changeQty": {
  19566. "description": "套保变动量",
  19567. "type": "number"
  19568. },
  19569. "contracttype": {
  19570. "description": "现货合同类型 - 1:采购 -1:销售",
  19571. "type": "integer"
  19572. },
  19573. "convertfactor": {
  19574. "description": "标仓系数",
  19575. "type": "number"
  19576. },
  19577. "convertratio": {
  19578. "description": "套保系数",
  19579. "type": "number"
  19580. },
  19581. "createtime": {
  19582. "description": "时间",
  19583. "type": "string"
  19584. },
  19585. "deliverygoodscode": {
  19586. "description": "现货品种代码",
  19587. "type": "string"
  19588. },
  19589. "deliverygoodsid": {
  19590. "description": "现货品种id",
  19591. "type": "integer"
  19592. },
  19593. "deliverygoodsname": {
  19594. "description": "现货品种名称",
  19595. "type": "string"
  19596. },
  19597. "enumdicname": {
  19598. "description": "现货商品单位名称",
  19599. "type": "string"
  19600. },
  19601. "logtype": {
  19602. "description": "类型 - 1:套保计划 2:现货合同",
  19603. "type": "integer"
  19604. },
  19605. "mgunitid": {
  19606. "description": "套保品种单位id",
  19607. "type": "integer"
  19608. },
  19609. "mgunitidname": {
  19610. "description": "套保品种单位名称",
  19611. "type": "string"
  19612. },
  19613. "middlegoodsId": {
  19614. "description": "套保商品id",
  19615. "type": "integer"
  19616. },
  19617. "middlegoodscode": {
  19618. "description": "套保商品代码",
  19619. "type": "string"
  19620. },
  19621. "middlegoodsname": {
  19622. "description": "套保商品名称",
  19623. "type": "string"
  19624. },
  19625. "qty": {
  19626. "description": "数量",
  19627. "type": "number"
  19628. },
  19629. "relateNo": {
  19630. "description": "现货合同/套保计划编号",
  19631. "type": "string"
  19632. }
  19633. }
  19634. },
  19635. "models.Ermcp3ExposureFutuDetail": {
  19636. "type": "object",
  19637. "properties": {
  19638. "accountid": {
  19639. "description": "交易账户id",
  19640. "type": "integer"
  19641. },
  19642. "accountname": {
  19643. "description": "交易账户",
  19644. "type": "string"
  19645. },
  19646. "begindate": {
  19647. "description": "开始交易日",
  19648. "type": "string"
  19649. },
  19650. "buyorsell": {
  19651. "description": "方向 0-买 1-卖",
  19652. "type": "integer"
  19653. },
  19654. "diffmgqty": {
  19655. "description": "套保品种今变化量",
  19656. "type": "number"
  19657. },
  19658. "diffneedqty": {
  19659. "description": "应套保总量变化量",
  19660. "type": "number"
  19661. },
  19662. "difftradeqty": {
  19663. "description": "交易品种今变化量",
  19664. "type": "number"
  19665. },
  19666. "enddate": {
  19667. "description": "结束交易日",
  19668. "type": "string"
  19669. },
  19670. "enumdicname": {
  19671. "description": "单位名称",
  19672. "type": "string"
  19673. },
  19674. "goodscode": {
  19675. "description": "商品代码",
  19676. "type": "string"
  19677. },
  19678. "goodsid": {
  19679. "description": "商品id",
  19680. "type": "integer"
  19681. },
  19682. "goodsname": {
  19683. "description": "商品名称",
  19684. "type": "string"
  19685. },
  19686. "holdqty": {
  19687. "description": "期末持仓量",
  19688. "type": "number"
  19689. },
  19690. "middlegoodscode": {
  19691. "description": "套保商品代码",
  19692. "type": "string"
  19693. },
  19694. "middlegoodsid": {
  19695. "description": "套保商品id",
  19696. "type": "integer"
  19697. },
  19698. "middlegoodsname": {
  19699. "description": "套保商品名称",
  19700. "type": "string"
  19701. },
  19702. "oriholdqty": {
  19703. "description": "期初持仓量",
  19704. "type": "number"
  19705. },
  19706. "todaycloseqty": {
  19707. "description": "今平仓量",
  19708. "type": "number"
  19709. },
  19710. "todayopenqty": {
  19711. "description": "今开仓量",
  19712. "type": "number"
  19713. },
  19714. "tradedate": {
  19715. "description": "交易日",
  19716. "type": "string"
  19717. }
  19718. }
  19719. },
  19720. "models.Ermcp3ExposureHedgeplanDetail": {
  19721. "type": "object",
  19722. "properties": {
  19723. "biztype": {
  19724. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  19725. "type": "integer"
  19726. },
  19727. "changqty": {
  19728. "description": "应套保总量变化量",
  19729. "type": "number"
  19730. },
  19731. "contracttype": {
  19732. "description": "计划类型 - 1:采购 -1:销售",
  19733. "type": "integer"
  19734. },
  19735. "convertratio": {
  19736. "description": "折算系数(套保品种)",
  19737. "type": "number"
  19738. },
  19739. "deliverygoodscode": {
  19740. "description": "现货商品代码",
  19741. "type": "string"
  19742. },
  19743. "deliverygoodsid": {
  19744. "description": "现货商品id",
  19745. "type": "integer"
  19746. },
  19747. "deliverygoodsname": {
  19748. "description": "现货商吕名称",
  19749. "type": "string"
  19750. },
  19751. "dgunitid": {
  19752. "description": "现货商品单位id",
  19753. "type": "integer"
  19754. },
  19755. "dgunitidname": {
  19756. "description": "单位名称(现货商品)",
  19757. "type": "string"
  19758. },
  19759. "diffqty": {
  19760. "description": "套保品种今变动量",
  19761. "type": "number"
  19762. },
  19763. "enumdicname": {
  19764. "description": "单位名称(品类)",
  19765. "type": "string"
  19766. },
  19767. "hedgeplanid": {
  19768. "description": "套保计划id",
  19769. "type": "string"
  19770. },
  19771. "hedgeplanno": {
  19772. "description": "套保计划名称",
  19773. "type": "string"
  19774. },
  19775. "hedgeplanstatus": {
  19776. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19777. "type": "integer"
  19778. },
  19779. "mgunitidname": {
  19780. "description": "单位名称(套保商品)",
  19781. "type": "string"
  19782. },
  19783. "middlegoodscode": {
  19784. "description": "套保品种代码",
  19785. "type": "string"
  19786. },
  19787. "middlegoodsid": {
  19788. "description": "套保品种id",
  19789. "type": "integer"
  19790. },
  19791. "middlegoodsname": {
  19792. "description": "套保品种名称",
  19793. "type": "string"
  19794. },
  19795. "needarbitrageratio": {
  19796. "description": "应套利比例",
  19797. "type": "number"
  19798. },
  19799. "needhedgeratio": {
  19800. "description": "应套保比例",
  19801. "type": "number"
  19802. },
  19803. "pricedqty": {
  19804. "description": "已定价量",
  19805. "type": "number"
  19806. },
  19807. "qty": {
  19808. "description": "合同量",
  19809. "type": "number"
  19810. },
  19811. "tradedate": {
  19812. "description": "交易日(登记日)",
  19813. "type": "string"
  19814. },
  19815. "unitid": {
  19816. "description": "品类单位id",
  19817. "type": "integer"
  19818. },
  19819. "userid": {
  19820. "description": "机构id",
  19821. "type": "integer"
  19822. },
  19823. "wrstandardcode": {
  19824. "description": "品类代码",
  19825. "type": "string"
  19826. },
  19827. "wrstandardid": {
  19828. "description": "品类id",
  19829. "type": "integer"
  19830. },
  19831. "wrstandardname": {
  19832. "description": "品类名称",
  19833. "type": "string"
  19834. }
  19835. }
  19836. },
  19837. "models.Ermcp3ExposureParamChLog": {
  19838. "type": "object",
  19839. "properties": {
  19840. "accountid": {
  19841. "description": "期货账户ID (作废, 默认为0)",
  19842. "type": "integer"
  19843. },
  19844. "aftervalue": {
  19845. "description": "应套保\\套利量变更后(调整后应套保总量)",
  19846. "type": "number"
  19847. },
  19848. "areauserid": {
  19849. "description": "所属机构\\交易用户ID",
  19850. "type": "integer"
  19851. },
  19852. "beforevalue": {
  19853. "description": "应套保\\套利量变更前(调整前应套保总量)",
  19854. "type": "number"
  19855. },
  19856. "begindate": {
  19857. "description": "开始交易日",
  19858. "type": "string"
  19859. },
  19860. "changelogtype": {
  19861. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  19862. "type": "integer"
  19863. },
  19864. "curvalue": {
  19865. "description": "当前套保\\套利量(套保总量|套利总量)",
  19866. "type": "number"
  19867. },
  19868. "diffvalue": {
  19869. "description": "应套保总量变化量",
  19870. "type": "number"
  19871. },
  19872. "enddate": {
  19873. "description": "结束交易日",
  19874. "type": "string"
  19875. },
  19876. "logdatetime": {
  19877. "description": "流水日期",
  19878. "type": "string"
  19879. },
  19880. "logid": {
  19881. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  19882. "type": "string"
  19883. },
  19884. "middlegoodscode": {
  19885. "description": "套保品种代码",
  19886. "type": "string"
  19887. },
  19888. "middlegoodsid": {
  19889. "description": "套保品种",
  19890. "type": "integer"
  19891. },
  19892. "middlegoodsname": {
  19893. "description": "套保品种名称",
  19894. "type": "string"
  19895. },
  19896. "paramaftervalue": {
  19897. "description": "参数变更后(调整后参数值)",
  19898. "type": "number"
  19899. },
  19900. "parambeforevalue": {
  19901. "description": "参数变更前(调整前参数值)",
  19902. "type": "number"
  19903. },
  19904. "tradedate": {
  19905. "description": "交易日(yyyyMMdd)",
  19906. "type": "string"
  19907. }
  19908. }
  19909. },
  19910. "models.Ermcp3ExpourseReport": {
  19911. "type": "object",
  19912. "properties": {
  19913. "accountid": {
  19914. "description": "期货账户ID (作废, 默认为0)",
  19915. "type": "integer"
  19916. },
  19917. "accountname": {
  19918. "description": "机构名称",
  19919. "type": "string"
  19920. },
  19921. "arbitrageqty": {
  19922. "description": "套利量",
  19923. "type": "number"
  19924. },
  19925. "areauserid": {
  19926. "description": "所属机构\\交易用户ID",
  19927. "type": "integer"
  19928. },
  19929. "begindate": {
  19930. "description": "开始交易日",
  19931. "type": "string"
  19932. },
  19933. "buyfutureqty": {
  19934. "description": "买入期货数量",
  19935. "type": "number"
  19936. },
  19937. "buyplanqty": {
  19938. "description": "采购计划数量",
  19939. "type": "number"
  19940. },
  19941. "buypricedqty": {
  19942. "description": "采购合同已定价数量",
  19943. "type": "number"
  19944. },
  19945. "cycletime": {
  19946. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19947. "type": "string"
  19948. },
  19949. "cycletype": {
  19950. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19951. "type": "integer"
  19952. },
  19953. "diffexposure": {
  19954. "description": "变动量(套保敞口)",
  19955. "type": "number"
  19956. },
  19957. "difffutuqty": {
  19958. "description": "变动量(期货)",
  19959. "type": "number"
  19960. },
  19961. "diffhedgeqty": {
  19962. "description": "变动量(现货应套保总量)",
  19963. "type": "number"
  19964. },
  19965. "diffmgqtya": {
  19966. "description": "套保变动量",
  19967. "type": "number"
  19968. },
  19969. "diffmgqtyb": {
  19970. "description": "套利变动量",
  19971. "type": "number"
  19972. },
  19973. "diffqty": {
  19974. "description": "变动量(总敞口)",
  19975. "type": "number"
  19976. },
  19977. "diffspotqty": {
  19978. "description": "变动量(现货)",
  19979. "type": "number"
  19980. },
  19981. "enddate": {
  19982. "description": "结束交易日",
  19983. "type": "string"
  19984. },
  19985. "enumdicname": {
  19986. "description": "单位名称",
  19987. "type": "string"
  19988. },
  19989. "hedgeqty": {
  19990. "description": "套保量",
  19991. "type": "number"
  19992. },
  19993. "mgneedhedgeratio": {
  19994. "description": "套保比例(套保品的)",
  19995. "type": "number"
  19996. },
  19997. "middlegoodsid": {
  19998. "description": "套保品种ID",
  19999. "type": "integer"
  20000. },
  20001. "middlegoodsname": {
  20002. "description": "套保商品名称",
  20003. "type": "string"
  20004. },
  20005. "middlgoodscode": {
  20006. "description": "套保商品代码",
  20007. "type": "string"
  20008. },
  20009. "needarbitrageqty": {
  20010. "description": "应套利量",
  20011. "type": "number"
  20012. },
  20013. "needarbitrageratio": {
  20014. "description": "套利比例(套保品的)",
  20015. "type": "number"
  20016. },
  20017. "needhedgeexposoure": {
  20018. "description": "应套保敞口(套保敞口)",
  20019. "type": "number"
  20020. },
  20021. "needhedgeqty": {
  20022. "description": "应套保量",
  20023. "type": "number"
  20024. },
  20025. "needhedgeratio": {
  20026. "description": "应套保敞口比例",
  20027. "type": "number"
  20028. },
  20029. "oriarbitrageqty": {
  20030. "description": "期初套利量",
  20031. "type": "number"
  20032. },
  20033. "oribuyfutureqty": {
  20034. "description": "期初买入期货数量",
  20035. "type": "number"
  20036. },
  20037. "oribuyplanqty": {
  20038. "description": "期初采购计划数量",
  20039. "type": "number"
  20040. },
  20041. "oribuypricedqty": {
  20042. "description": "期初采购合同已定价数量",
  20043. "type": "number"
  20044. },
  20045. "orihedgeqty": {
  20046. "description": "期初套保量",
  20047. "type": "number"
  20048. },
  20049. "orineedarbitrageqty": {
  20050. "description": "期初应套利量",
  20051. "type": "number"
  20052. },
  20053. "orineedhedgeexposoure": {
  20054. "description": "期初应套保敞口",
  20055. "type": "number"
  20056. },
  20057. "orineedhedgeqty": {
  20058. "description": "期初应套保量",
  20059. "type": "number"
  20060. },
  20061. "orisellfutureqty": {
  20062. "description": "期初卖出期货数量",
  20063. "type": "number"
  20064. },
  20065. "orisellplanqty": {
  20066. "description": "期初销售计划数量",
  20067. "type": "number"
  20068. },
  20069. "orisellpricedqty": {
  20070. "description": "期初销售合同已定价数量",
  20071. "type": "number"
  20072. },
  20073. "oritotalexposure": {
  20074. "description": "期初实时总敞口",
  20075. "type": "number"
  20076. },
  20077. "oritotalfutureqty": {
  20078. "description": "期初期货头寸总量",
  20079. "type": "number"
  20080. },
  20081. "oritotalneedhedgeqty": {
  20082. "description": "期初应套保总量",
  20083. "type": "number"
  20084. },
  20085. "oritotalspotqty": {
  20086. "description": "期初现货头寸总量",
  20087. "type": "number"
  20088. },
  20089. "reckondate": {
  20090. "description": "日照时期(yyyyMMdd)",
  20091. "type": "string"
  20092. },
  20093. "sellfutureqty": {
  20094. "description": "卖出期货数量",
  20095. "type": "number"
  20096. },
  20097. "sellplanqty": {
  20098. "description": "销售计划数量",
  20099. "type": "number"
  20100. },
  20101. "sellpricedqty": {
  20102. "description": "销售合同已定价数量",
  20103. "type": "number"
  20104. },
  20105. "totalexposure": {
  20106. "description": "实时总敞口(总敞口)",
  20107. "type": "number"
  20108. },
  20109. "totalfutureqty": {
  20110. "description": "期货头寸总量(期货总量)",
  20111. "type": "number"
  20112. },
  20113. "totalhedgeratio": {
  20114. "description": "敞口比例",
  20115. "type": "number"
  20116. },
  20117. "totalneedhedgeqty": {
  20118. "description": "应套保总量(现货应套保总量)",
  20119. "type": "number"
  20120. },
  20121. "totalspotqty": {
  20122. "description": "现货头寸总量",
  20123. "type": "number"
  20124. },
  20125. "unitid": {
  20126. "description": "单位id",
  20127. "type": "integer"
  20128. },
  20129. "updatetime": {
  20130. "description": "更新时间",
  20131. "type": "string"
  20132. }
  20133. }
  20134. },
  20135. "models.Ermcp3FinanceReport": {
  20136. "type": "object",
  20137. "properties": {
  20138. "accountname": {
  20139. "description": "机构名称",
  20140. "type": "string"
  20141. },
  20142. "areauserid": {
  20143. "description": "所属机构\\交易用户ID",
  20144. "type": "integer"
  20145. },
  20146. "begindate": {
  20147. "description": "开始交易日",
  20148. "type": "string"
  20149. },
  20150. "biztype": {
  20151. "description": "业务类型 - 1:套保 2:套利",
  20152. "type": "integer"
  20153. },
  20154. "brandname": {
  20155. "description": "品牌名称",
  20156. "type": "string"
  20157. },
  20158. "buypreinvoicedamount": {
  20159. "description": "采购预收票额(预收票额)",
  20160. "type": "number"
  20161. },
  20162. "buyprepaidamount": {
  20163. "description": "采购预付款额(预付货款额)",
  20164. "type": "number"
  20165. },
  20166. "buytodayinvoiceamount": {
  20167. "description": "采购今收票额(今收票额)",
  20168. "type": "number"
  20169. },
  20170. "buytodayrefundamount": {
  20171. "description": "采购今收退款额(今收退款额)",
  20172. "type": "number"
  20173. },
  20174. "buytodaysettleamount": {
  20175. "description": "采购今付款额(今付货款额)",
  20176. "type": "number"
  20177. },
  20178. "buyuninvoicedamount": {
  20179. "description": "采购应收票额(应收票额)",
  20180. "type": "number"
  20181. },
  20182. "buyunpaidamount": {
  20183. "description": "采购应付款额(应付货款额)",
  20184. "type": "number"
  20185. },
  20186. "currencyid": {
  20187. "description": "结算币种ID",
  20188. "type": "integer"
  20189. },
  20190. "currencyname": {
  20191. "description": "币种名称",
  20192. "type": "string"
  20193. },
  20194. "cycletime": {
  20195. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20196. "type": "string"
  20197. },
  20198. "cycletype": {
  20199. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20200. "type": "integer"
  20201. },
  20202. "deliverygoodscode": {
  20203. "description": "现货品种代码",
  20204. "type": "string"
  20205. },
  20206. "deliverygoodsid": {
  20207. "description": "现货品种ID",
  20208. "type": "integer"
  20209. },
  20210. "deliverygoodsname": {
  20211. "description": "现货品种名称",
  20212. "type": "string"
  20213. },
  20214. "enddate": {
  20215. "description": "结束交易日",
  20216. "type": "string"
  20217. },
  20218. "reckondate": {
  20219. "description": "日照时期(yyyyMMdd)",
  20220. "type": "string"
  20221. },
  20222. "sellpreinvoicedamount": {
  20223. "description": "销售预开票额(预开票额)",
  20224. "type": "number"
  20225. },
  20226. "sellprepaidamount": {
  20227. "description": "销售预收款额(预收货款额)",
  20228. "type": "number"
  20229. },
  20230. "selltodayinvoiceamount": {
  20231. "description": "销售今开票额(今开票额)",
  20232. "type": "number"
  20233. },
  20234. "selltodayrefundamount": {
  20235. "description": "销售今付退款额(今付退款额)",
  20236. "type": "number"
  20237. },
  20238. "selltodaysettleamount": {
  20239. "description": "销售今收款额(今收货款额)",
  20240. "type": "number"
  20241. },
  20242. "selluninvoicedamount": {
  20243. "description": "销售应开票额(应开票额)",
  20244. "type": "number"
  20245. },
  20246. "sellunpaidamount": {
  20247. "description": "销售应收款额(应收货款额)",
  20248. "type": "number"
  20249. },
  20250. "spotgoodsbrandid": {
  20251. "description": "现货品牌ID",
  20252. "type": "integer"
  20253. },
  20254. "todaypaysum": {
  20255. "description": "今付款合计",
  20256. "type": "number"
  20257. },
  20258. "todayreceivesum": {
  20259. "description": "今收款合计",
  20260. "type": "number"
  20261. },
  20262. "updatetime": {
  20263. "description": "更新时间",
  20264. "type": "string"
  20265. },
  20266. "wrfactortypeid": {
  20267. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20268. "type": "integer"
  20269. },
  20270. "wrstandardcode": {
  20271. "description": "品类代码",
  20272. "type": "string"
  20273. },
  20274. "wrstandardid": {
  20275. "description": "现货商品ID",
  20276. "type": "integer"
  20277. },
  20278. "wrstandardname": {
  20279. "description": "品类名称",
  20280. "type": "string"
  20281. }
  20282. }
  20283. },
  20284. "models.Ermcp3Goods": {
  20285. "type": "object",
  20286. "properties": {
  20287. "agreeunit": {
  20288. "description": "合约单位(合约乘数)",
  20289. "type": "number"
  20290. },
  20291. "enumdicname": {
  20292. "description": "单位名称",
  20293. "type": "string"
  20294. },
  20295. "exexchangecode": {
  20296. "description": "交易所代码",
  20297. "type": "string"
  20298. },
  20299. "goodscode": {
  20300. "description": "期货商品代码",
  20301. "type": "string"
  20302. },
  20303. "goodsid": {
  20304. "description": "期货商品id",
  20305. "type": "integer"
  20306. },
  20307. "goodsname": {
  20308. "description": "期货商品名称",
  20309. "type": "string"
  20310. }
  20311. }
  20312. },
  20313. "models.Ermcp3GoodsGroup": {
  20314. "type": "object",
  20315. "required": [
  20316. "areauserid"
  20317. ],
  20318. "properties": {
  20319. "agreeunit": {
  20320. "description": "合约单位",
  20321. "type": "number"
  20322. },
  20323. "areauserid": {
  20324. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  20325. "type": "integer"
  20326. },
  20327. "canshort": {
  20328. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20329. "type": "integer"
  20330. },
  20331. "closepricemode": {
  20332. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20333. "type": "integer"
  20334. },
  20335. "createtime": {
  20336. "description": "创建时间",
  20337. "type": "string"
  20338. },
  20339. "creatorid": {
  20340. "description": "创建人",
  20341. "type": "integer"
  20342. },
  20343. "currencyid": {
  20344. "description": "报价货币ID",
  20345. "type": "integer"
  20346. },
  20347. "decimalplace": {
  20348. "description": "报价小数位",
  20349. "type": "integer"
  20350. },
  20351. "enumdicname": {
  20352. "description": "单位名称",
  20353. "type": "string"
  20354. },
  20355. "exchangefullname": {
  20356. "description": "交易所全称",
  20357. "type": "string"
  20358. },
  20359. "excludecfg": {
  20360. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  20361. "type": "integer"
  20362. },
  20363. "exexchangecode": {
  20364. "description": "交易所代码",
  20365. "type": "string"
  20366. },
  20367. "exexchangeid": {
  20368. "description": "外部交易所ID[通道交易]",
  20369. "type": "integer"
  20370. },
  20371. "exexchangename": {
  20372. "description": "交易所名称",
  20373. "type": "string"
  20374. },
  20375. "goodsgroupid": {
  20376. "description": "商品组ID(自增ID)",
  20377. "type": "integer"
  20378. },
  20379. "goodsgroupname": {
  20380. "description": "商品组名称",
  20381. "type": "string"
  20382. },
  20383. "goodsgroupstatus": {
  20384. "description": "商品组状态 - 1:正常 2:注销",
  20385. "type": "integer"
  20386. },
  20387. "goodunitid": {
  20388. "description": "报价单位ID",
  20389. "type": "integer"
  20390. },
  20391. "groupcategroyid": {
  20392. "description": "品种分类ID",
  20393. "type": "integer"
  20394. },
  20395. "innerdealmode": {
  20396. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20397. "type": "integer"
  20398. },
  20399. "marketid": {
  20400. "description": "所属市场ID",
  20401. "type": "integer"
  20402. },
  20403. "modifierid": {
  20404. "description": "修改人",
  20405. "type": "integer"
  20406. },
  20407. "modifytime": {
  20408. "description": "修改时间",
  20409. "type": "string"
  20410. },
  20411. "outerdealmode": {
  20412. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20413. "type": "integer"
  20414. },
  20415. "outergroupcode": {
  20416. "description": "外部商品组代码[通道交易]",
  20417. "type": "string"
  20418. },
  20419. "quoteminunit": {
  20420. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20421. "type": "integer"
  20422. },
  20423. "quotesourcegroupid": {
  20424. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20425. "type": "integer"
  20426. },
  20427. "syncgoodsqty": {
  20428. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20429. "type": "integer"
  20430. }
  20431. }
  20432. },
  20433. "models.Ermcp3GoodsGroupEx": {
  20434. "type": "object",
  20435. "properties": {
  20436. "convertratio": {
  20437. "description": "折算系数(品种系数)",
  20438. "type": "number"
  20439. },
  20440. "enumdicname": {
  20441. "description": "单位名称",
  20442. "type": "string"
  20443. },
  20444. "exexchangecode": {
  20445. "description": "交易所代码",
  20446. "type": "string"
  20447. },
  20448. "glist": {
  20449. "description": "合约列表",
  20450. "type": "array",
  20451. "items": {
  20452. "$ref": "#/definitions/models.Ermcp3Goods"
  20453. }
  20454. },
  20455. "goodsgroupid": {
  20456. "description": "商品组id",
  20457. "type": "integer"
  20458. },
  20459. "goodsgroupname": {
  20460. "description": "商品组名称",
  20461. "type": "string"
  20462. },
  20463. "goodsunitid": {
  20464. "description": "单位id",
  20465. "type": "integer"
  20466. },
  20467. "middlegoodsid": {
  20468. "description": "套保商品id",
  20469. "type": "integer"
  20470. }
  20471. }
  20472. },
  20473. "models.Ermcp3HedgePlan": {
  20474. "type": "object",
  20475. "properties": {
  20476. "accountid": {
  20477. "description": "资金账号",
  20478. "type": "integer"
  20479. },
  20480. "areauserid": {
  20481. "description": "用户ID",
  20482. "type": "integer"
  20483. },
  20484. "auditid": {
  20485. "description": "审核id",
  20486. "type": "integer"
  20487. },
  20488. "auditname": {
  20489. "description": "审核人名称",
  20490. "type": "string"
  20491. },
  20492. "auditremark": {
  20493. "description": "审核备注",
  20494. "type": "string"
  20495. },
  20496. "auditsrc": {
  20497. "description": "审核来源 1-管理端 2-终端",
  20498. "type": "integer"
  20499. },
  20500. "audittime": {
  20501. "description": "审核时间",
  20502. "type": "string"
  20503. },
  20504. "contracttype": {
  20505. "description": "计划类型 - 1:采购 -1:销售",
  20506. "type": "integer"
  20507. },
  20508. "convertfactor": {
  20509. "description": "标仓系数",
  20510. "type": "number"
  20511. },
  20512. "createtime": {
  20513. "description": "创建时间",
  20514. "type": "string"
  20515. },
  20516. "currencyid": {
  20517. "description": "币种id",
  20518. "type": "integer"
  20519. },
  20520. "currencyname": {
  20521. "description": "币种名称",
  20522. "type": "string"
  20523. },
  20524. "deliverygoodscode": {
  20525. "description": "现货品种代码",
  20526. "type": "string"
  20527. },
  20528. "deliverygoodsid": {
  20529. "description": "现货品种ID",
  20530. "type": "integer"
  20531. },
  20532. "deliverygoodsname": {
  20533. "description": "现货品种名称",
  20534. "type": "string"
  20535. },
  20536. "enumdicname": {
  20537. "description": "单位名称(现货商品)",
  20538. "type": "string"
  20539. },
  20540. "hedgeplanid": {
  20541. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  20542. "type": "string"
  20543. },
  20544. "hedgeplanno": {
  20545. "description": "套保计划编号(名称)",
  20546. "type": "string"
  20547. },
  20548. "hedgeplanstatus": {
  20549. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20550. "type": "integer"
  20551. },
  20552. "planqty": {
  20553. "description": "计划数量",
  20554. "type": "number"
  20555. },
  20556. "plantime": {
  20557. "description": "计划时间",
  20558. "type": "string"
  20559. },
  20560. "producttype": {
  20561. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20562. "type": "integer"
  20563. },
  20564. "remark": {
  20565. "description": "备注",
  20566. "type": "string"
  20567. },
  20568. "spotgoodsdesc": {
  20569. "description": "商品型号",
  20570. "type": "string"
  20571. },
  20572. "taaccountname": {
  20573. "description": "资金账号名称",
  20574. "type": "string"
  20575. },
  20576. "tradeuserid": {
  20577. "description": "交易用户id",
  20578. "type": "integer"
  20579. },
  20580. "tradeusername": {
  20581. "description": "交易用户名称",
  20582. "type": "string"
  20583. },
  20584. "unitid": {
  20585. "description": "单位id(现货商品)",
  20586. "type": "integer"
  20587. },
  20588. "updatetime": {
  20589. "description": "更新时间",
  20590. "type": "string"
  20591. },
  20592. "wrstandardcode": {
  20593. "description": "品类代码",
  20594. "type": "string"
  20595. },
  20596. "wrstandardid": {
  20597. "description": "品类id",
  20598. "type": "integer"
  20599. },
  20600. "wrstandardname": {
  20601. "description": "品类名称",
  20602. "type": "string"
  20603. },
  20604. "wrunitid": {
  20605. "description": "品类单位id",
  20606. "type": "integer"
  20607. },
  20608. "wrunitidame": {
  20609. "description": "品类单位名称",
  20610. "type": "string"
  20611. }
  20612. }
  20613. },
  20614. "models.Ermcp3MiddleGoodsDetail2": {
  20615. "type": "object",
  20616. "properties": {
  20617. "convertratio": {
  20618. "description": "套保系数(折算系数)",
  20619. "type": "number"
  20620. },
  20621. "gplist": {
  20622. "description": "关联商品组列表",
  20623. "type": "array",
  20624. "items": {
  20625. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  20626. }
  20627. },
  20628. "mg": {
  20629. "description": "套保商品信息",
  20630. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20631. }
  20632. }
  20633. },
  20634. "models.Ermcp3MiddleGoodsDetailEx": {
  20635. "type": "object",
  20636. "properties": {
  20637. "dglist": {
  20638. "description": "关联的现货品种列表",
  20639. "type": "array",
  20640. "items": {
  20641. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  20642. }
  20643. },
  20644. "gplist": {
  20645. "description": "关联商品组列表",
  20646. "type": "array",
  20647. "items": {
  20648. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  20649. }
  20650. },
  20651. "mg": {
  20652. "description": "套保商品信息",
  20653. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20654. }
  20655. }
  20656. },
  20657. "models.Ermcp3PaAreaAuditCfg": {
  20658. "type": "object",
  20659. "properties": {
  20660. "areauserid": {
  20661. "description": "用户ID",
  20662. "type": "integer"
  20663. },
  20664. "buyinauditflag": {
  20665. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  20666. "type": "integer"
  20667. },
  20668. "customerauditflag": {
  20669. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  20670. "type": "integer"
  20671. },
  20672. "deliveryauditflag": {
  20673. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  20674. "type": "integer"
  20675. },
  20676. "invoiceauditflag": {
  20677. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  20678. "type": "integer"
  20679. },
  20680. "moneyauditflag": {
  20681. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  20682. "type": "integer"
  20683. },
  20684. "operatorid": {
  20685. "description": "操作人",
  20686. "type": "integer"
  20687. },
  20688. "operatorsrc": {
  20689. "description": "操作来源 - 1:管理端 2:终端",
  20690. "type": "integer"
  20691. },
  20692. "pointpriceauditflag": {
  20693. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  20694. "type": "integer"
  20695. },
  20696. "produceinauditflag": {
  20697. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  20698. "type": "integer"
  20699. },
  20700. "produceoutauditflag": {
  20701. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  20702. "type": "integer"
  20703. },
  20704. "selloutauditflag": {
  20705. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  20706. "type": "integer"
  20707. },
  20708. "spotcontractauditflag": {
  20709. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  20710. "type": "integer"
  20711. },
  20712. "updatetime": {
  20713. "description": "更新时间",
  20714. "type": "string"
  20715. }
  20716. }
  20717. },
  20718. "models.Ermcp3PaAreaSubject": {
  20719. "type": "object",
  20720. "properties": {
  20721. "areauserid": {
  20722. "description": "所属机构",
  20723. "type": "integer"
  20724. },
  20725. "canmodify": {
  20726. "description": "是否可修改 - 0:否 1:是",
  20727. "type": "integer"
  20728. },
  20729. "createtime": {
  20730. "description": "创建时间",
  20731. "type": "string"
  20732. },
  20733. "creatorid": {
  20734. "description": "创建人ID",
  20735. "type": "string"
  20736. },
  20737. "creatorsrc": {
  20738. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  20739. "type": "integer"
  20740. },
  20741. "modifierid": {
  20742. "description": "修改人",
  20743. "type": "string"
  20744. },
  20745. "modifiersrc": {
  20746. "description": "修改人来源 - 1:管理端 2:终端",
  20747. "type": "integer"
  20748. },
  20749. "modifytime": {
  20750. "description": "修改时间",
  20751. "type": "string"
  20752. },
  20753. "parentsubjectid": {
  20754. "description": "上级主体ID",
  20755. "type": "string"
  20756. },
  20757. "remark": {
  20758. "description": "备注",
  20759. "type": "string"
  20760. },
  20761. "subjectid": {
  20762. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  20763. "type": "integer"
  20764. },
  20765. "subjectname": {
  20766. "description": "主体名称",
  20767. "type": "string"
  20768. },
  20769. "subjectstatus": {
  20770. "description": "主体状态 - 1:正常 2: 停用",
  20771. "type": "integer"
  20772. },
  20773. "subjecttype": {
  20774. "description": "主体类型 - 1:交易主体 2:业务部门",
  20775. "type": "integer"
  20776. }
  20777. }
  20778. },
  20779. "models.Ermcp3RootUserAccount": {
  20780. "type": "object",
  20781. "properties": {
  20782. "accountname": {
  20783. "description": "账户名称(机构名称)",
  20784. "type": "string"
  20785. },
  20786. "accountstatus": {
  20787. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20788. "type": "integer"
  20789. },
  20790. "applysrc": {
  20791. "description": "申请来源 - 1:管理端 2:终端",
  20792. "type": "integer"
  20793. },
  20794. "auditremark": {
  20795. "description": "审核备注",
  20796. "type": "string"
  20797. },
  20798. "auditsrc": {
  20799. "description": "审核来源 - 1:管理端 2:终端",
  20800. "type": "integer"
  20801. },
  20802. "audittime": {
  20803. "description": "审核时间",
  20804. "type": "string"
  20805. },
  20806. "audituserid": {
  20807. "description": "审核人",
  20808. "type": "integer"
  20809. },
  20810. "broker": {
  20811. "description": "所属经纪人ID",
  20812. "type": "integer"
  20813. },
  20814. "canceltime": {
  20815. "description": "销户时间",
  20816. "type": "string"
  20817. },
  20818. "canceluserid": {
  20819. "description": "销户人",
  20820. "type": "integer"
  20821. },
  20822. "canrecommend": {
  20823. "description": "是否可推荐 - 0:不可 1;可",
  20824. "type": "integer"
  20825. },
  20826. "createtime": {
  20827. "description": "创建时间",
  20828. "type": "string"
  20829. },
  20830. "creatorid": {
  20831. "description": "创建人",
  20832. "type": "integer"
  20833. },
  20834. "hasauth": {
  20835. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  20836. "type": "integer"
  20837. },
  20838. "isanonymous": {
  20839. "description": "是否匿名下单 - 0:否 1:是",
  20840. "type": "integer"
  20841. },
  20842. "maxinvestornum": {
  20843. "description": "最大用户数(经纪会员下投资者个数)",
  20844. "type": "integer"
  20845. },
  20846. "memberuserid": {
  20847. "description": "所属会员ID",
  20848. "type": "integer"
  20849. },
  20850. "modifierid": {
  20851. "description": "修改人",
  20852. "type": "integer"
  20853. },
  20854. "modifyremark": {
  20855. "description": "变更备注",
  20856. "type": "string"
  20857. },
  20858. "modifystatus": {
  20859. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  20860. "type": "integer"
  20861. },
  20862. "modifytime": {
  20863. "description": "修改时间",
  20864. "type": "string"
  20865. },
  20866. "parenttopuser": {
  20867. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  20868. "type": "string"
  20869. },
  20870. "parentuserid": {
  20871. "description": "所属机构ID",
  20872. "type": "integer"
  20873. },
  20874. "reckonaccountid": {
  20875. "description": "默认结算资金账号ID(机构分润使用) 作废",
  20876. "type": "integer"
  20877. },
  20878. "refercount": {
  20879. "description": "推荐总人数",
  20880. "type": "integer"
  20881. },
  20882. "refereeuserid": {
  20883. "description": "推荐人ID",
  20884. "type": "integer"
  20885. },
  20886. "refernum": {
  20887. "description": "推荐码",
  20888. "type": "string"
  20889. },
  20890. "rootuserid": {
  20891. "description": "根用户ID",
  20892. "type": "integer"
  20893. },
  20894. "subaccountlevel": {
  20895. "description": "子账户层数",
  20896. "type": "integer"
  20897. },
  20898. "subarealevelpath": {
  20899. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  20900. "type": "string"
  20901. },
  20902. "userid": {
  20903. "description": "用户ID",
  20904. "type": "integer"
  20905. },
  20906. "usertype": {
  20907. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20908. "type": "integer"
  20909. }
  20910. }
  20911. },
  20912. "models.Ermcp3SellBuyContract": {
  20913. "type": "object",
  20914. "properties": {
  20915. "accountid": {
  20916. "description": "期货账户id",
  20917. "type": "string"
  20918. },
  20919. "accountname": {
  20920. "description": "账户名称",
  20921. "type": "string"
  20922. },
  20923. "attachment": {
  20924. "description": "附件",
  20925. "type": "string"
  20926. },
  20927. "audittime": {
  20928. "description": "审核时间",
  20929. "type": "string"
  20930. },
  20931. "biztype": {
  20932. "description": "业务类型 1-套保 2-套利",
  20933. "type": "integer"
  20934. },
  20935. "brandname": {
  20936. "description": "品牌名称",
  20937. "type": "string"
  20938. },
  20939. "contracctstatus": {
  20940. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20941. "type": "integer"
  20942. },
  20943. "contractmargin": {
  20944. "description": "合同保证金",
  20945. "type": "number"
  20946. },
  20947. "contractno": {
  20948. "description": "合同编号",
  20949. "type": "string"
  20950. },
  20951. "contracttype": {
  20952. "description": "合同类型 1-采购, -1-销售",
  20953. "type": "integer"
  20954. },
  20955. "convertfactor": {
  20956. "description": "标仓系数(品类)",
  20957. "type": "number"
  20958. },
  20959. "createtime": {
  20960. "description": "创建时间",
  20961. "type": "string"
  20962. },
  20963. "currencyid": {
  20964. "description": "币种id",
  20965. "type": "integer"
  20966. },
  20967. "currencyname": {
  20968. "description": "币种名称",
  20969. "type": "string"
  20970. },
  20971. "daikaiamount": {
  20972. "description": "应收(开)票额",
  20973. "type": "number"
  20974. },
  20975. "deliveryenddate": {
  20976. "description": "交割结束日",
  20977. "type": "string"
  20978. },
  20979. "deliverygoodscode": {
  20980. "description": "现货品种代码",
  20981. "type": "string"
  20982. },
  20983. "deliverygoodsid": {
  20984. "description": "现货商品ID",
  20985. "type": "integer"
  20986. },
  20987. "deliverygoodsname": {
  20988. "description": "现货品种名称",
  20989. "type": "string"
  20990. },
  20991. "deliverystartdate": {
  20992. "description": "交割开始日",
  20993. "type": "string"
  20994. },
  20995. "enddate": {
  20996. "description": "点价结束日",
  20997. "type": "string"
  20998. },
  20999. "enumdicname": {
  21000. "description": "单位名称",
  21001. "type": "string"
  21002. },
  21003. "goodscode": {
  21004. "description": "点价商品代码",
  21005. "type": "string"
  21006. },
  21007. "goodsid": {
  21008. "description": "点价商品ID",
  21009. "type": "integer"
  21010. },
  21011. "goodsname": {
  21012. "description": "点价商品名称",
  21013. "type": "string"
  21014. },
  21015. "invoiceamount": {
  21016. "description": "已开票额",
  21017. "type": "number"
  21018. },
  21019. "loanamount": {
  21020. "description": "贷款总额=已定价额+调整金额",
  21021. "type": "number"
  21022. },
  21023. "margin": {
  21024. "description": "保证金",
  21025. "type": "number"
  21026. },
  21027. "meruserid": {
  21028. "description": "跟单员id",
  21029. "type": "integer"
  21030. },
  21031. "meruserlogincode": {
  21032. "description": "跟单员登录代码",
  21033. "type": "string"
  21034. },
  21035. "merusername": {
  21036. "description": "跟单员名称",
  21037. "type": "string"
  21038. },
  21039. "nickname": {
  21040. "description": "账户昵称",
  21041. "type": "string"
  21042. },
  21043. "payamount": {
  21044. "description": "已收付额(收款或付款)",
  21045. "type": "number"
  21046. },
  21047. "preinvoiceamount": {
  21048. "description": "预收(开)票额",
  21049. "type": "number"
  21050. },
  21051. "prepayamount": {
  21052. "description": "预收付额",
  21053. "type": "number"
  21054. },
  21055. "price": {
  21056. "description": "价格",
  21057. "type": "number"
  21058. },
  21059. "pricedamount": {
  21060. "description": "已定价额",
  21061. "type": "number"
  21062. },
  21063. "pricedavg": {
  21064. "description": "已点均价",
  21065. "type": "number"
  21066. },
  21067. "pricedqty": {
  21068. "description": "已定价量",
  21069. "type": "number"
  21070. },
  21071. "pricemove": {
  21072. "description": "升贴水",
  21073. "type": "number"
  21074. },
  21075. "pricetype": {
  21076. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21077. "type": "integer"
  21078. },
  21079. "producttype": {
  21080. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21081. "type": "integer"
  21082. },
  21083. "qty": {
  21084. "description": "合同量",
  21085. "type": "number"
  21086. },
  21087. "reckonadjustamount": {
  21088. "description": "调整金额",
  21089. "type": "number"
  21090. },
  21091. "reckonedamount": {
  21092. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  21093. "type": "number"
  21094. },
  21095. "reckonotheramount": {
  21096. "description": "其它费用",
  21097. "type": "number"
  21098. },
  21099. "reckonrealqty": {
  21100. "description": "已确定量",
  21101. "type": "number"
  21102. },
  21103. "remark": {
  21104. "description": "备注",
  21105. "type": "string"
  21106. },
  21107. "saleuserid": {
  21108. "description": "业务员id",
  21109. "type": "integer"
  21110. },
  21111. "saleuserlogincode": {
  21112. "description": "业务员登录代码",
  21113. "type": "string"
  21114. },
  21115. "saleusername": {
  21116. "description": "业务员名称",
  21117. "type": "string"
  21118. },
  21119. "spotcontractid": {
  21120. "description": "合同ID",
  21121. "type": "string"
  21122. },
  21123. "spotgoodsbrandid": {
  21124. "description": "现货品牌ID(DGFactoryItem表的ID)",
  21125. "type": "integer"
  21126. },
  21127. "spotgoodsdesc": {
  21128. "description": "商品型号(商品规格)",
  21129. "type": "string"
  21130. },
  21131. "startdate": {
  21132. "description": "点价开始日",
  21133. "type": "string"
  21134. },
  21135. "totalamount": {
  21136. "description": "合计总额",
  21137. "type": "number"
  21138. },
  21139. "tradeuserid": {
  21140. "description": "交易员id",
  21141. "type": "integer"
  21142. },
  21143. "tradeuserlogincode": {
  21144. "description": "交易员登录代码",
  21145. "type": "string"
  21146. },
  21147. "tradeusername": {
  21148. "description": "交易员名称",
  21149. "type": "string"
  21150. },
  21151. "unpayamount": {
  21152. "description": "应收付款额(应支付或应收款)",
  21153. "type": "number"
  21154. },
  21155. "unpricedqty": {
  21156. "description": "未定价量",
  21157. "type": "number"
  21158. },
  21159. "unsureqty": {
  21160. "description": "未确定量",
  21161. "type": "number"
  21162. },
  21163. "userid": {
  21164. "description": "机构ID",
  21165. "type": "integer"
  21166. },
  21167. "wrstandardcode": {
  21168. "description": "品类代码",
  21169. "type": "string"
  21170. },
  21171. "wrstandardid": {
  21172. "description": "品类ID",
  21173. "type": "integer"
  21174. },
  21175. "wrstandardname": {
  21176. "description": "品类名称",
  21177. "type": "string"
  21178. }
  21179. }
  21180. },
  21181. "models.Ermcp3SpotGoodsPrice": {
  21182. "type": "object",
  21183. "properties": {
  21184. "areauserid": {
  21185. "description": "所属机构id",
  21186. "type": "integer"
  21187. },
  21188. "brandname": {
  21189. "description": "品牌名称",
  21190. "type": "string"
  21191. },
  21192. "currencyid": {
  21193. "description": "报价货币ID",
  21194. "type": "integer"
  21195. },
  21196. "currencyname": {
  21197. "description": "币种名称",
  21198. "type": "string"
  21199. },
  21200. "deliverygoodscode": {
  21201. "description": "现货商品代码",
  21202. "type": "string"
  21203. },
  21204. "deliverygoodsid": {
  21205. "description": "现货商品id",
  21206. "type": "integer"
  21207. },
  21208. "deliverygoodsname": {
  21209. "description": "现货商品名称",
  21210. "type": "string"
  21211. },
  21212. "enumdicname": {
  21213. "description": "现货商品单位名称",
  21214. "type": "string"
  21215. },
  21216. "gbenumdicname": {
  21217. "description": "品类单位名称",
  21218. "type": "string"
  21219. },
  21220. "gmunitid": {
  21221. "description": "品类单位id",
  21222. "type": "integer"
  21223. },
  21224. "isvalid": {
  21225. "description": "是否有效 - 0:无效 1:有效",
  21226. "type": "integer"
  21227. },
  21228. "operateid": {
  21229. "description": "最后操作人",
  21230. "type": "integer"
  21231. },
  21232. "operatesrc": {
  21233. "description": "最后操作来源 - 1:管理端 2:终端",
  21234. "type": "integer"
  21235. },
  21236. "operatetime": {
  21237. "description": "最后操作时间",
  21238. "type": "string"
  21239. },
  21240. "operatorname": {
  21241. "description": "操作人名称",
  21242. "type": "string"
  21243. },
  21244. "spotgoodsbrandid": {
  21245. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  21246. "type": "integer"
  21247. },
  21248. "spotgoodsprice": {
  21249. "description": "现货价格",
  21250. "type": "number"
  21251. },
  21252. "tradedate": {
  21253. "description": "交易日(yyyyMMdd)",
  21254. "type": "string"
  21255. },
  21256. "unitid": {
  21257. "description": "现货商品单位id",
  21258. "type": "integer"
  21259. },
  21260. "wrstandardcode": {
  21261. "description": "品类代码",
  21262. "type": "string"
  21263. },
  21264. "wrstandardid": {
  21265. "description": "现货品类ID(通用则为0)",
  21266. "type": "integer"
  21267. },
  21268. "wrstandardname": {
  21269. "description": "品类名称",
  21270. "type": "string"
  21271. }
  21272. }
  21273. },
  21274. "models.Ermcp3SpotGoodsPriceLog": {
  21275. "type": "object",
  21276. "properties": {
  21277. "areauserid": {
  21278. "description": "所属机构id",
  21279. "type": "integer"
  21280. },
  21281. "brandname": {
  21282. "description": "品牌名称",
  21283. "type": "string"
  21284. },
  21285. "currencyid": {
  21286. "description": "报价货币ID",
  21287. "type": "integer"
  21288. },
  21289. "deliverygoodscode": {
  21290. "description": "现货商品代码",
  21291. "type": "string"
  21292. },
  21293. "deliverygoodsid": {
  21294. "description": "现货商品id",
  21295. "type": "integer"
  21296. },
  21297. "deliverygoodsname": {
  21298. "description": "现货商品名称",
  21299. "type": "string"
  21300. },
  21301. "enumdicname": {
  21302. "description": "现货商品单位名称",
  21303. "type": "string"
  21304. },
  21305. "gbenumdicname": {
  21306. "description": "品类单位名称",
  21307. "type": "string"
  21308. },
  21309. "gmunitid": {
  21310. "description": "品类单位id",
  21311. "type": "integer"
  21312. },
  21313. "logid": {
  21314. "description": "日志id",
  21315. "type": "integer"
  21316. },
  21317. "operateid": {
  21318. "description": "最后操作人",
  21319. "type": "integer"
  21320. },
  21321. "operatesrc": {
  21322. "description": "最后操作来源 - 1:管理端 2:终端",
  21323. "type": "integer"
  21324. },
  21325. "operatetime": {
  21326. "description": "最后操作时间",
  21327. "type": "string"
  21328. },
  21329. "operatorname": {
  21330. "description": "操作人名称",
  21331. "type": "string"
  21332. },
  21333. "spotgoodsbrandid": {
  21334. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  21335. "type": "integer"
  21336. },
  21337. "spotgoodsprice": {
  21338. "description": "现货价格",
  21339. "type": "number"
  21340. },
  21341. "tradedate": {
  21342. "description": "交易日(yyyyMMdd)",
  21343. "type": "string"
  21344. },
  21345. "unitid": {
  21346. "description": "现货商品单位id",
  21347. "type": "integer"
  21348. },
  21349. "wrstandardcode": {
  21350. "description": "品类代码",
  21351. "type": "string"
  21352. },
  21353. "wrstandardid": {
  21354. "description": "现货品类ID(通用则为0)",
  21355. "type": "integer"
  21356. },
  21357. "wrstandardname": {
  21358. "description": "品类名称",
  21359. "type": "string"
  21360. }
  21361. }
  21362. },
  21363. "models.Ermcp3TaFutuReDataReport": {
  21364. "type": "object",
  21365. "properties": {
  21366. "accountid": {
  21367. "description": "交易账户",
  21368. "type": "integer"
  21369. },
  21370. "accountname": {
  21371. "description": "交易账号名称",
  21372. "type": "string"
  21373. },
  21374. "agreeunit": {
  21375. "description": "商品合约单位",
  21376. "type": "number"
  21377. },
  21378. "begindate": {
  21379. "description": "开始交易日",
  21380. "type": "string"
  21381. },
  21382. "buyorsell": {
  21383. "description": "持仓方向",
  21384. "type": "integer"
  21385. },
  21386. "charge": {
  21387. "description": "手续费",
  21388. "type": "number"
  21389. },
  21390. "closeavgprice": {
  21391. "description": "平仓均价",
  21392. "type": "number"
  21393. },
  21394. "closepl": {
  21395. "description": "平仓损益",
  21396. "type": "number"
  21397. },
  21398. "currencyid": {
  21399. "description": "结算币种ID",
  21400. "type": "integer"
  21401. },
  21402. "currencyname": {
  21403. "description": "币种名称",
  21404. "type": "string"
  21405. },
  21406. "cycletime": {
  21407. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21408. "type": "string"
  21409. },
  21410. "cycletype": {
  21411. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21412. "type": "integer"
  21413. },
  21414. "enddate": {
  21415. "description": "结束交易日",
  21416. "type": "string"
  21417. },
  21418. "enumdicname": {
  21419. "description": "单位名称",
  21420. "type": "string"
  21421. },
  21422. "floatpl": {
  21423. "description": "浮动损益",
  21424. "type": "number"
  21425. },
  21426. "goodscode": {
  21427. "description": "交易合约代码",
  21428. "type": "string"
  21429. },
  21430. "goodsgroupid": {
  21431. "description": "交易品种",
  21432. "type": "integer"
  21433. },
  21434. "goodsgroupname": {
  21435. "description": "交易品种名称",
  21436. "type": "string"
  21437. },
  21438. "goodsgroupspotqty": {
  21439. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  21440. "type": "number"
  21441. },
  21442. "goodsid": {
  21443. "description": "交易合约",
  21444. "type": "integer"
  21445. },
  21446. "goodsname": {
  21447. "description": "交易合约名称",
  21448. "type": "string"
  21449. },
  21450. "goodunitid": {
  21451. "description": "交易合约单位id",
  21452. "type": "integer"
  21453. },
  21454. "holdamount": {
  21455. "description": "期末持仓额",
  21456. "type": "number"
  21457. },
  21458. "holdqty": {
  21459. "description": "期末持仓量",
  21460. "type": "number"
  21461. },
  21462. "lastholdamount": {
  21463. "description": "当前持仓额",
  21464. "type": "number"
  21465. },
  21466. "lastprice": {
  21467. "description": "最新价",
  21468. "type": "number"
  21469. },
  21470. "middlegoodsid": {
  21471. "description": "套保品种id",
  21472. "type": "integer"
  21473. },
  21474. "middlegoodsname": {
  21475. "description": "套保商品名称",
  21476. "type": "string"
  21477. },
  21478. "middlegoodsqty": {
  21479. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  21480. "type": "number"
  21481. },
  21482. "middlgoodscode": {
  21483. "description": "套保商品代码",
  21484. "type": "string"
  21485. },
  21486. "openamount": {
  21487. "description": "期末开仓额",
  21488. "type": "number"
  21489. },
  21490. "openavgprice": {
  21491. "description": "开仓均价",
  21492. "type": "number"
  21493. },
  21494. "oriholdamount": {
  21495. "description": "期初持仓额",
  21496. "type": "number"
  21497. },
  21498. "oriholdqty": {
  21499. "description": "期初持仓量",
  21500. "type": "number"
  21501. },
  21502. "oriopenamount": {
  21503. "description": "期初开仓额",
  21504. "type": "number"
  21505. },
  21506. "outergroupcode": {
  21507. "description": "交易品种代码",
  21508. "type": "string"
  21509. },
  21510. "qtydecimalplace": {
  21511. "description": "成交量小数位",
  21512. "type": "integer"
  21513. },
  21514. "reckondate": {
  21515. "description": "日照时期(yyyyMMdd)",
  21516. "type": "string"
  21517. },
  21518. "reckonholdamount": {
  21519. "description": "结算持仓额",
  21520. "type": "number"
  21521. },
  21522. "reckonpl": {
  21523. "description": "结算损益",
  21524. "type": "number"
  21525. },
  21526. "reckonpl2": {
  21527. "description": "结算逐笔盈亏",
  21528. "type": "number"
  21529. },
  21530. "reckonprice": {
  21531. "description": "结算价",
  21532. "type": "number"
  21533. },
  21534. "relateduserid": {
  21535. "description": "账户关联用户ID",
  21536. "type": "integer"
  21537. },
  21538. "todaycloseamount": {
  21539. "description": "今平仓额",
  21540. "type": "number"
  21541. },
  21542. "todaycloseqty": {
  21543. "description": "今平仓量",
  21544. "type": "number"
  21545. },
  21546. "todaygoodsgroupspotqty": {
  21547. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  21548. "type": "number"
  21549. },
  21550. "todaymiddlegoodsqty": {
  21551. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  21552. "type": "number"
  21553. },
  21554. "todayopenamount": {
  21555. "description": "今开仓额",
  21556. "type": "number"
  21557. },
  21558. "todayopenqty": {
  21559. "description": "今开仓量",
  21560. "type": "number"
  21561. },
  21562. "userid": {
  21563. "description": "账户所属用户ID",
  21564. "type": "integer"
  21565. }
  21566. }
  21567. },
  21568. "models.Ermcp3Wrstandard": {
  21569. "type": "object",
  21570. "properties": {
  21571. "areauserid": {
  21572. "description": "所属机构",
  21573. "type": "integer"
  21574. },
  21575. "cantrade": {
  21576. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  21577. "type": "integer"
  21578. },
  21579. "convertfactor": {
  21580. "description": "标仓系数",
  21581. "type": "number"
  21582. },
  21583. "createtime": {
  21584. "description": "创建时间",
  21585. "type": "string"
  21586. },
  21587. "creatorid": {
  21588. "description": "创建人",
  21589. "type": "integer"
  21590. },
  21591. "deliverygoodsid": {
  21592. "description": "现货品种ID",
  21593. "type": "integer"
  21594. },
  21595. "enumdicname": {
  21596. "description": "品类单位名称",
  21597. "type": "string"
  21598. },
  21599. "isvalid": {
  21600. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  21601. "type": "integer"
  21602. },
  21603. "minivalue": {
  21604. "description": "最小变动值",
  21605. "type": "integer"
  21606. },
  21607. "minivaluedp": {
  21608. "description": "最小变动值小数位",
  21609. "type": "integer"
  21610. },
  21611. "realminivalue": {
  21612. "description": "实际最小变动值",
  21613. "type": "integer"
  21614. },
  21615. "realminivaluedp": {
  21616. "description": "实际最小变动值小数位",
  21617. "type": "integer"
  21618. },
  21619. "remark": {
  21620. "description": "备注",
  21621. "type": "string"
  21622. },
  21623. "unitid": {
  21624. "description": "品类单位ID",
  21625. "type": "integer"
  21626. },
  21627. "updatetime": {
  21628. "description": "更新时间",
  21629. "type": "string"
  21630. },
  21631. "wrstandardcode": {
  21632. "description": "品类代码",
  21633. "type": "string"
  21634. },
  21635. "wrstandardid": {
  21636. "description": "品类ID(SEQ_WRSTANDARD)",
  21637. "type": "integer"
  21638. },
  21639. "wrstandardname": {
  21640. "description": "品类名称",
  21641. "type": "string"
  21642. }
  21643. }
  21644. },
  21645. "models.ErmcpBizGroupEx": {
  21646. "type": "object",
  21647. "properties": {
  21648. "acclist": {
  21649. "description": "账号列表",
  21650. "type": "array",
  21651. "items": {
  21652. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  21653. }
  21654. },
  21655. "bizgroupid": {
  21656. "description": "业务分组id",
  21657. "type": "integer"
  21658. },
  21659. "biztype": {
  21660. "description": "业务类型 1-套保 2-套利",
  21661. "type": "integer"
  21662. },
  21663. "wrlist": {
  21664. "description": "现货商品表",
  21665. "type": "array",
  21666. "items": {
  21667. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  21668. }
  21669. }
  21670. }
  21671. },
  21672. "models.ErmcpBizGroupSpotGoods": {
  21673. "type": "object",
  21674. "properties": {
  21675. "areauserid": {
  21676. "description": "所属机构id",
  21677. "type": "integer"
  21678. },
  21679. "bizgroupid": {
  21680. "description": "分组id",
  21681. "type": "integer"
  21682. },
  21683. "biztype": {
  21684. "description": "业务类型 1-套保 2-套利",
  21685. "type": "integer"
  21686. },
  21687. "deliverygoodscode": {
  21688. "description": "现货商品代码",
  21689. "type": "string"
  21690. },
  21691. "deliverygoodsid": {
  21692. "description": "现货商品id",
  21693. "type": "integer"
  21694. },
  21695. "deliverygoodsname": {
  21696. "description": "现货商品名称",
  21697. "type": "string"
  21698. },
  21699. "unitid": {
  21700. "description": "现货商品单位id",
  21701. "type": "integer"
  21702. }
  21703. }
  21704. },
  21705. "models.ErmcpBizGroupTaAccount": {
  21706. "type": "object",
  21707. "properties": {
  21708. "accountid": {
  21709. "description": "账号id",
  21710. "type": "integer"
  21711. },
  21712. "accountname": {
  21713. "description": "账号名称",
  21714. "type": "string"
  21715. },
  21716. "areauserid": {
  21717. "description": "所属机构id",
  21718. "type": "integer"
  21719. },
  21720. "bizgroupid": {
  21721. "description": "业务分组id",
  21722. "type": "integer"
  21723. },
  21724. "ismain": {
  21725. "description": "是否主账号 1-是 0-否",
  21726. "type": "integer"
  21727. }
  21728. }
  21729. },
  21730. "models.ErmcpDGFactoryItem": {
  21731. "type": "object",
  21732. "properties": {
  21733. "areauserid": {
  21734. "description": "用户id",
  21735. "type": "integer"
  21736. },
  21737. "deliverygoodsid": {
  21738. "description": "现货品种ID",
  21739. "type": "integer"
  21740. },
  21741. "dgfactoryitemid": {
  21742. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21743. "type": "integer"
  21744. },
  21745. "dgfactoryitemtypeid": {
  21746. "description": "要素项类型",
  21747. "type": "integer"
  21748. },
  21749. "dgfactoryitemvalue": {
  21750. "description": "要素项值(类型为仓库时填写仓库名称)",
  21751. "type": "string"
  21752. },
  21753. "isvalid": {
  21754. "description": "是否有效 - 0:无效 1:有效",
  21755. "type": "integer"
  21756. },
  21757. "orderindex": {
  21758. "description": "顺序",
  21759. "type": "integer"
  21760. },
  21761. "warehouseid": {
  21762. "description": "仓库ID(类型为仓库时填写)",
  21763. "type": "integer"
  21764. }
  21765. }
  21766. },
  21767. "models.ErmcpDeliveryGoods": {
  21768. "type": "object",
  21769. "properties": {
  21770. "agreeunit": {
  21771. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  21772. "type": "integer"
  21773. },
  21774. "areauserid": {
  21775. "description": "所属机构",
  21776. "type": "integer"
  21777. },
  21778. "auditflag": {
  21779. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  21780. "type": "integer"
  21781. },
  21782. "categoryid": {
  21783. "description": "类别ID(SEQ_WRCATEGORY)",
  21784. "type": "integer"
  21785. },
  21786. "deliverygoodscode": {
  21787. "description": "现货品种代码",
  21788. "type": "string"
  21789. },
  21790. "deliverygoodsid": {
  21791. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  21792. "type": "integer"
  21793. },
  21794. "deliverygoodsname": {
  21795. "description": "现货品种名称",
  21796. "type": "string"
  21797. },
  21798. "deliverygoodstype": {
  21799. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  21800. "type": "integer"
  21801. },
  21802. "dgstatus": {
  21803. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  21804. "type": "integer"
  21805. },
  21806. "enumdicname": {
  21807. "description": "现货品种单位名称",
  21808. "type": "string"
  21809. },
  21810. "goodsunitid": {
  21811. "description": "现货品种单位ID",
  21812. "type": "integer"
  21813. },
  21814. "isvalid": {
  21815. "description": "是否有效 - 0:无效 1:有效",
  21816. "type": "integer"
  21817. },
  21818. "qtydecimalplace": {
  21819. "description": "成交量小数位",
  21820. "type": "integer"
  21821. },
  21822. "remark": {
  21823. "description": "备注",
  21824. "type": "string"
  21825. },
  21826. "standardqty": {
  21827. "description": "标准数量(库位数量) [标准品特有]",
  21828. "type": "integer"
  21829. },
  21830. "standardqtyrange": {
  21831. "description": "标准数量偏差范围 [标准品特有]",
  21832. "type": "integer"
  21833. }
  21834. }
  21835. },
  21836. "models.ErmcpDeliveryGoodsDetail2": {
  21837. "type": "object",
  21838. "properties": {
  21839. "convertratio": {
  21840. "description": "套保系数(折算系数)",
  21841. "type": "number"
  21842. },
  21843. "data": {
  21844. "description": "现货商品基本信息(交割品种)",
  21845. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  21846. },
  21847. "gblist": {
  21848. "description": "品牌列表",
  21849. "type": "array",
  21850. "items": {
  21851. "$ref": "#/definitions/models.Ermcp3Brand"
  21852. }
  21853. },
  21854. "gmlist": {
  21855. "description": "品类列表(仓单标准)",
  21856. "type": "array",
  21857. "items": {
  21858. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  21859. }
  21860. }
  21861. }
  21862. },
  21863. "models.ErmcpDeliveryGoodsDetailEx": {
  21864. "type": "object",
  21865. "properties": {
  21866. "data": {
  21867. "description": "现货商品基本信息(交割品种)",
  21868. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  21869. },
  21870. "gblist": {
  21871. "description": "品牌列表",
  21872. "type": "array",
  21873. "items": {
  21874. "$ref": "#/definitions/models.Ermcp3Brand"
  21875. }
  21876. },
  21877. "gmlist": {
  21878. "description": "品类列表(仓单标准)",
  21879. "type": "array",
  21880. "items": {
  21881. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  21882. }
  21883. },
  21884. "mgList": {
  21885. "description": "套保列表",
  21886. "type": "array",
  21887. "items": {
  21888. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  21889. }
  21890. }
  21891. }
  21892. },
  21893. "models.ErmcpFuturesCompany": {
  21894. "type": "object",
  21895. "properties": {
  21896. "brokerid": {
  21897. "description": "经纪公司代码",
  21898. "type": "string"
  21899. },
  21900. "channeladdress": {
  21901. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  21902. "type": "string"
  21903. },
  21904. "channelid": {
  21905. "description": "对冲渠道ID",
  21906. "type": "string"
  21907. },
  21908. "createtime": {
  21909. "description": "创建时间",
  21910. "type": "string"
  21911. },
  21912. "creatorid": {
  21913. "description": "创建人",
  21914. "type": "string"
  21915. },
  21916. "fcid": {
  21917. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  21918. "type": "integer"
  21919. },
  21920. "fcname": {
  21921. "description": "期货公司名称",
  21922. "type": "string"
  21923. },
  21924. "isvalid": {
  21925. "description": "是否有效 - 0:无效 1:有效",
  21926. "type": "integer"
  21927. },
  21928. "mhpaddress": {
  21929. "description": "MHP服务地址(IP:Port)",
  21930. "type": "string"
  21931. },
  21932. "riskrulegroupid": {
  21933. "description": "风控规则组ID",
  21934. "type": "string"
  21935. },
  21936. "tradefeetmpid": {
  21937. "description": "手续费模板ID[TradeConfigTmpType为2]",
  21938. "type": "string"
  21939. },
  21940. "trademargintmpid": {
  21941. "description": "保证金模板ID [TradeConfigTmpType为1]",
  21942. "type": "string"
  21943. },
  21944. "traderatetmpid": {
  21945. "description": "汇率模板ID[TradeConfigTmpType为3]",
  21946. "type": "string"
  21947. },
  21948. "updatetime": {
  21949. "description": "更新时间",
  21950. "type": "string"
  21951. },
  21952. "updatorid": {
  21953. "description": "更新人",
  21954. "type": "string"
  21955. }
  21956. }
  21957. },
  21958. "models.ErmcpGGConvertCfg": {
  21959. "type": "object",
  21960. "properties": {
  21961. "convertratio": {
  21962. "description": "折算系数",
  21963. "type": "number"
  21964. },
  21965. "destgoodsgroupid": {
  21966. "description": "目标品种ID",
  21967. "type": "integer"
  21968. },
  21969. "dstcode": {
  21970. "description": "目录品种代码",
  21971. "type": "string"
  21972. },
  21973. "dstexchangecode": {
  21974. "description": "目标期货交易所",
  21975. "type": "string"
  21976. },
  21977. "dstname": {
  21978. "description": "目标品种名称",
  21979. "type": "string"
  21980. },
  21981. "dstunitid": {
  21982. "description": "目标品种单位ID",
  21983. "type": "integer"
  21984. },
  21985. "dstunitidname": {
  21986. "description": "目标品种单位名称",
  21987. "type": "string"
  21988. },
  21989. "modifytime": {
  21990. "description": "修改时间",
  21991. "type": "string"
  21992. },
  21993. "srccode": {
  21994. "description": "源品种代码",
  21995. "type": "string"
  21996. },
  21997. "srcexchangecode": {
  21998. "description": "源期货交易所",
  21999. "type": "string"
  22000. },
  22001. "srcgoodsgroupid": {
  22002. "description": "源品种ID",
  22003. "type": "integer"
  22004. },
  22005. "srcname": {
  22006. "description": "源品种名称",
  22007. "type": "string"
  22008. },
  22009. "srcunitid": {
  22010. "description": "源品种单位ID",
  22011. "type": "integer"
  22012. },
  22013. "srcunitidname": {
  22014. "description": "源品种单位名称",
  22015. "type": "string"
  22016. }
  22017. }
  22018. },
  22019. "models.ErmcpGoods": {
  22020. "type": "object",
  22021. "required": [
  22022. "goodscode",
  22023. "goodsid",
  22024. "goodsname",
  22025. "marketid"
  22026. ],
  22027. "properties": {
  22028. "agreeunit": {
  22029. "description": "合约单位",
  22030. "type": "number"
  22031. },
  22032. "areauserid": {
  22033. "description": "所属机构",
  22034. "type": "integer"
  22035. },
  22036. "auditaccountid": {
  22037. "description": "审核操作员账号",
  22038. "type": "integer"
  22039. },
  22040. "audittime": {
  22041. "description": "审核时间",
  22042. "type": "string"
  22043. },
  22044. "cancelaccountid": {
  22045. "description": "注销操作员账号",
  22046. "type": "integer"
  22047. },
  22048. "canceltime": {
  22049. "description": "注销时间",
  22050. "type": "string"
  22051. },
  22052. "closepricemode": {
  22053. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22054. "type": "integer"
  22055. },
  22056. "closepriceparam": {
  22057. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22058. "type": "number"
  22059. },
  22060. "createtime": {
  22061. "description": "创建时间",
  22062. "type": "string"
  22063. },
  22064. "creatorid": {
  22065. "description": "创建人",
  22066. "type": "integer"
  22067. },
  22068. "currencyid": {
  22069. "description": "报价货币ID",
  22070. "type": "integer"
  22071. },
  22072. "cutmode": {
  22073. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22074. "type": "integer"
  22075. },
  22076. "decimalplace": {
  22077. "description": "报价小数位",
  22078. "type": "integer"
  22079. },
  22080. "delistingdate": {
  22081. "description": "商品退市时间(状态:退市) -- 已作废",
  22082. "type": "string"
  22083. },
  22084. "delistingmode": {
  22085. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22086. "type": "integer"
  22087. },
  22088. "deliveryflag": {
  22089. "description": "交割标志 - 0:不可交割 1:可交割",
  22090. "type": "integer"
  22091. },
  22092. "enumdicname": {
  22093. "description": "单位名称",
  22094. "type": "string"
  22095. },
  22096. "forceclosemode": {
  22097. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22098. "type": "integer"
  22099. },
  22100. "forceclosevalue": {
  22101. "description": "定期强平参数 [收益权]",
  22102. "type": "integer"
  22103. },
  22104. "goodscode": {
  22105. "description": "商品代码(内部)",
  22106. "type": "string"
  22107. },
  22108. "goodscurrencyid": {
  22109. "description": "合约货币ID",
  22110. "type": "integer"
  22111. },
  22112. "goodsgroupid": {
  22113. "description": "所属商品组ID",
  22114. "type": "integer"
  22115. },
  22116. "goodsid": {
  22117. "description": "商品ID(自增ID SEQ_GOODS)",
  22118. "type": "integer"
  22119. },
  22120. "goodsname": {
  22121. "description": "商品名称",
  22122. "type": "string"
  22123. },
  22124. "goodsquotetype": {
  22125. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22126. "type": "integer"
  22127. },
  22128. "goodsstatus": {
  22129. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22130. "type": "integer"
  22131. },
  22132. "goodstradetype": {
  22133. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22134. "type": "integer"
  22135. },
  22136. "goodunitid": {
  22137. "description": "报价单位ID",
  22138. "type": "integer"
  22139. },
  22140. "hasquoter": {
  22141. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22142. "type": "integer"
  22143. },
  22144. "hqprotecttime": {
  22145. "description": "行情保护时间(秒)",
  22146. "type": "integer"
  22147. },
  22148. "innerdealmode": {
  22149. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22150. "type": "integer"
  22151. },
  22152. "isbuylimited": {
  22153. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22154. "type": "integer"
  22155. },
  22156. "isvisible": {
  22157. "description": "游客是否可见 - 0:不可见 1:可见",
  22158. "type": "integer"
  22159. },
  22160. "lasttradedate": {
  22161. "description": "最后交易日期(状态:待退市)",
  22162. "type": "string"
  22163. },
  22164. "listingdate": {
  22165. "description": "交易开始日期",
  22166. "type": "string"
  22167. },
  22168. "marketid": {
  22169. "description": "所属市场ID",
  22170. "type": "integer"
  22171. },
  22172. "modifierid": {
  22173. "description": "修改人",
  22174. "type": "integer"
  22175. },
  22176. "modifystatus": {
  22177. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22178. "type": "integer"
  22179. },
  22180. "modifytime": {
  22181. "description": "修改时间",
  22182. "type": "string"
  22183. },
  22184. "outerdealmode": {
  22185. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22186. "type": "integer"
  22187. },
  22188. "outgoodscode": {
  22189. "description": "商品代码(外部)",
  22190. "type": "string"
  22191. },
  22192. "pictureurl": {
  22193. "description": "商品图片",
  22194. "type": "string"
  22195. },
  22196. "qtydecimalplace": {
  22197. "description": "成交量小数位",
  22198. "type": "integer"
  22199. },
  22200. "quotegear": {
  22201. "description": "行情档位(1-10)",
  22202. "type": "integer"
  22203. },
  22204. "quoteminunit": {
  22205. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22206. "type": "integer"
  22207. },
  22208. "quoteshowtype": {
  22209. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22210. "type": "integer"
  22211. },
  22212. "quoteshowtypeinterval": {
  22213. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22214. "type": "integer"
  22215. },
  22216. "relatedgoodsid": {
  22217. "description": "关联参考商品ID",
  22218. "type": "integer"
  22219. },
  22220. "remark": {
  22221. "description": "备注",
  22222. "type": "string"
  22223. },
  22224. "trademode": {
  22225. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22226. "type": "integer"
  22227. }
  22228. }
  22229. },
  22230. "models.ErmcpGoodsBrand": {
  22231. "type": "object",
  22232. "properties": {
  22233. "areauserid": {
  22234. "description": "所属机构",
  22235. "type": "integer"
  22236. },
  22237. "brandid": {
  22238. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  22239. "type": "integer"
  22240. },
  22241. "brandname": {
  22242. "description": "品牌名称",
  22243. "type": "string"
  22244. },
  22245. "createtime": {
  22246. "description": "创建时间",
  22247. "type": "string"
  22248. },
  22249. "creatorid": {
  22250. "description": "创建人",
  22251. "type": "integer"
  22252. },
  22253. "creatorsrc": {
  22254. "description": "创建人来源 - 1:管理端 2:终端",
  22255. "type": "integer"
  22256. },
  22257. "deliverygoodsid": {
  22258. "description": "现货品种ID",
  22259. "type": "integer"
  22260. },
  22261. "isvalid": {
  22262. "description": "是否有效 - 0:无效 1:有效",
  22263. "type": "integer"
  22264. },
  22265. "updatetime": {
  22266. "description": "更新时间",
  22267. "type": "string"
  22268. },
  22269. "updatorid": {
  22270. "description": "更新人",
  22271. "type": "integer"
  22272. },
  22273. "updatorsrc": {
  22274. "description": "更新人来源 - 1:管理端 2:终端",
  22275. "type": "integer"
  22276. },
  22277. "wrstandardid": {
  22278. "description": "现货商品ID",
  22279. "type": "integer"
  22280. }
  22281. }
  22282. },
  22283. "models.ErmcpGoodsModel": {
  22284. "type": "object",
  22285. "properties": {
  22286. "areauserid": {
  22287. "description": "所属机构",
  22288. "type": "integer"
  22289. },
  22290. "convertfactor": {
  22291. "description": "标仓系数",
  22292. "type": "number"
  22293. },
  22294. "createtime": {
  22295. "description": "创建时间",
  22296. "type": "string"
  22297. },
  22298. "creatorid": {
  22299. "description": "创建人",
  22300. "type": "integer"
  22301. },
  22302. "creatorsrc": {
  22303. "description": "创建人来源 - 1:管理端 2:终端",
  22304. "type": "integer"
  22305. },
  22306. "deliverygoodsid": {
  22307. "description": "现货品种ID",
  22308. "type": "integer"
  22309. },
  22310. "isvalid": {
  22311. "description": "是否有效 - 0:无效 1:有效",
  22312. "type": "integer"
  22313. },
  22314. "modelid": {
  22315. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  22316. "type": "integer"
  22317. },
  22318. "modelname": {
  22319. "description": "型号名称",
  22320. "type": "string"
  22321. },
  22322. "updatetime": {
  22323. "description": "更新时间",
  22324. "type": "string"
  22325. },
  22326. "updatorid": {
  22327. "description": "更新人",
  22328. "type": "integer"
  22329. },
  22330. "updatorsrc": {
  22331. "description": "更新人来源 - 1:管理端 2:终端",
  22332. "type": "integer"
  22333. },
  22334. "wrstandardid": {
  22335. "description": "现货商品ID",
  22336. "type": "integer"
  22337. }
  22338. }
  22339. },
  22340. "models.ErmcpHisExposure": {
  22341. "type": "object",
  22342. "properties": {
  22343. "needhedgeexposoure": {
  22344. "description": "应套保敞口",
  22345. "type": "number"
  22346. },
  22347. "reckondate": {
  22348. "description": "日照时期(yyyyMMdd)",
  22349. "type": "string"
  22350. },
  22351. "totalexposure": {
  22352. "description": "总敞口",
  22353. "type": "number"
  22354. }
  22355. }
  22356. },
  22357. "models.ErmcpLoginTaAccount": {
  22358. "type": "object",
  22359. "properties": {
  22360. "accountid": {
  22361. "description": "账号id",
  22362. "type": "integer"
  22363. },
  22364. "accountname": {
  22365. "description": "账号名称",
  22366. "type": "string"
  22367. }
  22368. }
  22369. },
  22370. "models.ErmcpLoginUser": {
  22371. "type": "object",
  22372. "properties": {
  22373. "acclist": {
  22374. "description": "关联资金账号",
  22375. "type": "array",
  22376. "items": {
  22377. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  22378. }
  22379. },
  22380. "accountname": {
  22381. "description": "用户名称",
  22382. "type": "string"
  22383. },
  22384. "clientroleid": {
  22385. "description": "角色id(usertype=2)",
  22386. "type": "integer"
  22387. },
  22388. "createtime": {
  22389. "description": "创建时间",
  22390. "type": "string"
  22391. },
  22392. "logincode": {
  22393. "description": "登录代码",
  22394. "type": "string"
  22395. },
  22396. "loginid": {
  22397. "description": "登录id(LOGINID)",
  22398. "type": "integer"
  22399. },
  22400. "loginname": {
  22401. "description": "登录名称(loginaccount表中的accountname字段)",
  22402. "type": "string"
  22403. },
  22404. "loginstatus": {
  22405. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  22406. "type": "integer"
  22407. },
  22408. "memberuserid": {
  22409. "description": "所属会员id",
  22410. "type": "integer"
  22411. },
  22412. "mobile": {
  22413. "description": "手机号",
  22414. "type": "string"
  22415. },
  22416. "modifytime": {
  22417. "description": "修改时间",
  22418. "type": "string"
  22419. },
  22420. "password": {
  22421. "description": "密码(不可解密)",
  22422. "type": "string"
  22423. },
  22424. "rolename": {
  22425. "description": "角色名称",
  22426. "type": "string"
  22427. },
  22428. "rolestatus": {
  22429. "description": "角色状态 1-启用 2-停用",
  22430. "type": "integer"
  22431. },
  22432. "roletype": {
  22433. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  22434. "type": "string"
  22435. },
  22436. "userid": {
  22437. "description": "用户id",
  22438. "type": "integer"
  22439. },
  22440. "usertype": {
  22441. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22442. "type": "integer"
  22443. }
  22444. }
  22445. },
  22446. "models.ErmcpLoginUserEx": {
  22447. "type": "object",
  22448. "properties": {
  22449. "accountstatus": {
  22450. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22451. "type": "integer"
  22452. },
  22453. "mobile": {
  22454. "description": "手机号",
  22455. "type": "string"
  22456. },
  22457. "querytype": {
  22458. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  22459. "type": "integer"
  22460. },
  22461. "roleid": {
  22462. "description": "角色id(交易账户-\u003e用户id)",
  22463. "type": "integer"
  22464. },
  22465. "rolename": {
  22466. "description": "角色名称(交易账户-\u003e用户名称)",
  22467. "type": "string"
  22468. },
  22469. "userlist": {
  22470. "description": "用户列表",
  22471. "type": "array",
  22472. "items": {
  22473. "$ref": "#/definitions/models.ErmcpLoginUser"
  22474. }
  22475. },
  22476. "usertype": {
  22477. "description": "用户类型 2-机构 7-企业成员(云平台)",
  22478. "type": "integer"
  22479. }
  22480. }
  22481. },
  22482. "models.ErmcpMiddleGoodsModel": {
  22483. "type": "object",
  22484. "properties": {
  22485. "areauserid": {
  22486. "description": "机构用户ID",
  22487. "type": "integer"
  22488. },
  22489. "createtime": {
  22490. "description": "修改时间",
  22491. "type": "string"
  22492. },
  22493. "enumdicname": {
  22494. "description": "单位名称",
  22495. "type": "string"
  22496. },
  22497. "evaluateratio": {
  22498. "description": "估价系数",
  22499. "type": "number"
  22500. },
  22501. "goodsgroupid": {
  22502. "description": "关联期货品种ID",
  22503. "type": "integer"
  22504. },
  22505. "goodsunitid": {
  22506. "description": "单位ID",
  22507. "type": "integer"
  22508. },
  22509. "isvalid": {
  22510. "description": "状态 0-无效(停用) 1-有效(正常)",
  22511. "type": "integer"
  22512. },
  22513. "middlegoodscode": {
  22514. "description": "套保品种代码",
  22515. "type": "string"
  22516. },
  22517. "middlegoodsid": {
  22518. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22519. "type": "integer"
  22520. },
  22521. "middlegoodsname": {
  22522. "description": "套保品种名称",
  22523. "type": "string"
  22524. },
  22525. "modifytime": {
  22526. "description": "修改时间",
  22527. "type": "string"
  22528. },
  22529. "needarbitrageratio": {
  22530. "description": "套利比例",
  22531. "type": "number"
  22532. },
  22533. "needhedgeratio": {
  22534. "description": "套保比率",
  22535. "type": "number"
  22536. },
  22537. "qtydecimalplace": {
  22538. "description": "数量小数位",
  22539. "type": "integer"
  22540. },
  22541. "relatedgoodsid": {
  22542. "description": "关联交易商品ID",
  22543. "type": "integer"
  22544. },
  22545. "relatedgoodstype": {
  22546. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  22547. "type": "integer"
  22548. },
  22549. "remark": {
  22550. "description": "备注",
  22551. "type": "string"
  22552. }
  22553. }
  22554. },
  22555. "models.ErmcpMiddlegoodsRelateGoods": {
  22556. "type": "object",
  22557. "properties": {
  22558. "agreeunit": {
  22559. "description": "合约乘数",
  22560. "type": "number"
  22561. },
  22562. "convertratio": {
  22563. "description": "折算系数",
  22564. "type": "number"
  22565. },
  22566. "enumdicname": {
  22567. "description": "单位名称(交易商品)",
  22568. "type": "string"
  22569. },
  22570. "goodscode": {
  22571. "description": "交易商品代码",
  22572. "type": "string"
  22573. },
  22574. "goodsgroupid": {
  22575. "description": "交易品种id",
  22576. "type": "integer"
  22577. },
  22578. "goodsid": {
  22579. "description": "商品Id",
  22580. "type": "integer"
  22581. },
  22582. "goodsname": {
  22583. "description": "交易商品名称",
  22584. "type": "string"
  22585. },
  22586. "goodunitid": {
  22587. "description": "交易商品单位id",
  22588. "type": "integer"
  22589. },
  22590. "middlegoodsid": {
  22591. "description": "套保商品id",
  22592. "type": "integer"
  22593. },
  22594. "middlegoodsname": {
  22595. "description": "套保商品名称",
  22596. "type": "string"
  22597. },
  22598. "middlegoodsswcode": {
  22599. "description": "套保商品代码",
  22600. "type": "string"
  22601. },
  22602. "needarbitrageratio": {
  22603. "description": "应套利比例",
  22604. "type": "number"
  22605. },
  22606. "needhedgeratio": {
  22607. "description": "应套保比例",
  22608. "type": "number"
  22609. }
  22610. }
  22611. },
  22612. "models.ErmcpRole": {
  22613. "type": "object",
  22614. "properties": {
  22615. "areauserid": {
  22616. "description": "所属机构",
  22617. "type": "integer"
  22618. },
  22619. "autoid": {
  22620. "description": "角色ID(自增ID)",
  22621. "type": "integer"
  22622. },
  22623. "modifierid": {
  22624. "description": "修改人(创建人)",
  22625. "type": "integer"
  22626. },
  22627. "modifiername": {
  22628. "description": "修改人名称",
  22629. "type": "string"
  22630. },
  22631. "modifytime": {
  22632. "description": "修改时间(创建时间)",
  22633. "type": "string"
  22634. },
  22635. "rolename": {
  22636. "description": "角色名称",
  22637. "type": "string"
  22638. },
  22639. "rolestatus": {
  22640. "description": "角色状态 - 1:启用 2:停用",
  22641. "type": "integer"
  22642. },
  22643. "roletype": {
  22644. "description": "角色类型 - 1- 管理端 2- 交易端",
  22645. "type": "integer"
  22646. }
  22647. }
  22648. },
  22649. "models.ErmcpRoleMenu": {
  22650. "type": "object",
  22651. "properties": {
  22652. "iconame": {
  22653. "description": "菜单图标",
  22654. "type": "string"
  22655. },
  22656. "ishadrole": {
  22657. "description": "是否有权限",
  22658. "type": "boolean"
  22659. },
  22660. "menutype": {
  22661. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  22662. "type": "integer"
  22663. },
  22664. "parentcode": {
  22665. "description": "上级资源代码",
  22666. "type": "string"
  22667. },
  22668. "remark": {
  22669. "description": "菜单备注",
  22670. "type": "string"
  22671. },
  22672. "resourcecode": {
  22673. "description": "菜单代码",
  22674. "type": "string"
  22675. },
  22676. "resourcelevel": {
  22677. "description": "级别",
  22678. "type": "integer"
  22679. },
  22680. "resourcename": {
  22681. "description": "菜单名称",
  22682. "type": "string"
  22683. },
  22684. "roleid": {
  22685. "description": "角色id",
  22686. "type": "integer"
  22687. },
  22688. "sort": {
  22689. "description": "排序",
  22690. "type": "integer"
  22691. },
  22692. "url": {
  22693. "description": "URL",
  22694. "type": "string"
  22695. },
  22696. "userid": {
  22697. "description": "用户id",
  22698. "type": "integer"
  22699. }
  22700. }
  22701. },
  22702. "models.ErmcpRoleMenuEx": {
  22703. "type": "object",
  22704. "properties": {
  22705. "menu": {
  22706. "description": "父级菜单",
  22707. "$ref": "#/definitions/models.ErmcpRoleMenu"
  22708. },
  22709. "subMenu": {
  22710. "description": "子级菜单",
  22711. "type": "array",
  22712. "items": {
  22713. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  22714. }
  22715. }
  22716. }
  22717. },
  22718. "models.ErmcpTaAccount": {
  22719. "type": "object",
  22720. "properties": {
  22721. "accountid": {
  22722. "description": "账户id",
  22723. "type": "integer"
  22724. },
  22725. "accountname": {
  22726. "description": "账户名称",
  22727. "type": "string"
  22728. },
  22729. "currencyid": {
  22730. "description": "币种id",
  22731. "type": "integer"
  22732. },
  22733. "hedgeaccountcode": {
  22734. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22735. "type": "string"
  22736. },
  22737. "ismain": {
  22738. "description": "是否主账户 0-否 1-是",
  22739. "type": "integer"
  22740. },
  22741. "parentaccountid": {
  22742. "description": "父账户id",
  22743. "type": "integer"
  22744. },
  22745. "relateduserid": {
  22746. "description": "关联userid",
  22747. "type": "integer"
  22748. },
  22749. "tradefeetmpid": {
  22750. "description": "手续费模板id",
  22751. "type": "integer"
  22752. },
  22753. "tradefeetmpname": {
  22754. "description": "手续费模板名称",
  22755. "type": "string"
  22756. },
  22757. "trademargintmpid": {
  22758. "description": "保证金模板id",
  22759. "type": "integer"
  22760. },
  22761. "trademargintmpname": {
  22762. "description": "保证金模板名称",
  22763. "type": "string"
  22764. },
  22765. "traderatetmpid": {
  22766. "description": "汇率模板id",
  22767. "type": "integer"
  22768. },
  22769. "traderatetmpname": {
  22770. "description": "汇率模板名称",
  22771. "type": "string"
  22772. },
  22773. "tradestatus": {
  22774. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22775. "type": "integer"
  22776. },
  22777. "userid": {
  22778. "description": "用户id",
  22779. "type": "integer"
  22780. }
  22781. }
  22782. },
  22783. "models.ErmcpTaAccountEx": {
  22784. "type": "object",
  22785. "properties": {
  22786. "mainAcc": {
  22787. "description": "主账号",
  22788. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22789. },
  22790. "subacclist": {
  22791. "description": "子账号列表",
  22792. "type": "array",
  22793. "items": {
  22794. "$ref": "#/definitions/models.ErmcpTaAccount"
  22795. }
  22796. }
  22797. }
  22798. },
  22799. "models.ErmcpTaAccountInfo": {
  22800. "type": "object",
  22801. "properties": {
  22802. "accountid": {
  22803. "description": "资金账户ID",
  22804. "type": "integer"
  22805. },
  22806. "accountname": {
  22807. "description": "账户名称",
  22808. "type": "string"
  22809. },
  22810. "balance": {
  22811. "description": "期初余额",
  22812. "type": "number"
  22813. },
  22814. "capitalbalance": {
  22815. "description": "本金余额[外部子账户实际出入金余额]",
  22816. "type": "number"
  22817. },
  22818. "closepl": {
  22819. "description": "今日平仓盈亏",
  22820. "type": "number"
  22821. },
  22822. "creditdecrease": {
  22823. "description": "今日授信减少",
  22824. "type": "number"
  22825. },
  22826. "creditincrease": {
  22827. "description": "今日授信增加",
  22828. "type": "number"
  22829. },
  22830. "curdebt": {
  22831. "description": "期末欠款",
  22832. "type": "number"
  22833. },
  22834. "currencyid": {
  22835. "description": "货币ID",
  22836. "type": "integer"
  22837. },
  22838. "currentbalance": {
  22839. "description": "期末余额",
  22840. "type": "number"
  22841. },
  22842. "freezecharge": {
  22843. "description": "手续费冻结",
  22844. "type": "number"
  22845. },
  22846. "freezemargin": {
  22847. "description": "冻结保证金",
  22848. "type": "number"
  22849. },
  22850. "fromaccountid": {
  22851. "description": "所属上级账户",
  22852. "type": "integer"
  22853. },
  22854. "inamount": {
  22855. "description": "今日入金金额(包括三方入金)",
  22856. "type": "number"
  22857. },
  22858. "ismain": {
  22859. "description": "是否母账号 0:不是母账户 1:是母账户",
  22860. "type": "integer"
  22861. },
  22862. "mortgagecredit": {
  22863. "description": "授信金额",
  22864. "type": "number"
  22865. },
  22866. "oridebt": {
  22867. "description": "期初欠款",
  22868. "type": "number"
  22869. },
  22870. "orifreezecharge": {
  22871. "description": "期初手续费冻结",
  22872. "type": "number"
  22873. },
  22874. "orifreezemargin": {
  22875. "description": "期初冻结保证金",
  22876. "type": "number"
  22877. },
  22878. "orimortgagecredit": {
  22879. "description": "期初授信金额",
  22880. "type": "number"
  22881. },
  22882. "oriothercredit": {
  22883. "description": "期初其它授信金额",
  22884. "type": "number"
  22885. },
  22886. "oriotherfreezemargin": {
  22887. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22888. "type": "number"
  22889. },
  22890. "orioutamountfreeze": {
  22891. "description": "期初出金冻结",
  22892. "type": "number"
  22893. },
  22894. "oriusedmargin": {
  22895. "description": "期初占用保证金",
  22896. "type": "number"
  22897. },
  22898. "othercredit": {
  22899. "description": "其它授信金额",
  22900. "type": "number"
  22901. },
  22902. "othercreditdecrease": {
  22903. "description": "今日其它授信减少",
  22904. "type": "number"
  22905. },
  22906. "othercreditincrease": {
  22907. "description": "今日其它授信增加",
  22908. "type": "number"
  22909. },
  22910. "otherfreezemargin": {
  22911. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22912. "type": "number"
  22913. },
  22914. "outamount": {
  22915. "description": "今日出金金额(包括三方出金)",
  22916. "type": "number"
  22917. },
  22918. "outamountfreeze": {
  22919. "description": "出金冻结",
  22920. "type": "number"
  22921. },
  22922. "outthreshold": {
  22923. "description": "出金阈值",
  22924. "type": "number"
  22925. },
  22926. "parentaccountid": {
  22927. "description": "所属根账号",
  22928. "type": "integer"
  22929. },
  22930. "paycharge": {
  22931. "description": "今日手续费支出",
  22932. "type": "number"
  22933. },
  22934. "relateduserid": {
  22935. "description": "关联用户",
  22936. "type": "integer"
  22937. },
  22938. "signstatus": {
  22939. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22940. "type": "integer"
  22941. },
  22942. "sublevelpath": {
  22943. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22944. "type": "string"
  22945. },
  22946. "taaccounttype": {
  22947. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22948. "type": "integer"
  22949. },
  22950. "thirdinamount": {
  22951. "description": "今日三方入金",
  22952. "type": "number"
  22953. },
  22954. "thirdoutamount": {
  22955. "description": "今日三方出金",
  22956. "type": "number"
  22957. },
  22958. "tradestatus": {
  22959. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22960. "type": "integer"
  22961. },
  22962. "transferamount": {
  22963. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22964. "type": "number"
  22965. },
  22966. "usedmargin": {
  22967. "description": "占用保证金",
  22968. "type": "number"
  22969. },
  22970. "userid": {
  22971. "description": "用户ID",
  22972. "type": "integer"
  22973. }
  22974. }
  22975. },
  22976. "models.ErmcpTaAccountM": {
  22977. "type": "object",
  22978. "properties": {
  22979. "accountid": {
  22980. "description": "账户id",
  22981. "type": "integer"
  22982. },
  22983. "accountname": {
  22984. "description": "账户名称",
  22985. "type": "string"
  22986. },
  22987. "currencyid": {
  22988. "description": "币种id",
  22989. "type": "integer"
  22990. },
  22991. "fcid": {
  22992. "description": "期货公司id",
  22993. "type": "integer"
  22994. },
  22995. "fcname": {
  22996. "description": "期货公司代码",
  22997. "type": "string"
  22998. },
  22999. "hedgeaccountcode": {
  23000. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  23001. "type": "string"
  23002. },
  23003. "ismain": {
  23004. "description": "是否主账户 0-否 1-是",
  23005. "type": "integer"
  23006. },
  23007. "parentaccountid": {
  23008. "description": "父账户id",
  23009. "type": "integer"
  23010. },
  23011. "relateduserid": {
  23012. "description": "关联userid",
  23013. "type": "integer"
  23014. },
  23015. "tradefeetmpid": {
  23016. "description": "手续费模板id",
  23017. "type": "integer"
  23018. },
  23019. "tradefeetmpname": {
  23020. "description": "手续费模板名称",
  23021. "type": "string"
  23022. },
  23023. "trademargintmpid": {
  23024. "description": "保证金模板id",
  23025. "type": "integer"
  23026. },
  23027. "trademargintmpname": {
  23028. "description": "保证金模板名称",
  23029. "type": "string"
  23030. },
  23031. "traderatetmpid": {
  23032. "description": "汇率模板id",
  23033. "type": "integer"
  23034. },
  23035. "traderatetmpname": {
  23036. "description": "汇率模板名称",
  23037. "type": "string"
  23038. },
  23039. "tradestatus": {
  23040. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23041. "type": "integer"
  23042. },
  23043. "userid": {
  23044. "description": "用户id",
  23045. "type": "integer"
  23046. }
  23047. }
  23048. },
  23049. "models.ErmcpTradeConfigTMP": {
  23050. "type": "object",
  23051. "properties": {
  23052. "areauserid": {
  23053. "description": "所属机构",
  23054. "type": "integer"
  23055. },
  23056. "basiccurrencyid": {
  23057. "description": "基本币种ID[汇率] - 目标币种",
  23058. "type": "integer"
  23059. },
  23060. "mainaccountid": {
  23061. "description": "主账户ID",
  23062. "type": "integer"
  23063. },
  23064. "modifierid": {
  23065. "description": "修改人",
  23066. "type": "integer"
  23067. },
  23068. "remark": {
  23069. "description": "备注",
  23070. "type": "string"
  23071. },
  23072. "tradeconfigtmpid": {
  23073. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  23074. "type": "integer"
  23075. },
  23076. "tradeconfigtmpname": {
  23077. "description": "交易配置模板名称",
  23078. "type": "string"
  23079. },
  23080. "tradeconfigtmptype": {
  23081. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  23082. "type": "integer"
  23083. },
  23084. "updatetime": {
  23085. "description": "更新时间",
  23086. "type": "string"
  23087. }
  23088. }
  23089. },
  23090. "models.Externalexchange": {
  23091. "type": "object",
  23092. "required": [
  23093. "autoid"
  23094. ],
  23095. "properties": {
  23096. "autoid": {
  23097. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  23098. "type": "integer"
  23099. },
  23100. "exchangefullname": {
  23101. "description": "外部交易所全称",
  23102. "type": "string"
  23103. },
  23104. "exexchangecode": {
  23105. "description": "外部交易所代码",
  23106. "type": "string"
  23107. },
  23108. "exexchangename": {
  23109. "description": "外部交易所名称(简称)",
  23110. "type": "string"
  23111. },
  23112. "ismarketprice": {
  23113. "description": "是否支持市价 - 0:不支持 1:支持",
  23114. "type": "integer"
  23115. },
  23116. "quotegear": {
  23117. "description": "行情档位(1-10)",
  23118. "type": "integer"
  23119. },
  23120. "showbrokerflag": {
  23121. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  23122. "type": "integer"
  23123. },
  23124. "updatetime": {
  23125. "description": "更新时间",
  23126. "type": "string"
  23127. }
  23128. }
  23129. },
  23130. "models.Funcmenulist": {
  23131. "type": "object",
  23132. "required": [
  23133. "resourcecode"
  23134. ],
  23135. "properties": {
  23136. "iconame": {
  23137. "description": "菜单图标",
  23138. "type": "string"
  23139. },
  23140. "menutype": {
  23141. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  23142. "type": "integer"
  23143. },
  23144. "parentcode": {
  23145. "description": "上级资源代码",
  23146. "type": "string"
  23147. },
  23148. "remark": {
  23149. "description": "备注",
  23150. "type": "string"
  23151. },
  23152. "resourcecode": {
  23153. "description": "资源代码",
  23154. "type": "string"
  23155. },
  23156. "resourcelevel": {
  23157. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  23158. "type": "integer"
  23159. },
  23160. "resourcename": {
  23161. "description": "资源名",
  23162. "type": "string"
  23163. },
  23164. "sort": {
  23165. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  23166. "type": "integer"
  23167. },
  23168. "url": {
  23169. "description": "URL",
  23170. "type": "string"
  23171. }
  23172. }
  23173. },
  23174. "models.Goods": {
  23175. "type": "object",
  23176. "required": [
  23177. "goodscode",
  23178. "goodsid",
  23179. "goodsname",
  23180. "marketid"
  23181. ],
  23182. "properties": {
  23183. "agreeunit": {
  23184. "description": "合约单位",
  23185. "type": "number"
  23186. },
  23187. "areauserid": {
  23188. "description": "所属机构",
  23189. "type": "integer"
  23190. },
  23191. "auditaccountid": {
  23192. "description": "审核操作员账号",
  23193. "type": "integer"
  23194. },
  23195. "audittime": {
  23196. "description": "审核时间",
  23197. "type": "string"
  23198. },
  23199. "cancelaccountid": {
  23200. "description": "注销操作员账号",
  23201. "type": "integer"
  23202. },
  23203. "canceltime": {
  23204. "description": "注销时间",
  23205. "type": "string"
  23206. },
  23207. "closepricemode": {
  23208. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23209. "type": "integer"
  23210. },
  23211. "closepriceparam": {
  23212. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23213. "type": "number"
  23214. },
  23215. "createtime": {
  23216. "description": "创建时间",
  23217. "type": "string"
  23218. },
  23219. "creatorid": {
  23220. "description": "创建人",
  23221. "type": "integer"
  23222. },
  23223. "currencyid": {
  23224. "description": "报价货币ID",
  23225. "type": "integer"
  23226. },
  23227. "cutmode": {
  23228. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23229. "type": "integer"
  23230. },
  23231. "decimalplace": {
  23232. "description": "报价小数位",
  23233. "type": "integer"
  23234. },
  23235. "delistingdate": {
  23236. "description": "商品退市时间(状态:退市) -- 已作废",
  23237. "type": "string"
  23238. },
  23239. "delistingmode": {
  23240. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23241. "type": "integer"
  23242. },
  23243. "deliveryflag": {
  23244. "description": "交割标志 - 0:不可交割 1:可交割",
  23245. "type": "integer"
  23246. },
  23247. "forceclosemode": {
  23248. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23249. "type": "integer"
  23250. },
  23251. "forceclosevalue": {
  23252. "description": "定期强平参数 [收益权]",
  23253. "type": "integer"
  23254. },
  23255. "goodscode": {
  23256. "description": "商品代码(内部)",
  23257. "type": "string"
  23258. },
  23259. "goodscurrencyid": {
  23260. "description": "合约货币ID",
  23261. "type": "integer"
  23262. },
  23263. "goodsgroupid": {
  23264. "description": "所属商品组ID",
  23265. "type": "integer"
  23266. },
  23267. "goodsid": {
  23268. "description": "商品ID(自增ID SEQ_GOODS)",
  23269. "type": "integer"
  23270. },
  23271. "goodsname": {
  23272. "description": "商品名称",
  23273. "type": "string"
  23274. },
  23275. "goodsquotetype": {
  23276. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23277. "type": "integer"
  23278. },
  23279. "goodsstatus": {
  23280. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23281. "type": "integer"
  23282. },
  23283. "goodstradetype": {
  23284. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23285. "type": "integer"
  23286. },
  23287. "goodunitid": {
  23288. "description": "报价单位ID",
  23289. "type": "integer"
  23290. },
  23291. "hasquoter": {
  23292. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23293. "type": "integer"
  23294. },
  23295. "hqprotecttime": {
  23296. "description": "行情保护时间(秒)",
  23297. "type": "integer"
  23298. },
  23299. "innerdealmode": {
  23300. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23301. "type": "integer"
  23302. },
  23303. "isbuylimited": {
  23304. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23305. "type": "integer"
  23306. },
  23307. "isvisible": {
  23308. "description": "游客是否可见 - 0:不可见 1:可见",
  23309. "type": "integer"
  23310. },
  23311. "lasttradedate": {
  23312. "description": "最后交易日期(状态:待退市)",
  23313. "type": "string"
  23314. },
  23315. "listingdate": {
  23316. "description": "交易开始日期",
  23317. "type": "string"
  23318. },
  23319. "marketid": {
  23320. "description": "所属市场ID",
  23321. "type": "integer"
  23322. },
  23323. "modifierid": {
  23324. "description": "修改人",
  23325. "type": "integer"
  23326. },
  23327. "modifystatus": {
  23328. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23329. "type": "integer"
  23330. },
  23331. "modifytime": {
  23332. "description": "修改时间",
  23333. "type": "string"
  23334. },
  23335. "outerdealmode": {
  23336. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23337. "type": "integer"
  23338. },
  23339. "outgoodscode": {
  23340. "description": "商品代码(外部)",
  23341. "type": "string"
  23342. },
  23343. "pictureurl": {
  23344. "description": "商品图片",
  23345. "type": "string"
  23346. },
  23347. "qtydecimalplace": {
  23348. "description": "成交量小数位",
  23349. "type": "integer"
  23350. },
  23351. "quotegear": {
  23352. "description": "行情档位(1-10)",
  23353. "type": "integer"
  23354. },
  23355. "quoteminunit": {
  23356. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23357. "type": "integer"
  23358. },
  23359. "quoteshowtype": {
  23360. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23361. "type": "integer"
  23362. },
  23363. "quoteshowtypeinterval": {
  23364. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23365. "type": "integer"
  23366. },
  23367. "remark": {
  23368. "description": "备注",
  23369. "type": "string"
  23370. }
  23371. }
  23372. },
  23373. "models.GoodsIDAndName": {
  23374. "type": "object",
  23375. "required": [
  23376. "goodscode",
  23377. "goodsid",
  23378. "goodsname",
  23379. "marketid"
  23380. ],
  23381. "properties": {
  23382. "goodscode": {
  23383. "description": "商品代码(内部)",
  23384. "type": "string"
  23385. },
  23386. "goodsid": {
  23387. "description": "商品ID(自增ID SEQ_GOODS)",
  23388. "type": "integer"
  23389. },
  23390. "goodsname": {
  23391. "description": "商品名称",
  23392. "type": "string"
  23393. },
  23394. "marketid": {
  23395. "description": "所属市场ID",
  23396. "type": "integer"
  23397. }
  23398. }
  23399. },
  23400. "models.Goodsgroup": {
  23401. "type": "object",
  23402. "required": [
  23403. "goodsgroupid",
  23404. "goodsgroupname",
  23405. "goodsgroupstatus",
  23406. "marketid"
  23407. ],
  23408. "properties": {
  23409. "agreeunit": {
  23410. "description": "合约单位",
  23411. "type": "number"
  23412. },
  23413. "canshort": {
  23414. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23415. "type": "integer"
  23416. },
  23417. "closepricemode": {
  23418. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23419. "type": "integer"
  23420. },
  23421. "closepriceparam": {
  23422. "description": "强平最新价浮动比例 - 方式为2时使用",
  23423. "type": "number"
  23424. },
  23425. "createtime": {
  23426. "description": "创建时间",
  23427. "type": "string"
  23428. },
  23429. "creatorid": {
  23430. "description": "创建人",
  23431. "type": "integer"
  23432. },
  23433. "currencyid": {
  23434. "description": "报价货币ID",
  23435. "type": "integer"
  23436. },
  23437. "decimalplace": {
  23438. "description": "报价小数位",
  23439. "type": "integer"
  23440. },
  23441. "exercisetype": {
  23442. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  23443. "type": "integer"
  23444. },
  23445. "exexchangeid": {
  23446. "description": "外部交易所ID[通道交易]",
  23447. "type": "integer"
  23448. },
  23449. "goodsgroupid": {
  23450. "description": "商品组ID(自增ID)",
  23451. "type": "integer"
  23452. },
  23453. "goodsgroupname": {
  23454. "description": "商品组名称",
  23455. "type": "string"
  23456. },
  23457. "goodsgroupstatus": {
  23458. "description": "商品组状态 - 1:正常 2:注销",
  23459. "type": "integer"
  23460. },
  23461. "goodunitid": {
  23462. "description": "报价单位ID",
  23463. "type": "integer"
  23464. },
  23465. "innerdealmode": {
  23466. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23467. "type": "integer"
  23468. },
  23469. "isbuylimited": {
  23470. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23471. "type": "integer"
  23472. },
  23473. "marketid": {
  23474. "description": "所属市场ID",
  23475. "type": "integer"
  23476. },
  23477. "modifierid": {
  23478. "description": "修改人",
  23479. "type": "integer"
  23480. },
  23481. "modifytime": {
  23482. "description": "修改时间",
  23483. "type": "string"
  23484. },
  23485. "outerdealmode": {
  23486. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23487. "type": "integer"
  23488. },
  23489. "outergroupcode": {
  23490. "description": "外部商品组代码[通道交易]",
  23491. "type": "string"
  23492. },
  23493. "premiumdecimalplace": {
  23494. "description": "权利金小数位[场外期权]",
  23495. "type": "integer"
  23496. },
  23497. "premiumspreadalgorithm": {
  23498. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  23499. "type": "integer"
  23500. },
  23501. "premiumspreadvalue": {
  23502. "description": "权利金点差值[场外期权]",
  23503. "type": "number"
  23504. },
  23505. "qtydecimalplace": {
  23506. "description": "成交量小数位",
  23507. "type": "integer"
  23508. },
  23509. "quotegear": {
  23510. "description": "行情档位(1-10)",
  23511. "type": "integer"
  23512. },
  23513. "quoteminunit": {
  23514. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23515. "type": "integer"
  23516. },
  23517. "quoterid": {
  23518. "description": "报价商ID[场外期权]",
  23519. "type": "integer"
  23520. },
  23521. "quotesourcegroupid": {
  23522. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23523. "type": "integer"
  23524. },
  23525. "syncgoodsqty": {
  23526. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23527. "type": "integer"
  23528. }
  23529. }
  23530. },
  23531. "models.Goodssortbypreposition": {
  23532. "type": "object",
  23533. "required": [
  23534. "goodscode",
  23535. "tradedate"
  23536. ],
  23537. "properties": {
  23538. "goodscode": {
  23539. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  23540. "type": "string"
  23541. },
  23542. "goodsgroupcode": {
  23543. "description": "品种代码",
  23544. "type": "string"
  23545. },
  23546. "prepositionqty": {
  23547. "description": "昨持仓量",
  23548. "type": "integer"
  23549. },
  23550. "sortindex": {
  23551. "description": "排序",
  23552. "type": "integer"
  23553. },
  23554. "tradedate": {
  23555. "description": "交易日",
  23556. "type": "string"
  23557. },
  23558. "updatetime": {
  23559. "description": "更新时间",
  23560. "type": "string"
  23561. }
  23562. }
  23563. },
  23564. "models.Hedgeinnerholderdetail": {
  23565. "type": "object",
  23566. "required": [
  23567. "buyorsell",
  23568. "tradeid"
  23569. ],
  23570. "properties": {
  23571. "accountid": {
  23572. "description": "账号ID",
  23573. "type": "integer"
  23574. },
  23575. "buyorsell": {
  23576. "description": "方向 - 0:买 1:卖",
  23577. "type": "integer"
  23578. },
  23579. "freezeqty": {
  23580. "description": "冻结数量 - 按单平使用",
  23581. "type": "integer"
  23582. },
  23583. "goodsid": {
  23584. "description": "商品ID",
  23585. "type": "integer"
  23586. },
  23587. "holderamount": {
  23588. "description": "持仓金额 [商品币种]",
  23589. "type": "number"
  23590. },
  23591. "holderdays": {
  23592. "description": "剩余冻结天数",
  23593. "type": "integer"
  23594. },
  23595. "holderprice": {
  23596. "description": "持仓价格",
  23597. "type": "number"
  23598. },
  23599. "holderqty": {
  23600. "description": "持仓数量",
  23601. "type": "integer"
  23602. },
  23603. "marketid": {
  23604. "description": "市场ID",
  23605. "type": "integer"
  23606. },
  23607. "openprice": {
  23608. "description": "建仓价格",
  23609. "type": "number"
  23610. },
  23611. "openqty": {
  23612. "description": "建仓数量",
  23613. "type": "integer"
  23614. },
  23615. "parentaccountid": {
  23616. "description": "所属母账户",
  23617. "type": "integer"
  23618. },
  23619. "releaseamount": {
  23620. "description": "释放持仓金额[商品币种]",
  23621. "type": "number"
  23622. },
  23623. "tradeamount": {
  23624. "description": "成交金额[账户]",
  23625. "type": "number"
  23626. },
  23627. "tradedate": {
  23628. "description": "交易日(yyyyMMdd)",
  23629. "type": "string"
  23630. },
  23631. "tradeid": {
  23632. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23633. "type": "string"
  23634. },
  23635. "tradetime": {
  23636. "description": "交易时间",
  23637. "type": "string"
  23638. }
  23639. }
  23640. },
  23641. "models.Hedgemarketopenlog": {
  23642. "type": "object",
  23643. "required": [
  23644. "accountid"
  23645. ],
  23646. "properties": {
  23647. "accountid": {
  23648. "description": "资金账号[外部母账户]",
  23649. "type": "integer"
  23650. },
  23651. "fcname": {
  23652. "description": "期货公司名称",
  23653. "type": "string"
  23654. },
  23655. "handlestatus": {
  23656. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23657. "type": "integer"
  23658. },
  23659. "marketid": {
  23660. "description": "市场ID",
  23661. "type": "integer"
  23662. },
  23663. "status": {
  23664. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23665. "type": "integer"
  23666. },
  23667. "tradedate": {
  23668. "description": "交易日(yyyyMMdd)",
  23669. "type": "string"
  23670. },
  23671. "updatetime": {
  23672. "description": "更新时间",
  23673. "type": "string"
  23674. }
  23675. }
  23676. },
  23677. "models.HsbyBuyMyPayOrder": {
  23678. "type": "object",
  23679. "required": [
  23680. "goodscode",
  23681. "goodsname",
  23682. "tradeid",
  23683. "trademode"
  23684. ],
  23685. "properties": {
  23686. "agreeunit": {
  23687. "description": "合约单位",
  23688. "type": "number"
  23689. },
  23690. "buyaccountid": {
  23691. "description": "买方账号ID[报价币种]",
  23692. "type": "integer"
  23693. },
  23694. "buyorderid": {
  23695. "description": "买方委托单号",
  23696. "type": "string"
  23697. },
  23698. "createtime": {
  23699. "description": "创建时间",
  23700. "type": "string"
  23701. },
  23702. "currencysign": {
  23703. "description": "货币符号",
  23704. "type": "string"
  23705. },
  23706. "decimalplace": {
  23707. "description": "报价小数位",
  23708. "type": "integer"
  23709. },
  23710. "goodscode": {
  23711. "description": "商品代码(内部)",
  23712. "type": "string"
  23713. },
  23714. "goodsid": {
  23715. "description": "商品ID",
  23716. "type": "integer"
  23717. },
  23718. "goodsname": {
  23719. "description": "商品名称",
  23720. "type": "string"
  23721. },
  23722. "marketid": {
  23723. "description": "市场ID",
  23724. "type": "integer"
  23725. },
  23726. "offamount": {
  23727. "description": "优惠金额",
  23728. "type": "number"
  23729. },
  23730. "originalamount": {
  23731. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23732. "type": "number"
  23733. },
  23734. "payamount": {
  23735. "description": "支付金额 = TradeAmount + TradeCharge",
  23736. "type": "number"
  23737. },
  23738. "payflag": {
  23739. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23740. "type": "integer"
  23741. },
  23742. "paylimitedtime": {
  23743. "description": "支付期限",
  23744. "type": "string"
  23745. },
  23746. "paytime": {
  23747. "description": "付款时间",
  23748. "type": "string"
  23749. },
  23750. "picurls1": {
  23751. "description": "预售商品介绍图片[多张用逗号分隔]",
  23752. "type": "string"
  23753. },
  23754. "picurls2": {
  23755. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23756. "type": "string"
  23757. },
  23758. "sellaccountid": {
  23759. "description": "卖方账号ID[报价币种]",
  23760. "type": "integer"
  23761. },
  23762. "sellorderid": {
  23763. "description": "卖方委托单号",
  23764. "type": "string"
  23765. },
  23766. "tradeamount": {
  23767. "description": "成交金额",
  23768. "type": "number"
  23769. },
  23770. "tradecharge": {
  23771. "description": "成交手续费(买方)",
  23772. "type": "number"
  23773. },
  23774. "tradedate": {
  23775. "description": "交易日(yyyyMMdd)",
  23776. "type": "string"
  23777. },
  23778. "tradeid": {
  23779. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23780. "type": "string"
  23781. },
  23782. "trademode": {
  23783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23784. "type": "integer"
  23785. },
  23786. "tradeprice": {
  23787. "description": "成交价格",
  23788. "type": "number"
  23789. },
  23790. "tradeqty": {
  23791. "description": "成交数量",
  23792. "type": "integer"
  23793. },
  23794. "vendorname1": {
  23795. "description": "预售商品供应商名称",
  23796. "type": "string"
  23797. },
  23798. "vendorname2": {
  23799. "description": "挂牌商品供应商名称",
  23800. "type": "string"
  23801. }
  23802. }
  23803. },
  23804. "models.HsbyBuyMyTradeDetail": {
  23805. "type": "object",
  23806. "required": [
  23807. "accountid",
  23808. "buyorsell",
  23809. "goodscode",
  23810. "goodsid",
  23811. "goodsname",
  23812. "marketid",
  23813. "orderid",
  23814. "qty",
  23815. "time",
  23816. "trademode"
  23817. ],
  23818. "properties": {
  23819. "accountid": {
  23820. "description": "账户ID[报价币种]",
  23821. "type": "integer"
  23822. },
  23823. "agreeunit": {
  23824. "description": "合约单位",
  23825. "type": "number"
  23826. },
  23827. "amount": {
  23828. "description": "金额 = 价格 * 数量 * 合约单位",
  23829. "type": "number"
  23830. },
  23831. "buyorsell": {
  23832. "description": "买卖 - 0:买 1:卖",
  23833. "type": "integer"
  23834. },
  23835. "currencysign": {
  23836. "description": "货币符号",
  23837. "type": "string"
  23838. },
  23839. "decimalplace": {
  23840. "description": "报价小数位",
  23841. "type": "integer"
  23842. },
  23843. "goodscode": {
  23844. "description": "商品代码(内部)",
  23845. "type": "string"
  23846. },
  23847. "goodsid": {
  23848. "description": "商品ID",
  23849. "type": "integer"
  23850. },
  23851. "goodsname": {
  23852. "description": "商品名称",
  23853. "type": "string"
  23854. },
  23855. "marketid": {
  23856. "description": "市场ID",
  23857. "type": "integer"
  23858. },
  23859. "orderamount": {
  23860. "description": "委托金额",
  23861. "type": "number"
  23862. },
  23863. "orderid": {
  23864. "description": "单号(成交单号)",
  23865. "type": "string"
  23866. },
  23867. "picurls1": {
  23868. "description": "预售商品介绍图片[多张用逗号分隔]",
  23869. "type": "string"
  23870. },
  23871. "picurls2": {
  23872. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23873. "type": "string"
  23874. },
  23875. "price": {
  23876. "description": "价格",
  23877. "type": "number"
  23878. },
  23879. "qty": {
  23880. "description": "数量",
  23881. "type": "integer"
  23882. },
  23883. "time": {
  23884. "description": "时间",
  23885. "type": "string"
  23886. },
  23887. "trademode": {
  23888. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23889. "type": "integer"
  23890. },
  23891. "vendorname1": {
  23892. "description": "预售商品供应商名称",
  23893. "type": "string"
  23894. },
  23895. "vendorname2": {
  23896. "description": "挂牌商品供应商名称",
  23897. "type": "string"
  23898. }
  23899. }
  23900. },
  23901. "models.HsbyGoodsOrderDetail": {
  23902. "type": "object",
  23903. "required": [
  23904. "buyorsell",
  23905. "orderid",
  23906. "ordertime"
  23907. ],
  23908. "properties": {
  23909. "buyorsell": {
  23910. "description": "买卖 - 0:买 1:卖",
  23911. "type": "integer"
  23912. },
  23913. "currencysign": {
  23914. "description": "货币符号",
  23915. "type": "string"
  23916. },
  23917. "customername": {
  23918. "description": "客户名称(企业名称),已脱敏",
  23919. "type": "string"
  23920. },
  23921. "enableqty": {
  23922. "description": "可用数量",
  23923. "type": "integer"
  23924. },
  23925. "goodunit": {
  23926. "description": "报价单位",
  23927. "type": "string"
  23928. },
  23929. "orderid": {
  23930. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23931. "type": "string"
  23932. },
  23933. "orderprice": {
  23934. "description": "委托价格",
  23935. "type": "number"
  23936. },
  23937. "ordertime": {
  23938. "description": "委托时间",
  23939. "type": "string"
  23940. }
  23941. }
  23942. },
  23943. "models.HsbyListingGoodsDetail": {
  23944. "type": "object",
  23945. "required": [
  23946. "goodscode",
  23947. "goodsid",
  23948. "goodsname",
  23949. "marketid",
  23950. "trademode"
  23951. ],
  23952. "properties": {
  23953. "agreeunit": {
  23954. "description": "合约单位",
  23955. "type": "number"
  23956. },
  23957. "buymaxqty": {
  23958. "description": "购买上限 [71] - 0为不限",
  23959. "type": "integer"
  23960. },
  23961. "currency": {
  23962. "description": "货币",
  23963. "type": "string"
  23964. },
  23965. "currencysign": {
  23966. "description": "货币符号",
  23967. "type": "string"
  23968. },
  23969. "decimalplace": {
  23970. "description": "报价小数位",
  23971. "type": "integer"
  23972. },
  23973. "desccityid": {
  23974. "description": "目的地(市)ID",
  23975. "type": "integer"
  23976. },
  23977. "descprovinceid": {
  23978. "description": "目的地(省)ID",
  23979. "type": "integer"
  23980. },
  23981. "goodscode": {
  23982. "description": "商品代码(内部)",
  23983. "type": "string"
  23984. },
  23985. "goodsdesc": {
  23986. "description": "商品详情",
  23987. "type": "string"
  23988. },
  23989. "goodsid": {
  23990. "description": "商品ID(自增ID SEQ_GOODS)",
  23991. "type": "integer"
  23992. },
  23993. "goodsname": {
  23994. "description": "商品名称",
  23995. "type": "string"
  23996. },
  23997. "goodsprice": {
  23998. "description": "商品价格",
  23999. "type": "number"
  24000. },
  24001. "hotindex": {
  24002. "description": "景点热度",
  24003. "type": "integer"
  24004. },
  24005. "last": {
  24006. "description": "现价",
  24007. "type": "number"
  24008. },
  24009. "limitdown": {
  24010. "description": "跌停价",
  24011. "type": "number"
  24012. },
  24013. "limitup": {
  24014. "description": "涨停价",
  24015. "type": "number"
  24016. },
  24017. "lotsize": {
  24018. "description": "手数最小变动单位",
  24019. "type": "integer"
  24020. },
  24021. "marketid": {
  24022. "description": "所属市场ID",
  24023. "type": "integer"
  24024. },
  24025. "picurls": {
  24026. "description": "介绍图片[多张用逗号分隔]",
  24027. "type": "string"
  24028. },
  24029. "quoteminunit": {
  24030. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24031. "type": "integer"
  24032. },
  24033. "stepvalue": {
  24034. "description": "价格最小变动单位",
  24035. "type": "number"
  24036. },
  24037. "trademode": {
  24038. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24039. "type": "integer"
  24040. },
  24041. "vendorattr": {
  24042. "description": "供应商附件(多张,逗号分隔)",
  24043. "type": "string"
  24044. },
  24045. "vendorname": {
  24046. "description": "供应商名称",
  24047. "type": "string"
  24048. },
  24049. "vendorphone": {
  24050. "description": "供应商客服电话",
  24051. "type": "string"
  24052. },
  24053. "videourls": {
  24054. "description": "介绍视频[多张用逗号分隔]",
  24055. "type": "string"
  24056. }
  24057. }
  24058. },
  24059. "models.HsbyMarketGoods": {
  24060. "type": "object",
  24061. "required": [
  24062. "accountid",
  24063. "buyorsell",
  24064. "goodscode",
  24065. "goodsid",
  24066. "goodsname",
  24067. "marketid",
  24068. "orderid",
  24069. "trademode"
  24070. ],
  24071. "properties": {
  24072. "accountid": {
  24073. "description": "账户ID[报价币种]",
  24074. "type": "integer"
  24075. },
  24076. "agreeunit": {
  24077. "description": "合约单位",
  24078. "type": "number"
  24079. },
  24080. "buyorsell": {
  24081. "description": "买卖 - 0:买 1:卖",
  24082. "type": "integer"
  24083. },
  24084. "categoryid": {
  24085. "description": "类别ID(WRCATEGORY)",
  24086. "type": "integer"
  24087. },
  24088. "currency": {
  24089. "description": "货币",
  24090. "type": "string"
  24091. },
  24092. "currencysign": {
  24093. "description": "货币符号",
  24094. "type": "string"
  24095. },
  24096. "customername": {
  24097. "description": "卖家名称",
  24098. "type": "string"
  24099. },
  24100. "decimalplace": {
  24101. "description": "报价小数位",
  24102. "type": "integer"
  24103. },
  24104. "goodscode": {
  24105. "description": "商品代码(内部)",
  24106. "type": "string"
  24107. },
  24108. "goodsid": {
  24109. "description": "商品ID",
  24110. "type": "integer"
  24111. },
  24112. "goodsname": {
  24113. "description": "商品名称",
  24114. "type": "string"
  24115. },
  24116. "goodsprice": {
  24117. "description": "商品价格",
  24118. "type": "number"
  24119. },
  24120. "hascoupon": {
  24121. "description": "是否可用优惠卷",
  24122. "type": "boolean"
  24123. },
  24124. "hotindex": {
  24125. "description": "景点热度",
  24126. "type": "integer"
  24127. },
  24128. "marketid": {
  24129. "description": "市场ID",
  24130. "type": "integer"
  24131. },
  24132. "orderid": {
  24133. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24134. "type": "string"
  24135. },
  24136. "orderprice": {
  24137. "description": "委托价格",
  24138. "type": "number"
  24139. },
  24140. "orderstatus": {
  24141. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24142. "type": "integer"
  24143. },
  24144. "picurls": {
  24145. "description": "介绍图片[多张用逗号分隔]",
  24146. "type": "string"
  24147. },
  24148. "quoteminunit": {
  24149. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24150. "type": "integer"
  24151. },
  24152. "sellUserID": {
  24153. "description": "卖方UserID",
  24154. "type": "integer"
  24155. },
  24156. "trademode": {
  24157. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24158. "type": "integer"
  24159. },
  24160. "videourls": {
  24161. "description": "介绍视频[多张用逗号分隔]",
  24162. "type": "string"
  24163. }
  24164. }
  24165. },
  24166. "models.HsbyMarketGoodsDetail": {
  24167. "type": "object",
  24168. "required": [
  24169. "accountid",
  24170. "buyorsell",
  24171. "goodscode",
  24172. "goodsid",
  24173. "goodsname",
  24174. "marketid",
  24175. "orderid",
  24176. "orderqty",
  24177. "trademode"
  24178. ],
  24179. "properties": {
  24180. "accountid": {
  24181. "description": "账户ID[报价币种]",
  24182. "type": "integer"
  24183. },
  24184. "agreeunit": {
  24185. "description": "合约单位",
  24186. "type": "number"
  24187. },
  24188. "buymaxqty": {
  24189. "description": "购买上限 [71] - 0为不限",
  24190. "type": "integer"
  24191. },
  24192. "buyorsell": {
  24193. "description": "买卖 - 0:买 1:卖",
  24194. "type": "integer"
  24195. },
  24196. "cancelqty": {
  24197. "description": "撤单数量",
  24198. "type": "integer"
  24199. },
  24200. "categoryid": {
  24201. "description": "类别ID(WRCATEGORY)",
  24202. "type": "integer"
  24203. },
  24204. "currency": {
  24205. "description": "货币",
  24206. "type": "string"
  24207. },
  24208. "currencysign": {
  24209. "description": "货币符号",
  24210. "type": "string"
  24211. },
  24212. "customername": {
  24213. "description": "卖家名称",
  24214. "type": "string"
  24215. },
  24216. "decimalplace": {
  24217. "description": "报价小数位",
  24218. "type": "integer"
  24219. },
  24220. "goodscode": {
  24221. "description": "商品代码(内部)",
  24222. "type": "string"
  24223. },
  24224. "goodsdesc": {
  24225. "description": "商品详情",
  24226. "type": "string"
  24227. },
  24228. "goodsid": {
  24229. "description": "商品ID",
  24230. "type": "integer"
  24231. },
  24232. "goodsname": {
  24233. "description": "商品名称",
  24234. "type": "string"
  24235. },
  24236. "goodsprice": {
  24237. "description": "商品价格",
  24238. "type": "number"
  24239. },
  24240. "hotindex": {
  24241. "description": "景点热度",
  24242. "type": "integer"
  24243. },
  24244. "lotsize": {
  24245. "description": "手数最小变动单位",
  24246. "type": "integer"
  24247. },
  24248. "marketid": {
  24249. "description": "市场ID",
  24250. "type": "integer"
  24251. },
  24252. "orderid": {
  24253. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24254. "type": "string"
  24255. },
  24256. "orderprice": {
  24257. "description": "委托价格",
  24258. "type": "number"
  24259. },
  24260. "orderqty": {
  24261. "description": "委托数量",
  24262. "type": "integer"
  24263. },
  24264. "orderstatus": {
  24265. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24266. "type": "integer"
  24267. },
  24268. "picurls": {
  24269. "description": "介绍图片[多张用逗号分隔]",
  24270. "type": "string"
  24271. },
  24272. "quoteminunit": {
  24273. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24274. "type": "integer"
  24275. },
  24276. "sellUserID": {
  24277. "description": "卖方UserID",
  24278. "type": "integer"
  24279. },
  24280. "trademode": {
  24281. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24282. "type": "integer"
  24283. },
  24284. "tradeqty": {
  24285. "description": "成交数量",
  24286. "type": "integer"
  24287. },
  24288. "vendorattr": {
  24289. "description": "供应商附件(多张,逗号分隔)",
  24290. "type": "string"
  24291. },
  24292. "vendorname": {
  24293. "description": "供应商名称",
  24294. "type": "string"
  24295. },
  24296. "vendorphone": {
  24297. "description": "供应商客服电话",
  24298. "type": "string"
  24299. },
  24300. "videourls": {
  24301. "description": "介绍视频[多张用逗号分隔]",
  24302. "type": "string"
  24303. }
  24304. }
  24305. },
  24306. "models.HsbyMarketInfo": {
  24307. "type": "object",
  24308. "required": [
  24309. "marketid",
  24310. "marketstatus",
  24311. "trademode"
  24312. ],
  24313. "properties": {
  24314. "marketid": {
  24315. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24316. "type": "integer"
  24317. },
  24318. "marketname": {
  24319. "description": "市场名称",
  24320. "type": "string"
  24321. },
  24322. "marketstatus": {
  24323. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24324. "type": "integer"
  24325. },
  24326. "trademode": {
  24327. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24328. "type": "integer"
  24329. }
  24330. }
  24331. },
  24332. "models.HsbyMyGoods": {
  24333. "type": "object",
  24334. "required": [
  24335. "accountid",
  24336. "goodscode",
  24337. "goodsid",
  24338. "goodsname",
  24339. "marketid",
  24340. "trademode"
  24341. ],
  24342. "properties": {
  24343. "accountid": {
  24344. "description": "账号Id",
  24345. "type": "integer"
  24346. },
  24347. "agreeunit": {
  24348. "description": "合约单位",
  24349. "type": "number"
  24350. },
  24351. "buyaverageprice": {
  24352. "description": "持仓均价",
  24353. "type": "number"
  24354. },
  24355. "buycurholderamount": {
  24356. "description": "买当前持仓总金额[商品币种]",
  24357. "type": "number"
  24358. },
  24359. "buycurpositionqty": {
  24360. "description": "买当前持仓总数量",
  24361. "type": "integer"
  24362. },
  24363. "buymaxqty": {
  24364. "description": "购买上限 [71] - 0为不限",
  24365. "type": "integer"
  24366. },
  24367. "currencysign": {
  24368. "description": "货币符号",
  24369. "type": "string"
  24370. },
  24371. "decimalplace": {
  24372. "description": "报价小数位",
  24373. "type": "integer"
  24374. },
  24375. "enableqty": {
  24376. "description": "可用数量",
  24377. "type": "integer"
  24378. },
  24379. "goodscode": {
  24380. "description": "商品代码(内部)",
  24381. "type": "string"
  24382. },
  24383. "goodsid": {
  24384. "description": "商品Id",
  24385. "type": "integer"
  24386. },
  24387. "goodsname": {
  24388. "description": "商品名称",
  24389. "type": "string"
  24390. },
  24391. "goodsprice": {
  24392. "description": "商品价格",
  24393. "type": "number"
  24394. },
  24395. "goodsstatus": {
  24396. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24397. "type": "integer"
  24398. },
  24399. "last": {
  24400. "description": "现价(仅使用于挂牌点选)",
  24401. "type": "number"
  24402. },
  24403. "limitdown": {
  24404. "description": "跌停价(仅使用于挂牌点选)",
  24405. "type": "number"
  24406. },
  24407. "limitup": {
  24408. "description": "涨停价(仅使用于挂牌点选)",
  24409. "type": "number"
  24410. },
  24411. "lotsize": {
  24412. "description": "手数最小变动单位",
  24413. "type": "integer"
  24414. },
  24415. "marketid": {
  24416. "description": "所属市场ID",
  24417. "type": "integer"
  24418. },
  24419. "picurls": {
  24420. "description": "介绍图片[多张用逗号分隔]",
  24421. "type": "string"
  24422. },
  24423. "quoteminunit": {
  24424. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24425. "type": "integer"
  24426. },
  24427. "stepvalue": {
  24428. "description": "价格最小变动单位",
  24429. "type": "number"
  24430. },
  24431. "trademode": {
  24432. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24433. "type": "integer"
  24434. }
  24435. }
  24436. },
  24437. "models.HsbyMyPackage": {
  24438. "type": "object",
  24439. "required": [
  24440. "goodscode",
  24441. "goodsname",
  24442. "takeorderid",
  24443. "trademode"
  24444. ],
  24445. "properties": {
  24446. "accountid": {
  24447. "description": "账户ID",
  24448. "type": "integer"
  24449. },
  24450. "address": {
  24451. "description": "提货人详细地址",
  24452. "type": "string"
  24453. },
  24454. "agreeunit": {
  24455. "description": "合约单位",
  24456. "type": "number"
  24457. },
  24458. "amount": {
  24459. "description": "提货金额",
  24460. "type": "number"
  24461. },
  24462. "auditer": {
  24463. "description": "审核人",
  24464. "type": "integer"
  24465. },
  24466. "audittime": {
  24467. "description": "审核时间",
  24468. "type": "string"
  24469. },
  24470. "averageprice": {
  24471. "description": "均价",
  24472. "type": "number"
  24473. },
  24474. "cardnum": {
  24475. "description": "提货人证件号码",
  24476. "type": "string"
  24477. },
  24478. "cardtypeid": {
  24479. "description": "提货人证件类型",
  24480. "type": "integer"
  24481. },
  24482. "checkremark": {
  24483. "description": "审核备注",
  24484. "type": "string"
  24485. },
  24486. "currencysign": {
  24487. "description": "货币符号",
  24488. "type": "string"
  24489. },
  24490. "decimalplace": {
  24491. "description": "报价小数位",
  24492. "type": "integer"
  24493. },
  24494. "goodscode": {
  24495. "description": "商品代码(内部)",
  24496. "type": "string"
  24497. },
  24498. "goodsid": {
  24499. "description": "商品ID",
  24500. "type": "integer"
  24501. },
  24502. "goodsname": {
  24503. "description": "商品名称",
  24504. "type": "string"
  24505. },
  24506. "handlestatus": {
  24507. "description": "处理状态",
  24508. "type": "integer"
  24509. },
  24510. "marketid": {
  24511. "description": "市场ID",
  24512. "type": "integer"
  24513. },
  24514. "phonenum": {
  24515. "description": "提货人联系方式",
  24516. "type": "string"
  24517. },
  24518. "picurls": {
  24519. "description": "介绍图片[多张用逗号分隔]",
  24520. "type": "string"
  24521. },
  24522. "qty": {
  24523. "description": "提货数量",
  24524. "type": "number"
  24525. },
  24526. "recivername": {
  24527. "description": "提货人姓名",
  24528. "type": "string"
  24529. },
  24530. "reqtime": {
  24531. "description": "更新时间",
  24532. "type": "string"
  24533. },
  24534. "takemode": {
  24535. "description": "提货方式 - 2:自提 3:配送",
  24536. "type": "integer"
  24537. },
  24538. "takeorderid": {
  24539. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24540. "type": "string"
  24541. },
  24542. "takeorderstatus": {
  24543. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24544. "type": "integer"
  24545. },
  24546. "takeremark": {
  24547. "description": "提货备注",
  24548. "type": "string"
  24549. },
  24550. "tradedate": {
  24551. "description": "交易日(yyyyMMdd)",
  24552. "type": "string"
  24553. },
  24554. "trademode": {
  24555. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24556. "type": "integer"
  24557. },
  24558. "userid": {
  24559. "description": "用户ID",
  24560. "type": "integer"
  24561. },
  24562. "vendorname": {
  24563. "description": "供应商名称",
  24564. "type": "string"
  24565. }
  24566. }
  24567. },
  24568. "models.HsbyPreGoods": {
  24569. "type": "object",
  24570. "required": [
  24571. "goodscode",
  24572. "goodsid",
  24573. "goodsname",
  24574. "marketid",
  24575. "trademode"
  24576. ],
  24577. "properties": {
  24578. "agreeunit": {
  24579. "description": "合约单位",
  24580. "type": "number"
  24581. },
  24582. "currency": {
  24583. "description": "货币",
  24584. "type": "string"
  24585. },
  24586. "currencysign": {
  24587. "description": "货币符号",
  24588. "type": "string"
  24589. },
  24590. "decimalplace": {
  24591. "description": "报价小数位",
  24592. "type": "integer"
  24593. },
  24594. "desccityid": {
  24595. "description": "目的地(市)",
  24596. "type": "integer"
  24597. },
  24598. "descprovinceid": {
  24599. "description": "目的地(省)",
  24600. "type": "integer"
  24601. },
  24602. "enableqty": {
  24603. "description": "剩余数量",
  24604. "type": "integer"
  24605. },
  24606. "goodscode": {
  24607. "description": "商品代码(内部)",
  24608. "type": "string"
  24609. },
  24610. "goodsid": {
  24611. "description": "商品ID(自增ID SEQ_GOODS)",
  24612. "type": "integer"
  24613. },
  24614. "goodsname": {
  24615. "description": "商品名称",
  24616. "type": "string"
  24617. },
  24618. "goodsstatus": {
  24619. "description": "商品状态- 2:未上市 3:上市",
  24620. "type": "integer"
  24621. },
  24622. "lasttradedate": {
  24623. "description": "最后交易日期(状态:待退市)",
  24624. "type": "string"
  24625. },
  24626. "listingdate": {
  24627. "description": "交易开始日期",
  24628. "type": "string"
  24629. },
  24630. "marketid": {
  24631. "description": "所属市场ID",
  24632. "type": "integer"
  24633. },
  24634. "picurls": {
  24635. "description": "介绍图片[多张用逗号分隔]",
  24636. "type": "string"
  24637. },
  24638. "presaledqty": {
  24639. "description": "已预售量(预售结束时更新)",
  24640. "type": "integer"
  24641. },
  24642. "presaleqty": {
  24643. "description": "预售数量",
  24644. "type": "integer"
  24645. },
  24646. "quoteminunit": {
  24647. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24648. "type": "integer"
  24649. },
  24650. "refprice": {
  24651. "description": "参考价格[一口价]",
  24652. "type": "number"
  24653. },
  24654. "relatedgoodsid": {
  24655. "description": "关联交易合约ID",
  24656. "type": "integer"
  24657. },
  24658. "trademode": {
  24659. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24660. "type": "integer"
  24661. },
  24662. "videourls": {
  24663. "description": "介绍视频[多张用逗号分隔]",
  24664. "type": "string"
  24665. }
  24666. }
  24667. },
  24668. "models.HsbyPreGoodsDetail": {
  24669. "type": "object",
  24670. "required": [
  24671. "goodscode",
  24672. "goodsid",
  24673. "goodsname",
  24674. "marketid",
  24675. "trademode"
  24676. ],
  24677. "properties": {
  24678. "agreeunit": {
  24679. "description": "合约单位",
  24680. "type": "number"
  24681. },
  24682. "buymaxqty": {
  24683. "description": "购买上限 [71] - 0为不限",
  24684. "type": "integer"
  24685. },
  24686. "currency": {
  24687. "description": "货币",
  24688. "type": "string"
  24689. },
  24690. "currencysign": {
  24691. "description": "货币符号",
  24692. "type": "string"
  24693. },
  24694. "customername": {
  24695. "description": "发行单位",
  24696. "type": "string"
  24697. },
  24698. "decimalplace": {
  24699. "description": "报价小数位",
  24700. "type": "integer"
  24701. },
  24702. "desccityid": {
  24703. "description": "目的地(市)ID",
  24704. "type": "integer"
  24705. },
  24706. "descprovinceid": {
  24707. "description": "目的地(省)ID",
  24708. "type": "integer"
  24709. },
  24710. "enableqty": {
  24711. "description": "剩余数量",
  24712. "type": "integer"
  24713. },
  24714. "goodscode": {
  24715. "description": "商品代码(内部)",
  24716. "type": "string"
  24717. },
  24718. "goodsdesc": {
  24719. "description": "商品详情",
  24720. "type": "string"
  24721. },
  24722. "goodsid": {
  24723. "description": "商品ID(自增ID SEQ_GOODS)",
  24724. "type": "integer"
  24725. },
  24726. "goodsname": {
  24727. "description": "商品名称",
  24728. "type": "string"
  24729. },
  24730. "goodsstatus": {
  24731. "description": "商品状态- 2:未上市 3:上市",
  24732. "type": "integer"
  24733. },
  24734. "goodunit": {
  24735. "description": "报价单位",
  24736. "type": "string"
  24737. },
  24738. "lasttradedate": {
  24739. "description": "最后交易日期(状态:待退市)",
  24740. "type": "string"
  24741. },
  24742. "listingdate": {
  24743. "description": "交易开始日期",
  24744. "type": "string"
  24745. },
  24746. "lotsize": {
  24747. "description": "手数最小变动单位",
  24748. "type": "integer"
  24749. },
  24750. "marketid": {
  24751. "description": "所属市场ID",
  24752. "type": "integer"
  24753. },
  24754. "picurls": {
  24755. "description": "介绍图片[多张用逗号分隔]",
  24756. "type": "string"
  24757. },
  24758. "presaledqty": {
  24759. "description": "已预售量(预售结束时更新)",
  24760. "type": "integer"
  24761. },
  24762. "presaleqty": {
  24763. "description": "预售数量",
  24764. "type": "integer"
  24765. },
  24766. "quoteminunit": {
  24767. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24768. "type": "integer"
  24769. },
  24770. "refprice": {
  24771. "description": "参考价格[一口价]",
  24772. "type": "number"
  24773. },
  24774. "relatedgoodsid": {
  24775. "description": "关联交易合约ID",
  24776. "type": "integer"
  24777. },
  24778. "stepvalue": {
  24779. "description": "价格最小变动单位",
  24780. "type": "number"
  24781. },
  24782. "trademode": {
  24783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24784. "type": "integer"
  24785. },
  24786. "vendorattr": {
  24787. "description": "供应商附件(多张,逗号分隔)",
  24788. "type": "string"
  24789. },
  24790. "vendorname": {
  24791. "description": "供应商名称",
  24792. "type": "string"
  24793. },
  24794. "vendorphone": {
  24795. "description": "供应商客服电话",
  24796. "type": "string"
  24797. },
  24798. "videourls": {
  24799. "description": "介绍视频[多张用逗号分隔]",
  24800. "type": "string"
  24801. }
  24802. }
  24803. },
  24804. "models.HsbySellCollectionOrder": {
  24805. "type": "object",
  24806. "required": [
  24807. "goodscode",
  24808. "goodsname",
  24809. "tradeid",
  24810. "trademode"
  24811. ],
  24812. "properties": {
  24813. "agreeunit": {
  24814. "description": "合约单位",
  24815. "type": "number"
  24816. },
  24817. "buyaccountid": {
  24818. "description": "买方账号ID[报价币种]",
  24819. "type": "integer"
  24820. },
  24821. "buyorderid": {
  24822. "description": "买方委托单号",
  24823. "type": "string"
  24824. },
  24825. "createtime": {
  24826. "description": "创建时间",
  24827. "type": "string"
  24828. },
  24829. "currencysign": {
  24830. "description": "货币符号",
  24831. "type": "string"
  24832. },
  24833. "decimalplace": {
  24834. "description": "报价小数位",
  24835. "type": "integer"
  24836. },
  24837. "goodscode": {
  24838. "description": "商品代码(内部)",
  24839. "type": "string"
  24840. },
  24841. "goodsid": {
  24842. "description": "商品ID",
  24843. "type": "integer"
  24844. },
  24845. "goodsname": {
  24846. "description": "商品名称",
  24847. "type": "string"
  24848. },
  24849. "marketid": {
  24850. "description": "市场ID",
  24851. "type": "integer"
  24852. },
  24853. "offamount": {
  24854. "description": "优惠金额",
  24855. "type": "number"
  24856. },
  24857. "payamount": {
  24858. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24859. "type": "number"
  24860. },
  24861. "payflag": {
  24862. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24863. "type": "integer"
  24864. },
  24865. "paylimitedtime": {
  24866. "description": "支付期限",
  24867. "type": "string"
  24868. },
  24869. "paytime": {
  24870. "description": "付款时间",
  24871. "type": "string"
  24872. },
  24873. "picurls": {
  24874. "description": "商品介绍图片[多张用逗号分隔]",
  24875. "type": "string"
  24876. },
  24877. "sellaccountid": {
  24878. "description": "卖方账号ID[报价币种]",
  24879. "type": "integer"
  24880. },
  24881. "sellorderid": {
  24882. "description": "卖方委托单号",
  24883. "type": "string"
  24884. },
  24885. "tradeamount": {
  24886. "description": "成交金额",
  24887. "type": "number"
  24888. },
  24889. "tradecharge": {
  24890. "description": "成交手续费(买方)",
  24891. "type": "number"
  24892. },
  24893. "tradedate": {
  24894. "description": "交易日(yyyyMMdd)",
  24895. "type": "string"
  24896. },
  24897. "tradeid": {
  24898. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24899. "type": "string"
  24900. },
  24901. "trademode": {
  24902. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24903. "type": "integer"
  24904. },
  24905. "tradeprice": {
  24906. "description": "成交价格",
  24907. "type": "number"
  24908. },
  24909. "tradeqty": {
  24910. "description": "成交数量",
  24911. "type": "integer"
  24912. }
  24913. }
  24914. },
  24915. "models.HsbySellMyDetail": {
  24916. "type": "object",
  24917. "required": [
  24918. "accountid",
  24919. "buyorsell",
  24920. "goodscode",
  24921. "goodsid",
  24922. "goodsname",
  24923. "marketid",
  24924. "orderid",
  24925. "time",
  24926. "trademode"
  24927. ],
  24928. "properties": {
  24929. "accountid": {
  24930. "description": "账户ID[报价币种]",
  24931. "type": "integer"
  24932. },
  24933. "agreeunit": {
  24934. "description": "合约单位",
  24935. "type": "number"
  24936. },
  24937. "buyorsell": {
  24938. "description": "买卖 - 0:买 1:卖",
  24939. "type": "integer"
  24940. },
  24941. "currencysign": {
  24942. "description": "货币符号",
  24943. "type": "string"
  24944. },
  24945. "decimalplace": {
  24946. "description": "报价小数位",
  24947. "type": "integer"
  24948. },
  24949. "goodscode": {
  24950. "description": "商品代码(内部)",
  24951. "type": "string"
  24952. },
  24953. "goodsid": {
  24954. "description": "商品ID",
  24955. "type": "integer"
  24956. },
  24957. "goodsname": {
  24958. "description": "商品名称",
  24959. "type": "string"
  24960. },
  24961. "marketid": {
  24962. "description": "市场ID",
  24963. "type": "integer"
  24964. },
  24965. "orderid": {
  24966. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24967. "type": "string"
  24968. },
  24969. "ordertype": {
  24970. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24971. "type": "integer"
  24972. },
  24973. "picurls": {
  24974. "description": "介绍图片[多张用逗号分隔]",
  24975. "type": "string"
  24976. },
  24977. "price": {
  24978. "description": "价格",
  24979. "type": "number"
  24980. },
  24981. "qty": {
  24982. "description": "数量",
  24983. "type": "integer"
  24984. },
  24985. "time": {
  24986. "description": "时间",
  24987. "type": "string"
  24988. },
  24989. "trademode": {
  24990. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24991. "type": "integer"
  24992. },
  24993. "vendorname": {
  24994. "description": "供应商名称",
  24995. "type": "string"
  24996. }
  24997. }
  24998. },
  24999. "models.HsbyTopGoods": {
  25000. "type": "object",
  25001. "required": [
  25002. "goodscode",
  25003. "goodsid",
  25004. "goodsname",
  25005. "marketid",
  25006. "trademode"
  25007. ],
  25008. "properties": {
  25009. "agreeunit": {
  25010. "description": "合约单位",
  25011. "type": "number"
  25012. },
  25013. "currency": {
  25014. "description": "货币",
  25015. "type": "string"
  25016. },
  25017. "currencysign": {
  25018. "description": "货币符号",
  25019. "type": "string"
  25020. },
  25021. "decimalplace": {
  25022. "description": "报价小数位",
  25023. "type": "integer"
  25024. },
  25025. "desccityid": {
  25026. "description": "目的地(市)",
  25027. "type": "integer"
  25028. },
  25029. "descprovinceid": {
  25030. "description": "目的地(省)",
  25031. "type": "integer"
  25032. },
  25033. "goodscode": {
  25034. "description": "商品代码(内部)",
  25035. "type": "string"
  25036. },
  25037. "goodsid": {
  25038. "description": "商品ID(自增ID SEQ_GOODS)",
  25039. "type": "integer"
  25040. },
  25041. "goodsname": {
  25042. "description": "商品名称",
  25043. "type": "string"
  25044. },
  25045. "hotindex": {
  25046. "description": "景点热度",
  25047. "type": "integer"
  25048. },
  25049. "last": {
  25050. "description": "现价",
  25051. "type": "number"
  25052. },
  25053. "marketid": {
  25054. "description": "所属市场ID",
  25055. "type": "integer"
  25056. },
  25057. "picurls": {
  25058. "description": "介绍图片[多张用逗号分隔]",
  25059. "type": "string"
  25060. },
  25061. "quoteminunit": {
  25062. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25063. "type": "integer"
  25064. },
  25065. "trademode": {
  25066. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25067. "type": "integer"
  25068. },
  25069. "videourls": {
  25070. "description": "介绍视频[多张用逗号分隔]",
  25071. "type": "string"
  25072. }
  25073. }
  25074. },
  25075. "models.HybsMyBuyOrderDetail": {
  25076. "type": "object",
  25077. "required": [
  25078. "accountid",
  25079. "buyorsell",
  25080. "goodscode",
  25081. "goodsid",
  25082. "goodsname",
  25083. "marketid",
  25084. "orderid",
  25085. "orderqty",
  25086. "ordertime",
  25087. "trademode"
  25088. ],
  25089. "properties": {
  25090. "accountid": {
  25091. "description": "账户ID[报价币种]",
  25092. "type": "integer"
  25093. },
  25094. "agreeunit": {
  25095. "description": "合约单位",
  25096. "type": "number"
  25097. },
  25098. "buyorsell": {
  25099. "description": "买卖 - 0:买 1:卖",
  25100. "type": "integer"
  25101. },
  25102. "cancelqty": {
  25103. "description": "撤单数量",
  25104. "type": "integer"
  25105. },
  25106. "currencysign": {
  25107. "description": "货币符号",
  25108. "type": "string"
  25109. },
  25110. "decimalplace": {
  25111. "description": "报价小数位",
  25112. "type": "integer"
  25113. },
  25114. "goodscode": {
  25115. "description": "商品代码(内部)",
  25116. "type": "string"
  25117. },
  25118. "goodsid": {
  25119. "description": "商品ID",
  25120. "type": "integer"
  25121. },
  25122. "goodsname": {
  25123. "description": "商品名称",
  25124. "type": "string"
  25125. },
  25126. "listingselecttype": {
  25127. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25128. "type": "integer"
  25129. },
  25130. "marketid": {
  25131. "description": "市场ID",
  25132. "type": "integer"
  25133. },
  25134. "mybuystatus": {
  25135. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  25136. "type": "integer"
  25137. },
  25138. "orderamount": {
  25139. "description": "委托金额",
  25140. "type": "number"
  25141. },
  25142. "orderid": {
  25143. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25144. "type": "string"
  25145. },
  25146. "orderprice": {
  25147. "description": "委托价格",
  25148. "type": "number"
  25149. },
  25150. "orderqty": {
  25151. "description": "委托数量",
  25152. "type": "integer"
  25153. },
  25154. "orderstatus": {
  25155. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25156. "type": "integer"
  25157. },
  25158. "ordertime": {
  25159. "description": "委托时间",
  25160. "type": "string"
  25161. },
  25162. "picurls1": {
  25163. "description": "预售商品介绍图片[多张用逗号分隔]",
  25164. "type": "string"
  25165. },
  25166. "picurls2": {
  25167. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25168. "type": "string"
  25169. },
  25170. "trademode": {
  25171. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25172. "type": "integer"
  25173. },
  25174. "tradeqty": {
  25175. "description": "成交数量",
  25176. "type": "integer"
  25177. },
  25178. "vendorname1": {
  25179. "description": "预售商品供应商名称",
  25180. "type": "string"
  25181. },
  25182. "vendorname2": {
  25183. "description": "挂牌商品供应商名称",
  25184. "type": "string"
  25185. }
  25186. }
  25187. },
  25188. "models.Loginaccount": {
  25189. "type": "object",
  25190. "required": [
  25191. "loginid"
  25192. ],
  25193. "properties": {
  25194. "accountname": {
  25195. "description": "账户名称",
  25196. "type": "string"
  25197. },
  25198. "canoutin": {
  25199. "description": "是否可出入金 - 0:不可 1:可",
  25200. "type": "integer"
  25201. },
  25202. "clientroleid": {
  25203. "description": "终端角色ID",
  25204. "type": "integer"
  25205. },
  25206. "haslogined": {
  25207. "description": "是否已登录 - 0:未登录 1:已登录",
  25208. "type": "integer"
  25209. },
  25210. "hasupdatedpwd": {
  25211. "description": "是否已更改密码 - 0:未修改 1:已修改",
  25212. "type": "integer"
  25213. },
  25214. "lastloginip": {
  25215. "description": "最新登录地址",
  25216. "type": "string"
  25217. },
  25218. "lastloginmode": {
  25219. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25220. "type": "integer"
  25221. },
  25222. "lastloginremark": {
  25223. "description": "最新登录描述",
  25224. "type": "string"
  25225. },
  25226. "lastlogintime": {
  25227. "description": "最新登录时间",
  25228. "type": "string"
  25229. },
  25230. "logincode": {
  25231. "description": "登录代码",
  25232. "type": "string"
  25233. },
  25234. "loginfailnum": {
  25235. "description": "连续登录失败次数(登录成功时清零)",
  25236. "type": "integer"
  25237. },
  25238. "loginid": {
  25239. "description": "登陆账号",
  25240. "type": "integer"
  25241. },
  25242. "loginport": {
  25243. "description": "最新登录端口",
  25244. "type": "integer"
  25245. },
  25246. "loginstatus": {
  25247. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  25248. "type": "integer"
  25249. },
  25250. "loginusertype": {
  25251. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  25252. "type": "integer"
  25253. },
  25254. "mobile": {
  25255. "description": "手机号码(加密存储)",
  25256. "type": "string"
  25257. },
  25258. "modifierid": {
  25259. "description": "修改人",
  25260. "type": "integer"
  25261. },
  25262. "modifysrc": {
  25263. "description": "审核来源 - 1:管理端 2:终端",
  25264. "type": "integer"
  25265. },
  25266. "modifytime": {
  25267. "description": "修改时间",
  25268. "type": "string"
  25269. },
  25270. "password": {
  25271. "description": "登陆密码",
  25272. "type": "string"
  25273. },
  25274. "pwdwrongcount": {
  25275. "description": "密码错误次数",
  25276. "type": "integer"
  25277. },
  25278. "relateduserid": {
  25279. "description": "关联用户ID(机构)",
  25280. "type": "integer"
  25281. },
  25282. "taaccountrighttype": {
  25283. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  25284. "type": "integer"
  25285. },
  25286. "unfreezetime": {
  25287. "description": "账户解冻时间",
  25288. "type": "string"
  25289. },
  25290. "userid": {
  25291. "description": "用户ID",
  25292. "type": "integer"
  25293. }
  25294. }
  25295. },
  25296. "models.MainAccountInfo": {
  25297. "type": "object",
  25298. "properties": {
  25299. "accountid": {
  25300. "description": "账号id",
  25301. "type": "integer"
  25302. },
  25303. "accountname": {
  25304. "description": "账号名称(taaccount表中的名称)",
  25305. "type": "string"
  25306. },
  25307. "appid": {
  25308. "description": "AppID",
  25309. "type": "string"
  25310. },
  25311. "authcode": {
  25312. "description": "授权码",
  25313. "type": "string"
  25314. },
  25315. "brokerid": {
  25316. "description": "经纪商id",
  25317. "type": "string"
  25318. },
  25319. "fcid": {
  25320. "description": "期货公司id",
  25321. "type": "integer"
  25322. },
  25323. "fcname": {
  25324. "description": "期货公司代码",
  25325. "type": "string"
  25326. },
  25327. "hedgeaccountcode": {
  25328. "description": "外部账号代码(主账号登录代码)",
  25329. "type": "string"
  25330. },
  25331. "hedgeaccountpwd": {
  25332. "description": "密码",
  25333. "type": "string"
  25334. },
  25335. "ismain": {
  25336. "description": "是否主账号",
  25337. "type": "integer"
  25338. },
  25339. "relateduserid": {
  25340. "description": "关联用户id",
  25341. "type": "integer"
  25342. },
  25343. "userid": {
  25344. "description": "关联用户id",
  25345. "type": "integer"
  25346. }
  25347. }
  25348. },
  25349. "models.Market": {
  25350. "type": "object",
  25351. "required": [
  25352. "marketid",
  25353. "marketstatus",
  25354. "openmethod",
  25355. "reckonpricealgorithm",
  25356. "trademode",
  25357. "tradeproperty"
  25358. ],
  25359. "properties": {
  25360. "auctionwrtype": {
  25361. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  25362. "type": "integer"
  25363. },
  25364. "canacceptquote": {
  25365. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  25366. "type": "integer"
  25367. },
  25368. "cangoodsexercise": {
  25369. "description": "[期权]是否可现货行权- 0:否 1:是",
  25370. "type": "integer"
  25371. },
  25372. "cangoodsexercisetype": {
  25373. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  25374. "type": "integer"
  25375. },
  25376. "canmanualquotestrike": {
  25377. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  25378. "type": "integer"
  25379. },
  25380. "canmutistage": {
  25381. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  25382. "type": "integer"
  25383. },
  25384. "canpreexercise": {
  25385. "description": "[期权]是否可预申报- 0:否 1:是",
  25386. "type": "integer"
  25387. },
  25388. "clearinterval": {
  25389. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  25390. "type": "integer"
  25391. },
  25392. "contracttmp": {
  25393. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  25394. "type": "string"
  25395. },
  25396. "exchareaid": {
  25397. "description": "所属交易所,可以没有",
  25398. "type": "integer"
  25399. },
  25400. "goodstype": {
  25401. "description": "商品类型 - 1:交易商品 2:仓单商品",
  25402. "type": "integer"
  25403. },
  25404. "hasrebate": {
  25405. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  25406. "type": "integer"
  25407. },
  25408. "hastradecredit": {
  25409. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  25410. "type": "integer"
  25411. },
  25412. "haswr": {
  25413. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  25414. "type": "integer"
  25415. },
  25416. "isdeductmargin": {
  25417. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  25418. "type": "integer"
  25419. },
  25420. "isrecordsource": {
  25421. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  25422. "type": "integer"
  25423. },
  25424. "isreleasemargin": {
  25425. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  25426. "type": "integer"
  25427. },
  25428. "marginformula": {
  25429. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25430. "type": "integer"
  25431. },
  25432. "marginformula2": {
  25433. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25434. "type": "integer"
  25435. },
  25436. "marketid": {
  25437. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25438. "type": "integer"
  25439. },
  25440. "marketname": {
  25441. "description": "市场名称",
  25442. "type": "string"
  25443. },
  25444. "marketserviceid": {
  25445. "description": "市场服务ID",
  25446. "type": "integer"
  25447. },
  25448. "marketstatus": {
  25449. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25450. "type": "integer"
  25451. },
  25452. "markettype": {
  25453. "description": "市场类型- 1:非交易服务 2:交易服务",
  25454. "type": "integer"
  25455. },
  25456. "matchermode": {
  25457. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  25458. "type": "integer"
  25459. },
  25460. "openmethod": {
  25461. "description": "开盘模式 - 0 自动 1手动",
  25462. "type": "integer"
  25463. },
  25464. "otcuserid": {
  25465. "description": "场外期权做市商[场外期权]",
  25466. "type": "integer"
  25467. },
  25468. "outersynctime": {
  25469. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  25470. "type": "string"
  25471. },
  25472. "pendingflag": {
  25473. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  25474. "type": "integer"
  25475. },
  25476. "pendingtime": {
  25477. "description": "待开市时间[通道交易-对冲](HH:mm)",
  25478. "type": "string"
  25479. },
  25480. "performancetempid": {
  25481. "description": "履约计划模板ID - 作废",
  25482. "type": "integer"
  25483. },
  25484. "premiumquotemode": {
  25485. "description": "权利金报价方式 - 1:自动 2:手动",
  25486. "type": "integer"
  25487. },
  25488. "rebateratio": {
  25489. "description": "返利比率[竞价式]",
  25490. "type": "number"
  25491. },
  25492. "reckonorder": {
  25493. "description": "结算顺序",
  25494. "type": "integer"
  25495. },
  25496. "reckonpricealgorithm": {
  25497. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  25498. "type": "integer"
  25499. },
  25500. "reckonpriceparam": {
  25501. "description": "结算价参数",
  25502. "type": "integer"
  25503. },
  25504. "reckontime": {
  25505. "description": "结算时间[通道交易-对冲](HH:mm)",
  25506. "type": "string"
  25507. },
  25508. "roleprioritytype": {
  25509. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  25510. "type": "integer"
  25511. },
  25512. "selllistingauditflag": {
  25513. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  25514. "type": "integer"
  25515. },
  25516. "trademarkettype": {
  25517. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  25518. "type": "integer"
  25519. },
  25520. "trademode": {
  25521. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25522. "type": "integer"
  25523. },
  25524. "tradeproperty": {
  25525. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  25526. "type": "integer"
  25527. },
  25528. "tradetype": {
  25529. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  25530. "type": "integer"
  25531. }
  25532. }
  25533. },
  25534. "models.Marketrun": {
  25535. "type": "object",
  25536. "required": [
  25537. "marketid",
  25538. "nexttradedate",
  25539. "reckonflag",
  25540. "runstatus",
  25541. "tradedate",
  25542. "tradedate2"
  25543. ],
  25544. "properties": {
  25545. "afternexttradedate": {
  25546. "description": "下下交易日",
  25547. "type": "string"
  25548. },
  25549. "clearquoteflag": {
  25550. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  25551. "type": "integer"
  25552. },
  25553. "lastreckondate": {
  25554. "description": "最新交易日(结算成功)",
  25555. "type": "string"
  25556. },
  25557. "machinedate": {
  25558. "description": "机器时间",
  25559. "type": "string"
  25560. },
  25561. "manualflag": {
  25562. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  25563. "type": "integer"
  25564. },
  25565. "marketid": {
  25566. "description": "市场ID",
  25567. "type": "integer"
  25568. },
  25569. "nexttradedate": {
  25570. "description": "下一交易日",
  25571. "type": "string"
  25572. },
  25573. "pretradedate": {
  25574. "description": "上一交易日",
  25575. "type": "string"
  25576. },
  25577. "reckonflag": {
  25578. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  25579. "type": "integer"
  25580. },
  25581. "runstatus": {
  25582. "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.今日免清算",
  25583. "type": "integer"
  25584. },
  25585. "sectionid": {
  25586. "description": "时间段号[多时段时用]",
  25587. "type": "integer"
  25588. },
  25589. "tradedate": {
  25590. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25591. "type": "string"
  25592. },
  25593. "tradedate2": {
  25594. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25595. "type": "string"
  25596. },
  25597. "updatetime": {
  25598. "description": "更新时间",
  25599. "type": "string"
  25600. }
  25601. }
  25602. },
  25603. "models.Messageboard": {
  25604. "type": "object",
  25605. "required": [
  25606. "messageboardid"
  25607. ],
  25608. "properties": {
  25609. "contactnum": {
  25610. "description": "联系电话",
  25611. "type": "string"
  25612. },
  25613. "createtime": {
  25614. "description": "创建时间",
  25615. "type": "string"
  25616. },
  25617. "message": {
  25618. "description": "留言信息",
  25619. "type": "string"
  25620. },
  25621. "messageboardid": {
  25622. "description": "留言簿ID(SEQ_MessageBoard)",
  25623. "type": "integer"
  25624. },
  25625. "userid": {
  25626. "description": "用户ID",
  25627. "type": "integer"
  25628. }
  25629. }
  25630. },
  25631. "models.MyCoupon": {
  25632. "type": "object",
  25633. "required": [
  25634. "accountid",
  25635. "coupontypeid"
  25636. ],
  25637. "properties": {
  25638. "accountid": {
  25639. "description": "资金账户ID",
  25640. "type": "integer"
  25641. },
  25642. "areauserid": {
  25643. "description": "所属机构",
  25644. "type": "integer"
  25645. },
  25646. "conditionvalue": {
  25647. "description": "条件阈值(可为0)",
  25648. "type": "number"
  25649. },
  25650. "couponcategroy": {
  25651. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25652. "type": "integer"
  25653. },
  25654. "couponname": {
  25655. "description": "优惠券名称",
  25656. "type": "string"
  25657. },
  25658. "coupontypeid": {
  25659. "description": "优惠券类型ID",
  25660. "type": "string"
  25661. },
  25662. "couponvalue": {
  25663. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25664. "type": "number"
  25665. },
  25666. "curfreezeqty": {
  25667. "description": "期末冻结数量",
  25668. "type": "integer"
  25669. },
  25670. "curqty": {
  25671. "description": "期末数量",
  25672. "type": "integer"
  25673. },
  25674. "isgeneral": {
  25675. "description": "是否通用券 - 0:否 1:是",
  25676. "type": "integer"
  25677. },
  25678. "isunusable": {
  25679. "description": "是否不可用",
  25680. "type": "boolean"
  25681. },
  25682. "limitedflag": {
  25683. "description": "是否指定商品 - 0:不限 1:限制",
  25684. "type": "integer"
  25685. },
  25686. "limitedgoodsids": {
  25687. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25688. "type": "string"
  25689. },
  25690. "orifreezeqty": {
  25691. "description": "期初冻结数量",
  25692. "type": "integer"
  25693. },
  25694. "oriqty": {
  25695. "description": "期初数量",
  25696. "type": "integer"
  25697. },
  25698. "reasontype": {
  25699. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25700. "type": "integer"
  25701. },
  25702. "todaydecrease": {
  25703. "description": "今日减少",
  25704. "type": "integer"
  25705. },
  25706. "todayincrease": {
  25707. "description": "今日增加",
  25708. "type": "integer"
  25709. },
  25710. "userid": {
  25711. "description": "用户ID",
  25712. "type": "integer"
  25713. },
  25714. "userscope": {
  25715. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25716. "type": "string"
  25717. }
  25718. }
  25719. },
  25720. "models.MyCouponHold": {
  25721. "type": "object",
  25722. "required": [
  25723. "couponholdid"
  25724. ],
  25725. "properties": {
  25726. "accountid": {
  25727. "description": "资金账户ID",
  25728. "type": "integer"
  25729. },
  25730. "conditionvalue": {
  25731. "description": "条件阈值(可为0)",
  25732. "type": "number"
  25733. },
  25734. "couponcategroy": {
  25735. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25736. "type": "integer"
  25737. },
  25738. "couponholdid": {
  25739. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25740. "type": "string"
  25741. },
  25742. "couponname": {
  25743. "description": "优惠券名称",
  25744. "type": "string"
  25745. },
  25746. "coupontypeid": {
  25747. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25748. "type": "string"
  25749. },
  25750. "couponvalue": {
  25751. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25752. "type": "number"
  25753. },
  25754. "createtime": {
  25755. "description": "创建时间",
  25756. "type": "string"
  25757. },
  25758. "enddate": {
  25759. "description": "结束日期",
  25760. "type": "string"
  25761. },
  25762. "giveapplyid": {
  25763. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25764. "type": "integer"
  25765. },
  25766. "holdstatus": {
  25767. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25768. "type": "integer"
  25769. },
  25770. "isgeneral": {
  25771. "description": "是否通用券 - 0:否 1:是",
  25772. "type": "integer"
  25773. },
  25774. "limitedflag": {
  25775. "description": "是否指定商品 - 0:不限 1:限制",
  25776. "type": "integer"
  25777. },
  25778. "limitedgoodsids": {
  25779. "description": "指定商品IDs[逗号分隔]",
  25780. "type": "string"
  25781. },
  25782. "qty": {
  25783. "description": "数量(按1平铺)",
  25784. "type": "integer"
  25785. },
  25786. "startdate": {
  25787. "description": "开始日期",
  25788. "type": "string"
  25789. },
  25790. "userid": {
  25791. "description": "用户ID",
  25792. "type": "integer"
  25793. },
  25794. "userscope": {
  25795. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25796. "type": "string"
  25797. }
  25798. }
  25799. },
  25800. "models.MyUsedCoupon": {
  25801. "type": "object",
  25802. "required": [
  25803. "coupontypeid",
  25804. "orderid"
  25805. ],
  25806. "properties": {
  25807. "accountid": {
  25808. "description": "资金账户ID(买方)",
  25809. "type": "integer"
  25810. },
  25811. "conditionvalue": {
  25812. "description": "条件阈值(可为0)",
  25813. "type": "number"
  25814. },
  25815. "couponcategroy": {
  25816. "description": "种类 - 1:现金券 2:折扣券",
  25817. "type": "integer"
  25818. },
  25819. "couponname": {
  25820. "description": "优惠券名称",
  25821. "type": "string"
  25822. },
  25823. "coupontypeid": {
  25824. "description": "优惠券类型ID(买方)",
  25825. "type": "string"
  25826. },
  25827. "couponvalue": {
  25828. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25829. "type": "number"
  25830. },
  25831. "createtime": {
  25832. "description": "创建时间",
  25833. "type": "string"
  25834. },
  25835. "goodsid": {
  25836. "description": "商品ID",
  25837. "type": "integer"
  25838. },
  25839. "handlestatus": {
  25840. "description": "处理状态",
  25841. "type": "integer"
  25842. },
  25843. "marketid": {
  25844. "description": "市场ID",
  25845. "type": "integer"
  25846. },
  25847. "offamount": {
  25848. "description": "优惠金额",
  25849. "type": "number"
  25850. },
  25851. "orderid": {
  25852. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25853. "type": "string"
  25854. },
  25855. "sellaccountid": {
  25856. "description": "资金账户ID(卖方)",
  25857. "type": "integer"
  25858. },
  25859. "tradeamount": {
  25860. "description": "成交金额",
  25861. "type": "number"
  25862. },
  25863. "tradeid": {
  25864. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25865. "type": "string"
  25866. },
  25867. "usedqty": {
  25868. "description": "使用数量",
  25869. "type": "integer"
  25870. }
  25871. }
  25872. },
  25873. "models.OperationPrimaryMenu": {
  25874. "type": "object",
  25875. "properties": {
  25876. "Children": {
  25877. "description": "二级功能菜单",
  25878. "type": "array",
  25879. "items": {
  25880. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25881. }
  25882. },
  25883. "Key": {
  25884. "description": "菜单KEY",
  25885. "type": "string"
  25886. },
  25887. "Label": {
  25888. "description": "菜单标题",
  25889. "type": "string"
  25890. }
  25891. }
  25892. },
  25893. "models.OperationSecondaryMenu": {
  25894. "type": "object",
  25895. "properties": {
  25896. "Key": {
  25897. "description": "菜单KEY",
  25898. "type": "string"
  25899. },
  25900. "Label": {
  25901. "description": "菜单标题",
  25902. "type": "string"
  25903. },
  25904. "TabList": {
  25905. "description": "三级功能菜单",
  25906. "type": "array",
  25907. "items": {
  25908. "$ref": "#/definitions/models.OperationTabMenu"
  25909. }
  25910. }
  25911. }
  25912. },
  25913. "models.OperationTabMenu": {
  25914. "type": "object",
  25915. "properties": {
  25916. "Key": {
  25917. "description": "菜单KEY",
  25918. "type": "string"
  25919. },
  25920. "Label": {
  25921. "description": "菜单标题",
  25922. "type": "string"
  25923. }
  25924. }
  25925. },
  25926. "models.QhjAccountOutInApply": {
  25927. "type": "object",
  25928. "properties": {
  25929. "accountcode": {
  25930. "description": "资金账号",
  25931. "type": "string"
  25932. },
  25933. "accountname": {
  25934. "description": "用户名称(名称)",
  25935. "type": "string"
  25936. },
  25937. "accountpwd": {
  25938. "description": "资金密码",
  25939. "type": "string"
  25940. },
  25941. "accountticket": {
  25942. "description": "最新账户服务流水号",
  25943. "type": "string"
  25944. },
  25945. "amount": {
  25946. "description": "金额",
  25947. "type": "number"
  25948. },
  25949. "applyremark": {
  25950. "description": "申请备注",
  25951. "type": "string"
  25952. },
  25953. "applystatus": {
  25954. "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: 复审通过,账户冻结金额检查中;",
  25955. "type": "integer"
  25956. },
  25957. "auditid": {
  25958. "description": "审核人",
  25959. "type": "integer"
  25960. },
  25961. "audittime": {
  25962. "description": "审核时间",
  25963. "type": "string"
  25964. },
  25965. "bank_apply_ticket": {
  25966. "description": "银行申请流水",
  25967. "type": "string"
  25968. },
  25969. "bankaccountname": {
  25970. "description": "银行账户名",
  25971. "type": "string"
  25972. },
  25973. "bankaccountno": {
  25974. "description": "银行卡号",
  25975. "type": "string"
  25976. },
  25977. "bankid": {
  25978. "description": "银行编号",
  25979. "type": "string"
  25980. },
  25981. "bankticket": {
  25982. "description": "银行流水",
  25983. "type": "string"
  25984. },
  25985. "branchbankid": {
  25986. "description": "银行支行号",
  25987. "type": "string"
  25988. },
  25989. "branchbankname": {
  25990. "description": "银行支行名称",
  25991. "type": "string"
  25992. },
  25993. "capamountout": {
  25994. "description": "出金(劣后本金) - 外部子账户",
  25995. "type": "number"
  25996. },
  25997. "certificatephotourl": {
  25998. "description": "凭证地址",
  25999. "type": "string"
  26000. },
  26001. "charge": {
  26002. "description": "手续费",
  26003. "type": "number"
  26004. },
  26005. "checkerrorflag": {
  26006. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26007. "type": "integer"
  26008. },
  26009. "currency": {
  26010. "description": "币种",
  26011. "type": "string"
  26012. },
  26013. "cusbankid": {
  26014. "description": "托管银行编号",
  26015. "type": "string"
  26016. },
  26017. "exchticket": {
  26018. "description": "银行服务流水号",
  26019. "type": "string"
  26020. },
  26021. "executetype": {
  26022. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26023. "type": "integer"
  26024. },
  26025. "extendinfo": {
  26026. "description": "扩展信息",
  26027. "type": "string"
  26028. },
  26029. "extoperateid": {
  26030. "description": "交易服务流水号",
  26031. "type": "integer"
  26032. },
  26033. "infamount": {
  26034. "description": "劣后金额(自有)",
  26035. "type": "number"
  26036. },
  26037. "logincode": {
  26038. "description": "登录账号(账号)",
  26039. "type": "string"
  26040. },
  26041. "netaddr": {
  26042. "description": "调转网址",
  26043. "type": "string"
  26044. },
  26045. "priamount": {
  26046. "description": "优先金额(授信)",
  26047. "type": "number"
  26048. },
  26049. "reauditid": {
  26050. "description": "复审人",
  26051. "type": "integer"
  26052. },
  26053. "reauditremark": {
  26054. "description": "复审备注",
  26055. "type": "string"
  26056. },
  26057. "reaudittime": {
  26058. "description": "复审时间",
  26059. "type": "string"
  26060. },
  26061. "relatedorderid": {
  26062. "description": "三方关联ID",
  26063. "type": "string"
  26064. },
  26065. "remark": {
  26066. "description": "备注",
  26067. "type": "string"
  26068. },
  26069. "remark2": {
  26070. "description": "备注(失败原因)",
  26071. "type": "string"
  26072. },
  26073. "soucreamount": {
  26074. "description": "原始出入金金额",
  26075. "type": "number"
  26076. },
  26077. "soucrecurrencyid": {
  26078. "description": "原始出入金币种",
  26079. "type": "integer"
  26080. },
  26081. "tradedate": {
  26082. "description": "交易日(yyyyMMdd)",
  26083. "type": "string"
  26084. },
  26085. "updatetime": {
  26086. "description": "更新时间(申请时间)",
  26087. "type": "string"
  26088. },
  26089. "userid": {
  26090. "description": "用户id",
  26091. "type": "integer"
  26092. },
  26093. "userinfotype": {
  26094. "description": "账户类型 1-个人 2-企业",
  26095. "type": "integer"
  26096. }
  26097. }
  26098. },
  26099. "models.QhjAgreementChangeLog": {
  26100. "type": "object",
  26101. "properties": {
  26102. "agreementcontent": {
  26103. "description": "协议内容",
  26104. "type": "string"
  26105. },
  26106. "agreementfrequency": {
  26107. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26108. "type": "integer"
  26109. },
  26110. "agreementid": {
  26111. "description": "协议ID",
  26112. "type": "integer"
  26113. },
  26114. "agreementname": {
  26115. "description": "协议名称",
  26116. "type": "string"
  26117. },
  26118. "agreementno": {
  26119. "description": "协议编号",
  26120. "type": "string"
  26121. },
  26122. "agreementtype": {
  26123. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26124. "type": "integer"
  26125. },
  26126. "agreementversion": {
  26127. "description": "协议版本号",
  26128. "type": "integer"
  26129. },
  26130. "logid": {
  26131. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  26132. "type": "integer"
  26133. },
  26134. "reviserid": {
  26135. "description": "修改人",
  26136. "type": "integer"
  26137. },
  26138. "revisersrc": {
  26139. "description": "修改来源 - 1:管理端 2:终端",
  26140. "type": "integer"
  26141. },
  26142. "updatetime": {
  26143. "description": "更新时间",
  26144. "type": "string"
  26145. }
  26146. }
  26147. },
  26148. "models.QhjAgreementConfig": {
  26149. "type": "object",
  26150. "properties": {
  26151. "agreementcontent": {
  26152. "description": "协议内容",
  26153. "type": "string"
  26154. },
  26155. "agreementfrequency": {
  26156. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26157. "type": "integer"
  26158. },
  26159. "agreementid": {
  26160. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  26161. "type": "integer"
  26162. },
  26163. "agreementname": {
  26164. "description": "协议名称",
  26165. "type": "string"
  26166. },
  26167. "agreementno": {
  26168. "description": "协议编号",
  26169. "type": "string"
  26170. },
  26171. "agreementtype": {
  26172. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26173. "type": "integer"
  26174. },
  26175. "agreementversion": {
  26176. "description": "协议版本号(从1开始每次修改加1)",
  26177. "type": "integer"
  26178. },
  26179. "createtime": {
  26180. "description": "创建时间",
  26181. "type": "string"
  26182. },
  26183. "creatorid": {
  26184. "description": "创建人",
  26185. "type": "integer"
  26186. },
  26187. "creatorsrc": {
  26188. "description": "创建来源 - 1:管理端 2:终端",
  26189. "type": "integer"
  26190. },
  26191. "isvalid": {
  26192. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  26193. "type": "integer"
  26194. },
  26195. "reviserid": {
  26196. "description": "修改人",
  26197. "type": "integer"
  26198. },
  26199. "revisersrc": {
  26200. "description": "修改来源 - 1:管理端 2:终端",
  26201. "type": "integer"
  26202. },
  26203. "updatetime": {
  26204. "description": "更新时间",
  26205. "type": "string"
  26206. }
  26207. }
  26208. },
  26209. "models.QhjAreaFinanceConfig": {
  26210. "type": "object",
  26211. "properties": {
  26212. "additionalratio": {
  26213. "description": "追加款比例",
  26214. "type": "number"
  26215. },
  26216. "advanceratio": {
  26217. "description": "预付款比例",
  26218. "type": "number"
  26219. },
  26220. "alarmratio": {
  26221. "description": "告警比例",
  26222. "type": "number"
  26223. },
  26224. "consumptiondirectreward": {
  26225. "description": "消费直推奖励值",
  26226. "type": "number"
  26227. },
  26228. "consumptionenabled": {
  26229. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  26230. "type": "integer"
  26231. },
  26232. "consumptionindirectreward": {
  26233. "description": "消费间推奖励值",
  26234. "type": "number"
  26235. },
  26236. "consumptionmodel": {
  26237. "description": "消费奖励方式 - 1:比率 2:固定",
  26238. "type": "integer"
  26239. },
  26240. "customerservicenum": {
  26241. "description": "客服电话",
  26242. "type": "string"
  26243. },
  26244. "dayinterestrate": {
  26245. "description": "日利率",
  26246. "type": "number"
  26247. },
  26248. "disableconsumptiontips": {
  26249. "description": "关闭消费奖励提示",
  26250. "type": "string"
  26251. },
  26252. "modifierid": {
  26253. "description": "修改人ID",
  26254. "type": "integer"
  26255. },
  26256. "modifysrc": {
  26257. "description": "审核来源 - 1:管理端 2:终端",
  26258. "type": "integer"
  26259. },
  26260. "modifytime": {
  26261. "description": "修改时间",
  26262. "type": "string"
  26263. },
  26264. "promotionvalue": {
  26265. "description": "推广奖励值(固定)",
  26266. "type": "number"
  26267. },
  26268. "scoreconfigvalue1": {
  26269. "description": "提货积分配置1",
  26270. "type": "integer"
  26271. },
  26272. "scoreconfigvalue2": {
  26273. "description": "提货积分配置2",
  26274. "type": "integer"
  26275. },
  26276. "userid": {
  26277. "description": "机构用户ID其他做市关系,都设置为 1",
  26278. "type": "integer"
  26279. },
  26280. "username": {
  26281. "description": "用户名称",
  26282. "type": "string"
  26283. }
  26284. }
  26285. },
  26286. "models.QhjBankAccountSign": {
  26287. "type": "object",
  26288. "properties": {
  26289. "accountcode": {
  26290. "description": "资金账号",
  26291. "type": "string"
  26292. },
  26293. "accountname": {
  26294. "description": "资金账号对应的账号名(UserName)",
  26295. "type": "string"
  26296. },
  26297. "accountname2": {
  26298. "description": "资金账号对应的账号名(UserName) - 密文",
  26299. "type": "string"
  26300. },
  26301. "accounttype": {
  26302. "description": "账户类型(UserType)",
  26303. "type": "integer"
  26304. },
  26305. "applicationtime": {
  26306. "description": "最后一次更新的时间",
  26307. "type": "string"
  26308. },
  26309. "applyexchticket": {
  26310. "description": "申请流水",
  26311. "type": "string"
  26312. },
  26313. "auditid": {
  26314. "description": "审核人",
  26315. "type": "integer"
  26316. },
  26317. "audittime": {
  26318. "description": "审核时间",
  26319. "type": "string"
  26320. },
  26321. "bankaccountname": {
  26322. "description": "签约银行卡账号名",
  26323. "type": "string"
  26324. },
  26325. "bankaccountname2": {
  26326. "description": "签约银行卡账号名 - 密文",
  26327. "type": "string"
  26328. },
  26329. "bankaccountno": {
  26330. "description": "银行卡号",
  26331. "type": "string"
  26332. },
  26333. "bankaccountno2": {
  26334. "description": "银行卡号 - 密文",
  26335. "type": "string"
  26336. },
  26337. "bankaccounttype": {
  26338. "description": "银行账户类型 - 1-对私; 2-对公",
  26339. "type": "integer"
  26340. },
  26341. "bankcardtype": {
  26342. "description": "银行卡类型",
  26343. "type": "integer"
  26344. },
  26345. "bankchildaccount": {
  26346. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  26347. "type": "string"
  26348. },
  26349. "bankcity": {
  26350. "description": "开户行城市",
  26351. "type": "string"
  26352. },
  26353. "bankid": {
  26354. "description": "签约银行ID",
  26355. "type": "string"
  26356. },
  26357. "bankname": {
  26358. "description": "签约银行名称",
  26359. "type": "string"
  26360. },
  26361. "bankprovince": {
  26362. "description": "开户行省份",
  26363. "type": "string"
  26364. },
  26365. "branchbankid": {
  26366. "description": "签约银行支行号",
  26367. "type": "string"
  26368. },
  26369. "branchbankname": {
  26370. "description": "签约银行支行名称",
  26371. "type": "string"
  26372. },
  26373. "cardno": {
  26374. "description": "证件号码",
  26375. "type": "string"
  26376. },
  26377. "cardno2": {
  26378. "description": "证件号码 - 密文",
  26379. "type": "string"
  26380. },
  26381. "cardtype": {
  26382. "description": "证件类型",
  26383. "type": "string"
  26384. },
  26385. "currency": {
  26386. "description": "币种",
  26387. "type": "string"
  26388. },
  26389. "cusbankid": {
  26390. "description": "托管银行编号",
  26391. "type": "string"
  26392. },
  26393. "direct": {
  26394. "description": "方向(可以判断那方先发起的签约)",
  26395. "type": "integer"
  26396. },
  26397. "exchticket": {
  26398. "description": "最后一次签约成功的流水号",
  26399. "type": "string"
  26400. },
  26401. "extendinfo": {
  26402. "description": "扩展信息(JSON字符串)",
  26403. "type": "string"
  26404. },
  26405. "mobilephone": {
  26406. "description": "手机号",
  26407. "type": "string"
  26408. },
  26409. "mobilephone2": {
  26410. "description": "手机号 - 密文",
  26411. "type": "string"
  26412. },
  26413. "netaddr": {
  26414. "description": "调转网址",
  26415. "type": "string"
  26416. },
  26417. "relateduserid": {
  26418. "description": "关联使用者userid",
  26419. "type": "integer"
  26420. },
  26421. "signstatus": {
  26422. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  26423. "type": "integer"
  26424. },
  26425. "updatetime": {
  26426. "description": "更新时间(签解约更新时间)",
  26427. "type": "string"
  26428. }
  26429. }
  26430. },
  26431. "models.QhjBankInfo": {
  26432. "type": "object",
  26433. "properties": {
  26434. "bankid": {
  26435. "description": "银行ID",
  26436. "type": "string"
  26437. },
  26438. "bankname": {
  26439. "description": "银行名称",
  26440. "type": "string"
  26441. },
  26442. "clearbankno": {
  26443. "description": "清算系统银行编号",
  26444. "type": "string"
  26445. },
  26446. "orderindex": {
  26447. "description": "排序顺序",
  26448. "type": "integer"
  26449. },
  26450. "status": {
  26451. "description": "状态 - 0:正常 1:注销",
  26452. "type": "integer"
  26453. }
  26454. }
  26455. },
  26456. "models.QhjBrokerApply": {
  26457. "type": "object",
  26458. "properties": {
  26459. "applicantid": {
  26460. "description": "申请人",
  26461. "type": "integer"
  26462. },
  26463. "applysrc": {
  26464. "description": "申请来源 - 1:管理端 2:终端",
  26465. "type": "integer"
  26466. },
  26467. "applystatus": {
  26468. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26469. "type": "integer"
  26470. },
  26471. "applytime": {
  26472. "description": "申请时间",
  26473. "type": "string"
  26474. },
  26475. "auditorid": {
  26476. "description": "审核人",
  26477. "type": "integer"
  26478. },
  26479. "auditremark": {
  26480. "description": "审核备注",
  26481. "type": "string"
  26482. },
  26483. "auditsrc": {
  26484. "description": "审核来源 - 1:管理端 2:终端",
  26485. "type": "integer"
  26486. },
  26487. "audittime": {
  26488. "description": "审核时间",
  26489. "type": "string"
  26490. },
  26491. "audittradedate": {
  26492. "description": "审核交易日(yyyyMMdd)",
  26493. "type": "string"
  26494. },
  26495. "brokerapplyid": {
  26496. "description": "申请ID(SEQ_BROKERAPPLY)",
  26497. "type": "integer"
  26498. },
  26499. "cardbackphotourl": {
  26500. "description": "证件背面图片地址",
  26501. "type": "string"
  26502. },
  26503. "cardfrontphotourl": {
  26504. "description": "证件正面图片地址",
  26505. "type": "string"
  26506. },
  26507. "cardnum": {
  26508. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26509. "type": "string"
  26510. },
  26511. "customername": {
  26512. "description": "姓名",
  26513. "type": "string"
  26514. },
  26515. "logincode": {
  26516. "description": "登录代码",
  26517. "type": "string"
  26518. },
  26519. "mobile": {
  26520. "description": "手机号码",
  26521. "type": "string"
  26522. },
  26523. "parentuserid": {
  26524. "description": "所属机构id",
  26525. "type": "integer"
  26526. },
  26527. "parentusername": {
  26528. "description": "所属机构名称",
  26529. "type": "string"
  26530. },
  26531. "refereeuserid": {
  26532. "description": "推荐人id(经纪人)",
  26533. "type": "integer"
  26534. },
  26535. "refernum": {
  26536. "description": "推荐码",
  26537. "type": "string"
  26538. },
  26539. "remark": {
  26540. "description": "备注",
  26541. "type": "string"
  26542. },
  26543. "subarealevelpath": {
  26544. "description": "层级路径",
  26545. "type": "string"
  26546. },
  26547. "tradedate": {
  26548. "description": "交易日(yyyyMMdd)",
  26549. "type": "string"
  26550. },
  26551. "userid": {
  26552. "description": "申请人用户ID",
  26553. "type": "integer"
  26554. },
  26555. "userinfotype": {
  26556. "description": "用户类型 1-个人 2-企业",
  26557. "type": "integer"
  26558. },
  26559. "username": {
  26560. "description": "用户名称",
  26561. "type": "string"
  26562. }
  26563. }
  26564. },
  26565. "models.QhjBrokerApplyEx": {
  26566. "type": "object",
  26567. "properties": {
  26568. "applylist": {
  26569. "description": "经纪人申请记录(只返回最新一条)",
  26570. "type": "array",
  26571. "items": {
  26572. "$ref": "#/definitions/models.QhjBrokerApply"
  26573. }
  26574. },
  26575. "canrecommend": {
  26576. "description": "是否经纪人 0-不是 1-是",
  26577. "type": "integer"
  26578. },
  26579. "refernum": {
  26580. "description": "推荐码",
  26581. "type": "string"
  26582. },
  26583. "userid": {
  26584. "description": "用户id",
  26585. "type": "integer"
  26586. },
  26587. "userinfotype": {
  26588. "description": "用户类型 1-个人 2-企业",
  26589. "type": "integer"
  26590. }
  26591. }
  26592. },
  26593. "models.QhjBrokerRewardLog": {
  26594. "type": "object",
  26595. "properties": {
  26596. "accountid": {
  26597. "description": "资金账号ID",
  26598. "type": "integer"
  26599. },
  26600. "createtime": {
  26601. "description": "创建时间(时间)",
  26602. "type": "string"
  26603. },
  26604. "handlestatus": {
  26605. "description": "处理状态",
  26606. "type": "integer"
  26607. },
  26608. "logid": {
  26609. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26610. "type": "string"
  26611. },
  26612. "marketid": {
  26613. "description": "市场ID",
  26614. "type": "integer"
  26615. },
  26616. "mmaccountid": {
  26617. "description": "做市商资金账号ID",
  26618. "type": "string"
  26619. },
  26620. "mmuserid": {
  26621. "description": "做市商用户ID",
  26622. "type": "string"
  26623. },
  26624. "rewardamount": {
  26625. "description": "奖励金额",
  26626. "type": "number"
  26627. },
  26628. "rewardmodel": {
  26629. "description": "消费奖励方式 - 1:比率 2:固定",
  26630. "type": "integer"
  26631. },
  26632. "rewardtype": {
  26633. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26634. "type": "integer"
  26635. },
  26636. "rewardvalue": {
  26637. "description": "配置奖励值",
  26638. "type": "number"
  26639. },
  26640. "srcamount": {
  26641. "description": "成交金额 [消费奖励] (金额)",
  26642. "type": "number"
  26643. },
  26644. "srcgoodsid": {
  26645. "description": "来源商品ID [消费奖励]",
  26646. "type": "string"
  26647. },
  26648. "srctime": {
  26649. "description": "来源时间 (成交时间) [消费奖励]",
  26650. "type": "string"
  26651. },
  26652. "srctradeid": {
  26653. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26654. "type": "string"
  26655. },
  26656. "srcuserid": {
  26657. "description": "来源用户ID(推广账户)",
  26658. "type": "string"
  26659. },
  26660. "srcusername": {
  26661. "description": "推广账户名称",
  26662. "type": "string"
  26663. },
  26664. "tradedate": {
  26665. "description": "交易日(yyyyMMdd)",
  26666. "type": "string"
  26667. },
  26668. "userid": {
  26669. "description": "经纪人用户ID",
  26670. "type": "integer"
  26671. }
  26672. }
  26673. },
  26674. "models.QhjContract": {
  26675. "type": "object",
  26676. "properties": {
  26677. "contractconfirmtime": {
  26678. "description": "合同确认时间(时间)",
  26679. "type": "string"
  26680. },
  26681. "currisklevel": {
  26682. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26683. "type": "integer"
  26684. },
  26685. "decimalplace": {
  26686. "description": "商品报价小数位",
  26687. "type": "integer"
  26688. },
  26689. "enumdicname": {
  26690. "description": "单位名称",
  26691. "type": "string"
  26692. },
  26693. "goodscode": {
  26694. "description": "商品代码",
  26695. "type": "string"
  26696. },
  26697. "goodsid": {
  26698. "description": "商品ID [5:融资单]",
  26699. "type": "integer"
  26700. },
  26701. "goodsname": {
  26702. "description": "商品名称",
  26703. "type": "string"
  26704. },
  26705. "goodunitid": {
  26706. "description": "商品单位id",
  26707. "type": "integer"
  26708. },
  26709. "initmargin": {
  26710. "description": "初始保证金(首付款)",
  26711. "type": "number"
  26712. },
  26713. "lenderamount": {
  26714. "description": "贷款金额(总额|订单总额)",
  26715. "type": "number"
  26716. },
  26717. "marginratio": {
  26718. "description": "保证金比率(首付比例)",
  26719. "type": "number"
  26720. },
  26721. "payamount": {
  26722. "description": "已付(已付货款)",
  26723. "type": "number"
  26724. },
  26725. "reckonrecovermargin": {
  26726. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26727. "type": "number"
  26728. },
  26729. "recoveredmargin": {
  26730. "description": "已追缴保证金",
  26731. "type": "number"
  26732. },
  26733. "remainamount": {
  26734. "description": "合同剩余金额(融资额)",
  26735. "type": "number"
  26736. },
  26737. "scfcontractid": {
  26738. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26739. "type": "string"
  26740. },
  26741. "scfcontractstatus": {
  26742. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26743. "type": "integer"
  26744. },
  26745. "scfcontracttype": {
  26746. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26747. "type": "integer"
  26748. },
  26749. "totalinterest": {
  26750. "description": "已计总利息(利息)",
  26751. "type": "number"
  26752. },
  26753. "tradeprice": {
  26754. "description": "成交价格(成本价格)",
  26755. "type": "number"
  26756. },
  26757. "userid": {
  26758. "description": "用户ID",
  26759. "type": "integer"
  26760. },
  26761. "username": {
  26762. "description": "用户名称",
  26763. "type": "string"
  26764. },
  26765. "wrqty": {
  26766. "description": "仓单数量(数量)",
  26767. "type": "number"
  26768. }
  26769. }
  26770. },
  26771. "models.QhjContractLog": {
  26772. "type": "object",
  26773. "properties": {
  26774. "amount": {
  26775. "description": "支付金额",
  26776. "type": "number"
  26777. },
  26778. "amounttype": {
  26779. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26780. "type": "integer"
  26781. },
  26782. "logid": {
  26783. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26784. "type": "string"
  26785. },
  26786. "remainamount": {
  26787. "description": "剩余货款",
  26788. "type": "number"
  26789. },
  26790. "scfcontractid": {
  26791. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26792. "type": "integer"
  26793. },
  26794. "updatetime": {
  26795. "description": "更新时间",
  26796. "type": "string"
  26797. }
  26798. }
  26799. },
  26800. "models.QhjCusBankSignBankEx": {
  26801. "type": "object",
  26802. "properties": {
  26803. "banklst": {
  26804. "description": "银行列表",
  26805. "type": "array",
  26806. "items": {
  26807. "$ref": "#/definitions/models.QhjBankInfo"
  26808. }
  26809. },
  26810. "canallot": {
  26811. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26812. "type": "integer"
  26813. },
  26814. "canallotquery": {
  26815. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26816. "type": "integer"
  26817. },
  26818. "canbindcard": {
  26819. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26820. "type": "integer"
  26821. },
  26822. "caninamount": {
  26823. "description": "是否可入金 - 0:不可 1:可以",
  26824. "type": "integer"
  26825. },
  26826. "caninamount2": {
  26827. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26828. "type": "integer"
  26829. },
  26830. "canmodifybankcard": {
  26831. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26832. "type": "integer"
  26833. },
  26834. "canmodifyphone": {
  26835. "description": "是否可修改手机号 - 0:不可 1:可以",
  26836. "type": "integer"
  26837. },
  26838. "canmodifysigninfo": {
  26839. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26840. "type": "integer"
  26841. },
  26842. "canoutamount": {
  26843. "description": "是否可出金 - 0:不可 1:可以",
  26844. "type": "integer"
  26845. },
  26846. "canoutamount2": {
  26847. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26848. "type": "integer"
  26849. },
  26850. "canrelease": {
  26851. "description": "是否可解约 - 0:不可 1:可以",
  26852. "type": "integer"
  26853. },
  26854. "canrelease2": {
  26855. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26856. "type": "integer"
  26857. },
  26858. "cansign": {
  26859. "description": "是否可签约 - 0:不可 1:可以",
  26860. "type": "integer"
  26861. },
  26862. "cansign2": {
  26863. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26864. "type": "integer"
  26865. },
  26866. "currency": {
  26867. "description": "币种",
  26868. "type": "string"
  26869. },
  26870. "cusbankid": {
  26871. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26872. "type": "string"
  26873. },
  26874. "cusbankname": {
  26875. "description": "银行业务名称",
  26876. "type": "string"
  26877. },
  26878. "cusbankshortname": {
  26879. "description": "银行业务简称",
  26880. "type": "string"
  26881. },
  26882. "exchbankid": {
  26883. "description": "交易所开户银行ID",
  26884. "type": "string"
  26885. },
  26886. "exchpaybankaccname": {
  26887. "description": "交易所支出结算账户户名",
  26888. "type": "string"
  26889. },
  26890. "exchpaybankaccno": {
  26891. "description": "交易所支出结算账户",
  26892. "type": "string"
  26893. },
  26894. "isneedcheck": {
  26895. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26896. "type": "integer"
  26897. },
  26898. "isneedclear": {
  26899. "description": "是否需要清算 - 0:不需要 1:需要",
  26900. "type": "integer"
  26901. },
  26902. "lastcheckstatus": {
  26903. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26904. "type": "integer"
  26905. },
  26906. "lastchecktime": {
  26907. "description": "最后对账时间",
  26908. "type": "string"
  26909. },
  26910. "lastclearstatus": {
  26911. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26912. "type": "integer"
  26913. },
  26914. "lastcleartime": {
  26915. "description": "最后清算时间",
  26916. "type": "string"
  26917. },
  26918. "lastsignintime": {
  26919. "description": "最后签到时间",
  26920. "type": "string"
  26921. },
  26922. "lastsignouttime": {
  26923. "description": "最后签退时间",
  26924. "type": "string"
  26925. },
  26926. "riskinfo": {
  26927. "description": "签约风险提示书",
  26928. "type": "string"
  26929. },
  26930. "signstatus": {
  26931. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26932. "type": "integer"
  26933. },
  26934. "tradedate": {
  26935. "description": "交易日(yyyyMMdd)",
  26936. "type": "string"
  26937. },
  26938. "updatetime": {
  26939. "description": "当前签到/签退更新时间",
  26940. "type": "string"
  26941. }
  26942. }
  26943. },
  26944. "models.QhjCustomer": {
  26945. "type": "object",
  26946. "properties": {
  26947. "address": {
  26948. "description": "通讯地址",
  26949. "type": "string"
  26950. },
  26951. "attachment1": {
  26952. "description": "附件1",
  26953. "type": "string"
  26954. },
  26955. "audittime": {
  26956. "description": "审核时间",
  26957. "type": "string"
  26958. },
  26959. "cardbackphotourl": {
  26960. "description": "证件反面图片地址",
  26961. "type": "string"
  26962. },
  26963. "cardfrontphotourl": {
  26964. "description": "证件正面图片地址",
  26965. "type": "string"
  26966. },
  26967. "cardnum": {
  26968. "description": "证件号码",
  26969. "type": "string"
  26970. },
  26971. "cardtype": {
  26972. "description": "证件类型",
  26973. "type": "integer"
  26974. },
  26975. "cardtypename": {
  26976. "description": "证件类型名称",
  26977. "type": "string"
  26978. },
  26979. "cityid": {
  26980. "description": "市",
  26981. "type": "integer"
  26982. },
  26983. "cityname": {
  26984. "description": "城市名称",
  26985. "type": "string"
  26986. },
  26987. "contactname": {
  26988. "description": "联系人",
  26989. "type": "string"
  26990. },
  26991. "countryid": {
  26992. "description": "国家",
  26993. "type": "integer"
  26994. },
  26995. "countryname": {
  26996. "description": "国家名称",
  26997. "type": "string"
  26998. },
  26999. "createtime": {
  27000. "description": "创建时间",
  27001. "type": "string"
  27002. },
  27003. "customername": {
  27004. "description": "客户名称",
  27005. "type": "string"
  27006. },
  27007. "districtid": {
  27008. "description": "区域",
  27009. "type": "integer"
  27010. },
  27011. "districtname": {
  27012. "description": "地区名称",
  27013. "type": "string"
  27014. },
  27015. "email": {
  27016. "description": "邮件",
  27017. "type": "string"
  27018. },
  27019. "legalpersonname": {
  27020. "description": "法人姓名(企业)",
  27021. "type": "string"
  27022. },
  27023. "logincode": {
  27024. "description": "登录账号(代码)",
  27025. "type": "string"
  27026. },
  27027. "memberuserid": {
  27028. "description": "所属机构ID(所属会员)",
  27029. "type": "integer"
  27030. },
  27031. "memberusername": {
  27032. "description": "所属会员名称",
  27033. "type": "string"
  27034. },
  27035. "mobile": {
  27036. "description": "手机号码",
  27037. "type": "string"
  27038. },
  27039. "modifytime": {
  27040. "description": "修改时间",
  27041. "type": "string"
  27042. },
  27043. "nickname": {
  27044. "description": "昵称",
  27045. "type": "string"
  27046. },
  27047. "parentuserid": {
  27048. "description": "上级机构(所属机构)",
  27049. "type": "integer"
  27050. },
  27051. "parentusername": {
  27052. "description": "所属机构名称",
  27053. "type": "string"
  27054. },
  27055. "provinceid": {
  27056. "description": "省",
  27057. "type": "integer"
  27058. },
  27059. "provincename": {
  27060. "description": "省名称",
  27061. "type": "string"
  27062. },
  27063. "proxystatementurl": {
  27064. "description": "授权委托书",
  27065. "type": "string"
  27066. },
  27067. "remark": {
  27068. "description": "备注",
  27069. "type": "string"
  27070. },
  27071. "status": {
  27072. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  27073. "type": "integer"
  27074. },
  27075. "statusdesc": {
  27076. "description": "账户状态中文描述",
  27077. "type": "string"
  27078. },
  27079. "taxpayernum": {
  27080. "description": "纳税人识别号",
  27081. "type": "string"
  27082. },
  27083. "telphone": {
  27084. "description": "联系电话",
  27085. "type": "string"
  27086. },
  27087. "userid": {
  27088. "description": "用户ID",
  27089. "type": "integer"
  27090. },
  27091. "userinfotype": {
  27092. "description": "客户类型 1-个人 2-企业",
  27093. "type": "integer"
  27094. },
  27095. "username": {
  27096. "description": "用户名称",
  27097. "type": "string"
  27098. }
  27099. }
  27100. },
  27101. "models.QhjCustomerSignLog": {
  27102. "type": "object",
  27103. "properties": {
  27104. "agreementcontent": {
  27105. "description": "协议内容",
  27106. "type": "string"
  27107. },
  27108. "agreementid": {
  27109. "description": "协议ID",
  27110. "type": "integer"
  27111. },
  27112. "agreementname": {
  27113. "description": "协议名称",
  27114. "type": "string"
  27115. },
  27116. "agreementno": {
  27117. "description": "协议编号",
  27118. "type": "string"
  27119. },
  27120. "agreementtype": {
  27121. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27122. "type": "integer"
  27123. },
  27124. "agreementversion": {
  27125. "description": "协议版本号",
  27126. "type": "integer"
  27127. },
  27128. "createtime": {
  27129. "description": "创建时间",
  27130. "type": "string"
  27131. },
  27132. "goodscode": {
  27133. "description": "商品代码",
  27134. "type": "string"
  27135. },
  27136. "goodsid": {
  27137. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27138. "type": "integer"
  27139. },
  27140. "goodsname": {
  27141. "description": "商品名称",
  27142. "type": "string"
  27143. },
  27144. "logid": {
  27145. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  27146. "type": "integer"
  27147. },
  27148. "nodetype": {
  27149. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27150. "type": "integer"
  27151. },
  27152. "signadressurl": {
  27153. "description": "签约文件地址",
  27154. "type": "string"
  27155. },
  27156. "signtimestamp": {
  27157. "description": "签约状态时间戳",
  27158. "type": "string"
  27159. },
  27160. "userid": {
  27161. "description": "客户ID",
  27162. "type": "integer"
  27163. },
  27164. "username": {
  27165. "description": "客户名称",
  27166. "type": "string"
  27167. }
  27168. }
  27169. },
  27170. "models.QhjCustomerSignStatus": {
  27171. "type": "object",
  27172. "properties": {
  27173. "createtime": {
  27174. "description": "创建时间",
  27175. "type": "string"
  27176. },
  27177. "goodscode": {
  27178. "description": "商品代码",
  27179. "type": "string"
  27180. },
  27181. "goodsid": {
  27182. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27183. "type": "integer"
  27184. },
  27185. "goodsname": {
  27186. "description": "商品名称",
  27187. "type": "string"
  27188. },
  27189. "nodetype": {
  27190. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  27191. "type": "integer"
  27192. },
  27193. "signtimestamp": {
  27194. "description": "签约状态时间戳",
  27195. "type": "string"
  27196. },
  27197. "tradedate": {
  27198. "description": "创建交易日(yyyyMMdd)",
  27199. "type": "string"
  27200. },
  27201. "updatetime": {
  27202. "description": "更新时间",
  27203. "type": "string"
  27204. },
  27205. "userid": {
  27206. "description": "客户ID",
  27207. "type": "integer"
  27208. },
  27209. "username": {
  27210. "description": "客户名称",
  27211. "type": "string"
  27212. }
  27213. }
  27214. },
  27215. "models.QhjMgrAccountOutInApply": {
  27216. "type": "object",
  27217. "properties": {
  27218. "accountcode": {
  27219. "description": "资金账号",
  27220. "type": "string"
  27221. },
  27222. "accountname": {
  27223. "description": "用户名称(名称)",
  27224. "type": "string"
  27225. },
  27226. "accountpwd": {
  27227. "description": "资金密码",
  27228. "type": "string"
  27229. },
  27230. "accountticket": {
  27231. "description": "最新账户服务流水号",
  27232. "type": "string"
  27233. },
  27234. "amount": {
  27235. "description": "金额",
  27236. "type": "number"
  27237. },
  27238. "applyremark": {
  27239. "description": "申请备注",
  27240. "type": "string"
  27241. },
  27242. "applystatus": {
  27243. "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: 复审通过,账户冻结金额检查中;",
  27244. "type": "integer"
  27245. },
  27246. "auditid": {
  27247. "description": "审核人",
  27248. "type": "integer"
  27249. },
  27250. "audittime": {
  27251. "description": "审核时间",
  27252. "type": "string"
  27253. },
  27254. "bank_apply_ticket": {
  27255. "description": "银行申请流水",
  27256. "type": "string"
  27257. },
  27258. "bankaccountname": {
  27259. "description": "银行账户名",
  27260. "type": "string"
  27261. },
  27262. "bankaccountno": {
  27263. "description": "银行卡号",
  27264. "type": "string"
  27265. },
  27266. "bankid": {
  27267. "description": "银行编号",
  27268. "type": "string"
  27269. },
  27270. "bankname": {
  27271. "description": "银行名称",
  27272. "type": "string"
  27273. },
  27274. "bankticket": {
  27275. "description": "银行流水",
  27276. "type": "string"
  27277. },
  27278. "branchbankid": {
  27279. "description": "银行支行号",
  27280. "type": "string"
  27281. },
  27282. "branchbankname": {
  27283. "description": "银行支行名称",
  27284. "type": "string"
  27285. },
  27286. "capamountout": {
  27287. "description": "出金(劣后本金) - 外部子账户",
  27288. "type": "number"
  27289. },
  27290. "certificatephotourl": {
  27291. "description": "凭证地址",
  27292. "type": "string"
  27293. },
  27294. "charge": {
  27295. "description": "手续费",
  27296. "type": "number"
  27297. },
  27298. "checkerrorflag": {
  27299. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27300. "type": "integer"
  27301. },
  27302. "currency": {
  27303. "description": "币种",
  27304. "type": "string"
  27305. },
  27306. "cusbankid": {
  27307. "description": "托管银行编号",
  27308. "type": "string"
  27309. },
  27310. "exchticket": {
  27311. "description": "银行服务流水号",
  27312. "type": "string"
  27313. },
  27314. "executetype": {
  27315. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27316. "type": "integer"
  27317. },
  27318. "extendinfo": {
  27319. "description": "扩展信息",
  27320. "type": "string"
  27321. },
  27322. "extoperateid": {
  27323. "description": "交易服务流水号",
  27324. "type": "integer"
  27325. },
  27326. "infamount": {
  27327. "description": "劣后金额(自有)",
  27328. "type": "number"
  27329. },
  27330. "logincode": {
  27331. "description": "登录账号(账号)",
  27332. "type": "string"
  27333. },
  27334. "netaddr": {
  27335. "description": "调转网址",
  27336. "type": "string"
  27337. },
  27338. "priamount": {
  27339. "description": "优先金额(授信)",
  27340. "type": "number"
  27341. },
  27342. "reauditid": {
  27343. "description": "复审人",
  27344. "type": "integer"
  27345. },
  27346. "reauditremark": {
  27347. "description": "复审备注",
  27348. "type": "string"
  27349. },
  27350. "reaudittime": {
  27351. "description": "复审时间",
  27352. "type": "string"
  27353. },
  27354. "relatedorderid": {
  27355. "description": "三方关联ID",
  27356. "type": "string"
  27357. },
  27358. "remark": {
  27359. "description": "备注",
  27360. "type": "string"
  27361. },
  27362. "remark2": {
  27363. "description": "备注(失败原因)",
  27364. "type": "string"
  27365. },
  27366. "soucreamount": {
  27367. "description": "原始出入金金额",
  27368. "type": "number"
  27369. },
  27370. "soucrecurrencyid": {
  27371. "description": "原始出入金币种",
  27372. "type": "integer"
  27373. },
  27374. "tradedate": {
  27375. "description": "交易日(yyyyMMdd)",
  27376. "type": "string"
  27377. },
  27378. "updatetime": {
  27379. "description": "更新时间(申请时间)",
  27380. "type": "string"
  27381. },
  27382. "userid": {
  27383. "description": "用户id",
  27384. "type": "integer"
  27385. },
  27386. "userinfotype": {
  27387. "description": "账户类型 1-个人 2-企业",
  27388. "type": "integer"
  27389. }
  27390. }
  27391. },
  27392. "models.QhjMgrBrokerApply": {
  27393. "type": "object",
  27394. "properties": {
  27395. "applicantid": {
  27396. "description": "申请人",
  27397. "type": "integer"
  27398. },
  27399. "applysrc": {
  27400. "description": "申请来源 - 1:管理端 2:终端",
  27401. "type": "integer"
  27402. },
  27403. "applystatus": {
  27404. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27405. "type": "integer"
  27406. },
  27407. "applytime": {
  27408. "description": "申请时间",
  27409. "type": "string"
  27410. },
  27411. "auditorid": {
  27412. "description": "审核人",
  27413. "type": "integer"
  27414. },
  27415. "auditremark": {
  27416. "description": "审核备注",
  27417. "type": "string"
  27418. },
  27419. "auditsrc": {
  27420. "description": "审核来源 - 1:管理端 2:终端",
  27421. "type": "integer"
  27422. },
  27423. "audittime": {
  27424. "description": "审核时间",
  27425. "type": "string"
  27426. },
  27427. "audittradedate": {
  27428. "description": "审核交易日(yyyyMMdd)",
  27429. "type": "string"
  27430. },
  27431. "brokerapplyid": {
  27432. "description": "申请ID(SEQ_BROKERAPPLY)",
  27433. "type": "integer"
  27434. },
  27435. "cardbackphotourl": {
  27436. "description": "证件背面图片地址",
  27437. "type": "string"
  27438. },
  27439. "cardfrontphotourl": {
  27440. "description": "证件正面图片地址",
  27441. "type": "string"
  27442. },
  27443. "cardnum": {
  27444. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27445. "type": "string"
  27446. },
  27447. "customername": {
  27448. "description": "姓名",
  27449. "type": "string"
  27450. },
  27451. "filterstatus": {
  27452. "description": "筛选条件",
  27453. "type": "string"
  27454. },
  27455. "logincode": {
  27456. "description": "登录代码",
  27457. "type": "string"
  27458. },
  27459. "mobile": {
  27460. "description": "手机号码",
  27461. "type": "string"
  27462. },
  27463. "parentuserid": {
  27464. "description": "所属机构id",
  27465. "type": "integer"
  27466. },
  27467. "parentusername": {
  27468. "description": "所属机构名称",
  27469. "type": "string"
  27470. },
  27471. "refereeuserid": {
  27472. "description": "推荐人id(经纪人)",
  27473. "type": "integer"
  27474. },
  27475. "refernum": {
  27476. "description": "推荐码",
  27477. "type": "string"
  27478. },
  27479. "remark": {
  27480. "description": "备注",
  27481. "type": "string"
  27482. },
  27483. "subarealevelpath": {
  27484. "description": "层级路径",
  27485. "type": "string"
  27486. },
  27487. "tradedate": {
  27488. "description": "交易日(yyyyMMdd)",
  27489. "type": "string"
  27490. },
  27491. "userid": {
  27492. "description": "申请人用户ID",
  27493. "type": "integer"
  27494. },
  27495. "userinfotype": {
  27496. "description": "用户类型 1-个人 2-企业",
  27497. "type": "integer"
  27498. },
  27499. "username": {
  27500. "description": "用户名称",
  27501. "type": "string"
  27502. }
  27503. }
  27504. },
  27505. "models.QhjMgrBrokerRewardReport": {
  27506. "type": "object",
  27507. "properties": {
  27508. "createtime": {
  27509. "description": "创建时间(注册时间)",
  27510. "type": "string"
  27511. },
  27512. "cycletime": {
  27513. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  27514. "type": "string"
  27515. },
  27516. "cycletype": {
  27517. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27518. "type": "integer"
  27519. },
  27520. "directtotalnum": {
  27521. "description": "直推总人数【期末】",
  27522. "type": "integer"
  27523. },
  27524. "indirecttotalnum": {
  27525. "description": "间推总人数【期末】",
  27526. "type": "integer"
  27527. },
  27528. "mobile": {
  27529. "description": "电话号码",
  27530. "type": "string"
  27531. },
  27532. "refereeuserid": {
  27533. "description": "推荐人id(经纪人id)",
  27534. "type": "integer"
  27535. },
  27536. "refereeusername": {
  27537. "description": "推荐人名称(经纪人) 上级经纪人名称",
  27538. "type": "string"
  27539. },
  27540. "refernum": {
  27541. "description": "推荐码",
  27542. "type": "string"
  27543. },
  27544. "subarealevelpath": {
  27545. "description": "用户层级路径",
  27546. "type": "string"
  27547. },
  27548. "todayrewardamount": {
  27549. "description": "奖励总金额【汇总】",
  27550. "type": "number"
  27551. },
  27552. "updatetime": {
  27553. "description": "更新时间",
  27554. "type": "string"
  27555. },
  27556. "userid": {
  27557. "description": "经纪人用户ID",
  27558. "type": "integer"
  27559. },
  27560. "userinfotype": {
  27561. "description": "用户类型 1-个人 2-企业",
  27562. "type": "integer"
  27563. },
  27564. "username": {
  27565. "description": "用户名称",
  27566. "type": "string"
  27567. }
  27568. }
  27569. },
  27570. "models.QhjMgrContract": {
  27571. "type": "object",
  27572. "properties": {
  27573. "contractconfirmtime": {
  27574. "description": "合同确认时间(时间)",
  27575. "type": "string"
  27576. },
  27577. "currisklevel": {
  27578. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27579. "type": "integer"
  27580. },
  27581. "decimalplace": {
  27582. "description": "商品报价小数位",
  27583. "type": "integer"
  27584. },
  27585. "enumdicname": {
  27586. "description": "单位名称",
  27587. "type": "string"
  27588. },
  27589. "goodscode": {
  27590. "description": "商品代码",
  27591. "type": "string"
  27592. },
  27593. "goodsid": {
  27594. "description": "商品ID [5:融资单]",
  27595. "type": "integer"
  27596. },
  27597. "goodsname": {
  27598. "description": "商品名称",
  27599. "type": "string"
  27600. },
  27601. "goodunitid": {
  27602. "description": "商品单位id",
  27603. "type": "integer"
  27604. },
  27605. "initmargin": {
  27606. "description": "初始保证金(首付款)",
  27607. "type": "number"
  27608. },
  27609. "lenderamount": {
  27610. "description": "贷款金额(总额|订单总额)",
  27611. "type": "number"
  27612. },
  27613. "logincode": {
  27614. "description": "账号(登录代码)",
  27615. "type": "string"
  27616. },
  27617. "marginratio": {
  27618. "description": "保证金比率(首付比例)",
  27619. "type": "number"
  27620. },
  27621. "mobile": {
  27622. "description": "电话号码(用户资料里的电话)",
  27623. "type": "string"
  27624. },
  27625. "payamount": {
  27626. "description": "已付(已付货款)",
  27627. "type": "number"
  27628. },
  27629. "reckonrecovermargin": {
  27630. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27631. "type": "number"
  27632. },
  27633. "recoveredmargin": {
  27634. "description": "已追缴保证金",
  27635. "type": "number"
  27636. },
  27637. "remainamount": {
  27638. "description": "合同剩余金额(融资额)",
  27639. "type": "number"
  27640. },
  27641. "scfcontractid": {
  27642. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27643. "type": "string"
  27644. },
  27645. "scfcontractstatus": {
  27646. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27647. "type": "integer"
  27648. },
  27649. "scfcontracttype": {
  27650. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27651. "type": "integer"
  27652. },
  27653. "totalinterest": {
  27654. "description": "已计总利息(利息)",
  27655. "type": "number"
  27656. },
  27657. "tradedate": {
  27658. "description": "交易日",
  27659. "type": "string"
  27660. },
  27661. "tradeprice": {
  27662. "description": "成交价格(成本价格)",
  27663. "type": "number"
  27664. },
  27665. "userid": {
  27666. "description": "用户ID",
  27667. "type": "integer"
  27668. },
  27669. "userinfotype": {
  27670. "description": "用户类型 1-个人 2-企业",
  27671. "type": "integer"
  27672. },
  27673. "username": {
  27674. "description": "用户名称",
  27675. "type": "string"
  27676. },
  27677. "wrqty": {
  27678. "description": "仓单数量(数量)",
  27679. "type": "number"
  27680. }
  27681. }
  27682. },
  27683. "models.QhjMgrCustomer": {
  27684. "type": "object",
  27685. "properties": {
  27686. "address": {
  27687. "description": "通讯地址",
  27688. "type": "string"
  27689. },
  27690. "attachment1": {
  27691. "description": "附件1",
  27692. "type": "string"
  27693. },
  27694. "audittime": {
  27695. "description": "审核时间",
  27696. "type": "string"
  27697. },
  27698. "birthday": {
  27699. "description": "生日",
  27700. "type": "string"
  27701. },
  27702. "brokerid": {
  27703. "description": "所属客户经理id",
  27704. "type": "integer"
  27705. },
  27706. "brokername": {
  27707. "description": "所属客户经理名称",
  27708. "type": "string"
  27709. },
  27710. "cardbackphotourl": {
  27711. "description": "证件反面图片地址",
  27712. "type": "string"
  27713. },
  27714. "cardfrontphotourl": {
  27715. "description": "证件正面图片地址",
  27716. "type": "string"
  27717. },
  27718. "cardnum": {
  27719. "description": "证件号码",
  27720. "type": "string"
  27721. },
  27722. "cardtype": {
  27723. "description": "证件类型",
  27724. "type": "integer"
  27725. },
  27726. "cardtypename": {
  27727. "description": "证件类型名称",
  27728. "type": "string"
  27729. },
  27730. "cityid": {
  27731. "description": "市",
  27732. "type": "integer"
  27733. },
  27734. "cityname": {
  27735. "description": "城市名称",
  27736. "type": "string"
  27737. },
  27738. "contactname": {
  27739. "description": "联系人",
  27740. "type": "string"
  27741. },
  27742. "countryid": {
  27743. "description": "国家",
  27744. "type": "integer"
  27745. },
  27746. "countryname": {
  27747. "description": "国家名称",
  27748. "type": "string"
  27749. },
  27750. "createtime": {
  27751. "description": "创建时间",
  27752. "type": "string"
  27753. },
  27754. "customername": {
  27755. "description": "客户名称",
  27756. "type": "string"
  27757. },
  27758. "districtid": {
  27759. "description": "区域",
  27760. "type": "integer"
  27761. },
  27762. "districtname": {
  27763. "description": "地区名称",
  27764. "type": "string"
  27765. },
  27766. "email": {
  27767. "description": "邮件",
  27768. "type": "string"
  27769. },
  27770. "legalpersonname": {
  27771. "description": "法人姓名(企业)",
  27772. "type": "string"
  27773. },
  27774. "logincode": {
  27775. "description": "登录账号(代码)",
  27776. "type": "string"
  27777. },
  27778. "memberuserid": {
  27779. "description": "所属机构ID(所属会员)",
  27780. "type": "integer"
  27781. },
  27782. "memberusername": {
  27783. "description": "所属会员名称",
  27784. "type": "string"
  27785. },
  27786. "mobile": {
  27787. "description": "手机号码",
  27788. "type": "string"
  27789. },
  27790. "modifytime": {
  27791. "description": "修改时间",
  27792. "type": "string"
  27793. },
  27794. "nickname": {
  27795. "description": "昵称",
  27796. "type": "string"
  27797. },
  27798. "parentuserid": {
  27799. "description": "上级机构(所属机构)",
  27800. "type": "integer"
  27801. },
  27802. "parentusername": {
  27803. "description": "所属机构名称",
  27804. "type": "string"
  27805. },
  27806. "provinceid": {
  27807. "description": "省",
  27808. "type": "integer"
  27809. },
  27810. "provincename": {
  27811. "description": "省名称",
  27812. "type": "string"
  27813. },
  27814. "proxystatementurl": {
  27815. "description": "授权委托书",
  27816. "type": "string"
  27817. },
  27818. "querytype": {
  27819. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27820. "type": "integer"
  27821. },
  27822. "remark": {
  27823. "description": "备注",
  27824. "type": "string"
  27825. },
  27826. "sex": {
  27827. "description": "性别 0-女 1-男",
  27828. "type": "integer"
  27829. },
  27830. "status": {
  27831. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27832. "type": "integer"
  27833. },
  27834. "statusdesc": {
  27835. "description": "账户状态中文描述",
  27836. "type": "string"
  27837. },
  27838. "taxpayernum": {
  27839. "description": "纳税人识别号",
  27840. "type": "string"
  27841. },
  27842. "telphone": {
  27843. "description": "联系电话",
  27844. "type": "string"
  27845. },
  27846. "userid": {
  27847. "description": "用户ID",
  27848. "type": "integer"
  27849. },
  27850. "userinfotype": {
  27851. "description": "客户类型 1-个人 2-企业",
  27852. "type": "integer"
  27853. },
  27854. "username": {
  27855. "description": "用户名称",
  27856. "type": "string"
  27857. }
  27858. }
  27859. },
  27860. "models.QhjMgrPickGoods": {
  27861. "type": "object",
  27862. "properties": {
  27863. "enumdicname": {
  27864. "description": "单位名称(提货商品)",
  27865. "type": "string"
  27866. },
  27867. "goodsid": {
  27868. "description": "商品id",
  27869. "type": "integer"
  27870. },
  27871. "imageaddress": {
  27872. "description": "图片",
  27873. "type": "string"
  27874. },
  27875. "modifierid": {
  27876. "description": "修改人",
  27877. "type": "integer"
  27878. },
  27879. "modifiername": {
  27880. "description": "修改人名称",
  27881. "type": "string"
  27882. },
  27883. "modifysrc": {
  27884. "description": "修改来源 - 1:管理端 2:终端",
  27885. "type": "integer"
  27886. },
  27887. "pickupgoodsagreeunit": {
  27888. "description": "合约乘数",
  27889. "type": "number"
  27890. },
  27891. "pickupgoodsdesc": {
  27892. "description": "描述",
  27893. "type": "string"
  27894. },
  27895. "pickupgoodsid": {
  27896. "description": "提货商品ID",
  27897. "type": "string"
  27898. },
  27899. "pickupgoodsname": {
  27900. "description": "提货商品名称",
  27901. "type": "string"
  27902. },
  27903. "pickupgoodsstatus": {
  27904. "description": "状态 - 1:正常 2:停用 3:注销",
  27905. "type": "integer"
  27906. },
  27907. "pickupgoodsunitid": {
  27908. "description": "单位ID",
  27909. "type": "integer"
  27910. },
  27911. "pickupratio": {
  27912. "description": "提货系数",
  27913. "type": "number"
  27914. },
  27915. "preparedays": {
  27916. "description": "备货期(天)",
  27917. "type": "integer"
  27918. },
  27919. "remark": {
  27920. "description": "备注",
  27921. "type": "string"
  27922. },
  27923. "updatetime": {
  27924. "description": "更新时间",
  27925. "type": "string"
  27926. }
  27927. }
  27928. },
  27929. "models.QhjMgrPositionRsp": {
  27930. "type": "object",
  27931. "properties": {
  27932. "accountid": {
  27933. "description": "账号Id",
  27934. "type": "integer"
  27935. },
  27936. "accountname": {
  27937. "description": "用户名称",
  27938. "type": "string"
  27939. },
  27940. "agreeunit": {
  27941. "description": "合约乘数",
  27942. "type": "number"
  27943. },
  27944. "averageprice": {
  27945. "description": "均价",
  27946. "type": "number"
  27947. },
  27948. "avialqty": {
  27949. "description": "可用数量",
  27950. "type": "number"
  27951. },
  27952. "decimalplace": {
  27953. "description": "报价小数位",
  27954. "type": "integer"
  27955. },
  27956. "enumdicname": {
  27957. "description": "单位名称(商品)",
  27958. "type": "string"
  27959. },
  27960. "frozenqty": {
  27961. "description": "冻结数量",
  27962. "type": "number"
  27963. },
  27964. "goodscode": {
  27965. "description": "商品代码(内部)",
  27966. "type": "string"
  27967. },
  27968. "goodsid": {
  27969. "description": "商品Id",
  27970. "type": "integer"
  27971. },
  27972. "goodsname": {
  27973. "description": "商品名称",
  27974. "type": "string"
  27975. },
  27976. "goodunitid": {
  27977. "description": "报价单位ID",
  27978. "type": "integer"
  27979. },
  27980. "holderamount": {
  27981. "description": "金额",
  27982. "type": "number"
  27983. },
  27984. "holderqty": {
  27985. "description": "持有数量",
  27986. "type": "number"
  27987. },
  27988. "holdertype": {
  27989. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27990. "type": "integer"
  27991. },
  27992. "logincode": {
  27993. "description": "登录代码(账户)",
  27994. "type": "string"
  27995. },
  27996. "marketid": {
  27997. "description": "市场id",
  27998. "type": "integer"
  27999. },
  28000. "qtydecimalplace": {
  28001. "description": "成交量小数位",
  28002. "type": "integer"
  28003. },
  28004. "trademode": {
  28005. "description": "交易模式",
  28006. "type": "integer"
  28007. },
  28008. "userid": {
  28009. "description": "用户id",
  28010. "type": "integer"
  28011. },
  28012. "userinfotype": {
  28013. "description": "账户类型 1-个人 2-企业",
  28014. "type": "integer"
  28015. }
  28016. }
  28017. },
  28018. "models.QhjMgrSubArea": {
  28019. "type": "object",
  28020. "properties": {
  28021. "accountname": {
  28022. "description": "账户名称(机构名称)",
  28023. "type": "string"
  28024. },
  28025. "memberuserid": {
  28026. "description": "所属会员ID",
  28027. "type": "integer"
  28028. },
  28029. "parenttopuser": {
  28030. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28031. "type": "string"
  28032. },
  28033. "parentuserid": {
  28034. "description": "所属机构ID",
  28035. "type": "integer"
  28036. },
  28037. "rootuserid": {
  28038. "description": "根用户ID",
  28039. "type": "string"
  28040. },
  28041. "subaccountlevel": {
  28042. "description": "子账户层数",
  28043. "type": "integer"
  28044. },
  28045. "subarealevelpath": {
  28046. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  28047. "type": "string"
  28048. },
  28049. "userid": {
  28050. "description": "用户ID",
  28051. "type": "integer"
  28052. },
  28053. "usertype": {
  28054. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28055. "type": "integer"
  28056. }
  28057. }
  28058. },
  28059. "models.QhjMgrTradeDetailRsp": {
  28060. "type": "object",
  28061. "properties": {
  28062. "accountid": {
  28063. "description": "资金账号",
  28064. "type": "integer"
  28065. },
  28066. "accountname": {
  28067. "description": "用户名称",
  28068. "type": "string"
  28069. },
  28070. "agreeunit": {
  28071. "description": "合约乘数",
  28072. "type": "number"
  28073. },
  28074. "buyorsell": {
  28075. "description": "成交类型(方向) 0:买 1:卖",
  28076. "type": "integer"
  28077. },
  28078. "decimalplace": {
  28079. "description": "报价小数位",
  28080. "type": "integer"
  28081. },
  28082. "enumdicname": {
  28083. "description": "单位名称(商品)",
  28084. "type": "string"
  28085. },
  28086. "goodscode": {
  28087. "description": "商品代码(内部)",
  28088. "type": "string"
  28089. },
  28090. "goodsid": {
  28091. "description": "商品id",
  28092. "type": "integer"
  28093. },
  28094. "goodsname": {
  28095. "description": "商品名称",
  28096. "type": "string"
  28097. },
  28098. "goodunitid": {
  28099. "description": "报价单位ID",
  28100. "type": "integer"
  28101. },
  28102. "logincode": {
  28103. "description": "登录代码(账户)",
  28104. "type": "string"
  28105. },
  28106. "marketid": {
  28107. "description": "市场id",
  28108. "type": "integer"
  28109. },
  28110. "orderid": {
  28111. "description": "关联委托单号",
  28112. "type": "string"
  28113. },
  28114. "qtydecimalplace": {
  28115. "description": "成交量小数位",
  28116. "type": "integer"
  28117. },
  28118. "tradeamount": {
  28119. "description": "金额",
  28120. "type": "number"
  28121. },
  28122. "tradedate": {
  28123. "description": "交易日",
  28124. "type": "string"
  28125. },
  28126. "tradeid": {
  28127. "description": "成交单号",
  28128. "type": "string"
  28129. },
  28130. "trademode": {
  28131. "description": "交易模式",
  28132. "type": "integer"
  28133. },
  28134. "tradeprice": {
  28135. "description": "价格",
  28136. "type": "number"
  28137. },
  28138. "tradeqty": {
  28139. "description": "数量",
  28140. "type": "number"
  28141. },
  28142. "tradetime": {
  28143. "description": "成交时间",
  28144. "type": "string"
  28145. },
  28146. "userid": {
  28147. "description": "用户id",
  28148. "type": "integer"
  28149. },
  28150. "userinfotype": {
  28151. "description": "账户类型 1-个人 2-企业",
  28152. "type": "integer"
  28153. }
  28154. }
  28155. },
  28156. "models.QhjMgrTradeOrderDetailRsp": {
  28157. "type": "object",
  28158. "properties": {
  28159. "accountid": {
  28160. "description": "资金账号",
  28161. "type": "integer"
  28162. },
  28163. "accountname": {
  28164. "description": "用户名称",
  28165. "type": "string"
  28166. },
  28167. "agreeunit": {
  28168. "description": "合约乘数",
  28169. "type": "number"
  28170. },
  28171. "amount": {
  28172. "description": "金额",
  28173. "type": "number"
  28174. },
  28175. "decimalplace": {
  28176. "description": "报价小数位",
  28177. "type": "integer"
  28178. },
  28179. "enumdicname": {
  28180. "description": "单位名称(商品)",
  28181. "type": "string"
  28182. },
  28183. "goodscode": {
  28184. "description": "商品代码(内部)",
  28185. "type": "string"
  28186. },
  28187. "goodsid": {
  28188. "description": "商品id",
  28189. "type": "integer"
  28190. },
  28191. "goodsname": {
  28192. "description": "商品名称",
  28193. "type": "string"
  28194. },
  28195. "goodunitid": {
  28196. "description": "报价单位ID",
  28197. "type": "integer"
  28198. },
  28199. "logincode": {
  28200. "description": "登录代码(账户)",
  28201. "type": "string"
  28202. },
  28203. "marketid": {
  28204. "description": "市场id",
  28205. "type": "integer"
  28206. },
  28207. "orderid": {
  28208. "description": "关联委托单号",
  28209. "type": "string"
  28210. },
  28211. "orderprice": {
  28212. "description": "价格",
  28213. "type": "number"
  28214. },
  28215. "orderqty": {
  28216. "description": "数量",
  28217. "type": "number"
  28218. },
  28219. "orderstatus": {
  28220. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28221. "type": "integer"
  28222. },
  28223. "ordertime": {
  28224. "description": "委托时间",
  28225. "type": "string"
  28226. },
  28227. "qtydecimalplace": {
  28228. "description": "成交量小数位",
  28229. "type": "integer"
  28230. },
  28231. "tradedate": {
  28232. "description": "交易日",
  28233. "type": "string"
  28234. },
  28235. "trademode": {
  28236. "description": "交易模式",
  28237. "type": "integer"
  28238. },
  28239. "userid": {
  28240. "description": "用户id",
  28241. "type": "integer"
  28242. },
  28243. "userinfotype": {
  28244. "description": "账户类型 1-个人 2-企业",
  28245. "type": "integer"
  28246. }
  28247. }
  28248. },
  28249. "models.QhjMgrTradePayOrder": {
  28250. "type": "object",
  28251. "properties": {
  28252. "accountname": {
  28253. "description": "用户名称",
  28254. "type": "string"
  28255. },
  28256. "advanceratio": {
  28257. "description": "首付比率",
  28258. "type": "number"
  28259. },
  28260. "agreeunit": {
  28261. "description": "合约乘数",
  28262. "type": "number"
  28263. },
  28264. "buyaccountid": {
  28265. "description": "买方账号ID[报价币种]",
  28266. "type": "integer"
  28267. },
  28268. "buyorderid": {
  28269. "description": "买方委托单号(关联单号)",
  28270. "type": "string"
  28271. },
  28272. "createtime": {
  28273. "description": "创建时间",
  28274. "type": "string"
  28275. },
  28276. "decimalplace": {
  28277. "description": "报价小数位",
  28278. "type": "integer"
  28279. },
  28280. "enumdicname": {
  28281. "description": "单位名称(商品)",
  28282. "type": "string"
  28283. },
  28284. "goodscode": {
  28285. "description": "商品代码(内部)",
  28286. "type": "string"
  28287. },
  28288. "goodsid": {
  28289. "description": "商品ID",
  28290. "type": "integer"
  28291. },
  28292. "goodsname": {
  28293. "description": "商品名称",
  28294. "type": "string"
  28295. },
  28296. "goodunitid": {
  28297. "description": "报价单位ID",
  28298. "type": "integer"
  28299. },
  28300. "logincode": {
  28301. "description": "登录代码(账户)",
  28302. "type": "string"
  28303. },
  28304. "marketid": {
  28305. "description": "市场id",
  28306. "type": "integer"
  28307. },
  28308. "offamount": {
  28309. "description": "优惠金额",
  28310. "type": "number"
  28311. },
  28312. "operatetype": {
  28313. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28314. "type": "integer"
  28315. },
  28316. "payamount": {
  28317. "description": "支付金额(金额)",
  28318. "type": "number"
  28319. },
  28320. "payflag": {
  28321. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28322. "type": "integer"
  28323. },
  28324. "paylimitedtime": {
  28325. "description": "支付期限",
  28326. "type": "string"
  28327. },
  28328. "paytime": {
  28329. "description": "付款时间",
  28330. "type": "string"
  28331. },
  28332. "qtydecimalplace": {
  28333. "description": "成交量小数位",
  28334. "type": "integer"
  28335. },
  28336. "sellaccountid": {
  28337. "description": "卖方账号ID[报价币种]",
  28338. "type": "integer"
  28339. },
  28340. "sellorderid": {
  28341. "description": "卖方委托单号",
  28342. "type": "string"
  28343. },
  28344. "tradeamount": {
  28345. "description": "成交金额(优惠后金额)",
  28346. "type": "number"
  28347. },
  28348. "tradecharge": {
  28349. "description": "成交手续费(买方)",
  28350. "type": "number"
  28351. },
  28352. "tradedate": {
  28353. "description": "交易日(yyyyMMdd)",
  28354. "type": "string"
  28355. },
  28356. "tradeid": {
  28357. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28358. "type": "string"
  28359. },
  28360. "trademode": {
  28361. "description": "交易模式",
  28362. "type": "integer"
  28363. },
  28364. "tradeprice": {
  28365. "description": "成交价格(价格)",
  28366. "type": "number"
  28367. },
  28368. "tradeqty": {
  28369. "description": "成交数量(数量)",
  28370. "type": "number"
  28371. },
  28372. "tradetime": {
  28373. "description": "成交时间",
  28374. "type": "string"
  28375. },
  28376. "userid": {
  28377. "description": "用户id",
  28378. "type": "integer"
  28379. },
  28380. "userinfotype": {
  28381. "description": "账户类型 1-个人 2-企业",
  28382. "type": "integer"
  28383. }
  28384. }
  28385. },
  28386. "models.QhjMyTeamEx": {
  28387. "type": "object",
  28388. "properties": {
  28389. "accountname": {
  28390. "description": "用户名称",
  28391. "type": "string"
  28392. },
  28393. "accountstatus": {
  28394. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28395. "type": "integer"
  28396. },
  28397. "createtime": {
  28398. "description": "创建时间",
  28399. "type": "string"
  28400. },
  28401. "mobile": {
  28402. "description": "手机号码",
  28403. "type": "string"
  28404. },
  28405. "refereeuserid": {
  28406. "description": "推荐人id",
  28407. "type": "integer"
  28408. },
  28409. "refernum": {
  28410. "description": "推荐码",
  28411. "type": "string"
  28412. },
  28413. "subList": {
  28414. "type": "array",
  28415. "items": {
  28416. "$ref": "#/definitions/models.QhjMyTeamEx"
  28417. }
  28418. },
  28419. "userid": {
  28420. "description": "用户id",
  28421. "type": "integer"
  28422. },
  28423. "userinfotype": {
  28424. "description": "用户类型 1-个人 2-企业",
  28425. "type": "integer"
  28426. }
  28427. }
  28428. },
  28429. "models.QhjNodeAgreementConfig": {
  28430. "type": "object",
  28431. "properties": {
  28432. "agreementcontent": {
  28433. "description": "协议内容",
  28434. "type": "string"
  28435. },
  28436. "agreementid": {
  28437. "description": "协议ID",
  28438. "type": "integer"
  28439. },
  28440. "agreementname": {
  28441. "description": "协议名称",
  28442. "type": "string"
  28443. },
  28444. "agreementno": {
  28445. "description": "协议编号",
  28446. "type": "string"
  28447. },
  28448. "agreementtype": {
  28449. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28450. "type": "integer"
  28451. },
  28452. "agreementversion": {
  28453. "description": "协议版本号",
  28454. "type": "integer"
  28455. },
  28456. "configid": {
  28457. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28458. "type": "integer"
  28459. },
  28460. "createtime": {
  28461. "description": "创建时间",
  28462. "type": "string"
  28463. },
  28464. "goodsid": {
  28465. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28466. "type": "integer"
  28467. },
  28468. "nodetype": {
  28469. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28470. "type": "integer"
  28471. }
  28472. }
  28473. },
  28474. "models.QhjParentAreaList": {
  28475. "type": "object",
  28476. "properties": {
  28477. "accountname": {
  28478. "description": "账户名称(机构名称)",
  28479. "type": "string"
  28480. },
  28481. "userid": {
  28482. "description": "用户ID",
  28483. "type": "integer"
  28484. },
  28485. "usertype": {
  28486. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28487. "type": "integer"
  28488. }
  28489. }
  28490. },
  28491. "models.QhjPayOrder": {
  28492. "type": "object",
  28493. "properties": {
  28494. "advanceratio": {
  28495. "description": "首付比率",
  28496. "type": "number"
  28497. },
  28498. "buyaccountid": {
  28499. "description": "买方账号ID[报价币种]",
  28500. "type": "integer"
  28501. },
  28502. "buyorderid": {
  28503. "description": "买方委托单号",
  28504. "type": "string"
  28505. },
  28506. "createtime": {
  28507. "description": "创建时间",
  28508. "type": "string"
  28509. },
  28510. "decimalplace": {
  28511. "description": "商品报价小数位",
  28512. "type": "integer"
  28513. },
  28514. "enumdicname": {
  28515. "description": "单位名称",
  28516. "type": "string"
  28517. },
  28518. "goodscode": {
  28519. "description": "商品代码",
  28520. "type": "string"
  28521. },
  28522. "goodsid": {
  28523. "description": "商品ID",
  28524. "type": "integer"
  28525. },
  28526. "goodsname": {
  28527. "description": "商品名称",
  28528. "type": "string"
  28529. },
  28530. "goodunitid": {
  28531. "description": "商品单位id",
  28532. "type": "integer"
  28533. },
  28534. "marketid": {
  28535. "description": "市场ID",
  28536. "type": "integer"
  28537. },
  28538. "offamount": {
  28539. "description": "优惠金额",
  28540. "type": "number"
  28541. },
  28542. "operatetype": {
  28543. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28544. "type": "integer"
  28545. },
  28546. "payamount": {
  28547. "description": "支付金额",
  28548. "type": "number"
  28549. },
  28550. "payflag": {
  28551. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28552. "type": "integer"
  28553. },
  28554. "paylimitedtime": {
  28555. "description": "支付期限",
  28556. "type": "string"
  28557. },
  28558. "paytime": {
  28559. "description": "付款时间",
  28560. "type": "string"
  28561. },
  28562. "qtydecimalplace": {
  28563. "description": "成交量小数位",
  28564. "type": "integer"
  28565. },
  28566. "sellaccountid": {
  28567. "description": "卖方账号ID[报价币种]",
  28568. "type": "integer"
  28569. },
  28570. "sellorderid": {
  28571. "description": "卖方委托单号",
  28572. "type": "string"
  28573. },
  28574. "tradeamount": {
  28575. "description": "成交金额(优惠后金额)",
  28576. "type": "number"
  28577. },
  28578. "tradecharge": {
  28579. "description": "成交手续费(买方)",
  28580. "type": "number"
  28581. },
  28582. "tradedate": {
  28583. "description": "交易日(yyyyMMdd)",
  28584. "type": "string"
  28585. },
  28586. "tradeid": {
  28587. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28588. "type": "string"
  28589. },
  28590. "tradeprice": {
  28591. "description": "成交价格",
  28592. "type": "number"
  28593. },
  28594. "tradeqty": {
  28595. "description": "成交数量",
  28596. "type": "number"
  28597. }
  28598. }
  28599. },
  28600. "models.QhjPickArea": {
  28601. "type": "object",
  28602. "properties": {
  28603. "address": {
  28604. "description": "详细地址",
  28605. "type": "string"
  28606. },
  28607. "cityid": {
  28608. "description": "市",
  28609. "type": "integer"
  28610. },
  28611. "cityname": {
  28612. "description": "城市名称",
  28613. "type": "string"
  28614. },
  28615. "countryid": {
  28616. "description": "国家",
  28617. "type": "integer"
  28618. },
  28619. "countryname": {
  28620. "description": "国家名称",
  28621. "type": "string"
  28622. },
  28623. "districtid": {
  28624. "description": "地区",
  28625. "type": "integer"
  28626. },
  28627. "districtname": {
  28628. "description": "地区名称",
  28629. "type": "string"
  28630. },
  28631. "fromuserid": {
  28632. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28633. "type": "integer"
  28634. },
  28635. "fromusername": {
  28636. "description": "所属机构名称",
  28637. "type": "string"
  28638. },
  28639. "provinceid": {
  28640. "description": "省",
  28641. "type": "integer"
  28642. },
  28643. "provincename": {
  28644. "description": "省名称",
  28645. "type": "string"
  28646. },
  28647. "suborgtype": {
  28648. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28649. "type": "integer"
  28650. },
  28651. "userid": {
  28652. "description": "机构用户ID 其他做市关系,都设置为 1",
  28653. "type": "integer"
  28654. },
  28655. "username": {
  28656. "description": "机构用户名称(门店门称)",
  28657. "type": "string"
  28658. }
  28659. }
  28660. },
  28661. "models.QhjPickGoods": {
  28662. "type": "object",
  28663. "properties": {
  28664. "enumdicname": {
  28665. "description": "单位名称(提货商品)",
  28666. "type": "string"
  28667. },
  28668. "goodsid": {
  28669. "description": "商品id",
  28670. "type": "integer"
  28671. },
  28672. "imageaddress": {
  28673. "description": "图片",
  28674. "type": "string"
  28675. },
  28676. "modifierid": {
  28677. "description": "修改人",
  28678. "type": "integer"
  28679. },
  28680. "modifiername": {
  28681. "description": "修改人名称",
  28682. "type": "string"
  28683. },
  28684. "modifysrc": {
  28685. "description": "修改来源 - 1:管理端 2:终端",
  28686. "type": "integer"
  28687. },
  28688. "pickupgoodsagreeunit": {
  28689. "description": "合约乘数",
  28690. "type": "number"
  28691. },
  28692. "pickupgoodsdesc": {
  28693. "description": "描述",
  28694. "type": "string"
  28695. },
  28696. "pickupgoodsid": {
  28697. "description": "提货商品ID",
  28698. "type": "string"
  28699. },
  28700. "pickupgoodsname": {
  28701. "description": "提货商品名称",
  28702. "type": "string"
  28703. },
  28704. "pickupgoodsstatus": {
  28705. "description": "状态 - 1:正常 2:停用 3:注销",
  28706. "type": "integer"
  28707. },
  28708. "pickupgoodsunitid": {
  28709. "description": "单位ID",
  28710. "type": "integer"
  28711. },
  28712. "pickupratio": {
  28713. "description": "提货系数",
  28714. "type": "number"
  28715. },
  28716. "preparedays": {
  28717. "description": "备货期(天)",
  28718. "type": "integer"
  28719. },
  28720. "remark": {
  28721. "description": "备注",
  28722. "type": "string"
  28723. },
  28724. "updatetime": {
  28725. "description": "更新时间",
  28726. "type": "string"
  28727. }
  28728. }
  28729. },
  28730. "models.QhjRSTriggerLog": {
  28731. "type": "object",
  28732. "properties": {
  28733. "accountid": {
  28734. "description": "用户资金账户",
  28735. "type": "integer"
  28736. },
  28737. "accountname": {
  28738. "description": "账号名称(ACCOUNTID对应的名称)",
  28739. "type": "string"
  28740. },
  28741. "currencyid": {
  28742. "description": "币种id",
  28743. "type": "integer"
  28744. },
  28745. "currencyname": {
  28746. "description": "币种名称",
  28747. "type": "string"
  28748. },
  28749. "decimalplace": {
  28750. "description": "商品报价小数位",
  28751. "type": "integer"
  28752. },
  28753. "enumdicname": {
  28754. "description": "单位名称",
  28755. "type": "string"
  28756. },
  28757. "goodscode": {
  28758. "description": "定投商品代码",
  28759. "type": "string"
  28760. },
  28761. "goodsid": {
  28762. "description": "定投商品ID",
  28763. "type": "integer"
  28764. },
  28765. "goodsname": {
  28766. "description": "定投商品名称",
  28767. "type": "string"
  28768. },
  28769. "goodunitid": {
  28770. "description": "定投商品单位id",
  28771. "type": "integer"
  28772. },
  28773. "logid": {
  28774. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28775. "type": "string"
  28776. },
  28777. "logincode": {
  28778. "description": "账号(登录代码)",
  28779. "type": "string"
  28780. },
  28781. "qtydecimalplace": {
  28782. "description": "成交量小数位",
  28783. "type": "integer"
  28784. },
  28785. "regularlycycle": {
  28786. "description": "定投频率 - 1:每周 2:每月",
  28787. "type": "integer"
  28788. },
  28789. "regularlycyclevalue": {
  28790. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28791. "type": "string"
  28792. },
  28793. "regularlymode": {
  28794. "description": "定投方式 - 1:按数量 2:按金额",
  28795. "type": "integer"
  28796. },
  28797. "regularlymodevalue": {
  28798. "description": "定投方式值 - 数量或金额",
  28799. "type": "number"
  28800. },
  28801. "regularlystrategyid": {
  28802. "description": "定投策略ID",
  28803. "type": "integer"
  28804. },
  28805. "retcode": {
  28806. "description": "错误码",
  28807. "type": "string"
  28808. },
  28809. "tradeid": {
  28810. "description": "成交单ID",
  28811. "type": "string"
  28812. },
  28813. "triggeramount": {
  28814. "description": "触发金额",
  28815. "type": "number"
  28816. },
  28817. "triggerqty": {
  28818. "description": "触发数量",
  28819. "type": "number"
  28820. },
  28821. "triggerstatus": {
  28822. "description": "触发状态 - 1:成功 2:失败",
  28823. "type": "integer"
  28824. },
  28825. "triggertime": {
  28826. "description": "触发时间",
  28827. "type": "string"
  28828. },
  28829. "triggertradedate": {
  28830. "description": "触发交易日",
  28831. "type": "string"
  28832. },
  28833. "userid": {
  28834. "description": "所属用户ID",
  28835. "type": "integer"
  28836. },
  28837. "userinfotype": {
  28838. "description": "用户类型 1-个人 2-企业",
  28839. "type": "integer"
  28840. },
  28841. "username": {
  28842. "description": "用户名称(userid对应的名称)",
  28843. "type": "string"
  28844. }
  28845. }
  28846. },
  28847. "models.QhjRStrategy": {
  28848. "type": "object",
  28849. "properties": {
  28850. "accountid": {
  28851. "description": "用户资金账户",
  28852. "type": "integer"
  28853. },
  28854. "accountname": {
  28855. "description": "账号名称(ACCOUNTID对应的名称)",
  28856. "type": "string"
  28857. },
  28858. "currencyid": {
  28859. "description": "币种id",
  28860. "type": "integer"
  28861. },
  28862. "currencyname": {
  28863. "description": "币种名称",
  28864. "type": "string"
  28865. },
  28866. "decimalplace": {
  28867. "description": "商品报价小数位",
  28868. "type": "integer"
  28869. },
  28870. "enumdicname": {
  28871. "description": "单位名称",
  28872. "type": "string"
  28873. },
  28874. "goodscode": {
  28875. "description": "定投商品代码",
  28876. "type": "string"
  28877. },
  28878. "goodsid": {
  28879. "description": "定投商品ID",
  28880. "type": "integer"
  28881. },
  28882. "goodsname": {
  28883. "description": "定投商品名称",
  28884. "type": "string"
  28885. },
  28886. "goodunitid": {
  28887. "description": "定投商品单位id",
  28888. "type": "integer"
  28889. },
  28890. "lasteffecttradedate": {
  28891. "description": "最新生效交易日",
  28892. "type": "string"
  28893. },
  28894. "laststoptradedate": {
  28895. "description": "最新暂停交易日",
  28896. "type": "string"
  28897. },
  28898. "lasttriggertradedate": {
  28899. "description": "最新触发交易日",
  28900. "type": "string"
  28901. },
  28902. "logincode": {
  28903. "description": "账号(登录代码)",
  28904. "type": "string"
  28905. },
  28906. "nexttriggeramount": {
  28907. "description": "下次触发金额",
  28908. "type": "number"
  28909. },
  28910. "nexttriggerdate": {
  28911. "description": "下次触发日期",
  28912. "type": "string"
  28913. },
  28914. "nexttriggerqty": {
  28915. "description": "下次触发数量 [按小数位放大值]",
  28916. "type": "number"
  28917. },
  28918. "qtydecimalplace": {
  28919. "description": "成交量小数位",
  28920. "type": "integer"
  28921. },
  28922. "regularlycycle": {
  28923. "description": "定投频率 - 1:每周 2:每月",
  28924. "type": "integer"
  28925. },
  28926. "regularlycyclevalue": {
  28927. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28928. "type": "string"
  28929. },
  28930. "regularlymode": {
  28931. "description": "定投方式 - 1:按数量 2:按金额",
  28932. "type": "integer"
  28933. },
  28934. "regularlymodevalue": {
  28935. "description": "定投方式值 - 数量或金额",
  28936. "type": "number"
  28937. },
  28938. "regularlystrategyid": {
  28939. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28940. "type": "integer"
  28941. },
  28942. "regularlystrategystatus": {
  28943. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28944. "type": "integer"
  28945. },
  28946. "remark": {
  28947. "description": "备注",
  28948. "type": "string"
  28949. },
  28950. "triggersuccesstimes": {
  28951. "description": "累计定投成功次数",
  28952. "type": "string"
  28953. },
  28954. "triggertotalamount": {
  28955. "description": "累计定投金额(成功)",
  28956. "type": "number"
  28957. },
  28958. "triggertotalqty": {
  28959. "description": "累计定投数量(成功) [按小数位放大值]",
  28960. "type": "number"
  28961. },
  28962. "triggertotaltimes": {
  28963. "description": "累计定投总次数",
  28964. "type": "string"
  28965. },
  28966. "updatesrc": {
  28967. "description": "更新来源 - 1:管理端 2:终端",
  28968. "type": "integer"
  28969. },
  28970. "updatetime": {
  28971. "description": "更新时间",
  28972. "type": "string"
  28973. },
  28974. "updatorid": {
  28975. "description": "更新人",
  28976. "type": "string"
  28977. },
  28978. "userid": {
  28979. "description": "所属用户ID",
  28980. "type": "integer"
  28981. },
  28982. "userinfotype": {
  28983. "description": "用户类型 1-个人 2-企业",
  28984. "type": "integer"
  28985. },
  28986. "username": {
  28987. "description": "用户名称(userid对应的名称)",
  28988. "type": "string"
  28989. }
  28990. }
  28991. },
  28992. "models.QhjReckonPriceLog": {
  28993. "type": "object",
  28994. "properties": {
  28995. "decimalplace": {
  28996. "description": "商品报价小数位",
  28997. "type": "integer"
  28998. },
  28999. "goodscode": {
  29000. "description": "商品代码",
  29001. "type": "string"
  29002. },
  29003. "goodsid": {
  29004. "description": "商品ID",
  29005. "type": "integer"
  29006. },
  29007. "goodsname": {
  29008. "description": "商品名称",
  29009. "type": "string"
  29010. },
  29011. "lastreckonprice": {
  29012. "description": "上日结算价",
  29013. "type": "number"
  29014. },
  29015. "nextdnlimitprice": {
  29016. "description": "下个交易日跌停价",
  29017. "type": "number"
  29018. },
  29019. "nexttrade": {
  29020. "description": "下个交易日",
  29021. "type": "string"
  29022. },
  29023. "nextuplimitprice": {
  29024. "description": "下个交易日涨停价",
  29025. "type": "number"
  29026. },
  29027. "reckonprice": {
  29028. "description": "今日结算价(定投价)",
  29029. "type": "number"
  29030. },
  29031. "reckontime": {
  29032. "description": "结算时间",
  29033. "type": "string"
  29034. },
  29035. "totalholderqty": {
  29036. "description": "总持仓数",
  29037. "type": "integer"
  29038. },
  29039. "totalstock": {
  29040. "description": "总库存",
  29041. "type": "integer"
  29042. },
  29043. "tradedate": {
  29044. "description": "交易日",
  29045. "type": "string"
  29046. },
  29047. "updowncount": {
  29048. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  29049. "type": "integer"
  29050. },
  29051. "updownflag": {
  29052. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  29053. "type": "integer"
  29054. },
  29055. "updownrate": {
  29056. "description": "今日涨跌幅",
  29057. "type": "number"
  29058. },
  29059. "updownrate_2d": {
  29060. "description": "连续两日涨跌幅",
  29061. "type": "number"
  29062. },
  29063. "updownrate_3d": {
  29064. "description": "连续三日涨跌幅",
  29065. "type": "number"
  29066. }
  29067. }
  29068. },
  29069. "models.QhjScoreLog": {
  29070. "type": "object",
  29071. "properties": {
  29072. "accountid": {
  29073. "description": "账户ID",
  29074. "type": "integer"
  29075. },
  29076. "createtime": {
  29077. "description": "创建时间(时间)",
  29078. "type": "string"
  29079. },
  29080. "goodsid": {
  29081. "description": "商品ID",
  29082. "type": "integer"
  29083. },
  29084. "hasuploaded": {
  29085. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  29086. "type": "integer"
  29087. },
  29088. "logid": {
  29089. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29090. "type": "string"
  29091. },
  29092. "marketid": {
  29093. "description": "市场ID",
  29094. "type": "integer"
  29095. },
  29096. "relatedamount": {
  29097. "description": "关联金额",
  29098. "type": "number"
  29099. },
  29100. "relatedorderid": {
  29101. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  29102. "type": "string"
  29103. },
  29104. "scoreconfigvalue1": {
  29105. "description": "积分配置1",
  29106. "type": "integer"
  29107. },
  29108. "scoreconfigvalue2": {
  29109. "description": "积分配置1",
  29110. "type": "integer"
  29111. },
  29112. "scoretype": {
  29113. "description": "积分类型 - 1:提货积分",
  29114. "type": "integer"
  29115. },
  29116. "scorevalue": {
  29117. "description": "积分",
  29118. "type": "number"
  29119. },
  29120. "tradedate": {
  29121. "description": "交易日(yyyyMMdd)",
  29122. "type": "string"
  29123. },
  29124. "uploadedtime": {
  29125. "description": "同步时间",
  29126. "type": "string"
  29127. },
  29128. "userid": {
  29129. "description": "用户ID",
  29130. "type": "integer"
  29131. }
  29132. }
  29133. },
  29134. "models.QhjSiteColumnDetail": {
  29135. "type": "object",
  29136. "properties": {
  29137. "author": {
  29138. "description": "作者",
  29139. "type": "string"
  29140. },
  29141. "brief": {
  29142. "description": "简介",
  29143. "type": "string"
  29144. },
  29145. "columnid": {
  29146. "description": "所属栏目",
  29147. "type": "integer"
  29148. },
  29149. "context": {
  29150. "description": "内容",
  29151. "type": "string"
  29152. },
  29153. "coverimage": {
  29154. "description": "封面图片",
  29155. "type": "string"
  29156. },
  29157. "creaedate": {
  29158. "description": "创建时间",
  29159. "type": "string"
  29160. },
  29161. "creatorid": {
  29162. "description": "创建人",
  29163. "type": "integer"
  29164. },
  29165. "hits": {
  29166. "description": "点击数",
  29167. "type": "integer"
  29168. },
  29169. "id": {
  29170. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  29171. "type": "integer"
  29172. },
  29173. "isshow": {
  29174. "description": "是否展示 - 0:不展示 1:展示",
  29175. "type": "integer"
  29176. },
  29177. "istop": {
  29178. "description": "是否置顶 - 0:不置 1:置顶",
  29179. "type": "integer"
  29180. },
  29181. "modifierid": {
  29182. "description": "操作人",
  29183. "type": "integer"
  29184. },
  29185. "publishdate": {
  29186. "description": "发布日期",
  29187. "type": "string"
  29188. },
  29189. "status": {
  29190. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  29191. "type": "integer"
  29192. },
  29193. "title": {
  29194. "description": "标题",
  29195. "type": "string"
  29196. },
  29197. "updatedate": {
  29198. "description": "修改时间",
  29199. "type": "string"
  29200. },
  29201. "userid": {
  29202. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  29203. "type": "integer"
  29204. },
  29205. "username": {
  29206. "description": "用户名称",
  29207. "type": "string"
  29208. }
  29209. }
  29210. },
  29211. "models.QhjTeamOrder": {
  29212. "type": "object",
  29213. "properties": {
  29214. "accountid": {
  29215. "description": "账户ID[报价币种]",
  29216. "type": "integer"
  29217. },
  29218. "accountname": {
  29219. "description": "账户名称",
  29220. "type": "string"
  29221. },
  29222. "agreeunit": {
  29223. "description": "合约乘数",
  29224. "type": "number"
  29225. },
  29226. "buyorsell": {
  29227. "description": "方向 - 0:买 1:卖",
  29228. "type": "integer"
  29229. },
  29230. "decimalplace": {
  29231. "description": "报价小数位",
  29232. "type": "integer"
  29233. },
  29234. "enumdicname": {
  29235. "description": "单位名称",
  29236. "type": "string"
  29237. },
  29238. "goodscode": {
  29239. "description": "商品代码(内部)",
  29240. "type": "string"
  29241. },
  29242. "goodsid": {
  29243. "description": "商品ID",
  29244. "type": "integer"
  29245. },
  29246. "goodsname": {
  29247. "description": "商品名称",
  29248. "type": "string"
  29249. },
  29250. "goodunitid": {
  29251. "description": "报价单位ID",
  29252. "type": "integer"
  29253. },
  29254. "marketid": {
  29255. "description": "市场ID",
  29256. "type": "integer"
  29257. },
  29258. "marketname": {
  29259. "description": "市场名称",
  29260. "type": "string"
  29261. },
  29262. "qtydecimalplace": {
  29263. "description": "成交量小数位",
  29264. "type": "integer"
  29265. },
  29266. "refereeuserid": {
  29267. "description": "推荐人ID",
  29268. "type": "integer"
  29269. },
  29270. "tradeamount": {
  29271. "description": "成交金额[账户币种,用于所有权]",
  29272. "type": "number"
  29273. },
  29274. "tradedate": {
  29275. "description": "交易日(yyyyMMdd)",
  29276. "type": "string"
  29277. },
  29278. "trademode": {
  29279. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29280. "type": "integer"
  29281. },
  29282. "tradeprice": {
  29283. "description": "成交价格",
  29284. "type": "number"
  29285. },
  29286. "tradeqty": {
  29287. "description": "成交数量",
  29288. "type": "number"
  29289. },
  29290. "tradetime": {
  29291. "description": "成交时间",
  29292. "type": "string"
  29293. },
  29294. "userid": {
  29295. "description": "用户ID",
  29296. "type": "integer"
  29297. }
  29298. }
  29299. },
  29300. "models.QhjTradeGoodsPickup": {
  29301. "type": "object",
  29302. "properties": {
  29303. "accountid": {
  29304. "description": "账户ID",
  29305. "type": "integer"
  29306. },
  29307. "address": {
  29308. "description": "提货人详细地址",
  29309. "type": "string"
  29310. },
  29311. "amount": {
  29312. "description": "提货金额",
  29313. "type": "number"
  29314. },
  29315. "artradedate": {
  29316. "description": "自动收货交易日(yyyyMMdd)",
  29317. "type": "string"
  29318. },
  29319. "auditer": {
  29320. "description": "审核人",
  29321. "type": "integer"
  29322. },
  29323. "auditsrc": {
  29324. "description": "更新来源 - 1:管理端 2:终端",
  29325. "type": "integer"
  29326. },
  29327. "audittime": {
  29328. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  29329. "type": "string"
  29330. },
  29331. "audittradedate": {
  29332. "description": "审核交易日(yyyyMMdd)",
  29333. "type": "string"
  29334. },
  29335. "cardnum": {
  29336. "description": "提货人证件号码",
  29337. "type": "string"
  29338. },
  29339. "cardtypeid": {
  29340. "description": "提货人证件类型",
  29341. "type": "integer"
  29342. },
  29343. "checkremark": {
  29344. "description": "审核备注",
  29345. "type": "string"
  29346. },
  29347. "cityid": {
  29348. "description": "市",
  29349. "type": "integer"
  29350. },
  29351. "cityname": {
  29352. "description": "城市名称",
  29353. "type": "string"
  29354. },
  29355. "confirmtime": {
  29356. "description": "取货时间 或 收货时间",
  29357. "type": "string"
  29358. },
  29359. "countryid": {
  29360. "description": "国家",
  29361. "type": "integer"
  29362. },
  29363. "countryname": {
  29364. "description": "国家名称",
  29365. "type": "string"
  29366. },
  29367. "decimalplace": {
  29368. "description": "商品报价小数位",
  29369. "type": "integer"
  29370. },
  29371. "districtid": {
  29372. "description": "地区",
  29373. "type": "integer"
  29374. },
  29375. "districtname": {
  29376. "description": "地区名称",
  29377. "type": "string"
  29378. },
  29379. "enumdicname": {
  29380. "description": "单位名称(提货商品)",
  29381. "type": "string"
  29382. },
  29383. "expresscompany": {
  29384. "description": "物流公司",
  29385. "type": "string"
  29386. },
  29387. "expressnum": {
  29388. "description": "物流单号",
  29389. "type": "string"
  29390. },
  29391. "goodsagreeunit": {
  29392. "description": "交易商品乘数",
  29393. "type": "number"
  29394. },
  29395. "goodscode": {
  29396. "description": "商品代码",
  29397. "type": "string"
  29398. },
  29399. "goodsid": {
  29400. "description": "商品ID",
  29401. "type": "integer"
  29402. },
  29403. "goodsname": {
  29404. "description": "商品名称",
  29405. "type": "string"
  29406. },
  29407. "goodsqty": {
  29408. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  29409. "type": "number"
  29410. },
  29411. "handlestatus": {
  29412. "description": "处理状态",
  29413. "type": "integer"
  29414. },
  29415. "logincode": {
  29416. "description": "账号(登录代码, 有可能为空)",
  29417. "type": "string"
  29418. },
  29419. "marketid": {
  29420. "description": "市场ID",
  29421. "type": "integer"
  29422. },
  29423. "phonenum": {
  29424. "description": "提货人联系方式",
  29425. "type": "string"
  29426. },
  29427. "pickupgoodsagreeunit": {
  29428. "description": "提货商品合约乘数",
  29429. "type": "number"
  29430. },
  29431. "pickupgoodsid": {
  29432. "description": "提货商品ID",
  29433. "type": "string"
  29434. },
  29435. "pickupgoodsname": {
  29436. "description": "提货商品名称",
  29437. "type": "string"
  29438. },
  29439. "pickupgoodsqty": {
  29440. "description": "提货商品手数(数量)",
  29441. "type": "number"
  29442. },
  29443. "pickupgoodsunitid": {
  29444. "description": "单位ID(提货商品)",
  29445. "type": "integer"
  29446. },
  29447. "pickupratio": {
  29448. "description": "提货系数",
  29449. "type": "number"
  29450. },
  29451. "preparedays": {
  29452. "description": "备货期(天)-提货单明细表",
  29453. "type": "integer"
  29454. },
  29455. "provinceid": {
  29456. "description": "省",
  29457. "type": "integer"
  29458. },
  29459. "provincename": {
  29460. "description": "省名称",
  29461. "type": "string"
  29462. },
  29463. "qty": {
  29464. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  29465. "type": "number"
  29466. },
  29467. "qtydecimalplace": {
  29468. "description": "商品数量小数位",
  29469. "type": "integer"
  29470. },
  29471. "recivername": {
  29472. "description": "提货人姓名",
  29473. "type": "string"
  29474. },
  29475. "reqtime": {
  29476. "description": "提货申请时间",
  29477. "type": "string"
  29478. },
  29479. "storeuserid": {
  29480. "description": "门店用户ID (千海金)",
  29481. "type": "integer"
  29482. },
  29483. "storeusername": {
  29484. "description": "门店用户名称",
  29485. "type": "string"
  29486. },
  29487. "takemode": {
  29488. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  29489. "type": "integer"
  29490. },
  29491. "takeorderid": {
  29492. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29493. "type": "string"
  29494. },
  29495. "takeorderstatus": {
  29496. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  29497. "type": "integer"
  29498. },
  29499. "takeremark": {
  29500. "description": "提货备注",
  29501. "type": "string"
  29502. },
  29503. "tradedate": {
  29504. "description": "交易日(yyyyMMdd)",
  29505. "type": "string"
  29506. },
  29507. "updatetime": {
  29508. "description": "更新时间",
  29509. "type": "string"
  29510. },
  29511. "userid": {
  29512. "description": "用户ID",
  29513. "type": "integer"
  29514. },
  29515. "userinfotype": {
  29516. "description": "客户类型 1-个人 2-企业",
  29517. "type": "integer"
  29518. },
  29519. "username": {
  29520. "description": "用户名称",
  29521. "type": "string"
  29522. }
  29523. }
  29524. },
  29525. "models.QhjUserNodeCfgAndStatus": {
  29526. "type": "object",
  29527. "properties": {
  29528. "agreementcontent": {
  29529. "description": "协议内容",
  29530. "type": "string"
  29531. },
  29532. "agreementid": {
  29533. "description": "协议ID",
  29534. "type": "integer"
  29535. },
  29536. "agreementname": {
  29537. "description": "协议名称",
  29538. "type": "string"
  29539. },
  29540. "agreementno": {
  29541. "description": "协议编号",
  29542. "type": "string"
  29543. },
  29544. "agreementtype": {
  29545. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29546. "type": "integer"
  29547. },
  29548. "agreementversion": {
  29549. "description": "协议版本号",
  29550. "type": "integer"
  29551. },
  29552. "configid": {
  29553. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29554. "type": "integer"
  29555. },
  29556. "createtime": {
  29557. "description": "创建时间",
  29558. "type": "string"
  29559. },
  29560. "goodsid": {
  29561. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29562. "type": "integer"
  29563. },
  29564. "nodetype": {
  29565. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29566. "type": "integer"
  29567. },
  29568. "signtimestamp": {
  29569. "description": "签约状态时间戳(最近一次)",
  29570. "type": "string"
  29571. },
  29572. "tradedate": {
  29573. "description": "签约交易日(yyyyMMdd)",
  29574. "type": "string"
  29575. },
  29576. "userid": {
  29577. "description": "客户ID",
  29578. "type": "integer"
  29579. }
  29580. }
  29581. },
  29582. "models.Qhjgoodsex": {
  29583. "type": "object",
  29584. "properties": {
  29585. "canfinance": {
  29586. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29587. "type": "integer"
  29588. },
  29589. "canregularlybuy": {
  29590. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29591. "type": "integer"
  29592. },
  29593. "defaulttradeuserid": {
  29594. "description": "默认交易用户ID",
  29595. "type": "integer"
  29596. },
  29597. "deliverygoodsid": {
  29598. "description": "现货品种ID",
  29599. "type": "integer"
  29600. },
  29601. "goodsid": {
  29602. "description": "商品ID(自增ID SEQ_GOODS)",
  29603. "type": "integer"
  29604. },
  29605. "minamount": {
  29606. "description": "最小购买金额",
  29607. "type": "number"
  29608. },
  29609. "regularlybuyminamount": {
  29610. "description": "定投最小金额",
  29611. "type": "number"
  29612. },
  29613. "regularlybuyminqty": {
  29614. "description": "定投最小数量",
  29615. "type": "number"
  29616. },
  29617. "spotgoodsbrandid": {
  29618. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29619. "type": "integer"
  29620. },
  29621. "visibilityforenterprise": {
  29622. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29623. "type": "integer"
  29624. },
  29625. "visibilityforpersonal": {
  29626. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29627. "type": "integer"
  29628. },
  29629. "wrstandardid": {
  29630. "description": "现货商品ID",
  29631. "type": "integer"
  29632. }
  29633. }
  29634. },
  29635. "models.QueryErrorInfosRsp": {
  29636. "type": "object",
  29637. "required": [
  29638. "errorid"
  29639. ],
  29640. "properties": {
  29641. "description": {
  29642. "description": "异常描述",
  29643. "type": "string"
  29644. },
  29645. "errorcode": {
  29646. "description": "异常代码",
  29647. "type": "string"
  29648. },
  29649. "errorid": {
  29650. "description": "异常ID",
  29651. "type": "integer"
  29652. },
  29653. "modulecode": {
  29654. "description": "所属模块",
  29655. "type": "string"
  29656. },
  29657. "operatecode": {
  29658. "description": "所属操作",
  29659. "type": "string"
  29660. },
  29661. "rownumber": {
  29662. "description": "行号",
  29663. "type": "string"
  29664. }
  29665. }
  29666. },
  29667. "models.QueryHedgeOrderDetailRsp": {
  29668. "type": "object",
  29669. "properties": {
  29670. "accountid": {
  29671. "description": "账户ID",
  29672. "type": "integer"
  29673. },
  29674. "buyorsell": {
  29675. "description": "买卖 - 0:买 1:卖",
  29676. "type": "integer"
  29677. },
  29678. "cancellogincode": {
  29679. "description": "撤单人",
  29680. "type": "string"
  29681. },
  29682. "channelbuildtype": {
  29683. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29684. "type": "integer"
  29685. },
  29686. "channelinnerorderstatus": {
  29687. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29688. "type": "integer"
  29689. },
  29690. "channeloperatetype": {
  29691. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29692. "type": "integer"
  29693. },
  29694. "closetype": {
  29695. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29696. "type": "integer"
  29697. },
  29698. "curexchangerate": {
  29699. "description": "当前汇率",
  29700. "type": "number"
  29701. },
  29702. "exchangefullname": {
  29703. "description": "外部交易所全称",
  29704. "type": "string"
  29705. },
  29706. "goodscode": {
  29707. "description": "商品代码(内部)",
  29708. "type": "string"
  29709. },
  29710. "goodsid": {
  29711. "description": "商品ID",
  29712. "type": "integer"
  29713. },
  29714. "goodsname": {
  29715. "description": "商品名称",
  29716. "type": "string"
  29717. },
  29718. "marketid": {
  29719. "description": "市场ID",
  29720. "type": "integer"
  29721. },
  29722. "openfreezemargin": {
  29723. "description": "冻结保证金(冻结交易金额)",
  29724. "type": "number"
  29725. },
  29726. "orderid": {
  29727. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29728. "type": "string"
  29729. },
  29730. "orderlogincode": {
  29731. "description": "委托人",
  29732. "type": "string"
  29733. },
  29734. "orderprice": {
  29735. "description": "委托价格(账户)",
  29736. "type": "number"
  29737. },
  29738. "orderqty": {
  29739. "description": "委托数量",
  29740. "type": "integer"
  29741. },
  29742. "ordertime": {
  29743. "description": "委托时间",
  29744. "type": "string"
  29745. },
  29746. "pricemode": {
  29747. "description": "取价方式 - 1:市价 2: 限价",
  29748. "type": "integer"
  29749. },
  29750. "tradedate": {
  29751. "description": "交易日(yyyyMMdd)",
  29752. "type": "string"
  29753. },
  29754. "tradeqty": {
  29755. "description": "成交数量",
  29756. "type": "integer"
  29757. }
  29758. }
  29759. },
  29760. "models.QueryHedgeTradeDetailRsp": {
  29761. "type": "object",
  29762. "properties": {
  29763. "accountid": {
  29764. "description": "账号ID",
  29765. "type": "integer"
  29766. },
  29767. "buyorsell": {
  29768. "description": "方向 - 0:买 1:卖",
  29769. "type": "integer"
  29770. },
  29771. "channelbuildtype": {
  29772. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29773. "type": "integer"
  29774. },
  29775. "closecharge": {
  29776. "description": "平仓手续费(账户)",
  29777. "type": "number"
  29778. },
  29779. "closecharge2": {
  29780. "description": "平仓手续费(商品)",
  29781. "type": "number"
  29782. },
  29783. "closepl": {
  29784. "description": "平仓盈亏(账户)",
  29785. "type": "number"
  29786. },
  29787. "closepl2": {
  29788. "description": "平仓盈亏(商品)",
  29789. "type": "number"
  29790. },
  29791. "closepl3": {
  29792. "description": "平仓盈亏(账户)(逐笔)",
  29793. "type": "number"
  29794. },
  29795. "closepl4": {
  29796. "description": "平仓盈亏(商品)(逐笔)",
  29797. "type": "number"
  29798. },
  29799. "closetype": {
  29800. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29801. "type": "integer"
  29802. },
  29803. "curexchangerate": {
  29804. "description": "当前汇率",
  29805. "type": "number"
  29806. },
  29807. "exchangefullname": {
  29808. "description": "外部交易所全称",
  29809. "type": "string"
  29810. },
  29811. "goodscode": {
  29812. "description": "商品代码(内部)",
  29813. "type": "string"
  29814. },
  29815. "goodsid": {
  29816. "description": "商品ID",
  29817. "type": "integer"
  29818. },
  29819. "goodsname": {
  29820. "description": "商品名称",
  29821. "type": "string"
  29822. },
  29823. "marketid": {
  29824. "description": "市场ID",
  29825. "type": "integer"
  29826. },
  29827. "opencharge": {
  29828. "description": "建仓手续费(账户)",
  29829. "type": "number"
  29830. },
  29831. "opencharge2": {
  29832. "description": "建仓手续费(商品)",
  29833. "type": "number"
  29834. },
  29835. "orderid": {
  29836. "description": "委托单号",
  29837. "type": "string"
  29838. },
  29839. "orderlogincode": {
  29840. "description": "委托人",
  29841. "type": "string"
  29842. },
  29843. "tradeamount": {
  29844. "description": "成交金额(账户)",
  29845. "type": "number"
  29846. },
  29847. "tradedate": {
  29848. "description": "交易日(yyyyMMdd)",
  29849. "type": "string"
  29850. },
  29851. "tradeid": {
  29852. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29853. "type": "string"
  29854. },
  29855. "tradeprice": {
  29856. "description": "成交价格",
  29857. "type": "number"
  29858. },
  29859. "tradeqty": {
  29860. "description": "成交数量",
  29861. "type": "integer"
  29862. },
  29863. "tradetime": {
  29864. "description": "成交时间",
  29865. "type": "string"
  29866. },
  29867. "tradetype": {
  29868. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29869. "type": "integer"
  29870. }
  29871. }
  29872. },
  29873. "models.QuotePrimaryMenu": {
  29874. "type": "object",
  29875. "properties": {
  29876. "Index": {
  29877. "description": "序号",
  29878. "type": "integer"
  29879. },
  29880. "Key": {
  29881. "description": "键名",
  29882. "type": "string"
  29883. },
  29884. "Name": {
  29885. "description": "菜单名称",
  29886. "type": "string"
  29887. },
  29888. "SubMenus": {
  29889. "description": "子菜单",
  29890. "type": "array",
  29891. "items": {
  29892. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29893. }
  29894. },
  29895. "SubTitleType": {
  29896. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29897. "type": "integer"
  29898. },
  29899. "TradeModes": {
  29900. "description": "包含市场交易类型",
  29901. "type": "string"
  29902. }
  29903. }
  29904. },
  29905. "models.QuoteSecondaryMenu": {
  29906. "type": "object",
  29907. "properties": {
  29908. "ExExchangeCode": {
  29909. "description": "外部交易所代码",
  29910. "type": "string"
  29911. },
  29912. "ExExchangeID": {
  29913. "description": "外部交易所ID",
  29914. "type": "integer"
  29915. },
  29916. "GoodsGroupIDs": {
  29917. "description": "商品组ID列表",
  29918. "type": "array",
  29919. "items": {
  29920. "type": "integer"
  29921. }
  29922. },
  29923. "Index": {
  29924. "description": "序号",
  29925. "type": "integer"
  29926. },
  29927. "MarketID": {
  29928. "description": "市场ID",
  29929. "type": "integer"
  29930. },
  29931. "MenuTitle": {
  29932. "description": "菜单标题(市场名称或外部交易所名称)",
  29933. "type": "string"
  29934. },
  29935. "TradeMode": {
  29936. "description": "交易模式",
  29937. "type": "integer"
  29938. }
  29939. }
  29940. },
  29941. "models.RoleMenu": {
  29942. "type": "object",
  29943. "properties": {
  29944. "hasright": {
  29945. "description": "是否有权限 0-没有权限 1-有权限",
  29946. "type": "integer"
  29947. },
  29948. "iconame": {
  29949. "description": "菜单图标",
  29950. "type": "string"
  29951. },
  29952. "menutype": {
  29953. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29954. "type": "integer"
  29955. },
  29956. "parentcode": {
  29957. "description": "上级资源代码",
  29958. "type": "string"
  29959. },
  29960. "remark": {
  29961. "description": "菜单备注",
  29962. "type": "string"
  29963. },
  29964. "resourcecode": {
  29965. "description": "菜单代码",
  29966. "type": "string"
  29967. },
  29968. "resourcelevel": {
  29969. "description": "级别",
  29970. "type": "integer"
  29971. },
  29972. "resourcename": {
  29973. "description": "菜单名称",
  29974. "type": "string"
  29975. },
  29976. "roleid": {
  29977. "description": "角色id",
  29978. "type": "integer"
  29979. },
  29980. "sort": {
  29981. "description": "排序",
  29982. "type": "integer"
  29983. },
  29984. "subMenu": {
  29985. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29986. "type": "array",
  29987. "items": {
  29988. "$ref": "#/definitions/models.RoleMenu"
  29989. }
  29990. },
  29991. "url": {
  29992. "description": "URL",
  29993. "type": "string"
  29994. },
  29995. "userid": {
  29996. "description": "用户id",
  29997. "type": "integer"
  29998. }
  29999. }
  30000. },
  30001. "models.SearchGoods": {
  30002. "type": "object",
  30003. "required": [
  30004. "goodscode",
  30005. "goodsid",
  30006. "goodsname",
  30007. "marketid",
  30008. "trademode"
  30009. ],
  30010. "properties": {
  30011. "goodscode": {
  30012. "description": "商品代码(内部)",
  30013. "type": "string"
  30014. },
  30015. "goodsid": {
  30016. "description": "商品ID(自增ID SEQ_GOODS)",
  30017. "type": "integer"
  30018. },
  30019. "goodsname": {
  30020. "description": "商品名称",
  30021. "type": "string"
  30022. },
  30023. "marketid": {
  30024. "description": "所属市场ID",
  30025. "type": "integer"
  30026. },
  30027. "marketname": {
  30028. "description": "市场名称",
  30029. "type": "string"
  30030. },
  30031. "trademode": {
  30032. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30033. "type": "integer"
  30034. }
  30035. }
  30036. },
  30037. "models.Systemparam": {
  30038. "type": "object",
  30039. "required": [
  30040. "paramcode"
  30041. ],
  30042. "properties": {
  30043. "loginid": {
  30044. "description": "更新用户账号,登录账号",
  30045. "type": "string"
  30046. },
  30047. "modifyflag": {
  30048. "description": "修改标志0 不允许修改 1 允许修改",
  30049. "type": "integer"
  30050. },
  30051. "paramcode": {
  30052. "description": "参数代码",
  30053. "type": "string"
  30054. },
  30055. "paramname": {
  30056. "description": "参数名",
  30057. "type": "string"
  30058. },
  30059. "paramtype": {
  30060. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  30061. "type": "integer"
  30062. },
  30063. "paramvalue": {
  30064. "description": "参数值",
  30065. "type": "string"
  30066. },
  30067. "paramvalue2": {
  30068. "description": "参数值(CLOB)",
  30069. "type": "string"
  30070. },
  30071. "regexpress": {
  30072. "description": "正则表达式",
  30073. "type": "string"
  30074. },
  30075. "remark": {
  30076. "description": "备注",
  30077. "type": "string"
  30078. },
  30079. "serverip": {
  30080. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  30081. "type": "string"
  30082. },
  30083. "showflag": {
  30084. "description": "是否显示0 不显示 1 显示",
  30085. "type": "integer"
  30086. },
  30087. "updatetime": {
  30088. "description": "更新时间",
  30089. "type": "string"
  30090. },
  30091. "userid": {
  30092. "description": "更新用户ID",
  30093. "type": "integer"
  30094. }
  30095. }
  30096. },
  30097. "models.Szdz3convertconfig": {
  30098. "type": "object",
  30099. "required": [
  30100. "converttype",
  30101. "innergoodsid",
  30102. "outergoodscode"
  30103. ],
  30104. "properties": {
  30105. "canin": {
  30106. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  30107. "type": "integer"
  30108. },
  30109. "canout": {
  30110. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  30111. "type": "integer"
  30112. },
  30113. "converttype": {
  30114. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  30115. "type": "integer"
  30116. },
  30117. "createtime": {
  30118. "description": "创建时间",
  30119. "type": "string"
  30120. },
  30121. "creatorid": {
  30122. "description": "创建人",
  30123. "type": "integer"
  30124. },
  30125. "daymaxvalue": {
  30126. "description": "当日最大转入限制",
  30127. "type": "number"
  30128. },
  30129. "freezedays": {
  30130. "description": "冻结天数 [5:花生米转交易]",
  30131. "type": "integer"
  30132. },
  30133. "innergoodsid": {
  30134. "description": "内部商品ID[交易]",
  30135. "type": "integer"
  30136. },
  30137. "inratio": {
  30138. "description": "目标值",
  30139. "type": "integer"
  30140. },
  30141. "modifierid": {
  30142. "description": "修改人",
  30143. "type": "integer"
  30144. },
  30145. "modifytime": {
  30146. "description": "修改时间",
  30147. "type": "string"
  30148. },
  30149. "outergoodscode": {
  30150. "description": "外部商品代码[JD\\PD]",
  30151. "type": "string"
  30152. },
  30153. "outratio": {
  30154. "description": "源值",
  30155. "type": "integer"
  30156. },
  30157. "pddecimalplace": {
  30158. "description": "PD小数位",
  30159. "type": "integer"
  30160. },
  30161. "timemaxvalue": {
  30162. "description": "单次最大转入限制",
  30163. "type": "number"
  30164. },
  30165. "timeminvalue": {
  30166. "description": "单次最小转入限制",
  30167. "type": "number"
  30168. }
  30169. }
  30170. },
  30171. "models.Szdz3searchwhitelist": {
  30172. "type": "object",
  30173. "required": [
  30174. "userid"
  30175. ],
  30176. "properties": {
  30177. "createtime": {
  30178. "description": "创建时间",
  30179. "type": "string"
  30180. },
  30181. "creatorid": {
  30182. "description": "创建人",
  30183. "type": "integer"
  30184. },
  30185. "modifierid": {
  30186. "description": "修改人",
  30187. "type": "integer"
  30188. },
  30189. "modifytime": {
  30190. "description": "修改时间",
  30191. "type": "string"
  30192. },
  30193. "userid": {
  30194. "description": "用户ID",
  30195. "type": "integer"
  30196. }
  30197. }
  30198. },
  30199. "models.Taaccount": {
  30200. "type": "object",
  30201. "required": [
  30202. "accountid",
  30203. "userid"
  30204. ],
  30205. "properties": {
  30206. "accountflag": {
  30207. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30208. "type": "integer"
  30209. },
  30210. "accountid": {
  30211. "description": "资金账户ID",
  30212. "type": "integer"
  30213. },
  30214. "accountname": {
  30215. "description": "账户名称",
  30216. "type": "string"
  30217. },
  30218. "balance": {
  30219. "description": "期初余额",
  30220. "type": "number"
  30221. },
  30222. "capitalbalance": {
  30223. "description": "本金余额[外部子账户实际出入金余额]",
  30224. "type": "number"
  30225. },
  30226. "changeflag": {
  30227. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30228. "type": "integer"
  30229. },
  30230. "changetime": {
  30231. "description": "账户状态变更时间",
  30232. "type": "string"
  30233. },
  30234. "closepl": {
  30235. "description": "今日平仓盈亏",
  30236. "type": "number"
  30237. },
  30238. "creditdecrease": {
  30239. "description": "今日授信减少",
  30240. "type": "number"
  30241. },
  30242. "creditincrease": {
  30243. "description": "今日授信增加",
  30244. "type": "number"
  30245. },
  30246. "curamount": {
  30247. "description": "总市值(从持仓中统计)",
  30248. "type": "number"
  30249. },
  30250. "currencyid": {
  30251. "description": "货币ID",
  30252. "type": "integer"
  30253. },
  30254. "currentbalance": {
  30255. "description": "期末余额",
  30256. "type": "number"
  30257. },
  30258. "freezecharge": {
  30259. "description": "手续费冻结",
  30260. "type": "number"
  30261. },
  30262. "freezemargin": {
  30263. "description": "冻结保证金",
  30264. "type": "number"
  30265. },
  30266. "fromaccountid": {
  30267. "description": "所属上级账户",
  30268. "type": "integer"
  30269. },
  30270. "inamount": {
  30271. "description": "今日入金金额(包括三方入金)",
  30272. "type": "number"
  30273. },
  30274. "ismain": {
  30275. "description": "是否母账号 0:不是母账户 1:是母账户",
  30276. "type": "integer"
  30277. },
  30278. "ismarketaccount": {
  30279. "description": "是否机构接单账号 0:不是 1:是",
  30280. "type": "integer"
  30281. },
  30282. "isreckonaccount": {
  30283. "description": "是否机构分润账号 0:不是 1:是",
  30284. "type": "integer"
  30285. },
  30286. "mortgagecredit": {
  30287. "description": "授信金额",
  30288. "type": "number"
  30289. },
  30290. "orifreezecharge": {
  30291. "description": "期初手续费冻结",
  30292. "type": "number"
  30293. },
  30294. "orifreezemargin": {
  30295. "description": "期初冻结保证金",
  30296. "type": "number"
  30297. },
  30298. "orimortgagecredit": {
  30299. "description": "期初授信金额",
  30300. "type": "number"
  30301. },
  30302. "oriothercredit": {
  30303. "description": "期初其它授信金额",
  30304. "type": "number"
  30305. },
  30306. "oriotherfreezemargin": {
  30307. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30308. "type": "number"
  30309. },
  30310. "orioutamountfreeze": {
  30311. "description": "期初出金冻结",
  30312. "type": "number"
  30313. },
  30314. "oriusedmargin": {
  30315. "description": "期初占用保证金",
  30316. "type": "number"
  30317. },
  30318. "othercredit": {
  30319. "description": "其它授信金额",
  30320. "type": "number"
  30321. },
  30322. "othercreditdecrease": {
  30323. "description": "今日其它授信减少",
  30324. "type": "number"
  30325. },
  30326. "othercreditincrease": {
  30327. "description": "今日其它授信增加",
  30328. "type": "number"
  30329. },
  30330. "otherfreezemargin": {
  30331. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30332. "type": "number"
  30333. },
  30334. "otherincome": {
  30335. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30336. "type": "number"
  30337. },
  30338. "otherpay": {
  30339. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30340. "type": "number"
  30341. },
  30342. "outamount": {
  30343. "description": "今日出金金额(包括三方出金)",
  30344. "type": "number"
  30345. },
  30346. "outamountfreeze": {
  30347. "description": "出金冻结",
  30348. "type": "number"
  30349. },
  30350. "outthreshold": {
  30351. "description": "出金阈值",
  30352. "type": "number"
  30353. },
  30354. "parentaccountid": {
  30355. "description": "所属根账号",
  30356. "type": "integer"
  30357. },
  30358. "paycharge": {
  30359. "description": "今日手续费支出",
  30360. "type": "number"
  30361. },
  30362. "relatedaccountstatus": {
  30363. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30364. "type": "integer"
  30365. },
  30366. "relateduserid": {
  30367. "description": "关联用户",
  30368. "type": "integer"
  30369. },
  30370. "remainamount": {
  30371. "description": "融资额(从融资合同中统计)",
  30372. "type": "number"
  30373. },
  30374. "serivcegroup": {
  30375. "description": "服务分组",
  30376. "type": "integer"
  30377. },
  30378. "signstatus": {
  30379. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30380. "type": "integer"
  30381. },
  30382. "sublevelpath": {
  30383. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30384. "type": "string"
  30385. },
  30386. "taaccounttype": {
  30387. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30388. "type": "integer"
  30389. },
  30390. "thirdinamount": {
  30391. "description": "今日三方入金",
  30392. "type": "number"
  30393. },
  30394. "thirdoutamount": {
  30395. "description": "今日三方出金",
  30396. "type": "number"
  30397. },
  30398. "tradestatus": {
  30399. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30400. "type": "integer"
  30401. },
  30402. "tradestatuschangetime": {
  30403. "description": "激活时间",
  30404. "type": "string"
  30405. },
  30406. "transferamount": {
  30407. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30408. "type": "number"
  30409. },
  30410. "usedmargin": {
  30411. "description": "占用保证金",
  30412. "type": "number"
  30413. },
  30414. "userid": {
  30415. "description": "用户ID",
  30416. "type": "integer"
  30417. }
  30418. }
  30419. },
  30420. "models.Tablecolumnconfig": {
  30421. "type": "object",
  30422. "required": [
  30423. "autoid"
  30424. ],
  30425. "properties": {
  30426. "aligntype": {
  30427. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30428. "type": "integer"
  30429. },
  30430. "autoid": {
  30431. "description": "AutoID",
  30432. "type": "integer"
  30433. },
  30434. "columnfield": {
  30435. "description": "列字段",
  30436. "type": "string"
  30437. },
  30438. "columntitle": {
  30439. "description": "列Title",
  30440. "type": "string"
  30441. },
  30442. "columnwidth": {
  30443. "description": "列宽",
  30444. "type": "string"
  30445. },
  30446. "formatterstring": {
  30447. "description": "格式化字符",
  30448. "type": "string"
  30449. },
  30450. "formattertype": {
  30451. "description": "格式化类型",
  30452. "type": "string"
  30453. },
  30454. "groupname": {
  30455. "description": "表头分组名称",
  30456. "type": "string"
  30457. },
  30458. "isshow": {
  30459. "description": "是否显示 - 0:不显示 1:显示",
  30460. "type": "integer"
  30461. },
  30462. "needsummary": {
  30463. "description": "是否需要汇总 - 0:不需要 1:需要",
  30464. "type": "integer"
  30465. },
  30466. "orderindex": {
  30467. "description": "顺序",
  30468. "type": "integer"
  30469. },
  30470. "remark": {
  30471. "description": "备注",
  30472. "type": "string"
  30473. },
  30474. "summarytype": {
  30475. "description": "汇总类型 - 1:加总 2:最后一个",
  30476. "type": "integer"
  30477. },
  30478. "tablekey": {
  30479. "description": "列表Key",
  30480. "type": "string"
  30481. }
  30482. }
  30483. },
  30484. "models.TjmdQuoteGoods": {
  30485. "type": "object",
  30486. "properties": {
  30487. "buyqty": {
  30488. "description": "买量(暂不做, 无值, 保留字段)",
  30489. "type": "number"
  30490. },
  30491. "goodscode": {
  30492. "description": "合约代码",
  30493. "type": "string"
  30494. },
  30495. "goodsgroupid": {
  30496. "description": "商品组ID(自增ID)",
  30497. "type": "integer"
  30498. },
  30499. "goodsgroupname": {
  30500. "description": "商品组名称",
  30501. "type": "string"
  30502. },
  30503. "goodsid": {
  30504. "description": "合约id",
  30505. "type": "integer"
  30506. },
  30507. "goodsname": {
  30508. "description": "合约名称",
  30509. "type": "string"
  30510. },
  30511. "refgoodscode": {
  30512. "description": "标的合约代码",
  30513. "type": "string"
  30514. },
  30515. "refgoodsid": {
  30516. "description": "标的合约id",
  30517. "type": "integer"
  30518. },
  30519. "refgoodsname": {
  30520. "description": "标的合约名称",
  30521. "type": "string"
  30522. },
  30523. "sellqty": {
  30524. "description": "卖量(暂不做, 无值, 保留字段)",
  30525. "type": "number"
  30526. }
  30527. }
  30528. },
  30529. "models.TjmdTradeOrderDetail": {
  30530. "type": "object",
  30531. "properties": {
  30532. "buyorsell": {
  30533. "description": "买卖方向 0-买 1-卖",
  30534. "type": "integer"
  30535. },
  30536. "goodsid": {
  30537. "description": "商品id",
  30538. "type": "integer"
  30539. },
  30540. "marketmaxsub": {
  30541. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30542. "type": "number"
  30543. },
  30544. "orderid": {
  30545. "description": "委托单号",
  30546. "type": "string"
  30547. },
  30548. "orderprice": {
  30549. "description": "委托价格",
  30550. "type": "number"
  30551. },
  30552. "orderqty": {
  30553. "description": "委托数量",
  30554. "type": "integer"
  30555. },
  30556. "pricemode": {
  30557. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30558. "type": "integer"
  30559. },
  30560. "userid": {
  30561. "description": "用户id",
  30562. "type": "integer"
  30563. },
  30564. "username": {
  30565. "description": "用户名称(已脱敏)",
  30566. "type": "string"
  30567. }
  30568. }
  30569. },
  30570. "models.TjmdTransferApply": {
  30571. "type": "object",
  30572. "properties": {
  30573. "applyid": {
  30574. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30575. "type": "integer"
  30576. },
  30577. "applystatus": {
  30578. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30579. "type": "integer"
  30580. },
  30581. "applytime": {
  30582. "description": "申请时间(时间)",
  30583. "type": "string"
  30584. },
  30585. "auditremark": {
  30586. "description": "审核备注(拒绝原因?)",
  30587. "type": "string"
  30588. },
  30589. "buyorsell": {
  30590. "description": "买卖 - 0:买 1:卖",
  30591. "type": "integer"
  30592. },
  30593. "goodscode": {
  30594. "description": "商品代码",
  30595. "type": "string"
  30596. },
  30597. "goodsid": {
  30598. "description": "商品ID",
  30599. "type": "integer"
  30600. },
  30601. "goodsname": {
  30602. "description": "商品名称",
  30603. "type": "string"
  30604. },
  30605. "marketid": {
  30606. "description": "市场ID",
  30607. "type": "integer"
  30608. },
  30609. "qty": {
  30610. "description": "转让数量(数量)",
  30611. "type": "number"
  30612. },
  30613. "tradeid": {
  30614. "description": "成交单号(关联持仓)",
  30615. "type": "string"
  30616. },
  30617. "transferamount": {
  30618. "description": "转让总金额(金额)",
  30619. "type": "number"
  30620. },
  30621. "transferprice": {
  30622. "description": "转让价格(协议价格)",
  30623. "type": "number"
  30624. }
  30625. }
  30626. },
  30627. "models.TradeHolderDetail": {
  30628. "type": "object",
  30629. "properties": {
  30630. "accountid": {
  30631. "description": "账号ID",
  30632. "type": "integer"
  30633. },
  30634. "agreeunit": {
  30635. "description": "合约乘数",
  30636. "type": "number"
  30637. },
  30638. "buyorsell": {
  30639. "description": "方向 - 0:买 1:卖",
  30640. "type": "integer"
  30641. },
  30642. "currencyid": {
  30643. "description": "商品币种id",
  30644. "type": "integer"
  30645. },
  30646. "currencyname": {
  30647. "description": "币种名称",
  30648. "type": "string"
  30649. },
  30650. "decimalplace": {
  30651. "description": "商品价格小数位",
  30652. "type": "integer"
  30653. },
  30654. "enumdicname": {
  30655. "description": "商品单位名称",
  30656. "type": "string"
  30657. },
  30658. "expirecycle": {
  30659. "description": "行权周期(天) - 1:滚动行权时填写",
  30660. "type": "integer"
  30661. },
  30662. "expiredate": {
  30663. "description": "行权日(yyyyMMdd) - 到期日",
  30664. "type": "string"
  30665. },
  30666. "expiretype": {
  30667. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30668. "type": "integer"
  30669. },
  30670. "freezeqty": {
  30671. "description": "冻结数量",
  30672. "type": "number"
  30673. },
  30674. "goodscode": {
  30675. "description": "商品代码",
  30676. "type": "string"
  30677. },
  30678. "goodsid": {
  30679. "description": "商品ID",
  30680. "type": "integer"
  30681. },
  30682. "goodsname": {
  30683. "description": "商品名称",
  30684. "type": "string"
  30685. },
  30686. "goodunitid": {
  30687. "description": "商品单位id",
  30688. "type": "integer"
  30689. },
  30690. "holderamount": {
  30691. "description": "持仓金额",
  30692. "type": "number"
  30693. },
  30694. "holdercredit": {
  30695. "description": "持仓授信金额",
  30696. "type": "number"
  30697. },
  30698. "holderdays": {
  30699. "description": "剩余冻结天数",
  30700. "type": "integer"
  30701. },
  30702. "holderprice": {
  30703. "description": "持仓价格",
  30704. "type": "number"
  30705. },
  30706. "holderqty": {
  30707. "description": "持仓数量",
  30708. "type": "number"
  30709. },
  30710. "isconfirmexercise": {
  30711. "description": "是否确认行权- 0:否 1:是",
  30712. "type": "integer"
  30713. },
  30714. "ispreexercise": {
  30715. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30716. "type": "integer"
  30717. },
  30718. "marketid": {
  30719. "description": "市场id",
  30720. "type": "integer"
  30721. },
  30722. "marketname": {
  30723. "description": "市场名称",
  30724. "type": "string"
  30725. },
  30726. "openprice": {
  30727. "description": "建仓价格",
  30728. "type": "number"
  30729. },
  30730. "openqty": {
  30731. "description": "建仓数量",
  30732. "type": "number"
  30733. },
  30734. "optiontype": {
  30735. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30736. "type": "integer"
  30737. },
  30738. "preexerciseprice": {
  30739. "description": "预申报价格",
  30740. "type": "number"
  30741. },
  30742. "premium": {
  30743. "description": "权利金",
  30744. "type": "number"
  30745. },
  30746. "qtydecimalplace": {
  30747. "description": "商品成交量小数位",
  30748. "type": "integer"
  30749. },
  30750. "refgoodscode": {
  30751. "description": "标的合约代码",
  30752. "type": "string"
  30753. },
  30754. "refgoodsid": {
  30755. "description": "标的合约id",
  30756. "type": "integer"
  30757. },
  30758. "releaseamount": {
  30759. "description": "释放持仓金额",
  30760. "type": "number"
  30761. },
  30762. "releaseholdercredit": {
  30763. "description": "释放持仓授信金额",
  30764. "type": "number"
  30765. },
  30766. "taname": {
  30767. "description": "资金账号名称",
  30768. "type": "string"
  30769. },
  30770. "tradeamount": {
  30771. "description": "成交金额",
  30772. "type": "number"
  30773. },
  30774. "tradedate": {
  30775. "description": "交易日(yyyyMMdd)",
  30776. "type": "string"
  30777. },
  30778. "tradeid": {
  30779. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30780. "type": "string"
  30781. },
  30782. "trademode": {
  30783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30784. "type": "integer"
  30785. },
  30786. "tradeproperty": {
  30787. "description": "交易属性",
  30788. "type": "integer"
  30789. },
  30790. "tradetime": {
  30791. "description": "交易时间",
  30792. "type": "string"
  30793. },
  30794. "userid": {
  30795. "description": "用户id",
  30796. "type": "integer"
  30797. },
  30798. "username": {
  30799. "description": "用户名称",
  30800. "type": "string"
  30801. }
  30802. }
  30803. },
  30804. "models.UserCollectConfig": {
  30805. "type": "object",
  30806. "properties": {
  30807. "accountstatus": {
  30808. "description": "账户状态 - 1:正常 2:停用 3:注销",
  30809. "type": "integer"
  30810. },
  30811. "collectaccountname": {
  30812. "description": "收款人账户名称",
  30813. "type": "string"
  30814. },
  30815. "collectaccountno": {
  30816. "description": "收款人账户",
  30817. "type": "string"
  30818. },
  30819. "collectbankname": {
  30820. "description": "收款人开户行",
  30821. "type": "string"
  30822. },
  30823. "collectbranchbankname": {
  30824. "description": "收款人开户支行",
  30825. "type": "string"
  30826. },
  30827. "collectconfigid": {
  30828. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  30829. "type": "string"
  30830. },
  30831. "remark": {
  30832. "description": "备注",
  30833. "type": "string"
  30834. },
  30835. "userid": {
  30836. "description": "收款人用户ID",
  30837. "type": "integer"
  30838. }
  30839. }
  30840. },
  30841. "models.UserReceiveInfo": {
  30842. "type": "object",
  30843. "properties": {
  30844. "address": {
  30845. "description": "提货人详细地址",
  30846. "type": "string"
  30847. },
  30848. "autoid": {
  30849. "description": "AutoID",
  30850. "type": "integer"
  30851. },
  30852. "cardnum": {
  30853. "description": "证件号码(加密存储)",
  30854. "type": "string"
  30855. },
  30856. "cardtypeid": {
  30857. "description": "证件类型",
  30858. "type": "integer"
  30859. },
  30860. "cityid": {
  30861. "description": "市",
  30862. "type": "integer"
  30863. },
  30864. "cityname": {
  30865. "description": "城市名称",
  30866. "type": "string"
  30867. },
  30868. "countryid": {
  30869. "description": "国家",
  30870. "type": "integer"
  30871. },
  30872. "countryname": {
  30873. "description": "国家名称",
  30874. "type": "string"
  30875. },
  30876. "districtid": {
  30877. "description": "地区",
  30878. "type": "integer"
  30879. },
  30880. "districtname": {
  30881. "description": "地区名称",
  30882. "type": "string"
  30883. },
  30884. "hasencrypt": {
  30885. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30886. "type": "integer"
  30887. },
  30888. "isdefault": {
  30889. "description": "是否默认地址 - 0:否 1:是",
  30890. "type": "integer"
  30891. },
  30892. "phonenum": {
  30893. "description": "提货人联系方式(加密存储)",
  30894. "type": "string"
  30895. },
  30896. "provinceid": {
  30897. "description": "省",
  30898. "type": "integer"
  30899. },
  30900. "provincename": {
  30901. "description": "省名称",
  30902. "type": "string"
  30903. },
  30904. "receivername": {
  30905. "description": "提货人姓名",
  30906. "type": "string"
  30907. },
  30908. "takeremark": {
  30909. "description": "提货备注",
  30910. "type": "string"
  30911. },
  30912. "userid": {
  30913. "description": "用户ID",
  30914. "type": "integer"
  30915. }
  30916. }
  30917. },
  30918. "models.Useraccount": {
  30919. "type": "object",
  30920. "required": [
  30921. "userid"
  30922. ],
  30923. "properties": {
  30924. "accountname": {
  30925. "description": "账户名称(机构名称)",
  30926. "type": "string"
  30927. },
  30928. "accountstatus": {
  30929. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30930. "type": "integer"
  30931. },
  30932. "applysrc": {
  30933. "description": "申请来源 - 1:管理端 2:终端",
  30934. "type": "integer"
  30935. },
  30936. "auditremark": {
  30937. "description": "审核备注",
  30938. "type": "string"
  30939. },
  30940. "auditsrc": {
  30941. "description": "审核来源 - 1:管理端 2:终端",
  30942. "type": "integer"
  30943. },
  30944. "audittime": {
  30945. "description": "审核时间",
  30946. "type": "string"
  30947. },
  30948. "audituserid": {
  30949. "description": "审核人",
  30950. "type": "integer"
  30951. },
  30952. "broker": {
  30953. "description": "所属经纪人ID",
  30954. "type": "integer"
  30955. },
  30956. "canceltime": {
  30957. "description": "销户时间",
  30958. "type": "string"
  30959. },
  30960. "canceluserid": {
  30961. "description": "销户人",
  30962. "type": "integer"
  30963. },
  30964. "canrecommend": {
  30965. "description": "是否可推荐 - 0:不可 1;可",
  30966. "type": "integer"
  30967. },
  30968. "createtime": {
  30969. "description": "创建时间",
  30970. "type": "string"
  30971. },
  30972. "creatorid": {
  30973. "description": "创建人",
  30974. "type": "integer"
  30975. },
  30976. "hasauth": {
  30977. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30978. "type": "integer"
  30979. },
  30980. "isanonymous": {
  30981. "description": "是否匿名下单 - 0:否 1:是",
  30982. "type": "integer"
  30983. },
  30984. "maxinvestornum": {
  30985. "description": "最大用户数(经纪会员下投资者个数)",
  30986. "type": "integer"
  30987. },
  30988. "memberuserid": {
  30989. "description": "所属会员ID",
  30990. "type": "integer"
  30991. },
  30992. "modifierid": {
  30993. "description": "修改人",
  30994. "type": "integer"
  30995. },
  30996. "modifyremark": {
  30997. "description": "变更备注",
  30998. "type": "string"
  30999. },
  31000. "modifystatus": {
  31001. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  31002. "type": "integer"
  31003. },
  31004. "modifytime": {
  31005. "description": "修改时间",
  31006. "type": "string"
  31007. },
  31008. "parenttopuser": {
  31009. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31010. "type": "string"
  31011. },
  31012. "parentuserid": {
  31013. "description": "所属机构ID",
  31014. "type": "integer"
  31015. },
  31016. "reckonaccountid": {
  31017. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31018. "type": "integer"
  31019. },
  31020. "refercount": {
  31021. "description": "推荐总人数",
  31022. "type": "integer"
  31023. },
  31024. "refereeuserid": {
  31025. "description": "推荐人ID",
  31026. "type": "integer"
  31027. },
  31028. "refernum": {
  31029. "description": "推荐码",
  31030. "type": "string"
  31031. },
  31032. "rootuserid": {
  31033. "description": "根用户ID",
  31034. "type": "integer"
  31035. },
  31036. "subaccountlevel": {
  31037. "description": "子账户层数",
  31038. "type": "integer"
  31039. },
  31040. "subarealevelpath": {
  31041. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31042. "type": "string"
  31043. },
  31044. "userid": {
  31045. "description": "用户ID",
  31046. "type": "integer"
  31047. },
  31048. "usertype": {
  31049. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31050. "type": "integer"
  31051. }
  31052. }
  31053. },
  31054. "models.Userfavoritegoods": {
  31055. "type": "object",
  31056. "required": [
  31057. "goodsid"
  31058. ],
  31059. "properties": {
  31060. "goodsid": {
  31061. "description": "商品ID",
  31062. "type": "integer"
  31063. }
  31064. }
  31065. },
  31066. "models.Userinfo": {
  31067. "type": "object",
  31068. "required": [
  31069. "userid"
  31070. ],
  31071. "properties": {
  31072. "address": {
  31073. "description": "地址",
  31074. "type": "string"
  31075. },
  31076. "attachment1": {
  31077. "description": "附件1",
  31078. "type": "string"
  31079. },
  31080. "attachment2": {
  31081. "description": "附件2",
  31082. "type": "string"
  31083. },
  31084. "bankaccount": {
  31085. "description": "银行帐号 (加密存储)",
  31086. "type": "string"
  31087. },
  31088. "bankaccountname": {
  31089. "description": "收款人名称",
  31090. "type": "string"
  31091. },
  31092. "bankcardfrontphotourl": {
  31093. "description": "银行卡正面照地址",
  31094. "type": "string"
  31095. },
  31096. "bankid": {
  31097. "description": "银行编码",
  31098. "type": "string"
  31099. },
  31100. "bankname": {
  31101. "description": "银行名称",
  31102. "type": "string"
  31103. },
  31104. "biznature": {
  31105. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31106. "type": "integer"
  31107. },
  31108. "bizscope": {
  31109. "description": "企业经营范围(企业)",
  31110. "type": "string"
  31111. },
  31112. "cardbackphotourl": {
  31113. "description": "证件背面图片地址",
  31114. "type": "string"
  31115. },
  31116. "cardfrontphotourl": {
  31117. "description": "证件正面图片地址",
  31118. "type": "string"
  31119. },
  31120. "cardnum": {
  31121. "description": "证件号码(加密存储)",
  31122. "type": "string"
  31123. },
  31124. "cardtypeid": {
  31125. "description": "证件类型ID",
  31126. "type": "integer"
  31127. },
  31128. "cityid": {
  31129. "description": "市",
  31130. "type": "integer"
  31131. },
  31132. "company": {
  31133. "description": "公司(个人)",
  31134. "type": "string"
  31135. },
  31136. "contactname": {
  31137. "description": "联系人",
  31138. "type": "string"
  31139. },
  31140. "countryid": {
  31141. "description": "国家",
  31142. "type": "integer"
  31143. },
  31144. "createtime": {
  31145. "description": "创建时间",
  31146. "type": "string"
  31147. },
  31148. "creatorid": {
  31149. "description": "创建人",
  31150. "type": "integer"
  31151. },
  31152. "customername": {
  31153. "description": "客户名称(企业名称)",
  31154. "type": "string"
  31155. },
  31156. "districtid": {
  31157. "description": "地区",
  31158. "type": "integer"
  31159. },
  31160. "email": {
  31161. "description": "邮件(加密存储)",
  31162. "type": "string"
  31163. },
  31164. "fax": {
  31165. "description": "传真(加密存储)",
  31166. "type": "string"
  31167. },
  31168. "halfbodyphotourl": {
  31169. "description": "半身照地址",
  31170. "type": "string"
  31171. },
  31172. "hasencrypt": {
  31173. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31174. "type": "integer"
  31175. },
  31176. "headurl": {
  31177. "description": "头像地址",
  31178. "type": "string"
  31179. },
  31180. "legalcardbackphotourl": {
  31181. "description": "法人身份证背面照地址",
  31182. "type": "string"
  31183. },
  31184. "legalcardfrontphotourl": {
  31185. "description": "法人身份证正面照地址",
  31186. "type": "string"
  31187. },
  31188. "legalpersonname": {
  31189. "description": "法人姓名(企业)",
  31190. "type": "string"
  31191. },
  31192. "mobile": {
  31193. "description": "手机号码(加密存储)",
  31194. "type": "string"
  31195. },
  31196. "mobile2": {
  31197. "description": "手机号码[明文-尚志]",
  31198. "type": "string"
  31199. },
  31200. "modifierid": {
  31201. "description": "修改人",
  31202. "type": "integer"
  31203. },
  31204. "modifiertime": {
  31205. "description": "修改时间",
  31206. "type": "string"
  31207. },
  31208. "needinvoice": {
  31209. "description": "是否需要发票 - 0:不需要 1:需要",
  31210. "type": "integer"
  31211. },
  31212. "nickname": {
  31213. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31214. "type": "string"
  31215. },
  31216. "openmode": {
  31217. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31218. "type": "integer"
  31219. },
  31220. "otherurl": {
  31221. "description": "其它图片地址[使用分号分隔]",
  31222. "type": "string"
  31223. },
  31224. "postalcode": {
  31225. "description": "邮政编码",
  31226. "type": "string"
  31227. },
  31228. "provinceid": {
  31229. "description": "省",
  31230. "type": "integer"
  31231. },
  31232. "qq": {
  31233. "description": "QQ(加密存储",
  31234. "type": "string"
  31235. },
  31236. "remark": {
  31237. "description": "备注",
  31238. "type": "string"
  31239. },
  31240. "sex": {
  31241. "description": "用户性别 0: 女 1: 男",
  31242. "type": "integer"
  31243. },
  31244. "signpdfurl": {
  31245. "description": "签约pdf文件",
  31246. "type": "string"
  31247. },
  31248. "telphone": {
  31249. "description": "联系电话(加密存储)",
  31250. "type": "string"
  31251. },
  31252. "userid": {
  31253. "description": "用户ID",
  31254. "type": "integer"
  31255. },
  31256. "userinfotype": {
  31257. "description": "用户信息类型 - 1:个人 2:企业",
  31258. "type": "integer"
  31259. },
  31260. "userstatus": {
  31261. "description": "用户状态 - 1:正常 2:注销",
  31262. "type": "integer"
  31263. },
  31264. "usertype": {
  31265. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31266. "type": "integer"
  31267. },
  31268. "wechat": {
  31269. "description": "微信(加密存储)",
  31270. "type": "string"
  31271. },
  31272. "wskhinfo": {
  31273. "description": "开户申请信息(JSON)",
  31274. "type": "string"
  31275. }
  31276. }
  31277. },
  31278. "models.WRSConverTDetail": {
  31279. "type": "object",
  31280. "properties": {
  31281. "convertratio": {
  31282. "description": "套保系数",
  31283. "type": "number"
  31284. },
  31285. "deliverygoodscode": {
  31286. "description": "现货商品代码",
  31287. "type": "string"
  31288. },
  31289. "deliverygoodsid": {
  31290. "description": "现货品种ID",
  31291. "type": "integer"
  31292. },
  31293. "deliverygoodsname": {
  31294. "description": "现货商品名称",
  31295. "type": "string"
  31296. },
  31297. "enumdicname": {
  31298. "description": "单位名称",
  31299. "type": "string"
  31300. },
  31301. "goodsunitid": {
  31302. "description": "套保品种单位id",
  31303. "type": "integer"
  31304. },
  31305. "middlegoodscode": {
  31306. "description": "套保品种代码",
  31307. "type": "string"
  31308. },
  31309. "middlegoodsid": {
  31310. "description": "套保品种ID",
  31311. "type": "integer"
  31312. },
  31313. "middlegoodsname": {
  31314. "description": "套保品种名称",
  31315. "type": "string"
  31316. },
  31317. "modifytime": {
  31318. "description": "修改时间",
  31319. "type": "string"
  31320. },
  31321. "wrstandardid": {
  31322. "description": "品类ID",
  31323. "type": "integer"
  31324. }
  31325. }
  31326. },
  31327. "models.WRStandardInfo": {
  31328. "type": "object",
  31329. "required": [
  31330. "wrstandardid"
  31331. ],
  31332. "properties": {
  31333. "areauserid": {
  31334. "description": "所属机构",
  31335. "type": "integer"
  31336. },
  31337. "convertfactor": {
  31338. "description": "标仓系数",
  31339. "type": "number"
  31340. },
  31341. "createtime": {
  31342. "description": "创建时间",
  31343. "type": "string"
  31344. },
  31345. "creatorid": {
  31346. "description": "创建人",
  31347. "type": "integer"
  31348. },
  31349. "deliverygoodsid": {
  31350. "description": "品种ID",
  31351. "type": "integer"
  31352. },
  31353. "deliverygoodsname": {
  31354. "description": "交割商品名称",
  31355. "type": "string"
  31356. },
  31357. "factoryitemjson": {
  31358. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31359. "type": "string"
  31360. },
  31361. "isvalid": {
  31362. "description": "是否有效 - 0:无效 1:有效",
  31363. "type": "integer"
  31364. },
  31365. "minivalue": {
  31366. "description": "最小变动值",
  31367. "type": "integer"
  31368. },
  31369. "minivaluedp": {
  31370. "description": "最小变动值小数位",
  31371. "type": "integer"
  31372. },
  31373. "realminivalue": {
  31374. "description": "实际最小变动值",
  31375. "type": "integer"
  31376. },
  31377. "realminivaluedp": {
  31378. "description": "实际最小变动值小数位",
  31379. "type": "integer"
  31380. },
  31381. "remark": {
  31382. "description": "备注",
  31383. "type": "string"
  31384. },
  31385. "unitid": {
  31386. "description": "单位ID",
  31387. "type": "integer"
  31388. },
  31389. "unitname": {
  31390. "description": "单位",
  31391. "type": "string"
  31392. },
  31393. "updatetime": {
  31394. "description": "更新时间",
  31395. "type": "string"
  31396. },
  31397. "updatorid": {
  31398. "description": "更新人",
  31399. "type": "integer"
  31400. },
  31401. "wrsstatus": {
  31402. "description": "状态 - 作废 - 0:未激活 1:正常",
  31403. "type": "integer"
  31404. },
  31405. "wrstandardcode": {
  31406. "description": "现货品类代码",
  31407. "type": "string"
  31408. },
  31409. "wrstandardid": {
  31410. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31411. "type": "integer"
  31412. },
  31413. "wrstandardname": {
  31414. "description": "现货品类名称",
  31415. "type": "string"
  31416. }
  31417. }
  31418. },
  31419. "models.WRTradeBargainApply": {
  31420. "type": "object",
  31421. "properties": {
  31422. "accountid": {
  31423. "description": "摘牌资金账号",
  31424. "type": "integer"
  31425. },
  31426. "applyprice": {
  31427. "description": "申请价格(议价价格)",
  31428. "type": "string"
  31429. },
  31430. "applyqty": {
  31431. "description": "摘牌数量(议价数量)",
  31432. "type": "number"
  31433. },
  31434. "applyremark": {
  31435. "description": "申请备注",
  31436. "type": "string"
  31437. },
  31438. "applystatus": {
  31439. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31440. "type": "integer"
  31441. },
  31442. "applytime": {
  31443. "description": "申请时间(议价时间)",
  31444. "type": "string"
  31445. },
  31446. "buyorsell": {
  31447. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31448. "type": "integer"
  31449. },
  31450. "confirmremark": {
  31451. "description": "确认备注",
  31452. "type": "string"
  31453. },
  31454. "confirmtime": {
  31455. "description": "确认时间",
  31456. "type": "string"
  31457. },
  31458. "confirmuserid": {
  31459. "description": "确认人",
  31460. "type": "integer"
  31461. },
  31462. "deliverygoodscode": {
  31463. "description": "品种代码",
  31464. "type": "string"
  31465. },
  31466. "deliverygoodsid": {
  31467. "description": "品种ID",
  31468. "type": "integer"
  31469. },
  31470. "deliverygoodsname": {
  31471. "description": "品种名称",
  31472. "type": "string"
  31473. },
  31474. "deliverymonth": {
  31475. "description": "交收月",
  31476. "type": "string"
  31477. },
  31478. "enumdicname": {
  31479. "description": "单位名称",
  31480. "type": "string"
  31481. },
  31482. "fixedprice": {
  31483. "description": "挂牌价格",
  31484. "type": "number"
  31485. },
  31486. "handlestatus": {
  31487. "description": "处理状态",
  31488. "type": "integer"
  31489. },
  31490. "marginvalue": {
  31491. "description": "履约保证金比例",
  31492. "type": "number"
  31493. },
  31494. "marketid": {
  31495. "description": "市场ID",
  31496. "type": "integer"
  31497. },
  31498. "matchaccountid": {
  31499. "description": "挂牌方资金账号",
  31500. "type": "integer"
  31501. },
  31502. "matchuserid": {
  31503. "description": "挂牌方用户id",
  31504. "type": "integer"
  31505. },
  31506. "matchusername": {
  31507. "description": "挂牌方用户名称(已脱敏)",
  31508. "type": "string"
  31509. },
  31510. "minivalue": {
  31511. "description": "现货商品最小变动值",
  31512. "type": "integer"
  31513. },
  31514. "optioncompare": {
  31515. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31516. "type": "string"
  31517. },
  31518. "orderqty": {
  31519. "description": "挂牌数量",
  31520. "type": "integer"
  31521. },
  31522. "refprice": {
  31523. "description": "参考价格",
  31524. "type": "string"
  31525. },
  31526. "retcode": {
  31527. "description": "委托返回代码",
  31528. "type": "integer"
  31529. },
  31530. "templatename": {
  31531. "description": "履约方式(履约模板名称)",
  31532. "type": "string"
  31533. },
  31534. "tradedate": {
  31535. "description": "交易日(yyyyMMdd)",
  31536. "type": "string"
  31537. },
  31538. "userid": {
  31539. "description": "摘牌人用户ID(议价人ID)",
  31540. "type": "integer"
  31541. },
  31542. "username": {
  31543. "description": "议价人名字(已脱敏)",
  31544. "type": "string"
  31545. },
  31546. "validtime": {
  31547. "description": "有效期限",
  31548. "type": "string"
  31549. },
  31550. "warehouseid": {
  31551. "description": "仓库ID",
  31552. "type": "integer"
  31553. },
  31554. "warehousename": {
  31555. "description": "仓库名称",
  31556. "type": "string"
  31557. },
  31558. "wrbargainid": {
  31559. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31560. "type": "string"
  31561. },
  31562. "wrfactortypeid": {
  31563. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31564. "type": "string"
  31565. },
  31566. "wrfactortypename": {
  31567. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31568. "type": "string"
  31569. },
  31570. "wrstandardcode": {
  31571. "description": "现货商品代码",
  31572. "type": "string"
  31573. },
  31574. "wrstandardid": {
  31575. "description": "现货商品ID",
  31576. "type": "integer"
  31577. },
  31578. "wrstandardname": {
  31579. "description": "商品名称",
  31580. "type": "string"
  31581. },
  31582. "wrtradeorderid": {
  31583. "description": "关联委托单ID",
  31584. "type": "string"
  31585. },
  31586. "wrtypename": {
  31587. "description": "商品",
  31588. "type": "string"
  31589. }
  31590. }
  31591. },
  31592. "models.Warehouseinfo": {
  31593. "type": "object",
  31594. "required": [
  31595. "autoid",
  31596. "warehousecode"
  31597. ],
  31598. "properties": {
  31599. "address": {
  31600. "description": "详细地址",
  31601. "type": "string"
  31602. },
  31603. "areauserid": {
  31604. "description": "所属机构",
  31605. "type": "integer"
  31606. },
  31607. "autoid": {
  31608. "description": "自增ID",
  31609. "type": "integer"
  31610. },
  31611. "cityid": {
  31612. "description": "市",
  31613. "type": "integer"
  31614. },
  31615. "contactname": {
  31616. "description": "联系人",
  31617. "type": "string"
  31618. },
  31619. "contactnum": {
  31620. "description": "联系电话",
  31621. "type": "string"
  31622. },
  31623. "countryid": {
  31624. "description": "国家",
  31625. "type": "integer"
  31626. },
  31627. "createtime": {
  31628. "description": "创建时间",
  31629. "type": "string"
  31630. },
  31631. "districtid": {
  31632. "description": "区",
  31633. "type": "integer"
  31634. },
  31635. "hasvideo": {
  31636. "description": "是否有视频 - 0:无 1:有",
  31637. "type": "integer"
  31638. },
  31639. "provinceid": {
  31640. "description": "省",
  31641. "type": "integer"
  31642. },
  31643. "remark": {
  31644. "description": "审核备注",
  31645. "type": "string"
  31646. },
  31647. "videourl": {
  31648. "description": "视频地址",
  31649. "type": "string"
  31650. },
  31651. "warehousecode": {
  31652. "description": "仓库代码",
  31653. "type": "string"
  31654. },
  31655. "warehousename": {
  31656. "description": "仓库名称",
  31657. "type": "string"
  31658. },
  31659. "warehousestatus": {
  31660. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31661. "type": "integer"
  31662. },
  31663. "warehousetype": {
  31664. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31665. "type": "integer"
  31666. }
  31667. }
  31668. },
  31669. "models.WrAverageTradePrice": {
  31670. "type": "object",
  31671. "properties": {
  31672. "averageprice": {
  31673. "description": "成交均价",
  31674. "type": "number"
  31675. },
  31676. "tradedate": {
  31677. "description": "交易日yyyymm",
  31678. "type": "string"
  31679. }
  31680. }
  31681. },
  31682. "models.WrBsGoodsInfo": {
  31683. "type": "object",
  31684. "properties": {
  31685. "buyorsell": {
  31686. "description": "买卖方向 0-买 1-卖",
  31687. "type": "integer"
  31688. },
  31689. "goodsid": {
  31690. "description": "交易合约ID",
  31691. "type": "integer"
  31692. },
  31693. "lstitem": {
  31694. "description": "商品信息项",
  31695. "type": "array",
  31696. "items": {
  31697. "$ref": "#/definitions/models.WrTypeItem"
  31698. }
  31699. },
  31700. "lststep": {
  31701. "description": "履约规则",
  31702. "type": "array",
  31703. "items": {
  31704. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31705. }
  31706. }
  31707. }
  31708. },
  31709. "models.WrBuybackDetail": {
  31710. "type": "object",
  31711. "properties": {
  31712. "buybackamount": {
  31713. "description": "回购金额",
  31714. "type": "number"
  31715. },
  31716. "buybackqty": {
  31717. "description": "回购数量",
  31718. "type": "number"
  31719. },
  31720. "buybackreleasemargin": {
  31721. "description": "回购释放保证金",
  31722. "type": "number"
  31723. },
  31724. "buybacktime": {
  31725. "description": "回购时间",
  31726. "type": "string"
  31727. },
  31728. "errordesc": {
  31729. "description": "错误描述",
  31730. "type": "string"
  31731. },
  31732. "handlestatus": {
  31733. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31734. "type": "integer"
  31735. },
  31736. "relatedwrid": {
  31737. "description": "关联仓单ID",
  31738. "type": "integer"
  31739. },
  31740. "scfcontractid": {
  31741. "description": "SCF合同ID",
  31742. "type": "string"
  31743. },
  31744. "scfwrbuybackid": {
  31745. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31746. "type": "integer"
  31747. },
  31748. "tradedate": {
  31749. "description": "交易日(yyyyMMdd)",
  31750. "type": "string"
  31751. }
  31752. }
  31753. },
  31754. "models.WrDeliveryAvalidHoldLB": {
  31755. "type": "object",
  31756. "properties": {
  31757. "accountid": {
  31758. "description": "资金账号",
  31759. "type": "integer"
  31760. },
  31761. "avalidqty": {
  31762. "description": "数量(可点选数量)",
  31763. "type": "number"
  31764. },
  31765. "deliverygoodsid": {
  31766. "description": "品种id",
  31767. "type": "integer"
  31768. },
  31769. "enumdicname": {
  31770. "description": "单位名称",
  31771. "type": "string"
  31772. },
  31773. "goodsid": {
  31774. "description": "x合约商品id",
  31775. "type": "integer"
  31776. },
  31777. "ladingbillid": {
  31778. "description": "提单id",
  31779. "type": "string"
  31780. },
  31781. "pgoodscode": {
  31782. "description": "p商品代码(点价合约)",
  31783. "type": "string"
  31784. },
  31785. "pgoodsid": {
  31786. "description": "p商品id(点价合约)",
  31787. "type": "integer"
  31788. },
  31789. "pgoodsname": {
  31790. "description": "p商品名称(点价合约)",
  31791. "type": "string"
  31792. },
  31793. "pricemove": {
  31794. "description": "升贴水",
  31795. "type": "number"
  31796. },
  31797. "subnum": {
  31798. "description": "提单子id",
  31799. "type": "integer"
  31800. },
  31801. "userid": {
  31802. "description": "用户id",
  31803. "type": "integer"
  31804. },
  31805. "username": {
  31806. "description": "仓单持有人",
  31807. "type": "string"
  31808. },
  31809. "warehousecode": {
  31810. "description": "仓库代码",
  31811. "type": "string"
  31812. },
  31813. "warehouseid": {
  31814. "description": "仓库id",
  31815. "type": "integer"
  31816. },
  31817. "warehousename": {
  31818. "description": "仓库名称",
  31819. "type": "string"
  31820. },
  31821. "wrfactortypeid": {
  31822. "description": "仓单要素id",
  31823. "type": "string"
  31824. },
  31825. "wrstandardcode": {
  31826. "description": "品代码",
  31827. "type": "string"
  31828. },
  31829. "wrstandardid": {
  31830. "description": "品类d",
  31831. "type": "integer"
  31832. },
  31833. "wrstandardname": {
  31834. "description": "品类名称",
  31835. "type": "string"
  31836. },
  31837. "wrtypename": {
  31838. "description": "商品",
  31839. "type": "string"
  31840. },
  31841. "xgoodscode": {
  31842. "description": "x合约代码",
  31843. "type": "string"
  31844. },
  31845. "xgoodsname": {
  31846. "description": "x合约名称",
  31847. "type": "string"
  31848. }
  31849. }
  31850. },
  31851. "models.WrDeliveryDetail": {
  31852. "type": "object",
  31853. "properties": {
  31854. "accountid": {
  31855. "description": "账号ID",
  31856. "type": "integer"
  31857. },
  31858. "averageprice": {
  31859. "description": "交割均价 = 交割金额 / 交割数量",
  31860. "type": "number"
  31861. },
  31862. "buyorsell": {
  31863. "description": "方向 - 0:买 1:卖",
  31864. "type": "integer"
  31865. },
  31866. "deliveryamount": {
  31867. "description": "货款金额(X总货款+P总货款)",
  31868. "type": "number"
  31869. },
  31870. "deliveryid": {
  31871. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31872. "type": "string"
  31873. },
  31874. "deliveryorderid": {
  31875. "description": "申报单号",
  31876. "type": "string"
  31877. },
  31878. "deliverypricemove": {
  31879. "description": "升贴水(升贴水总额)",
  31880. "type": "number"
  31881. },
  31882. "deliveryqty": {
  31883. "description": "交收数量(点选数量)",
  31884. "type": "number"
  31885. },
  31886. "deliverystatus": {
  31887. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31888. "type": "integer"
  31889. },
  31890. "deliverytime": {
  31891. "description": "交割时间",
  31892. "type": "string"
  31893. },
  31894. "deliverytotalamount": {
  31895. "description": "交收金额",
  31896. "type": "number"
  31897. },
  31898. "enumdicname": {
  31899. "description": "单位名称",
  31900. "type": "string"
  31901. },
  31902. "matchaccountid": {
  31903. "description": "对手账号ID",
  31904. "type": "integer"
  31905. },
  31906. "matchusername": {
  31907. "description": "对手方名称(仓单持有人)",
  31908. "type": "string"
  31909. },
  31910. "p1goodsremainamount": {
  31911. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31912. "type": "number"
  31913. },
  31914. "pdeliverycloseqty": {
  31915. "description": "p合约平仓数量",
  31916. "type": "number"
  31917. },
  31918. "pdeliveryprice": {
  31919. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31920. "type": "number"
  31921. },
  31922. "pgoodscode": {
  31923. "description": "商品代码",
  31924. "type": "string"
  31925. },
  31926. "pgoodsid": {
  31927. "description": "p点选合约id",
  31928. "type": "integer"
  31929. },
  31930. "pgoodsname": {
  31931. "description": "商品名称",
  31932. "type": "string"
  31933. },
  31934. "ppricemode": {
  31935. "description": "点价价格方式 - 1:商品价 2:固定值",
  31936. "type": "integer"
  31937. },
  31938. "tradedate": {
  31939. "description": "交易日(yyyymmdd)",
  31940. "type": "string"
  31941. },
  31942. "userid": {
  31943. "description": "用户id",
  31944. "type": "integer"
  31945. },
  31946. "username": {
  31947. "description": "用户名称",
  31948. "type": "string"
  31949. },
  31950. "warehousename": {
  31951. "description": "仓库名称",
  31952. "type": "string"
  31953. },
  31954. "wrfactortypeid": {
  31955. "description": "仓单要素类型ID",
  31956. "type": "string"
  31957. },
  31958. "wrtypename": {
  31959. "description": "商品",
  31960. "type": "string"
  31961. },
  31962. "xdeliverycloseqty": {
  31963. "description": "合约数量",
  31964. "type": "number"
  31965. },
  31966. "xgoodsamount": {
  31967. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31968. "type": "number"
  31969. },
  31970. "xgoodscode": {
  31971. "description": "商品代码",
  31972. "type": "string"
  31973. },
  31974. "xgoodsid": {
  31975. "description": "x交易合约ID",
  31976. "type": "integer"
  31977. },
  31978. "xgoodsname": {
  31979. "description": "商品名称",
  31980. "type": "string"
  31981. }
  31982. }
  31983. },
  31984. "models.WrFAProductDetail": {
  31985. "type": "object",
  31986. "properties": {
  31987. "accountid": {
  31988. "description": "资金账号",
  31989. "type": "integer"
  31990. },
  31991. "areauserid": {
  31992. "description": "金融机构ID",
  31993. "type": "integer"
  31994. },
  31995. "financingdays": {
  31996. "description": "天数(天)",
  31997. "type": "integer"
  31998. },
  31999. "interestminlen": {
  32000. "description": "最小起息天数",
  32001. "type": "integer"
  32002. },
  32003. "interestrate": {
  32004. "description": "利率",
  32005. "type": "number"
  32006. },
  32007. "interestratemode": {
  32008. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32009. "type": "integer"
  32010. },
  32011. "interestsettlemode": {
  32012. "description": "结息方式 - 1:按日结息 3:按月结息",
  32013. "type": "integer"
  32014. },
  32015. "interestsettlevalue": {
  32016. "description": "结息方式值",
  32017. "type": "integer"
  32018. },
  32019. "isautoloan": {
  32020. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32021. "type": "integer"
  32022. },
  32023. "loantag": {
  32024. "description": "放款标识: \"放款快\" 或者为空",
  32025. "type": "string"
  32026. },
  32027. "marginratio": {
  32028. "description": "保证金比率质押率 - [仓单质押]",
  32029. "type": "number"
  32030. },
  32031. "productdetailid": {
  32032. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32033. "type": "integer"
  32034. },
  32035. "productid": {
  32036. "description": "金融产品ID",
  32037. "type": "integer"
  32038. },
  32039. "productname": {
  32040. "description": "产品名称",
  32041. "type": "string"
  32042. },
  32043. "updatetime": {
  32044. "description": "更新时间",
  32045. "type": "string"
  32046. },
  32047. "username": {
  32048. "description": "融出方",
  32049. "type": "string"
  32050. }
  32051. }
  32052. },
  32053. "models.WrFactorTypeInfo": {
  32054. "type": "object",
  32055. "properties": {
  32056. "deliverygoodscode": {
  32057. "description": "品种代码",
  32058. "type": "string"
  32059. },
  32060. "deliverygoodsname": {
  32061. "description": "品种名称",
  32062. "type": "string"
  32063. },
  32064. "dgfactoryitemid": {
  32065. "description": "选择项id",
  32066. "type": "integer"
  32067. },
  32068. "dgfactoryitemtypeid": {
  32069. "description": "要素选择项ID (1-仓库 2-品牌)",
  32070. "type": "integer"
  32071. },
  32072. "dgfactoryitemvalue": {
  32073. "description": "要素项值",
  32074. "type": "string"
  32075. },
  32076. "itemtypename": {
  32077. "description": "要素项名称",
  32078. "type": "string"
  32079. },
  32080. "optioncompare": {
  32081. "description": "选择比较串",
  32082. "type": "string"
  32083. },
  32084. "warehouseid": {
  32085. "description": "仓库id",
  32086. "type": "integer"
  32087. },
  32088. "wrfactortypeid": {
  32089. "description": "仓单要素ID",
  32090. "type": "string"
  32091. },
  32092. "wrfactortypename": {
  32093. "description": "要素名称",
  32094. "type": "string"
  32095. },
  32096. "wrfactortypename2": {
  32097. "description": "要素名称(不含仓库)",
  32098. "type": "string"
  32099. },
  32100. "wrstandardcode": {
  32101. "description": "品类代码",
  32102. "type": "string"
  32103. },
  32104. "wrstandardid": {
  32105. "description": "品类id",
  32106. "type": "integer"
  32107. },
  32108. "wrstandardname": {
  32109. "description": "品类名称",
  32110. "type": "string"
  32111. }
  32112. }
  32113. },
  32114. "models.WrFilterItem": {
  32115. "type": "object",
  32116. "properties": {
  32117. "itemcode": {
  32118. "description": "代码",
  32119. "type": "string"
  32120. },
  32121. "itemid": {
  32122. "description": "项id",
  32123. "type": "integer"
  32124. },
  32125. "itemname": {
  32126. "description": "名称",
  32127. "type": "string"
  32128. },
  32129. "itemtype": {
  32130. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32131. "type": "integer"
  32132. }
  32133. }
  32134. },
  32135. "models.WrFinanceBuyApply": {
  32136. "type": "object",
  32137. "properties": {
  32138. "applydate": {
  32139. "description": "申请时间",
  32140. "type": "string"
  32141. },
  32142. "applystatus": {
  32143. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32144. "type": "integer"
  32145. },
  32146. "applyuserid": {
  32147. "description": "申请人",
  32148. "type": "integer"
  32149. },
  32150. "auditdate": {
  32151. "description": "审核时间",
  32152. "type": "string"
  32153. },
  32154. "auditremark": {
  32155. "description": "审核备注",
  32156. "type": "string"
  32157. },
  32158. "audituserid": {
  32159. "description": "审核人",
  32160. "type": "integer"
  32161. },
  32162. "buyaccountid": {
  32163. "description": "买方资金账号",
  32164. "type": "integer"
  32165. },
  32166. "buyorsell": {
  32167. "description": "买卖 - 0:买 1:卖",
  32168. "type": "integer"
  32169. },
  32170. "buyuserid": {
  32171. "description": "买方用户ID",
  32172. "type": "integer"
  32173. },
  32174. "buyusername": {
  32175. "description": "买方名称",
  32176. "type": "string"
  32177. },
  32178. "buywrtradeorderid": {
  32179. "description": "融资方买委托单ID",
  32180. "type": "string"
  32181. },
  32182. "deliverygoodscode": {
  32183. "description": "品种代码",
  32184. "type": "string"
  32185. },
  32186. "deliverygoodsid": {
  32187. "description": "品种ID",
  32188. "type": "integer"
  32189. },
  32190. "deliverygoodsname": {
  32191. "description": "品种名称",
  32192. "type": "string"
  32193. },
  32194. "deliverymonth": {
  32195. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32196. "type": "string"
  32197. },
  32198. "enumdicname": {
  32199. "description": "单位名称",
  32200. "type": "string"
  32201. },
  32202. "financeaccountid": {
  32203. "description": "融资方资金帐户ID",
  32204. "type": "integer"
  32205. },
  32206. "financeapplyid": {
  32207. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32208. "type": "string"
  32209. },
  32210. "financeareauserid": {
  32211. "description": "融资方用户ID",
  32212. "type": "string"
  32213. },
  32214. "financename": {
  32215. "description": "融出方名称",
  32216. "type": "string"
  32217. },
  32218. "financetype": {
  32219. "description": "融资类型 1-融资回购",
  32220. "type": "integer"
  32221. },
  32222. "financingdays": {
  32223. "description": "天数(天)",
  32224. "type": "integer"
  32225. },
  32226. "freezebuymargin": {
  32227. "description": "冻结融资保证金(买方)",
  32228. "type": "number"
  32229. },
  32230. "handleremark": {
  32231. "description": "处理备注",
  32232. "type": "string"
  32233. },
  32234. "handlestatus": {
  32235. "description": "处理状态",
  32236. "type": "integer"
  32237. },
  32238. "interestminlen": {
  32239. "description": "最小起息天数",
  32240. "type": "integer"
  32241. },
  32242. "interestrate": {
  32243. "description": "利率",
  32244. "type": "number"
  32245. },
  32246. "interestratemode": {
  32247. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32248. "type": "integer"
  32249. },
  32250. "interestsettlemode": {
  32251. "description": "结息方式 - 1:按日结息 3:按月结息",
  32252. "type": "integer"
  32253. },
  32254. "interestsettlevalue": {
  32255. "description": "结息方式值",
  32256. "type": "integer"
  32257. },
  32258. "isautoloan": {
  32259. "description": "是否自动放款 - 0:手动 1:自动",
  32260. "type": "integer"
  32261. },
  32262. "marginratio": {
  32263. "description": "保证金比率质押率 - [仓单质押]",
  32264. "type": "number"
  32265. },
  32266. "marketid": {
  32267. "description": "市场ID",
  32268. "type": "integer"
  32269. },
  32270. "minivalue": {
  32271. "description": "现货商品最小变动值",
  32272. "type": "integer"
  32273. },
  32274. "optioncompare": {
  32275. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32276. "type": "string"
  32277. },
  32278. "orderqty": {
  32279. "description": "委托数量(商品数量)",
  32280. "type": "number"
  32281. },
  32282. "productdetailid": {
  32283. "description": "产品组合ID",
  32284. "type": "integer"
  32285. },
  32286. "productid": {
  32287. "description": "金融产品ID",
  32288. "type": "integer"
  32289. },
  32290. "productname": {
  32291. "description": "产品名称",
  32292. "type": "string"
  32293. },
  32294. "remark": {
  32295. "description": "备注",
  32296. "type": "string"
  32297. },
  32298. "scfcontractid": {
  32299. "description": "仓单回购合同ID",
  32300. "type": "string"
  32301. },
  32302. "sellaccountid": {
  32303. "description": "卖方资金账号",
  32304. "type": "integer"
  32305. },
  32306. "selluserid": {
  32307. "description": "卖方用户ID",
  32308. "type": "integer"
  32309. },
  32310. "sellwrtradeorderid": {
  32311. "description": "卖方委托单ID",
  32312. "type": "string"
  32313. },
  32314. "tradeamount": {
  32315. "description": "成交金额(借款金额)",
  32316. "type": "number"
  32317. },
  32318. "tradedate": {
  32319. "description": "交易日(yyyyMMdd)",
  32320. "type": "string"
  32321. },
  32322. "tradeprice": {
  32323. "description": "成交价格",
  32324. "type": "number"
  32325. },
  32326. "warehouseid": {
  32327. "description": "仓库ID",
  32328. "type": "integer"
  32329. },
  32330. "warehousename": {
  32331. "description": "仓库名称",
  32332. "type": "string"
  32333. },
  32334. "wrfactortypeid": {
  32335. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32336. "type": "string"
  32337. },
  32338. "wrfactortypename": {
  32339. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32340. "type": "string"
  32341. },
  32342. "wrpricetype": {
  32343. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32344. "type": "integer"
  32345. },
  32346. "wrstandardcode": {
  32347. "description": "现货商品代码",
  32348. "type": "string"
  32349. },
  32350. "wrstandardid": {
  32351. "description": "现货商品ID",
  32352. "type": "integer"
  32353. },
  32354. "wrstandardname": {
  32355. "description": "商品名称",
  32356. "type": "string"
  32357. },
  32358. "wrtypename": {
  32359. "description": "商品",
  32360. "type": "string"
  32361. }
  32362. }
  32363. },
  32364. "models.WrFriendApply": {
  32365. "type": "object",
  32366. "properties": {
  32367. "applicantid": {
  32368. "description": "申请人",
  32369. "type": "integer"
  32370. },
  32371. "applyname": {
  32372. "description": "申请人名称",
  32373. "type": "string"
  32374. },
  32375. "applysrc": {
  32376. "description": "申请来源 - 1:管理端 2:终端",
  32377. "type": "integer"
  32378. },
  32379. "applystatus": {
  32380. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32381. "type": "integer"
  32382. },
  32383. "applytime": {
  32384. "description": "申请时间",
  32385. "type": "string"
  32386. },
  32387. "auditname": {
  32388. "description": "审核人名称",
  32389. "type": "string"
  32390. },
  32391. "auditorid": {
  32392. "description": "审核人",
  32393. "type": "integer"
  32394. },
  32395. "auditremark": {
  32396. "description": "审核备注",
  32397. "type": "string"
  32398. },
  32399. "auditsrc": {
  32400. "description": "审核来源 - 1:管理端 2:终端",
  32401. "type": "integer"
  32402. },
  32403. "audittime": {
  32404. "description": "审核时间",
  32405. "type": "string"
  32406. },
  32407. "friendapplyid": {
  32408. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32409. "type": "string"
  32410. },
  32411. "friendname": {
  32412. "description": "好友名字(已脱敏)",
  32413. "type": "string"
  32414. },
  32415. "frienduserid": {
  32416. "description": "好友用户ID",
  32417. "type": "string"
  32418. },
  32419. "remark": {
  32420. "description": "备注",
  32421. "type": "string"
  32422. },
  32423. "userid": {
  32424. "description": "申请人用户ID",
  32425. "type": "integer"
  32426. }
  32427. }
  32428. },
  32429. "models.WrFtDeliveryGoods": {
  32430. "type": "object",
  32431. "properties": {
  32432. "deliverygoodscode": {
  32433. "description": "品种代码",
  32434. "type": "string"
  32435. },
  32436. "deliverygoodsid": {
  32437. "description": "品种ID",
  32438. "type": "integer"
  32439. },
  32440. "deliverygoodsname": {
  32441. "description": "品种名称",
  32442. "type": "string"
  32443. },
  32444. "wdlst": {
  32445. "description": "商品列表",
  32446. "type": "array",
  32447. "items": {
  32448. "$ref": "#/definitions/models.WrFtWrstandard"
  32449. }
  32450. }
  32451. }
  32452. },
  32453. "models.WrFtWrstandard": {
  32454. "type": "object",
  32455. "properties": {
  32456. "enumdicname": {
  32457. "description": "单位名称",
  32458. "type": "string"
  32459. },
  32460. "minivalue": {
  32461. "description": "最小变动值",
  32462. "type": "integer"
  32463. },
  32464. "wrstandardcode": {
  32465. "description": "现货商品代码",
  32466. "type": "string"
  32467. },
  32468. "wrstandardid": {
  32469. "description": "现货商品ID",
  32470. "type": "integer"
  32471. },
  32472. "wrstandardname": {
  32473. "description": "商品名称",
  32474. "type": "string"
  32475. }
  32476. }
  32477. },
  32478. "models.WrGoodsInfo": {
  32479. "type": "object",
  32480. "properties": {
  32481. "haswr": {
  32482. "description": "0:仓单预售 1:仓单贸易",
  32483. "type": "integer"
  32484. },
  32485. "lstitem": {
  32486. "description": "商品信息项",
  32487. "type": "array",
  32488. "items": {
  32489. "$ref": "#/definitions/models.WrTypeItem"
  32490. }
  32491. },
  32492. "lststep": {
  32493. "description": "履约规则",
  32494. "type": "array",
  32495. "items": {
  32496. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32497. }
  32498. },
  32499. "marketid": {
  32500. "description": "市场id",
  32501. "type": "integer"
  32502. }
  32503. }
  32504. },
  32505. "models.WrGoodsPerformanceStep": {
  32506. "type": "object",
  32507. "properties": {
  32508. "autoid": {
  32509. "description": "AutoID",
  32510. "type": "integer"
  32511. },
  32512. "isauto": {
  32513. "description": "是否自动 - 0:不自动 1:自动",
  32514. "type": "integer"
  32515. },
  32516. "remark": {
  32517. "description": "备注",
  32518. "type": "string"
  32519. },
  32520. "stepdate": {
  32521. "description": "天数信息(T+N)",
  32522. "type": "string"
  32523. },
  32524. "stepdays": {
  32525. "description": "距离上一步天数",
  32526. "type": "integer"
  32527. },
  32528. "stepindex": {
  32529. "description": "步骤序号",
  32530. "type": "integer"
  32531. },
  32532. "stepinfo": {
  32533. "description": "步骤信息(步骤名称+步骤值)",
  32534. "type": "string"
  32535. },
  32536. "steptypeid": {
  32537. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32538. "type": "integer"
  32539. },
  32540. "steptypename": {
  32541. "description": "步骤名称",
  32542. "type": "string"
  32543. },
  32544. "stepvalue": {
  32545. "description": "步骤值",
  32546. "type": "number"
  32547. },
  32548. "templateid": {
  32549. "description": "履约计划模板ID",
  32550. "type": "integer"
  32551. }
  32552. }
  32553. },
  32554. "models.WrHoldLB": {
  32555. "type": "object",
  32556. "properties": {
  32557. "accountid": {
  32558. "description": "持有人帐户ID",
  32559. "type": "integer"
  32560. },
  32561. "createtime": {
  32562. "description": "创建时间(过户时间)",
  32563. "type": "string"
  32564. },
  32565. "deliverygoodscode": {
  32566. "description": "品种代码",
  32567. "type": "string"
  32568. },
  32569. "deliverygoodsid": {
  32570. "description": "品种ID",
  32571. "type": "integer"
  32572. },
  32573. "deliverygoodsname": {
  32574. "description": "品种名称",
  32575. "type": "string"
  32576. },
  32577. "enableqty": {
  32578. "description": "可用数量",
  32579. "type": "number"
  32580. },
  32581. "enumdicname": {
  32582. "description": "单位名称",
  32583. "type": "string"
  32584. },
  32585. "freezerqty": {
  32586. "description": "冻结数量",
  32587. "type": "number"
  32588. },
  32589. "ladingbillid": {
  32590. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32591. "type": "string"
  32592. },
  32593. "minivalue": {
  32594. "description": "现货商品最小变动值",
  32595. "type": "integer"
  32596. },
  32597. "optioncompare": {
  32598. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32599. "type": "string"
  32600. },
  32601. "parentsubnum": {
  32602. "description": "拆分父子单号",
  32603. "type": "integer"
  32604. },
  32605. "pledgeqty": {
  32606. "description": "质押数量",
  32607. "type": "number"
  32608. },
  32609. "qty": {
  32610. "description": "数量",
  32611. "type": "number"
  32612. },
  32613. "subnum": {
  32614. "description": "提单子单号",
  32615. "type": "integer"
  32616. },
  32617. "tradedate": {
  32618. "description": "交易日(yyyyMMdd)",
  32619. "type": "string"
  32620. },
  32621. "userid": {
  32622. "description": "持有人ID",
  32623. "type": "integer"
  32624. },
  32625. "warehouseid": {
  32626. "description": "仓库ID",
  32627. "type": "integer"
  32628. },
  32629. "warehousename": {
  32630. "description": "仓库名称",
  32631. "type": "string"
  32632. },
  32633. "wrfactortypeid": {
  32634. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32635. "type": "string"
  32636. },
  32637. "wrfactortypename": {
  32638. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32639. "type": "string"
  32640. },
  32641. "wrholdeno": {
  32642. "description": "仓单编号",
  32643. "type": "string"
  32644. },
  32645. "wrid": {
  32646. "description": "仓单变更ID",
  32647. "type": "string"
  32648. },
  32649. "wrstandardcode": {
  32650. "description": "现货商品代码",
  32651. "type": "string"
  32652. },
  32653. "wrstandardid": {
  32654. "description": "现货商品ID",
  32655. "type": "integer"
  32656. },
  32657. "wrstandardname": {
  32658. "description": "商品名称",
  32659. "type": "string"
  32660. },
  32661. "wrtypename": {
  32662. "description": "商品",
  32663. "type": "string"
  32664. }
  32665. }
  32666. },
  32667. "models.WrMarketTradeConfig": {
  32668. "type": "object",
  32669. "properties": {
  32670. "basisdownratio": {
  32671. "description": "浮动价基差下限比例(仓单贸易)",
  32672. "type": "number"
  32673. },
  32674. "basisupratio": {
  32675. "description": "浮动价基差上限比例(仓单贸易)",
  32676. "type": "number"
  32677. },
  32678. "buychargealgorithm": {
  32679. "description": "买方手续费收取方式 1:比率 2:固定",
  32680. "type": "integer"
  32681. },
  32682. "buychargealgorithm2": {
  32683. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32684. "type": "integer"
  32685. },
  32686. "buychargealgorithmvalue": {
  32687. "description": "买方手续费设置值(交易所部分)",
  32688. "type": "number"
  32689. },
  32690. "buychargealgorithmvalue2": {
  32691. "description": "买方手续费设置值(会员部分)",
  32692. "type": "number"
  32693. },
  32694. "buychargealgorithmvalue3": {
  32695. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32696. "type": "number"
  32697. },
  32698. "buychargealgorithmvalue4": {
  32699. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32700. "type": "number"
  32701. },
  32702. "buyfirstmarginalgorithm": {
  32703. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32704. "type": "integer"
  32705. },
  32706. "buyfirstmarginvalue": {
  32707. "description": "买方出价保证金设置值 - [竞拍]",
  32708. "type": "number"
  32709. },
  32710. "buymarginalgorithm": {
  32711. "description": "买方保证金方式 - 1:比率 2:固定",
  32712. "type": "integer"
  32713. },
  32714. "buymarginvalue": {
  32715. "description": "买方保证金设置值",
  32716. "type": "number"
  32717. },
  32718. "buyreleaseratio": {
  32719. "description": "买方释放比率[2:分步履约]",
  32720. "type": "number"
  32721. },
  32722. "executemode": {
  32723. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32724. "type": "integer"
  32725. },
  32726. "executeside": {
  32727. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32728. "type": "integer"
  32729. },
  32730. "failedchargealgorithm": {
  32731. "description": "流拍手续费收取方式 1:比率 2:固定",
  32732. "type": "integer"
  32733. },
  32734. "failedchargevalue": {
  32735. "description": "流拍手续费设置值",
  32736. "type": "number"
  32737. },
  32738. "failedchargevalue2": {
  32739. "description": "流拍卖方手续费设置值",
  32740. "type": "number"
  32741. },
  32742. "holddays": {
  32743. "description": "合同期限[2:分步履约]",
  32744. "type": "integer"
  32745. },
  32746. "marketid": {
  32747. "description": "市场ID-仓单贸易、竞拍、预售",
  32748. "type": "integer"
  32749. },
  32750. "minqty": {
  32751. "description": "最小执行量[2:分步履约]",
  32752. "type": "number"
  32753. },
  32754. "modifierid": {
  32755. "description": "修改人",
  32756. "type": "integer"
  32757. },
  32758. "performancetempid": {
  32759. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32760. "type": "integer"
  32761. },
  32762. "performancetempid2": {
  32763. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32764. "type": "integer"
  32765. },
  32766. "performanceway": {
  32767. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32768. "type": "integer"
  32769. },
  32770. "sellchargealgorithm": {
  32771. "description": "卖方手续费收取方式 1:比率 2:固定",
  32772. "type": "integer"
  32773. },
  32774. "sellchargealgorithm2": {
  32775. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32776. "type": "integer"
  32777. },
  32778. "sellchargealgorithmvalue": {
  32779. "description": "卖方手续费设置值(交易所部分)",
  32780. "type": "number"
  32781. },
  32782. "sellchargealgorithmvalue2": {
  32783. "description": "卖方手续费设置值(会员部分)",
  32784. "type": "number"
  32785. },
  32786. "sellchargealgorithmvalue3": {
  32787. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32788. "type": "number"
  32789. },
  32790. "sellchargealgorithmvalue4": {
  32791. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32792. "type": "number"
  32793. },
  32794. "sellmarginalgorithm": {
  32795. "description": "卖方保证金方式 - 1:比率 2:固定",
  32796. "type": "integer"
  32797. },
  32798. "sellmarginvalue": {
  32799. "description": "卖方保证金设置值",
  32800. "type": "number"
  32801. },
  32802. "sellmarginvalue2": {
  32803. "description": "卖方保证金设置值(无仓单)",
  32804. "type": "number"
  32805. },
  32806. "sellreleaseratio": {
  32807. "description": "卖方释放比率[2:分步履约]",
  32808. "type": "number"
  32809. },
  32810. "updatetime": {
  32811. "description": "更新时间",
  32812. "type": "string"
  32813. }
  32814. }
  32815. },
  32816. "models.WrOrderDetail": {
  32817. "type": "object",
  32818. "properties": {
  32819. "accountid": {
  32820. "description": "交易账号(资金账号)",
  32821. "type": "integer"
  32822. },
  32823. "allfriendsflag": {
  32824. "description": "是否全好友可见 - 0:否 1:是",
  32825. "type": "integer"
  32826. },
  32827. "amount": {
  32828. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  32829. "type": "number"
  32830. },
  32831. "buyorsell": {
  32832. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32833. "type": "integer"
  32834. },
  32835. "canbargain": {
  32836. "description": "是否可议价 - 0:不可 1:可",
  32837. "type": "integer"
  32838. },
  32839. "cancelqty": {
  32840. "description": "撤销数量",
  32841. "type": "number"
  32842. },
  32843. "canpart": {
  32844. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  32845. "type": "integer"
  32846. },
  32847. "delistminqty": {
  32848. "description": "起摘数量",
  32849. "type": "integer"
  32850. },
  32851. "deliverygoodscode": {
  32852. "description": "品种代码",
  32853. "type": "string"
  32854. },
  32855. "deliverygoodsid": {
  32856. "description": "品种ID",
  32857. "type": "integer"
  32858. },
  32859. "deliverygoodsname": {
  32860. "description": "品种名称",
  32861. "type": "string"
  32862. },
  32863. "deliverymonth": {
  32864. "description": "交收月",
  32865. "type": "string"
  32866. },
  32867. "enumdicname": {
  32868. "description": "单位名称",
  32869. "type": "string"
  32870. },
  32871. "fixedprice": {
  32872. "description": "固定价格 - [挂牌]",
  32873. "type": "number"
  32874. },
  32875. "freezemargin": {
  32876. "description": "冻结保证金(保证金)",
  32877. "type": "number"
  32878. },
  32879. "futupricemove": {
  32880. "description": "期货升贴水",
  32881. "type": "number"
  32882. },
  32883. "futushow": {
  32884. "description": "期货合约/升贴水",
  32885. "type": "string"
  32886. },
  32887. "goodscode": {
  32888. "description": "期货合约",
  32889. "type": "string"
  32890. },
  32891. "goodsid": {
  32892. "description": "期货商品id",
  32893. "type": "integer"
  32894. },
  32895. "goodsname": {
  32896. "description": "商品名称",
  32897. "type": "string"
  32898. },
  32899. "haswr": {
  32900. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32901. "type": "integer"
  32902. },
  32903. "isspecified": {
  32904. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32905. "type": "integer"
  32906. },
  32907. "ladingbillid": {
  32908. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32909. "type": "string"
  32910. },
  32911. "marginvalue": {
  32912. "description": "保证金设置值(履约保证金)",
  32913. "type": "number"
  32914. },
  32915. "marketid": {
  32916. "description": "市场ID",
  32917. "type": "integer"
  32918. },
  32919. "matchusername": {
  32920. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32921. "type": "string"
  32922. },
  32923. "minivalue": {
  32924. "description": "现货商品最小变动值",
  32925. "type": "integer"
  32926. },
  32927. "optioncompare": {
  32928. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32929. "type": "string"
  32930. },
  32931. "orderqty": {
  32932. "description": "委托数量",
  32933. "type": "number"
  32934. },
  32935. "ordertime": {
  32936. "description": "委托时间(挂牌时间)",
  32937. "type": "string"
  32938. },
  32939. "performancetemplateid": {
  32940. "description": "履约模板id",
  32941. "type": "integer"
  32942. },
  32943. "pricemove": {
  32944. "description": "升贴水(浮动价时填写) - [挂牌]",
  32945. "type": "number"
  32946. },
  32947. "taname": {
  32948. "description": "交易用户名称(资金账号名称)",
  32949. "type": "string"
  32950. },
  32951. "tradedate": {
  32952. "description": "交易日(yyyyMMdd)",
  32953. "type": "string"
  32954. },
  32955. "tradeprice": {
  32956. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32957. "type": "number"
  32958. },
  32959. "tradeqty": {
  32960. "description": "成交数量",
  32961. "type": "number"
  32962. },
  32963. "userid": {
  32964. "description": "用户ID",
  32965. "type": "integer"
  32966. },
  32967. "validtime": {
  32968. "description": "挂牌有效期",
  32969. "type": "string"
  32970. },
  32971. "warehouseid": {
  32972. "description": "仓库ID",
  32973. "type": "integer"
  32974. },
  32975. "warehousename": {
  32976. "description": "仓库名称",
  32977. "type": "string"
  32978. },
  32979. "wrfactortypeid": {
  32980. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32981. "type": "string"
  32982. },
  32983. "wrfactortypename": {
  32984. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32985. "type": "string"
  32986. },
  32987. "wrpricetype": {
  32988. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32989. "type": "integer"
  32990. },
  32991. "wrstandardcode": {
  32992. "description": "现货商品代码",
  32993. "type": "string"
  32994. },
  32995. "wrstandardid": {
  32996. "description": "现货商品ID",
  32997. "type": "integer"
  32998. },
  32999. "wrstandardname": {
  33000. "description": "商品名称",
  33001. "type": "string"
  33002. },
  33003. "wrtradeorderid": {
  33004. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33005. "type": "string"
  33006. },
  33007. "wrtradeorderstatus": {
  33008. "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:撤单解冻贷款失败",
  33009. "type": "integer"
  33010. },
  33011. "wrtradetype": {
  33012. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33013. "type": "integer"
  33014. },
  33015. "wrtypename": {
  33016. "description": "商品",
  33017. "type": "string"
  33018. }
  33019. }
  33020. },
  33021. "models.WrOrderQuote": {
  33022. "type": "object",
  33023. "properties": {
  33024. "buyprice": {
  33025. "description": "买价",
  33026. "type": "number"
  33027. },
  33028. "buypricemove": {
  33029. "description": "买升贴水(基差)",
  33030. "type": "number"
  33031. },
  33032. "buyqty": {
  33033. "description": "买量",
  33034. "type": "number"
  33035. },
  33036. "deliverygoodscode": {
  33037. "description": "品种代码",
  33038. "type": "string"
  33039. },
  33040. "deliverygoodsid": {
  33041. "description": "品种id",
  33042. "type": "integer"
  33043. },
  33044. "deliverygoodsname": {
  33045. "description": "品种名称",
  33046. "type": "string"
  33047. },
  33048. "deliverymonth": {
  33049. "description": "交收月",
  33050. "type": "string"
  33051. },
  33052. "enumdicname": {
  33053. "description": "单位名称",
  33054. "type": "string"
  33055. },
  33056. "goodscode": {
  33057. "description": "商品合约(浮动价列表才有)",
  33058. "type": "string"
  33059. },
  33060. "goodsid": {
  33061. "description": "商品id(浮动价列表才有)",
  33062. "type": "integer"
  33063. },
  33064. "minivalue": {
  33065. "description": "现货商品最小变动值",
  33066. "type": "integer"
  33067. },
  33068. "sellprice": {
  33069. "description": "卖价",
  33070. "type": "number"
  33071. },
  33072. "sellpricemove": {
  33073. "description": "卖升贴水(基差)",
  33074. "type": "number"
  33075. },
  33076. "sellqty": {
  33077. "description": "卖量",
  33078. "type": "number"
  33079. },
  33080. "warehousecode": {
  33081. "description": "仓库代码",
  33082. "type": "string"
  33083. },
  33084. "warehouseid": {
  33085. "description": "仓库id",
  33086. "type": "integer"
  33087. },
  33088. "warehousename": {
  33089. "description": "仓库名称",
  33090. "type": "string"
  33091. },
  33092. "wrfactortypeid": {
  33093. "description": "仓单要素id",
  33094. "type": "string"
  33095. },
  33096. "wrfactortypename": {
  33097. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33098. "type": "string"
  33099. },
  33100. "wrgoodsname": {
  33101. "description": "商品(商品名称+仓库要素名称 拼接)",
  33102. "type": "string"
  33103. },
  33104. "wrstandardcode": {
  33105. "description": "商品代码",
  33106. "type": "string"
  33107. },
  33108. "wrstandardid": {
  33109. "description": "商品id",
  33110. "type": "integer"
  33111. },
  33112. "wrstandardname": {
  33113. "description": "商品名称",
  33114. "type": "string"
  33115. }
  33116. }
  33117. },
  33118. "models.WrOrderQuoteDetail": {
  33119. "type": "object",
  33120. "properties": {
  33121. "buyorsell": {
  33122. "description": "买卖 - 0:买 1:卖",
  33123. "type": "integer"
  33124. },
  33125. "delistminqty": {
  33126. "description": "起摘数量",
  33127. "type": "number"
  33128. },
  33129. "deliverymonth": {
  33130. "description": "交收月",
  33131. "type": "string"
  33132. },
  33133. "enumdicname": {
  33134. "description": "单位名称",
  33135. "type": "string"
  33136. },
  33137. "fixedprice": {
  33138. "description": "买(卖)价",
  33139. "type": "number"
  33140. },
  33141. "minivalue": {
  33142. "description": "现货商品最小变动值",
  33143. "type": "integer"
  33144. },
  33145. "orderqty": {
  33146. "description": "买(卖)量(=委托量-成交量)",
  33147. "type": "number"
  33148. },
  33149. "ordertime": {
  33150. "description": "委托时间",
  33151. "type": "string"
  33152. },
  33153. "pricemove": {
  33154. "description": "买(卖)升贴水- 基差",
  33155. "type": "number"
  33156. },
  33157. "userid": {
  33158. "description": "购买方(销售方)用户ID",
  33159. "type": "integer"
  33160. },
  33161. "username": {
  33162. "description": "购买方(销售方)",
  33163. "type": "string"
  33164. },
  33165. "wrtradeorderid": {
  33166. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33167. "type": "string"
  33168. }
  33169. }
  33170. },
  33171. "models.WrOutInApply": {
  33172. "type": "object",
  33173. "properties": {
  33174. "applyid": {
  33175. "description": "申请单id",
  33176. "type": "string"
  33177. },
  33178. "applystatus": {
  33179. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33180. "type": "integer"
  33181. },
  33182. "applytime": {
  33183. "description": "申请时间",
  33184. "type": "string"
  33185. },
  33186. "applytype": {
  33187. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33188. "type": "integer"
  33189. },
  33190. "deliverygoodscode": {
  33191. "description": "品种代码",
  33192. "type": "string"
  33193. },
  33194. "deliverygoodsid": {
  33195. "description": "品种ID",
  33196. "type": "integer"
  33197. },
  33198. "deliverygoodsname": {
  33199. "description": "品种名称",
  33200. "type": "string"
  33201. },
  33202. "enumdicname": {
  33203. "description": "单位名称",
  33204. "type": "string"
  33205. },
  33206. "expresscompany": {
  33207. "description": "物流公司",
  33208. "type": "string"
  33209. },
  33210. "expressnum": {
  33211. "description": "物流单号",
  33212. "type": "string"
  33213. },
  33214. "minivalue": {
  33215. "description": "现货商品最小变动值",
  33216. "type": "integer"
  33217. },
  33218. "optioncompare": {
  33219. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33220. "type": "string"
  33221. },
  33222. "qty": {
  33223. "description": "数量",
  33224. "type": "integer"
  33225. },
  33226. "userid": {
  33227. "description": "用户id",
  33228. "type": "integer"
  33229. },
  33230. "warehouseid": {
  33231. "description": "仓库ID",
  33232. "type": "integer"
  33233. },
  33234. "warehousename": {
  33235. "description": "仓库名称",
  33236. "type": "string"
  33237. },
  33238. "wrfactortypeid": {
  33239. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33240. "type": "string"
  33241. },
  33242. "wrfactortypename": {
  33243. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33244. "type": "string"
  33245. },
  33246. "wrstandardcode": {
  33247. "description": "现货商品代码",
  33248. "type": "string"
  33249. },
  33250. "wrstandardid": {
  33251. "description": "现货商品ID",
  33252. "type": "integer"
  33253. },
  33254. "wrstandardname": {
  33255. "description": "商品名称",
  33256. "type": "string"
  33257. },
  33258. "wrtypename": {
  33259. "description": "商品",
  33260. "type": "string"
  33261. }
  33262. }
  33263. },
  33264. "models.WrPerformancePlan": {
  33265. "type": "object",
  33266. "required": [
  33267. "userid"
  33268. ],
  33269. "properties": {
  33270. "activatemonth": {
  33271. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33272. "type": "string"
  33273. },
  33274. "amount": {
  33275. "description": "履约金额(总金额)",
  33276. "type": "number"
  33277. },
  33278. "buyaccountid": {
  33279. "description": "买方账号",
  33280. "type": "integer"
  33281. },
  33282. "buyerfreezeamount": {
  33283. "description": "履约冻结(买履约)",
  33284. "type": "number"
  33285. },
  33286. "buyerfreezeamountremain": {
  33287. "description": "履约冻结剩余(买履约)",
  33288. "type": "number"
  33289. },
  33290. "buyorsell": {
  33291. "description": "买卖方向 0-买 1-卖",
  33292. "type": "integer"
  33293. },
  33294. "buypaidamount": {
  33295. "description": "买方已冻/已扣金额 (已付金额)",
  33296. "type": "number"
  33297. },
  33298. "buyusername": {
  33299. "description": "买方名字",
  33300. "type": "string"
  33301. },
  33302. "contractid": {
  33303. "description": "合同ID",
  33304. "type": "integer"
  33305. },
  33306. "createtime": {
  33307. "description": "创建时间",
  33308. "type": "string"
  33309. },
  33310. "creatorid": {
  33311. "description": "创建人",
  33312. "type": "integer"
  33313. },
  33314. "curstepdeadline": {
  33315. "description": "当前步骤到期时间",
  33316. "type": "string"
  33317. },
  33318. "curstepid": {
  33319. "description": "当前步骤ID",
  33320. "type": "string"
  33321. },
  33322. "curstepname": {
  33323. "description": "当前步骤名称",
  33324. "type": "string"
  33325. },
  33326. "deliverygoodscode": {
  33327. "description": "品种代码",
  33328. "type": "string"
  33329. },
  33330. "deliverygoodsid": {
  33331. "description": "品种ID",
  33332. "type": "integer"
  33333. },
  33334. "deliverygoodsname": {
  33335. "description": "品种名称",
  33336. "type": "string"
  33337. },
  33338. "enumdicname": {
  33339. "description": "单位名称",
  33340. "type": "string"
  33341. },
  33342. "expressfee": {
  33343. "description": "运费",
  33344. "type": "number"
  33345. },
  33346. "expressfeeconfirmed": {
  33347. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33348. "type": "integer"
  33349. },
  33350. "hasovershort": {
  33351. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33352. "type": "integer"
  33353. },
  33354. "haswr": {
  33355. "description": "类型 0-仓单预售 1-仓单贸易",
  33356. "type": "integer"
  33357. },
  33358. "marketid": {
  33359. "description": "市场ID",
  33360. "type": "integer"
  33361. },
  33362. "middleaccountid": {
  33363. "description": "中间商资金账号ID",
  33364. "type": "integer"
  33365. },
  33366. "middleuserid": {
  33367. "description": "中间商用户ID",
  33368. "type": "integer"
  33369. },
  33370. "minivalue": {
  33371. "description": "现货商品最小变动值",
  33372. "type": "integer"
  33373. },
  33374. "optioncompare": {
  33375. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33376. "type": "string"
  33377. },
  33378. "overshortamount": {
  33379. "description": "溢短金额",
  33380. "type": "number"
  33381. },
  33382. "overshortqty": {
  33383. "description": "溢短数量",
  33384. "type": "number"
  33385. },
  33386. "paymenttype": {
  33387. "description": "付款方式 - 1:冻结 2:扣款",
  33388. "type": "integer"
  33389. },
  33390. "performanceplanid": {
  33391. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33392. "type": "string"
  33393. },
  33394. "performancestatus": {
  33395. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33396. "type": "integer"
  33397. },
  33398. "performancetype": {
  33399. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33400. "type": "integer"
  33401. },
  33402. "qty": {
  33403. "description": "履约数量",
  33404. "type": "number"
  33405. },
  33406. "relatedorderid": {
  33407. "description": "关联单号(履约类型的关联单号)",
  33408. "type": "string"
  33409. },
  33410. "remark": {
  33411. "description": "备注",
  33412. "type": "string"
  33413. },
  33414. "sellaccountid": {
  33415. "description": "卖方账号",
  33416. "type": "integer"
  33417. },
  33418. "sellerfreezeamount": {
  33419. "description": "履约冻结(卖履约)",
  33420. "type": "number"
  33421. },
  33422. "sellerfreezeamountremain": {
  33423. "description": "履约冻结剩余(卖履约)",
  33424. "type": "number"
  33425. },
  33426. "sellreceivedamount": {
  33427. "description": "卖方已收金额",
  33428. "type": "number"
  33429. },
  33430. "sellusername": {
  33431. "description": "卖方名字",
  33432. "type": "string"
  33433. },
  33434. "shipremark": {
  33435. "description": "发货备注[物流单号]",
  33436. "type": "string"
  33437. },
  33438. "starttime": {
  33439. "description": "开始时间",
  33440. "type": "string"
  33441. },
  33442. "steptypeid": {
  33443. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33444. "type": "integer"
  33445. },
  33446. "typename": {
  33447. "description": "履约类型 名称",
  33448. "type": "string"
  33449. },
  33450. "unpaidamount": {
  33451. "description": "剩余款(待支付金额)",
  33452. "type": "number"
  33453. },
  33454. "userid": {
  33455. "description": "用户id",
  33456. "type": "integer"
  33457. },
  33458. "warehouseid": {
  33459. "description": "仓库ID",
  33460. "type": "integer"
  33461. },
  33462. "warehousename": {
  33463. "description": "仓库名称",
  33464. "type": "string"
  33465. },
  33466. "wrfactortypeid": {
  33467. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33468. "type": "string"
  33469. },
  33470. "wrfactortypename": {
  33471. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33472. "type": "string"
  33473. },
  33474. "wrstandardcode": {
  33475. "description": "现货商品代码",
  33476. "type": "string"
  33477. },
  33478. "wrstandardid": {
  33479. "description": "现货商品ID",
  33480. "type": "integer"
  33481. },
  33482. "wrstandardname": {
  33483. "description": "商品名称",
  33484. "type": "string"
  33485. },
  33486. "wrtransferuserid": {
  33487. "description": "仓单受让用户",
  33488. "type": "integer"
  33489. },
  33490. "wrtypename": {
  33491. "description": "商品",
  33492. "type": "string"
  33493. }
  33494. }
  33495. },
  33496. "models.WrPerformancePlanStep": {
  33497. "type": "object",
  33498. "properties": {
  33499. "delaydays": {
  33500. "description": "延期申请天数",
  33501. "type": "integer"
  33502. },
  33503. "deliverygoodscode": {
  33504. "description": "品种代码",
  33505. "type": "string"
  33506. },
  33507. "deliverygoodsid": {
  33508. "description": "品种ID",
  33509. "type": "integer"
  33510. },
  33511. "deliverygoodsname": {
  33512. "description": "品种名称",
  33513. "type": "string"
  33514. },
  33515. "endtime": {
  33516. "description": "结束日期",
  33517. "type": "string"
  33518. },
  33519. "enumdicname": {
  33520. "description": "单位名称",
  33521. "type": "string"
  33522. },
  33523. "executeside": {
  33524. "description": "步骤执行方 - 1:买方 2:卖方",
  33525. "type": "integer"
  33526. },
  33527. "handlestatus": {
  33528. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33529. "type": "integer"
  33530. },
  33531. "isauto": {
  33532. "description": "是否自动 - 0:不自动 1:自动",
  33533. "type": "integer"
  33534. },
  33535. "islastreceivestep": {
  33536. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33537. "type": "integer"
  33538. },
  33539. "minivalue": {
  33540. "description": "现货商品最小变动值",
  33541. "type": "integer"
  33542. },
  33543. "optioncompare": {
  33544. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33545. "type": "string"
  33546. },
  33547. "overdays": {
  33548. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33549. "type": "integer"
  33550. },
  33551. "performancestepid": {
  33552. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33553. "type": "string"
  33554. },
  33555. "planid": {
  33556. "description": "所属履约计划ID",
  33557. "type": "string"
  33558. },
  33559. "realamount": {
  33560. "description": "实际完成金额",
  33561. "type": "number"
  33562. },
  33563. "relatedorderid": {
  33564. "description": "关联单号",
  33565. "type": "string"
  33566. },
  33567. "remaindays": {
  33568. "description": "剩余天数",
  33569. "type": "integer"
  33570. },
  33571. "remark": {
  33572. "description": "错误备注",
  33573. "type": "string"
  33574. },
  33575. "starttime": {
  33576. "description": "开始日期",
  33577. "type": "string"
  33578. },
  33579. "stepamount": {
  33580. "description": "步骤金额",
  33581. "type": "number"
  33582. },
  33583. "stepdays": {
  33584. "description": "距离上一步天数(分钟)",
  33585. "type": "integer"
  33586. },
  33587. "stepindex": {
  33588. "description": "步骤序号",
  33589. "type": "integer"
  33590. },
  33591. "steplanchtype": {
  33592. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33593. "type": "integer"
  33594. },
  33595. "stepremark": {
  33596. "description": "步骤备注",
  33597. "type": "string"
  33598. },
  33599. "stepstatus": {
  33600. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33601. "type": "integer"
  33602. },
  33603. "steptypeid": {
  33604. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33605. "type": "integer"
  33606. },
  33607. "steptypename": {
  33608. "description": "步骤名称",
  33609. "type": "string"
  33610. },
  33611. "stepvalue": {
  33612. "description": "步骤值",
  33613. "type": "number"
  33614. },
  33615. "warehouseid": {
  33616. "description": "仓库ID",
  33617. "type": "integer"
  33618. },
  33619. "warehousename": {
  33620. "description": "仓库名称",
  33621. "type": "string"
  33622. },
  33623. "wrfactortypeid": {
  33624. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33625. "type": "string"
  33626. },
  33627. "wrfactortypename": {
  33628. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33629. "type": "string"
  33630. },
  33631. "wrstandardcode": {
  33632. "description": "现货商品代码",
  33633. "type": "string"
  33634. },
  33635. "wrstandardid": {
  33636. "description": "现货商品ID",
  33637. "type": "integer"
  33638. },
  33639. "wrstandardname": {
  33640. "description": "商品名称",
  33641. "type": "string"
  33642. },
  33643. "wrtypename": {
  33644. "description": "商品",
  33645. "type": "string"
  33646. }
  33647. }
  33648. },
  33649. "models.WrPerformanceStepType": {
  33650. "type": "object",
  33651. "properties": {
  33652. "canauto": {
  33653. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33654. "type": "integer"
  33655. },
  33656. "steptypeid": {
  33657. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33658. "type": "integer"
  33659. },
  33660. "steptypename": {
  33661. "description": "步骤类型名称",
  33662. "type": "string"
  33663. }
  33664. }
  33665. },
  33666. "models.WrPerformanceTemplateEx": {
  33667. "type": "object",
  33668. "properties": {
  33669. "autoid": {
  33670. "description": "AutoID 模板id",
  33671. "type": "integer"
  33672. },
  33673. "createtime": {
  33674. "description": "创建时间",
  33675. "type": "string"
  33676. },
  33677. "creatorid": {
  33678. "description": "创建人",
  33679. "type": "integer"
  33680. },
  33681. "lstStep": {
  33682. "description": "步骤信息列表",
  33683. "type": "array",
  33684. "items": {
  33685. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33686. }
  33687. },
  33688. "paymenttype": {
  33689. "description": "支付方式 - 1:冻结 2:扣款",
  33690. "type": "integer"
  33691. },
  33692. "takemode": {
  33693. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33694. "type": "integer"
  33695. },
  33696. "templatename": {
  33697. "description": "模板名称",
  33698. "type": "string"
  33699. },
  33700. "templatetype": {
  33701. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33702. "type": "integer"
  33703. },
  33704. "userid": {
  33705. "description": "所属用户",
  33706. "type": "integer"
  33707. }
  33708. }
  33709. },
  33710. "models.WrPosition": {
  33711. "type": "object",
  33712. "properties": {
  33713. "accountid": {
  33714. "description": "帐户ID",
  33715. "type": "integer"
  33716. },
  33717. "buyexcuteqty": {
  33718. "description": "采购履约中数量",
  33719. "type": "number"
  33720. },
  33721. "creditcurqty": {
  33722. "description": "授信当前数量(预售仓单:预售当前量)",
  33723. "type": "number"
  33724. },
  33725. "creditenableqty": {
  33726. "description": "授信可用数量(预售仓单: 可用数量)",
  33727. "type": "number"
  33728. },
  33729. "creditfreezeqty": {
  33730. "description": "授信冻结数量(预售仓单: 当前数量)",
  33731. "type": "number"
  33732. },
  33733. "credittotalqty": {
  33734. "description": "授信总数量(预售仓单:预售总量)",
  33735. "type": "number"
  33736. },
  33737. "credittradeqty": {
  33738. "description": "授信成交数量(预售仓单:成交总量)",
  33739. "type": "number"
  33740. },
  33741. "deliverygoodscode": {
  33742. "description": "品种代码",
  33743. "type": "string"
  33744. },
  33745. "deliverygoodsid": {
  33746. "description": "品种ID",
  33747. "type": "integer"
  33748. },
  33749. "deliverygoodsname": {
  33750. "description": "品种名称",
  33751. "type": "string"
  33752. },
  33753. "enalbeqty": {
  33754. "description": "可用数量",
  33755. "type": "number"
  33756. },
  33757. "enumdicname": {
  33758. "description": "单位名称",
  33759. "type": "string"
  33760. },
  33761. "freezeqty": {
  33762. "description": "总冻结数量",
  33763. "type": "number"
  33764. },
  33765. "haswr": {
  33766. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33767. "type": "integer"
  33768. },
  33769. "minivalue": {
  33770. "description": "现货商品最小变动值",
  33771. "type": "integer"
  33772. },
  33773. "modifytime": {
  33774. "description": "修改时间(过户时间)",
  33775. "type": "string"
  33776. },
  33777. "optioncompare": {
  33778. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33779. "type": "string"
  33780. },
  33781. "pledgeqty": {
  33782. "description": "质押数量",
  33783. "type": "number"
  33784. },
  33785. "querytype": {
  33786. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  33787. "type": "integer"
  33788. },
  33789. "sellexcuteqty": {
  33790. "description": "销售履约中数量",
  33791. "type": "number"
  33792. },
  33793. "totalqty": {
  33794. "description": "总数量(库存数量)",
  33795. "type": "number"
  33796. },
  33797. "warehouseid": {
  33798. "description": "仓库ID",
  33799. "type": "integer"
  33800. },
  33801. "warehousename": {
  33802. "description": "仓库名称",
  33803. "type": "string"
  33804. },
  33805. "wrfactortypeid": {
  33806. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33807. "type": "string"
  33808. },
  33809. "wrfactortypename": {
  33810. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33811. "type": "string"
  33812. },
  33813. "wrpositionid": {
  33814. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  33815. "type": "string"
  33816. },
  33817. "wrpositionno": {
  33818. "description": "仓单编号",
  33819. "type": "string"
  33820. },
  33821. "wrstandardcode": {
  33822. "description": "现货商品代码",
  33823. "type": "string"
  33824. },
  33825. "wrstandardid": {
  33826. "description": "现货商品ID",
  33827. "type": "integer"
  33828. },
  33829. "wrstandardname": {
  33830. "description": "商品名称",
  33831. "type": "string"
  33832. },
  33833. "wrtypename": {
  33834. "description": "商品",
  33835. "type": "string"
  33836. },
  33837. "wruserid": {
  33838. "description": "持有人ID",
  33839. "type": "integer"
  33840. }
  33841. }
  33842. },
  33843. "models.WrQuoteOrderMyq": {
  33844. "type": "object",
  33845. "properties": {
  33846. "buyorsell": {
  33847. "description": "买卖 - 0:买 1:卖",
  33848. "type": "integer"
  33849. },
  33850. "canbargain": {
  33851. "description": "是否可议价 - 0:不可 1:可",
  33852. "type": "integer"
  33853. },
  33854. "canpart": {
  33855. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  33856. "type": "integer"
  33857. },
  33858. "delistminqty": {
  33859. "description": "起摘数量",
  33860. "type": "number"
  33861. },
  33862. "deliverygoodscode": {
  33863. "description": "品种代码",
  33864. "type": "string"
  33865. },
  33866. "deliverygoodsid": {
  33867. "description": "品种ID",
  33868. "type": "integer"
  33869. },
  33870. "deliverygoodsname": {
  33871. "description": "品种名称",
  33872. "type": "string"
  33873. },
  33874. "deliverymonth": {
  33875. "description": "交收月",
  33876. "type": "string"
  33877. },
  33878. "enumdicname": {
  33879. "description": "单位名称",
  33880. "type": "string"
  33881. },
  33882. "fixedprice": {
  33883. "description": "买(卖)价",
  33884. "type": "number"
  33885. },
  33886. "goodscode": {
  33887. "description": "商品合约代码",
  33888. "type": "string"
  33889. },
  33890. "marginflag": {
  33891. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  33892. "type": "integer"
  33893. },
  33894. "marginvalue": {
  33895. "description": "保证金设置值",
  33896. "type": "number"
  33897. },
  33898. "minivalue": {
  33899. "description": "现货商品最小变动值",
  33900. "type": "integer"
  33901. },
  33902. "orderqty": {
  33903. "description": "买(卖)量(=委托量-成交量)",
  33904. "type": "number"
  33905. },
  33906. "ordertime": {
  33907. "description": "委托时间",
  33908. "type": "string"
  33909. },
  33910. "performancetemplateid": {
  33911. "description": "履约模板id",
  33912. "type": "integer"
  33913. },
  33914. "pricemove": {
  33915. "description": "买(卖)升贴水- 基差",
  33916. "type": "number"
  33917. },
  33918. "templatename": {
  33919. "description": "履约模板名称",
  33920. "type": "string"
  33921. },
  33922. "userid": {
  33923. "description": "购买方(销售方)用户ID",
  33924. "type": "integer"
  33925. },
  33926. "username": {
  33927. "description": "购买方(销售方)",
  33928. "type": "string"
  33929. },
  33930. "validtime": {
  33931. "description": "有效期限",
  33932. "type": "string"
  33933. },
  33934. "validtype": {
  33935. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33936. "type": "integer"
  33937. },
  33938. "warehousename": {
  33939. "description": "仓库名称",
  33940. "type": "string"
  33941. },
  33942. "wrfactortypeid": {
  33943. "description": "仓单要素id",
  33944. "type": "string"
  33945. },
  33946. "wrstandardcode": {
  33947. "description": "现货商品代码",
  33948. "type": "string"
  33949. },
  33950. "wrstandardid": {
  33951. "description": "现货商品ID",
  33952. "type": "integer"
  33953. },
  33954. "wrstandardname": {
  33955. "description": "商品名称",
  33956. "type": "string"
  33957. },
  33958. "wrtradeorderid": {
  33959. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33960. "type": "string"
  33961. },
  33962. "wrtypename": {
  33963. "description": "商品",
  33964. "type": "string"
  33965. }
  33966. }
  33967. },
  33968. "models.WrScfContract": {
  33969. "type": "object",
  33970. "properties": {
  33971. "borroweruserid": {
  33972. "description": "借款用户ID",
  33973. "type": "integer"
  33974. },
  33975. "buybackwrpositionqty": {
  33976. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33977. "type": "number"
  33978. },
  33979. "closeinterest": {
  33980. "description": "已结利息 -\u003e 已结费用",
  33981. "type": "number"
  33982. },
  33983. "currisklevel": {
  33984. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33985. "type": "integer"
  33986. },
  33987. "deadline": {
  33988. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  33989. "type": "string"
  33990. },
  33991. "deliverygoodscode": {
  33992. "description": "品种代码",
  33993. "type": "string"
  33994. },
  33995. "deliverygoodsid": {
  33996. "description": "品种ID",
  33997. "type": "integer"
  33998. },
  33999. "deliverygoodsname": {
  34000. "description": "品种名称",
  34001. "type": "string"
  34002. },
  34003. "enumdicname": {
  34004. "description": "单位名称",
  34005. "type": "string"
  34006. },
  34007. "financingdays": {
  34008. "description": "天数(天)",
  34009. "type": "integer"
  34010. },
  34011. "initmargin": {
  34012. "description": "保证金 - [仓单回购]",
  34013. "type": "number"
  34014. },
  34015. "interestamount": {
  34016. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34017. "type": "number"
  34018. },
  34019. "interestdebt": {
  34020. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34021. "type": "number"
  34022. },
  34023. "interestminlen": {
  34024. "description": "最小起息天数",
  34025. "type": "integer"
  34026. },
  34027. "interestrate": {
  34028. "description": "利率",
  34029. "type": "number"
  34030. },
  34031. "interestratemode": {
  34032. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34033. "type": "integer"
  34034. },
  34035. "interestsettlemode": {
  34036. "description": "结息方式 - 1:按日结息 3:按月结息",
  34037. "type": "integer"
  34038. },
  34039. "interestsettlevalue": {
  34040. "description": "结息方式值",
  34041. "type": "integer"
  34042. },
  34043. "isautoloan": {
  34044. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34045. "type": "integer"
  34046. },
  34047. "lastcloseinterestday": {
  34048. "description": "最近结息日(yyyyMMdd)",
  34049. "type": "string"
  34050. },
  34051. "lenderamount": {
  34052. "description": "贷款金额 -\u003e 借款金额",
  34053. "type": "number"
  34054. },
  34055. "lenderuserid": {
  34056. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34057. "type": "integer"
  34058. },
  34059. "lenderusername": {
  34060. "description": "融出方",
  34061. "type": "string"
  34062. },
  34063. "marginratio": {
  34064. "description": "保证金比率质押率 - [仓单质押]",
  34065. "type": "number"
  34066. },
  34067. "marketid": {
  34068. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34069. "type": "integer"
  34070. },
  34071. "minivalue": {
  34072. "description": "现货商品最小变动值",
  34073. "type": "integer"
  34074. },
  34075. "optioncompare": {
  34076. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34077. "type": "string"
  34078. },
  34079. "pricemove": {
  34080. "description": "估值升贴水值",
  34081. "type": "number"
  34082. },
  34083. "productdetailid": {
  34084. "description": "产品组合ID",
  34085. "type": "integer"
  34086. },
  34087. "productid": {
  34088. "description": "金融产品ID",
  34089. "type": "integer"
  34090. },
  34091. "productname": {
  34092. "description": "产品名称",
  34093. "type": "string"
  34094. },
  34095. "remainamount": {
  34096. "description": "合同剩余金额 -\u003e 剩余金额",
  34097. "type": "number"
  34098. },
  34099. "remainwrpositionqty": {
  34100. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34101. "type": "number"
  34102. },
  34103. "remark": {
  34104. "description": "备注",
  34105. "type": "string"
  34106. },
  34107. "scfcontractid": {
  34108. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34109. "type": "string"
  34110. },
  34111. "scfcontractstatus": {
  34112. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34113. "type": "integer"
  34114. },
  34115. "scfcontracttype": {
  34116. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34117. "type": "integer"
  34118. },
  34119. "startinterestday": {
  34120. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34121. "type": "string"
  34122. },
  34123. "totalinterest": {
  34124. "description": "已计利息 -\u003e 已计费用",
  34125. "type": "number"
  34126. },
  34127. "unpaidinterest": {
  34128. "description": "未结费用",
  34129. "type": "number"
  34130. },
  34131. "updatetime": {
  34132. "description": "更新时间",
  34133. "type": "string"
  34134. },
  34135. "warehouseid": {
  34136. "description": "仓库ID",
  34137. "type": "integer"
  34138. },
  34139. "warehousename": {
  34140. "description": "仓库名称",
  34141. "type": "string"
  34142. },
  34143. "wrfactortypeid": {
  34144. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34145. "type": "string"
  34146. },
  34147. "wrfactortypename": {
  34148. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34149. "type": "string"
  34150. },
  34151. "wrqty": {
  34152. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34153. "type": "number"
  34154. },
  34155. "wrstandardcode": {
  34156. "description": "现货商品代码",
  34157. "type": "string"
  34158. },
  34159. "wrstandardid": {
  34160. "description": "现货商品ID",
  34161. "type": "integer"
  34162. },
  34163. "wrstandardname": {
  34164. "description": "商品名称",
  34165. "type": "string"
  34166. },
  34167. "wrtypename": {
  34168. "description": "商品",
  34169. "type": "string"
  34170. }
  34171. }
  34172. },
  34173. "models.WrScfContractInterest": {
  34174. "type": "object",
  34175. "properties": {
  34176. "closeinterest": {
  34177. "description": "已结利息",
  34178. "type": "number"
  34179. },
  34180. "closeintereststatus": {
  34181. "description": "结息状态 - 1:未结 2:已结",
  34182. "type": "integer"
  34183. },
  34184. "closetime": {
  34185. "description": "结息时间",
  34186. "type": "string"
  34187. },
  34188. "closetradedate": {
  34189. "description": "结息交易日",
  34190. "type": "string"
  34191. },
  34192. "creatorid": {
  34193. "description": "操作人ID",
  34194. "type": "integer"
  34195. },
  34196. "dayrate": {
  34197. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34198. "type": "number"
  34199. },
  34200. "interest": {
  34201. "description": "利息",
  34202. "type": "number"
  34203. },
  34204. "interestamount": {
  34205. "description": "计息金额",
  34206. "type": "number"
  34207. },
  34208. "interestday": {
  34209. "description": "计息日(yyyyMMdd)",
  34210. "type": "string"
  34211. },
  34212. "scfcontractid": {
  34213. "description": "SCF合同ID",
  34214. "type": "string"
  34215. },
  34216. "scfcontractinterestid": {
  34217. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34218. "type": "integer"
  34219. },
  34220. "updatetime": {
  34221. "description": "更新时间",
  34222. "type": "string"
  34223. }
  34224. }
  34225. },
  34226. "models.WrSpecialMatchOrder": {
  34227. "type": "object",
  34228. "properties": {
  34229. "amount": {
  34230. "description": "金额 = 数量 * 价格",
  34231. "type": "number"
  34232. },
  34233. "buyorsell": {
  34234. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34235. "type": "integer"
  34236. },
  34237. "cancelqty": {
  34238. "description": "撤销数量",
  34239. "type": "number"
  34240. },
  34241. "deliverygoodscode": {
  34242. "description": "品种代码",
  34243. "type": "string"
  34244. },
  34245. "deliverygoodsid": {
  34246. "description": "品种ID",
  34247. "type": "integer"
  34248. },
  34249. "deliverygoodsname": {
  34250. "description": "品种名称",
  34251. "type": "string"
  34252. },
  34253. "enumdicname": {
  34254. "description": "单位名称",
  34255. "type": "string"
  34256. },
  34257. "fixedprice": {
  34258. "description": "固定价格(价格)",
  34259. "type": "number"
  34260. },
  34261. "haswr": {
  34262. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34263. "type": "integer"
  34264. },
  34265. "marketid": {
  34266. "description": "市场ID",
  34267. "type": "integer"
  34268. },
  34269. "matchuserid": {
  34270. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34271. "type": "integer"
  34272. },
  34273. "matchusername": {
  34274. "description": "指定方",
  34275. "type": "string"
  34276. },
  34277. "minivalue": {
  34278. "description": "现货商品最小变动值",
  34279. "type": "integer"
  34280. },
  34281. "optioncompare": {
  34282. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34283. "type": "string"
  34284. },
  34285. "orderqty": {
  34286. "description": "委托数量",
  34287. "type": "number"
  34288. },
  34289. "ordertime": {
  34290. "description": "委托时间",
  34291. "type": "string"
  34292. },
  34293. "pricemove": {
  34294. "description": "升贴水(浮动价时填写) - [挂牌]",
  34295. "type": "number"
  34296. },
  34297. "tradedate": {
  34298. "description": "交易日(yyyyMMdd)",
  34299. "type": "string"
  34300. },
  34301. "tradeprice": {
  34302. "description": "成交价格",
  34303. "type": "number"
  34304. },
  34305. "tradeqty": {
  34306. "description": "成交数量",
  34307. "type": "number"
  34308. },
  34309. "userid": {
  34310. "description": "用户ID",
  34311. "type": "integer"
  34312. },
  34313. "username": {
  34314. "description": "发起方",
  34315. "type": "string"
  34316. },
  34317. "warehouseid": {
  34318. "description": "仓库ID",
  34319. "type": "integer"
  34320. },
  34321. "warehousename": {
  34322. "description": "仓库名称",
  34323. "type": "string"
  34324. },
  34325. "wrfactortypeid": {
  34326. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34327. "type": "string"
  34328. },
  34329. "wrfactortypename": {
  34330. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34331. "type": "string"
  34332. },
  34333. "wrpricetype": {
  34334. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34335. "type": "integer"
  34336. },
  34337. "wrstandardcode": {
  34338. "description": "现货商品代码",
  34339. "type": "string"
  34340. },
  34341. "wrstandardid": {
  34342. "description": "现货商品ID",
  34343. "type": "integer"
  34344. },
  34345. "wrstandardname": {
  34346. "description": "商品名称",
  34347. "type": "string"
  34348. },
  34349. "wrtradeorderid": {
  34350. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34351. "type": "string"
  34352. },
  34353. "wrtradeorderstatus": {
  34354. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34355. "type": "integer"
  34356. },
  34357. "wrtradetype": {
  34358. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34359. "type": "integer"
  34360. },
  34361. "wrtypename": {
  34362. "description": "商品",
  34363. "type": "string"
  34364. }
  34365. }
  34366. },
  34367. "models.WrStandardFactoryItem": {
  34368. "type": "object",
  34369. "properties": {
  34370. "dgfactoryitemid": {
  34371. "description": "选择项id",
  34372. "type": "integer"
  34373. },
  34374. "dgfactoryitemvalue": {
  34375. "description": "要素项值",
  34376. "type": "string"
  34377. },
  34378. "warehouseid": {
  34379. "description": "仓库id",
  34380. "type": "integer"
  34381. }
  34382. }
  34383. },
  34384. "models.WrStandardFactoryItemEx": {
  34385. "type": "object",
  34386. "properties": {
  34387. "dgfactoryitemtypeid": {
  34388. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34389. "type": "integer"
  34390. },
  34391. "itemlst": {
  34392. "description": "要素项列表",
  34393. "type": "array",
  34394. "items": {
  34395. "$ref": "#/definitions/models.WrStandardFactoryItem"
  34396. }
  34397. },
  34398. "itemtypename": {
  34399. "description": "要素项类型名称",
  34400. "type": "string"
  34401. },
  34402. "wrstandardid": {
  34403. "description": "品类",
  34404. "type": "integer"
  34405. }
  34406. }
  34407. },
  34408. "models.WrTradeDetail": {
  34409. "type": "object",
  34410. "properties": {
  34411. "accountid": {
  34412. "description": "资金账号",
  34413. "type": "integer"
  34414. },
  34415. "buyorsell": {
  34416. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34417. "type": "integer"
  34418. },
  34419. "deliverygoodscode": {
  34420. "description": "品种代码",
  34421. "type": "string"
  34422. },
  34423. "deliverygoodsid": {
  34424. "description": "品种ID",
  34425. "type": "integer"
  34426. },
  34427. "deliverygoodsname": {
  34428. "description": "品种名称",
  34429. "type": "string"
  34430. },
  34431. "deliverymonth": {
  34432. "description": "交收月",
  34433. "type": "string"
  34434. },
  34435. "enumdicname": {
  34436. "description": "单位名称",
  34437. "type": "string"
  34438. },
  34439. "haswr": {
  34440. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34441. "type": "integer"
  34442. },
  34443. "marketid": {
  34444. "description": "市场ID",
  34445. "type": "integer"
  34446. },
  34447. "matchaccountid": {
  34448. "description": "对手账号",
  34449. "type": "integer"
  34450. },
  34451. "matchusername": {
  34452. "description": "对手方",
  34453. "type": "string"
  34454. },
  34455. "minivalue": {
  34456. "description": "现货商品最小变动值",
  34457. "type": "integer"
  34458. },
  34459. "optioncompare": {
  34460. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34461. "type": "string"
  34462. },
  34463. "tradedate": {
  34464. "description": "交易日(yyyyMMdd)",
  34465. "type": "string"
  34466. },
  34467. "tradeprice": {
  34468. "description": "成交价格",
  34469. "type": "number"
  34470. },
  34471. "tradeqty": {
  34472. "description": "成交数量",
  34473. "type": "number"
  34474. },
  34475. "tradetime": {
  34476. "description": "成交时间",
  34477. "type": "string"
  34478. },
  34479. "userid": {
  34480. "description": "用户ID",
  34481. "type": "integer"
  34482. },
  34483. "warehouseid": {
  34484. "description": "仓库ID",
  34485. "type": "integer"
  34486. },
  34487. "warehousename": {
  34488. "description": "仓库名称",
  34489. "type": "string"
  34490. },
  34491. "wrfactortypeid": {
  34492. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34493. "type": "string"
  34494. },
  34495. "wrfactortypename": {
  34496. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34497. "type": "string"
  34498. },
  34499. "wrstandardcode": {
  34500. "description": "现货商品代码",
  34501. "type": "string"
  34502. },
  34503. "wrstandardid": {
  34504. "description": "现货商品ID",
  34505. "type": "integer"
  34506. },
  34507. "wrstandardname": {
  34508. "description": "商品名称",
  34509. "type": "string"
  34510. },
  34511. "wrtradedetailid": {
  34512. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34513. "type": "string"
  34514. },
  34515. "wrtradetype": {
  34516. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34517. "type": "integer"
  34518. },
  34519. "wrtypename": {
  34520. "description": "商品",
  34521. "type": "string"
  34522. }
  34523. }
  34524. },
  34525. "models.WrTradeOrderDetail": {
  34526. "type": "object",
  34527. "properties": {
  34528. "buyorsell": {
  34529. "description": "买卖方向 0-买 1-卖",
  34530. "type": "integer"
  34531. },
  34532. "goodsid": {
  34533. "description": "商品id",
  34534. "type": "integer"
  34535. },
  34536. "orderid": {
  34537. "description": "委托单号",
  34538. "type": "string"
  34539. },
  34540. "orderprice": {
  34541. "description": "委托价格",
  34542. "type": "number"
  34543. },
  34544. "orderqty": {
  34545. "description": "委托数量",
  34546. "type": "integer"
  34547. },
  34548. "userid": {
  34549. "description": "用户id",
  34550. "type": "integer"
  34551. },
  34552. "username": {
  34553. "description": "用户名称(已脱敏)",
  34554. "type": "string"
  34555. }
  34556. }
  34557. },
  34558. "models.WrTypeItem": {
  34559. "type": "object",
  34560. "properties": {
  34561. "name": {
  34562. "description": "名称",
  34563. "type": "string"
  34564. },
  34565. "value": {
  34566. "description": "值",
  34567. "type": "string"
  34568. }
  34569. }
  34570. },
  34571. "models.WrUserFriend": {
  34572. "type": "object",
  34573. "properties": {
  34574. "friendname": {
  34575. "description": "朋友名称(已脱敏)",
  34576. "type": "string"
  34577. },
  34578. "frienduserid": {
  34579. "description": "朋友id",
  34580. "type": "integer"
  34581. },
  34582. "isfriend": {
  34583. "description": "是否好友 0-不是 1-是",
  34584. "type": "integer"
  34585. },
  34586. "userid": {
  34587. "description": "用户id",
  34588. "type": "integer"
  34589. }
  34590. }
  34591. },
  34592. "order.QueryHisTradeDetailRsp": {
  34593. "type": "object",
  34594. "required": [
  34595. "accountid",
  34596. "buyorsell",
  34597. "goodsid",
  34598. "histradedate",
  34599. "marketid",
  34600. "memberuserid",
  34601. "orderid",
  34602. "tradeamount",
  34603. "tradedate",
  34604. "tradeid",
  34605. "tradeprice",
  34606. "tradeqty",
  34607. "tradetime"
  34608. ],
  34609. "properties": {
  34610. "accountid": {
  34611. "description": "账户ID[报价币种]",
  34612. "type": "integer"
  34613. },
  34614. "advanceratio": {
  34615. "description": "首付比率",
  34616. "type": "number"
  34617. },
  34618. "buildtype": {
  34619. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34620. "type": "integer"
  34621. },
  34622. "buyorsell": {
  34623. "description": "方向 - 0:买 1:卖",
  34624. "type": "integer"
  34625. },
  34626. "charge": {
  34627. "description": "手续费",
  34628. "type": "number"
  34629. },
  34630. "closecharge": {
  34631. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34632. "type": "number"
  34633. },
  34634. "closeexchagechargevalue": {
  34635. "description": "平仓交易所手续费设置值",
  34636. "type": "number"
  34637. },
  34638. "closefeealgorithm": {
  34639. "description": "平仓手续费收取方式 1:比率 2:固定",
  34640. "type": "integer"
  34641. },
  34642. "closememberchargevalue": {
  34643. "description": "平仓会员手续费设置值",
  34644. "type": "number"
  34645. },
  34646. "closepl": {
  34647. "description": "平仓盈亏",
  34648. "type": "number"
  34649. },
  34650. "closepl2": {
  34651. "description": "平仓盈亏[逐笔]",
  34652. "type": "number"
  34653. },
  34654. "closeqty": {
  34655. "description": "平仓数量(先建后平操作 需要记录)",
  34656. "type": "number"
  34657. },
  34658. "creditamount": {
  34659. "description": "授信金额",
  34660. "type": "number"
  34661. },
  34662. "decimalplace": {
  34663. "description": "商品报价小数位",
  34664. "type": "integer"
  34665. },
  34666. "enumdicname": {
  34667. "description": "单位名称",
  34668. "type": "string"
  34669. },
  34670. "gcaccountid": {
  34671. "description": "账户ID[合约币种]",
  34672. "type": "integer"
  34673. },
  34674. "goodscode": {
  34675. "description": "商品代码",
  34676. "type": "string"
  34677. },
  34678. "goodsid": {
  34679. "description": "商品ID",
  34680. "type": "integer"
  34681. },
  34682. "goodsname": {
  34683. "description": "商品名称",
  34684. "type": "string"
  34685. },
  34686. "goodunitid": {
  34687. "description": "商品单位id",
  34688. "type": "integer"
  34689. },
  34690. "histradedate": {
  34691. "description": "历史交易日",
  34692. "type": "string"
  34693. },
  34694. "intclosepl": {
  34695. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34696. "type": "integer"
  34697. },
  34698. "isconfirmexercise": {
  34699. "description": "是否确认行权- 0:否 1:是",
  34700. "type": "integer"
  34701. },
  34702. "ismain": {
  34703. "description": "是否主单 - 0:不是 1:是",
  34704. "type": "integer"
  34705. },
  34706. "ispreexercise": {
  34707. "description": "是否预申报- 0:否 1:是",
  34708. "type": "integer"
  34709. },
  34710. "isreckoned": {
  34711. "description": "是否结算 - 0:未结算 1:已结算",
  34712. "type": "integer"
  34713. },
  34714. "isvaliddata": {
  34715. "description": "是否有效 - 0:无效 1:有效",
  34716. "type": "integer"
  34717. },
  34718. "listingselecttype": {
  34719. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34720. "type": "integer"
  34721. },
  34722. "marketid": {
  34723. "description": "市场ID",
  34724. "type": "integer"
  34725. },
  34726. "marketname": {
  34727. "description": "市场名称",
  34728. "type": "string"
  34729. },
  34730. "matchaccountid": {
  34731. "description": "对手账号id",
  34732. "type": "integer"
  34733. },
  34734. "memberuserid": {
  34735. "description": "会员id 个人投资者 需要填写",
  34736. "type": "integer"
  34737. },
  34738. "opencharge": {
  34739. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34740. "type": "number"
  34741. },
  34742. "openexchagechargevalue": {
  34743. "description": "建仓交易所手续费设置值",
  34744. "type": "number"
  34745. },
  34746. "openfeealgorithm": {
  34747. "description": "建仓手续费收取方式 1:比率 2:固定",
  34748. "type": "integer"
  34749. },
  34750. "openmemberchargevalue": {
  34751. "description": "建仓会员手续费设置值",
  34752. "type": "number"
  34753. },
  34754. "openqty": {
  34755. "description": "开仓数量(先建后平操作 需要记录)",
  34756. "type": "number"
  34757. },
  34758. "optiontype": {
  34759. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34760. "type": "integer"
  34761. },
  34762. "orderid": {
  34763. "description": "委托单号",
  34764. "type": "string"
  34765. },
  34766. "payamount": {
  34767. "description": "支付金额(付款金额)",
  34768. "type": "number"
  34769. },
  34770. "performanceplanid": {
  34771. "description": "履约计划ID[期权]",
  34772. "type": "integer"
  34773. },
  34774. "performancestatus": {
  34775. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34776. "type": "integer"
  34777. },
  34778. "preexerciseprice": {
  34779. "description": "预申报价格",
  34780. "type": "number"
  34781. },
  34782. "premium": {
  34783. "description": "权利金 - [持仓单的权利金]",
  34784. "type": "number"
  34785. },
  34786. "qtydecimalplace": {
  34787. "description": "商品报价小数位",
  34788. "type": "integer"
  34789. },
  34790. "recvamount": {
  34791. "description": "到账金额 = 成交金额 - 手续费",
  34792. "type": "number"
  34793. },
  34794. "relatedouttradeid": {
  34795. "description": "关联外部成交单ID",
  34796. "type": "integer"
  34797. },
  34798. "status": {
  34799. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34800. "type": "integer"
  34801. },
  34802. "totalamount": {
  34803. "description": "订单总额 = 成交金额 + 手续费",
  34804. "type": "number"
  34805. },
  34806. "tradeamount": {
  34807. "description": "成交金额[账户币种,用于所有权]",
  34808. "type": "number"
  34809. },
  34810. "tradedate": {
  34811. "description": "交易日(yyyyMMdd)",
  34812. "type": "string"
  34813. },
  34814. "tradeid": {
  34815. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34816. "type": "string"
  34817. },
  34818. "trademode": {
  34819. "description": "交易模式",
  34820. "type": "integer"
  34821. },
  34822. "tradeprice": {
  34823. "description": "成交价格",
  34824. "type": "number"
  34825. },
  34826. "tradeproperty": {
  34827. "description": "交易属性",
  34828. "type": "integer"
  34829. },
  34830. "tradeqty": {
  34831. "description": "成交数量",
  34832. "type": "number"
  34833. },
  34834. "tradetime": {
  34835. "description": "成交时间",
  34836. "type": "string"
  34837. },
  34838. "tradetype": {
  34839. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34840. "type": "integer"
  34841. }
  34842. }
  34843. },
  34844. "order.QueryHisTradeOrderDetailRsp": {
  34845. "type": "object",
  34846. "required": [
  34847. "accountid",
  34848. "buildtype",
  34849. "buyorsell",
  34850. "goodsid",
  34851. "histradedate",
  34852. "marketid",
  34853. "memberuserid",
  34854. "operatetype",
  34855. "orderid",
  34856. "orderqty",
  34857. "ordertime",
  34858. "pricemode",
  34859. "tradedate",
  34860. "validtype"
  34861. ],
  34862. "properties": {
  34863. "accountid": {
  34864. "description": "账户ID[报价币种]",
  34865. "type": "integer"
  34866. },
  34867. "buildtype": {
  34868. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  34869. "type": "integer"
  34870. },
  34871. "buyorsell": {
  34872. "description": "买卖 - 0:买 1:卖",
  34873. "type": "integer"
  34874. },
  34875. "cancelorderid": {
  34876. "description": "撤单单号(撤单时填写)",
  34877. "type": "string"
  34878. },
  34879. "cancelqty": {
  34880. "description": "撤单数量",
  34881. "type": "number"
  34882. },
  34883. "clientordertime": {
  34884. "description": "客户端委托时间",
  34885. "type": "string"
  34886. },
  34887. "clientticket": {
  34888. "description": "客户端流水号",
  34889. "type": "string"
  34890. },
  34891. "clienttype": {
  34892. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  34893. "type": "integer"
  34894. },
  34895. "closeexchagechargevalue": {
  34896. "description": "平仓交易所手续费设置值",
  34897. "type": "number"
  34898. },
  34899. "closefeealgorithm": {
  34900. "description": "平仓手续费收取方式 1:比率 2:固定",
  34901. "type": "integer"
  34902. },
  34903. "closefreezecharge": {
  34904. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  34905. "type": "number"
  34906. },
  34907. "closememberchargevalue": {
  34908. "description": "平仓会员手续费设置值",
  34909. "type": "number"
  34910. },
  34911. "closeqty": {
  34912. "description": "平仓数量(先建后平操作 需要记录)",
  34913. "type": "number"
  34914. },
  34915. "closetradeqty": {
  34916. "description": "平仓成交数量(先建后平操作,需要记录)",
  34917. "type": "number"
  34918. },
  34919. "closeunfreezecharge": {
  34920. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34921. "type": "number"
  34922. },
  34923. "decimalplace": {
  34924. "description": "商品报价小数位",
  34925. "type": "integer"
  34926. },
  34927. "delistingtype": {
  34928. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34929. "type": "integer"
  34930. },
  34931. "enumdicname": {
  34932. "description": "单位名称",
  34933. "type": "string"
  34934. },
  34935. "freezecharge": {
  34936. "description": "冻结手续费",
  34937. "type": "number"
  34938. },
  34939. "freezemargin": {
  34940. "description": "冻结保证金(冻结交易金额)",
  34941. "type": "number"
  34942. },
  34943. "gcaccountid": {
  34944. "description": "账户ID[合约币种]",
  34945. "type": "integer"
  34946. },
  34947. "goodscode": {
  34948. "description": "商品代码",
  34949. "type": "string"
  34950. },
  34951. "goodsid": {
  34952. "description": "商品ID",
  34953. "type": "integer"
  34954. },
  34955. "goodsname": {
  34956. "description": "商品名称",
  34957. "type": "string"
  34958. },
  34959. "goodunitid": {
  34960. "description": "商品单位id",
  34961. "type": "integer"
  34962. },
  34963. "histradedate": {
  34964. "description": "历史交易日",
  34965. "type": "string"
  34966. },
  34967. "isconfirmexercise": {
  34968. "description": "是否确认行权- 0:否 1:是",
  34969. "type": "integer"
  34970. },
  34971. "ispreexercise": {
  34972. "description": "是否预申报- 0:否 1:是",
  34973. "type": "integer"
  34974. },
  34975. "isvaliddata": {
  34976. "description": "是否有效 - 0:无效 1:有效",
  34977. "type": "integer"
  34978. },
  34979. "listingselecttype": {
  34980. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34981. "type": "integer"
  34982. },
  34983. "marginalgorithm": {
  34984. "description": "保证金收取方式 1:比率 2:固定",
  34985. "type": "integer"
  34986. },
  34987. "marginvalue": {
  34988. "description": "即市保证金设置值",
  34989. "type": "number"
  34990. },
  34991. "marketid": {
  34992. "description": "市场ID",
  34993. "type": "integer"
  34994. },
  34995. "marketmaxsub": {
  34996. "description": "市价最大偏移范围",
  34997. "type": "number"
  34998. },
  34999. "marketname": {
  35000. "description": "市场名称",
  35001. "type": "string"
  35002. },
  35003. "memberuserid": {
  35004. "description": "所属会员UserID",
  35005. "type": "integer"
  35006. },
  35007. "openexchagechargevalue": {
  35008. "description": "建仓交易所手续费设置值",
  35009. "type": "number"
  35010. },
  35011. "openfeealgorithm": {
  35012. "description": "建仓手续费收取方式 1:比率 2:固定",
  35013. "type": "integer"
  35014. },
  35015. "openfreezecharge": {
  35016. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35017. "type": "number"
  35018. },
  35019. "openmemberchargevalue": {
  35020. "description": "建仓会员手续费设置值",
  35021. "type": "number"
  35022. },
  35023. "openqty": {
  35024. "description": "开仓数量(先建后平操作,需要记录)",
  35025. "type": "number"
  35026. },
  35027. "opentradeqty": {
  35028. "description": "开仓成交数量(先建后平操作,需要记录)",
  35029. "type": "number"
  35030. },
  35031. "openunfreezecharge": {
  35032. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35033. "type": "number"
  35034. },
  35035. "operatetype": {
  35036. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35037. "type": "integer"
  35038. },
  35039. "operatorid": {
  35040. "description": "登录账号(LoginID)",
  35041. "type": "integer"
  35042. },
  35043. "optiontype": {
  35044. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35045. "type": "integer"
  35046. },
  35047. "orderid": {
  35048. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35049. "type": "string"
  35050. },
  35051. "orderprice": {
  35052. "description": "委托价格",
  35053. "type": "number"
  35054. },
  35055. "orderqty": {
  35056. "description": "委托数量",
  35057. "type": "number"
  35058. },
  35059. "ordersrc": {
  35060. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35061. "type": "integer"
  35062. },
  35063. "orderstatus": {
  35064. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35065. "type": "integer"
  35066. },
  35067. "ordertime": {
  35068. "description": "委托时间",
  35069. "type": "string"
  35070. },
  35071. "preexerciseprice": {
  35072. "description": "预申报价格",
  35073. "type": "number"
  35074. },
  35075. "premium": {
  35076. "description": "权利金",
  35077. "type": "number"
  35078. },
  35079. "preorderid": {
  35080. "description": "关联预埋单号(止盈止损单时填写)",
  35081. "type": "string"
  35082. },
  35083. "pricemode": {
  35084. "description": "取价方式 - 1:市价 2: 限价",
  35085. "type": "integer"
  35086. },
  35087. "qtydecimalplace": {
  35088. "description": "成交量小数位",
  35089. "type": "integer"
  35090. },
  35091. "quoteid": {
  35092. "description": "报价单ID",
  35093. "type": "integer"
  35094. },
  35095. "relatedid": {
  35096. "description": "关联单号(交割单)",
  35097. "type": "string"
  35098. },
  35099. "retcode": {
  35100. "description": "错误代码",
  35101. "type": "integer"
  35102. },
  35103. "sessionid": {
  35104. "description": "会话ID",
  35105. "type": "integer"
  35106. },
  35107. "tradedate": {
  35108. "description": "交易日(yyyyMMdd)",
  35109. "type": "string"
  35110. },
  35111. "trademode": {
  35112. "description": "交易模式",
  35113. "type": "integer"
  35114. },
  35115. "tradeproperty": {
  35116. "description": "交易属性",
  35117. "type": "integer"
  35118. },
  35119. "tradeqty": {
  35120. "description": "成交数量",
  35121. "type": "number"
  35122. },
  35123. "unfreezecharge": {
  35124. "description": "解冻手续费",
  35125. "type": "number"
  35126. },
  35127. "unfreezemargin": {
  35128. "description": "解冻保证金",
  35129. "type": "number"
  35130. },
  35131. "updatetime": {
  35132. "description": "更新时间",
  35133. "type": "string"
  35134. },
  35135. "uuid": {
  35136. "description": "发起端唯一id",
  35137. "type": "string"
  35138. },
  35139. "validtime": {
  35140. "description": "有效期限",
  35141. "type": "string"
  35142. },
  35143. "validtype": {
  35144. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35145. "type": "integer"
  35146. },
  35147. "volumetype": {
  35148. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35149. "type": "integer"
  35150. }
  35151. }
  35152. },
  35153. "order.QueryTradeDetailRsp": {
  35154. "type": "object",
  35155. "required": [
  35156. "accountid",
  35157. "buyorsell",
  35158. "goodsid",
  35159. "marketid",
  35160. "memberuserid",
  35161. "orderid",
  35162. "tradeamount",
  35163. "tradedate",
  35164. "tradeid",
  35165. "tradeprice",
  35166. "tradeqty",
  35167. "tradetime"
  35168. ],
  35169. "properties": {
  35170. "accountid": {
  35171. "description": "账户ID[报价币种]",
  35172. "type": "integer"
  35173. },
  35174. "advanceratio": {
  35175. "description": "首付比率",
  35176. "type": "number"
  35177. },
  35178. "buildtype": {
  35179. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35180. "type": "integer"
  35181. },
  35182. "buyorsell": {
  35183. "description": "方向 - 0:买 1:卖",
  35184. "type": "integer"
  35185. },
  35186. "charge": {
  35187. "description": "手续费",
  35188. "type": "number"
  35189. },
  35190. "closecharge": {
  35191. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35192. "type": "number"
  35193. },
  35194. "closeexchagechargevalue": {
  35195. "description": "平仓交易所手续费设置值",
  35196. "type": "number"
  35197. },
  35198. "closefeealgorithm": {
  35199. "description": "平仓手续费收取方式 1:比率 2:固定",
  35200. "type": "integer"
  35201. },
  35202. "closememberchargevalue": {
  35203. "description": "平仓会员手续费设置值",
  35204. "type": "number"
  35205. },
  35206. "closepl": {
  35207. "description": "平仓盈亏",
  35208. "type": "number"
  35209. },
  35210. "closepl2": {
  35211. "description": "平仓盈亏[逐笔]",
  35212. "type": "number"
  35213. },
  35214. "closeqty": {
  35215. "description": "平仓数量(先建后平操作 需要记录)",
  35216. "type": "number"
  35217. },
  35218. "creditamount": {
  35219. "description": "授信金额",
  35220. "type": "number"
  35221. },
  35222. "decimalplace": {
  35223. "description": "商品报价小数位",
  35224. "type": "integer"
  35225. },
  35226. "enumdicname": {
  35227. "description": "单位名称",
  35228. "type": "string"
  35229. },
  35230. "gcaccountid": {
  35231. "description": "账户ID[合约币种]",
  35232. "type": "integer"
  35233. },
  35234. "goodscode": {
  35235. "description": "商品代码",
  35236. "type": "string"
  35237. },
  35238. "goodsid": {
  35239. "description": "商品ID",
  35240. "type": "integer"
  35241. },
  35242. "goodsname": {
  35243. "description": "商品名称",
  35244. "type": "string"
  35245. },
  35246. "goodunitid": {
  35247. "description": "商品单位id",
  35248. "type": "integer"
  35249. },
  35250. "intclosepl": {
  35251. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35252. "type": "integer"
  35253. },
  35254. "isconfirmexercise": {
  35255. "description": "是否确认行权- 0:否 1:是",
  35256. "type": "integer"
  35257. },
  35258. "ismain": {
  35259. "description": "是否主单 - 0:不是 1:是",
  35260. "type": "integer"
  35261. },
  35262. "ispreexercise": {
  35263. "description": "是否预申报- 0:否 1:是",
  35264. "type": "integer"
  35265. },
  35266. "isreckoned": {
  35267. "description": "是否结算 - 0:未结算 1:已结算",
  35268. "type": "integer"
  35269. },
  35270. "listingselecttype": {
  35271. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35272. "type": "integer"
  35273. },
  35274. "marketid": {
  35275. "description": "市场ID",
  35276. "type": "integer"
  35277. },
  35278. "marketname": {
  35279. "description": "市场名称",
  35280. "type": "string"
  35281. },
  35282. "matchaccountid": {
  35283. "description": "对手账号id",
  35284. "type": "integer"
  35285. },
  35286. "memberuserid": {
  35287. "description": "会员id 个人投资者 需要填写",
  35288. "type": "integer"
  35289. },
  35290. "opencharge": {
  35291. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35292. "type": "number"
  35293. },
  35294. "openexchagechargevalue": {
  35295. "description": "建仓交易所手续费设置值",
  35296. "type": "number"
  35297. },
  35298. "openfeealgorithm": {
  35299. "description": "建仓手续费收取方式 1:比率 2:固定",
  35300. "type": "integer"
  35301. },
  35302. "openmemberchargevalue": {
  35303. "description": "建仓会员手续费设置值",
  35304. "type": "number"
  35305. },
  35306. "openqty": {
  35307. "description": "开仓数量(先建后平操作 需要记录)",
  35308. "type": "number"
  35309. },
  35310. "optiontype": {
  35311. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35312. "type": "integer"
  35313. },
  35314. "orderid": {
  35315. "description": "委托单号",
  35316. "type": "string"
  35317. },
  35318. "payamount": {
  35319. "description": "支付金额(付款金额)",
  35320. "type": "number"
  35321. },
  35322. "performanceplanid": {
  35323. "description": "履约计划ID[期权]",
  35324. "type": "integer"
  35325. },
  35326. "performancestatus": {
  35327. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35328. "type": "integer"
  35329. },
  35330. "preexerciseprice": {
  35331. "description": "预申报价格",
  35332. "type": "number"
  35333. },
  35334. "premium": {
  35335. "description": "权利金 - [持仓单的权利金]",
  35336. "type": "number"
  35337. },
  35338. "qtydecimalplace": {
  35339. "description": "商品报价小数位",
  35340. "type": "integer"
  35341. },
  35342. "recvamount": {
  35343. "description": "到账金额 = 成交金额 - 手续费",
  35344. "type": "number"
  35345. },
  35346. "relatedouttradeid": {
  35347. "description": "关联外部成交单ID",
  35348. "type": "integer"
  35349. },
  35350. "status": {
  35351. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35352. "type": "integer"
  35353. },
  35354. "totalamount": {
  35355. "description": "订单总额 = 成交金额 + 手续费",
  35356. "type": "number"
  35357. },
  35358. "tradeamount": {
  35359. "description": "成交金额[账户币种,用于所有权]",
  35360. "type": "number"
  35361. },
  35362. "tradedate": {
  35363. "description": "交易日(yyyyMMdd)",
  35364. "type": "string"
  35365. },
  35366. "tradeid": {
  35367. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35368. "type": "string"
  35369. },
  35370. "trademode": {
  35371. "description": "交易模式",
  35372. "type": "integer"
  35373. },
  35374. "tradeprice": {
  35375. "description": "成交价格",
  35376. "type": "number"
  35377. },
  35378. "tradeproperty": {
  35379. "description": "交易属性",
  35380. "type": "integer"
  35381. },
  35382. "tradeqty": {
  35383. "description": "成交数量",
  35384. "type": "number"
  35385. },
  35386. "tradetime": {
  35387. "description": "成交时间",
  35388. "type": "string"
  35389. },
  35390. "tradetype": {
  35391. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35392. "type": "integer"
  35393. }
  35394. }
  35395. },
  35396. "order.QueryTradeOrderDetailRsp": {
  35397. "type": "object",
  35398. "required": [
  35399. "accountid",
  35400. "buildtype",
  35401. "buyorsell",
  35402. "goodsid",
  35403. "marketid",
  35404. "operatetype",
  35405. "orderqty",
  35406. "ordertime",
  35407. "pricemode",
  35408. "tradedate",
  35409. "validtype"
  35410. ],
  35411. "properties": {
  35412. "accountid": {
  35413. "description": "账户ID[报价币种]",
  35414. "type": "integer"
  35415. },
  35416. "buildtype": {
  35417. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35418. "type": "integer"
  35419. },
  35420. "buyorsell": {
  35421. "description": "买卖 - 0:买 1:卖",
  35422. "type": "integer"
  35423. },
  35424. "cancelorderid": {
  35425. "description": "撤单单号(撤单时填写)",
  35426. "type": "string"
  35427. },
  35428. "cancelqty": {
  35429. "description": "撤单数量",
  35430. "type": "number"
  35431. },
  35432. "clienttype": {
  35433. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35434. "type": "integer"
  35435. },
  35436. "closefreezecharge": {
  35437. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35438. "type": "number"
  35439. },
  35440. "closeqty": {
  35441. "description": "平仓数量(先建后平操作 需要记录)",
  35442. "type": "number"
  35443. },
  35444. "closetradeqty": {
  35445. "description": "平仓成交数量(先建后平操作,需要记录)",
  35446. "type": "number"
  35447. },
  35448. "closeunfreezecharge": {
  35449. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35450. "type": "number"
  35451. },
  35452. "decimalplace": {
  35453. "description": "商品报价小数位",
  35454. "type": "integer"
  35455. },
  35456. "delistingtype": {
  35457. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35458. "type": "integer"
  35459. },
  35460. "enableqty": {
  35461. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  35462. "type": "number"
  35463. },
  35464. "enumdicname": {
  35465. "description": "单位名称",
  35466. "type": "string"
  35467. },
  35468. "freezecharge": {
  35469. "description": "冻结手续费",
  35470. "type": "number"
  35471. },
  35472. "freezemargin": {
  35473. "description": "冻结保证金(冻结交易金额)",
  35474. "type": "number"
  35475. },
  35476. "goodscode": {
  35477. "description": "商品代码",
  35478. "type": "string"
  35479. },
  35480. "goodsid": {
  35481. "description": "商品ID",
  35482. "type": "integer"
  35483. },
  35484. "goodsname": {
  35485. "description": "商品名称",
  35486. "type": "string"
  35487. },
  35488. "goodunitid": {
  35489. "description": "商品单位id",
  35490. "type": "integer"
  35491. },
  35492. "listingselecttype": {
  35493. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35494. "type": "integer"
  35495. },
  35496. "marketid": {
  35497. "description": "市场ID",
  35498. "type": "integer"
  35499. },
  35500. "marketname": {
  35501. "description": "市场名称",
  35502. "type": "string"
  35503. },
  35504. "openfreezecharge": {
  35505. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35506. "type": "number"
  35507. },
  35508. "openqty": {
  35509. "description": "开仓数量(先建后平操作,需要记录)",
  35510. "type": "number"
  35511. },
  35512. "opentradeqty": {
  35513. "description": "开仓成交数量(先建后平操作,需要记录)",
  35514. "type": "number"
  35515. },
  35516. "openunfreezecharge": {
  35517. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35518. "type": "number"
  35519. },
  35520. "operatetype": {
  35521. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35522. "type": "integer"
  35523. },
  35524. "operatorid": {
  35525. "description": "登录账号(LoginID)",
  35526. "type": "integer"
  35527. },
  35528. "orderid": {
  35529. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35530. "type": "string"
  35531. },
  35532. "orderprice": {
  35533. "description": "委托价格",
  35534. "type": "number"
  35535. },
  35536. "orderqty": {
  35537. "description": "委托数量",
  35538. "type": "number"
  35539. },
  35540. "ordersrc": {
  35541. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35542. "type": "integer"
  35543. },
  35544. "orderstatus": {
  35545. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35546. "type": "integer"
  35547. },
  35548. "ordertime": {
  35549. "description": "委托时间",
  35550. "type": "string"
  35551. },
  35552. "preorderid": {
  35553. "description": "关联预埋单号(止盈止损单时填写)",
  35554. "type": "string"
  35555. },
  35556. "pricemode": {
  35557. "description": "取价方式 - 1:市价 2: 限价",
  35558. "type": "integer"
  35559. },
  35560. "qtydecimalplace": {
  35561. "description": "商品报价小数位",
  35562. "type": "integer"
  35563. },
  35564. "relatedid": {
  35565. "description": "关联单号(交割单)",
  35566. "type": "string"
  35567. },
  35568. "tradedate": {
  35569. "description": "交易日(yyyyMMdd)",
  35570. "type": "string"
  35571. },
  35572. "trademode": {
  35573. "description": "交易模式",
  35574. "type": "integer"
  35575. },
  35576. "tradeqty": {
  35577. "description": "成交数量",
  35578. "type": "number"
  35579. },
  35580. "unfreezecharge": {
  35581. "description": "解冻手续费",
  35582. "type": "number"
  35583. },
  35584. "unfreezemargin": {
  35585. "description": "解冻保证金",
  35586. "type": "number"
  35587. },
  35588. "validtime": {
  35589. "description": "有效期限",
  35590. "type": "string"
  35591. },
  35592. "validtype": {
  35593. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35594. "type": "integer"
  35595. },
  35596. "volumetype": {
  35597. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35598. "type": "integer"
  35599. }
  35600. }
  35601. },
  35602. "order.QueryTradePositionRsp": {
  35603. "type": "object",
  35604. "required": [
  35605. "goodsid"
  35606. ],
  35607. "properties": {
  35608. "accountid": {
  35609. "description": "资金账户",
  35610. "type": "integer"
  35611. },
  35612. "agreeunit": {
  35613. "description": "合约单位",
  35614. "type": "number"
  35615. },
  35616. "averageprice": {
  35617. "description": "持仓均价",
  35618. "type": "number"
  35619. },
  35620. "buyorsell": {
  35621. "description": "方向 - 0:买 1:卖",
  35622. "type": "integer"
  35623. },
  35624. "closetotalqty": {
  35625. "description": "平仓总数量",
  35626. "type": "number"
  35627. },
  35628. "curholderamount": {
  35629. "description": "当前持仓总金额[商品币种]",
  35630. "type": "number"
  35631. },
  35632. "curpositionqty": {
  35633. "description": "当前持仓总数量",
  35634. "type": "number"
  35635. },
  35636. "currencyid": {
  35637. "description": "报价货币ID",
  35638. "type": "integer"
  35639. },
  35640. "curtdposition": {
  35641. "description": "期末今日头寸",
  35642. "type": "number"
  35643. },
  35644. "decimalplace": {
  35645. "description": "报价小数位",
  35646. "type": "integer"
  35647. },
  35648. "enableqty": {
  35649. "description": "可用量",
  35650. "type": "number"
  35651. },
  35652. "fretdposition": {
  35653. "description": "冻结今日头寸",
  35654. "type": "number"
  35655. },
  35656. "frozenqty": {
  35657. "description": "持仓冻结数量",
  35658. "type": "number"
  35659. },
  35660. "goodscode": {
  35661. "description": "商品代码",
  35662. "type": "string"
  35663. },
  35664. "goodsid": {
  35665. "description": "商品Id",
  35666. "type": "integer"
  35667. },
  35668. "goodsname": {
  35669. "description": "商品名称",
  35670. "type": "string"
  35671. },
  35672. "goodunit": {
  35673. "description": "报价单位",
  35674. "type": "string"
  35675. },
  35676. "goodunitid": {
  35677. "description": "报价单位ID",
  35678. "type": "integer"
  35679. },
  35680. "holderamount": {
  35681. "description": "期初持仓总金额[商品币种]",
  35682. "type": "number"
  35683. },
  35684. "lastprice": {
  35685. "description": "最新价",
  35686. "type": "number"
  35687. },
  35688. "marketamount": {
  35689. "description": "市值",
  35690. "type": "number"
  35691. },
  35692. "marketid": {
  35693. "description": "所属市场ID",
  35694. "type": "integer"
  35695. },
  35696. "openreqqty": {
  35697. "description": "开仓申请数量(用于比较最大持仓数量)",
  35698. "type": "number"
  35699. },
  35700. "opentotalqty": {
  35701. "description": "开仓总数量",
  35702. "type": "number"
  35703. },
  35704. "otherfrozenqty": {
  35705. "description": "持仓其他冻结数量(交割冻结)",
  35706. "type": "number"
  35707. },
  35708. "positionpl": {
  35709. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  35710. "type": "number"
  35711. },
  35712. "positionplrate": {
  35713. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  35714. "type": "number"
  35715. },
  35716. "positionqty": {
  35717. "description": "期初持仓数量",
  35718. "type": "number"
  35719. },
  35720. "qtydecimalplace": {
  35721. "description": "成交量小数位",
  35722. "type": "integer"
  35723. },
  35724. "tnqty": {
  35725. "description": "T+N冻结总量",
  35726. "type": "number"
  35727. },
  35728. "tnusedqty": {
  35729. "description": "T+N使用量(可以使用T+N的冻结数量)",
  35730. "type": "number"
  35731. },
  35732. "trademode": {
  35733. "description": "交易模式",
  35734. "type": "integer"
  35735. },
  35736. "usedmargin": {
  35737. "description": "占用保证金[商品币种]",
  35738. "type": "number"
  35739. }
  35740. }
  35741. },
  35742. "quote.HistoryData": {
  35743. "type": "object",
  35744. "properties": {
  35745. "c": {
  35746. "description": "收盘价",
  35747. "type": "number"
  35748. },
  35749. "f": {
  35750. "description": "是否补充数据",
  35751. "type": "boolean"
  35752. },
  35753. "h": {
  35754. "description": "最高价",
  35755. "type": "number"
  35756. },
  35757. "hv": {
  35758. "description": "持仓量",
  35759. "type": "integer"
  35760. },
  35761. "l": {
  35762. "description": "最低价",
  35763. "type": "number"
  35764. },
  35765. "o": {
  35766. "description": "开盘价",
  35767. "type": "number"
  35768. },
  35769. "s": {
  35770. "description": "结算价,日线周期(包括)以上才有",
  35771. "type": "number"
  35772. },
  35773. "ts": {
  35774. "description": "时间",
  35775. "type": "string"
  35776. },
  35777. "tt": {
  35778. "description": "总金额",
  35779. "type": "number"
  35780. },
  35781. "tv": {
  35782. "description": "总量",
  35783. "type": "integer"
  35784. }
  35785. }
  35786. },
  35787. "quote.HistoryTikData": {
  35788. "type": "object",
  35789. "properties": {
  35790. "AV": {
  35791. "description": "卖量",
  35792. "type": "integer"
  35793. },
  35794. "Ask": {
  35795. "description": "卖价",
  35796. "type": "number"
  35797. },
  35798. "BV": {
  35799. "description": "买量",
  35800. "type": "integer"
  35801. },
  35802. "Bid": {
  35803. "description": "买价",
  35804. "type": "number"
  35805. },
  35806. "HI": {
  35807. "description": "单笔持仓",
  35808. "type": "integer"
  35809. },
  35810. "HV": {
  35811. "description": "持仓量",
  35812. "type": "integer"
  35813. },
  35814. "PE": {
  35815. "description": "现价",
  35816. "type": "number"
  35817. },
  35818. "TDR": {
  35819. "description": "交易方向,0:买 1:卖",
  35820. "type": "integer"
  35821. },
  35822. "TK": {
  35823. "description": "交易类型",
  35824. "type": "integer"
  35825. },
  35826. "TS": {
  35827. "description": "行情时间文本",
  35828. "type": "string"
  35829. },
  35830. "TT": {
  35831. "description": "现金额",
  35832. "type": "number"
  35833. },
  35834. "Vol": {
  35835. "description": "现量",
  35836. "type": "integer"
  35837. }
  35838. }
  35839. },
  35840. "quote.QueryQuoteDayRsp": {
  35841. "type": "object",
  35842. "properties": {
  35843. "ask": {
  35844. "description": "卖1",
  35845. "type": "number"
  35846. },
  35847. "ask10": {
  35848. "description": "卖10",
  35849. "type": "number"
  35850. },
  35851. "ask2": {
  35852. "description": "卖2",
  35853. "type": "number"
  35854. },
  35855. "ask3": {
  35856. "description": "卖3",
  35857. "type": "number"
  35858. },
  35859. "ask4": {
  35860. "description": "卖4",
  35861. "type": "number"
  35862. },
  35863. "ask5": {
  35864. "description": "卖5",
  35865. "type": "number"
  35866. },
  35867. "ask6": {
  35868. "description": "卖6",
  35869. "type": "number"
  35870. },
  35871. "ask7": {
  35872. "description": "卖7",
  35873. "type": "number"
  35874. },
  35875. "ask8": {
  35876. "description": "卖8",
  35877. "type": "number"
  35878. },
  35879. "ask9": {
  35880. "description": "卖9",
  35881. "type": "number"
  35882. },
  35883. "askorderid": {
  35884. "description": "卖单号1",
  35885. "type": "integer"
  35886. },
  35887. "askorderid2": {
  35888. "description": "卖单号2",
  35889. "type": "integer"
  35890. },
  35891. "askorderid3": {
  35892. "description": "卖单号3",
  35893. "type": "integer"
  35894. },
  35895. "askorderid4": {
  35896. "description": "卖单号4",
  35897. "type": "integer"
  35898. },
  35899. "askorderid5": {
  35900. "description": "卖单号5",
  35901. "type": "integer"
  35902. },
  35903. "askordervolume": {
  35904. "description": "卖单量1",
  35905. "type": "integer"
  35906. },
  35907. "askordervolume10": {
  35908. "description": "卖单量10",
  35909. "type": "integer"
  35910. },
  35911. "askordervolume2": {
  35912. "description": "卖单量2",
  35913. "type": "integer"
  35914. },
  35915. "askordervolume3": {
  35916. "description": "卖单量3",
  35917. "type": "integer"
  35918. },
  35919. "askordervolume4": {
  35920. "description": "卖单量4",
  35921. "type": "integer"
  35922. },
  35923. "askordervolume5": {
  35924. "description": "卖单量5",
  35925. "type": "integer"
  35926. },
  35927. "askordervolume6": {
  35928. "description": "卖单量6",
  35929. "type": "integer"
  35930. },
  35931. "askordervolume7": {
  35932. "description": "卖单量7",
  35933. "type": "integer"
  35934. },
  35935. "askordervolume8": {
  35936. "description": "卖单量8",
  35937. "type": "integer"
  35938. },
  35939. "askordervolume9": {
  35940. "description": "卖单量9",
  35941. "type": "integer"
  35942. },
  35943. "askqueueinfo": {
  35944. "description": "大利市卖港股用",
  35945. "type": "string"
  35946. },
  35947. "askvolume": {
  35948. "description": "卖量1",
  35949. "type": "integer"
  35950. },
  35951. "askvolume10": {
  35952. "description": "卖量10",
  35953. "type": "integer"
  35954. },
  35955. "askvolume2": {
  35956. "description": "卖量2",
  35957. "type": "integer"
  35958. },
  35959. "askvolume3": {
  35960. "description": "卖量3",
  35961. "type": "integer"
  35962. },
  35963. "askvolume4": {
  35964. "description": "卖量4",
  35965. "type": "integer"
  35966. },
  35967. "askvolume5": {
  35968. "description": "卖量5",
  35969. "type": "integer"
  35970. },
  35971. "askvolume6": {
  35972. "description": "卖量6",
  35973. "type": "integer"
  35974. },
  35975. "askvolume7": {
  35976. "description": "卖量7",
  35977. "type": "integer"
  35978. },
  35979. "askvolume8": {
  35980. "description": "卖量8",
  35981. "type": "integer"
  35982. },
  35983. "askvolume9": {
  35984. "description": "卖量9",
  35985. "type": "integer"
  35986. },
  35987. "averageprice": {
  35988. "description": "均价",
  35989. "type": "number"
  35990. },
  35991. "bid": {
  35992. "description": "买1",
  35993. "type": "number"
  35994. },
  35995. "bid10": {
  35996. "description": "买10",
  35997. "type": "number"
  35998. },
  35999. "bid2": {
  36000. "description": "买2",
  36001. "type": "number"
  36002. },
  36003. "bid3": {
  36004. "description": "买3",
  36005. "type": "number"
  36006. },
  36007. "bid4": {
  36008. "description": "买4",
  36009. "type": "number"
  36010. },
  36011. "bid5": {
  36012. "description": "买5",
  36013. "type": "number"
  36014. },
  36015. "bid6": {
  36016. "description": "买6",
  36017. "type": "number"
  36018. },
  36019. "bid7": {
  36020. "description": "买7",
  36021. "type": "number"
  36022. },
  36023. "bid8": {
  36024. "description": "买8",
  36025. "type": "number"
  36026. },
  36027. "bid9": {
  36028. "description": "买9",
  36029. "type": "number"
  36030. },
  36031. "bidorderid": {
  36032. "description": "买单号1",
  36033. "type": "integer"
  36034. },
  36035. "bidorderid2": {
  36036. "description": "买单号2",
  36037. "type": "integer"
  36038. },
  36039. "bidorderid3": {
  36040. "description": "买单号3",
  36041. "type": "integer"
  36042. },
  36043. "bidorderid4": {
  36044. "description": "买单号4",
  36045. "type": "integer"
  36046. },
  36047. "bidorderid5": {
  36048. "description": "买单号5",
  36049. "type": "integer"
  36050. },
  36051. "bidordervolume": {
  36052. "description": "买单量1",
  36053. "type": "integer"
  36054. },
  36055. "bidordervolume10": {
  36056. "description": "买单量10",
  36057. "type": "integer"
  36058. },
  36059. "bidordervolume2": {
  36060. "description": "买单量2",
  36061. "type": "integer"
  36062. },
  36063. "bidordervolume3": {
  36064. "description": "买单量3",
  36065. "type": "integer"
  36066. },
  36067. "bidordervolume4": {
  36068. "description": "买单量4",
  36069. "type": "integer"
  36070. },
  36071. "bidordervolume5": {
  36072. "description": "买单量5",
  36073. "type": "integer"
  36074. },
  36075. "bidordervolume6": {
  36076. "description": "买单量6",
  36077. "type": "integer"
  36078. },
  36079. "bidordervolume7": {
  36080. "description": "买单量7",
  36081. "type": "integer"
  36082. },
  36083. "bidordervolume8": {
  36084. "description": "买单量8",
  36085. "type": "integer"
  36086. },
  36087. "bidordervolume9": {
  36088. "description": "买单量9",
  36089. "type": "integer"
  36090. },
  36091. "bidqueueinfo": {
  36092. "description": "大利市买港股用",
  36093. "type": "string"
  36094. },
  36095. "bidvolume": {
  36096. "description": "买量1",
  36097. "type": "integer"
  36098. },
  36099. "bidvolume10": {
  36100. "description": "买量10",
  36101. "type": "integer"
  36102. },
  36103. "bidvolume2": {
  36104. "description": "买量2",
  36105. "type": "integer"
  36106. },
  36107. "bidvolume3": {
  36108. "description": "买量3",
  36109. "type": "integer"
  36110. },
  36111. "bidvolume4": {
  36112. "description": "买量4",
  36113. "type": "integer"
  36114. },
  36115. "bidvolume5": {
  36116. "description": "买量5",
  36117. "type": "integer"
  36118. },
  36119. "bidvolume6": {
  36120. "description": "买量6",
  36121. "type": "integer"
  36122. },
  36123. "bidvolume7": {
  36124. "description": "买量7",
  36125. "type": "integer"
  36126. },
  36127. "bidvolume8": {
  36128. "description": "买量8",
  36129. "type": "integer"
  36130. },
  36131. "bidvolume9": {
  36132. "description": "买量9",
  36133. "type": "integer"
  36134. },
  36135. "calloptionpremiums": {
  36136. "description": "认购期权1",
  36137. "type": "integer"
  36138. },
  36139. "calloptionpremiums2": {
  36140. "description": "认购期权2",
  36141. "type": "integer"
  36142. },
  36143. "calloptionpremiums3": {
  36144. "description": "认购期权3",
  36145. "type": "integer"
  36146. },
  36147. "calloptionpremiums4": {
  36148. "description": "认购期权4",
  36149. "type": "integer"
  36150. },
  36151. "calloptionpremiums5": {
  36152. "description": "认购期权5",
  36153. "type": "integer"
  36154. },
  36155. "cleartime": {
  36156. "description": "清盘时间",
  36157. "type": "integer"
  36158. },
  36159. "exchangecode": {
  36160. "description": "交易所代码",
  36161. "type": "integer"
  36162. },
  36163. "exchangedate": {
  36164. "description": "交易日",
  36165. "type": "integer"
  36166. },
  36167. "goodscode": {
  36168. "description": "商品代码",
  36169. "type": "string"
  36170. },
  36171. "grepmarketprice": {
  36172. "description": "暗盘价 港股专用",
  36173. "type": "number"
  36174. },
  36175. "highest": {
  36176. "description": "最高价",
  36177. "type": "number"
  36178. },
  36179. "holdincrement": {
  36180. "description": "单笔持仓",
  36181. "type": "integer"
  36182. },
  36183. "holdvolume": {
  36184. "description": "持仓",
  36185. "type": "integer"
  36186. },
  36187. "iep": {
  36188. "description": "平衡价 港股专用",
  36189. "type": "number"
  36190. },
  36191. "iev": {
  36192. "description": "平衡量 港股专用",
  36193. "type": "number"
  36194. },
  36195. "inventory": {
  36196. "description": "库存",
  36197. "type": "integer"
  36198. },
  36199. "iscleared": {
  36200. "description": "是否清盘标志",
  36201. "type": "integer"
  36202. },
  36203. "issettled": {
  36204. "description": "是否结算标志",
  36205. "type": "integer"
  36206. },
  36207. "last": {
  36208. "description": "最新价",
  36209. "type": "number"
  36210. },
  36211. "lastlot": {
  36212. "description": "最新成交手数",
  36213. "type": "integer"
  36214. },
  36215. "lasttime": {
  36216. "description": "行情时间(只有现价变化行情时间才变化)",
  36217. "type": "string"
  36218. },
  36219. "lastturnover": {
  36220. "description": "最新成交金额",
  36221. "type": "number"
  36222. },
  36223. "lastvolume": {
  36224. "description": "最新成交量",
  36225. "type": "integer"
  36226. },
  36227. "limitdown": {
  36228. "description": "跌停价",
  36229. "type": "number"
  36230. },
  36231. "limitup": {
  36232. "description": "涨停价",
  36233. "type": "number"
  36234. },
  36235. "lowest": {
  36236. "description": "最低价",
  36237. "type": "number"
  36238. },
  36239. "nontotalholdervolume": {
  36240. "description": "非交易持仓量",
  36241. "type": "integer"
  36242. },
  36243. "nontotallot": {
  36244. "description": "非交易总手数",
  36245. "type": "integer"
  36246. },
  36247. "nontotalturnover": {
  36248. "description": "非交易总金额",
  36249. "type": "integer"
  36250. },
  36251. "nontotalvolume": {
  36252. "description": "非交易总量",
  36253. "type": "integer"
  36254. },
  36255. "opened": {
  36256. "description": "开盘价",
  36257. "type": "number"
  36258. },
  36259. "opentime": {
  36260. "description": "开盘时间",
  36261. "type": "string"
  36262. },
  36263. "orderid": {
  36264. "description": "序号",
  36265. "type": "integer"
  36266. },
  36267. "preclose": {
  36268. "description": "昨收",
  36269. "type": "number"
  36270. },
  36271. "preholdvolume": {
  36272. "description": "昨持仓",
  36273. "type": "integer"
  36274. },
  36275. "presettle": {
  36276. "description": "昨结价",
  36277. "type": "number"
  36278. },
  36279. "publictradetype": {
  36280. "description": "公共交易标志类型 港股专用",
  36281. "type": "string"
  36282. },
  36283. "putoptionpremiums": {
  36284. "description": "认沽期权1",
  36285. "type": "integer"
  36286. },
  36287. "putoptionpremiums2": {
  36288. "description": "认沽期权2",
  36289. "type": "integer"
  36290. },
  36291. "putoptionpremiums3": {
  36292. "description": "认沽期权3",
  36293. "type": "integer"
  36294. },
  36295. "putoptionpremiums4": {
  36296. "description": "认沽期权4",
  36297. "type": "integer"
  36298. },
  36299. "putoptionpremiums5": {
  36300. "description": "认沽期权5",
  36301. "type": "integer"
  36302. },
  36303. "settle": {
  36304. "description": "结算价",
  36305. "type": "number"
  36306. },
  36307. "strikeprice": {
  36308. "description": "发行价",
  36309. "type": "number"
  36310. },
  36311. "totalaskvolume": {
  36312. "description": "内盘",
  36313. "type": "integer"
  36314. },
  36315. "totalbidvolume": {
  36316. "description": "外盘",
  36317. "type": "integer"
  36318. },
  36319. "totallot": {
  36320. "description": "总手数",
  36321. "type": "integer"
  36322. },
  36323. "totalturnover": {
  36324. "description": "总金额",
  36325. "type": "number"
  36326. },
  36327. "totalvolume": {
  36328. "description": "总量",
  36329. "type": "integer"
  36330. },
  36331. "utclasttime": {
  36332. "description": "utc的行情时间",
  36333. "type": "string"
  36334. }
  36335. }
  36336. },
  36337. "quote.QueryTSDataRsp": {
  36338. "type": "object",
  36339. "properties": {
  36340. "Count": {
  36341. "description": "交易日应有数据个数",
  36342. "type": "integer"
  36343. },
  36344. "decimalPlace": {
  36345. "description": "小数位",
  36346. "type": "integer"
  36347. },
  36348. "endTime": {
  36349. "description": "结束时间",
  36350. "type": "string"
  36351. },
  36352. "goodsCode": {
  36353. "description": "商品代码",
  36354. "type": "string"
  36355. },
  36356. "historyDatas": {
  36357. "description": "历史数据",
  36358. "type": "array",
  36359. "items": {
  36360. "$ref": "#/definitions/quote.HistoryData"
  36361. }
  36362. },
  36363. "outGoodsCode": {
  36364. "description": "外部商品代码",
  36365. "type": "string"
  36366. },
  36367. "preSettle": {
  36368. "description": "昨结价",
  36369. "type": "number"
  36370. },
  36371. "runSteps": {
  36372. "description": "交易日开休市计划",
  36373. "type": "array",
  36374. "items": {
  36375. "$ref": "#/definitions/quote.TSDataRunStep"
  36376. }
  36377. },
  36378. "startTime": {
  36379. "description": "开始时间",
  36380. "type": "string"
  36381. },
  36382. "tradeDate": {
  36383. "description": "交易日",
  36384. "type": "string"
  36385. }
  36386. }
  36387. },
  36388. "quote.TSDataRunStep": {
  36389. "type": "object",
  36390. "properties": {
  36391. "end": {
  36392. "description": "真实结束时间",
  36393. "type": "string"
  36394. },
  36395. "endflag": {
  36396. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  36397. "type": "integer"
  36398. },
  36399. "endtime": {
  36400. "description": "结束时间(HH:mm)",
  36401. "type": "string"
  36402. },
  36403. "endweekday": {
  36404. "description": "结束周几",
  36405. "type": "integer"
  36406. },
  36407. "groupid": {
  36408. "description": "分组ID",
  36409. "type": "integer"
  36410. },
  36411. "runstep": {
  36412. "description": "运行阶段 - 2:连续交易",
  36413. "type": "integer"
  36414. },
  36415. "sectionid": {
  36416. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  36417. "type": "integer"
  36418. },
  36419. "start": {
  36420. "description": "真实开始时间",
  36421. "type": "string"
  36422. },
  36423. "startflag": {
  36424. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  36425. "type": "integer"
  36426. },
  36427. "starttime": {
  36428. "description": "起始时间(HH:mm)",
  36429. "type": "string"
  36430. },
  36431. "startweekday": {
  36432. "description": "起始周几",
  36433. "type": "integer"
  36434. },
  36435. "tradeweekday": {
  36436. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  36437. "type": "integer"
  36438. }
  36439. }
  36440. },
  36441. "szdz.QueryConvertLogRsp": {
  36442. "type": "object",
  36443. "required": [
  36444. "logid"
  36445. ],
  36446. "properties": {
  36447. "accountid": {
  36448. "description": "资金账户ID",
  36449. "type": "integer"
  36450. },
  36451. "clientticket": {
  36452. "description": "客户端流水号",
  36453. "type": "string"
  36454. },
  36455. "converttype": {
  36456. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  36457. "type": "integer"
  36458. },
  36459. "createtime": {
  36460. "description": "记账时间",
  36461. "type": "string"
  36462. },
  36463. "daymaxvalue": {
  36464. "description": "配置当日最大转入限制",
  36465. "type": "number"
  36466. },
  36467. "daymaxvalue2": {
  36468. "description": "配置当日最大转入限制(转入)",
  36469. "type": "number"
  36470. },
  36471. "goodscode": {
  36472. "description": "商品代码",
  36473. "type": "string"
  36474. },
  36475. "goodsname": {
  36476. "description": "商品名称",
  36477. "type": "string"
  36478. },
  36479. "handlestatus": {
  36480. "description": "处理状态",
  36481. "type": "integer"
  36482. },
  36483. "innergoodsid": {
  36484. "description": "内部商品ID",
  36485. "type": "integer"
  36486. },
  36487. "inratio": {
  36488. "description": "配置转入比值",
  36489. "type": "integer"
  36490. },
  36491. "invalue": {
  36492. "description": "目标值",
  36493. "type": "number"
  36494. },
  36495. "logid": {
  36496. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36497. "type": "integer"
  36498. },
  36499. "mobile": {
  36500. "description": "手机号码(加密存储)",
  36501. "type": "string"
  36502. },
  36503. "outergoodscode": {
  36504. "description": "外部商品代码[JD\\PD]",
  36505. "type": "string"
  36506. },
  36507. "outratio": {
  36508. "description": "配置转出比值",
  36509. "type": "integer"
  36510. },
  36511. "outvalue": {
  36512. "description": "源值",
  36513. "type": "number"
  36514. },
  36515. "pddecimalplace": {
  36516. "description": "PD小数位",
  36517. "type": "integer"
  36518. },
  36519. "qty": {
  36520. "description": "数量",
  36521. "type": "string"
  36522. },
  36523. "remark": {
  36524. "description": "备注",
  36525. "type": "string"
  36526. },
  36527. "sessionid": {
  36528. "description": "会话ID",
  36529. "type": "integer"
  36530. },
  36531. "timemaxvalue": {
  36532. "description": "配置单次最大转入限制",
  36533. "type": "number"
  36534. },
  36535. "timemaxvalue2": {
  36536. "description": "配置单次最大转入限制(转入)",
  36537. "type": "number"
  36538. },
  36539. "timeminvalue": {
  36540. "description": "配置单次最小数量限制",
  36541. "type": "number"
  36542. },
  36543. "timeminvalue2": {
  36544. "description": "配置单次最小数量限制(转入)",
  36545. "type": "number"
  36546. },
  36547. "tradedate": {
  36548. "description": "交易日(yyyyMMdd)",
  36549. "type": "string"
  36550. },
  36551. "userid": {
  36552. "description": "用户ID",
  36553. "type": "integer"
  36554. }
  36555. }
  36556. },
  36557. "szdz.QueryGoodsPickupRsp": {
  36558. "type": "object",
  36559. "required": [
  36560. "takeorderid"
  36561. ],
  36562. "properties": {
  36563. "accountid": {
  36564. "description": "账户ID",
  36565. "type": "integer"
  36566. },
  36567. "address": {
  36568. "description": "提货人详细地址",
  36569. "type": "string"
  36570. },
  36571. "auditer": {
  36572. "description": "审核人",
  36573. "type": "integer"
  36574. },
  36575. "audittime": {
  36576. "description": "审核时间",
  36577. "type": "string"
  36578. },
  36579. "cardnum": {
  36580. "description": "提货人证件号码",
  36581. "type": "string"
  36582. },
  36583. "cardtypeid": {
  36584. "description": "提货人证件类型",
  36585. "type": "integer"
  36586. },
  36587. "checkremark": {
  36588. "description": "审核备注",
  36589. "type": "string"
  36590. },
  36591. "goodscode": {
  36592. "description": "商品代码",
  36593. "type": "string"
  36594. },
  36595. "goodsid": {
  36596. "description": "商品ID",
  36597. "type": "integer"
  36598. },
  36599. "goodsname": {
  36600. "description": "商品名称",
  36601. "type": "string"
  36602. },
  36603. "handlestatus": {
  36604. "description": "处理状态",
  36605. "type": "integer"
  36606. },
  36607. "marketid": {
  36608. "description": "市场ID",
  36609. "type": "integer"
  36610. },
  36611. "phonenum": {
  36612. "description": "提货人联系方式",
  36613. "type": "string"
  36614. },
  36615. "qty": {
  36616. "description": "提货数量",
  36617. "type": "number"
  36618. },
  36619. "recivername": {
  36620. "description": "提货人姓名",
  36621. "type": "string"
  36622. },
  36623. "reqtime": {
  36624. "description": "更新时间",
  36625. "type": "string"
  36626. },
  36627. "takemode": {
  36628. "description": "提货方式 - 2:自提 3:配送",
  36629. "type": "integer"
  36630. },
  36631. "takeorderid": {
  36632. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36633. "type": "string"
  36634. },
  36635. "takeorderstatus": {
  36636. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  36637. "type": "integer"
  36638. },
  36639. "takeremark": {
  36640. "description": "提货备注",
  36641. "type": "string"
  36642. },
  36643. "tradedate": {
  36644. "description": "交易日(yyyyMMdd)",
  36645. "type": "string"
  36646. },
  36647. "userid": {
  36648. "description": "用户ID",
  36649. "type": "integer"
  36650. }
  36651. }
  36652. },
  36653. "szdz.QueryRecieptOrderRsp": {
  36654. "type": "object",
  36655. "required": [
  36656. "ordertime"
  36657. ],
  36658. "properties": {
  36659. "accountName": {
  36660. "description": "所属账号名称(已脱敏)",
  36661. "type": "string"
  36662. },
  36663. "accountid": {
  36664. "description": "资金账号",
  36665. "type": "integer"
  36666. },
  36667. "buyorsell": {
  36668. "description": "方向 - 0:买 1:卖",
  36669. "type": "integer"
  36670. },
  36671. "enableqty": {
  36672. "description": "可摘数量",
  36673. "type": "integer"
  36674. },
  36675. "goodscode": {
  36676. "description": "商品代码",
  36677. "type": "string"
  36678. },
  36679. "goodsid": {
  36680. "description": "商品ID",
  36681. "type": "integer"
  36682. },
  36683. "goodsname": {
  36684. "description": "商品名称",
  36685. "type": "string"
  36686. },
  36687. "orderid": {
  36688. "description": "委托单号",
  36689. "type": "string"
  36690. },
  36691. "orderprice": {
  36692. "description": "委托价格",
  36693. "type": "number"
  36694. },
  36695. "ordertime": {
  36696. "description": "委托时间",
  36697. "type": "string"
  36698. },
  36699. "tradedate": {
  36700. "description": "交易日(yyyyMMdd)",
  36701. "type": "string"
  36702. }
  36703. }
  36704. },
  36705. "szdz.QuerySZDZTradePositionRsp": {
  36706. "type": "object",
  36707. "properties": {
  36708. "accountid": {
  36709. "description": "账号Id",
  36710. "type": "integer"
  36711. },
  36712. "agreeunit": {
  36713. "description": "合约单位",
  36714. "type": "number"
  36715. },
  36716. "averageprice": {
  36717. "description": "持仓均价",
  36718. "type": "number"
  36719. },
  36720. "buyorsell": {
  36721. "description": "方向 - 0:买 1:卖",
  36722. "type": "integer"
  36723. },
  36724. "closetotalqty": {
  36725. "description": "平仓总数量",
  36726. "type": "integer"
  36727. },
  36728. "curholderamount": {
  36729. "description": "当前持仓总金额",
  36730. "type": "number"
  36731. },
  36732. "curpositionqty": {
  36733. "description": "当前持仓总数量",
  36734. "type": "integer"
  36735. },
  36736. "currencyid": {
  36737. "description": "报价货币ID",
  36738. "type": "integer"
  36739. },
  36740. "curtdposition": {
  36741. "description": "期末今日头寸",
  36742. "type": "integer"
  36743. },
  36744. "decimalplace": {
  36745. "description": "报价小数位",
  36746. "type": "integer"
  36747. },
  36748. "enableqty": {
  36749. "description": "可用量",
  36750. "type": "integer"
  36751. },
  36752. "fretdposition": {
  36753. "description": "冻结今日头寸",
  36754. "type": "integer"
  36755. },
  36756. "frozenqty": {
  36757. "description": "持仓冻结数量",
  36758. "type": "integer"
  36759. },
  36760. "goodscode": {
  36761. "description": "商品代码(内部)",
  36762. "type": "string"
  36763. },
  36764. "goodsid": {
  36765. "description": "商品Id",
  36766. "type": "integer"
  36767. },
  36768. "goodsname": {
  36769. "description": "商品名称",
  36770. "type": "string"
  36771. },
  36772. "goodunit": {
  36773. "description": "报价单位",
  36774. "type": "string"
  36775. },
  36776. "goodunitid": {
  36777. "description": "报价单位ID",
  36778. "type": "integer"
  36779. },
  36780. "holderamount": {
  36781. "description": "期初持仓总金额",
  36782. "type": "number"
  36783. },
  36784. "marketid": {
  36785. "description": "市场ID",
  36786. "type": "integer"
  36787. },
  36788. "openreqqty": {
  36789. "description": "开仓申请数量",
  36790. "type": "integer"
  36791. },
  36792. "opentotalqty": {
  36793. "description": "开仓总数量",
  36794. "type": "integer"
  36795. },
  36796. "otherfrozenqty": {
  36797. "description": "持仓其他冻结数量(交割冻结)",
  36798. "type": "integer"
  36799. },
  36800. "positionqty": {
  36801. "description": "期初持仓数量",
  36802. "type": "integer"
  36803. },
  36804. "szdz3freezqty": {
  36805. "description": "尚志大宗转换冻结总数量",
  36806. "type": "integer"
  36807. },
  36808. "tnqty": {
  36809. "description": "T+N冻结总量",
  36810. "type": "integer"
  36811. },
  36812. "tnusedqty": {
  36813. "description": "T+N使用量",
  36814. "type": "integer"
  36815. },
  36816. "trademode": {
  36817. "description": "交易模式",
  36818. "type": "integer"
  36819. },
  36820. "usedmargin": {
  36821. "description": "占用保证金",
  36822. "type": "number"
  36823. }
  36824. }
  36825. },
  36826. "taaccount.QueryAmountLogRsp": {
  36827. "type": "object",
  36828. "required": [
  36829. "accountid",
  36830. "amount",
  36831. "amountadjusttype",
  36832. "autoid",
  36833. "balance",
  36834. "createtime",
  36835. "currentbalance",
  36836. "operatetype"
  36837. ],
  36838. "properties": {
  36839. "OPERATETYPENAME": {
  36840. "description": "资金操作类型名称",
  36841. "type": "string"
  36842. },
  36843. "accountid": {
  36844. "description": "资金账户ID",
  36845. "type": "integer"
  36846. },
  36847. "agoodscode": {
  36848. "description": "竞拍商品代码",
  36849. "type": "string"
  36850. },
  36851. "agoodsname": {
  36852. "description": "竞拍商品名称",
  36853. "type": "string"
  36854. },
  36855. "amount": {
  36856. "description": "资金金额",
  36857. "type": "number"
  36858. },
  36859. "amountadjusttype": {
  36860. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36861. "type": "integer"
  36862. },
  36863. "autoid": {
  36864. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36865. "type": "integer"
  36866. },
  36867. "balance": {
  36868. "description": "期初余额",
  36869. "type": "number"
  36870. },
  36871. "businesscode": {
  36872. "description": "业务编号",
  36873. "type": "integer"
  36874. },
  36875. "createtime": {
  36876. "description": "发生时间",
  36877. "type": "string"
  36878. },
  36879. "currencyid": {
  36880. "description": "币种ID",
  36881. "type": "integer"
  36882. },
  36883. "currentbalance": {
  36884. "description": "期末余额(变动后金额)",
  36885. "type": "number"
  36886. },
  36887. "dgoodscode": {
  36888. "description": "交割商品代码",
  36889. "type": "string"
  36890. },
  36891. "dgoodsname": {
  36892. "description": "交割商品名称",
  36893. "type": "string"
  36894. },
  36895. "goodscode": {
  36896. "description": "商品代码",
  36897. "type": "string"
  36898. },
  36899. "goodsid": {
  36900. "description": "商品ID",
  36901. "type": "integer"
  36902. },
  36903. "goodsname": {
  36904. "description": "商品名称",
  36905. "type": "string"
  36906. },
  36907. "marketid": {
  36908. "description": "市场ID",
  36909. "type": "integer"
  36910. },
  36911. "marketname": {
  36912. "description": "市场名称",
  36913. "type": "string"
  36914. },
  36915. "moneyticket": {
  36916. "description": "资金流水号:银行端流水号",
  36917. "type": "integer"
  36918. },
  36919. "operatetype": {
  36920. "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:营销收款",
  36921. "type": "integer"
  36922. },
  36923. "relationorderid": {
  36924. "description": "关联单号",
  36925. "type": "string"
  36926. },
  36927. "remark": {
  36928. "description": "备注",
  36929. "type": "string"
  36930. },
  36931. "trademode": {
  36932. "description": "交易模式",
  36933. "type": "integer"
  36934. }
  36935. }
  36936. },
  36937. "taaccount.QueryHisAmountLogRsp": {
  36938. "type": "object",
  36939. "required": [
  36940. "accountid",
  36941. "amount",
  36942. "amountadjusttype",
  36943. "autoid",
  36944. "balance",
  36945. "createtime",
  36946. "currentbalance",
  36947. "histradedate",
  36948. "operatetype"
  36949. ],
  36950. "properties": {
  36951. "OPERATETYPENAME": {
  36952. "description": "资金操作类型名称",
  36953. "type": "string"
  36954. },
  36955. "accountid": {
  36956. "description": "资金账户ID",
  36957. "type": "integer"
  36958. },
  36959. "agoodscode": {
  36960. "description": "竞拍商品代码",
  36961. "type": "string"
  36962. },
  36963. "agoodsname": {
  36964. "description": "竞拍商品名称",
  36965. "type": "string"
  36966. },
  36967. "amount": {
  36968. "description": "资金金额",
  36969. "type": "number"
  36970. },
  36971. "amountadjusttype": {
  36972. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36973. "type": "integer"
  36974. },
  36975. "autoid": {
  36976. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36977. "type": "integer"
  36978. },
  36979. "balance": {
  36980. "description": "期初余额",
  36981. "type": "number"
  36982. },
  36983. "businesscode": {
  36984. "description": "业务编号",
  36985. "type": "integer"
  36986. },
  36987. "createtime": {
  36988. "description": "发生时间",
  36989. "type": "string"
  36990. },
  36991. "currencyid": {
  36992. "description": "币种ID",
  36993. "type": "integer"
  36994. },
  36995. "currentbalance": {
  36996. "description": "期末余额(变动后金额)",
  36997. "type": "number"
  36998. },
  36999. "dgoodscode": {
  37000. "description": "交割商品代码",
  37001. "type": "string"
  37002. },
  37003. "dgoodsname": {
  37004. "description": "交割商品名称",
  37005. "type": "string"
  37006. },
  37007. "goodscode": {
  37008. "description": "商品代码",
  37009. "type": "string"
  37010. },
  37011. "goodsid": {
  37012. "description": "商品ID",
  37013. "type": "integer"
  37014. },
  37015. "goodsname": {
  37016. "description": "商品名称",
  37017. "type": "string"
  37018. },
  37019. "histradedate": {
  37020. "description": "历史交易日",
  37021. "type": "string"
  37022. },
  37023. "isvaliddata": {
  37024. "description": "是否有效 - 0:无效 1:有效",
  37025. "type": "integer"
  37026. },
  37027. "marketid": {
  37028. "description": "市场ID",
  37029. "type": "integer"
  37030. },
  37031. "marketname": {
  37032. "description": "市场名称",
  37033. "type": "string"
  37034. },
  37035. "moneyticket": {
  37036. "description": "资金流水号:银行端流水号",
  37037. "type": "integer"
  37038. },
  37039. "operatetype": {
  37040. "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:营销收款",
  37041. "type": "integer"
  37042. },
  37043. "relationorderid": {
  37044. "description": "关联单号",
  37045. "type": "string"
  37046. },
  37047. "remark": {
  37048. "description": "备注",
  37049. "type": "string"
  37050. },
  37051. "trademode": {
  37052. "description": "交易模式",
  37053. "type": "integer"
  37054. }
  37055. }
  37056. },
  37057. "trade.QueryRecieptOrderRsp": {
  37058. "type": "object",
  37059. "required": [
  37060. "ordertime"
  37061. ],
  37062. "properties": {
  37063. "accountName": {
  37064. "description": "所属账号名称(已脱敏)",
  37065. "type": "string"
  37066. },
  37067. "accountid": {
  37068. "description": "资金账号",
  37069. "type": "integer"
  37070. },
  37071. "buyorsell": {
  37072. "description": "方向 - 0:买 1:卖",
  37073. "type": "integer"
  37074. },
  37075. "enableqty": {
  37076. "description": "可摘数量",
  37077. "type": "integer"
  37078. },
  37079. "goodscode": {
  37080. "description": "商品代码",
  37081. "type": "string"
  37082. },
  37083. "goodsid": {
  37084. "description": "商品ID",
  37085. "type": "integer"
  37086. },
  37087. "goodsname": {
  37088. "description": "商品名称",
  37089. "type": "string"
  37090. },
  37091. "orderid": {
  37092. "description": "委托单号",
  37093. "type": "string"
  37094. },
  37095. "orderprice": {
  37096. "description": "委托价格",
  37097. "type": "number"
  37098. },
  37099. "ordertime": {
  37100. "description": "委托时间",
  37101. "type": "string"
  37102. },
  37103. "tradedate": {
  37104. "description": "交易日(yyyyMMdd)",
  37105. "type": "string"
  37106. }
  37107. }
  37108. },
  37109. "user.LoginQueryRsp": {
  37110. "type": "object",
  37111. "properties": {
  37112. "areaRoles": {
  37113. "description": "所属角色信息",
  37114. "type": "array",
  37115. "items": {
  37116. "$ref": "#/definitions/models.Arearole"
  37117. }
  37118. },
  37119. "externalExchanges": {
  37120. "description": "外部交易所",
  37121. "type": "array",
  37122. "items": {
  37123. "$ref": "#/definitions/models.Externalexchange"
  37124. }
  37125. },
  37126. "goodsgroups": {
  37127. "description": "商品组",
  37128. "type": "array",
  37129. "items": {
  37130. "$ref": "#/definitions/models.Goodsgroup"
  37131. }
  37132. },
  37133. "loginAccount": {
  37134. "description": "登录账号",
  37135. "$ref": "#/definitions/models.Loginaccount"
  37136. },
  37137. "markets": {
  37138. "description": "市场",
  37139. "type": "array",
  37140. "items": {
  37141. "$ref": "#/definitions/models.Market"
  37142. }
  37143. },
  37144. "systemParams": {
  37145. "description": "系统参数",
  37146. "type": "array",
  37147. "items": {
  37148. "$ref": "#/definitions/models.Systemparam"
  37149. }
  37150. },
  37151. "userAccount": {
  37152. "description": "用户账号",
  37153. "$ref": "#/definitions/models.Useraccount"
  37154. },
  37155. "userInfo": {
  37156. "description": "用户信息",
  37157. "$ref": "#/definitions/models.Userinfo"
  37158. },
  37159. "username": {
  37160. "description": "用户姓名",
  37161. "type": "string"
  37162. }
  37163. }
  37164. }
  37165. },
  37166. "securityDefinitions": {
  37167. "ApiKeyAuth": {
  37168. "type": "apiKey",
  37169. "name": "Authorization",
  37170. "in": "header"
  37171. }
  37172. }
  37173. }`
  37174. type swaggerInfo struct {
  37175. Version string
  37176. Host string
  37177. BasePath string
  37178. Schemes []string
  37179. Title string
  37180. Description string
  37181. }
  37182. // SwaggerInfo holds exported Swagger Info so clients can modify it
  37183. var SwaggerInfo = swaggerInfo{
  37184. Version: "1.0",
  37185. Host: "",
  37186. BasePath: "/api",
  37187. Schemes: []string{},
  37188. Title: "MTP2.0 查询服务 API",
  37189. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  37190. }
  37191. type s struct{}
  37192. func (s *s) ReadDoc() string {
  37193. sInfo := SwaggerInfo
  37194. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  37195. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  37196. "marshal": func(v interface{}) string {
  37197. a, _ := json.Marshal(v)
  37198. return string(a)
  37199. },
  37200. }).Parse(doc)
  37201. if err != nil {
  37202. return doc
  37203. }
  37204. var tpl bytes.Buffer
  37205. if err := t.Execute(&tpl, sInfo); err != nil {
  37206. return doc
  37207. }
  37208. return tpl.String()
  37209. }
  37210. func init() {
  37211. swag.Register(swag.Name, &s{})
  37212. }