docs.go 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339
  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. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  427. "name": "clientType",
  428. "in": "query"
  429. },
  430. {
  431. "type": "string",
  432. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  433. "name": "name",
  434. "in": "query"
  435. }
  436. ],
  437. "responses": {
  438. "200": {
  439. "description": "OK",
  440. "schema": {
  441. "type": "array",
  442. "items": {
  443. "$ref": "#/definitions/common.ClientMenu"
  444. }
  445. }
  446. },
  447. "500": {
  448. "description": "Internal Server Error",
  449. "schema": {
  450. "$ref": "#/definitions/app.Response"
  451. }
  452. }
  453. }
  454. }
  455. },
  456. "/Common/GetDivisions": {
  457. "get": {
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "查询区域信息",
  465. "responses": {
  466. "200": {
  467. "description": "OK",
  468. "schema": {
  469. "$ref": "#/definitions/models.Division"
  470. }
  471. },
  472. "500": {
  473. "description": "Internal Server Error",
  474. "schema": {
  475. "$ref": "#/definitions/app.Response"
  476. }
  477. }
  478. }
  479. }
  480. },
  481. "/Common/GetServerTime": {
  482. "get": {
  483. "produces": [
  484. "application/json"
  485. ],
  486. "tags": [
  487. "通用服务"
  488. ],
  489. "summary": "获取服务器时间",
  490. "responses": {
  491. "200": {
  492. "description": "OK",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. },
  497. "500": {
  498. "description": "Internal Server Error",
  499. "schema": {
  500. "$ref": "#/definitions/app.Response"
  501. }
  502. }
  503. }
  504. }
  505. },
  506. "/Common/NoticeReaded": {
  507. "post": {
  508. "security": [
  509. {
  510. "ApiKeyAuth": []
  511. }
  512. ],
  513. "produces": [
  514. "application/json"
  515. ],
  516. "tags": [
  517. "通用服务"
  518. ],
  519. "summary": "通知公告设置已读请求",
  520. "parameters": [
  521. {
  522. "type": "integer",
  523. "description": "登录账号",
  524. "name": "loginID",
  525. "in": "query",
  526. "required": true
  527. },
  528. {
  529. "type": "integer",
  530. "description": "通知公告ID",
  531. "name": "noticeID",
  532. "in": "query",
  533. "required": true
  534. }
  535. ],
  536. "responses": {
  537. "200": {
  538. "description": "OK",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/QueryErrorInfos": {
  553. "get": {
  554. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  555. "produces": [
  556. "application/json"
  557. ],
  558. "tags": [
  559. "通用服务"
  560. ],
  561. "summary": "获取数据库错误信息",
  562. "parameters": [
  563. {
  564. "type": "string",
  565. "description": "起始行号前索引",
  566. "name": "rowNumber",
  567. "in": "query"
  568. }
  569. ],
  570. "responses": {
  571. "200": {
  572. "description": "OK",
  573. "schema": {
  574. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  575. }
  576. },
  577. "500": {
  578. "description": "Internal Server Error",
  579. "schema": {
  580. "$ref": "#/definitions/app.Response"
  581. }
  582. }
  583. }
  584. }
  585. },
  586. "/Common/QueryImageConfigs": {
  587. "get": {
  588. "produces": [
  589. "application/json"
  590. ],
  591. "tags": [
  592. "通用服务"
  593. ],
  594. "summary": "查询轮播图配置信息",
  595. "parameters": [
  596. {
  597. "type": "integer",
  598. "description": "用户id",
  599. "name": "userId",
  600. "in": "query"
  601. },
  602. {
  603. "type": "integer",
  604. "description": "类型 - 1:App首页轮播 2:我的",
  605. "name": "imageType",
  606. "in": "query"
  607. }
  608. ],
  609. "responses": {
  610. "200": {
  611. "description": "OK",
  612. "schema": {
  613. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  614. }
  615. },
  616. "500": {
  617. "description": "Internal Server Error",
  618. "schema": {
  619. "$ref": "#/definitions/app.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/Common/QueryNotice": {
  626. "get": {
  627. "security": [
  628. {
  629. "ApiKeyAuth": []
  630. }
  631. ],
  632. "produces": [
  633. "application/json"
  634. ],
  635. "tags": [
  636. "通用服务"
  637. ],
  638. "summary": "通知公告系统消息查询",
  639. "parameters": [
  640. {
  641. "type": "integer",
  642. "description": "页码",
  643. "name": "page",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "每页条数",
  649. "name": "pagesize",
  650. "in": "query"
  651. },
  652. {
  653. "type": "integer",
  654. "description": "登录账号",
  655. "name": "loginID",
  656. "in": "query",
  657. "required": true
  658. },
  659. {
  660. "type": "integer",
  661. "description": "消息类型 - 1:公告通知 2:系统消息",
  662. "name": "msgType",
  663. "in": "query"
  664. },
  665. {
  666. "type": "boolean",
  667. "description": "是否只获取未读信息",
  668. "name": "onlyUnRead",
  669. "in": "query"
  670. },
  671. {
  672. "type": "integer",
  673. "description": "自增ID,传入后会返回这个ID后面的记录",
  674. "name": "lastID",
  675. "in": "query"
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "OK",
  681. "schema": {
  682. "$ref": "#/definitions/common.QueryNoticeRsp"
  683. }
  684. },
  685. "500": {
  686. "description": "Internal Server Error",
  687. "schema": {
  688. "$ref": "#/definitions/app.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/Common/QueryProvincesAndCities": {
  695. "get": {
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "查询省市信息(不包括区)",
  703. "parameters": [
  704. {
  705. "type": "integer",
  706. "description": "省ID",
  707. "name": "provinceID",
  708. "in": "query"
  709. }
  710. ],
  711. "responses": {
  712. "200": {
  713. "description": "OK",
  714. "schema": {
  715. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  716. }
  717. },
  718. "500": {
  719. "description": "Internal Server Error",
  720. "schema": {
  721. "$ref": "#/definitions/app.Response"
  722. }
  723. }
  724. }
  725. }
  726. },
  727. "/Common/QueryTableDefine": {
  728. "get": {
  729. "produces": [
  730. "application/json"
  731. ],
  732. "tags": [
  733. "通用服务"
  734. ],
  735. "summary": "查询交易端列表头信息",
  736. "parameters": [
  737. {
  738. "type": "string",
  739. "description": "表key",
  740. "name": "tableKey",
  741. "in": "query"
  742. },
  743. {
  744. "type": "integer",
  745. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  746. "name": "tableType",
  747. "in": "query"
  748. }
  749. ],
  750. "responses": {
  751. "200": {
  752. "description": "OK",
  753. "schema": {
  754. "$ref": "#/definitions/common.QueryTableDefineRsp"
  755. }
  756. },
  757. "500": {
  758. "description": "Internal Server Error",
  759. "schema": {
  760. "$ref": "#/definitions/app.Response"
  761. }
  762. }
  763. }
  764. }
  765. },
  766. "/Common/QueryTraderMenu": {
  767. "get": {
  768. "produces": [
  769. "application/json"
  770. ],
  771. "tags": [
  772. "通用服务"
  773. ],
  774. "summary": "查询交易端菜单",
  775. "parameters": [
  776. {
  777. "type": "integer",
  778. "description": "登录账号",
  779. "name": "loginid",
  780. "in": "query",
  781. "required": true
  782. }
  783. ],
  784. "responses": {
  785. "200": {
  786. "description": "OK",
  787. "schema": {
  788. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  789. }
  790. },
  791. "500": {
  792. "description": "Internal Server Error",
  793. "schema": {
  794. "$ref": "#/definitions/app.Response"
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "/Delivery/QueryDeliveryRelation": {
  801. "get": {
  802. "security": [
  803. {
  804. "ApiKeyAuth": []
  805. }
  806. ],
  807. "produces": [
  808. "application/json"
  809. ],
  810. "tags": [
  811. "交割服务"
  812. ],
  813. "summary": "查询商品交割关系表",
  814. "parameters": [
  815. {
  816. "type": "integer",
  817. "description": "商品ID",
  818. "name": "goodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "品种ID",
  824. "name": "deliverygoodsid",
  825. "in": "query"
  826. },
  827. {
  828. "type": "integer",
  829. "description": "市场ID",
  830. "name": "marketid",
  831. "in": "query"
  832. }
  833. ],
  834. "responses": {
  835. "200": {
  836. "description": "OK",
  837. "schema": {
  838. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  839. }
  840. },
  841. "500": {
  842. "description": "Internal Server Error",
  843. "schema": {
  844. "$ref": "#/definitions/app.Response"
  845. }
  846. }
  847. }
  848. }
  849. },
  850. "/Ermcp/GetErmcpGoods": {
  851. "get": {
  852. "security": [
  853. {
  854. "ApiKeyAuth": []
  855. }
  856. ],
  857. "produces": [
  858. "application/json"
  859. ],
  860. "tags": [
  861. "企业风险管理(app)"
  862. ],
  863. "summary": "查询企业风管期货商品信息",
  864. "parameters": [
  865. {
  866. "type": "string",
  867. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  868. "name": "lastUpdateTime",
  869. "in": "query"
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "OK",
  875. "schema": {
  876. "$ref": "#/definitions/models.ErmcpGoods"
  877. }
  878. },
  879. "500": {
  880. "description": "Internal Server Error",
  881. "schema": {
  882. "$ref": "#/definitions/app.Response"
  883. }
  884. }
  885. }
  886. }
  887. },
  888. "/Ermcp/GetErmcpGoodsSortByPosition": {
  889. "get": {
  890. "security": [
  891. {
  892. "ApiKeyAuth": []
  893. }
  894. ],
  895. "produces": [
  896. "application/json"
  897. ],
  898. "tags": [
  899. "企业风险管理(app)"
  900. ],
  901. "summary": "查询企业风管期货主力、次主力商品信息",
  902. "parameters": [
  903. {
  904. "type": "string",
  905. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  906. "name": "sortIndex",
  907. "in": "query"
  908. }
  909. ],
  910. "responses": {
  911. "200": {
  912. "description": "OK",
  913. "schema": {
  914. "$ref": "#/definitions/models.Goodssortbypreposition"
  915. }
  916. },
  917. "500": {
  918. "description": "Internal Server Error",
  919. "schema": {
  920. "$ref": "#/definitions/app.Response"
  921. }
  922. }
  923. }
  924. }
  925. },
  926. "/Ermcp/GetErmcpOutAccountStatus": {
  927. "get": {
  928. "security": [
  929. {
  930. "ApiKeyAuth": []
  931. }
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "企业风险管理(app)"
  938. ],
  939. "summary": "获取目标登录账号当前对冲账号在线状态",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "登录账号",
  944. "name": "loginID",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "$ref": "#/definitions/models.Hedgemarketopenlog"
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "获取企业风管终端权限",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "登录账号",
  983. "name": "loginID",
  984. "in": "query",
  985. "required": true
  986. }
  987. ],
  988. "responses": {
  989. "200": {
  990. "description": "OK",
  991. "schema": {
  992. "$ref": "#/definitions/models.Funcmenulist"
  993. }
  994. },
  995. "500": {
  996. "description": "Internal Server Error",
  997. "schema": {
  998. "$ref": "#/definitions/app.Response"
  999. }
  1000. }
  1001. }
  1002. }
  1003. },
  1004. "/Ermcp/QueryAccMgrBizGroupSet": {
  1005. "get": {
  1006. "security": [
  1007. {
  1008. "ApiKeyAuth": []
  1009. }
  1010. ],
  1011. "produces": [
  1012. "application/json"
  1013. ],
  1014. "tags": [
  1015. "企业风险管理(app)"
  1016. ],
  1017. "summary": "查询业务类型分组(账户管理/账户设置)",
  1018. "parameters": [
  1019. {
  1020. "type": "integer",
  1021. "description": "用户ID",
  1022. "name": "userid",
  1023. "in": "query",
  1024. "required": true
  1025. },
  1026. {
  1027. "type": "integer",
  1028. "description": "现货商品id",
  1029. "name": "deliverygoodsid",
  1030. "in": "query"
  1031. }
  1032. ],
  1033. "responses": {
  1034. "200": {
  1035. "description": "OK",
  1036. "schema": {
  1037. "type": "array",
  1038. "items": {
  1039. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1040. }
  1041. }
  1042. },
  1043. "500": {
  1044. "description": "Internal Server Error",
  1045. "schema": {
  1046. "$ref": "#/definitions/app.Response"
  1047. }
  1048. }
  1049. }
  1050. }
  1051. },
  1052. "/Ermcp/QueryAccMgrLoginUser": {
  1053. "get": {
  1054. "security": [
  1055. {
  1056. "ApiKeyAuth": []
  1057. }
  1058. ],
  1059. "produces": [
  1060. "application/json"
  1061. ],
  1062. "tags": [
  1063. "企业风险管理(app)"
  1064. ],
  1065. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1066. "parameters": [
  1067. {
  1068. "type": "integer",
  1069. "description": "用户ID",
  1070. "name": "userid",
  1071. "in": "query",
  1072. "required": true
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "用户类型 2-机构 7-企业成员",
  1077. "name": "usertype",
  1078. "in": "query"
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1083. "name": "querytype",
  1084. "in": "query",
  1085. "required": true
  1086. }
  1087. ],
  1088. "responses": {
  1089. "200": {
  1090. "description": "OK",
  1091. "schema": {
  1092. "type": "array",
  1093. "items": {
  1094. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1095. }
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "企业风险管理(app)"
  1119. ],
  1120. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1121. "parameters": [
  1122. {
  1123. "type": "integer",
  1124. "description": "用户ID",
  1125. "name": "userid",
  1126. "in": "query"
  1127. },
  1128. {
  1129. "type": "integer",
  1130. "description": "主账号id",
  1131. "name": "accountid",
  1132. "in": "query"
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.MainAccountInfo"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrRole": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query",
  1174. "required": true
  1175. }
  1176. ],
  1177. "responses": {
  1178. "200": {
  1179. "description": "OK",
  1180. "schema": {
  1181. "type": "array",
  1182. "items": {
  1183. "$ref": "#/definitions/models.ErmcpRole"
  1184. }
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/QueryAccMgrRoleMenu": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户ID",
  1214. "name": "userid",
  1215. "in": "query",
  1216. "required": true
  1217. },
  1218. {
  1219. "type": "string",
  1220. "description": "角色id(可多个,逗号隔开)",
  1221. "name": "roleid",
  1222. "in": "query"
  1223. },
  1224. {
  1225. "type": "integer",
  1226. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1227. "name": "menutype",
  1228. "in": "query"
  1229. }
  1230. ],
  1231. "responses": {
  1232. "200": {
  1233. "description": "OK",
  1234. "schema": {
  1235. "type": "array",
  1236. "items": {
  1237. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1238. }
  1239. }
  1240. },
  1241. "500": {
  1242. "description": "Internal Server Error",
  1243. "schema": {
  1244. "$ref": "#/definitions/app.Response"
  1245. }
  1246. }
  1247. }
  1248. }
  1249. },
  1250. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1251. "get": {
  1252. "security": [
  1253. {
  1254. "ApiKeyAuth": []
  1255. }
  1256. ],
  1257. "produces": [
  1258. "application/json"
  1259. ],
  1260. "tags": [
  1261. "企业风险管理(app)"
  1262. ],
  1263. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1264. "parameters": [
  1265. {
  1266. "type": "integer",
  1267. "description": "用户ID",
  1268. "name": "userid",
  1269. "in": "query",
  1270. "required": true
  1271. },
  1272. {
  1273. "type": "integer",
  1274. "description": "账号id",
  1275. "name": "accountid",
  1276. "in": "query"
  1277. }
  1278. ],
  1279. "responses": {
  1280. "200": {
  1281. "description": "OK",
  1282. "schema": {
  1283. "type": "array",
  1284. "items": {
  1285. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1286. }
  1287. }
  1288. },
  1289. "500": {
  1290. "description": "Internal Server Error",
  1291. "schema": {
  1292. "$ref": "#/definitions/app.Response"
  1293. }
  1294. }
  1295. }
  1296. }
  1297. },
  1298. "/Ermcp/QueryAccMgrTaaccount": {
  1299. "get": {
  1300. "security": [
  1301. {
  1302. "ApiKeyAuth": []
  1303. }
  1304. ],
  1305. "produces": [
  1306. "application/json"
  1307. ],
  1308. "tags": [
  1309. "企业风险管理(app)"
  1310. ],
  1311. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1312. "parameters": [
  1313. {
  1314. "type": "integer",
  1315. "description": "用户ID",
  1316. "name": "userid",
  1317. "in": "query",
  1318. "required": true
  1319. }
  1320. ],
  1321. "responses": {
  1322. "200": {
  1323. "description": "OK",
  1324. "schema": {
  1325. "type": "array",
  1326. "items": {
  1327. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1328. }
  1329. }
  1330. },
  1331. "500": {
  1332. "description": "Internal Server Error",
  1333. "schema": {
  1334. "$ref": "#/definitions/app.Response"
  1335. }
  1336. }
  1337. }
  1338. }
  1339. },
  1340. "/Ermcp/QueryAvaildGoodsGroup": {
  1341. "get": {
  1342. "security": [
  1343. {
  1344. "ApiKeyAuth": []
  1345. }
  1346. ],
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "企业风险管理(app)"
  1352. ],
  1353. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1354. "parameters": [
  1355. {
  1356. "type": "integer",
  1357. "description": "所属机构ID",
  1358. "name": "userid",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "type": "array",
  1368. "items": {
  1369. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1370. }
  1371. }
  1372. },
  1373. "500": {
  1374. "description": "Internal Server Error",
  1375. "schema": {
  1376. "$ref": "#/definitions/app.Response"
  1377. }
  1378. }
  1379. }
  1380. }
  1381. },
  1382. "/Ermcp/QueryBusinessDj": {
  1383. "get": {
  1384. "security": [
  1385. {
  1386. "ApiKeyAuth": []
  1387. }
  1388. ],
  1389. "produces": [
  1390. "application/json"
  1391. ],
  1392. "tags": [
  1393. "企业风险管理(app)"
  1394. ],
  1395. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1396. "parameters": [
  1397. {
  1398. "type": "integer",
  1399. "description": "用户ID",
  1400. "name": "UserId",
  1401. "in": "query",
  1402. "required": true
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "用户类型 2-机构 7-企业成员",
  1407. "name": "usertype",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "现货合同ID, 不填则查所有",
  1413. "name": "relatedid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "string",
  1418. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1419. "name": "applystatus",
  1420. "in": "query"
  1421. }
  1422. ],
  1423. "responses": {
  1424. "200": {
  1425. "description": "OK",
  1426. "schema": {
  1427. "type": "array",
  1428. "items": {
  1429. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1430. }
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/Ermcp/QueryBusinessFp": {
  1443. "get": {
  1444. "security": [
  1445. {
  1446. "ApiKeyAuth": []
  1447. }
  1448. ],
  1449. "produces": [
  1450. "application/json"
  1451. ],
  1452. "tags": [
  1453. "企业风险管理(app)"
  1454. ],
  1455. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1456. "parameters": [
  1457. {
  1458. "type": "integer",
  1459. "description": "用户ID",
  1460. "name": "UserId",
  1461. "in": "query",
  1462. "required": true
  1463. },
  1464. {
  1465. "type": "integer",
  1466. "description": "用户类型 2-机构 7-企业成员",
  1467. "name": "usertype",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "现货合同ID, 不填则查所有",
  1473. "name": "relatedid",
  1474. "in": "query"
  1475. },
  1476. {
  1477. "type": "string",
  1478. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1479. "name": "applystatus",
  1480. "in": "query"
  1481. }
  1482. ],
  1483. "responses": {
  1484. "200": {
  1485. "description": "OK",
  1486. "schema": {
  1487. "type": "array",
  1488. "items": {
  1489. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1490. }
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/app.Response"
  1497. }
  1498. }
  1499. }
  1500. }
  1501. },
  1502. "/Ermcp/QueryBusinessJs": {
  1503. "get": {
  1504. "security": [
  1505. {
  1506. "ApiKeyAuth": []
  1507. }
  1508. ],
  1509. "produces": [
  1510. "application/json"
  1511. ],
  1512. "tags": [
  1513. "企业风险管理(app)"
  1514. ],
  1515. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1516. "parameters": [
  1517. {
  1518. "type": "integer",
  1519. "description": "用户ID",
  1520. "name": "UserId",
  1521. "in": "query",
  1522. "required": true
  1523. },
  1524. {
  1525. "type": "integer",
  1526. "description": "用户类型 2-机构 7-企业成员",
  1527. "name": "usertype",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "现货合同ID, 不填则查所有",
  1533. "name": "relatedid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "操作申请id",
  1539. "name": "operateapplyid",
  1540. "in": "query"
  1541. },
  1542. {
  1543. "type": "string",
  1544. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1545. "name": "applystatus",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "type": "array",
  1554. "items": {
  1555. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1556. }
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Ermcp/QueryBusinessJsEx": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "企业风险管理(app)"
  1580. ],
  1581. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1582. "parameters": [
  1583. {
  1584. "type": "integer",
  1585. "description": "用户ID",
  1586. "name": "UserId",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "用户类型 2-机构 7-企业成员",
  1593. "name": "usertype",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "现货合同ID, 不填则查所有",
  1599. "name": "relatedid",
  1600. "in": "query"
  1601. },
  1602. {
  1603. "type": "string",
  1604. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1605. "name": "applystatus",
  1606. "in": "query"
  1607. }
  1608. ],
  1609. "responses": {
  1610. "200": {
  1611. "description": "OK",
  1612. "schema": {
  1613. "type": "array",
  1614. "items": {
  1615. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1616. }
  1617. }
  1618. },
  1619. "500": {
  1620. "description": "Internal Server Error",
  1621. "schema": {
  1622. "$ref": "#/definitions/app.Response"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/Ermcp/QueryBusinessKx": {
  1629. "get": {
  1630. "security": [
  1631. {
  1632. "ApiKeyAuth": []
  1633. }
  1634. ],
  1635. "produces": [
  1636. "application/json"
  1637. ],
  1638. "tags": [
  1639. "企业风险管理(app)"
  1640. ],
  1641. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1642. "parameters": [
  1643. {
  1644. "type": "integer",
  1645. "description": "用户ID",
  1646. "name": "UserId",
  1647. "in": "query",
  1648. "required": true
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "用户类型 2-机构 7-企业成员",
  1653. "name": "usertype",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "现货合同ID, 不填则查所有",
  1659. "name": "relatedid",
  1660. "in": "query"
  1661. },
  1662. {
  1663. "type": "string",
  1664. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1665. "name": "applystatus",
  1666. "in": "query"
  1667. }
  1668. ],
  1669. "responses": {
  1670. "200": {
  1671. "description": "OK",
  1672. "schema": {
  1673. "type": "array",
  1674. "items": {
  1675. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1676. }
  1677. }
  1678. },
  1679. "500": {
  1680. "description": "Internal Server Error",
  1681. "schema": {
  1682. "$ref": "#/definitions/app.Response"
  1683. }
  1684. }
  1685. }
  1686. }
  1687. },
  1688. "/Ermcp/QueryChangeLog": {
  1689. "get": {
  1690. "security": [
  1691. {
  1692. "ApiKeyAuth": []
  1693. }
  1694. ],
  1695. "produces": [
  1696. "application/json"
  1697. ],
  1698. "tags": [
  1699. "企业风险管理(app)"
  1700. ],
  1701. "summary": "查询变更记录",
  1702. "parameters": [
  1703. {
  1704. "type": "string",
  1705. "description": "合同ID",
  1706. "name": "RelatedId",
  1707. "in": "query",
  1708. "required": true
  1709. }
  1710. ],
  1711. "responses": {
  1712. "200": {
  1713. "description": "OK",
  1714. "schema": {
  1715. "type": "array",
  1716. "items": {
  1717. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1718. }
  1719. }
  1720. },
  1721. "500": {
  1722. "description": "Internal Server Error",
  1723. "schema": {
  1724. "$ref": "#/definitions/app.Response"
  1725. }
  1726. }
  1727. }
  1728. }
  1729. },
  1730. "/Ermcp/QueryErmcpHisOrderDetails": {
  1731. "get": {
  1732. "security": [
  1733. {
  1734. "ApiKeyAuth": []
  1735. }
  1736. ],
  1737. "produces": [
  1738. "application/json"
  1739. ],
  1740. "tags": [
  1741. "企业风险管理(app)"
  1742. ],
  1743. "summary": "获取企业风管期货历史委托单信息",
  1744. "parameters": [
  1745. {
  1746. "type": "integer",
  1747. "description": "资金账户ID",
  1748. "name": "accountID",
  1749. "in": "query",
  1750. "required": true
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "startDate",
  1756. "in": "query"
  1757. },
  1758. {
  1759. "type": "string",
  1760. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1761. "name": "endDate",
  1762. "in": "query"
  1763. }
  1764. ],
  1765. "responses": {
  1766. "200": {
  1767. "description": "OK",
  1768. "schema": {
  1769. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1770. }
  1771. },
  1772. "500": {
  1773. "description": "Internal Server Error",
  1774. "schema": {
  1775. "$ref": "#/definitions/app.Response"
  1776. }
  1777. }
  1778. }
  1779. }
  1780. },
  1781. "/Ermcp/QueryErmcpHisTradeDetails": {
  1782. "get": {
  1783. "security": [
  1784. {
  1785. "ApiKeyAuth": []
  1786. }
  1787. ],
  1788. "produces": [
  1789. "application/json"
  1790. ],
  1791. "tags": [
  1792. "企业风险管理(app)"
  1793. ],
  1794. "summary": "获取企业风管期货历史成交单信息",
  1795. "parameters": [
  1796. {
  1797. "type": "integer",
  1798. "description": "资金账户ID",
  1799. "name": "accountID",
  1800. "in": "query",
  1801. "required": true
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "商品ID",
  1806. "name": "goodsID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "买卖方向,0:买 1:卖",
  1812. "name": "buyOrSell",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "integer",
  1817. "description": "关联委托单号",
  1818. "name": "orderID",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "startDate",
  1825. "in": "query"
  1826. },
  1827. {
  1828. "type": "string",
  1829. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1830. "name": "endDate",
  1831. "in": "query"
  1832. }
  1833. ],
  1834. "responses": {
  1835. "200": {
  1836. "description": "OK",
  1837. "schema": {
  1838. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1839. }
  1840. },
  1841. "500": {
  1842. "description": "Internal Server Error",
  1843. "schema": {
  1844. "$ref": "#/definitions/app.Response"
  1845. }
  1846. }
  1847. }
  1848. }
  1849. },
  1850. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1851. "get": {
  1852. "security": [
  1853. {
  1854. "ApiKeyAuth": []
  1855. }
  1856. ],
  1857. "produces": [
  1858. "application/json"
  1859. ],
  1860. "tags": [
  1861. "企业风险管理(app)"
  1862. ],
  1863. "summary": "获取企业风管期货内部持仓单信息",
  1864. "parameters": [
  1865. {
  1866. "type": "integer",
  1867. "description": "资金账户ID",
  1868. "name": "accountID",
  1869. "in": "query",
  1870. "required": true
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "商品ID",
  1875. "name": "goodsID",
  1876. "in": "query"
  1877. },
  1878. {
  1879. "type": "integer",
  1880. "description": "买卖方向,0:买 1:卖",
  1881. "name": "buyOrSell",
  1882. "in": "query"
  1883. }
  1884. ],
  1885. "responses": {
  1886. "200": {
  1887. "description": "OK",
  1888. "schema": {
  1889. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1890. }
  1891. },
  1892. "500": {
  1893. "description": "Internal Server Error",
  1894. "schema": {
  1895. "$ref": "#/definitions/app.Response"
  1896. }
  1897. }
  1898. }
  1899. }
  1900. },
  1901. "/Ermcp/QueryErmcpOrderDetails": {
  1902. "get": {
  1903. "security": [
  1904. {
  1905. "ApiKeyAuth": []
  1906. }
  1907. ],
  1908. "produces": [
  1909. "application/json"
  1910. ],
  1911. "tags": [
  1912. "企业风险管理(app)"
  1913. ],
  1914. "summary": "获取企业风管期货委托单信息",
  1915. "parameters": [
  1916. {
  1917. "type": "integer",
  1918. "description": "资金账户ID",
  1919. "name": "accountID",
  1920. "in": "query",
  1921. "required": true
  1922. }
  1923. ],
  1924. "responses": {
  1925. "200": {
  1926. "description": "OK",
  1927. "schema": {
  1928. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1929. }
  1930. },
  1931. "500": {
  1932. "description": "Internal Server Error",
  1933. "schema": {
  1934. "$ref": "#/definitions/app.Response"
  1935. }
  1936. }
  1937. }
  1938. }
  1939. },
  1940. "/Ermcp/QueryErmcpTradeDetails": {
  1941. "get": {
  1942. "security": [
  1943. {
  1944. "ApiKeyAuth": []
  1945. }
  1946. ],
  1947. "produces": [
  1948. "application/json"
  1949. ],
  1950. "tags": [
  1951. "企业风险管理(app)"
  1952. ],
  1953. "summary": "获取企业风管期货成交单信息",
  1954. "parameters": [
  1955. {
  1956. "type": "integer",
  1957. "description": "资金账户ID",
  1958. "name": "accountID",
  1959. "in": "query",
  1960. "required": true
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "商品ID",
  1965. "name": "goodsID",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "买卖方向,0:买 1:卖",
  1971. "name": "buyOrSell",
  1972. "in": "query"
  1973. },
  1974. {
  1975. "type": "integer",
  1976. "description": "关联委托单号",
  1977. "name": "orderID",
  1978. "in": "query"
  1979. }
  1980. ],
  1981. "responses": {
  1982. "200": {
  1983. "description": "OK",
  1984. "schema": {
  1985. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1986. }
  1987. },
  1988. "500": {
  1989. "description": "Internal Server Error",
  1990. "schema": {
  1991. "$ref": "#/definitions/app.Response"
  1992. }
  1993. }
  1994. }
  1995. }
  1996. },
  1997. "/Ermcp/QueryErmcpTradePosition": {
  1998. "get": {
  1999. "security": [
  2000. {
  2001. "ApiKeyAuth": []
  2002. }
  2003. ],
  2004. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2005. "produces": [
  2006. "application/json"
  2007. ],
  2008. "tags": [
  2009. "企业风险管理(app)"
  2010. ],
  2011. "summary": "获取企业风管期货持仓头寸信息",
  2012. "parameters": [
  2013. {
  2014. "type": "integer",
  2015. "description": "资金账户ID",
  2016. "name": "accountID",
  2017. "in": "query",
  2018. "required": true
  2019. },
  2020. {
  2021. "type": "integer",
  2022. "description": "所属市场ID",
  2023. "name": "marketID",
  2024. "in": "query"
  2025. }
  2026. ],
  2027. "responses": {
  2028. "200": {
  2029. "description": "OK",
  2030. "schema": {
  2031. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2032. }
  2033. },
  2034. "500": {
  2035. "description": "Internal Server Error",
  2036. "schema": {
  2037. "$ref": "#/definitions/app.Response"
  2038. }
  2039. }
  2040. }
  2041. }
  2042. },
  2043. "/Ermcp/QueryExposureDetail": {
  2044. "get": {
  2045. "security": [
  2046. {
  2047. "ApiKeyAuth": []
  2048. }
  2049. ],
  2050. "produces": [
  2051. "application/json"
  2052. ],
  2053. "tags": [
  2054. "企业风险管理(app)"
  2055. ],
  2056. "summary": "查询敞口现货明细",
  2057. "parameters": [
  2058. {
  2059. "type": "integer",
  2060. "description": "所属机构ID",
  2061. "name": "areaUserId",
  2062. "in": "query",
  2063. "required": true
  2064. },
  2065. {
  2066. "type": "integer",
  2067. "description": "套保商品",
  2068. "name": "middleGoodsId",
  2069. "in": "query",
  2070. "required": true
  2071. }
  2072. ],
  2073. "responses": {
  2074. "200": {
  2075. "description": "OK",
  2076. "schema": {
  2077. "type": "array",
  2078. "items": {
  2079. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2080. }
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Internal Server Error",
  2085. "schema": {
  2086. "$ref": "#/definitions/app.Response"
  2087. }
  2088. }
  2089. }
  2090. }
  2091. },
  2092. "/Ermcp/QueryExposureGoods": {
  2093. "get": {
  2094. "security": [
  2095. {
  2096. "ApiKeyAuth": []
  2097. }
  2098. ],
  2099. "produces": [
  2100. "application/json"
  2101. ],
  2102. "tags": [
  2103. "企业风险管理(app)"
  2104. ],
  2105. "summary": "查询敞口主力合约",
  2106. "parameters": [
  2107. {
  2108. "type": "integer",
  2109. "description": "套保商品id",
  2110. "name": "middlegoodsid",
  2111. "in": "query",
  2112. "required": true
  2113. }
  2114. ],
  2115. "responses": {
  2116. "200": {
  2117. "description": "OK",
  2118. "schema": {
  2119. "type": "array",
  2120. "items": {
  2121. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2122. }
  2123. }
  2124. },
  2125. "500": {
  2126. "description": "Internal Server Error",
  2127. "schema": {
  2128. "$ref": "#/definitions/app.Response"
  2129. }
  2130. }
  2131. }
  2132. }
  2133. },
  2134. "/Ermcp/QueryExposureHedgePosition": {
  2135. "get": {
  2136. "security": [
  2137. {
  2138. "ApiKeyAuth": []
  2139. }
  2140. ],
  2141. "produces": [
  2142. "application/json"
  2143. ],
  2144. "tags": [
  2145. "企业风险管理(app)"
  2146. ],
  2147. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2148. "parameters": [
  2149. {
  2150. "type": "integer",
  2151. "description": "用户id",
  2152. "name": "userid",
  2153. "in": "query",
  2154. "required": true
  2155. }
  2156. ],
  2157. "responses": {
  2158. "200": {
  2159. "description": "OK",
  2160. "schema": {
  2161. "type": "array",
  2162. "items": {
  2163. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2164. }
  2165. }
  2166. },
  2167. "500": {
  2168. "description": "Internal Server Error",
  2169. "schema": {
  2170. "$ref": "#/definitions/app.Response"
  2171. }
  2172. }
  2173. }
  2174. }
  2175. },
  2176. "/Ermcp/QueryExposureHedgePositionDetail": {
  2177. "get": {
  2178. "security": [
  2179. {
  2180. "ApiKeyAuth": []
  2181. }
  2182. ],
  2183. "produces": [
  2184. "application/json"
  2185. ],
  2186. "tags": [
  2187. "企业风险管理(app)"
  2188. ],
  2189. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2190. "parameters": [
  2191. {
  2192. "type": "integer",
  2193. "description": "所属机构ID",
  2194. "name": "userid",
  2195. "in": "query",
  2196. "required": true
  2197. },
  2198. {
  2199. "type": "integer",
  2200. "description": "商品id",
  2201. "name": "goodsId",
  2202. "in": "query",
  2203. "required": true
  2204. }
  2205. ],
  2206. "responses": {
  2207. "200": {
  2208. "description": "OK",
  2209. "schema": {
  2210. "type": "array",
  2211. "items": {
  2212. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2213. }
  2214. }
  2215. },
  2216. "500": {
  2217. "description": "Internal Server Error",
  2218. "schema": {
  2219. "$ref": "#/definitions/app.Response"
  2220. }
  2221. }
  2222. }
  2223. }
  2224. },
  2225. "/Ermcp/QueryExposureSpot": {
  2226. "get": {
  2227. "security": [
  2228. {
  2229. "ApiKeyAuth": []
  2230. }
  2231. ],
  2232. "produces": [
  2233. "application/json"
  2234. ],
  2235. "tags": [
  2236. "企业风险管理(app)"
  2237. ],
  2238. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2239. "parameters": [
  2240. {
  2241. "type": "integer",
  2242. "description": "所属机构ID",
  2243. "name": "areaUserId",
  2244. "in": "query",
  2245. "required": true
  2246. }
  2247. ],
  2248. "responses": {
  2249. "200": {
  2250. "description": "OK",
  2251. "schema": {
  2252. "type": "array",
  2253. "items": {
  2254. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2255. }
  2256. }
  2257. },
  2258. "500": {
  2259. "description": "Internal Server Error",
  2260. "schema": {
  2261. "$ref": "#/definitions/app.Response"
  2262. }
  2263. }
  2264. }
  2265. }
  2266. },
  2267. "/Ermcp/QueryExposureSpotDetail": {
  2268. "get": {
  2269. "security": [
  2270. {
  2271. "ApiKeyAuth": []
  2272. }
  2273. ],
  2274. "produces": [
  2275. "application/json"
  2276. ],
  2277. "tags": [
  2278. "企业风险管理(app)"
  2279. ],
  2280. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2281. "parameters": [
  2282. {
  2283. "type": "integer",
  2284. "description": "所属机构ID",
  2285. "name": "areaUserId",
  2286. "in": "query",
  2287. "required": true
  2288. },
  2289. {
  2290. "type": "integer",
  2291. "description": "现货品种ID",
  2292. "name": "wrstandardId",
  2293. "in": "query",
  2294. "required": true
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryFuturesCompany": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询期货公司",
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "type": "array",
  2335. "items": {
  2336. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2337. }
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryGGConvertConfig": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "produces": [
  2357. "application/json"
  2358. ],
  2359. "tags": [
  2360. "企业风险管理(app)"
  2361. ],
  2362. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2363. "parameters": [
  2364. {
  2365. "type": "integer",
  2366. "description": "品种id(不填则查所有)",
  2367. "name": "goodsgroupid",
  2368. "in": "query"
  2369. }
  2370. ],
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryGoodsBrand": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询商品品牌",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "用户ID",
  2408. "name": "userid",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "现货商品ID",
  2415. "name": "wrstandardid",
  2416. "in": "query"
  2417. }
  2418. ],
  2419. "responses": {
  2420. "200": {
  2421. "description": "OK",
  2422. "schema": {
  2423. "type": "array",
  2424. "items": {
  2425. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2426. }
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/app.Response"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/Ermcp/QueryGoodsModel": {
  2439. "get": {
  2440. "security": [
  2441. {
  2442. "ApiKeyAuth": []
  2443. }
  2444. ],
  2445. "produces": [
  2446. "application/json"
  2447. ],
  2448. "tags": [
  2449. "企业风险管理(app)"
  2450. ],
  2451. "summary": "查询商品型号",
  2452. "parameters": [
  2453. {
  2454. "type": "integer",
  2455. "description": "用户ID",
  2456. "name": "userid",
  2457. "in": "query",
  2458. "required": true
  2459. }
  2460. ],
  2461. "responses": {
  2462. "200": {
  2463. "description": "OK",
  2464. "schema": {
  2465. "type": "array",
  2466. "items": {
  2467. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2468. }
  2469. }
  2470. },
  2471. "500": {
  2472. "description": "Internal Server Error",
  2473. "schema": {
  2474. "$ref": "#/definitions/app.Response"
  2475. }
  2476. }
  2477. }
  2478. }
  2479. },
  2480. "/Ermcp/QueryHisExposure": {
  2481. "get": {
  2482. "security": [
  2483. {
  2484. "ApiKeyAuth": []
  2485. }
  2486. ],
  2487. "produces": [
  2488. "application/json"
  2489. ],
  2490. "tags": [
  2491. "企业风险管理(app)"
  2492. ],
  2493. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2494. "parameters": [
  2495. {
  2496. "type": "integer",
  2497. "description": "用户id",
  2498. "name": "userid",
  2499. "in": "query",
  2500. "required": true
  2501. },
  2502. {
  2503. "type": "integer",
  2504. "description": "每个品种记录数",
  2505. "name": "lastNum",
  2506. "in": "query",
  2507. "required": true
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "type": "array",
  2515. "items": {
  2516. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2517. }
  2518. }
  2519. },
  2520. "500": {
  2521. "description": "Internal Server Error",
  2522. "schema": {
  2523. "$ref": "#/definitions/app.Response"
  2524. }
  2525. }
  2526. }
  2527. }
  2528. },
  2529. "/Ermcp/QueryMiddleGoods": {
  2530. "get": {
  2531. "security": [
  2532. {
  2533. "ApiKeyAuth": []
  2534. }
  2535. ],
  2536. "produces": [
  2537. "application/json"
  2538. ],
  2539. "tags": [
  2540. "企业风险管理(app)"
  2541. ],
  2542. "summary": "查询套保品种(菜单:套保品种)",
  2543. "parameters": [
  2544. {
  2545. "type": "integer",
  2546. "description": "所属机构ID",
  2547. "name": "userid",
  2548. "in": "query",
  2549. "required": true
  2550. },
  2551. {
  2552. "type": "integer",
  2553. "description": "状态 0-停用 1-正常",
  2554. "name": "status",
  2555. "in": "query",
  2556. "required": true
  2557. }
  2558. ],
  2559. "responses": {
  2560. "200": {
  2561. "description": "OK",
  2562. "schema": {
  2563. "type": "array",
  2564. "items": {
  2565. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2566. }
  2567. }
  2568. },
  2569. "500": {
  2570. "description": "Internal Server Error",
  2571. "schema": {
  2572. "$ref": "#/definitions/app.Response"
  2573. }
  2574. }
  2575. }
  2576. }
  2577. },
  2578. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2579. "get": {
  2580. "security": [
  2581. {
  2582. "ApiKeyAuth": []
  2583. }
  2584. ],
  2585. "produces": [
  2586. "application/json"
  2587. ],
  2588. "tags": [
  2589. "企业风险管理(app)"
  2590. ],
  2591. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2592. "parameters": [
  2593. {
  2594. "type": "integer",
  2595. "description": "所属机构ID",
  2596. "name": "userid",
  2597. "in": "query",
  2598. "required": true
  2599. },
  2600. {
  2601. "type": "integer",
  2602. "description": "套保品种id",
  2603. "name": "middlegoodsid",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "type": "array",
  2613. "items": {
  2614. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2615. }
  2616. }
  2617. },
  2618. "500": {
  2619. "description": "Internal Server Error",
  2620. "schema": {
  2621. "$ref": "#/definitions/app.Response"
  2622. }
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/Ermcp/QueryMiddleGoodsDetail": {
  2628. "get": {
  2629. "security": [
  2630. {
  2631. "ApiKeyAuth": []
  2632. }
  2633. ],
  2634. "produces": [
  2635. "application/json"
  2636. ],
  2637. "tags": [
  2638. "企业风险管理(app)"
  2639. ],
  2640. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2641. "parameters": [
  2642. {
  2643. "type": "integer",
  2644. "description": "所属机构ID",
  2645. "name": "userid",
  2646. "in": "query",
  2647. "required": true
  2648. },
  2649. {
  2650. "type": "integer",
  2651. "description": "套保品种id",
  2652. "name": "middlegoodsid",
  2653. "in": "query"
  2654. }
  2655. ],
  2656. "responses": {
  2657. "200": {
  2658. "description": "OK",
  2659. "schema": {
  2660. "type": "array",
  2661. "items": {
  2662. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2663. }
  2664. }
  2665. },
  2666. "500": {
  2667. "description": "Internal Server Error",
  2668. "schema": {
  2669. "$ref": "#/definitions/app.Response"
  2670. }
  2671. }
  2672. }
  2673. }
  2674. },
  2675. "/Ermcp/QueryPendingAuditInfo": {
  2676. "get": {
  2677. "security": [
  2678. {
  2679. "ApiKeyAuth": []
  2680. }
  2681. ],
  2682. "produces": [
  2683. "application/json"
  2684. ],
  2685. "tags": [
  2686. "企业风险管理(app)"
  2687. ],
  2688. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2689. "parameters": [
  2690. {
  2691. "type": "integer",
  2692. "description": "用户ID",
  2693. "name": "UserId",
  2694. "in": "query",
  2695. "required": true
  2696. }
  2697. ],
  2698. "responses": {
  2699. "200": {
  2700. "description": "OK",
  2701. "schema": {
  2702. "type": "array",
  2703. "items": {
  2704. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2705. }
  2706. }
  2707. },
  2708. "500": {
  2709. "description": "Internal Server Error",
  2710. "schema": {
  2711. "$ref": "#/definitions/app.Response"
  2712. }
  2713. }
  2714. }
  2715. }
  2716. },
  2717. "/Ermcp/QueryRealtimeExposure": {
  2718. "get": {
  2719. "security": [
  2720. {
  2721. "ApiKeyAuth": []
  2722. }
  2723. ],
  2724. "produces": [
  2725. "application/json"
  2726. ],
  2727. "tags": [
  2728. "企业风险管理(app)"
  2729. ],
  2730. "summary": "查询实时敞口",
  2731. "parameters": [
  2732. {
  2733. "type": "integer",
  2734. "description": "所属机构ID",
  2735. "name": "userid",
  2736. "in": "query",
  2737. "required": true
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "type": "array",
  2745. "items": {
  2746. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2747. }
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryRealtimeExposurePosition": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "用户id",
  2777. "name": "userid",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "套保商品ID",
  2784. "name": "middleGoodsId",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "type": "array",
  2794. "items": {
  2795. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2796. }
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Ermcp/QueryRoleMenu": {
  2809. "get": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "企业风险管理(app)"
  2820. ],
  2821. "summary": "查询角色菜单和权限",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "登录ID",
  2826. "name": "loginid",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "integer",
  2832. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2833. "name": "menutype",
  2834. "in": "query"
  2835. }
  2836. ],
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "type": "array",
  2842. "items": {
  2843. "$ref": "#/definitions/models.RoleMenu"
  2844. }
  2845. }
  2846. },
  2847. "500": {
  2848. "description": "Internal Server Error",
  2849. "schema": {
  2850. "$ref": "#/definitions/app.Response"
  2851. }
  2852. }
  2853. }
  2854. }
  2855. },
  2856. "/Ermcp/QueryTradeConfigTMP": {
  2857. "get": {
  2858. "security": [
  2859. {
  2860. "ApiKeyAuth": []
  2861. }
  2862. ],
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "查询交易模板配置",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "所属机构id",
  2874. "name": "areauserid",
  2875. "in": "query"
  2876. }
  2877. ],
  2878. "responses": {
  2879. "200": {
  2880. "description": "OK",
  2881. "schema": {
  2882. "type": "array",
  2883. "items": {
  2884. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2885. }
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/Ermcp/QueryUserInfo": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "企业风险管理(app)"
  2909. ],
  2910. "summary": "查询客户资料",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "所属机构用户ID",
  2915. "name": "MemberUserID",
  2916. "in": "query",
  2917. "required": true
  2918. },
  2919. {
  2920. "type": "integer",
  2921. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2922. "name": "queryType",
  2923. "in": "query",
  2924. "required": true
  2925. }
  2926. ],
  2927. "responses": {
  2928. "200": {
  2929. "description": "OK",
  2930. "schema": {
  2931. "type": "array",
  2932. "items": {
  2933. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2934. }
  2935. }
  2936. },
  2937. "500": {
  2938. "description": "Internal Server Error",
  2939. "schema": {
  2940. "$ref": "#/definitions/app.Response"
  2941. }
  2942. }
  2943. }
  2944. }
  2945. },
  2946. "/Ermcp/QueryWarehouseInfo": {
  2947. "get": {
  2948. "security": [
  2949. {
  2950. "ApiKeyAuth": []
  2951. }
  2952. ],
  2953. "produces": [
  2954. "application/json"
  2955. ],
  2956. "tags": [
  2957. "企业风险管理(app)"
  2958. ],
  2959. "summary": "查询仓库信息",
  2960. "parameters": [
  2961. {
  2962. "type": "integer",
  2963. "description": "用户ID",
  2964. "name": "userid",
  2965. "in": "query",
  2966. "required": true
  2967. },
  2968. {
  2969. "type": "string",
  2970. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2971. "name": "status",
  2972. "in": "query"
  2973. }
  2974. ],
  2975. "responses": {
  2976. "200": {
  2977. "description": "OK",
  2978. "schema": {
  2979. "type": "array",
  2980. "items": {
  2981. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2982. }
  2983. }
  2984. },
  2985. "500": {
  2986. "description": "Internal Server Error",
  2987. "schema": {
  2988. "$ref": "#/definitions/app.Response"
  2989. }
  2990. }
  2991. }
  2992. }
  2993. },
  2994. "/Ermcp3/QryAreaExpourseContractDetail": {
  2995. "get": {
  2996. "security": [
  2997. {
  2998. "ApiKeyAuth": []
  2999. }
  3000. ],
  3001. "produces": [
  3002. "application/json"
  3003. ],
  3004. "tags": [
  3005. "企业风险管理v3(app)"
  3006. ],
  3007. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3008. "parameters": [
  3009. {
  3010. "type": "integer",
  3011. "description": "用户ID",
  3012. "name": "userid",
  3013. "in": "query",
  3014. "required": true
  3015. },
  3016. {
  3017. "type": "integer",
  3018. "description": "套保商品id",
  3019. "name": "middlegoodsid",
  3020. "in": "query",
  3021. "required": true
  3022. },
  3023. {
  3024. "type": "integer",
  3025. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3026. "name": "cycletype",
  3027. "in": "query",
  3028. "required": true
  3029. },
  3030. {
  3031. "type": "string",
  3032. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3033. "name": "cycletime",
  3034. "in": "query",
  3035. "required": true
  3036. }
  3037. ],
  3038. "responses": {
  3039. "200": {
  3040. "description": "OK",
  3041. "schema": {
  3042. "type": "array",
  3043. "items": {
  3044. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3045. }
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3058. "get": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "produces": [
  3065. "application/json"
  3066. ],
  3067. "tags": [
  3068. "企业风险管理v3(app)"
  3069. ],
  3070. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3071. "parameters": [
  3072. {
  3073. "type": "integer",
  3074. "description": "用户ID",
  3075. "name": "userid",
  3076. "in": "query",
  3077. "required": true
  3078. },
  3079. {
  3080. "type": "integer",
  3081. "description": "套保商品id",
  3082. "name": "middlegoodsid",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "integer",
  3088. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3089. "name": "cycletype",
  3090. "in": "query",
  3091. "required": true
  3092. },
  3093. {
  3094. "type": "string",
  3095. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3096. "name": "cycletime",
  3097. "in": "query",
  3098. "required": true
  3099. }
  3100. ],
  3101. "responses": {
  3102. "200": {
  3103. "description": "OK",
  3104. "schema": {
  3105. "type": "array",
  3106. "items": {
  3107. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3108. }
  3109. }
  3110. },
  3111. "500": {
  3112. "description": "Internal Server Error",
  3113. "schema": {
  3114. "$ref": "#/definitions/app.Response"
  3115. }
  3116. }
  3117. }
  3118. }
  3119. },
  3120. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3121. "get": {
  3122. "security": [
  3123. {
  3124. "ApiKeyAuth": []
  3125. }
  3126. ],
  3127. "produces": [
  3128. "application/json"
  3129. ],
  3130. "tags": [
  3131. "企业风险管理v3(app)"
  3132. ],
  3133. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3134. "parameters": [
  3135. {
  3136. "type": "integer",
  3137. "description": "用户ID",
  3138. "name": "userid",
  3139. "in": "query",
  3140. "required": true
  3141. },
  3142. {
  3143. "type": "integer",
  3144. "description": "套保商品id",
  3145. "name": "middlegoodsid",
  3146. "in": "query",
  3147. "required": true
  3148. },
  3149. {
  3150. "type": "integer",
  3151. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3152. "name": "cycletype",
  3153. "in": "query",
  3154. "required": true
  3155. },
  3156. {
  3157. "type": "string",
  3158. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3159. "name": "cycletime",
  3160. "in": "query",
  3161. "required": true
  3162. }
  3163. ],
  3164. "responses": {
  3165. "200": {
  3166. "description": "OK",
  3167. "schema": {
  3168. "type": "array",
  3169. "items": {
  3170. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3171. }
  3172. }
  3173. },
  3174. "500": {
  3175. "description": "Internal Server Error",
  3176. "schema": {
  3177. "$ref": "#/definitions/app.Response"
  3178. }
  3179. }
  3180. }
  3181. }
  3182. },
  3183. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3184. "get": {
  3185. "security": [
  3186. {
  3187. "ApiKeyAuth": []
  3188. }
  3189. ],
  3190. "produces": [
  3191. "application/json"
  3192. ],
  3193. "tags": [
  3194. "企业风险管理v3(app)"
  3195. ],
  3196. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3197. "parameters": [
  3198. {
  3199. "type": "integer",
  3200. "description": "用户ID",
  3201. "name": "userid",
  3202. "in": "query",
  3203. "required": true
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "套保商品id",
  3208. "name": "middlegoodsid",
  3209. "in": "query",
  3210. "required": true
  3211. },
  3212. {
  3213. "type": "integer",
  3214. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3215. "name": "cycletype",
  3216. "in": "query",
  3217. "required": true
  3218. },
  3219. {
  3220. "type": "string",
  3221. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3222. "name": "cycletime",
  3223. "in": "query",
  3224. "required": true
  3225. }
  3226. ],
  3227. "responses": {
  3228. "200": {
  3229. "description": "OK",
  3230. "schema": {
  3231. "type": "array",
  3232. "items": {
  3233. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3234. }
  3235. }
  3236. },
  3237. "500": {
  3238. "description": "Internal Server Error",
  3239. "schema": {
  3240. "$ref": "#/definitions/app.Response"
  3241. }
  3242. }
  3243. }
  3244. }
  3245. },
  3246. "/Ermcp3/QryAreaExpourseReport": {
  3247. "get": {
  3248. "security": [
  3249. {
  3250. "ApiKeyAuth": []
  3251. }
  3252. ],
  3253. "produces": [
  3254. "application/json"
  3255. ],
  3256. "tags": [
  3257. "企业风险管理v3(app)"
  3258. ],
  3259. "summary": "查询敞口报表",
  3260. "parameters": [
  3261. {
  3262. "type": "integer",
  3263. "description": "用户ID",
  3264. "name": "userid",
  3265. "in": "query",
  3266. "required": true
  3267. },
  3268. {
  3269. "type": "integer",
  3270. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3271. "name": "querytype",
  3272. "in": "query",
  3273. "required": true
  3274. },
  3275. {
  3276. "type": "integer",
  3277. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3278. "name": "cycletype",
  3279. "in": "query",
  3280. "required": true
  3281. },
  3282. {
  3283. "type": "string",
  3284. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3285. "name": "cycletime",
  3286. "in": "query",
  3287. "required": true
  3288. }
  3289. ],
  3290. "responses": {
  3291. "200": {
  3292. "description": "OK",
  3293. "schema": {
  3294. "type": "array",
  3295. "items": {
  3296. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3297. }
  3298. }
  3299. },
  3300. "500": {
  3301. "description": "Internal Server Error",
  3302. "schema": {
  3303. "$ref": "#/definitions/app.Response"
  3304. }
  3305. }
  3306. }
  3307. }
  3308. },
  3309. "/Ermcp3/QryAreaSpotplReport": {
  3310. "get": {
  3311. "security": [
  3312. {
  3313. "ApiKeyAuth": []
  3314. }
  3315. ],
  3316. "produces": [
  3317. "application/json"
  3318. ],
  3319. "tags": [
  3320. "企业风险管理v3(app)"
  3321. ],
  3322. "summary": "查询现货报表",
  3323. "parameters": [
  3324. {
  3325. "type": "integer",
  3326. "description": "用户ID",
  3327. "name": "userid",
  3328. "in": "query",
  3329. "required": true
  3330. },
  3331. {
  3332. "type": "integer",
  3333. "description": "查询类型 1-报表 2-报表明细",
  3334. "name": "querytype",
  3335. "in": "query",
  3336. "required": true
  3337. },
  3338. {
  3339. "type": "integer",
  3340. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3341. "name": "cycletype",
  3342. "in": "query",
  3343. "required": true
  3344. },
  3345. {
  3346. "type": "string",
  3347. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3348. "name": "cycletime",
  3349. "in": "query",
  3350. "required": true
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "现货品种id(明细必填)",
  3355. "name": "deliverygoodsid",
  3356. "in": "query"
  3357. },
  3358. {
  3359. "type": "integer",
  3360. "description": "币种id(明细必填)",
  3361. "name": "currencyid",
  3362. "in": "query"
  3363. }
  3364. ],
  3365. "responses": {
  3366. "200": {
  3367. "description": "OK",
  3368. "schema": {
  3369. "type": "array",
  3370. "items": {
  3371. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3372. }
  3373. }
  3374. },
  3375. "500": {
  3376. "description": "Internal Server Error",
  3377. "schema": {
  3378. "$ref": "#/definitions/app.Response"
  3379. }
  3380. }
  3381. }
  3382. }
  3383. },
  3384. "/Ermcp3/QryAreaStockReport": {
  3385. "get": {
  3386. "security": [
  3387. {
  3388. "ApiKeyAuth": []
  3389. }
  3390. ],
  3391. "produces": [
  3392. "application/json"
  3393. ],
  3394. "tags": [
  3395. "企业风险管理v3(app)"
  3396. ],
  3397. "summary": "查询库存报表",
  3398. "parameters": [
  3399. {
  3400. "type": "integer",
  3401. "description": "用户ID",
  3402. "name": "userid",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "查询类型 1-报表 2-报表明细",
  3409. "name": "querytype",
  3410. "in": "query",
  3411. "required": true
  3412. },
  3413. {
  3414. "type": "integer",
  3415. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3416. "name": "cycletype",
  3417. "in": "query",
  3418. "required": true
  3419. },
  3420. {
  3421. "type": "string",
  3422. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3423. "name": "cycletime",
  3424. "in": "query",
  3425. "required": true
  3426. },
  3427. {
  3428. "type": "string",
  3429. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3430. "name": "sumfields",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品种ID",
  3436. "name": "deliverygoodsid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品类ID",
  3442. "name": "wrstandardid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "品牌ID",
  3448. "name": "spotgoodsbrandid",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "仓库ID",
  3454. "name": "warehouseinfoid",
  3455. "in": "query"
  3456. }
  3457. ],
  3458. "responses": {
  3459. "200": {
  3460. "description": "OK",
  3461. "schema": {
  3462. "type": "array",
  3463. "items": {
  3464. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3465. }
  3466. }
  3467. },
  3468. "500": {
  3469. "description": "Internal Server Error",
  3470. "schema": {
  3471. "$ref": "#/definitions/app.Response"
  3472. }
  3473. }
  3474. }
  3475. }
  3476. },
  3477. "/Ermcp3/QryAreaSumPL": {
  3478. "get": {
  3479. "security": [
  3480. {
  3481. "ApiKeyAuth": []
  3482. }
  3483. ],
  3484. "produces": [
  3485. "application/json"
  3486. ],
  3487. "tags": [
  3488. "企业风险管理v3(app)"
  3489. ],
  3490. "summary": "查询汇总损益表",
  3491. "parameters": [
  3492. {
  3493. "type": "integer",
  3494. "description": "用户ID",
  3495. "name": "userid",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "查询类型 1-报表 2-报表明细",
  3502. "name": "querytype",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "integer",
  3508. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3509. "name": "cycletype",
  3510. "in": "query",
  3511. "required": true
  3512. },
  3513. {
  3514. "type": "string",
  3515. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3516. "name": "cycletime",
  3517. "in": "query",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "integer",
  3522. "description": "币种id(明细必填)",
  3523. "name": "currencyid",
  3524. "in": "query"
  3525. }
  3526. ],
  3527. "responses": {
  3528. "200": {
  3529. "description": "OK",
  3530. "schema": {
  3531. "type": "array",
  3532. "items": {
  3533. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3534. }
  3535. }
  3536. },
  3537. "500": {
  3538. "description": "Internal Server Error",
  3539. "schema": {
  3540. "$ref": "#/definitions/app.Response"
  3541. }
  3542. }
  3543. }
  3544. }
  3545. },
  3546. "/Ermcp3/QryFinanceReport": {
  3547. "get": {
  3548. "security": [
  3549. {
  3550. "ApiKeyAuth": []
  3551. }
  3552. ],
  3553. "produces": [
  3554. "application/json"
  3555. ],
  3556. "tags": [
  3557. "企业风险管理v3(app)"
  3558. ],
  3559. "summary": "查询财务报表",
  3560. "parameters": [
  3561. {
  3562. "type": "integer",
  3563. "description": "用户ID",
  3564. "name": "userid",
  3565. "in": "query",
  3566. "required": true
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "查询类型 1-报表 2-报表明细",
  3571. "name": "querytype",
  3572. "in": "query",
  3573. "required": true
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3578. "name": "cycletype",
  3579. "in": "query",
  3580. "required": true
  3581. },
  3582. {
  3583. "type": "string",
  3584. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3585. "name": "cycletime",
  3586. "in": "query",
  3587. "required": true
  3588. },
  3589. {
  3590. "type": "integer",
  3591. "description": "币种id(报表明细必填)",
  3592. "name": "currencyid",
  3593. "in": "query"
  3594. },
  3595. {
  3596. "type": "string",
  3597. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3598. "name": "sumfields",
  3599. "in": "query"
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "type": "array",
  3607. "items": {
  3608. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3609. }
  3610. }
  3611. },
  3612. "500": {
  3613. "description": "Internal Server Error",
  3614. "schema": {
  3615. "$ref": "#/definitions/app.Response"
  3616. }
  3617. }
  3618. }
  3619. }
  3620. },
  3621. "/Ermcp3/QryTaFutureDataReport": {
  3622. "get": {
  3623. "security": [
  3624. {
  3625. "ApiKeyAuth": []
  3626. }
  3627. ],
  3628. "produces": [
  3629. "application/json"
  3630. ],
  3631. "tags": [
  3632. "企业风险管理v3(app)"
  3633. ],
  3634. "summary": "查询期货报表",
  3635. "parameters": [
  3636. {
  3637. "type": "integer",
  3638. "description": "用户ID",
  3639. "name": "userid",
  3640. "in": "query",
  3641. "required": true
  3642. },
  3643. {
  3644. "type": "integer",
  3645. "description": "查询类型 1-报表 2-报表明细",
  3646. "name": "querytype",
  3647. "in": "query",
  3648. "required": true
  3649. },
  3650. {
  3651. "type": "integer",
  3652. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3653. "name": "cycletype",
  3654. "in": "query",
  3655. "required": true
  3656. },
  3657. {
  3658. "type": "string",
  3659. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3660. "name": "cycletime",
  3661. "in": "query",
  3662. "required": true
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "币种id(查明细必填)",
  3667. "name": "currencyid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "品种id(查明细必填)",
  3673. "name": "goodsgroupid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "商品id(查明细必填)",
  3679. "name": "goodsid",
  3680. "in": "query"
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "买卖方向(查明细必填)",
  3685. "name": "buyorsell",
  3686. "in": "query"
  3687. }
  3688. ],
  3689. "responses": {
  3690. "200": {
  3691. "description": "OK",
  3692. "schema": {
  3693. "type": "array",
  3694. "items": {
  3695. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3696. }
  3697. }
  3698. },
  3699. "500": {
  3700. "description": "Internal Server Error",
  3701. "schema": {
  3702. "$ref": "#/definitions/app.Response"
  3703. }
  3704. }
  3705. }
  3706. }
  3707. },
  3708. "/Ermcp3/QueryAreaStock": {
  3709. "get": {
  3710. "security": [
  3711. {
  3712. "ApiKeyAuth": []
  3713. }
  3714. ],
  3715. "produces": [
  3716. "application/json"
  3717. ],
  3718. "tags": [
  3719. "企业风险管理v3(app)"
  3720. ],
  3721. "summary": "查询机构库存(库存管理/当前库存)",
  3722. "parameters": [
  3723. {
  3724. "type": "integer",
  3725. "description": "用户ID",
  3726. "name": "userid",
  3727. "in": "query",
  3728. "required": true
  3729. }
  3730. ],
  3731. "responses": {
  3732. "200": {
  3733. "description": "OK",
  3734. "schema": {
  3735. "type": "array",
  3736. "items": {
  3737. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3738. }
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/app.Response"
  3745. }
  3746. }
  3747. }
  3748. }
  3749. },
  3750. "/Ermcp3/QueryAreaStockApply": {
  3751. "get": {
  3752. "security": [
  3753. {
  3754. "ApiKeyAuth": []
  3755. }
  3756. ],
  3757. "produces": [
  3758. "application/json"
  3759. ],
  3760. "tags": [
  3761. "企业风险管理v3(app)"
  3762. ],
  3763. "summary": "查询库存申请(出入库记录|库存审核)",
  3764. "parameters": [
  3765. {
  3766. "type": "integer",
  3767. "description": "用户ID",
  3768. "name": "userid",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "用户类型 2-机构 7-企业成员",
  3775. "name": "usertype",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "现货商品ID",
  3781. "name": "deliverygoodsid",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "string",
  3786. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3787. "name": "inouttype",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "合同ID",
  3793. "name": "spotcontractid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品类ID",
  3799. "name": "wrstandardid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "品牌ID",
  3805. "name": "spotgoodsbrandid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "integer",
  3810. "description": "仓库ID",
  3811. "name": "warehouseinfoid",
  3812. "in": "query"
  3813. },
  3814. {
  3815. "type": "string",
  3816. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3817. "name": "applystatus",
  3818. "in": "query"
  3819. }
  3820. ],
  3821. "responses": {
  3822. "200": {
  3823. "description": "OK",
  3824. "schema": {
  3825. "type": "array",
  3826. "items": {
  3827. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3828. }
  3829. }
  3830. },
  3831. "500": {
  3832. "description": "Internal Server Error",
  3833. "schema": {
  3834. "$ref": "#/definitions/app.Response"
  3835. }
  3836. }
  3837. }
  3838. }
  3839. },
  3840. "/Ermcp3/QueryAreaStockApplySum": {
  3841. "get": {
  3842. "security": [
  3843. {
  3844. "ApiKeyAuth": []
  3845. }
  3846. ],
  3847. "produces": [
  3848. "application/json"
  3849. ],
  3850. "tags": [
  3851. "企业风险管理v3(app)"
  3852. ],
  3853. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3854. "parameters": [
  3855. {
  3856. "type": "integer",
  3857. "description": "合同ID",
  3858. "name": "spotcontractid",
  3859. "in": "query",
  3860. "required": true
  3861. }
  3862. ],
  3863. "responses": {
  3864. "200": {
  3865. "description": "OK",
  3866. "schema": {
  3867. "type": "array",
  3868. "items": {
  3869. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3870. }
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/Ermcp3/QueryDGFactoryItem": {
  3883. "get": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "produces": [
  3890. "application/json"
  3891. ],
  3892. "tags": [
  3893. "企业风险管理v3(app)"
  3894. ],
  3895. "summary": "查询品种要素定义项",
  3896. "parameters": [
  3897. {
  3898. "type": "integer",
  3899. "description": "用户id",
  3900. "name": "userid",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "用户类型 2-机构 7-企业成员",
  3906. "name": "usertype",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3912. "name": "dgfactoryitemid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "现货品种ID",
  3918. "name": "deliverygoodsid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "要素项类型",
  3924. "name": "dgfactoryitemtypeid",
  3925. "in": "query"
  3926. },
  3927. {
  3928. "type": "integer",
  3929. "description": "顺序",
  3930. "name": "orderindex",
  3931. "in": "query"
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "type": "array",
  3939. "items": {
  3940. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3941. }
  3942. }
  3943. },
  3944. "500": {
  3945. "description": "Internal Server Error",
  3946. "schema": {
  3947. "$ref": "#/definitions/app.Response"
  3948. }
  3949. }
  3950. }
  3951. }
  3952. },
  3953. "/Ermcp3/QueryDeliveryGoods": {
  3954. "get": {
  3955. "security": [
  3956. {
  3957. "ApiKeyAuth": []
  3958. }
  3959. ],
  3960. "produces": [
  3961. "application/json"
  3962. ],
  3963. "tags": [
  3964. "企业风险管理v3(app)"
  3965. ],
  3966. "summary": "查询现货商品",
  3967. "parameters": [
  3968. {
  3969. "type": "integer",
  3970. "description": "用户id",
  3971. "name": "userid",
  3972. "in": "query",
  3973. "required": true
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "用户类型 2-机构 7-企业成员",
  3978. "name": "usertype",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "integer",
  3983. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3984. "name": "excludecfg",
  3985. "in": "query"
  3986. }
  3987. ],
  3988. "responses": {
  3989. "200": {
  3990. "description": "OK",
  3991. "schema": {
  3992. "type": "array",
  3993. "items": {
  3994. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3995. }
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "企业风险管理v3(app)"
  4019. ],
  4020. "summary": "查询现货商品详情",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "用户id",
  4025. "name": "userid",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "用户类型 2-机构 7-企业成员",
  4032. "name": "usertype",
  4033. "in": "query"
  4034. },
  4035. {
  4036. "type": "integer",
  4037. "description": "现货商品id",
  4038. "name": "deliverygoodsid",
  4039. "in": "query"
  4040. }
  4041. ],
  4042. "responses": {
  4043. "200": {
  4044. "description": "OK",
  4045. "schema": {
  4046. "type": "array",
  4047. "items": {
  4048. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4049. }
  4050. }
  4051. },
  4052. "500": {
  4053. "description": "Internal Server Error",
  4054. "schema": {
  4055. "$ref": "#/definitions/app.Response"
  4056. }
  4057. }
  4058. }
  4059. }
  4060. },
  4061. "/Ermcp3/QueryExposureDetail": {
  4062. "get": {
  4063. "security": [
  4064. {
  4065. "ApiKeyAuth": []
  4066. }
  4067. ],
  4068. "produces": [
  4069. "application/json"
  4070. ],
  4071. "tags": [
  4072. "企业风险管理v3(app)"
  4073. ],
  4074. "summary": "查询敞口现货明细",
  4075. "parameters": [
  4076. {
  4077. "type": "integer",
  4078. "description": "用户id",
  4079. "name": "userid",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "integer",
  4085. "description": "用户类型 2-机构 7-企业成员",
  4086. "name": "usertype",
  4087. "in": "query"
  4088. },
  4089. {
  4090. "type": "integer",
  4091. "description": "套保商品",
  4092. "name": "middlegoodsid",
  4093. "in": "query",
  4094. "required": true
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "OK",
  4100. "schema": {
  4101. "type": "array",
  4102. "items": {
  4103. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4104. }
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/Ermcp3/QueryExposureSpot": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "企业风险管理v3(app)"
  4128. ],
  4129. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4130. "parameters": [
  4131. {
  4132. "type": "integer",
  4133. "description": "用户id",
  4134. "name": "userid",
  4135. "in": "query",
  4136. "required": true
  4137. },
  4138. {
  4139. "type": "integer",
  4140. "description": "用户类型 2-机构 7-企业成员",
  4141. "name": "usertype",
  4142. "in": "query"
  4143. }
  4144. ],
  4145. "responses": {
  4146. "200": {
  4147. "description": "OK",
  4148. "schema": {
  4149. "type": "array",
  4150. "items": {
  4151. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4152. }
  4153. }
  4154. },
  4155. "500": {
  4156. "description": "Internal Server Error",
  4157. "schema": {
  4158. "$ref": "#/definitions/app.Response"
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "/Ermcp3/QueryExposureSpotDetail": {
  4165. "get": {
  4166. "security": [
  4167. {
  4168. "ApiKeyAuth": []
  4169. }
  4170. ],
  4171. "produces": [
  4172. "application/json"
  4173. ],
  4174. "tags": [
  4175. "企业风险管理v3(app)"
  4176. ],
  4177. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4178. "parameters": [
  4179. {
  4180. "type": "integer",
  4181. "description": "用户id",
  4182. "name": "userid",
  4183. "in": "query",
  4184. "required": true
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "用户类型 2-机构 7-企业成员",
  4189. "name": "usertype",
  4190. "in": "query"
  4191. },
  4192. {
  4193. "type": "integer",
  4194. "description": "现货品种ID",
  4195. "name": "deliverygoodsid",
  4196. "in": "query",
  4197. "required": true
  4198. }
  4199. ],
  4200. "responses": {
  4201. "200": {
  4202. "description": "OK",
  4203. "schema": {
  4204. "type": "array",
  4205. "items": {
  4206. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4207. }
  4208. }
  4209. },
  4210. "500": {
  4211. "description": "Internal Server Error",
  4212. "schema": {
  4213. "$ref": "#/definitions/app.Response"
  4214. }
  4215. }
  4216. }
  4217. }
  4218. },
  4219. "/Ermcp3/QueryGoodsGroup": {
  4220. "get": {
  4221. "security": [
  4222. {
  4223. "ApiKeyAuth": []
  4224. }
  4225. ],
  4226. "produces": [
  4227. "application/json"
  4228. ],
  4229. "tags": [
  4230. "企业风险管理v3(app)"
  4231. ],
  4232. "summary": "查询期货商品组",
  4233. "parameters": [
  4234. {
  4235. "type": "integer",
  4236. "description": "用户id",
  4237. "name": "userid",
  4238. "in": "query",
  4239. "required": true
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "用户类型 2-机构 7-企业成员",
  4244. "name": "usertype",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "排除套保品中已关联的商品组 1-排除",
  4250. "name": "excludecfg",
  4251. "in": "query"
  4252. }
  4253. ],
  4254. "responses": {
  4255. "200": {
  4256. "description": "OK",
  4257. "schema": {
  4258. "type": "array",
  4259. "items": {
  4260. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4261. }
  4262. }
  4263. },
  4264. "500": {
  4265. "description": "Internal Server Error",
  4266. "schema": {
  4267. "$ref": "#/definitions/app.Response"
  4268. }
  4269. }
  4270. }
  4271. }
  4272. },
  4273. "/Ermcp3/QueryGoodsWrstandard": {
  4274. "get": {
  4275. "security": [
  4276. {
  4277. "ApiKeyAuth": []
  4278. }
  4279. ],
  4280. "produces": [
  4281. "application/json"
  4282. ],
  4283. "tags": [
  4284. "企业风险管理v3(app)"
  4285. ],
  4286. "summary": "查询商品品类",
  4287. "parameters": [
  4288. {
  4289. "type": "integer",
  4290. "description": "用户id",
  4291. "name": "userid",
  4292. "in": "query",
  4293. "required": true
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "用户类型 2-机构 7-企业成员",
  4298. "name": "usertype",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "现货商品id",
  4304. "name": "deliverygoodsid",
  4305. "in": "query"
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "type": "array",
  4313. "items": {
  4314. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4315. }
  4316. }
  4317. },
  4318. "500": {
  4319. "description": "Internal Server Error",
  4320. "schema": {
  4321. "$ref": "#/definitions/app.Response"
  4322. }
  4323. }
  4324. }
  4325. }
  4326. },
  4327. "/Ermcp3/QueryGoodsbrand": {
  4328. "get": {
  4329. "security": [
  4330. {
  4331. "ApiKeyAuth": []
  4332. }
  4333. ],
  4334. "produces": [
  4335. "application/json"
  4336. ],
  4337. "tags": [
  4338. "企业风险管理v3(app)"
  4339. ],
  4340. "summary": "查询商品品牌",
  4341. "parameters": [
  4342. {
  4343. "type": "integer",
  4344. "description": "用户id",
  4345. "name": "userid",
  4346. "in": "query",
  4347. "required": true
  4348. },
  4349. {
  4350. "type": "integer",
  4351. "description": "用户类型 2-机构 7-企业成员",
  4352. "name": "usertype",
  4353. "in": "query"
  4354. }
  4355. ],
  4356. "responses": {
  4357. "200": {
  4358. "description": "OK",
  4359. "schema": {
  4360. "type": "array",
  4361. "items": {
  4362. "$ref": "#/definitions/models.Ermcp3Brand"
  4363. }
  4364. }
  4365. },
  4366. "500": {
  4367. "description": "Internal Server Error",
  4368. "schema": {
  4369. "$ref": "#/definitions/app.Response"
  4370. }
  4371. }
  4372. }
  4373. }
  4374. },
  4375. "/Ermcp3/QueryHedgePlan": {
  4376. "get": {
  4377. "security": [
  4378. {
  4379. "ApiKeyAuth": []
  4380. }
  4381. ],
  4382. "produces": [
  4383. "application/json"
  4384. ],
  4385. "tags": [
  4386. "企业风险管理v3(app)"
  4387. ],
  4388. "summary": "查询套保计划",
  4389. "parameters": [
  4390. {
  4391. "type": "integer",
  4392. "description": "用户ID",
  4393. "name": "userid",
  4394. "in": "query",
  4395. "required": true
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "用户类型 2-机构 7-企业成员",
  4400. "name": "usertype",
  4401. "in": "query"
  4402. },
  4403. {
  4404. "type": "string",
  4405. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4406. "name": "hedgeplanstatus",
  4407. "in": "query",
  4408. "required": true
  4409. }
  4410. ],
  4411. "responses": {
  4412. "200": {
  4413. "description": "OK",
  4414. "schema": {
  4415. "type": "array",
  4416. "items": {
  4417. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4418. }
  4419. }
  4420. },
  4421. "500": {
  4422. "description": "Internal Server Error",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. }
  4427. }
  4428. }
  4429. },
  4430. "/Ermcp3/QueryMiddleGoodsDetail": {
  4431. "get": {
  4432. "security": [
  4433. {
  4434. "ApiKeyAuth": []
  4435. }
  4436. ],
  4437. "produces": [
  4438. "application/json"
  4439. ],
  4440. "tags": [
  4441. "企业风险管理v3(app)"
  4442. ],
  4443. "summary": "查询套保品种详情(套保品种/商品详情)",
  4444. "parameters": [
  4445. {
  4446. "type": "integer",
  4447. "description": "用户id",
  4448. "name": "userid",
  4449. "in": "query",
  4450. "required": true
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "用户类型 2-机构 7-企业成员",
  4455. "name": "usertype",
  4456. "in": "query"
  4457. },
  4458. {
  4459. "type": "integer",
  4460. "description": "套保品种id",
  4461. "name": "middlegoodsid",
  4462. "in": "query"
  4463. }
  4464. ],
  4465. "responses": {
  4466. "200": {
  4467. "description": "OK",
  4468. "schema": {
  4469. "type": "array",
  4470. "items": {
  4471. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4472. }
  4473. }
  4474. },
  4475. "500": {
  4476. "description": "Internal Server Error",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. }
  4481. }
  4482. }
  4483. },
  4484. "/Ermcp3/QueryRootUserAccount": {
  4485. "get": {
  4486. "security": [
  4487. {
  4488. "ApiKeyAuth": []
  4489. }
  4490. ],
  4491. "produces": [
  4492. "application/json"
  4493. ],
  4494. "tags": [
  4495. "企业风险管理v3(app)"
  4496. ],
  4497. "summary": "查询顶级用户信息",
  4498. "parameters": [
  4499. {
  4500. "type": "integer",
  4501. "description": "用户ID",
  4502. "name": "userid",
  4503. "in": "query",
  4504. "required": true
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QuerySpotContract": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询现货合同",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "用户类型 2-机构 7-企业成员",
  4551. "name": "usertype",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4557. "name": "querytype",
  4558. "in": "query",
  4559. "required": true
  4560. },
  4561. {
  4562. "type": "string",
  4563. "description": "合同ID(SpotContractId)",
  4564. "name": "contractid",
  4565. "in": "query"
  4566. }
  4567. ],
  4568. "responses": {
  4569. "200": {
  4570. "description": "OK",
  4571. "schema": {
  4572. "type": "array",
  4573. "items": {
  4574. "$ref": "#/definitions/models.Ermcp3Contract"
  4575. }
  4576. }
  4577. },
  4578. "500": {
  4579. "description": "Internal Server Error",
  4580. "schema": {
  4581. "$ref": "#/definitions/app.Response"
  4582. }
  4583. }
  4584. }
  4585. }
  4586. },
  4587. "/Ermcp3/QuerySpotContractBS": {
  4588. "get": {
  4589. "security": [
  4590. {
  4591. "ApiKeyAuth": []
  4592. }
  4593. ],
  4594. "produces": [
  4595. "application/json"
  4596. ],
  4597. "tags": [
  4598. "企业风险管理v3(app)"
  4599. ],
  4600. "summary": "查询合同(采购/销售)",
  4601. "parameters": [
  4602. {
  4603. "type": "integer",
  4604. "description": "用户id",
  4605. "name": "userid",
  4606. "in": "query",
  4607. "required": true
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "用户类型 2-机构 7-企业成员",
  4612. "name": "usertype",
  4613. "in": "query"
  4614. },
  4615. {
  4616. "type": "integer",
  4617. "description": "合同类型 1-采购, -1-销售",
  4618. "name": "contracttype",
  4619. "in": "query",
  4620. "required": true
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4625. "name": "querytype",
  4626. "in": "query",
  4627. "required": true
  4628. },
  4629. {
  4630. "type": "string",
  4631. "description": "合同ID(SpotContractId)",
  4632. "name": "contractid",
  4633. "in": "query"
  4634. }
  4635. ],
  4636. "responses": {
  4637. "200": {
  4638. "description": "OK",
  4639. "schema": {
  4640. "type": "array",
  4641. "items": {
  4642. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4643. }
  4644. }
  4645. },
  4646. "500": {
  4647. "description": "Internal Server Error",
  4648. "schema": {
  4649. "$ref": "#/definitions/app.Response"
  4650. }
  4651. }
  4652. }
  4653. }
  4654. },
  4655. "/Ermcp3/QuerySpotGoodsPrice": {
  4656. "get": {
  4657. "security": [
  4658. {
  4659. "ApiKeyAuth": []
  4660. }
  4661. ],
  4662. "produces": [
  4663. "application/json"
  4664. ],
  4665. "tags": [
  4666. "企业风险管理v3(app)"
  4667. ],
  4668. "summary": "查询现货市价(现货市价)",
  4669. "parameters": [
  4670. {
  4671. "type": "integer",
  4672. "description": "用户ID",
  4673. "name": "userid",
  4674. "in": "query",
  4675. "required": true
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "type": "array",
  4683. "items": {
  4684. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4685. }
  4686. }
  4687. },
  4688. "500": {
  4689. "description": "Internal Server Error",
  4690. "schema": {
  4691. "$ref": "#/definitions/app.Response"
  4692. }
  4693. }
  4694. }
  4695. }
  4696. },
  4697. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4698. "get": {
  4699. "security": [
  4700. {
  4701. "ApiKeyAuth": []
  4702. }
  4703. ],
  4704. "produces": [
  4705. "application/json"
  4706. ],
  4707. "tags": [
  4708. "企业风险管理v3(app)"
  4709. ],
  4710. "summary": "查询现货市价详情(现货市价/详情)",
  4711. "parameters": [
  4712. {
  4713. "type": "integer",
  4714. "description": "用户ID",
  4715. "name": "userid",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "integer",
  4721. "description": "现货商品ID",
  4722. "name": "deliverygoodsid",
  4723. "in": "query",
  4724. "required": true
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "品牌ID",
  4729. "name": "brandid",
  4730. "in": "query"
  4731. },
  4732. {
  4733. "type": "integer",
  4734. "description": "品类ID",
  4735. "name": "wrstandardid",
  4736. "in": "query"
  4737. }
  4738. ],
  4739. "responses": {
  4740. "200": {
  4741. "description": "OK",
  4742. "schema": {
  4743. "type": "array",
  4744. "items": {
  4745. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4746. }
  4747. }
  4748. },
  4749. "500": {
  4750. "description": "Internal Server Error",
  4751. "schema": {
  4752. "$ref": "#/definitions/app.Response"
  4753. }
  4754. }
  4755. }
  4756. }
  4757. },
  4758. "/Erms2/QueryArbitrageStrategy": {
  4759. "get": {
  4760. "security": [
  4761. {
  4762. "ApiKeyAuth": []
  4763. }
  4764. ],
  4765. "produces": [
  4766. "application/json"
  4767. ],
  4768. "tags": [
  4769. "风险管理"
  4770. ],
  4771. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4772. "parameters": [
  4773. {
  4774. "type": "integer",
  4775. "description": "账户ID",
  4776. "name": "userid",
  4777. "in": "query",
  4778. "required": true
  4779. },
  4780. {
  4781. "type": "string",
  4782. "description": "商品组ID(品种ID)",
  4783. "name": "goodsgroupid",
  4784. "in": "query"
  4785. }
  4786. ],
  4787. "responses": {
  4788. "200": {
  4789. "description": "OK",
  4790. "schema": {
  4791. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4792. }
  4793. },
  4794. "500": {
  4795. "description": "Internal Server Error",
  4796. "schema": {
  4797. "$ref": "#/definitions/app.Response"
  4798. }
  4799. }
  4800. }
  4801. }
  4802. },
  4803. "/Erms2/QueryInnerTradeDetail": {
  4804. "get": {
  4805. "security": [
  4806. {
  4807. "ApiKeyAuth": []
  4808. }
  4809. ],
  4810. "produces": [
  4811. "application/json"
  4812. ],
  4813. "tags": [
  4814. "风险管理"
  4815. ],
  4816. "summary": "查询内部成交单信息",
  4817. "parameters": [
  4818. {
  4819. "type": "integer",
  4820. "description": "资金账户",
  4821. "name": "accountid",
  4822. "in": "query",
  4823. "required": true
  4824. }
  4825. ],
  4826. "responses": {
  4827. "200": {
  4828. "description": "OK",
  4829. "schema": {
  4830. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4831. }
  4832. },
  4833. "500": {
  4834. "description": "Internal Server Error",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. }
  4839. }
  4840. }
  4841. },
  4842. "/Erms2/QuerySpotContract": {
  4843. "get": {
  4844. "security": [
  4845. {
  4846. "ApiKeyAuth": []
  4847. }
  4848. ],
  4849. "produces": [
  4850. "application/json"
  4851. ],
  4852. "tags": [
  4853. "风险管理"
  4854. ],
  4855. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4856. "parameters": [
  4857. {
  4858. "type": "integer",
  4859. "description": "策略申请ID",
  4860. "name": "asapplyid",
  4861. "in": "query",
  4862. "required": true
  4863. },
  4864. {
  4865. "type": "integer",
  4866. "description": "现货合同ID",
  4867. "name": "spotcontractid",
  4868. "in": "query"
  4869. }
  4870. ],
  4871. "responses": {
  4872. "200": {
  4873. "description": "OK",
  4874. "schema": {
  4875. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4876. }
  4877. },
  4878. "500": {
  4879. "description": "Internal Server Error",
  4880. "schema": {
  4881. "$ref": "#/definitions/app.Response"
  4882. }
  4883. }
  4884. }
  4885. }
  4886. },
  4887. "/Erms3/AddErms2ASApply": {
  4888. "post": {
  4889. "security": [
  4890. {
  4891. "ApiKeyAuth": []
  4892. }
  4893. ],
  4894. "produces": [
  4895. "application/json"
  4896. ],
  4897. "tags": [
  4898. "风险管理v3"
  4899. ],
  4900. "summary": "新增期现套利业务申请",
  4901. "parameters": [
  4902. {
  4903. "description": "申请参数",
  4904. "name": "jsonBody",
  4905. "in": "body",
  4906. "required": true,
  4907. "schema": {
  4908. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4909. }
  4910. }
  4911. ],
  4912. "responses": {
  4913. "200": {
  4914. "description": "OK",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. },
  4919. "500": {
  4920. "description": "Internal Server Error",
  4921. "schema": {
  4922. "$ref": "#/definitions/app.Response"
  4923. }
  4924. }
  4925. }
  4926. }
  4927. },
  4928. "/Erms3/AddErms2SpotTradeApply": {
  4929. "post": {
  4930. "security": [
  4931. {
  4932. "ApiKeyAuth": []
  4933. }
  4934. ],
  4935. "produces": [
  4936. "application/json"
  4937. ],
  4938. "tags": [
  4939. "风险管理v3"
  4940. ],
  4941. "summary": "新增现货贸易业务申请",
  4942. "parameters": [
  4943. {
  4944. "description": "申请参数",
  4945. "name": "jsonBody",
  4946. "in": "body",
  4947. "required": true,
  4948. "schema": {
  4949. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4950. }
  4951. }
  4952. ],
  4953. "responses": {
  4954. "200": {
  4955. "description": "OK",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. },
  4960. "500": {
  4961. "description": "Internal Server Error",
  4962. "schema": {
  4963. "$ref": "#/definitions/app.Response"
  4964. }
  4965. }
  4966. }
  4967. }
  4968. },
  4969. "/Erms3/AddSpotContractApply": {
  4970. "post": {
  4971. "security": [
  4972. {
  4973. "ApiKeyAuth": []
  4974. }
  4975. ],
  4976. "produces": [
  4977. "application/json"
  4978. ],
  4979. "tags": [
  4980. "风险管理v3"
  4981. ],
  4982. "summary": "新增现货合同申请",
  4983. "parameters": [
  4984. {
  4985. "description": "申请参数",
  4986. "name": "jsonBody",
  4987. "in": "body",
  4988. "required": true,
  4989. "schema": {
  4990. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4991. }
  4992. }
  4993. ],
  4994. "responses": {
  4995. "200": {
  4996. "description": "OK",
  4997. "schema": {
  4998. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4999. }
  5000. },
  5001. "500": {
  5002. "description": "Internal Server Error",
  5003. "schema": {
  5004. "$ref": "#/definitions/app.Response"
  5005. }
  5006. }
  5007. }
  5008. }
  5009. },
  5010. "/Erms3/AddUserInfoApply": {
  5011. "post": {
  5012. "security": [
  5013. {
  5014. "ApiKeyAuth": []
  5015. }
  5016. ],
  5017. "produces": [
  5018. "application/json"
  5019. ],
  5020. "tags": [
  5021. "风险管理v3"
  5022. ],
  5023. "summary": "新增客户申请",
  5024. "parameters": [
  5025. {
  5026. "description": "用户信息",
  5027. "name": "jsonBody",
  5028. "in": "body",
  5029. "required": true,
  5030. "schema": {
  5031. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5032. }
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. },
  5042. "500": {
  5043. "description": "Internal Server Error",
  5044. "schema": {
  5045. "$ref": "#/definitions/app.Response"
  5046. }
  5047. }
  5048. }
  5049. }
  5050. },
  5051. "/Erms3/DeleteUserInfoApply": {
  5052. "get": {
  5053. "security": [
  5054. {
  5055. "ApiKeyAuth": []
  5056. }
  5057. ],
  5058. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "风险管理v3"
  5064. ],
  5065. "summary": "删除客户申请",
  5066. "parameters": [
  5067. {
  5068. "type": "integer",
  5069. "description": "用户ID",
  5070. "name": "userID",
  5071. "in": "query",
  5072. "required": true
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/Erms3/ModifyUserInfoApply": {
  5092. "post": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5099. "produces": [
  5100. "application/json"
  5101. ],
  5102. "tags": [
  5103. "风险管理v3"
  5104. ],
  5105. "summary": "修改客户申请",
  5106. "parameters": [
  5107. {
  5108. "description": "用户信息",
  5109. "name": "jsonBody",
  5110. "in": "body",
  5111. "required": true,
  5112. "schema": {
  5113. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5114. }
  5115. }
  5116. ],
  5117. "responses": {
  5118. "200": {
  5119. "description": "OK",
  5120. "schema": {
  5121. "$ref": "#/definitions/app.Response"
  5122. }
  5123. },
  5124. "500": {
  5125. "description": "Internal Server Error",
  5126. "schema": {
  5127. "$ref": "#/definitions/app.Response"
  5128. }
  5129. }
  5130. }
  5131. }
  5132. },
  5133. "/Erms3/QueryBusinessInfo": {
  5134. "get": {
  5135. "security": [
  5136. {
  5137. "ApiKeyAuth": []
  5138. }
  5139. ],
  5140. "produces": [
  5141. "application/json"
  5142. ],
  5143. "tags": [
  5144. "风险管理v3"
  5145. ],
  5146. "summary": "查询业务表单数据",
  5147. "parameters": [
  5148. {
  5149. "type": "string",
  5150. "description": "资金账号ID列表,用逗号分隔",
  5151. "name": "accountids",
  5152. "in": "query",
  5153. "required": true
  5154. },
  5155. {
  5156. "type": "integer",
  5157. "description": "状态,0为未结束 1为已结束",
  5158. "name": "status",
  5159. "in": "query",
  5160. "required": true
  5161. }
  5162. ],
  5163. "responses": {
  5164. "200": {
  5165. "description": "OK",
  5166. "schema": {
  5167. "type": "array",
  5168. "items": {
  5169. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5170. }
  5171. }
  5172. },
  5173. "500": {
  5174. "description": "Internal Server Error",
  5175. "schema": {
  5176. "$ref": "#/definitions/app.Response"
  5177. }
  5178. }
  5179. }
  5180. }
  5181. },
  5182. "/Erms3/QueryPendingAuditContract": {
  5183. "get": {
  5184. "security": [
  5185. {
  5186. "ApiKeyAuth": []
  5187. }
  5188. ],
  5189. "produces": [
  5190. "application/json"
  5191. ],
  5192. "tags": [
  5193. "风险管理v3"
  5194. ],
  5195. "summary": "查询待审核合同",
  5196. "parameters": [
  5197. {
  5198. "type": "string",
  5199. "description": "资金账号ID列表,逗号隔开",
  5200. "name": "accountids",
  5201. "in": "query",
  5202. "required": true
  5203. },
  5204. {
  5205. "type": "integer",
  5206. "description": "合同类型 1-采购 -1-销售",
  5207. "name": "contracttype",
  5208. "in": "query",
  5209. "required": true
  5210. },
  5211. {
  5212. "type": "integer",
  5213. "description": "合同模式 1-普通 2-回购",
  5214. "name": "contractmode",
  5215. "in": "query",
  5216. "required": true
  5217. }
  5218. ],
  5219. "responses": {
  5220. "200": {
  5221. "description": "OK",
  5222. "schema": {
  5223. "type": "array",
  5224. "items": {
  5225. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5226. }
  5227. }
  5228. },
  5229. "500": {
  5230. "description": "Internal Server Error",
  5231. "schema": {
  5232. "$ref": "#/definitions/app.Response"
  5233. }
  5234. }
  5235. }
  5236. }
  5237. },
  5238. "/Erms3/QueryPendingBusiness": {
  5239. "get": {
  5240. "security": [
  5241. {
  5242. "ApiKeyAuth": []
  5243. }
  5244. ],
  5245. "produces": [
  5246. "application/json"
  5247. ],
  5248. "tags": [
  5249. "风险管理v3"
  5250. ],
  5251. "summary": "查询待审核基差贸易业务",
  5252. "parameters": [
  5253. {
  5254. "type": "string",
  5255. "description": "资金账号ID列表,逗号隔开",
  5256. "name": "accountids",
  5257. "in": "query",
  5258. "required": true
  5259. }
  5260. ],
  5261. "responses": {
  5262. "200": {
  5263. "description": "OK",
  5264. "schema": {
  5265. "type": "array",
  5266. "items": {
  5267. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5268. }
  5269. }
  5270. },
  5271. "500": {
  5272. "description": "Internal Server Error",
  5273. "schema": {
  5274. "$ref": "#/definitions/app.Response"
  5275. }
  5276. }
  5277. }
  5278. }
  5279. },
  5280. "/Erms3/QuerySpotContractAppleForm": {
  5281. "get": {
  5282. "security": [
  5283. {
  5284. "ApiKeyAuth": []
  5285. }
  5286. ],
  5287. "produces": [
  5288. "application/json"
  5289. ],
  5290. "tags": [
  5291. "风险管理v3"
  5292. ],
  5293. "summary": "查询合同申请表单数据",
  5294. "parameters": [
  5295. {
  5296. "type": "integer",
  5297. "description": "登录账号",
  5298. "name": "loginID",
  5299. "in": "query",
  5300. "required": true
  5301. }
  5302. ],
  5303. "responses": {
  5304. "200": {
  5305. "description": "OK",
  5306. "schema": {
  5307. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5308. }
  5309. },
  5310. "500": {
  5311. "description": "Internal Server Error",
  5312. "schema": {
  5313. "$ref": "#/definitions/app.Response"
  5314. }
  5315. }
  5316. }
  5317. }
  5318. },
  5319. "/Erms3/QuerySpotContractDetail": {
  5320. "get": {
  5321. "security": [
  5322. {
  5323. "ApiKeyAuth": []
  5324. }
  5325. ],
  5326. "produces": [
  5327. "application/json"
  5328. ],
  5329. "tags": [
  5330. "风险管理v3"
  5331. ],
  5332. "summary": "查询合同详细信息",
  5333. "parameters": [
  5334. {
  5335. "type": "string",
  5336. "description": "资金账号ID列表,用逗号分隔",
  5337. "name": "accountids",
  5338. "in": "query",
  5339. "required": true
  5340. },
  5341. {
  5342. "type": "integer",
  5343. "description": "合同类型,1为采购合同 -1为销售合同",
  5344. "name": "contracttype",
  5345. "in": "query",
  5346. "required": true
  5347. },
  5348. {
  5349. "type": "integer",
  5350. "description": "合同模式,1为普通合同 2为回购销售合同",
  5351. "name": "contractmode",
  5352. "in": "query",
  5353. "required": true
  5354. },
  5355. {
  5356. "type": "integer",
  5357. "description": "状态,0为履约中 1为已完成",
  5358. "name": "status",
  5359. "in": "query",
  5360. "required": true
  5361. }
  5362. ],
  5363. "responses": {
  5364. "200": {
  5365. "description": "OK",
  5366. "schema": {
  5367. "type": "array",
  5368. "items": {
  5369. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5370. }
  5371. }
  5372. },
  5373. "500": {
  5374. "description": "Internal Server Error",
  5375. "schema": {
  5376. "$ref": "#/definitions/app.Response"
  5377. }
  5378. }
  5379. }
  5380. }
  5381. },
  5382. "/Erms3/QueryUserInfoApplies": {
  5383. "get": {
  5384. "security": [
  5385. {
  5386. "ApiKeyAuth": []
  5387. }
  5388. ],
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "风险管理v3"
  5394. ],
  5395. "summary": "客户申请信息查询",
  5396. "parameters": [
  5397. {
  5398. "type": "integer",
  5399. "description": "页码",
  5400. "name": "page",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "integer",
  5405. "description": "每页条数",
  5406. "name": "pagesize",
  5407. "in": "query"
  5408. },
  5409. {
  5410. "type": "string",
  5411. "description": "客户名称,支持模糊查询",
  5412. "name": "userName",
  5413. "in": "query"
  5414. }
  5415. ],
  5416. "responses": {
  5417. "200": {
  5418. "description": "OK",
  5419. "schema": {
  5420. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5421. }
  5422. },
  5423. "500": {
  5424. "description": "Internal Server Error",
  5425. "schema": {
  5426. "$ref": "#/definitions/app.Response"
  5427. }
  5428. }
  5429. }
  5430. }
  5431. },
  5432. "/Erms3/QueryUserInfos": {
  5433. "get": {
  5434. "security": [
  5435. {
  5436. "ApiKeyAuth": []
  5437. }
  5438. ],
  5439. "produces": [
  5440. "application/json"
  5441. ],
  5442. "tags": [
  5443. "风险管理v3"
  5444. ],
  5445. "summary": "客户信息查询",
  5446. "parameters": [
  5447. {
  5448. "type": "integer",
  5449. "description": "页码",
  5450. "name": "page",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "每页条数",
  5456. "name": "pagesize",
  5457. "in": "query"
  5458. },
  5459. {
  5460. "type": "string",
  5461. "description": "客户名称,支持模糊查询",
  5462. "name": "userName",
  5463. "in": "query"
  5464. }
  5465. ],
  5466. "responses": {
  5467. "200": {
  5468. "description": "OK",
  5469. "schema": {
  5470. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5471. }
  5472. },
  5473. "500": {
  5474. "description": "Internal Server Error",
  5475. "schema": {
  5476. "$ref": "#/definitions/app.Response"
  5477. }
  5478. }
  5479. }
  5480. }
  5481. },
  5482. "/HSBY/GetHsbyMyCount": {
  5483. "get": {
  5484. "security": [
  5485. {
  5486. "ApiKeyAuth": []
  5487. }
  5488. ],
  5489. "description": "说明: 不包括已完成的数量。",
  5490. "produces": [
  5491. "application/json"
  5492. ],
  5493. "tags": [
  5494. "定制【海商报业】"
  5495. ],
  5496. "summary": "获取我的订单与包裹数量",
  5497. "parameters": [
  5498. {
  5499. "type": "string",
  5500. "description": "资金账户列表,格式:1,2,3",
  5501. "name": "accountIDs",
  5502. "in": "query",
  5503. "required": true
  5504. }
  5505. ],
  5506. "responses": {
  5507. "200": {
  5508. "description": "OK",
  5509. "schema": {
  5510. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5511. }
  5512. },
  5513. "500": {
  5514. "description": "Internal Server Error",
  5515. "schema": {
  5516. "$ref": "#/definitions/app.Response"
  5517. }
  5518. }
  5519. }
  5520. }
  5521. },
  5522. "/HSBY/QueryClientFixedADConfigs": {
  5523. "get": {
  5524. "security": [
  5525. {
  5526. "ApiKeyAuth": []
  5527. }
  5528. ],
  5529. "produces": [
  5530. "application/json"
  5531. ],
  5532. "tags": [
  5533. "定制【海商报业】"
  5534. ],
  5535. "summary": "获取终端固定广告配置",
  5536. "responses": {
  5537. "200": {
  5538. "description": "OK",
  5539. "schema": {
  5540. "$ref": "#/definitions/models.Clientfixedadconfig"
  5541. }
  5542. },
  5543. "500": {
  5544. "description": "Internal Server Error",
  5545. "schema": {
  5546. "$ref": "#/definitions/app.Response"
  5547. }
  5548. }
  5549. }
  5550. }
  5551. },
  5552. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5553. "get": {
  5554. "security": [
  5555. {
  5556. "ApiKeyAuth": []
  5557. }
  5558. ],
  5559. "produces": [
  5560. "application/json"
  5561. ],
  5562. "tags": [
  5563. "定制【海商报业】"
  5564. ],
  5565. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5566. "parameters": [
  5567. {
  5568. "type": "integer",
  5569. "description": "页码",
  5570. "name": "page",
  5571. "in": "query"
  5572. },
  5573. {
  5574. "type": "integer",
  5575. "description": "每页条数",
  5576. "name": "pagesize",
  5577. "in": "query"
  5578. },
  5579. {
  5580. "type": "string",
  5581. "description": "资金账户列表,格式:1,2,3",
  5582. "name": "accountIDs",
  5583. "in": "query",
  5584. "required": true
  5585. }
  5586. ],
  5587. "responses": {
  5588. "200": {
  5589. "description": "OK",
  5590. "schema": {
  5591. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5592. }
  5593. },
  5594. "500": {
  5595. "description": "Internal Server Error",
  5596. "schema": {
  5597. "$ref": "#/definitions/app.Response"
  5598. }
  5599. }
  5600. }
  5601. }
  5602. },
  5603. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5604. "get": {
  5605. "security": [
  5606. {
  5607. "ApiKeyAuth": []
  5608. }
  5609. ],
  5610. "description": "说明:查询结果已按委托价格和委托时间排序",
  5611. "produces": [
  5612. "application/json"
  5613. ],
  5614. "tags": [
  5615. "定制【海商报业】"
  5616. ],
  5617. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5618. "parameters": [
  5619. {
  5620. "type": "integer",
  5621. "description": "商品ID",
  5622. "name": "goodsID",
  5623. "in": "query",
  5624. "required": true
  5625. },
  5626. {
  5627. "type": "string",
  5628. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5629. "name": "accountIDs",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "integer",
  5634. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5635. "name": "buyOrSell",
  5636. "in": "query"
  5637. },
  5638. {
  5639. "type": "number",
  5640. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5641. "name": "price",
  5642. "in": "query"
  5643. },
  5644. {
  5645. "type": "integer",
  5646. "description": "档位,不传则默认为3档",
  5647. "name": "speed",
  5648. "in": "query"
  5649. }
  5650. ],
  5651. "responses": {
  5652. "200": {
  5653. "description": "OK",
  5654. "schema": {
  5655. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5656. }
  5657. },
  5658. "500": {
  5659. "description": "Internal Server Error",
  5660. "schema": {
  5661. "$ref": "#/definitions/app.Response"
  5662. }
  5663. }
  5664. }
  5665. }
  5666. },
  5667. "/HSBY/QueryHsbyListingGoodsDetail": {
  5668. "get": {
  5669. "security": [
  5670. {
  5671. "ApiKeyAuth": []
  5672. }
  5673. ],
  5674. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "定制【海商报业】"
  5680. ],
  5681. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "商品ID",
  5686. "name": "goodsID",
  5687. "in": "query",
  5688. "required": true
  5689. },
  5690. {
  5691. "type": "integer",
  5692. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5693. "name": "accountID",
  5694. "in": "query"
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5714. "get": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "定制【海商报业】"
  5725. ],
  5726. "summary": "查询三级市场(商城)商品信息详情",
  5727. "parameters": [
  5728. {
  5729. "type": "integer",
  5730. "description": "委托单号",
  5731. "name": "orderID",
  5732. "in": "query",
  5733. "required": true
  5734. },
  5735. {
  5736. "type": "integer",
  5737. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5738. "name": "accountID",
  5739. "in": "query"
  5740. }
  5741. ],
  5742. "responses": {
  5743. "200": {
  5744. "description": "OK",
  5745. "schema": {
  5746. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5747. }
  5748. },
  5749. "500": {
  5750. "description": "Internal Server Error",
  5751. "schema": {
  5752. "$ref": "#/definitions/app.Response"
  5753. }
  5754. }
  5755. }
  5756. }
  5757. },
  5758. "/HSBY/QueryHsbyMarketGoodses": {
  5759. "get": {
  5760. "security": [
  5761. {
  5762. "ApiKeyAuth": []
  5763. }
  5764. ],
  5765. "produces": [
  5766. "application/json"
  5767. ],
  5768. "tags": [
  5769. "定制【海商报业】"
  5770. ],
  5771. "summary": "查询特卖商品列表(三级商城)",
  5772. "parameters": [
  5773. {
  5774. "type": "integer",
  5775. "description": "页码",
  5776. "name": "page",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "integer",
  5781. "description": "每页条数",
  5782. "name": "pagesize",
  5783. "in": "query"
  5784. },
  5785. {
  5786. "type": "string",
  5787. "description": "市场ID列表,格式:1,2,3",
  5788. "name": "marketIDs",
  5789. "in": "query",
  5790. "required": true
  5791. },
  5792. {
  5793. "type": "integer",
  5794. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5795. "name": "accountID",
  5796. "in": "query",
  5797. "required": true
  5798. },
  5799. {
  5800. "type": "integer",
  5801. "description": "类别ID",
  5802. "name": "categoryID",
  5803. "in": "query"
  5804. },
  5805. {
  5806. "type": "string",
  5807. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5808. "name": "goodsIDs",
  5809. "in": "query"
  5810. },
  5811. {
  5812. "type": "integer",
  5813. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5814. "name": "couponTypeID",
  5815. "in": "query"
  5816. }
  5817. ],
  5818. "responses": {
  5819. "200": {
  5820. "description": "OK",
  5821. "schema": {
  5822. "$ref": "#/definitions/models.HsbyMarketGoods"
  5823. }
  5824. },
  5825. "500": {
  5826. "description": "Internal Server Error",
  5827. "schema": {
  5828. "$ref": "#/definitions/app.Response"
  5829. }
  5830. }
  5831. }
  5832. }
  5833. },
  5834. "/HSBY/QueryHsbyMarkets": {
  5835. "get": {
  5836. "security": [
  5837. {
  5838. "ApiKeyAuth": []
  5839. }
  5840. ],
  5841. "produces": [
  5842. "application/json"
  5843. ],
  5844. "tags": [
  5845. "定制【海商报业】"
  5846. ],
  5847. "summary": "查询海商报业相关市场信息",
  5848. "responses": {
  5849. "200": {
  5850. "description": "OK",
  5851. "schema": {
  5852. "$ref": "#/definitions/models.HsbyMarketInfo"
  5853. }
  5854. },
  5855. "500": {
  5856. "description": "Internal Server Error",
  5857. "schema": {
  5858. "$ref": "#/definitions/app.Response"
  5859. }
  5860. }
  5861. }
  5862. }
  5863. },
  5864. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5865. "get": {
  5866. "security": [
  5867. {
  5868. "ApiKeyAuth": []
  5869. }
  5870. ],
  5871. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5872. "produces": [
  5873. "application/json"
  5874. ],
  5875. "tags": [
  5876. "定制【海商报业】"
  5877. ],
  5878. "summary": "查询“我的订单”信息",
  5879. "parameters": [
  5880. {
  5881. "type": "string",
  5882. "description": "资金账户列表,格式:1,2,3",
  5883. "name": "accountIDs",
  5884. "in": "query",
  5885. "required": true
  5886. }
  5887. ],
  5888. "responses": {
  5889. "200": {
  5890. "description": "OK",
  5891. "schema": {
  5892. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5893. }
  5894. },
  5895. "500": {
  5896. "description": "Internal Server Error",
  5897. "schema": {
  5898. "$ref": "#/definitions/app.Response"
  5899. }
  5900. }
  5901. }
  5902. }
  5903. },
  5904. "/HSBY/QueryHsbyMyGoods": {
  5905. "get": {
  5906. "security": [
  5907. {
  5908. "ApiKeyAuth": []
  5909. }
  5910. ],
  5911. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5912. "produces": [
  5913. "application/json"
  5914. ],
  5915. "tags": [
  5916. "定制【海商报业】"
  5917. ],
  5918. "summary": "查询“我的商品”信息",
  5919. "parameters": [
  5920. {
  5921. "type": "string",
  5922. "description": "资金账户列表,格式:1,2,3",
  5923. "name": "accountIDs",
  5924. "in": "query",
  5925. "required": true
  5926. }
  5927. ],
  5928. "responses": {
  5929. "200": {
  5930. "description": "OK",
  5931. "schema": {
  5932. "$ref": "#/definitions/models.HsbyMyGoods"
  5933. }
  5934. },
  5935. "500": {
  5936. "description": "Internal Server Error",
  5937. "schema": {
  5938. "$ref": "#/definitions/app.Response"
  5939. }
  5940. }
  5941. }
  5942. }
  5943. },
  5944. "/HSBY/QueryHsbyMyPackages": {
  5945. "get": {
  5946. "security": [
  5947. {
  5948. "ApiKeyAuth": []
  5949. }
  5950. ],
  5951. "produces": [
  5952. "application/json"
  5953. ],
  5954. "tags": [
  5955. "定制【海商报业】"
  5956. ],
  5957. "summary": "查询我的包裹信息",
  5958. "parameters": [
  5959. {
  5960. "type": "string",
  5961. "description": "资金账户列表,格式:1,2,3",
  5962. "name": "accountIDs",
  5963. "in": "query",
  5964. "required": true
  5965. },
  5966. {
  5967. "type": "integer",
  5968. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5969. "name": "takeOrderStatus",
  5970. "in": "query"
  5971. }
  5972. ],
  5973. "responses": {
  5974. "200": {
  5975. "description": "OK",
  5976. "schema": {
  5977. "$ref": "#/definitions/models.HsbyMyPackage"
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/HSBY/QueryHsbyPreGoodsDetail": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "produces": [
  5997. "application/json"
  5998. ],
  5999. "tags": [
  6000. "定制【海商报业】"
  6001. ],
  6002. "summary": "查询一级市场(预售)商品信息详情",
  6003. "parameters": [
  6004. {
  6005. "type": "integer",
  6006. "description": "商品ID",
  6007. "name": "goodsID",
  6008. "in": "query",
  6009. "required": true
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "资金账户,主要用于获取预售商品购买上限",
  6014. "name": "accountID",
  6015. "in": "query"
  6016. }
  6017. ],
  6018. "responses": {
  6019. "200": {
  6020. "description": "OK",
  6021. "schema": {
  6022. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6023. }
  6024. },
  6025. "500": {
  6026. "description": "Internal Server Error",
  6027. "schema": {
  6028. "$ref": "#/definitions/app.Response"
  6029. }
  6030. }
  6031. }
  6032. }
  6033. },
  6034. "/HSBY/QueryHsbyPreGoodses": {
  6035. "get": {
  6036. "security": [
  6037. {
  6038. "ApiKeyAuth": []
  6039. }
  6040. ],
  6041. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "定制【海商报业】"
  6047. ],
  6048. "summary": "查询新品上市商品列表(一级市场预售)",
  6049. "parameters": [
  6050. {
  6051. "type": "integer",
  6052. "description": "页码",
  6053. "name": "page",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "integer",
  6058. "description": "每页条数",
  6059. "name": "pagesize",
  6060. "in": "query"
  6061. },
  6062. {
  6063. "type": "string",
  6064. "description": "市场ID列表,格式:1,2,3",
  6065. "name": "marketIDs",
  6066. "in": "query",
  6067. "required": true
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "目的地(省)ID",
  6072. "name": "descProvinceID",
  6073. "in": "query"
  6074. },
  6075. {
  6076. "type": "integer",
  6077. "description": "目的地(市)ID",
  6078. "name": "descCityID",
  6079. "in": "query"
  6080. }
  6081. ],
  6082. "responses": {
  6083. "200": {
  6084. "description": "OK",
  6085. "schema": {
  6086. "$ref": "#/definitions/models.HsbyPreGoods"
  6087. }
  6088. },
  6089. "500": {
  6090. "description": "Internal Server Error",
  6091. "schema": {
  6092. "$ref": "#/definitions/app.Response"
  6093. }
  6094. }
  6095. }
  6096. }
  6097. },
  6098. "/HSBY/QueryHsbySellMyDetails": {
  6099. "get": {
  6100. "security": [
  6101. {
  6102. "ApiKeyAuth": []
  6103. }
  6104. ],
  6105. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6106. "produces": [
  6107. "application/json"
  6108. ],
  6109. "tags": [
  6110. "定制【海商报业】"
  6111. ],
  6112. "summary": "查询\"我的闲置\"单据信息",
  6113. "parameters": [
  6114. {
  6115. "type": "integer",
  6116. "description": "页码",
  6117. "name": "page",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "integer",
  6122. "description": "每页条数",
  6123. "name": "pagesize",
  6124. "in": "query"
  6125. },
  6126. {
  6127. "type": "string",
  6128. "description": "资金账户列表,格式:1,2,3",
  6129. "name": "accountIDs",
  6130. "in": "query",
  6131. "required": true
  6132. },
  6133. {
  6134. "type": "integer",
  6135. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6136. "name": "orderType",
  6137. "in": "query"
  6138. }
  6139. ],
  6140. "responses": {
  6141. "200": {
  6142. "description": "OK",
  6143. "schema": {
  6144. "$ref": "#/definitions/models.HsbySellMyDetail"
  6145. }
  6146. },
  6147. "500": {
  6148. "description": "Internal Server Error",
  6149. "schema": {
  6150. "$ref": "#/definitions/app.Response"
  6151. }
  6152. }
  6153. }
  6154. }
  6155. },
  6156. "/HSBY/QueryHsbyTopGoodses": {
  6157. "get": {
  6158. "security": [
  6159. {
  6160. "ApiKeyAuth": []
  6161. }
  6162. ],
  6163. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6164. "produces": [
  6165. "application/json"
  6166. ],
  6167. "tags": [
  6168. "定制【海商报业】"
  6169. ],
  6170. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6171. "parameters": [
  6172. {
  6173. "type": "integer",
  6174. "description": "页码",
  6175. "name": "page",
  6176. "in": "query"
  6177. },
  6178. {
  6179. "type": "integer",
  6180. "description": "每页条数",
  6181. "name": "pagesize",
  6182. "in": "query"
  6183. },
  6184. {
  6185. "type": "string",
  6186. "description": "市场ID列表,格式:1,2,3",
  6187. "name": "marketIDs",
  6188. "in": "query",
  6189. "required": true
  6190. },
  6191. {
  6192. "type": "integer",
  6193. "description": "目的地(省)ID",
  6194. "name": "descProvinceID",
  6195. "in": "query"
  6196. },
  6197. {
  6198. "type": "integer",
  6199. "description": "目的地(市)ID",
  6200. "name": "descCityID",
  6201. "in": "query"
  6202. }
  6203. ],
  6204. "responses": {
  6205. "200": {
  6206. "description": "OK",
  6207. "schema": {
  6208. "$ref": "#/definitions/models.HsbyTopGoods"
  6209. }
  6210. },
  6211. "500": {
  6212. "description": "Internal Server Error",
  6213. "schema": {
  6214. "$ref": "#/definitions/app.Response"
  6215. }
  6216. }
  6217. }
  6218. }
  6219. },
  6220. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6221. "get": {
  6222. "security": [
  6223. {
  6224. "ApiKeyAuth": []
  6225. }
  6226. ],
  6227. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "定制【海商报业】"
  6233. ],
  6234. "summary": "查询游客三级市场(商城)商品信息详情",
  6235. "parameters": [
  6236. {
  6237. "type": "integer",
  6238. "description": "商品ID",
  6239. "name": "goodsID",
  6240. "in": "query",
  6241. "required": true
  6242. }
  6243. ],
  6244. "responses": {
  6245. "200": {
  6246. "description": "OK",
  6247. "schema": {
  6248. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6249. }
  6250. },
  6251. "500": {
  6252. "description": "Internal Server Error",
  6253. "schema": {
  6254. "$ref": "#/definitions/app.Response"
  6255. }
  6256. }
  6257. }
  6258. }
  6259. },
  6260. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6261. "get": {
  6262. "security": [
  6263. {
  6264. "ApiKeyAuth": []
  6265. }
  6266. ],
  6267. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6268. "produces": [
  6269. "application/json"
  6270. ],
  6271. "tags": [
  6272. "定制【海商报业】"
  6273. ],
  6274. "summary": "查询游客特卖商品列表(三级商城)",
  6275. "parameters": [
  6276. {
  6277. "type": "integer",
  6278. "description": "页码",
  6279. "name": "page",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "integer",
  6284. "description": "每页条数",
  6285. "name": "pagesize",
  6286. "in": "query"
  6287. },
  6288. {
  6289. "type": "string",
  6290. "description": "市场ID列表,格式:1,2,3",
  6291. "name": "marketIDs",
  6292. "in": "query",
  6293. "required": true
  6294. },
  6295. {
  6296. "type": "integer",
  6297. "description": "类别ID",
  6298. "name": "categoryID",
  6299. "in": "query"
  6300. },
  6301. {
  6302. "type": "string",
  6303. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6304. "name": "goodsIDs",
  6305. "in": "query"
  6306. }
  6307. ],
  6308. "responses": {
  6309. "200": {
  6310. "description": "OK",
  6311. "schema": {
  6312. "$ref": "#/definitions/models.HsbyMarketGoods"
  6313. }
  6314. },
  6315. "500": {
  6316. "description": "Internal Server Error",
  6317. "schema": {
  6318. "$ref": "#/definitions/app.Response"
  6319. }
  6320. }
  6321. }
  6322. }
  6323. },
  6324. "/HSBY/QueryMyCollectionOrders": {
  6325. "get": {
  6326. "security": [
  6327. {
  6328. "ApiKeyAuth": []
  6329. }
  6330. ],
  6331. "produces": [
  6332. "application/json"
  6333. ],
  6334. "tags": [
  6335. "定制【海商报业】"
  6336. ],
  6337. "summary": "我的闲置中收款信息查询",
  6338. "parameters": [
  6339. {
  6340. "type": "integer",
  6341. "description": "页码",
  6342. "name": "page",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "integer",
  6347. "description": "每页条数",
  6348. "name": "pagesize",
  6349. "in": "query"
  6350. },
  6351. {
  6352. "type": "string",
  6353. "description": "资金账户,格式:1,2,3",
  6354. "name": "accountIDs",
  6355. "in": "query",
  6356. "required": true
  6357. }
  6358. ],
  6359. "responses": {
  6360. "200": {
  6361. "description": "OK",
  6362. "schema": {
  6363. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6364. }
  6365. },
  6366. "500": {
  6367. "description": "Internal Server Error",
  6368. "schema": {
  6369. "$ref": "#/definitions/app.Response"
  6370. }
  6371. }
  6372. }
  6373. }
  6374. },
  6375. "/HSBY/QueryMyCouponHolds": {
  6376. "get": {
  6377. "security": [
  6378. {
  6379. "ApiKeyAuth": []
  6380. }
  6381. ],
  6382. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6383. "produces": [
  6384. "application/json"
  6385. ],
  6386. "tags": [
  6387. "定制【海商报业】"
  6388. ],
  6389. "summary": "我的优惠卷持仓查询",
  6390. "parameters": [
  6391. {
  6392. "type": "string",
  6393. "description": "资金账户列表,格式:1,2,3",
  6394. "name": "accountIDs",
  6395. "in": "query",
  6396. "required": true
  6397. },
  6398. {
  6399. "type": "string",
  6400. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6401. "name": "holdStatus",
  6402. "in": "query"
  6403. }
  6404. ],
  6405. "responses": {
  6406. "200": {
  6407. "description": "OK",
  6408. "schema": {
  6409. "$ref": "#/definitions/models.MyCouponHold"
  6410. }
  6411. },
  6412. "500": {
  6413. "description": "Internal Server Error",
  6414. "schema": {
  6415. "$ref": "#/definitions/app.Response"
  6416. }
  6417. }
  6418. }
  6419. }
  6420. },
  6421. "/HSBY/QueryMyCoupons": {
  6422. "get": {
  6423. "security": [
  6424. {
  6425. "ApiKeyAuth": []
  6426. }
  6427. ],
  6428. "produces": [
  6429. "application/json"
  6430. ],
  6431. "tags": [
  6432. "定制【海商报业】"
  6433. ],
  6434. "summary": "我的优惠卷查询",
  6435. "parameters": [
  6436. {
  6437. "type": "string",
  6438. "description": "资金账户列表,格式:1,2,3",
  6439. "name": "accountIDs",
  6440. "in": "query",
  6441. "required": true
  6442. },
  6443. {
  6444. "type": "integer",
  6445. "description": "商品ID, 一般与sellUserID配套传入",
  6446. "name": "goodsID",
  6447. "in": "query"
  6448. },
  6449. {
  6450. "type": "integer",
  6451. "description": "卖方UserID",
  6452. "name": "sellUserID",
  6453. "in": "query"
  6454. }
  6455. ],
  6456. "responses": {
  6457. "200": {
  6458. "description": "OK",
  6459. "schema": {
  6460. "$ref": "#/definitions/models.MyCoupon"
  6461. }
  6462. },
  6463. "500": {
  6464. "description": "Internal Server Error",
  6465. "schema": {
  6466. "$ref": "#/definitions/app.Response"
  6467. }
  6468. }
  6469. }
  6470. }
  6471. },
  6472. "/HSBY/QueryMyPayOrders": {
  6473. "get": {
  6474. "security": [
  6475. {
  6476. "ApiKeyAuth": []
  6477. }
  6478. ],
  6479. "produces": [
  6480. "application/json"
  6481. ],
  6482. "tags": [
  6483. "定制【海商报业】"
  6484. ],
  6485. "summary": "获取我的订单中待付款信息",
  6486. "parameters": [
  6487. {
  6488. "type": "integer",
  6489. "description": "页码",
  6490. "name": "page",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "integer",
  6495. "description": "每页条数",
  6496. "name": "pagesize",
  6497. "in": "query"
  6498. },
  6499. {
  6500. "type": "string",
  6501. "description": "资金账户列表,格式:1,2,3",
  6502. "name": "accountIDs",
  6503. "in": "query",
  6504. "required": true
  6505. },
  6506. {
  6507. "type": "integer",
  6508. "description": "买方委托单号",
  6509. "name": "buyOrderID",
  6510. "in": "query"
  6511. },
  6512. {
  6513. "type": "integer",
  6514. "description": "卖方委托单号",
  6515. "name": "sellOrderID",
  6516. "in": "query"
  6517. }
  6518. ],
  6519. "responses": {
  6520. "200": {
  6521. "description": "OK",
  6522. "schema": {
  6523. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6524. }
  6525. },
  6526. "500": {
  6527. "description": "Internal Server Error",
  6528. "schema": {
  6529. "$ref": "#/definitions/app.Response"
  6530. }
  6531. }
  6532. }
  6533. }
  6534. },
  6535. "/HSBY/QueryMyUsedCoupon": {
  6536. "get": {
  6537. "security": [
  6538. {
  6539. "ApiKeyAuth": []
  6540. }
  6541. ],
  6542. "produces": [
  6543. "application/json"
  6544. ],
  6545. "tags": [
  6546. "定制【海商报业】"
  6547. ],
  6548. "summary": "已使用优惠卷查询",
  6549. "parameters": [
  6550. {
  6551. "type": "string",
  6552. "description": "资金账户列表,格式:1,2,3",
  6553. "name": "accountIDs",
  6554. "in": "query",
  6555. "required": true
  6556. }
  6557. ],
  6558. "responses": {
  6559. "200": {
  6560. "description": "OK",
  6561. "schema": {
  6562. "$ref": "#/definitions/models.MyUsedCoupon"
  6563. }
  6564. },
  6565. "500": {
  6566. "description": "Internal Server Error",
  6567. "schema": {
  6568. "$ref": "#/definitions/app.Response"
  6569. }
  6570. }
  6571. }
  6572. }
  6573. },
  6574. "/HSBY/QueryProvincesAndCities": {
  6575. "get": {
  6576. "security": [
  6577. {
  6578. "ApiKeyAuth": []
  6579. }
  6580. ],
  6581. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6582. "produces": [
  6583. "application/json"
  6584. ],
  6585. "tags": [
  6586. "定制【海商报业】"
  6587. ],
  6588. "summary": "查询省市信息(不包括区)",
  6589. "parameters": [
  6590. {
  6591. "type": "integer",
  6592. "description": "省ID",
  6593. "name": "provinceID",
  6594. "in": "query"
  6595. }
  6596. ],
  6597. "responses": {
  6598. "200": {
  6599. "description": "OK",
  6600. "schema": {
  6601. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6602. }
  6603. },
  6604. "500": {
  6605. "description": "Internal Server Error",
  6606. "schema": {
  6607. "$ref": "#/definitions/app.Response"
  6608. }
  6609. }
  6610. }
  6611. }
  6612. },
  6613. "/HSBY/SetHsbyMyPackagesStatus": {
  6614. "post": {
  6615. "security": [
  6616. {
  6617. "ApiKeyAuth": []
  6618. }
  6619. ],
  6620. "produces": [
  6621. "application/json"
  6622. ],
  6623. "tags": [
  6624. "定制【海商报业】"
  6625. ],
  6626. "summary": "设置我的包裹已收货状态",
  6627. "parameters": [
  6628. {
  6629. "type": "string",
  6630. "description": "提货单号",
  6631. "name": "takeOrderID",
  6632. "in": "query",
  6633. "required": true
  6634. },
  6635. {
  6636. "type": "integer",
  6637. "description": "资金账号",
  6638. "name": "accountID",
  6639. "in": "query",
  6640. "required": true
  6641. }
  6642. ],
  6643. "responses": {
  6644. "200": {
  6645. "description": "OK",
  6646. "schema": {
  6647. "$ref": "#/definitions/app.Response"
  6648. }
  6649. },
  6650. "500": {
  6651. "description": "Internal Server Error",
  6652. "schema": {
  6653. "$ref": "#/definitions/app.Response"
  6654. }
  6655. }
  6656. }
  6657. }
  6658. },
  6659. "/Market/GetAllExExchanges": {
  6660. "get": {
  6661. "security": [
  6662. {
  6663. "ApiKeyAuth": []
  6664. }
  6665. ],
  6666. "produces": [
  6667. "application/json"
  6668. ],
  6669. "tags": [
  6670. "通用市场"
  6671. ],
  6672. "summary": "获取所有外部交易所信息",
  6673. "responses": {
  6674. "200": {
  6675. "description": "OK",
  6676. "schema": {
  6677. "$ref": "#/definitions/models.Goods"
  6678. }
  6679. },
  6680. "500": {
  6681. "description": "Internal Server Error",
  6682. "schema": {
  6683. "$ref": "#/definitions/app.Response"
  6684. }
  6685. }
  6686. }
  6687. }
  6688. },
  6689. "/Market/QueryGoodsesByLoginID": {
  6690. "get": {
  6691. "security": [
  6692. {
  6693. "ApiKeyAuth": []
  6694. }
  6695. ],
  6696. "produces": [
  6697. "application/json"
  6698. ],
  6699. "tags": [
  6700. "通用市场"
  6701. ],
  6702. "summary": "获取登录账号有权限的商品信息",
  6703. "parameters": [
  6704. {
  6705. "type": "integer",
  6706. "description": "登录账号",
  6707. "name": "loginID",
  6708. "in": "query",
  6709. "required": true
  6710. },
  6711. {
  6712. "type": "string",
  6713. "description": "市场ID列表,格式:1,2,3",
  6714. "name": "marketIDs",
  6715. "in": "query"
  6716. }
  6717. ],
  6718. "responses": {
  6719. "200": {
  6720. "description": "OK",
  6721. "schema": {
  6722. "$ref": "#/definitions/models.Goods"
  6723. }
  6724. },
  6725. "500": {
  6726. "description": "Internal Server Error",
  6727. "schema": {
  6728. "$ref": "#/definitions/app.Response"
  6729. }
  6730. }
  6731. }
  6732. }
  6733. },
  6734. "/Market/QueryMarketRun": {
  6735. "get": {
  6736. "security": [
  6737. {
  6738. "ApiKeyAuth": []
  6739. }
  6740. ],
  6741. "produces": [
  6742. "application/json"
  6743. ],
  6744. "tags": [
  6745. "通用市场"
  6746. ],
  6747. "summary": "查询市场运行信息",
  6748. "parameters": [
  6749. {
  6750. "type": "integer",
  6751. "description": "市场ID,不传返回所有",
  6752. "name": "marketID",
  6753. "in": "query"
  6754. }
  6755. ],
  6756. "responses": {
  6757. "200": {
  6758. "description": "OK",
  6759. "schema": {
  6760. "$ref": "#/definitions/models.Marketrun"
  6761. }
  6762. },
  6763. "500": {
  6764. "description": "Internal Server Error",
  6765. "schema": {
  6766. "$ref": "#/definitions/app.Response"
  6767. }
  6768. }
  6769. }
  6770. }
  6771. },
  6772. "/Market/QueryMarketsByLoginID": {
  6773. "get": {
  6774. "security": [
  6775. {
  6776. "ApiKeyAuth": []
  6777. }
  6778. ],
  6779. "produces": [
  6780. "application/json"
  6781. ],
  6782. "tags": [
  6783. "通用市场"
  6784. ],
  6785. "summary": "获取登录账号有权限的市场信息",
  6786. "parameters": [
  6787. {
  6788. "type": "integer",
  6789. "description": "登录账号",
  6790. "name": "loginID",
  6791. "in": "query",
  6792. "required": true
  6793. }
  6794. ],
  6795. "responses": {
  6796. "200": {
  6797. "description": "OK",
  6798. "schema": {
  6799. "$ref": "#/definitions/models.Market"
  6800. }
  6801. },
  6802. "500": {
  6803. "description": "Internal Server Error",
  6804. "schema": {
  6805. "$ref": "#/definitions/app.Response"
  6806. }
  6807. }
  6808. }
  6809. }
  6810. },
  6811. "/Order/QueryHisTradeDetail": {
  6812. "get": {
  6813. "security": [
  6814. {
  6815. "ApiKeyAuth": []
  6816. }
  6817. ],
  6818. "produces": [
  6819. "application/json"
  6820. ],
  6821. "tags": [
  6822. "通用单据"
  6823. ],
  6824. "summary": "历史成交单查询(合约市场)",
  6825. "parameters": [
  6826. {
  6827. "type": "string",
  6828. "description": "资金账户 - 格式:1,2,3",
  6829. "name": "accountID",
  6830. "in": "query",
  6831. "required": true
  6832. },
  6833. {
  6834. "type": "integer",
  6835. "description": "成交单号",
  6836. "name": "tradeID",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "委托单号",
  6842. "name": "orderID",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "integer",
  6847. "description": "商品ID",
  6848. "name": "goodsID",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "string",
  6853. "description": "交易模式 - 格式:1,2,3",
  6854. "name": "tradeMode",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "integer",
  6859. "description": "委托单据类型",
  6860. "name": "buildType",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "成交类别 - 格式:1,2,3",
  6866. "name": "tradeType",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6872. "name": "startDate",
  6873. "in": "query"
  6874. },
  6875. {
  6876. "type": "string",
  6877. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6878. "name": "endDate",
  6879. "in": "query"
  6880. }
  6881. ],
  6882. "responses": {
  6883. "200": {
  6884. "description": "OK",
  6885. "schema": {
  6886. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6887. }
  6888. },
  6889. "500": {
  6890. "description": "Internal Server Error",
  6891. "schema": {
  6892. "$ref": "#/definitions/app.Response"
  6893. }
  6894. }
  6895. }
  6896. }
  6897. },
  6898. "/Order/QueryHisTradeOrderDetail": {
  6899. "get": {
  6900. "security": [
  6901. {
  6902. "ApiKeyAuth": []
  6903. }
  6904. ],
  6905. "produces": [
  6906. "application/json"
  6907. ],
  6908. "tags": [
  6909. "通用单据"
  6910. ],
  6911. "summary": "历史委托单查询请求(合约市场)",
  6912. "parameters": [
  6913. {
  6914. "type": "string",
  6915. "description": "资金账户 - 格式:1,2,3",
  6916. "name": "accountID",
  6917. "in": "query",
  6918. "required": true
  6919. },
  6920. {
  6921. "type": "string",
  6922. "description": "交易模式 - 格式:1,2,3",
  6923. "name": "tradeMode",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "string",
  6928. "description": "委托状态 - 格式:1,2,3",
  6929. "name": "orderStatus",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "委托单号",
  6935. "name": "orderID",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "string",
  6940. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6941. "name": "startDate",
  6942. "in": "query"
  6943. },
  6944. {
  6945. "type": "string",
  6946. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6947. "name": "endDate",
  6948. "in": "query"
  6949. }
  6950. ],
  6951. "responses": {
  6952. "200": {
  6953. "description": "OK",
  6954. "schema": {
  6955. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6956. }
  6957. },
  6958. "500": {
  6959. "description": "Internal Server Error",
  6960. "schema": {
  6961. "$ref": "#/definitions/app.Response"
  6962. }
  6963. }
  6964. }
  6965. }
  6966. },
  6967. "/Order/QueryTradeDetail": {
  6968. "get": {
  6969. "security": [
  6970. {
  6971. "ApiKeyAuth": []
  6972. }
  6973. ],
  6974. "produces": [
  6975. "application/json"
  6976. ],
  6977. "tags": [
  6978. "通用单据"
  6979. ],
  6980. "summary": "成交单查询(合约市场)",
  6981. "parameters": [
  6982. {
  6983. "type": "string",
  6984. "description": "资金账户 - 格式:1,2,3",
  6985. "name": "accountID",
  6986. "in": "query",
  6987. "required": true
  6988. },
  6989. {
  6990. "type": "integer",
  6991. "description": "成交单号",
  6992. "name": "tradeID",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "integer",
  6997. "description": "委托单号",
  6998. "name": "orderID",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "string",
  7003. "description": "交易模式 - 格式:1,2,3",
  7004. "name": "tradeMode",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "integer",
  7009. "description": "委托单据类型",
  7010. "name": "buildType",
  7011. "in": "query"
  7012. },
  7013. {
  7014. "type": "string",
  7015. "description": "成交类别 - 格式:1,2,3",
  7016. "name": "tradeType",
  7017. "in": "query"
  7018. },
  7019. {
  7020. "type": "integer",
  7021. "description": "商品ID",
  7022. "name": "goodsID",
  7023. "in": "query"
  7024. }
  7025. ],
  7026. "responses": {
  7027. "200": {
  7028. "description": "OK",
  7029. "schema": {
  7030. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7031. }
  7032. },
  7033. "500": {
  7034. "description": "Internal Server Error",
  7035. "schema": {
  7036. "$ref": "#/definitions/app.Response"
  7037. }
  7038. }
  7039. }
  7040. }
  7041. },
  7042. "/Order/QueryTradeOrderDetail": {
  7043. "get": {
  7044. "security": [
  7045. {
  7046. "ApiKeyAuth": []
  7047. }
  7048. ],
  7049. "produces": [
  7050. "application/json"
  7051. ],
  7052. "tags": [
  7053. "通用单据"
  7054. ],
  7055. "summary": "委托单查询请求(合约市场)",
  7056. "parameters": [
  7057. {
  7058. "type": "string",
  7059. "description": "资金账户 - 格式:1,2,3",
  7060. "name": "accountID",
  7061. "in": "query",
  7062. "required": true
  7063. },
  7064. {
  7065. "type": "string",
  7066. "description": "交易模式 - 格式:1,2,3",
  7067. "name": "tradeMode",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "string",
  7072. "description": "委托状态 - 格式:1,2,3",
  7073. "name": "orderStatus",
  7074. "in": "query"
  7075. },
  7076. {
  7077. "type": "integer",
  7078. "description": "委托单号",
  7079. "name": "orderID",
  7080. "in": "query"
  7081. }
  7082. ],
  7083. "responses": {
  7084. "200": {
  7085. "description": "OK",
  7086. "schema": {
  7087. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7088. }
  7089. },
  7090. "500": {
  7091. "description": "Internal Server Error",
  7092. "schema": {
  7093. "$ref": "#/definitions/app.Response"
  7094. }
  7095. }
  7096. }
  7097. }
  7098. },
  7099. "/Order/QueryTradePosition": {
  7100. "get": {
  7101. "security": [
  7102. {
  7103. "ApiKeyAuth": []
  7104. }
  7105. ],
  7106. "produces": [
  7107. "application/json"
  7108. ],
  7109. "tags": [
  7110. "通用单据"
  7111. ],
  7112. "summary": "持仓汇总查询(合约市场)",
  7113. "parameters": [
  7114. {
  7115. "type": "string",
  7116. "description": "资金账户 - 格式:1,2,3",
  7117. "name": "accountID",
  7118. "in": "query",
  7119. "required": true
  7120. },
  7121. {
  7122. "type": "string",
  7123. "description": "交易模式 - 格式:1,2,3",
  7124. "name": "tradeMode",
  7125. "in": "query"
  7126. }
  7127. ],
  7128. "responses": {
  7129. "200": {
  7130. "description": "OK",
  7131. "schema": {
  7132. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7133. }
  7134. },
  7135. "500": {
  7136. "description": "Internal Server Error",
  7137. "schema": {
  7138. "$ref": "#/definitions/app.Response"
  7139. }
  7140. }
  7141. }
  7142. }
  7143. },
  7144. "/Qhj/QueryAccountInOutApply": {
  7145. "get": {
  7146. "security": [
  7147. {
  7148. "ApiKeyAuth": []
  7149. }
  7150. ],
  7151. "produces": [
  7152. "application/json"
  7153. ],
  7154. "tags": [
  7155. "大连千海金"
  7156. ],
  7157. "summary": "查询充值提现",
  7158. "parameters": [
  7159. {
  7160. "type": "integer",
  7161. "description": "用户ID",
  7162. "name": "userid",
  7163. "in": "query",
  7164. "required": true
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "申请起始日期(格式yyyymmdd)",
  7169. "name": "begindate",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "申请截止日期(格式yyyymmdd)",
  7175. "name": "enddate",
  7176. "in": "query"
  7177. },
  7178. {
  7179. "type": "string",
  7180. "description": "模糊搜索名称",
  7181. "name": "likename",
  7182. "in": "query"
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "type": "array",
  7190. "items": {
  7191. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7192. }
  7193. }
  7194. },
  7195. "500": {
  7196. "description": "Internal Server Error",
  7197. "schema": {
  7198. "$ref": "#/definitions/app.Response"
  7199. }
  7200. }
  7201. }
  7202. }
  7203. },
  7204. "/Qhj/QueryAreaFinanceConfig": {
  7205. "get": {
  7206. "security": [
  7207. {
  7208. "ApiKeyAuth": []
  7209. }
  7210. ],
  7211. "produces": [
  7212. "application/json"
  7213. ],
  7214. "tags": [
  7215. "大连千海金"
  7216. ],
  7217. "summary": "查询企业配置表",
  7218. "parameters": [
  7219. {
  7220. "type": "integer",
  7221. "description": "机构用户ID 其他做市关系,都设置为 1",
  7222. "name": "userid",
  7223. "in": "query"
  7224. }
  7225. ],
  7226. "responses": {
  7227. "200": {
  7228. "description": "OK",
  7229. "schema": {
  7230. "type": "array",
  7231. "items": {
  7232. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7233. }
  7234. }
  7235. },
  7236. "500": {
  7237. "description": "Internal Server Error",
  7238. "schema": {
  7239. "$ref": "#/definitions/app.Response"
  7240. }
  7241. }
  7242. }
  7243. }
  7244. },
  7245. "/Qhj/QueryBankAccountSign": {
  7246. "get": {
  7247. "security": [
  7248. {
  7249. "ApiKeyAuth": []
  7250. }
  7251. ],
  7252. "produces": [
  7253. "application/json"
  7254. ],
  7255. "tags": [
  7256. "大连千海金"
  7257. ],
  7258. "summary": "查询签约银行信息(提现账户管理)",
  7259. "parameters": [
  7260. {
  7261. "type": "integer",
  7262. "description": "用户ID",
  7263. "name": "userid",
  7264. "in": "query",
  7265. "required": true
  7266. }
  7267. ],
  7268. "responses": {
  7269. "200": {
  7270. "description": "OK",
  7271. "schema": {
  7272. "type": "array",
  7273. "items": {
  7274. "$ref": "#/definitions/models.QhjBankAccountSign"
  7275. }
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/app.Response"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/Qhj/QueryBankInfo": {
  7288. "get": {
  7289. "security": [
  7290. {
  7291. "ApiKeyAuth": []
  7292. }
  7293. ],
  7294. "produces": [
  7295. "application/json"
  7296. ],
  7297. "tags": [
  7298. "大连千海金"
  7299. ],
  7300. "summary": "查询开户行",
  7301. "responses": {
  7302. "200": {
  7303. "description": "OK",
  7304. "schema": {
  7305. "type": "array",
  7306. "items": {
  7307. "$ref": "#/definitions/models.QhjBankInfo"
  7308. }
  7309. }
  7310. },
  7311. "500": {
  7312. "description": "Internal Server Error",
  7313. "schema": {
  7314. "$ref": "#/definitions/app.Response"
  7315. }
  7316. }
  7317. }
  7318. }
  7319. },
  7320. "/Qhj/QueryBrokerApply": {
  7321. "get": {
  7322. "security": [
  7323. {
  7324. "ApiKeyAuth": []
  7325. }
  7326. ],
  7327. "produces": [
  7328. "application/json"
  7329. ],
  7330. "tags": [
  7331. "大连千海金"
  7332. ],
  7333. "summary": "查询经纪人申请",
  7334. "parameters": [
  7335. {
  7336. "type": "integer",
  7337. "description": "所属机构ID",
  7338. "name": "userid",
  7339. "in": "query"
  7340. },
  7341. {
  7342. "type": "string",
  7343. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7344. "name": "filterstatus",
  7345. "in": "query"
  7346. }
  7347. ],
  7348. "responses": {
  7349. "200": {
  7350. "description": "OK",
  7351. "schema": {
  7352. "type": "array",
  7353. "items": {
  7354. "$ref": "#/definitions/models.QhjBrokerApply"
  7355. }
  7356. }
  7357. },
  7358. "500": {
  7359. "description": "Internal Server Error",
  7360. "schema": {
  7361. "$ref": "#/definitions/app.Response"
  7362. }
  7363. }
  7364. }
  7365. }
  7366. },
  7367. "/Qhj/QueryBrokerApplyEx": {
  7368. "get": {
  7369. "security": [
  7370. {
  7371. "ApiKeyAuth": []
  7372. }
  7373. ],
  7374. "produces": [
  7375. "application/json"
  7376. ],
  7377. "tags": [
  7378. "大连千海金"
  7379. ],
  7380. "summary": "查询经纪人信息和申请记录",
  7381. "parameters": [
  7382. {
  7383. "type": "integer",
  7384. "description": "所属机构ID",
  7385. "name": "userid",
  7386. "in": "query"
  7387. }
  7388. ],
  7389. "responses": {
  7390. "200": {
  7391. "description": "OK",
  7392. "schema": {
  7393. "type": "array",
  7394. "items": {
  7395. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7396. }
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/Qhj/QueryBrokerRewardLog": {
  7409. "get": {
  7410. "security": [
  7411. {
  7412. "ApiKeyAuth": []
  7413. }
  7414. ],
  7415. "produces": [
  7416. "application/json"
  7417. ],
  7418. "tags": [
  7419. "大连千海金"
  7420. ],
  7421. "summary": "查询奖励流水(我的奖励)",
  7422. "parameters": [
  7423. {
  7424. "type": "integer",
  7425. "description": "用户ID",
  7426. "name": "userid",
  7427. "in": "query",
  7428. "required": true
  7429. },
  7430. {
  7431. "type": "string",
  7432. "description": "开始交易日(yyyymmdd)",
  7433. "name": "begindate",
  7434. "in": "query"
  7435. },
  7436. {
  7437. "type": "string",
  7438. "description": "结束交易日(yyyymmdd)",
  7439. "name": "enddate",
  7440. "in": "query"
  7441. }
  7442. ],
  7443. "responses": {
  7444. "200": {
  7445. "description": "OK",
  7446. "schema": {
  7447. "type": "array",
  7448. "items": {
  7449. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7450. }
  7451. }
  7452. },
  7453. "500": {
  7454. "description": "Internal Server Error",
  7455. "schema": {
  7456. "$ref": "#/definitions/app.Response"
  7457. }
  7458. }
  7459. }
  7460. }
  7461. },
  7462. "/Qhj/QueryContract": {
  7463. "get": {
  7464. "security": [
  7465. {
  7466. "ApiKeyAuth": []
  7467. }
  7468. ],
  7469. "produces": [
  7470. "application/json"
  7471. ],
  7472. "tags": [
  7473. "大连千海金"
  7474. ],
  7475. "summary": "查询融资明细(合同)",
  7476. "parameters": [
  7477. {
  7478. "type": "integer",
  7479. "description": "用户ID",
  7480. "name": "userid",
  7481. "in": "query"
  7482. },
  7483. {
  7484. "type": "integer",
  7485. "description": "scf合同id",
  7486. "name": "scfcontractid",
  7487. "in": "query"
  7488. }
  7489. ],
  7490. "responses": {
  7491. "200": {
  7492. "description": "OK",
  7493. "schema": {
  7494. "type": "array",
  7495. "items": {
  7496. "$ref": "#/definitions/models.QhjContract"
  7497. }
  7498. }
  7499. },
  7500. "500": {
  7501. "description": "Internal Server Error",
  7502. "schema": {
  7503. "$ref": "#/definitions/app.Response"
  7504. }
  7505. }
  7506. }
  7507. }
  7508. },
  7509. "/Qhj/QueryContractLog": {
  7510. "get": {
  7511. "security": [
  7512. {
  7513. "ApiKeyAuth": []
  7514. }
  7515. ],
  7516. "produces": [
  7517. "application/json"
  7518. ],
  7519. "tags": [
  7520. "大连千海金"
  7521. ],
  7522. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7523. "parameters": [
  7524. {
  7525. "type": "integer",
  7526. "description": "scf合同id",
  7527. "name": "scfcontractid",
  7528. "in": "query",
  7529. "required": true
  7530. },
  7531. {
  7532. "type": "string",
  7533. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7534. "name": "amounttype",
  7535. "in": "query"
  7536. }
  7537. ],
  7538. "responses": {
  7539. "200": {
  7540. "description": "OK",
  7541. "schema": {
  7542. "type": "array",
  7543. "items": {
  7544. "$ref": "#/definitions/models.QhjContractLog"
  7545. }
  7546. }
  7547. },
  7548. "500": {
  7549. "description": "Internal Server Error",
  7550. "schema": {
  7551. "$ref": "#/definitions/app.Response"
  7552. }
  7553. }
  7554. }
  7555. }
  7556. },
  7557. "/Qhj/QueryCusBankSignBank": {
  7558. "get": {
  7559. "security": [
  7560. {
  7561. "ApiKeyAuth": []
  7562. }
  7563. ],
  7564. "produces": [
  7565. "application/json"
  7566. ],
  7567. "tags": [
  7568. "大连千海金"
  7569. ],
  7570. "summary": "查询托管银行",
  7571. "responses": {
  7572. "200": {
  7573. "description": "OK",
  7574. "schema": {
  7575. "type": "array",
  7576. "items": {
  7577. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7578. }
  7579. }
  7580. },
  7581. "500": {
  7582. "description": "Internal Server Error",
  7583. "schema": {
  7584. "$ref": "#/definitions/app.Response"
  7585. }
  7586. }
  7587. }
  7588. }
  7589. },
  7590. "/Qhj/QueryCustomerInfo": {
  7591. "get": {
  7592. "security": [
  7593. {
  7594. "ApiKeyAuth": []
  7595. }
  7596. ],
  7597. "produces": [
  7598. "application/json"
  7599. ],
  7600. "tags": [
  7601. "大连千海金"
  7602. ],
  7603. "summary": "查询客户资料",
  7604. "parameters": [
  7605. {
  7606. "type": "integer",
  7607. "description": "用户ID",
  7608. "name": "userid",
  7609. "in": "query",
  7610. "required": true
  7611. },
  7612. {
  7613. "type": "integer",
  7614. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7615. "name": "querytype",
  7616. "in": "query",
  7617. "required": true
  7618. },
  7619. {
  7620. "type": "integer",
  7621. "description": "客户类型 1-个人 2-企业",
  7622. "name": "userinfotype",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "string",
  7627. "description": "客户名称(模糊匹配)",
  7628. "name": "customername",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "string",
  7633. "description": "昵称(模糊匹配)",
  7634. "name": "nickname",
  7635. "in": "query"
  7636. },
  7637. {
  7638. "type": "integer",
  7639. "description": "是否包含子级 1-包含",
  7640. "name": "includesub",
  7641. "in": "query"
  7642. }
  7643. ],
  7644. "responses": {
  7645. "200": {
  7646. "description": "OK",
  7647. "schema": {
  7648. "type": "array",
  7649. "items": {
  7650. "$ref": "#/definitions/models.QhjCustomer"
  7651. }
  7652. }
  7653. },
  7654. "500": {
  7655. "description": "Internal Server Error",
  7656. "schema": {
  7657. "$ref": "#/definitions/app.Response"
  7658. }
  7659. }
  7660. }
  7661. }
  7662. },
  7663. "/Qhj/QueryGoodsEx": {
  7664. "get": {
  7665. "security": [
  7666. {
  7667. "ApiKeyAuth": []
  7668. }
  7669. ],
  7670. "produces": [
  7671. "application/json"
  7672. ],
  7673. "tags": [
  7674. "大连千海金"
  7675. ],
  7676. "summary": "交易商品扩展表",
  7677. "parameters": [
  7678. {
  7679. "type": "integer",
  7680. "description": "商品id",
  7681. "name": "goodsid",
  7682. "in": "query"
  7683. }
  7684. ],
  7685. "responses": {
  7686. "200": {
  7687. "description": "OK",
  7688. "schema": {
  7689. "type": "array",
  7690. "items": {
  7691. "$ref": "#/definitions/models.Qhjgoodsex"
  7692. }
  7693. }
  7694. },
  7695. "500": {
  7696. "description": "Internal Server Error",
  7697. "schema": {
  7698. "$ref": "#/definitions/app.Response"
  7699. }
  7700. }
  7701. }
  7702. }
  7703. },
  7704. "/Qhj/QueryMyTeam": {
  7705. "get": {
  7706. "security": [
  7707. {
  7708. "ApiKeyAuth": []
  7709. }
  7710. ],
  7711. "produces": [
  7712. "application/json"
  7713. ],
  7714. "tags": [
  7715. "大连千海金"
  7716. ],
  7717. "summary": "查询我的团队",
  7718. "parameters": [
  7719. {
  7720. "type": "integer",
  7721. "description": "用户ID",
  7722. "name": "userid",
  7723. "in": "query",
  7724. "required": true
  7725. }
  7726. ],
  7727. "responses": {
  7728. "200": {
  7729. "description": "OK",
  7730. "schema": {
  7731. "type": "array",
  7732. "items": {
  7733. "$ref": "#/definitions/models.QhjMyTeamEx"
  7734. }
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/Qhj/QueryMyTeamOrder": {
  7747. "get": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. }
  7752. ],
  7753. "produces": [
  7754. "application/json"
  7755. ],
  7756. "tags": [
  7757. "大连千海金"
  7758. ],
  7759. "summary": "查询团队订单(我的团队/团队订单)",
  7760. "parameters": [
  7761. {
  7762. "type": "integer",
  7763. "description": "页码",
  7764. "name": "page",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "integer",
  7769. "description": "每页条数",
  7770. "name": "pagesize",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "integer",
  7775. "description": "用户ID",
  7776. "name": "userid",
  7777. "in": "query",
  7778. "required": true
  7779. },
  7780. {
  7781. "type": "integer",
  7782. "description": "交易模式",
  7783. "name": "trademode",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "名称(模糊搜索账户)",
  7789. "name": "filtername",
  7790. "in": "query"
  7791. }
  7792. ],
  7793. "responses": {
  7794. "200": {
  7795. "description": "OK",
  7796. "schema": {
  7797. "type": "array",
  7798. "items": {
  7799. "$ref": "#/definitions/models.QhjTeamOrder"
  7800. }
  7801. }
  7802. },
  7803. "500": {
  7804. "description": "Internal Server Error",
  7805. "schema": {
  7806. "$ref": "#/definitions/app.Response"
  7807. }
  7808. }
  7809. }
  7810. }
  7811. },
  7812. "/Qhj/QueryParentAreaList": {
  7813. "get": {
  7814. "security": [
  7815. {
  7816. "ApiKeyAuth": []
  7817. }
  7818. ],
  7819. "produces": [
  7820. "application/json"
  7821. ],
  7822. "tags": [
  7823. "大连千海金"
  7824. ],
  7825. "summary": "查询所属机构列表",
  7826. "parameters": [
  7827. {
  7828. "type": "integer",
  7829. "description": "用户ID",
  7830. "name": "userid",
  7831. "in": "query",
  7832. "required": true
  7833. }
  7834. ],
  7835. "responses": {
  7836. "200": {
  7837. "description": "OK",
  7838. "schema": {
  7839. "type": "array",
  7840. "items": {
  7841. "$ref": "#/definitions/models.QhjParentAreaList"
  7842. }
  7843. }
  7844. },
  7845. "500": {
  7846. "description": "Internal Server Error",
  7847. "schema": {
  7848. "$ref": "#/definitions/app.Response"
  7849. }
  7850. }
  7851. }
  7852. }
  7853. },
  7854. "/Qhj/QueryPayOrder": {
  7855. "get": {
  7856. "security": [
  7857. {
  7858. "ApiKeyAuth": []
  7859. }
  7860. ],
  7861. "produces": [
  7862. "application/json"
  7863. ],
  7864. "tags": [
  7865. "大连千海金"
  7866. ],
  7867. "summary": "查询待付款单据",
  7868. "parameters": [
  7869. {
  7870. "type": "integer",
  7871. "description": "资金账号id",
  7872. "name": "accountid",
  7873. "in": "query",
  7874. "required": true
  7875. },
  7876. {
  7877. "type": "integer",
  7878. "description": "成交单号",
  7879. "name": "tradeid",
  7880. "in": "query"
  7881. },
  7882. {
  7883. "type": "string",
  7884. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7885. "name": "payflag",
  7886. "in": "query"
  7887. }
  7888. ],
  7889. "responses": {
  7890. "200": {
  7891. "description": "OK",
  7892. "schema": {
  7893. "type": "array",
  7894. "items": {
  7895. "$ref": "#/definitions/models.QhjPayOrder"
  7896. }
  7897. }
  7898. },
  7899. "500": {
  7900. "description": "Internal Server Error",
  7901. "schema": {
  7902. "$ref": "#/definitions/app.Response"
  7903. }
  7904. }
  7905. }
  7906. }
  7907. },
  7908. "/Qhj/QueryPickArea": {
  7909. "get": {
  7910. "security": [
  7911. {
  7912. "ApiKeyAuth": []
  7913. }
  7914. ],
  7915. "produces": [
  7916. "application/json"
  7917. ],
  7918. "tags": [
  7919. "大连千海金"
  7920. ],
  7921. "summary": "查询提货门店",
  7922. "parameters": [
  7923. {
  7924. "type": "integer",
  7925. "description": "用户ID",
  7926. "name": "userid",
  7927. "in": "query"
  7928. }
  7929. ],
  7930. "responses": {
  7931. "200": {
  7932. "description": "OK",
  7933. "schema": {
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.QhjPickArea"
  7937. }
  7938. }
  7939. },
  7940. "500": {
  7941. "description": "Internal Server Error",
  7942. "schema": {
  7943. "$ref": "#/definitions/app.Response"
  7944. }
  7945. }
  7946. }
  7947. }
  7948. },
  7949. "/Qhj/QueryPickGoods": {
  7950. "get": {
  7951. "security": [
  7952. {
  7953. "ApiKeyAuth": []
  7954. }
  7955. ],
  7956. "produces": [
  7957. "application/json"
  7958. ],
  7959. "tags": [
  7960. "大连千海金"
  7961. ],
  7962. "summary": "查询提货商品",
  7963. "parameters": [
  7964. {
  7965. "type": "integer",
  7966. "description": "交易商品id",
  7967. "name": "goodsid",
  7968. "in": "query",
  7969. "required": true
  7970. },
  7971. {
  7972. "type": "string",
  7973. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7974. "name": "status",
  7975. "in": "query"
  7976. }
  7977. ],
  7978. "responses": {
  7979. "200": {
  7980. "description": "OK",
  7981. "schema": {
  7982. "type": "array",
  7983. "items": {
  7984. "$ref": "#/definitions/models.QhjPickGoods"
  7985. }
  7986. }
  7987. },
  7988. "500": {
  7989. "description": "Internal Server Error",
  7990. "schema": {
  7991. "$ref": "#/definitions/app.Response"
  7992. }
  7993. }
  7994. }
  7995. }
  7996. },
  7997. "/Qhj/QueryRSTriggerLog": {
  7998. "get": {
  7999. "security": [
  8000. {
  8001. "ApiKeyAuth": []
  8002. }
  8003. ],
  8004. "produces": [
  8005. "application/json"
  8006. ],
  8007. "tags": [
  8008. "大连千海金"
  8009. ],
  8010. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8011. "parameters": [
  8012. {
  8013. "type": "integer",
  8014. "description": "用户ID",
  8015. "name": "userid",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "定投策略id",
  8021. "name": "regularlystrategyid",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "integer",
  8026. "description": "商品id",
  8027. "name": "goodsid",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "开始交易日(yyyymmdd)",
  8033. "name": "begindate",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "结束交易日(yyyymmdd)",
  8039. "name": "enddate",
  8040. "in": "query"
  8041. },
  8042. {
  8043. "type": "string",
  8044. "description": "名称(模糊搜索账户)",
  8045. "name": "filtername",
  8046. "in": "query"
  8047. }
  8048. ],
  8049. "responses": {
  8050. "200": {
  8051. "description": "OK",
  8052. "schema": {
  8053. "type": "array",
  8054. "items": {
  8055. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8056. }
  8057. }
  8058. },
  8059. "500": {
  8060. "description": "Internal Server Error",
  8061. "schema": {
  8062. "$ref": "#/definitions/app.Response"
  8063. }
  8064. }
  8065. }
  8066. }
  8067. },
  8068. "/Qhj/QueryRStrategy": {
  8069. "get": {
  8070. "security": [
  8071. {
  8072. "ApiKeyAuth": []
  8073. }
  8074. ],
  8075. "produces": [
  8076. "application/json"
  8077. ],
  8078. "tags": [
  8079. "大连千海金"
  8080. ],
  8081. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8082. "parameters": [
  8083. {
  8084. "type": "integer",
  8085. "description": "用户ID",
  8086. "name": "userid",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "integer",
  8091. "description": "商品id",
  8092. "name": "goodsid",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8098. "name": "status",
  8099. "in": "query"
  8100. },
  8101. {
  8102. "type": "string",
  8103. "description": "名称(模糊搜索账户)",
  8104. "name": "filtername",
  8105. "in": "query"
  8106. }
  8107. ],
  8108. "responses": {
  8109. "200": {
  8110. "description": "OK",
  8111. "schema": {
  8112. "type": "array",
  8113. "items": {
  8114. "$ref": "#/definitions/models.QhjRStrategy"
  8115. }
  8116. }
  8117. },
  8118. "500": {
  8119. "description": "Internal Server Error",
  8120. "schema": {
  8121. "$ref": "#/definitions/app.Response"
  8122. }
  8123. }
  8124. }
  8125. }
  8126. },
  8127. "/Qhj/QueryReckonPriceLog": {
  8128. "get": {
  8129. "security": [
  8130. {
  8131. "ApiKeyAuth": []
  8132. }
  8133. ],
  8134. "produces": [
  8135. "application/json"
  8136. ],
  8137. "tags": [
  8138. "大连千海金"
  8139. ],
  8140. "summary": "查询定投价(结算价)",
  8141. "parameters": [
  8142. {
  8143. "type": "integer",
  8144. "description": "商品ID",
  8145. "name": "goodsid",
  8146. "in": "query"
  8147. },
  8148. {
  8149. "type": "string",
  8150. "description": "交易日 格式(yyyymmdd)",
  8151. "name": "tradedate",
  8152. "in": "query"
  8153. }
  8154. ],
  8155. "responses": {
  8156. "200": {
  8157. "description": "OK",
  8158. "schema": {
  8159. "type": "array",
  8160. "items": {
  8161. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8162. }
  8163. }
  8164. },
  8165. "500": {
  8166. "description": "Internal Server Error",
  8167. "schema": {
  8168. "$ref": "#/definitions/app.Response"
  8169. }
  8170. }
  8171. }
  8172. }
  8173. },
  8174. "/Qhj/QueryScoreLog": {
  8175. "get": {
  8176. "security": [
  8177. {
  8178. "ApiKeyAuth": []
  8179. }
  8180. ],
  8181. "produces": [
  8182. "application/json"
  8183. ],
  8184. "tags": [
  8185. "大连千海金"
  8186. ],
  8187. "summary": "查询积分流水(我的积分)",
  8188. "parameters": [
  8189. {
  8190. "type": "integer",
  8191. "description": "用户ID",
  8192. "name": "userid",
  8193. "in": "query",
  8194. "required": true
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "开始交易日(yyyymmdd)",
  8199. "name": "begindate",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "string",
  8204. "description": "结束交易日(yyyymmdd)",
  8205. "name": "enddate",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "integer",
  8210. "description": "最近多少条",
  8211. "name": "lastnum",
  8212. "in": "query"
  8213. }
  8214. ],
  8215. "responses": {
  8216. "200": {
  8217. "description": "OK",
  8218. "schema": {
  8219. "type": "array",
  8220. "items": {
  8221. "$ref": "#/definitions/models.QhjScoreLog"
  8222. }
  8223. }
  8224. },
  8225. "500": {
  8226. "description": "Internal Server Error",
  8227. "schema": {
  8228. "$ref": "#/definitions/app.Response"
  8229. }
  8230. }
  8231. }
  8232. }
  8233. },
  8234. "/Qhj/QuerySiteColumnDetail": {
  8235. "get": {
  8236. "security": [
  8237. {
  8238. "ApiKeyAuth": []
  8239. }
  8240. ],
  8241. "produces": [
  8242. "application/json"
  8243. ],
  8244. "tags": [
  8245. "大连千海金"
  8246. ],
  8247. "summary": "查询资讯",
  8248. "parameters": [
  8249. {
  8250. "type": "integer",
  8251. "description": "用户ID",
  8252. "name": "userid",
  8253. "in": "query",
  8254. "required": true
  8255. }
  8256. ],
  8257. "responses": {
  8258. "200": {
  8259. "description": "OK",
  8260. "schema": {
  8261. "type": "array",
  8262. "items": {
  8263. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8264. }
  8265. }
  8266. },
  8267. "500": {
  8268. "description": "Internal Server Error",
  8269. "schema": {
  8270. "$ref": "#/definitions/app.Response"
  8271. }
  8272. }
  8273. }
  8274. }
  8275. },
  8276. "/Qhj/QueryTradeGoodsPickup": {
  8277. "get": {
  8278. "security": [
  8279. {
  8280. "ApiKeyAuth": []
  8281. }
  8282. ],
  8283. "produces": [
  8284. "application/json"
  8285. ],
  8286. "tags": [
  8287. "大连千海金"
  8288. ],
  8289. "summary": "查询提货",
  8290. "parameters": [
  8291. {
  8292. "type": "integer",
  8293. "description": "用户ID",
  8294. "name": "userid",
  8295. "in": "query",
  8296. "required": true
  8297. },
  8298. {
  8299. "type": "integer",
  8300. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8301. "name": "takeorderstatus",
  8302. "in": "query"
  8303. }
  8304. ],
  8305. "responses": {
  8306. "200": {
  8307. "description": "OK",
  8308. "schema": {
  8309. "type": "array",
  8310. "items": {
  8311. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8312. }
  8313. }
  8314. },
  8315. "500": {
  8316. "description": "Internal Server Error",
  8317. "schema": {
  8318. "$ref": "#/definitions/app.Response"
  8319. }
  8320. }
  8321. }
  8322. }
  8323. },
  8324. "/Qhj/QueryUserCollectConfig": {
  8325. "get": {
  8326. "security": [
  8327. {
  8328. "ApiKeyAuth": []
  8329. }
  8330. ],
  8331. "produces": [
  8332. "application/json"
  8333. ],
  8334. "tags": [
  8335. "大连千海金"
  8336. ],
  8337. "summary": "查询提现账户设置",
  8338. "parameters": [
  8339. {
  8340. "type": "integer",
  8341. "description": "用户ID",
  8342. "name": "userid",
  8343. "in": "query",
  8344. "required": true
  8345. }
  8346. ],
  8347. "responses": {
  8348. "200": {
  8349. "description": "OK",
  8350. "schema": {
  8351. "type": "array",
  8352. "items": {
  8353. "$ref": "#/definitions/models.UserCollectConfig"
  8354. }
  8355. }
  8356. },
  8357. "500": {
  8358. "description": "Internal Server Error",
  8359. "schema": {
  8360. "$ref": "#/definitions/app.Response"
  8361. }
  8362. }
  8363. }
  8364. }
  8365. },
  8366. "/Qhj/QueryUserReceiveInfo": {
  8367. "get": {
  8368. "security": [
  8369. {
  8370. "ApiKeyAuth": []
  8371. }
  8372. ],
  8373. "produces": [
  8374. "application/json"
  8375. ],
  8376. "tags": [
  8377. "大连千海金"
  8378. ],
  8379. "summary": "查询收货地址信息",
  8380. "parameters": [
  8381. {
  8382. "type": "integer",
  8383. "description": "用户ID",
  8384. "name": "userid",
  8385. "in": "query",
  8386. "required": true
  8387. }
  8388. ],
  8389. "responses": {
  8390. "200": {
  8391. "description": "OK",
  8392. "schema": {
  8393. "type": "array",
  8394. "items": {
  8395. "$ref": "#/definitions/models.UserReceiveInfo"
  8396. }
  8397. }
  8398. },
  8399. "500": {
  8400. "description": "Internal Server Error",
  8401. "schema": {
  8402. "$ref": "#/definitions/app.Response"
  8403. }
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "/QhjMgr/QueryAccountInOutApply": {
  8409. "get": {
  8410. "security": [
  8411. {
  8412. "ApiKeyAuth": []
  8413. }
  8414. ],
  8415. "produces": [
  8416. "application/json"
  8417. ],
  8418. "tags": [
  8419. "大连千海金(PCWeb)"
  8420. ],
  8421. "summary": "查询充值提现",
  8422. "parameters": [
  8423. {
  8424. "type": "integer",
  8425. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8426. "name": "querytype",
  8427. "in": "query",
  8428. "required": true
  8429. },
  8430. {
  8431. "type": "integer",
  8432. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8433. "name": "applystatus",
  8434. "in": "query"
  8435. },
  8436. {
  8437. "type": "string",
  8438. "description": "申请起始日期(格式yyyymmdd)",
  8439. "name": "begindate",
  8440. "in": "query"
  8441. },
  8442. {
  8443. "type": "string",
  8444. "description": "申请截止日期(格式yyyymmdd)",
  8445. "name": "enddate",
  8446. "in": "query"
  8447. },
  8448. {
  8449. "type": "string",
  8450. "description": "模糊搜索名称",
  8451. "name": "likename",
  8452. "in": "query"
  8453. }
  8454. ],
  8455. "responses": {
  8456. "200": {
  8457. "description": "OK",
  8458. "schema": {
  8459. "type": "array",
  8460. "items": {
  8461. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8462. }
  8463. }
  8464. },
  8465. "500": {
  8466. "description": "Internal Server Error",
  8467. "schema": {
  8468. "$ref": "#/definitions/app.Response"
  8469. }
  8470. }
  8471. }
  8472. }
  8473. },
  8474. "/QhjMgr/QueryBrokerApply": {
  8475. "get": {
  8476. "security": [
  8477. {
  8478. "ApiKeyAuth": []
  8479. }
  8480. ],
  8481. "produces": [
  8482. "application/json"
  8483. ],
  8484. "tags": [
  8485. "大连千海金(PCWeb)"
  8486. ],
  8487. "summary": "查询经纪人申请",
  8488. "parameters": [
  8489. {
  8490. "type": "integer",
  8491. "description": "所属机构ID",
  8492. "name": "userid",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8498. "name": "filterstatus",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "string",
  8503. "description": "名称(模糊匹配)",
  8504. "name": "filtername",
  8505. "in": "query"
  8506. },
  8507. {
  8508. "type": "integer",
  8509. "description": "是否包含子级 1-包含",
  8510. "name": "includesub",
  8511. "in": "query"
  8512. }
  8513. ],
  8514. "responses": {
  8515. "200": {
  8516. "description": "OK",
  8517. "schema": {
  8518. "type": "array",
  8519. "items": {
  8520. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8521. }
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/QhjMgr/QueryBrokerRewardReport": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. }
  8539. ],
  8540. "produces": [
  8541. "application/json"
  8542. ],
  8543. "tags": [
  8544. "大连千海金(PCWeb)"
  8545. ],
  8546. "summary": "查询经纪人奖励报表(废弃)",
  8547. "parameters": [
  8548. {
  8549. "type": "integer",
  8550. "description": "所属机构ID",
  8551. "name": "userid",
  8552. "in": "query",
  8553. "required": true
  8554. },
  8555. {
  8556. "type": "integer",
  8557. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8558. "name": "cycletype",
  8559. "in": "query",
  8560. "required": true
  8561. },
  8562. {
  8563. "type": "string",
  8564. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8565. "name": "cycletime",
  8566. "in": "query",
  8567. "required": true
  8568. },
  8569. {
  8570. "type": "string",
  8571. "description": "名称(模糊匹配)",
  8572. "name": "filtername",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "integer",
  8577. "description": "是否包含子级 1-包含",
  8578. "name": "includesub",
  8579. "in": "query"
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "type": "array",
  8587. "items": {
  8588. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8589. }
  8590. }
  8591. },
  8592. "500": {
  8593. "description": "Internal Server Error",
  8594. "schema": {
  8595. "$ref": "#/definitions/app.Response"
  8596. }
  8597. }
  8598. }
  8599. }
  8600. },
  8601. "/QhjMgr/QueryContract": {
  8602. "get": {
  8603. "security": [
  8604. {
  8605. "ApiKeyAuth": []
  8606. }
  8607. ],
  8608. "produces": [
  8609. "application/json"
  8610. ],
  8611. "tags": [
  8612. "大连千海金(PCWeb)"
  8613. ],
  8614. "summary": "查询融资信息(合同)",
  8615. "parameters": [
  8616. {
  8617. "type": "integer",
  8618. "description": "用户ID",
  8619. "name": "userid",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "integer",
  8624. "description": "商品id",
  8625. "name": "goodsid",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "名称(模糊搜索账户)",
  8631. "name": "filtername",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8637. "name": "risklevel",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "开始交易日(yyyymmdd)",
  8643. "name": "begindate",
  8644. "in": "query"
  8645. },
  8646. {
  8647. "type": "string",
  8648. "description": "结束交易日(yyyymmdd)",
  8649. "name": "enddate",
  8650. "in": "query"
  8651. }
  8652. ],
  8653. "responses": {
  8654. "200": {
  8655. "description": "OK",
  8656. "schema": {
  8657. "type": "array",
  8658. "items": {
  8659. "$ref": "#/definitions/models.QhjMgrContract"
  8660. }
  8661. }
  8662. },
  8663. "500": {
  8664. "description": "Internal Server Error",
  8665. "schema": {
  8666. "$ref": "#/definitions/app.Response"
  8667. }
  8668. }
  8669. }
  8670. }
  8671. },
  8672. "/QhjMgr/QueryCustomerInfo": {
  8673. "get": {
  8674. "security": [
  8675. {
  8676. "ApiKeyAuth": []
  8677. }
  8678. ],
  8679. "produces": [
  8680. "application/json"
  8681. ],
  8682. "tags": [
  8683. "大连千海金(PCWeb)"
  8684. ],
  8685. "summary": "查询客户资料",
  8686. "parameters": [
  8687. {
  8688. "type": "integer",
  8689. "description": "用户ID",
  8690. "name": "userid",
  8691. "in": "query",
  8692. "required": true
  8693. },
  8694. {
  8695. "type": "integer",
  8696. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8697. "name": "querytype",
  8698. "in": "query",
  8699. "required": true
  8700. },
  8701. {
  8702. "type": "integer",
  8703. "description": "客户类型 1-个人 2-企业",
  8704. "name": "userinfotype",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "客户名称(模糊匹配)",
  8710. "name": "customername",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "string",
  8715. "description": "昵称(模糊匹配)",
  8716. "name": "nickname",
  8717. "in": "query"
  8718. },
  8719. {
  8720. "type": "string",
  8721. "description": "所属客户经理(模糊匹配)",
  8722. "name": "brokername",
  8723. "in": "query"
  8724. },
  8725. {
  8726. "type": "integer",
  8727. "description": "是否包含子级 1-包含",
  8728. "name": "includesub",
  8729. "in": "query"
  8730. }
  8731. ],
  8732. "responses": {
  8733. "200": {
  8734. "description": "OK",
  8735. "schema": {
  8736. "type": "array",
  8737. "items": {
  8738. "$ref": "#/definitions/models.QhjMgrCustomer"
  8739. }
  8740. }
  8741. },
  8742. "500": {
  8743. "description": "Internal Server Error",
  8744. "schema": {
  8745. "$ref": "#/definitions/app.Response"
  8746. }
  8747. }
  8748. }
  8749. }
  8750. },
  8751. "/QhjMgr/QueryPickGoods": {
  8752. "get": {
  8753. "security": [
  8754. {
  8755. "ApiKeyAuth": []
  8756. }
  8757. ],
  8758. "produces": [
  8759. "application/json"
  8760. ],
  8761. "tags": [
  8762. "大连千海金(PCWeb)"
  8763. ],
  8764. "summary": "查询提货商品",
  8765. "parameters": [
  8766. {
  8767. "type": "string",
  8768. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8769. "name": "status",
  8770. "in": "query"
  8771. }
  8772. ],
  8773. "responses": {
  8774. "200": {
  8775. "description": "OK",
  8776. "schema": {
  8777. "type": "array",
  8778. "items": {
  8779. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8780. }
  8781. }
  8782. },
  8783. "500": {
  8784. "description": "Internal Server Error",
  8785. "schema": {
  8786. "$ref": "#/definitions/app.Response"
  8787. }
  8788. }
  8789. }
  8790. }
  8791. },
  8792. "/QhjMgr/QuerySubArea": {
  8793. "get": {
  8794. "security": [
  8795. {
  8796. "ApiKeyAuth": []
  8797. }
  8798. ],
  8799. "produces": [
  8800. "application/json"
  8801. ],
  8802. "tags": [
  8803. "大连千海金(PCWeb)"
  8804. ],
  8805. "summary": "查询子机构列表",
  8806. "parameters": [
  8807. {
  8808. "type": "integer",
  8809. "description": "用户ID",
  8810. "name": "userid",
  8811. "in": "query",
  8812. "required": true
  8813. }
  8814. ],
  8815. "responses": {
  8816. "200": {
  8817. "description": "OK",
  8818. "schema": {
  8819. "type": "array",
  8820. "items": {
  8821. "$ref": "#/definitions/models.QhjMgrSubArea"
  8822. }
  8823. }
  8824. },
  8825. "500": {
  8826. "description": "Internal Server Error",
  8827. "schema": {
  8828. "$ref": "#/definitions/app.Response"
  8829. }
  8830. }
  8831. }
  8832. }
  8833. },
  8834. "/QhjMgr/QueryTradeDetail": {
  8835. "get": {
  8836. "security": [
  8837. {
  8838. "ApiKeyAuth": []
  8839. }
  8840. ],
  8841. "produces": [
  8842. "application/json"
  8843. ],
  8844. "tags": [
  8845. "大连千海金(PCWeb)"
  8846. ],
  8847. "summary": "查询成交明细",
  8848. "parameters": [
  8849. {
  8850. "type": "integer",
  8851. "description": "用户ID",
  8852. "name": "userid",
  8853. "in": "query",
  8854. "required": true
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "用户类型 1-个人 2-企业",
  8859. "name": "userinfotype",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "integer",
  8864. "description": "交易模式",
  8865. "name": "trademode",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "integer",
  8870. "description": "商品id",
  8871. "name": "goodsid",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "名称(模糊搜索账户)",
  8877. "name": "filtername",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "string",
  8882. "description": "开始交易日(yyyymmdd)",
  8883. "name": "begindate",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "string",
  8888. "description": "结束交易日(yyyymmdd)",
  8889. "name": "enddate",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "integer",
  8894. "description": "是否包含子级 1-包含",
  8895. "name": "includesub",
  8896. "in": "query"
  8897. }
  8898. ],
  8899. "responses": {
  8900. "200": {
  8901. "description": "OK",
  8902. "schema": {
  8903. "type": "array",
  8904. "items": {
  8905. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8906. }
  8907. }
  8908. },
  8909. "500": {
  8910. "description": "Internal Server Error",
  8911. "schema": {
  8912. "$ref": "#/definitions/app.Response"
  8913. }
  8914. }
  8915. }
  8916. }
  8917. },
  8918. "/QhjMgr/QueryTradeOrderDetail": {
  8919. "get": {
  8920. "security": [
  8921. {
  8922. "ApiKeyAuth": []
  8923. }
  8924. ],
  8925. "produces": [
  8926. "application/json"
  8927. ],
  8928. "tags": [
  8929. "大连千海金(PCWeb)"
  8930. ],
  8931. "summary": "查询委托明细",
  8932. "parameters": [
  8933. {
  8934. "type": "integer",
  8935. "description": "用户ID",
  8936. "name": "userid",
  8937. "in": "query",
  8938. "required": true
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "用户类型 1-个人 2-企业",
  8943. "name": "userinfotype",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "integer",
  8948. "description": "交易模式",
  8949. "name": "trademode",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "integer",
  8954. "description": "商品id",
  8955. "name": "goodsid",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "名称(模糊搜索账户)",
  8961. "name": "filtername",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "开始交易日(yyyymmdd)",
  8967. "name": "begindate",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "string",
  8972. "description": "结束交易日(yyyymmdd)",
  8973. "name": "enddate",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "是否包含子级 1-包含",
  8979. "name": "includesub",
  8980. "in": "query"
  8981. }
  8982. ],
  8983. "responses": {
  8984. "200": {
  8985. "description": "OK",
  8986. "schema": {
  8987. "type": "array",
  8988. "items": {
  8989. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8990. }
  8991. }
  8992. },
  8993. "500": {
  8994. "description": "Internal Server Error",
  8995. "schema": {
  8996. "$ref": "#/definitions/app.Response"
  8997. }
  8998. }
  8999. }
  9000. }
  9001. },
  9002. "/QhjMgr/QueryTradePayOrder": {
  9003. "get": {
  9004. "security": [
  9005. {
  9006. "ApiKeyAuth": []
  9007. }
  9008. ],
  9009. "produces": [
  9010. "application/json"
  9011. ],
  9012. "tags": [
  9013. "大连千海金(PCWeb)"
  9014. ],
  9015. "summary": "查询待付款单",
  9016. "parameters": [
  9017. {
  9018. "type": "integer",
  9019. "description": "用户ID",
  9020. "name": "userid",
  9021. "in": "query",
  9022. "required": true
  9023. },
  9024. {
  9025. "type": "string",
  9026. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9027. "name": "payflag",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "integer",
  9032. "description": "用户类型 1-个人 2-企业",
  9033. "name": "userinfotype",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "integer",
  9038. "description": "交易模式",
  9039. "name": "trademode",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "integer",
  9044. "description": "商品id",
  9045. "name": "goodsid",
  9046. "in": "query"
  9047. },
  9048. {
  9049. "type": "string",
  9050. "description": "名称(模糊搜索账户)",
  9051. "name": "filtername",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "string",
  9056. "description": "开始交易日(yyyymmdd)",
  9057. "name": "begindate",
  9058. "in": "query"
  9059. },
  9060. {
  9061. "type": "string",
  9062. "description": "结束交易日(yyyymmdd)",
  9063. "name": "enddate",
  9064. "in": "query"
  9065. },
  9066. {
  9067. "type": "integer",
  9068. "description": "是否包含子级 1-包含",
  9069. "name": "includesub",
  9070. "in": "query"
  9071. }
  9072. ],
  9073. "responses": {
  9074. "200": {
  9075. "description": "OK",
  9076. "schema": {
  9077. "type": "array",
  9078. "items": {
  9079. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9080. }
  9081. }
  9082. },
  9083. "500": {
  9084. "description": "Internal Server Error",
  9085. "schema": {
  9086. "$ref": "#/definitions/app.Response"
  9087. }
  9088. }
  9089. }
  9090. }
  9091. },
  9092. "/QhjMgr/QueryTradePosition": {
  9093. "get": {
  9094. "security": [
  9095. {
  9096. "ApiKeyAuth": []
  9097. }
  9098. ],
  9099. "produces": [
  9100. "application/json"
  9101. ],
  9102. "tags": [
  9103. "大连千海金(PCWeb)"
  9104. ],
  9105. "summary": "查询持仓汇总",
  9106. "parameters": [
  9107. {
  9108. "type": "integer",
  9109. "description": "用户ID",
  9110. "name": "userid",
  9111. "in": "query",
  9112. "required": true
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "用户类型 1-个人 2-企业",
  9117. "name": "userinfotype",
  9118. "in": "query"
  9119. },
  9120. {
  9121. "type": "integer",
  9122. "description": "交易模式",
  9123. "name": "trademode",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "integer",
  9128. "description": "商品id",
  9129. "name": "goodsid",
  9130. "in": "query"
  9131. },
  9132. {
  9133. "type": "string",
  9134. "description": "名称(模糊搜索账户)",
  9135. "name": "filtername",
  9136. "in": "query"
  9137. },
  9138. {
  9139. "type": "integer",
  9140. "description": "是否包含子级 1-包含",
  9141. "name": "includesub",
  9142. "in": "query"
  9143. }
  9144. ],
  9145. "responses": {
  9146. "200": {
  9147. "description": "OK",
  9148. "schema": {
  9149. "type": "array",
  9150. "items": {
  9151. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9152. }
  9153. }
  9154. },
  9155. "500": {
  9156. "description": "Internal Server Error",
  9157. "schema": {
  9158. "$ref": "#/definitions/app.Response"
  9159. }
  9160. }
  9161. }
  9162. }
  9163. },
  9164. "/QhjSys/QueryAgreementChangeLog": {
  9165. "get": {
  9166. "security": [
  9167. {
  9168. "ApiKeyAuth": []
  9169. }
  9170. ],
  9171. "produces": [
  9172. "application/json"
  9173. ],
  9174. "tags": [
  9175. "大连千海金(协议和签约信息)"
  9176. ],
  9177. "summary": "查询协议配置变更流水",
  9178. "parameters": [
  9179. {
  9180. "type": "integer",
  9181. "description": "协议ID",
  9182. "name": "agreementid",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "integer",
  9187. "description": "协议版本号",
  9188. "name": "agreementversion",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "integer",
  9193. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9194. "name": "agreementtype",
  9195. "in": "query"
  9196. },
  9197. {
  9198. "type": "string",
  9199. "description": "协议编号(模糊匹配)",
  9200. "name": "agreementno",
  9201. "in": "query"
  9202. },
  9203. {
  9204. "type": "string",
  9205. "description": "协议名称(模糊匹配)",
  9206. "name": "agreementname",
  9207. "in": "query"
  9208. }
  9209. ],
  9210. "responses": {
  9211. "200": {
  9212. "description": "OK",
  9213. "schema": {
  9214. "type": "array",
  9215. "items": {
  9216. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9217. }
  9218. }
  9219. },
  9220. "500": {
  9221. "description": "Internal Server Error",
  9222. "schema": {
  9223. "$ref": "#/definitions/app.Response"
  9224. }
  9225. }
  9226. }
  9227. }
  9228. },
  9229. "/QhjSys/QueryAgreementConfig": {
  9230. "get": {
  9231. "security": [
  9232. {
  9233. "ApiKeyAuth": []
  9234. }
  9235. ],
  9236. "produces": [
  9237. "application/json"
  9238. ],
  9239. "tags": [
  9240. "大连千海金(协议和签约信息)"
  9241. ],
  9242. "summary": "查询协议配置",
  9243. "parameters": [
  9244. {
  9245. "type": "integer",
  9246. "description": "协议ID",
  9247. "name": "agreementid",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "协议版本号",
  9253. "name": "agreementversion",
  9254. "in": "query"
  9255. },
  9256. {
  9257. "type": "integer",
  9258. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9259. "name": "agreementtype",
  9260. "in": "query"
  9261. },
  9262. {
  9263. "type": "integer",
  9264. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9265. "name": "isvalid",
  9266. "in": "query"
  9267. },
  9268. {
  9269. "type": "string",
  9270. "description": "协议编号(模糊匹配)",
  9271. "name": "agreementno",
  9272. "in": "query"
  9273. },
  9274. {
  9275. "type": "string",
  9276. "description": "协议名称(模糊匹配)",
  9277. "name": "agreementname",
  9278. "in": "query"
  9279. }
  9280. ],
  9281. "responses": {
  9282. "200": {
  9283. "description": "OK",
  9284. "schema": {
  9285. "type": "array",
  9286. "items": {
  9287. "$ref": "#/definitions/models.QhjAgreementConfig"
  9288. }
  9289. }
  9290. },
  9291. "500": {
  9292. "description": "Internal Server Error",
  9293. "schema": {
  9294. "$ref": "#/definitions/app.Response"
  9295. }
  9296. }
  9297. }
  9298. }
  9299. },
  9300. "/QhjSys/QueryCustomerSignStatus": {
  9301. "get": {
  9302. "security": [
  9303. {
  9304. "ApiKeyAuth": []
  9305. }
  9306. ],
  9307. "produces": [
  9308. "application/json"
  9309. ],
  9310. "tags": [
  9311. "大连千海金(协议和签约信息)"
  9312. ],
  9313. "summary": "查询客户协议签约状态",
  9314. "parameters": [
  9315. {
  9316. "type": "integer",
  9317. "description": "客户ID",
  9318. "name": "userid",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "integer",
  9323. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9324. "name": "nodetype",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "integer",
  9329. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9330. "name": "goodsid",
  9331. "in": "query"
  9332. },
  9333. {
  9334. "type": "string",
  9335. "description": "创建交易日(yyyyMMdd)",
  9336. "name": "tradedate",
  9337. "in": "query"
  9338. },
  9339. {
  9340. "type": "string",
  9341. "description": "用户名称(模糊匹配)",
  9342. "name": "username",
  9343. "in": "query"
  9344. }
  9345. ],
  9346. "responses": {
  9347. "200": {
  9348. "description": "OK",
  9349. "schema": {
  9350. "type": "array",
  9351. "items": {
  9352. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9353. }
  9354. }
  9355. },
  9356. "500": {
  9357. "description": "Internal Server Error",
  9358. "schema": {
  9359. "$ref": "#/definitions/app.Response"
  9360. }
  9361. }
  9362. }
  9363. }
  9364. },
  9365. "/QhjSys/QueryNodeAgreementConfig": {
  9366. "get": {
  9367. "security": [
  9368. {
  9369. "ApiKeyAuth": []
  9370. }
  9371. ],
  9372. "produces": [
  9373. "application/json"
  9374. ],
  9375. "tags": [
  9376. "大连千海金(协议和签约信息)"
  9377. ],
  9378. "summary": "查询协议节点配置",
  9379. "parameters": [
  9380. {
  9381. "type": "integer",
  9382. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9383. "name": "configid",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9389. "name": "nodetype",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9395. "name": "goodsid",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "协议ID",
  9401. "name": "agreementid",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "integer",
  9406. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9407. "name": "agreementtype",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "integer",
  9412. "description": "协议版本号",
  9413. "name": "agreementversion",
  9414. "in": "query"
  9415. },
  9416. {
  9417. "type": "string",
  9418. "description": "协议编号(模糊匹配)",
  9419. "name": "agreementno",
  9420. "in": "query"
  9421. },
  9422. {
  9423. "type": "string",
  9424. "description": "协议名称(模糊匹配)",
  9425. "name": "agreementname",
  9426. "in": "query"
  9427. }
  9428. ],
  9429. "responses": {
  9430. "200": {
  9431. "description": "OK",
  9432. "schema": {
  9433. "type": "array",
  9434. "items": {
  9435. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9436. }
  9437. }
  9438. },
  9439. "500": {
  9440. "description": "Internal Server Error",
  9441. "schema": {
  9442. "$ref": "#/definitions/app.Response"
  9443. }
  9444. }
  9445. }
  9446. }
  9447. },
  9448. "/QhjSys/QueryQhjCustomerSignLog": {
  9449. "get": {
  9450. "security": [
  9451. {
  9452. "ApiKeyAuth": []
  9453. }
  9454. ],
  9455. "produces": [
  9456. "application/json"
  9457. ],
  9458. "tags": [
  9459. "大连千海金(协议和签约信息)"
  9460. ],
  9461. "summary": "查询客户协议签约流水",
  9462. "parameters": [
  9463. {
  9464. "type": "integer",
  9465. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9466. "name": "logid",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "客户ID",
  9472. "name": "userid",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9478. "name": "nodetype",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "integer",
  9483. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9484. "name": "goodsid",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "integer",
  9489. "description": "协议ID",
  9490. "name": "agreementid",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "用户名称(模糊匹配)",
  9496. "name": "username",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "string",
  9501. "description": "协议编号(模糊匹配)",
  9502. "name": "agreementno",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "string",
  9507. "description": "协议名称(模糊匹配)",
  9508. "name": "agreementname",
  9509. "in": "query"
  9510. }
  9511. ],
  9512. "responses": {
  9513. "200": {
  9514. "description": "OK",
  9515. "schema": {
  9516. "type": "array",
  9517. "items": {
  9518. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9519. }
  9520. }
  9521. },
  9522. "500": {
  9523. "description": "Internal Server Error",
  9524. "schema": {
  9525. "$ref": "#/definitions/app.Response"
  9526. }
  9527. }
  9528. }
  9529. }
  9530. },
  9531. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9532. "get": {
  9533. "security": [
  9534. {
  9535. "ApiKeyAuth": []
  9536. }
  9537. ],
  9538. "produces": [
  9539. "application/json"
  9540. ],
  9541. "tags": [
  9542. "大连千海金(协议和签约信息)"
  9543. ],
  9544. "summary": "查询用户协议节点配置和状态",
  9545. "parameters": [
  9546. {
  9547. "type": "integer",
  9548. "description": "客户ID",
  9549. "name": "userid",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "integer",
  9554. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9555. "name": "configid",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "string",
  9560. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9561. "name": "nodetype",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9567. "name": "goodsid",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "协议ID",
  9573. "name": "agreementid",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "integer",
  9578. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9579. "name": "agreementtype",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "integer",
  9584. "description": "协议版本号",
  9585. "name": "agreementversion",
  9586. "in": "query"
  9587. },
  9588. {
  9589. "type": "string",
  9590. "description": "协议编号(模糊匹配)",
  9591. "name": "agreementno",
  9592. "in": "query"
  9593. },
  9594. {
  9595. "type": "string",
  9596. "description": "协议名称(模糊匹配)",
  9597. "name": "agreementname",
  9598. "in": "query"
  9599. }
  9600. ],
  9601. "responses": {
  9602. "200": {
  9603. "description": "OK",
  9604. "schema": {
  9605. "type": "array",
  9606. "items": {
  9607. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9608. }
  9609. }
  9610. },
  9611. "500": {
  9612. "description": "Internal Server Error",
  9613. "schema": {
  9614. "$ref": "#/definitions/app.Response"
  9615. }
  9616. }
  9617. }
  9618. }
  9619. },
  9620. "/Quote/QueryHistoryDatas": {
  9621. "get": {
  9622. "security": [
  9623. {
  9624. "ApiKeyAuth": []
  9625. }
  9626. ],
  9627. "produces": [
  9628. "application/json"
  9629. ],
  9630. "tags": [
  9631. "行情服务"
  9632. ],
  9633. "summary": "查询行情历史数据",
  9634. "parameters": [
  9635. {
  9636. "type": "integer",
  9637. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9638. "name": "cycleType",
  9639. "in": "query",
  9640. "required": true
  9641. },
  9642. {
  9643. "type": "string",
  9644. "description": "商品代码",
  9645. "name": "goodsCode",
  9646. "in": "query",
  9647. "required": true
  9648. },
  9649. {
  9650. "type": "string",
  9651. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9652. "name": "startTime",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "string",
  9657. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9658. "name": "endTime",
  9659. "in": "query"
  9660. },
  9661. {
  9662. "type": "integer",
  9663. "description": "条数",
  9664. "name": "count",
  9665. "in": "query"
  9666. },
  9667. {
  9668. "type": "boolean",
  9669. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9670. "name": "isAsc",
  9671. "in": "query"
  9672. }
  9673. ],
  9674. "responses": {
  9675. "200": {
  9676. "description": "OK",
  9677. "schema": {
  9678. "$ref": "#/definitions/quote.HistoryData"
  9679. }
  9680. },
  9681. "500": {
  9682. "description": "Internal Server Error",
  9683. "schema": {
  9684. "$ref": "#/definitions/app.Response"
  9685. }
  9686. }
  9687. }
  9688. }
  9689. },
  9690. "/Quote/QueryHistoryTikDatas": {
  9691. "get": {
  9692. "security": [
  9693. {
  9694. "ApiKeyAuth": []
  9695. }
  9696. ],
  9697. "produces": [
  9698. "application/json"
  9699. ],
  9700. "tags": [
  9701. "行情服务"
  9702. ],
  9703. "summary": "查询行情Tik数据",
  9704. "parameters": [
  9705. {
  9706. "type": "string",
  9707. "description": "商品代码",
  9708. "name": "goodsCode",
  9709. "in": "query",
  9710. "required": true
  9711. },
  9712. {
  9713. "type": "string",
  9714. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9715. "name": "startTime",
  9716. "in": "query"
  9717. },
  9718. {
  9719. "type": "string",
  9720. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9721. "name": "endTime",
  9722. "in": "query"
  9723. },
  9724. {
  9725. "type": "integer",
  9726. "description": "条数",
  9727. "name": "count",
  9728. "in": "query"
  9729. },
  9730. {
  9731. "type": "boolean",
  9732. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9733. "name": "isAsc",
  9734. "in": "query"
  9735. }
  9736. ],
  9737. "responses": {
  9738. "200": {
  9739. "description": "OK",
  9740. "schema": {
  9741. "$ref": "#/definitions/quote.HistoryTikData"
  9742. }
  9743. },
  9744. "500": {
  9745. "description": "Internal Server Error",
  9746. "schema": {
  9747. "$ref": "#/definitions/app.Response"
  9748. }
  9749. }
  9750. }
  9751. }
  9752. },
  9753. "/Quote/QueryQuoteDay": {
  9754. "get": {
  9755. "security": [
  9756. {
  9757. "ApiKeyAuth": []
  9758. }
  9759. ],
  9760. "produces": [
  9761. "application/json"
  9762. ],
  9763. "tags": [
  9764. "行情服务"
  9765. ],
  9766. "summary": "获取商品盘面信息",
  9767. "parameters": [
  9768. {
  9769. "type": "string",
  9770. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9771. "name": "goodsCodes",
  9772. "in": "query",
  9773. "required": true
  9774. }
  9775. ],
  9776. "responses": {
  9777. "200": {
  9778. "description": "OK",
  9779. "schema": {
  9780. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9781. }
  9782. },
  9783. "500": {
  9784. "description": "Internal Server Error",
  9785. "schema": {
  9786. "$ref": "#/definitions/app.Response"
  9787. }
  9788. }
  9789. }
  9790. }
  9791. },
  9792. "/Quote/QueryTSData": {
  9793. "get": {
  9794. "security": [
  9795. {
  9796. "ApiKeyAuth": []
  9797. }
  9798. ],
  9799. "produces": [
  9800. "application/json"
  9801. ],
  9802. "tags": [
  9803. "行情服务"
  9804. ],
  9805. "summary": "分时图数据查询",
  9806. "parameters": [
  9807. {
  9808. "type": "string",
  9809. "description": "商品代码",
  9810. "name": "goodsCode",
  9811. "in": "query",
  9812. "required": true
  9813. }
  9814. ],
  9815. "responses": {
  9816. "200": {
  9817. "description": "OK",
  9818. "schema": {
  9819. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9820. }
  9821. },
  9822. "500": {
  9823. "description": "Internal Server Error",
  9824. "schema": {
  9825. "$ref": "#/definitions/app.Response"
  9826. }
  9827. }
  9828. }
  9829. }
  9830. },
  9831. "/SZDZ/QueryConvertConfig": {
  9832. "get": {
  9833. "security": [
  9834. {
  9835. "ApiKeyAuth": []
  9836. }
  9837. ],
  9838. "produces": [
  9839. "application/json"
  9840. ],
  9841. "tags": [
  9842. "定制【尚志大宗】"
  9843. ],
  9844. "summary": "查询交易系统转换设置",
  9845. "parameters": [
  9846. {
  9847. "type": "integer",
  9848. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9849. "name": "convertType",
  9850. "in": "query"
  9851. },
  9852. {
  9853. "type": "string",
  9854. "description": "外部商品代码[JD\\PD]",
  9855. "name": "outerGoodsCode",
  9856. "in": "query"
  9857. },
  9858. {
  9859. "type": "string",
  9860. "description": "内部商品ID列表[交易],格式:1,2,3",
  9861. "name": "innerGoodsIDs",
  9862. "in": "query"
  9863. }
  9864. ],
  9865. "responses": {
  9866. "200": {
  9867. "description": "OK",
  9868. "schema": {
  9869. "$ref": "#/definitions/models.Szdz3convertconfig"
  9870. }
  9871. },
  9872. "500": {
  9873. "description": "Internal Server Error",
  9874. "schema": {
  9875. "$ref": "#/definitions/app.Response"
  9876. }
  9877. }
  9878. }
  9879. }
  9880. },
  9881. "/SZDZ/QueryConvertLog": {
  9882. "get": {
  9883. "security": [
  9884. {
  9885. "ApiKeyAuth": []
  9886. }
  9887. ],
  9888. "produces": [
  9889. "application/json"
  9890. ],
  9891. "tags": [
  9892. "定制【尚志大宗】"
  9893. ],
  9894. "summary": "交易系统转换流水查询",
  9895. "parameters": [
  9896. {
  9897. "type": "string",
  9898. "description": "资金账户 - 格式:1,2,3",
  9899. "name": "accountID",
  9900. "in": "query",
  9901. "required": true
  9902. },
  9903. {
  9904. "type": "string",
  9905. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9906. "name": "startDate",
  9907. "in": "query"
  9908. },
  9909. {
  9910. "type": "string",
  9911. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9912. "name": "endDate",
  9913. "in": "query"
  9914. }
  9915. ],
  9916. "responses": {
  9917. "200": {
  9918. "description": "OK",
  9919. "schema": {
  9920. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9921. }
  9922. },
  9923. "500": {
  9924. "description": "Internal Server Error",
  9925. "schema": {
  9926. "$ref": "#/definitions/app.Response"
  9927. }
  9928. }
  9929. }
  9930. }
  9931. },
  9932. "/SZDZ/QueryGoodsPickup": {
  9933. "get": {
  9934. "security": [
  9935. {
  9936. "ApiKeyAuth": []
  9937. }
  9938. ],
  9939. "produces": [
  9940. "application/json"
  9941. ],
  9942. "tags": [
  9943. "定制【尚志大宗】"
  9944. ],
  9945. "summary": "商品提货单查询",
  9946. "parameters": [
  9947. {
  9948. "type": "string",
  9949. "description": "资金账户 - 格式:1,2,3",
  9950. "name": "accountID",
  9951. "in": "query",
  9952. "required": true
  9953. },
  9954. {
  9955. "type": "integer",
  9956. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9957. "name": "takeOrderStatus",
  9958. "in": "query"
  9959. }
  9960. ],
  9961. "responses": {
  9962. "200": {
  9963. "description": "OK",
  9964. "schema": {
  9965. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9966. }
  9967. },
  9968. "500": {
  9969. "description": "Internal Server Error",
  9970. "schema": {
  9971. "$ref": "#/definitions/app.Response"
  9972. }
  9973. }
  9974. }
  9975. }
  9976. },
  9977. "/SZDZ/QueryRecieptOrder": {
  9978. "get": {
  9979. "security": [
  9980. {
  9981. "ApiKeyAuth": []
  9982. }
  9983. ],
  9984. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9985. "produces": [
  9986. "application/json"
  9987. ],
  9988. "tags": [
  9989. "定制【尚志大宗】"
  9990. ],
  9991. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9992. "parameters": [
  9993. {
  9994. "type": "integer",
  9995. "description": "页码",
  9996. "name": "page",
  9997. "in": "query"
  9998. },
  9999. {
  10000. "type": "integer",
  10001. "description": "每页条数",
  10002. "name": "pagesize",
  10003. "in": "query"
  10004. },
  10005. {
  10006. "type": "integer",
  10007. "description": "商品ID",
  10008. "name": "goodsID",
  10009. "in": "query",
  10010. "required": true
  10011. },
  10012. {
  10013. "type": "string",
  10014. "description": "所属账户名称",
  10015. "name": "accountName",
  10016. "in": "query"
  10017. },
  10018. {
  10019. "type": "integer",
  10020. "description": "市场ID",
  10021. "name": "marketID",
  10022. "in": "query"
  10023. },
  10024. {
  10025. "type": "integer",
  10026. "description": "方向 - 0:买 1:卖",
  10027. "name": "buyorsell",
  10028. "in": "query",
  10029. "required": true
  10030. }
  10031. ],
  10032. "responses": {
  10033. "200": {
  10034. "description": "OK",
  10035. "schema": {
  10036. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10037. }
  10038. },
  10039. "500": {
  10040. "description": "Internal Server Error",
  10041. "schema": {
  10042. "$ref": "#/definitions/app.Response"
  10043. }
  10044. }
  10045. }
  10046. }
  10047. },
  10048. "/SZDZ/QuerySZDZTradePosition": {
  10049. "get": {
  10050. "security": [
  10051. {
  10052. "ApiKeyAuth": []
  10053. }
  10054. ],
  10055. "produces": [
  10056. "application/json"
  10057. ],
  10058. "tags": [
  10059. "定制【尚志大宗】"
  10060. ],
  10061. "summary": "持仓汇总查询(尚志大宗)",
  10062. "parameters": [
  10063. {
  10064. "type": "integer",
  10065. "description": "资金账户",
  10066. "name": "accountID",
  10067. "in": "query",
  10068. "required": true
  10069. }
  10070. ],
  10071. "responses": {
  10072. "200": {
  10073. "description": "OK",
  10074. "schema": {
  10075. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10076. }
  10077. },
  10078. "500": {
  10079. "description": "Internal Server Error",
  10080. "schema": {
  10081. "$ref": "#/definitions/app.Response"
  10082. }
  10083. }
  10084. }
  10085. }
  10086. },
  10087. "/SZDZ/SearchWhite": {
  10088. "get": {
  10089. "security": [
  10090. {
  10091. "ApiKeyAuth": []
  10092. }
  10093. ],
  10094. "produces": [
  10095. "application/json"
  10096. ],
  10097. "tags": [
  10098. "定制【尚志大宗】"
  10099. ],
  10100. "summary": "搜索白名单",
  10101. "parameters": [
  10102. {
  10103. "type": "integer",
  10104. "description": "用户ID",
  10105. "name": "userID",
  10106. "in": "query",
  10107. "required": true
  10108. }
  10109. ],
  10110. "responses": {
  10111. "200": {
  10112. "description": "OK",
  10113. "schema": {
  10114. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10115. }
  10116. },
  10117. "500": {
  10118. "description": "Internal Server Error",
  10119. "schema": {
  10120. "$ref": "#/definitions/app.Response"
  10121. }
  10122. }
  10123. }
  10124. }
  10125. },
  10126. "/Search/SearchGoodses": {
  10127. "get": {
  10128. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10129. "produces": [
  10130. "application/json"
  10131. ],
  10132. "tags": [
  10133. "检索服务"
  10134. ],
  10135. "summary": "检索商品信息",
  10136. "parameters": [
  10137. {
  10138. "type": "string",
  10139. "description": "检索内容",
  10140. "name": "content",
  10141. "in": "query",
  10142. "required": true
  10143. },
  10144. {
  10145. "type": "string",
  10146. "description": "交易模式,格式:1,2,3",
  10147. "name": "tradeModes",
  10148. "in": "query"
  10149. }
  10150. ],
  10151. "responses": {
  10152. "200": {
  10153. "description": "OK",
  10154. "schema": {
  10155. "$ref": "#/definitions/models.SearchGoods"
  10156. }
  10157. },
  10158. "500": {
  10159. "description": "Internal Server Error",
  10160. "schema": {
  10161. "$ref": "#/definitions/app.Response"
  10162. }
  10163. }
  10164. }
  10165. }
  10166. },
  10167. "/TaAccount/GetTaAccounts": {
  10168. "get": {
  10169. "security": [
  10170. {
  10171. "ApiKeyAuth": []
  10172. }
  10173. ],
  10174. "produces": [
  10175. "application/json"
  10176. ],
  10177. "tags": [
  10178. "资金账户"
  10179. ],
  10180. "summary": "获取资金账户信息",
  10181. "parameters": [
  10182. {
  10183. "type": "integer",
  10184. "description": "登录账户",
  10185. "name": "loginID",
  10186. "in": "query",
  10187. "required": true
  10188. },
  10189. {
  10190. "type": "integer",
  10191. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10192. "name": "taAccountType",
  10193. "in": "query"
  10194. }
  10195. ],
  10196. "responses": {
  10197. "200": {
  10198. "description": "OK",
  10199. "schema": {
  10200. "$ref": "#/definitions/models.Taaccount"
  10201. }
  10202. },
  10203. "500": {
  10204. "description": "Internal Server Error",
  10205. "schema": {
  10206. "$ref": "#/definitions/app.Response"
  10207. }
  10208. }
  10209. }
  10210. }
  10211. },
  10212. "/TaAccount/QueryAmountLog": {
  10213. "get": {
  10214. "security": [
  10215. {
  10216. "ApiKeyAuth": []
  10217. }
  10218. ],
  10219. "produces": [
  10220. "application/json"
  10221. ],
  10222. "tags": [
  10223. "资金账户"
  10224. ],
  10225. "summary": "资金流水查询(当前)",
  10226. "parameters": [
  10227. {
  10228. "type": "integer",
  10229. "description": "页码",
  10230. "name": "page",
  10231. "in": "query"
  10232. },
  10233. {
  10234. "type": "integer",
  10235. "description": "每页条数",
  10236. "name": "pagesize",
  10237. "in": "query"
  10238. },
  10239. {
  10240. "type": "string",
  10241. "description": "资金账户 - 格式:1,2,3",
  10242. "name": "accountID",
  10243. "in": "query",
  10244. "required": true
  10245. },
  10246. {
  10247. "type": "string",
  10248. "description": "资金操作类型 - 格式:1,2,3",
  10249. "name": "OperateType",
  10250. "in": "query"
  10251. }
  10252. ],
  10253. "responses": {
  10254. "200": {
  10255. "description": "OK",
  10256. "schema": {
  10257. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10258. }
  10259. },
  10260. "500": {
  10261. "description": "Internal Server Error",
  10262. "schema": {
  10263. "$ref": "#/definitions/app.Response"
  10264. }
  10265. }
  10266. }
  10267. }
  10268. },
  10269. "/TaAccount/QueryHisAmountLog": {
  10270. "get": {
  10271. "security": [
  10272. {
  10273. "ApiKeyAuth": []
  10274. }
  10275. ],
  10276. "produces": [
  10277. "application/json"
  10278. ],
  10279. "tags": [
  10280. "资金账户"
  10281. ],
  10282. "summary": "资金流水查询(历史)",
  10283. "parameters": [
  10284. {
  10285. "type": "integer",
  10286. "description": "页码",
  10287. "name": "page",
  10288. "in": "query"
  10289. },
  10290. {
  10291. "type": "integer",
  10292. "description": "每页条数",
  10293. "name": "pagesize",
  10294. "in": "query"
  10295. },
  10296. {
  10297. "type": "string",
  10298. "description": "资金账户 - 格式:1,2,3",
  10299. "name": "accountID",
  10300. "in": "query",
  10301. "required": true
  10302. },
  10303. {
  10304. "type": "string",
  10305. "description": "资金操作类型 - 格式:1,2,3",
  10306. "name": "OperateType",
  10307. "in": "query"
  10308. },
  10309. {
  10310. "type": "string",
  10311. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10312. "name": "startDate",
  10313. "in": "query"
  10314. },
  10315. {
  10316. "type": "string",
  10317. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10318. "name": "endDate",
  10319. "in": "query"
  10320. }
  10321. ],
  10322. "responses": {
  10323. "200": {
  10324. "description": "OK",
  10325. "schema": {
  10326. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10327. }
  10328. },
  10329. "500": {
  10330. "description": "Internal Server Error",
  10331. "schema": {
  10332. "$ref": "#/definitions/app.Response"
  10333. }
  10334. }
  10335. }
  10336. }
  10337. },
  10338. "/Trade/QueryRecieptOrder": {
  10339. "get": {
  10340. "security": [
  10341. {
  10342. "ApiKeyAuth": []
  10343. }
  10344. ],
  10345. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10346. "produces": [
  10347. "application/json"
  10348. ],
  10349. "tags": [
  10350. "通用交易"
  10351. ],
  10352. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10353. "parameters": [
  10354. {
  10355. "type": "integer",
  10356. "description": "页码",
  10357. "name": "page",
  10358. "in": "query"
  10359. },
  10360. {
  10361. "type": "integer",
  10362. "description": "每页条数",
  10363. "name": "pagesize",
  10364. "in": "query"
  10365. },
  10366. {
  10367. "type": "integer",
  10368. "description": "商品ID",
  10369. "name": "goodsID",
  10370. "in": "query",
  10371. "required": true
  10372. },
  10373. {
  10374. "type": "string",
  10375. "description": "所属账户名称",
  10376. "name": "accountName",
  10377. "in": "query"
  10378. },
  10379. {
  10380. "type": "integer",
  10381. "description": "市场ID",
  10382. "name": "marketID",
  10383. "in": "query"
  10384. },
  10385. {
  10386. "type": "integer",
  10387. "description": "方向 - 0:买 1:卖",
  10388. "name": "buyorsell",
  10389. "in": "query",
  10390. "required": true
  10391. }
  10392. ],
  10393. "responses": {
  10394. "200": {
  10395. "description": "OK",
  10396. "schema": {
  10397. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10398. }
  10399. },
  10400. "500": {
  10401. "description": "Internal Server Error",
  10402. "schema": {
  10403. "$ref": "#/definitions/app.Response"
  10404. }
  10405. }
  10406. }
  10407. }
  10408. },
  10409. "/User/AddMessageBoard": {
  10410. "post": {
  10411. "security": [
  10412. {
  10413. "ApiKeyAuth": []
  10414. }
  10415. ],
  10416. "produces": [
  10417. "application/json"
  10418. ],
  10419. "tags": [
  10420. "用户信息"
  10421. ],
  10422. "summary": "添加用户留言板信息",
  10423. "parameters": [
  10424. {
  10425. "type": "integer",
  10426. "description": "用户ID",
  10427. "name": "userID",
  10428. "in": "query",
  10429. "required": true
  10430. },
  10431. {
  10432. "type": "string",
  10433. "description": "留言信息",
  10434. "name": "message",
  10435. "in": "query",
  10436. "required": true
  10437. },
  10438. {
  10439. "type": "string",
  10440. "description": "联系电话",
  10441. "name": "contactNum",
  10442. "in": "query",
  10443. "required": true
  10444. }
  10445. ],
  10446. "responses": {
  10447. "200": {
  10448. "description": "OK",
  10449. "schema": {
  10450. "$ref": "#/definitions/app.Response"
  10451. }
  10452. },
  10453. "500": {
  10454. "description": "Internal Server Error",
  10455. "schema": {
  10456. "$ref": "#/definitions/app.Response"
  10457. }
  10458. }
  10459. }
  10460. }
  10461. },
  10462. "/User/AddUserFavoriteGoods": {
  10463. "post": {
  10464. "security": [
  10465. {
  10466. "ApiKeyAuth": []
  10467. }
  10468. ],
  10469. "produces": [
  10470. "application/json"
  10471. ],
  10472. "tags": [
  10473. "用户信息"
  10474. ],
  10475. "summary": "添加用户商品收藏信息",
  10476. "parameters": [
  10477. {
  10478. "type": "integer",
  10479. "description": "用户ID",
  10480. "name": "userID",
  10481. "in": "query",
  10482. "required": true
  10483. },
  10484. {
  10485. "type": "integer",
  10486. "description": "商品ID",
  10487. "name": "goodsID",
  10488. "in": "query",
  10489. "required": true
  10490. }
  10491. ],
  10492. "responses": {
  10493. "200": {
  10494. "description": "OK",
  10495. "schema": {
  10496. "$ref": "#/definitions/app.Response"
  10497. }
  10498. },
  10499. "500": {
  10500. "description": "Internal Server Error",
  10501. "schema": {
  10502. "$ref": "#/definitions/app.Response"
  10503. }
  10504. }
  10505. }
  10506. }
  10507. },
  10508. "/User/GetLoginID": {
  10509. "get": {
  10510. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10511. "produces": [
  10512. "application/json"
  10513. ],
  10514. "tags": [
  10515. "用户信息"
  10516. ],
  10517. "summary": "获取登录ID",
  10518. "parameters": [
  10519. {
  10520. "type": "string",
  10521. "description": "登录代码",
  10522. "name": "username",
  10523. "in": "query",
  10524. "required": true
  10525. }
  10526. ],
  10527. "responses": {
  10528. "200": {
  10529. "description": "OK",
  10530. "schema": {
  10531. "$ref": "#/definitions/app.Response"
  10532. }
  10533. },
  10534. "500": {
  10535. "description": "Internal Server Error",
  10536. "schema": {
  10537. "$ref": "#/definitions/app.Response"
  10538. }
  10539. }
  10540. }
  10541. }
  10542. },
  10543. "/User/GetUserAccount": {
  10544. "get": {
  10545. "security": [
  10546. {
  10547. "ApiKeyAuth": []
  10548. }
  10549. ],
  10550. "produces": [
  10551. "application/json"
  10552. ],
  10553. "tags": [
  10554. "用户信息"
  10555. ],
  10556. "summary": "获取用户账号信息",
  10557. "parameters": [
  10558. {
  10559. "type": "integer",
  10560. "description": "用户ID",
  10561. "name": "userID",
  10562. "in": "query",
  10563. "required": true
  10564. }
  10565. ],
  10566. "responses": {
  10567. "200": {
  10568. "description": "OK",
  10569. "schema": {
  10570. "$ref": "#/definitions/models.Useraccount"
  10571. }
  10572. },
  10573. "500": {
  10574. "description": "Internal Server Error",
  10575. "schema": {
  10576. "$ref": "#/definitions/app.Response"
  10577. }
  10578. }
  10579. }
  10580. }
  10581. },
  10582. "/User/GetUserAuthStatus": {
  10583. "get": {
  10584. "security": [
  10585. {
  10586. "ApiKeyAuth": []
  10587. }
  10588. ],
  10589. "produces": [
  10590. "application/json"
  10591. ],
  10592. "tags": [
  10593. "用户信息"
  10594. ],
  10595. "summary": "获取用户实名认证状态",
  10596. "parameters": [
  10597. {
  10598. "type": "integer",
  10599. "description": "用户ID",
  10600. "name": "userID",
  10601. "in": "query",
  10602. "required": true
  10603. }
  10604. ],
  10605. "responses": {
  10606. "200": {
  10607. "description": "OK",
  10608. "schema": {
  10609. "$ref": "#/definitions/app.Response"
  10610. }
  10611. },
  10612. "500": {
  10613. "description": "Internal Server Error",
  10614. "schema": {
  10615. "$ref": "#/definitions/app.Response"
  10616. }
  10617. }
  10618. }
  10619. }
  10620. },
  10621. "/User/LoginQuery": {
  10622. "get": {
  10623. "security": [
  10624. {
  10625. "ApiKeyAuth": []
  10626. }
  10627. ],
  10628. "produces": [
  10629. "application/json"
  10630. ],
  10631. "tags": [
  10632. "用户信息"
  10633. ],
  10634. "summary": "账户登录后信息查询",
  10635. "parameters": [
  10636. {
  10637. "type": "integer",
  10638. "description": "登录账号",
  10639. "name": "loginID",
  10640. "in": "query",
  10641. "required": true
  10642. }
  10643. ],
  10644. "responses": {
  10645. "200": {
  10646. "description": "OK",
  10647. "schema": {
  10648. "$ref": "#/definitions/user.LoginQueryRsp"
  10649. }
  10650. },
  10651. "500": {
  10652. "description": "Internal Server Error",
  10653. "schema": {
  10654. "$ref": "#/definitions/app.Response"
  10655. }
  10656. }
  10657. }
  10658. }
  10659. },
  10660. "/User/QueryMessageBoard": {
  10661. "get": {
  10662. "security": [
  10663. {
  10664. "ApiKeyAuth": []
  10665. }
  10666. ],
  10667. "produces": [
  10668. "application/json"
  10669. ],
  10670. "tags": [
  10671. "用户信息"
  10672. ],
  10673. "summary": "获取用户留言板信息",
  10674. "parameters": [
  10675. {
  10676. "type": "integer",
  10677. "description": "用户ID",
  10678. "name": "userID",
  10679. "in": "query",
  10680. "required": true
  10681. }
  10682. ],
  10683. "responses": {
  10684. "200": {
  10685. "description": "OK",
  10686. "schema": {
  10687. "$ref": "#/definitions/models.Messageboard"
  10688. }
  10689. },
  10690. "500": {
  10691. "description": "Internal Server Error",
  10692. "schema": {
  10693. "$ref": "#/definitions/app.Response"
  10694. }
  10695. }
  10696. }
  10697. }
  10698. },
  10699. "/User/QueryUserFavoriteGoodses": {
  10700. "get": {
  10701. "security": [
  10702. {
  10703. "ApiKeyAuth": []
  10704. }
  10705. ],
  10706. "produces": [
  10707. "application/json"
  10708. ],
  10709. "tags": [
  10710. "用户信息"
  10711. ],
  10712. "summary": "获取用户商品收藏信息",
  10713. "parameters": [
  10714. {
  10715. "type": "integer",
  10716. "description": "用户ID",
  10717. "name": "userID",
  10718. "in": "query",
  10719. "required": true
  10720. }
  10721. ],
  10722. "responses": {
  10723. "200": {
  10724. "description": "OK",
  10725. "schema": {
  10726. "$ref": "#/definitions/models.Userfavoritegoods"
  10727. }
  10728. },
  10729. "500": {
  10730. "description": "Internal Server Error",
  10731. "schema": {
  10732. "$ref": "#/definitions/app.Response"
  10733. }
  10734. }
  10735. }
  10736. }
  10737. },
  10738. "/User/QueryUserInfo": {
  10739. "get": {
  10740. "security": [
  10741. {
  10742. "ApiKeyAuth": []
  10743. }
  10744. ],
  10745. "produces": [
  10746. "application/json"
  10747. ],
  10748. "tags": [
  10749. "用户信息"
  10750. ],
  10751. "summary": "获取用户信息",
  10752. "parameters": [
  10753. {
  10754. "type": "integer",
  10755. "description": "用户ID",
  10756. "name": "userID",
  10757. "in": "query",
  10758. "required": true
  10759. },
  10760. {
  10761. "type": "boolean",
  10762. "description": "是否解密",
  10763. "name": "isDecrypt",
  10764. "in": "query"
  10765. }
  10766. ],
  10767. "responses": {
  10768. "200": {
  10769. "description": "OK",
  10770. "schema": {
  10771. "$ref": "#/definitions/models.Userinfo"
  10772. }
  10773. },
  10774. "500": {
  10775. "description": "Internal Server Error",
  10776. "schema": {
  10777. "$ref": "#/definitions/app.Response"
  10778. }
  10779. }
  10780. }
  10781. }
  10782. },
  10783. "/User/QueryUserReferNum": {
  10784. "get": {
  10785. "produces": [
  10786. "application/json"
  10787. ],
  10788. "tags": [
  10789. "用户信息"
  10790. ],
  10791. "summary": "获取用户邀请码",
  10792. "parameters": [
  10793. {
  10794. "type": "integer",
  10795. "description": "用户ID",
  10796. "name": "userID",
  10797. "in": "query",
  10798. "required": true
  10799. }
  10800. ],
  10801. "responses": {
  10802. "200": {
  10803. "description": "OK",
  10804. "schema": {
  10805. "$ref": "#/definitions/app.Response"
  10806. }
  10807. },
  10808. "500": {
  10809. "description": "Internal Server Error",
  10810. "schema": {
  10811. "$ref": "#/definitions/app.Response"
  10812. }
  10813. }
  10814. }
  10815. }
  10816. },
  10817. "/User/RemoveUserFavoriteGoods": {
  10818. "post": {
  10819. "security": [
  10820. {
  10821. "ApiKeyAuth": []
  10822. }
  10823. ],
  10824. "produces": [
  10825. "application/json"
  10826. ],
  10827. "tags": [
  10828. "用户信息"
  10829. ],
  10830. "summary": "移除用户商品收藏信息",
  10831. "parameters": [
  10832. {
  10833. "type": "integer",
  10834. "description": "用户ID",
  10835. "name": "userID",
  10836. "in": "query",
  10837. "required": true
  10838. },
  10839. {
  10840. "type": "integer",
  10841. "description": "商品ID",
  10842. "name": "goodsID",
  10843. "in": "query",
  10844. "required": true
  10845. }
  10846. ],
  10847. "responses": {
  10848. "200": {
  10849. "description": "OK",
  10850. "schema": {
  10851. "$ref": "#/definitions/app.Response"
  10852. }
  10853. },
  10854. "500": {
  10855. "description": "Internal Server Error",
  10856. "schema": {
  10857. "$ref": "#/definitions/app.Response"
  10858. }
  10859. }
  10860. }
  10861. }
  10862. },
  10863. "/User/UpdateUserAccountStatus": {
  10864. "post": {
  10865. "security": [
  10866. {
  10867. "ApiKeyAuth": []
  10868. }
  10869. ],
  10870. "produces": [
  10871. "application/json"
  10872. ],
  10873. "tags": [
  10874. "用户信息"
  10875. ],
  10876. "summary": "更新用户状态",
  10877. "parameters": [
  10878. {
  10879. "type": "integer",
  10880. "description": "用户ID",
  10881. "name": "userID",
  10882. "in": "query",
  10883. "required": true
  10884. },
  10885. {
  10886. "type": "integer",
  10887. "description": "账户状态 - 4:正常 6:注销(停用)",
  10888. "name": "accountStatus",
  10889. "in": "query",
  10890. "required": true
  10891. }
  10892. ],
  10893. "responses": {
  10894. "200": {
  10895. "description": "OK",
  10896. "schema": {
  10897. "$ref": "#/definitions/app.Response"
  10898. }
  10899. },
  10900. "500": {
  10901. "description": "Internal Server Error",
  10902. "schema": {
  10903. "$ref": "#/definitions/app.Response"
  10904. }
  10905. }
  10906. }
  10907. }
  10908. },
  10909. "/WRTrade/GetAllDeliveryGoods": {
  10910. "get": {
  10911. "security": [
  10912. {
  10913. "ApiKeyAuth": []
  10914. },
  10915. {
  10916. "ApiKeyAuth": []
  10917. }
  10918. ],
  10919. "produces": [
  10920. "application/json",
  10921. "application/json"
  10922. ],
  10923. "tags": [
  10924. "仓单贸易",
  10925. "仓单贸易"
  10926. ],
  10927. "summary": "获取带仓单分类的种类信息",
  10928. "responses": {
  10929. "200": {
  10930. "description": "OK",
  10931. "schema": {
  10932. "$ref": "#/definitions/app.Response"
  10933. }
  10934. },
  10935. "500": {
  10936. "description": "Internal Server Error",
  10937. "schema": {
  10938. "$ref": "#/definitions/app.Response"
  10939. }
  10940. }
  10941. }
  10942. }
  10943. },
  10944. "/WrTrade2/QueryFaProductDetail": {
  10945. "get": {
  10946. "security": [
  10947. {
  10948. "ApiKeyAuth": []
  10949. }
  10950. ],
  10951. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10952. "produces": [
  10953. "application/json"
  10954. ],
  10955. "tags": [
  10956. "仓单贸易v2"
  10957. ],
  10958. "summary": "查询融资产品列表",
  10959. "parameters": [
  10960. {
  10961. "type": "integer",
  10962. "description": "仓单要素id",
  10963. "name": "wrfactortypeid",
  10964. "in": "query",
  10965. "required": true
  10966. }
  10967. ],
  10968. "responses": {
  10969. "200": {
  10970. "description": "OK",
  10971. "schema": {
  10972. "type": "array",
  10973. "items": {
  10974. "$ref": "#/definitions/models.WrFAProductDetail"
  10975. }
  10976. }
  10977. },
  10978. "500": {
  10979. "description": "Internal Server Error",
  10980. "schema": {
  10981. "$ref": "#/definitions/app.Response"
  10982. }
  10983. }
  10984. }
  10985. }
  10986. },
  10987. "/WrTrade2/QueryFilterItem": {
  10988. "get": {
  10989. "security": [
  10990. {
  10991. "ApiKeyAuth": []
  10992. }
  10993. ],
  10994. "produces": [
  10995. "application/json"
  10996. ],
  10997. "tags": [
  10998. "仓单贸易v2"
  10999. ],
  11000. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11001. "parameters": [
  11002. {
  11003. "type": "string",
  11004. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11005. "name": "itype",
  11006. "in": "query",
  11007. "required": true
  11008. }
  11009. ],
  11010. "responses": {
  11011. "200": {
  11012. "description": "OK",
  11013. "schema": {
  11014. "type": "array",
  11015. "items": {
  11016. "$ref": "#/definitions/models.WrFilterItem"
  11017. }
  11018. }
  11019. },
  11020. "500": {
  11021. "description": "Internal Server Error",
  11022. "schema": {
  11023. "$ref": "#/definitions/app.Response"
  11024. }
  11025. }
  11026. }
  11027. }
  11028. },
  11029. "/WrTrade2/QueryFtDeliveryGoods": {
  11030. "get": {
  11031. "security": [
  11032. {
  11033. "ApiKeyAuth": []
  11034. }
  11035. ],
  11036. "produces": [
  11037. "application/json"
  11038. ],
  11039. "tags": [
  11040. "仓单贸易v2"
  11041. ],
  11042. "summary": "查询品种品类筛选框列表",
  11043. "responses": {
  11044. "200": {
  11045. "description": "OK",
  11046. "schema": {
  11047. "type": "array",
  11048. "items": {
  11049. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11050. }
  11051. }
  11052. },
  11053. "500": {
  11054. "description": "Internal Server Error",
  11055. "schema": {
  11056. "$ref": "#/definitions/app.Response"
  11057. }
  11058. }
  11059. }
  11060. }
  11061. },
  11062. "/WrTrade2/QueryHoldLB": {
  11063. "get": {
  11064. "security": [
  11065. {
  11066. "ApiKeyAuth": []
  11067. }
  11068. ],
  11069. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11070. "produces": [
  11071. "application/json"
  11072. ],
  11073. "tags": [
  11074. "仓单贸易v2"
  11075. ],
  11076. "summary": "查询仓单持有记录",
  11077. "parameters": [
  11078. {
  11079. "type": "integer",
  11080. "description": "资金账号",
  11081. "name": "accountid",
  11082. "in": "query",
  11083. "required": true
  11084. },
  11085. {
  11086. "type": "integer",
  11087. "description": "仓库id",
  11088. "name": "warehouseid",
  11089. "in": "query"
  11090. },
  11091. {
  11092. "type": "integer",
  11093. "description": "品种id",
  11094. "name": "deliverygoodsid",
  11095. "in": "query"
  11096. },
  11097. {
  11098. "type": "integer",
  11099. "description": "品类id",
  11100. "name": "wrstandardid",
  11101. "in": "query"
  11102. },
  11103. {
  11104. "type": "integer",
  11105. "description": "仓单要素id",
  11106. "name": "wrfactortypeid",
  11107. "in": "query"
  11108. }
  11109. ],
  11110. "responses": {
  11111. "200": {
  11112. "description": "OK",
  11113. "schema": {
  11114. "type": "array",
  11115. "items": {
  11116. "$ref": "#/definitions/models.WrHoldLB"
  11117. }
  11118. }
  11119. },
  11120. "500": {
  11121. "description": "Internal Server Error",
  11122. "schema": {
  11123. "$ref": "#/definitions/app.Response"
  11124. }
  11125. }
  11126. }
  11127. }
  11128. },
  11129. "/WrTrade2/QueryOrderQuote": {
  11130. "get": {
  11131. "security": [
  11132. {
  11133. "ApiKeyAuth": []
  11134. }
  11135. ],
  11136. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11137. "produces": [
  11138. "application/json"
  11139. ],
  11140. "tags": [
  11141. "仓单贸易v2"
  11142. ],
  11143. "summary": "查询大厅行情列表",
  11144. "parameters": [
  11145. {
  11146. "type": "integer",
  11147. "description": "页码",
  11148. "name": "page",
  11149. "in": "query"
  11150. },
  11151. {
  11152. "type": "integer",
  11153. "description": "每页条数",
  11154. "name": "pagesize",
  11155. "in": "query"
  11156. },
  11157. {
  11158. "type": "integer",
  11159. "description": "仓单贸易市场id",
  11160. "name": "marketid",
  11161. "in": "query"
  11162. },
  11163. {
  11164. "type": "integer",
  11165. "description": "价格方式 - 1:固定价 2-浮动价",
  11166. "name": "wrpricetype",
  11167. "in": "query",
  11168. "required": true
  11169. },
  11170. {
  11171. "type": "integer",
  11172. "description": "0:仓单预售 1:仓单贸易",
  11173. "name": "haswr",
  11174. "in": "query",
  11175. "required": true
  11176. },
  11177. {
  11178. "type": "string",
  11179. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11180. "name": "dgitemname",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "仓库id(筛选条件)",
  11186. "name": "warehouseid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "integer",
  11191. "description": "品种id",
  11192. "name": "deliverygoodsid",
  11193. "in": "query"
  11194. },
  11195. {
  11196. "type": "integer",
  11197. "description": "品类id",
  11198. "name": "wrstandardid",
  11199. "in": "query"
  11200. },
  11201. {
  11202. "type": "integer",
  11203. "description": "仓单要素id",
  11204. "name": "wrfactortypeid",
  11205. "in": "query"
  11206. },
  11207. {
  11208. "type": "string",
  11209. "description": "交收月(yyyy-mm) 仓单预售填写",
  11210. "name": "deliverymonth",
  11211. "in": "query"
  11212. }
  11213. ],
  11214. "responses": {
  11215. "200": {
  11216. "description": "OK",
  11217. "schema": {
  11218. "type": "array",
  11219. "items": {
  11220. "$ref": "#/definitions/models.WrOrderQuote"
  11221. }
  11222. }
  11223. },
  11224. "500": {
  11225. "description": "Internal Server Error",
  11226. "schema": {
  11227. "$ref": "#/definitions/app.Response"
  11228. }
  11229. }
  11230. }
  11231. }
  11232. },
  11233. "/WrTrade2/QueryOrderQuoteDetail": {
  11234. "get": {
  11235. "security": [
  11236. {
  11237. "ApiKeyAuth": []
  11238. }
  11239. ],
  11240. "produces": [
  11241. "application/json"
  11242. ],
  11243. "tags": [
  11244. "仓单贸易v2"
  11245. ],
  11246. "summary": "查询买卖大厅",
  11247. "parameters": [
  11248. {
  11249. "type": "integer",
  11250. "description": "页码",
  11251. "name": "page",
  11252. "in": "query"
  11253. },
  11254. {
  11255. "type": "integer",
  11256. "description": "每页条数",
  11257. "name": "pagesize",
  11258. "in": "query"
  11259. },
  11260. {
  11261. "type": "integer",
  11262. "description": "仓单贸易市场id",
  11263. "name": "marketid",
  11264. "in": "query"
  11265. },
  11266. {
  11267. "type": "integer",
  11268. "description": "价格方式 - 1:固定价 2-浮动价",
  11269. "name": "wrpricetype",
  11270. "in": "query",
  11271. "required": true
  11272. },
  11273. {
  11274. "type": "integer",
  11275. "description": "0:仓单预售 1:仓单贸易",
  11276. "name": "haswr",
  11277. "in": "query",
  11278. "required": true
  11279. },
  11280. {
  11281. "type": "integer",
  11282. "description": "仓单要素id",
  11283. "name": "wrfactortypeid",
  11284. "in": "query",
  11285. "required": true
  11286. },
  11287. {
  11288. "type": "integer",
  11289. "description": "期货商品id(浮动价方式时填)",
  11290. "name": "goodsid",
  11291. "in": "query"
  11292. },
  11293. {
  11294. "type": "integer",
  11295. "description": "买卖方向 0-买 1-卖",
  11296. "name": "buyorsell",
  11297. "in": "query",
  11298. "required": true
  11299. },
  11300. {
  11301. "type": "string",
  11302. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11303. "name": "deliverymonth",
  11304. "in": "query"
  11305. }
  11306. ],
  11307. "responses": {
  11308. "200": {
  11309. "description": "OK",
  11310. "schema": {
  11311. "type": "array",
  11312. "items": {
  11313. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11314. }
  11315. }
  11316. },
  11317. "500": {
  11318. "description": "Internal Server Error",
  11319. "schema": {
  11320. "$ref": "#/definitions/app.Response"
  11321. }
  11322. }
  11323. }
  11324. }
  11325. },
  11326. "/WrTrade2/QueryOrderQuoteMyq": {
  11327. "get": {
  11328. "security": [
  11329. {
  11330. "ApiKeyAuth": []
  11331. }
  11332. ],
  11333. "produces": [
  11334. "application/json"
  11335. ],
  11336. "tags": [
  11337. "仓单贸易v2"
  11338. ],
  11339. "summary": "查询贸易圈挂牌大厅",
  11340. "parameters": [
  11341. {
  11342. "type": "integer",
  11343. "description": "页码",
  11344. "name": "page",
  11345. "in": "query"
  11346. },
  11347. {
  11348. "type": "integer",
  11349. "description": "每页条数",
  11350. "name": "pagesize",
  11351. "in": "query"
  11352. },
  11353. {
  11354. "type": "integer",
  11355. "description": "用户id",
  11356. "name": "userid",
  11357. "in": "query",
  11358. "required": true
  11359. },
  11360. {
  11361. "type": "integer",
  11362. "description": "仓单贸易市场id",
  11363. "name": "marketid",
  11364. "in": "query"
  11365. },
  11366. {
  11367. "type": "integer",
  11368. "description": "0:仓单预售 1:仓单贸易",
  11369. "name": "haswr",
  11370. "in": "query",
  11371. "required": true
  11372. },
  11373. {
  11374. "type": "integer",
  11375. "description": "买卖方向 0-买 1-卖",
  11376. "name": "buyorsell",
  11377. "in": "query",
  11378. "required": true
  11379. },
  11380. {
  11381. "type": "integer",
  11382. "description": "品种id",
  11383. "name": "deliverygoodsid",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "integer",
  11388. "description": "品类id",
  11389. "name": "wrstandardid",
  11390. "in": "query"
  11391. },
  11392. {
  11393. "type": "string",
  11394. "description": "交收月(yyyy-mm) 仓单预售填写",
  11395. "name": "deliverymonth",
  11396. "in": "query"
  11397. },
  11398. {
  11399. "type": "string",
  11400. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11401. "name": "dgitemname",
  11402. "in": "query"
  11403. }
  11404. ],
  11405. "responses": {
  11406. "200": {
  11407. "description": "OK",
  11408. "schema": {
  11409. "type": "array",
  11410. "items": {
  11411. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11412. }
  11413. }
  11414. },
  11415. "500": {
  11416. "description": "Internal Server Error",
  11417. "schema": {
  11418. "$ref": "#/definitions/app.Response"
  11419. }
  11420. }
  11421. }
  11422. }
  11423. },
  11424. "/WrTrade2/QueryPerformancePlan": {
  11425. "get": {
  11426. "security": [
  11427. {
  11428. "ApiKeyAuth": []
  11429. }
  11430. ],
  11431. "produces": [
  11432. "application/json"
  11433. ],
  11434. "tags": [
  11435. "仓单贸易v2"
  11436. ],
  11437. "summary": "查询履约信息",
  11438. "parameters": [
  11439. {
  11440. "type": "integer",
  11441. "description": "用户id",
  11442. "name": "userid",
  11443. "in": "query",
  11444. "required": true
  11445. },
  11446. {
  11447. "type": "integer",
  11448. "description": "买卖方向 0-买 1-卖",
  11449. "name": "buyorsell",
  11450. "in": "query",
  11451. "required": true
  11452. }
  11453. ],
  11454. "responses": {
  11455. "200": {
  11456. "description": "OK",
  11457. "schema": {
  11458. "type": "array",
  11459. "items": {
  11460. "$ref": "#/definitions/models.WrPerformancePlan"
  11461. }
  11462. }
  11463. },
  11464. "500": {
  11465. "description": "Internal Server Error",
  11466. "schema": {
  11467. "$ref": "#/definitions/app.Response"
  11468. }
  11469. }
  11470. }
  11471. }
  11472. },
  11473. "/WrTrade2/QueryPermancePlanTmp": {
  11474. "get": {
  11475. "security": [
  11476. {
  11477. "ApiKeyAuth": []
  11478. }
  11479. ],
  11480. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11481. "produces": [
  11482. "application/json"
  11483. ],
  11484. "tags": [
  11485. "仓单贸易v2"
  11486. ],
  11487. "summary": "查询履约模板",
  11488. "parameters": [
  11489. {
  11490. "type": "integer",
  11491. "description": "用户id",
  11492. "name": "userid",
  11493. "in": "query"
  11494. },
  11495. {
  11496. "type": "string",
  11497. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11498. "name": "tmptype",
  11499. "in": "query"
  11500. },
  11501. {
  11502. "type": "integer",
  11503. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11504. "name": "includepub",
  11505. "in": "query"
  11506. }
  11507. ],
  11508. "responses": {
  11509. "200": {
  11510. "description": "OK",
  11511. "schema": {
  11512. "type": "array",
  11513. "items": {
  11514. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11515. }
  11516. }
  11517. },
  11518. "500": {
  11519. "description": "Internal Server Error",
  11520. "schema": {
  11521. "$ref": "#/definitions/app.Response"
  11522. }
  11523. }
  11524. }
  11525. }
  11526. },
  11527. "/WrTrade2/QueryWrAverageTradePrice": {
  11528. "get": {
  11529. "security": [
  11530. {
  11531. "ApiKeyAuth": []
  11532. }
  11533. ],
  11534. "produces": [
  11535. "application/json"
  11536. ],
  11537. "tags": [
  11538. "仓单贸易v2"
  11539. ],
  11540. "summary": "查询成交价(历史走势)",
  11541. "parameters": [
  11542. {
  11543. "type": "integer",
  11544. "description": "页码",
  11545. "name": "page",
  11546. "in": "query"
  11547. },
  11548. {
  11549. "type": "integer",
  11550. "description": "每页条数",
  11551. "name": "pagesize",
  11552. "in": "query"
  11553. },
  11554. {
  11555. "type": "integer",
  11556. "description": "0:仓单预售 1:仓单贸易",
  11557. "name": "haswr",
  11558. "in": "query",
  11559. "required": true
  11560. },
  11561. {
  11562. "type": "integer",
  11563. "description": "仓单要素id",
  11564. "name": "wrfactortypeid",
  11565. "in": "query",
  11566. "required": true
  11567. }
  11568. ],
  11569. "responses": {
  11570. "200": {
  11571. "description": "OK",
  11572. "schema": {
  11573. "type": "array",
  11574. "items": {
  11575. "$ref": "#/definitions/models.WrAverageTradePrice"
  11576. }
  11577. }
  11578. },
  11579. "500": {
  11580. "description": "Internal Server Error",
  11581. "schema": {
  11582. "$ref": "#/definitions/app.Response"
  11583. }
  11584. }
  11585. }
  11586. }
  11587. },
  11588. "/WrTrade2/QueryWrBsGoodsInfo": {
  11589. "get": {
  11590. "security": [
  11591. {
  11592. "ApiKeyAuth": []
  11593. }
  11594. ],
  11595. "description": "合约交易/买卖大厅/详情",
  11596. "produces": [
  11597. "application/json"
  11598. ],
  11599. "tags": [
  11600. "仓单贸易v2"
  11601. ],
  11602. "summary": "查询合约交易买卖大厅详情",
  11603. "parameters": [
  11604. {
  11605. "type": "integer",
  11606. "description": "商品id",
  11607. "name": "goodsid",
  11608. "in": "query",
  11609. "required": true
  11610. }
  11611. ],
  11612. "responses": {
  11613. "200": {
  11614. "description": "OK",
  11615. "schema": {
  11616. "type": "array",
  11617. "items": {
  11618. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11619. }
  11620. }
  11621. },
  11622. "500": {
  11623. "description": "Internal Server Error",
  11624. "schema": {
  11625. "$ref": "#/definitions/app.Response"
  11626. }
  11627. }
  11628. }
  11629. }
  11630. },
  11631. "/WrTrade2/QueryWrBuybackDetail": {
  11632. "get": {
  11633. "security": [
  11634. {
  11635. "ApiKeyAuth": []
  11636. }
  11637. ],
  11638. "produces": [
  11639. "application/json"
  11640. ],
  11641. "tags": [
  11642. "仓单贸易v2"
  11643. ],
  11644. "summary": "查询仓单回购明细",
  11645. "parameters": [
  11646. {
  11647. "type": "integer",
  11648. "description": "融资合同id",
  11649. "name": "scfcontractid",
  11650. "in": "query"
  11651. }
  11652. ],
  11653. "responses": {
  11654. "200": {
  11655. "description": "OK",
  11656. "schema": {
  11657. "type": "array",
  11658. "items": {
  11659. "$ref": "#/definitions/models.WrBuybackDetail"
  11660. }
  11661. }
  11662. },
  11663. "500": {
  11664. "description": "Internal Server Error",
  11665. "schema": {
  11666. "$ref": "#/definitions/app.Response"
  11667. }
  11668. }
  11669. }
  11670. }
  11671. },
  11672. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11673. "get": {
  11674. "security": [
  11675. {
  11676. "ApiKeyAuth": []
  11677. }
  11678. ],
  11679. "produces": [
  11680. "application/json"
  11681. ],
  11682. "tags": [
  11683. "仓单贸易v2"
  11684. ],
  11685. "summary": "查询合约交收可点选仓单",
  11686. "parameters": [
  11687. {
  11688. "type": "integer",
  11689. "description": "资金账号",
  11690. "name": "accountid",
  11691. "in": "query",
  11692. "required": true
  11693. },
  11694. {
  11695. "type": "integer",
  11696. "description": "商品id",
  11697. "name": "goodsid",
  11698. "in": "query",
  11699. "required": true
  11700. }
  11701. ],
  11702. "responses": {
  11703. "200": {
  11704. "description": "OK",
  11705. "schema": {
  11706. "type": "array",
  11707. "items": {
  11708. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  11709. }
  11710. }
  11711. },
  11712. "500": {
  11713. "description": "Internal Server Error",
  11714. "schema": {
  11715. "$ref": "#/definitions/app.Response"
  11716. }
  11717. }
  11718. }
  11719. }
  11720. },
  11721. "/WrTrade2/QueryWrDeliveryDetail": {
  11722. "get": {
  11723. "security": [
  11724. {
  11725. "ApiKeyAuth": []
  11726. }
  11727. ],
  11728. "produces": [
  11729. "application/json"
  11730. ],
  11731. "tags": [
  11732. "仓单贸易v2"
  11733. ],
  11734. "summary": "查询交收",
  11735. "parameters": [
  11736. {
  11737. "type": "integer",
  11738. "description": "用户id",
  11739. "name": "userid",
  11740. "in": "query",
  11741. "required": true
  11742. },
  11743. {
  11744. "type": "integer",
  11745. "description": "资金账号id",
  11746. "name": "accountid",
  11747. "in": "query"
  11748. }
  11749. ],
  11750. "responses": {
  11751. "200": {
  11752. "description": "OK",
  11753. "schema": {
  11754. "type": "array",
  11755. "items": {
  11756. "$ref": "#/definitions/models.WrDeliveryDetail"
  11757. }
  11758. }
  11759. },
  11760. "500": {
  11761. "description": "Internal Server Error",
  11762. "schema": {
  11763. "$ref": "#/definitions/app.Response"
  11764. }
  11765. }
  11766. }
  11767. }
  11768. },
  11769. "/WrTrade2/QueryWrFactorTypeInfo": {
  11770. "get": {
  11771. "security": [
  11772. {
  11773. "ApiKeyAuth": []
  11774. }
  11775. ],
  11776. "produces": [
  11777. "application/json"
  11778. ],
  11779. "tags": [
  11780. "仓单贸易v2"
  11781. ],
  11782. "summary": "查询仓单要素详细信息",
  11783. "parameters": [
  11784. {
  11785. "type": "integer",
  11786. "description": "仓单要素id",
  11787. "name": "wrfactortypeid",
  11788. "in": "query",
  11789. "required": true
  11790. }
  11791. ],
  11792. "responses": {
  11793. "200": {
  11794. "description": "OK",
  11795. "schema": {
  11796. "type": "array",
  11797. "items": {
  11798. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11799. }
  11800. }
  11801. },
  11802. "500": {
  11803. "description": "Internal Server Error",
  11804. "schema": {
  11805. "$ref": "#/definitions/app.Response"
  11806. }
  11807. }
  11808. }
  11809. }
  11810. },
  11811. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11812. "get": {
  11813. "security": [
  11814. {
  11815. "ApiKeyAuth": []
  11816. }
  11817. ],
  11818. "produces": [
  11819. "application/json"
  11820. ],
  11821. "tags": [
  11822. "仓单贸易v2"
  11823. ],
  11824. "summary": "查询仓单要素详细信息列表项",
  11825. "parameters": [
  11826. {
  11827. "type": "integer",
  11828. "description": "仓单要素id",
  11829. "name": "wrfactortypeid",
  11830. "in": "query",
  11831. "required": true
  11832. }
  11833. ],
  11834. "responses": {
  11835. "200": {
  11836. "description": "OK",
  11837. "schema": {
  11838. "type": "array",
  11839. "items": {
  11840. "$ref": "#/definitions/models.WrTypeItem"
  11841. }
  11842. }
  11843. },
  11844. "500": {
  11845. "description": "Internal Server Error",
  11846. "schema": {
  11847. "$ref": "#/definitions/app.Response"
  11848. }
  11849. }
  11850. }
  11851. }
  11852. },
  11853. "/WrTrade2/QueryWrFinanceBuyApply": {
  11854. "get": {
  11855. "security": [
  11856. {
  11857. "ApiKeyAuth": []
  11858. }
  11859. ],
  11860. "description": "页面 融资信息+ / 申请单",
  11861. "produces": [
  11862. "application/json"
  11863. ],
  11864. "tags": [
  11865. "仓单贸易v2"
  11866. ],
  11867. "summary": "查询融资购买申请",
  11868. "parameters": [
  11869. {
  11870. "type": "integer",
  11871. "description": "用户id",
  11872. "name": "userid",
  11873. "in": "query",
  11874. "required": true
  11875. }
  11876. ],
  11877. "responses": {
  11878. "200": {
  11879. "description": "OK",
  11880. "schema": {
  11881. "type": "array",
  11882. "items": {
  11883. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11884. }
  11885. }
  11886. },
  11887. "500": {
  11888. "description": "Internal Server Error",
  11889. "schema": {
  11890. "$ref": "#/definitions/app.Response"
  11891. }
  11892. }
  11893. }
  11894. }
  11895. },
  11896. "/WrTrade2/QueryWrFriendApply": {
  11897. "get": {
  11898. "security": [
  11899. {
  11900. "ApiKeyAuth": []
  11901. }
  11902. ],
  11903. "produces": [
  11904. "application/json"
  11905. ],
  11906. "tags": [
  11907. "仓单贸易v2"
  11908. ],
  11909. "summary": "查询好友申请记录",
  11910. "parameters": [
  11911. {
  11912. "type": "integer",
  11913. "description": "用户id",
  11914. "name": "userid",
  11915. "in": "query",
  11916. "required": true
  11917. }
  11918. ],
  11919. "responses": {
  11920. "200": {
  11921. "description": "OK",
  11922. "schema": {
  11923. "type": "array",
  11924. "items": {
  11925. "$ref": "#/definitions/models.WrFriendApply"
  11926. }
  11927. }
  11928. },
  11929. "500": {
  11930. "description": "Internal Server Error",
  11931. "schema": {
  11932. "$ref": "#/definitions/app.Response"
  11933. }
  11934. }
  11935. }
  11936. }
  11937. },
  11938. "/WrTrade2/QueryWrGoodsInfo": {
  11939. "get": {
  11940. "security": [
  11941. {
  11942. "ApiKeyAuth": []
  11943. }
  11944. ],
  11945. "produces": [
  11946. "application/json"
  11947. ],
  11948. "tags": [
  11949. "仓单贸易v2"
  11950. ],
  11951. "summary": "查询仓单商品信息",
  11952. "parameters": [
  11953. {
  11954. "type": "integer",
  11955. "description": "仓单贸易市场id",
  11956. "name": "marketid",
  11957. "in": "query"
  11958. },
  11959. {
  11960. "type": "integer",
  11961. "description": "0:仓单预售 1:仓单贸易",
  11962. "name": "haswr",
  11963. "in": "query",
  11964. "required": true
  11965. },
  11966. {
  11967. "type": "integer",
  11968. "description": "仓单要素id",
  11969. "name": "wrfactortypeid",
  11970. "in": "query",
  11971. "required": true
  11972. },
  11973. {
  11974. "type": "integer",
  11975. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  11976. "name": "tmplateid",
  11977. "in": "query"
  11978. }
  11979. ],
  11980. "responses": {
  11981. "200": {
  11982. "description": "OK",
  11983. "schema": {
  11984. "type": "array",
  11985. "items": {
  11986. "$ref": "#/definitions/models.WrGoodsInfo"
  11987. }
  11988. }
  11989. },
  11990. "500": {
  11991. "description": "Internal Server Error",
  11992. "schema": {
  11993. "$ref": "#/definitions/app.Response"
  11994. }
  11995. }
  11996. }
  11997. }
  11998. },
  11999. "/WrTrade2/QueryWrMarketTradeConfig": {
  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": "marketid",
  12018. "in": "query"
  12019. }
  12020. ],
  12021. "responses": {
  12022. "200": {
  12023. "description": "OK",
  12024. "schema": {
  12025. "type": "array",
  12026. "items": {
  12027. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12028. }
  12029. }
  12030. },
  12031. "500": {
  12032. "description": "Internal Server Error",
  12033. "schema": {
  12034. "$ref": "#/definitions/app.Response"
  12035. }
  12036. }
  12037. }
  12038. }
  12039. },
  12040. "/WrTrade2/QueryWrOrderDetail": {
  12041. "get": {
  12042. "security": [
  12043. {
  12044. "ApiKeyAuth": []
  12045. }
  12046. ],
  12047. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12048. "produces": [
  12049. "application/json"
  12050. ],
  12051. "tags": [
  12052. "仓单贸易v2"
  12053. ],
  12054. "summary": "查询仓单委托单(挂单)",
  12055. "parameters": [
  12056. {
  12057. "type": "integer",
  12058. "description": "页码",
  12059. "name": "page",
  12060. "in": "query"
  12061. },
  12062. {
  12063. "type": "integer",
  12064. "description": "每页条数",
  12065. "name": "pagesize",
  12066. "in": "query"
  12067. },
  12068. {
  12069. "type": "integer",
  12070. "description": "用户id",
  12071. "name": "userid",
  12072. "in": "query",
  12073. "required": true
  12074. },
  12075. {
  12076. "type": "integer",
  12077. "description": "仓单贸易市场id",
  12078. "name": "marketid",
  12079. "in": "query"
  12080. },
  12081. {
  12082. "type": "integer",
  12083. "description": "0:仓单预售 1:仓单贸易",
  12084. "name": "haswr",
  12085. "in": "query",
  12086. "required": true
  12087. }
  12088. ],
  12089. "responses": {
  12090. "200": {
  12091. "description": "OK",
  12092. "schema": {
  12093. "type": "array",
  12094. "items": {
  12095. "$ref": "#/definitions/models.WrOrderDetail"
  12096. }
  12097. }
  12098. },
  12099. "500": {
  12100. "description": "Internal Server Error",
  12101. "schema": {
  12102. "$ref": "#/definitions/app.Response"
  12103. }
  12104. }
  12105. }
  12106. }
  12107. },
  12108. "/WrTrade2/QueryWrOutInApply": {
  12109. "get": {
  12110. "security": [
  12111. {
  12112. "ApiKeyAuth": []
  12113. }
  12114. ],
  12115. "produces": [
  12116. "application/json"
  12117. ],
  12118. "tags": [
  12119. "仓单贸易v2"
  12120. ],
  12121. "summary": "查询提货申请",
  12122. "parameters": [
  12123. {
  12124. "type": "integer",
  12125. "description": "用户id",
  12126. "name": "userid",
  12127. "in": "query",
  12128. "required": true
  12129. }
  12130. ],
  12131. "responses": {
  12132. "200": {
  12133. "description": "OK",
  12134. "schema": {
  12135. "type": "array",
  12136. "items": {
  12137. "$ref": "#/definitions/models.WrOutInApply"
  12138. }
  12139. }
  12140. },
  12141. "500": {
  12142. "description": "Internal Server Error",
  12143. "schema": {
  12144. "$ref": "#/definitions/app.Response"
  12145. }
  12146. }
  12147. }
  12148. }
  12149. },
  12150. "/WrTrade2/QueryWrPerformancePlanStep": {
  12151. "get": {
  12152. "security": [
  12153. {
  12154. "ApiKeyAuth": []
  12155. }
  12156. ],
  12157. "produces": [
  12158. "application/json"
  12159. ],
  12160. "tags": [
  12161. "仓单贸易v2"
  12162. ],
  12163. "summary": "查询履约信息详情",
  12164. "parameters": [
  12165. {
  12166. "type": "integer",
  12167. "description": "履约计划id(performanceplanid)",
  12168. "name": "planid",
  12169. "in": "query",
  12170. "required": true
  12171. },
  12172. {
  12173. "type": "integer",
  12174. "description": "当前步骤id",
  12175. "name": "curstepid",
  12176. "in": "query"
  12177. }
  12178. ],
  12179. "responses": {
  12180. "200": {
  12181. "description": "OK",
  12182. "schema": {
  12183. "type": "array",
  12184. "items": {
  12185. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12186. }
  12187. }
  12188. },
  12189. "500": {
  12190. "description": "Internal Server Error",
  12191. "schema": {
  12192. "$ref": "#/definitions/app.Response"
  12193. }
  12194. }
  12195. }
  12196. }
  12197. },
  12198. "/WrTrade2/QueryWrPerformanceStepType": {
  12199. "get": {
  12200. "security": [
  12201. {
  12202. "ApiKeyAuth": []
  12203. }
  12204. ],
  12205. "produces": [
  12206. "application/json"
  12207. ],
  12208. "tags": [
  12209. "仓单贸易v2"
  12210. ],
  12211. "summary": "查询履约步骤枚举",
  12212. "responses": {
  12213. "200": {
  12214. "description": "OK",
  12215. "schema": {
  12216. "type": "array",
  12217. "items": {
  12218. "$ref": "#/definitions/models.WrPerformanceStepType"
  12219. }
  12220. }
  12221. },
  12222. "500": {
  12223. "description": "Internal Server Error",
  12224. "schema": {
  12225. "$ref": "#/definitions/app.Response"
  12226. }
  12227. }
  12228. }
  12229. }
  12230. },
  12231. "/WrTrade2/QueryWrPosition": {
  12232. "get": {
  12233. "security": [
  12234. {
  12235. "ApiKeyAuth": []
  12236. }
  12237. ],
  12238. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12239. "produces": [
  12240. "application/json"
  12241. ],
  12242. "tags": [
  12243. "仓单贸易v2"
  12244. ],
  12245. "summary": "查询现货(预售)仓单持仓",
  12246. "parameters": [
  12247. {
  12248. "type": "integer",
  12249. "description": "用户id",
  12250. "name": "userid",
  12251. "in": "query",
  12252. "required": true
  12253. },
  12254. {
  12255. "type": "integer",
  12256. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12257. "name": "querytype",
  12258. "in": "query",
  12259. "required": true
  12260. },
  12261. {
  12262. "type": "integer",
  12263. "description": "0:仓单预售 1:仓单贸易",
  12264. "name": "haswr",
  12265. "in": "query",
  12266. "required": true
  12267. },
  12268. {
  12269. "type": "string",
  12270. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12271. "name": "dgitemname",
  12272. "in": "query"
  12273. },
  12274. {
  12275. "type": "integer",
  12276. "description": "仓库id(筛选条件)",
  12277. "name": "warehouseid",
  12278. "in": "query"
  12279. },
  12280. {
  12281. "type": "integer",
  12282. "description": "品种id",
  12283. "name": "deliverygoodsid",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "integer",
  12288. "description": "品类id",
  12289. "name": "wrstandardid",
  12290. "in": "query"
  12291. }
  12292. ],
  12293. "responses": {
  12294. "200": {
  12295. "description": "OK",
  12296. "schema": {
  12297. "type": "array",
  12298. "items": {
  12299. "$ref": "#/definitions/models.WrPosition"
  12300. }
  12301. }
  12302. },
  12303. "500": {
  12304. "description": "Internal Server Error",
  12305. "schema": {
  12306. "$ref": "#/definitions/app.Response"
  12307. }
  12308. }
  12309. }
  12310. }
  12311. },
  12312. "/WrTrade2/QueryWrScfContract": {
  12313. "get": {
  12314. "security": [
  12315. {
  12316. "ApiKeyAuth": []
  12317. }
  12318. ],
  12319. "produces": [
  12320. "application/json"
  12321. ],
  12322. "tags": [
  12323. "仓单贸易v2"
  12324. ],
  12325. "summary": "查询仓单贸易融资合同",
  12326. "parameters": [
  12327. {
  12328. "type": "integer",
  12329. "description": "用户id",
  12330. "name": "userid",
  12331. "in": "query",
  12332. "required": true
  12333. },
  12334. {
  12335. "type": "integer",
  12336. "description": "融资合同id",
  12337. "name": "scfcontractid",
  12338. "in": "query"
  12339. }
  12340. ],
  12341. "responses": {
  12342. "200": {
  12343. "description": "OK",
  12344. "schema": {
  12345. "type": "array",
  12346. "items": {
  12347. "$ref": "#/definitions/models.WrScfContract"
  12348. }
  12349. }
  12350. },
  12351. "500": {
  12352. "description": "Internal Server Error",
  12353. "schema": {
  12354. "$ref": "#/definitions/app.Response"
  12355. }
  12356. }
  12357. }
  12358. }
  12359. },
  12360. "/WrTrade2/QueryWrScfContractInterest": {
  12361. "get": {
  12362. "security": [
  12363. {
  12364. "ApiKeyAuth": []
  12365. }
  12366. ],
  12367. "produces": [
  12368. "application/json"
  12369. ],
  12370. "tags": [
  12371. "仓单贸易v2"
  12372. ],
  12373. "summary": "查询融资合同费用明细",
  12374. "parameters": [
  12375. {
  12376. "type": "integer",
  12377. "description": "融资合同id",
  12378. "name": "scfcontractid",
  12379. "in": "query"
  12380. }
  12381. ],
  12382. "responses": {
  12383. "200": {
  12384. "description": "OK",
  12385. "schema": {
  12386. "type": "array",
  12387. "items": {
  12388. "$ref": "#/definitions/models.WrScfContractInterest"
  12389. }
  12390. }
  12391. },
  12392. "500": {
  12393. "description": "Internal Server Error",
  12394. "schema": {
  12395. "$ref": "#/definitions/app.Response"
  12396. }
  12397. }
  12398. }
  12399. }
  12400. },
  12401. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12402. "get": {
  12403. "security": [
  12404. {
  12405. "ApiKeyAuth": []
  12406. }
  12407. ],
  12408. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12409. "produces": [
  12410. "application/json"
  12411. ],
  12412. "tags": [
  12413. "仓单贸易v2"
  12414. ],
  12415. "summary": "查询指定成交",
  12416. "parameters": [
  12417. {
  12418. "type": "integer",
  12419. "description": "页码",
  12420. "name": "page",
  12421. "in": "query"
  12422. },
  12423. {
  12424. "type": "integer",
  12425. "description": "每页条数",
  12426. "name": "pagesize",
  12427. "in": "query"
  12428. },
  12429. {
  12430. "type": "integer",
  12431. "description": "用户id",
  12432. "name": "userid",
  12433. "in": "query",
  12434. "required": true
  12435. },
  12436. {
  12437. "type": "integer",
  12438. "description": "仓单贸易市场id",
  12439. "name": "marketid",
  12440. "in": "query"
  12441. },
  12442. {
  12443. "type": "integer",
  12444. "description": "0:仓单预售 1:仓单贸易",
  12445. "name": "haswr",
  12446. "in": "query",
  12447. "required": true
  12448. }
  12449. ],
  12450. "responses": {
  12451. "200": {
  12452. "description": "OK",
  12453. "schema": {
  12454. "type": "array",
  12455. "items": {
  12456. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12457. }
  12458. }
  12459. },
  12460. "500": {
  12461. "description": "Internal Server Error",
  12462. "schema": {
  12463. "$ref": "#/definitions/app.Response"
  12464. }
  12465. }
  12466. }
  12467. }
  12468. },
  12469. "/WrTrade2/QueryWrStandardFactoryItem": {
  12470. "get": {
  12471. "security": [
  12472. {
  12473. "ApiKeyAuth": []
  12474. }
  12475. ],
  12476. "produces": [
  12477. "application/json"
  12478. ],
  12479. "tags": [
  12480. "仓单贸易v2"
  12481. ],
  12482. "summary": "查询品类要素定义项",
  12483. "parameters": [
  12484. {
  12485. "type": "integer",
  12486. "description": "品类id",
  12487. "name": "wrstandardid",
  12488. "in": "query",
  12489. "required": true
  12490. }
  12491. ],
  12492. "responses": {
  12493. "200": {
  12494. "description": "OK",
  12495. "schema": {
  12496. "type": "array",
  12497. "items": {
  12498. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12499. }
  12500. }
  12501. },
  12502. "500": {
  12503. "description": "Internal Server Error",
  12504. "schema": {
  12505. "$ref": "#/definitions/app.Response"
  12506. }
  12507. }
  12508. }
  12509. }
  12510. },
  12511. "/WrTrade2/QueryWrTradeBargainApply": {
  12512. "get": {
  12513. "security": [
  12514. {
  12515. "ApiKeyAuth": []
  12516. }
  12517. ],
  12518. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12519. "produces": [
  12520. "application/json"
  12521. ],
  12522. "tags": [
  12523. "仓单贸易v2"
  12524. ],
  12525. "summary": "查询议价单",
  12526. "parameters": [
  12527. {
  12528. "type": "integer",
  12529. "description": "议价人id(摘牌方)",
  12530. "name": "userid",
  12531. "in": "query"
  12532. },
  12533. {
  12534. "type": "integer",
  12535. "description": "关联委托单id",
  12536. "name": "wrtradeorderid",
  12537. "in": "query"
  12538. },
  12539. {
  12540. "type": "integer",
  12541. "description": "0:仓单预售 1:仓单贸易",
  12542. "name": "haswr",
  12543. "in": "query",
  12544. "required": true
  12545. }
  12546. ],
  12547. "responses": {
  12548. "200": {
  12549. "description": "OK",
  12550. "schema": {
  12551. "type": "array",
  12552. "items": {
  12553. "$ref": "#/definitions/models.WRTradeBargainApply"
  12554. }
  12555. }
  12556. },
  12557. "500": {
  12558. "description": "Internal Server Error",
  12559. "schema": {
  12560. "$ref": "#/definitions/app.Response"
  12561. }
  12562. }
  12563. }
  12564. }
  12565. },
  12566. "/WrTrade2/QueryWrTradeDetail": {
  12567. "get": {
  12568. "security": [
  12569. {
  12570. "ApiKeyAuth": []
  12571. }
  12572. ],
  12573. "produces": [
  12574. "application/json"
  12575. ],
  12576. "tags": [
  12577. "仓单贸易v2"
  12578. ],
  12579. "summary": "查询仓单成交明细",
  12580. "parameters": [
  12581. {
  12582. "type": "integer",
  12583. "description": "页码",
  12584. "name": "page",
  12585. "in": "query"
  12586. },
  12587. {
  12588. "type": "integer",
  12589. "description": "每页条数",
  12590. "name": "pagesize",
  12591. "in": "query"
  12592. },
  12593. {
  12594. "type": "integer",
  12595. "description": "用户id",
  12596. "name": "userid",
  12597. "in": "query",
  12598. "required": true
  12599. },
  12600. {
  12601. "type": "integer",
  12602. "description": "仓单贸易市场id",
  12603. "name": "marketid",
  12604. "in": "query"
  12605. },
  12606. {
  12607. "type": "integer",
  12608. "description": "0:仓单预售 1:仓单贸易",
  12609. "name": "haswr",
  12610. "in": "query",
  12611. "required": true
  12612. }
  12613. ],
  12614. "responses": {
  12615. "200": {
  12616. "description": "OK",
  12617. "schema": {
  12618. "type": "array",
  12619. "items": {
  12620. "$ref": "#/definitions/models.WrTradeDetail"
  12621. }
  12622. }
  12623. },
  12624. "500": {
  12625. "description": "Internal Server Error",
  12626. "schema": {
  12627. "$ref": "#/definitions/app.Response"
  12628. }
  12629. }
  12630. }
  12631. }
  12632. },
  12633. "/WrTrade2/QueryWrTradeOrderDetail": {
  12634. "get": {
  12635. "security": [
  12636. {
  12637. "ApiKeyAuth": []
  12638. }
  12639. ],
  12640. "produces": [
  12641. "application/json"
  12642. ],
  12643. "tags": [
  12644. "仓单贸易v2"
  12645. ],
  12646. "summary": "查询合约交易买卖大厅",
  12647. "parameters": [
  12648. {
  12649. "type": "integer",
  12650. "description": "页码",
  12651. "name": "page",
  12652. "in": "query"
  12653. },
  12654. {
  12655. "type": "integer",
  12656. "description": "每页条数",
  12657. "name": "pagesize",
  12658. "in": "query"
  12659. },
  12660. {
  12661. "type": "integer",
  12662. "description": "商品id",
  12663. "name": "goodsid",
  12664. "in": "query",
  12665. "required": true
  12666. },
  12667. {
  12668. "type": "integer",
  12669. "description": "买卖方向 0-买 1-卖",
  12670. "name": "buyorsell",
  12671. "in": "query",
  12672. "required": true
  12673. }
  12674. ],
  12675. "responses": {
  12676. "200": {
  12677. "description": "OK",
  12678. "schema": {
  12679. "type": "array",
  12680. "items": {
  12681. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12682. }
  12683. }
  12684. },
  12685. "500": {
  12686. "description": "Internal Server Error",
  12687. "schema": {
  12688. "$ref": "#/definitions/app.Response"
  12689. }
  12690. }
  12691. }
  12692. }
  12693. },
  12694. "/WrTrade2/QueryWrUserFriend": {
  12695. "get": {
  12696. "security": [
  12697. {
  12698. "ApiKeyAuth": []
  12699. }
  12700. ],
  12701. "produces": [
  12702. "application/json"
  12703. ],
  12704. "tags": [
  12705. "仓单贸易v2"
  12706. ],
  12707. "summary": "查询我的朋友",
  12708. "parameters": [
  12709. {
  12710. "type": "integer",
  12711. "description": "用户id",
  12712. "name": "userid",
  12713. "in": "query",
  12714. "required": true
  12715. },
  12716. {
  12717. "type": "integer",
  12718. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  12719. "name": "newuserid",
  12720. "in": "query"
  12721. }
  12722. ],
  12723. "responses": {
  12724. "200": {
  12725. "description": "OK",
  12726. "schema": {
  12727. "type": "array",
  12728. "items": {
  12729. "$ref": "#/definitions/models.WrUserFriend"
  12730. }
  12731. }
  12732. },
  12733. "500": {
  12734. "description": "Internal Server Error",
  12735. "schema": {
  12736. "$ref": "#/definitions/app.Response"
  12737. }
  12738. }
  12739. }
  12740. }
  12741. }
  12742. },
  12743. "definitions": {
  12744. "app.Response": {
  12745. "type": "object",
  12746. "properties": {
  12747. "code": {
  12748. "type": "integer"
  12749. },
  12750. "data": {
  12751. "type": "object"
  12752. },
  12753. "msg": {
  12754. "type": "string"
  12755. },
  12756. "page": {
  12757. "description": "页码",
  12758. "type": "integer"
  12759. },
  12760. "pagesize": {
  12761. "description": "每页条数",
  12762. "type": "integer"
  12763. },
  12764. "total": {
  12765. "description": "总条数",
  12766. "type": "integer"
  12767. }
  12768. }
  12769. },
  12770. "common.ClientMenu": {
  12771. "type": "object",
  12772. "properties": {
  12773. "children": {
  12774. "description": "子菜单列表",
  12775. "type": "array",
  12776. "items": {
  12777. "$ref": "#/definitions/common.ClientMenu"
  12778. }
  12779. },
  12780. "code": {
  12781. "description": "ID",
  12782. "type": "string"
  12783. },
  12784. "isshow": {
  12785. "description": "是否显示",
  12786. "type": "boolean"
  12787. },
  12788. "remark": {
  12789. "description": "备注",
  12790. "type": "string"
  12791. },
  12792. "rulekey": {
  12793. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12794. "type": "string"
  12795. },
  12796. "sort": {
  12797. "description": "排序",
  12798. "type": "integer"
  12799. },
  12800. "title": {
  12801. "description": "标题",
  12802. "type": "string"
  12803. },
  12804. "type": {
  12805. "description": "类型,1:菜单 2:按钮",
  12806. "type": "integer"
  12807. },
  12808. "url": {
  12809. "description": "URL",
  12810. "type": "string"
  12811. }
  12812. }
  12813. },
  12814. "common.QueryImageConfigsRsp": {
  12815. "type": "object",
  12816. "required": [
  12817. "configid"
  12818. ],
  12819. "properties": {
  12820. "areauserid": {
  12821. "description": "所属机构ID",
  12822. "type": "integer"
  12823. },
  12824. "configid": {
  12825. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12826. "type": "integer"
  12827. },
  12828. "createdate": {
  12829. "description": "创建时间",
  12830. "type": "string"
  12831. },
  12832. "creatorid": {
  12833. "description": "创建人",
  12834. "type": "integer"
  12835. },
  12836. "imagepath": {
  12837. "description": "图片",
  12838. "type": "string"
  12839. },
  12840. "imagetype": {
  12841. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  12842. "type": "integer"
  12843. },
  12844. "isshow": {
  12845. "description": "是否展示 - 0:不展示 1:展示",
  12846. "type": "integer"
  12847. },
  12848. "marketid": {
  12849. "description": "市场ID",
  12850. "type": "integer"
  12851. },
  12852. "modifierid": {
  12853. "description": "操作人",
  12854. "type": "integer"
  12855. },
  12856. "sort": {
  12857. "description": "排序",
  12858. "type": "integer"
  12859. },
  12860. "title": {
  12861. "description": "标题",
  12862. "type": "string"
  12863. },
  12864. "trademode": {
  12865. "description": "交易模式",
  12866. "type": "integer"
  12867. },
  12868. "updatedate": {
  12869. "description": "修改时间",
  12870. "type": "string"
  12871. },
  12872. "url": {
  12873. "description": "链接(地址或商品ID)",
  12874. "type": "string"
  12875. },
  12876. "urltype": {
  12877. "description": "链接类型 - 1:直接地址 2:商品ID",
  12878. "type": "integer"
  12879. }
  12880. }
  12881. },
  12882. "common.QueryNoticeRsp": {
  12883. "type": "object",
  12884. "required": [
  12885. "autoid"
  12886. ],
  12887. "properties": {
  12888. "auditoruserid": {
  12889. "description": "审核人",
  12890. "type": "integer"
  12891. },
  12892. "auditremark": {
  12893. "description": "审核备注",
  12894. "type": "string"
  12895. },
  12896. "audittime": {
  12897. "description": "审核日期",
  12898. "type": "string"
  12899. },
  12900. "autoid": {
  12901. "description": "自增ID",
  12902. "type": "integer"
  12903. },
  12904. "content": {
  12905. "description": "内容",
  12906. "type": "string"
  12907. },
  12908. "createtime": {
  12909. "description": "创建时间",
  12910. "type": "string"
  12911. },
  12912. "creatorid": {
  12913. "description": "建仓人",
  12914. "type": "integer"
  12915. },
  12916. "endtime": {
  12917. "description": "结束时间",
  12918. "type": "string"
  12919. },
  12920. "istop": {
  12921. "description": "是否置顶 - 0:不置顶 1:置顶",
  12922. "type": "integer"
  12923. },
  12924. "msgiconurl": {
  12925. "description": "消息图标Url",
  12926. "type": "string"
  12927. },
  12928. "msgtype": {
  12929. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12930. "type": "integer"
  12931. },
  12932. "publisher": {
  12933. "description": "消息发布者",
  12934. "type": "string"
  12935. },
  12936. "readed": {
  12937. "description": "是否已读",
  12938. "type": "boolean"
  12939. },
  12940. "scheduletime": {
  12941. "description": "计划发送时间",
  12942. "type": "string"
  12943. },
  12944. "sendtype": {
  12945. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12946. "type": "integer"
  12947. },
  12948. "sentstatus": {
  12949. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12950. "type": "integer"
  12951. },
  12952. "title": {
  12953. "description": "标题",
  12954. "type": "string"
  12955. },
  12956. "userid": {
  12957. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12958. "type": "integer"
  12959. }
  12960. }
  12961. },
  12962. "common.QueryProvincesAndCitiesRsp": {
  12963. "type": "object",
  12964. "properties": {
  12965. "cities": {
  12966. "description": "市",
  12967. "type": "array",
  12968. "items": {
  12969. "$ref": "#/definitions/models.Division"
  12970. }
  12971. },
  12972. "province": {
  12973. "description": "省",
  12974. "type": "object",
  12975. "$ref": "#/definitions/models.Division"
  12976. }
  12977. }
  12978. },
  12979. "common.QueryTableDefineRsp": {
  12980. "type": "object",
  12981. "required": [
  12982. "tablekey"
  12983. ],
  12984. "properties": {
  12985. "columns": {
  12986. "description": "列头信息数组",
  12987. "type": "array",
  12988. "items": {
  12989. "$ref": "#/definitions/models.Tablecolumnconfig"
  12990. }
  12991. },
  12992. "remark": {
  12993. "description": "Remark",
  12994. "type": "string"
  12995. },
  12996. "tabelmenu": {
  12997. "description": "列表菜单",
  12998. "type": "string"
  12999. },
  13000. "tablekey": {
  13001. "description": "列表Key",
  13002. "type": "string"
  13003. },
  13004. "tablename": {
  13005. "description": "列表名称",
  13006. "type": "string"
  13007. },
  13008. "tabletype": {
  13009. "description": "列表类型 - 1:管理端 2:终端",
  13010. "type": "integer"
  13011. }
  13012. }
  13013. },
  13014. "common.QueryTraderMenuRsp": {
  13015. "type": "object",
  13016. "properties": {
  13017. "OperationMenu": {
  13018. "description": "功能菜单",
  13019. "type": "array",
  13020. "items": {
  13021. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13022. }
  13023. },
  13024. "QuoteMenu": {
  13025. "description": "报价牌分类菜单",
  13026. "type": "array",
  13027. "items": {
  13028. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13029. }
  13030. }
  13031. }
  13032. },
  13033. "cptrade.Cptradepositioncancel": {
  13034. "type": "object",
  13035. "required": [
  13036. "cancelid"
  13037. ],
  13038. "properties": {
  13039. "accountid": {
  13040. "description": "申请人账户ID",
  13041. "type": "integer"
  13042. },
  13043. "applystatus": {
  13044. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13045. "type": "integer"
  13046. },
  13047. "applytime": {
  13048. "description": "申请时间",
  13049. "type": "string"
  13050. },
  13051. "cancelid": {
  13052. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13053. "type": "integer"
  13054. },
  13055. "cancelqty": {
  13056. "description": "注销数量",
  13057. "type": "integer"
  13058. },
  13059. "createtime": {
  13060. "description": "创建时间",
  13061. "type": "string"
  13062. },
  13063. "creatorid": {
  13064. "description": "创建人ID",
  13065. "type": "integer"
  13066. },
  13067. "creatorname": {
  13068. "description": "创建人",
  13069. "type": "string"
  13070. },
  13071. "goodscode": {
  13072. "description": "订单商品代码",
  13073. "type": "string"
  13074. },
  13075. "goodsid": {
  13076. "description": "商品ID",
  13077. "type": "integer"
  13078. },
  13079. "goodsname": {
  13080. "description": "订单商品名称",
  13081. "type": "string"
  13082. },
  13083. "goodunit": {
  13084. "description": "报价单位",
  13085. "type": "string"
  13086. },
  13087. "handlestatus": {
  13088. "description": "处理状态",
  13089. "type": "integer"
  13090. },
  13091. "marketid": {
  13092. "description": "市场ID",
  13093. "type": "integer"
  13094. },
  13095. "marketname": {
  13096. "description": "市场名称",
  13097. "type": "string"
  13098. },
  13099. "tradedate": {
  13100. "description": "交易日(yyyyMMdd)",
  13101. "type": "string"
  13102. },
  13103. "userid": {
  13104. "description": "申请人ID",
  13105. "type": "integer"
  13106. }
  13107. }
  13108. },
  13109. "cptrade.Cptradepresaleapply": {
  13110. "type": "object",
  13111. "required": [
  13112. "applyid"
  13113. ],
  13114. "properties": {
  13115. "accountid": {
  13116. "description": "申请人账户ID",
  13117. "type": "integer"
  13118. },
  13119. "applyid": {
  13120. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13121. "type": "integer"
  13122. },
  13123. "applyremark": {
  13124. "description": "申请备注",
  13125. "type": "string"
  13126. },
  13127. "applystatus": {
  13128. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13129. "type": "integer"
  13130. },
  13131. "applytime": {
  13132. "description": "申请时间",
  13133. "type": "string"
  13134. },
  13135. "attachmenturl": {
  13136. "description": "附件地址",
  13137. "type": "string"
  13138. },
  13139. "endtime": {
  13140. "description": "预售结束时间",
  13141. "type": "string"
  13142. },
  13143. "goodscode": {
  13144. "description": "商品代码",
  13145. "type": "string"
  13146. },
  13147. "goodsid": {
  13148. "description": "商品ID",
  13149. "type": "integer"
  13150. },
  13151. "goodsname": {
  13152. "description": "商品名称",
  13153. "type": "string"
  13154. },
  13155. "goodunit": {
  13156. "description": "报价单位",
  13157. "type": "string"
  13158. },
  13159. "handlestatus": {
  13160. "description": "处理状态",
  13161. "type": "integer"
  13162. },
  13163. "marketid": {
  13164. "description": "预售市场ID",
  13165. "type": "integer"
  13166. },
  13167. "marketname": {
  13168. "description": "预售市场名称",
  13169. "type": "string"
  13170. },
  13171. "presaleqty": {
  13172. "description": "预售数量",
  13173. "type": "integer"
  13174. },
  13175. "relatedgoodscode": {
  13176. "description": "关联交易合约代码",
  13177. "type": "string"
  13178. },
  13179. "relatedgoodsid": {
  13180. "description": "关联交易合约ID",
  13181. "type": "integer"
  13182. },
  13183. "relatedgoodsname": {
  13184. "description": "关联交易合约名称",
  13185. "type": "string"
  13186. },
  13187. "starttime": {
  13188. "description": "预售开始时间",
  13189. "type": "string"
  13190. },
  13191. "tradedate": {
  13192. "description": "交易日(yyyyMMdd)",
  13193. "type": "string"
  13194. },
  13195. "trademode": {
  13196. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13197. "type": "integer"
  13198. },
  13199. "userid": {
  13200. "description": "申请人ID",
  13201. "type": "integer"
  13202. }
  13203. }
  13204. },
  13205. "cptrade.Cptradeusergoodsdata": {
  13206. "type": "object",
  13207. "required": [
  13208. "accountid",
  13209. "goodsid"
  13210. ],
  13211. "properties": {
  13212. "EnabledQty": {
  13213. "description": "可用量",
  13214. "type": "integer"
  13215. },
  13216. "GoodsCode": {
  13217. "description": "订单商品代码",
  13218. "type": "string"
  13219. },
  13220. "GoodsName": {
  13221. "description": "订单商品名称",
  13222. "type": "string"
  13223. },
  13224. "WRStandardCode": {
  13225. "description": "仓单标准代码",
  13226. "type": "string"
  13227. },
  13228. "WRStandardName": {
  13229. "description": "仓单标准名称",
  13230. "type": "string"
  13231. },
  13232. "accountid": {
  13233. "description": "账户ID",
  13234. "type": "integer"
  13235. },
  13236. "cancelqty": {
  13237. "description": "注销量",
  13238. "type": "integer"
  13239. },
  13240. "curpresaleqty": {
  13241. "description": "当前预售量",
  13242. "type": "integer"
  13243. },
  13244. "deliveryqty": {
  13245. "description": "交割量",
  13246. "type": "integer"
  13247. },
  13248. "freezeamount": {
  13249. "description": "冻结金额",
  13250. "type": "number"
  13251. },
  13252. "goodsid": {
  13253. "description": "商品ID",
  13254. "type": "integer"
  13255. },
  13256. "goodunit": {
  13257. "description": "报价单位",
  13258. "type": "string"
  13259. },
  13260. "hasspotfreeze": {
  13261. "description": "是否有现货冻结 - 0:否 1:有",
  13262. "type": "integer"
  13263. },
  13264. "inqty": {
  13265. "description": "转入量(总数量)",
  13266. "type": "integer"
  13267. },
  13268. "marketid": {
  13269. "description": "市场ID",
  13270. "type": "integer"
  13271. },
  13272. "presaledamount": {
  13273. "description": "已预售总金额",
  13274. "type": "integer"
  13275. },
  13276. "presaledqty": {
  13277. "description": "已预售量",
  13278. "type": "integer"
  13279. },
  13280. "userid": {
  13281. "description": "用户ID",
  13282. "type": "integer"
  13283. },
  13284. "wrstandardid": {
  13285. "description": "仓单标准ID",
  13286. "type": "integer"
  13287. }
  13288. }
  13289. },
  13290. "cptrade.QueryCPTradeMyBidRsp": {
  13291. "type": "object",
  13292. "required": [
  13293. "accountid",
  13294. "goodsid",
  13295. "marketid",
  13296. "orderid",
  13297. "orderqty",
  13298. "ordertime",
  13299. "tradeprice",
  13300. "tradeqty"
  13301. ],
  13302. "properties": {
  13303. "accountid": {
  13304. "description": "账户ID[报价币种]",
  13305. "type": "integer"
  13306. },
  13307. "goodsid": {
  13308. "description": "商品ID",
  13309. "type": "integer"
  13310. },
  13311. "goodunit": {
  13312. "description": "报价单位",
  13313. "type": "string"
  13314. },
  13315. "marketid": {
  13316. "description": "市场ID",
  13317. "type": "integer"
  13318. },
  13319. "orderid": {
  13320. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13321. "type": "integer"
  13322. },
  13323. "orderprice": {
  13324. "description": "委托价格",
  13325. "type": "number"
  13326. },
  13327. "orderqty": {
  13328. "description": "委托数量",
  13329. "type": "integer"
  13330. },
  13331. "ordertime": {
  13332. "description": "委托时间",
  13333. "type": "string"
  13334. },
  13335. "ordertotalprice": {
  13336. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13337. "type": "number"
  13338. },
  13339. "ordertotalweight": {
  13340. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13341. "type": "integer"
  13342. },
  13343. "totaltotalprice": {
  13344. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13345. "type": "number"
  13346. },
  13347. "tradeprice": {
  13348. "description": "成交价格",
  13349. "type": "number"
  13350. },
  13351. "tradeqty": {
  13352. "description": "成交数量",
  13353. "type": "integer"
  13354. }
  13355. }
  13356. },
  13357. "cptrade.QueryCPTradeOrderDetailRsq": {
  13358. "type": "object",
  13359. "required": [
  13360. "accountid",
  13361. "buildtype",
  13362. "buyorsell",
  13363. "goodsid",
  13364. "marketid",
  13365. "memberuserid",
  13366. "operatetype",
  13367. "orderqty",
  13368. "ordertime",
  13369. "pricemode",
  13370. "strorderid",
  13371. "tradedate",
  13372. "validtype"
  13373. ],
  13374. "properties": {
  13375. "accountid": {
  13376. "description": "账户ID[报价币种]",
  13377. "type": "integer"
  13378. },
  13379. "buildtype": {
  13380. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13381. "type": "integer"
  13382. },
  13383. "buyorsell": {
  13384. "description": "买卖 - 0:买 1:卖",
  13385. "type": "integer"
  13386. },
  13387. "cancelorderid": {
  13388. "description": "撤单单号(撤单时填写)",
  13389. "type": "integer"
  13390. },
  13391. "cancelqty": {
  13392. "description": "撤单数量",
  13393. "type": "integer"
  13394. },
  13395. "clientordertime": {
  13396. "description": "客户端委托时间",
  13397. "type": "string"
  13398. },
  13399. "clientticket": {
  13400. "description": "客户端流水号",
  13401. "type": "string"
  13402. },
  13403. "clienttype": {
  13404. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13405. "type": "integer"
  13406. },
  13407. "closeexchagechargevalue": {
  13408. "description": "平仓交易所手续费设置值",
  13409. "type": "number"
  13410. },
  13411. "closefeealgorithm": {
  13412. "description": "平仓手续费收取方式 1:比率 2:固定",
  13413. "type": "integer"
  13414. },
  13415. "closefreezecharge": {
  13416. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13417. "type": "number"
  13418. },
  13419. "closememberchargevalue": {
  13420. "description": "平仓会员手续费设置值",
  13421. "type": "number"
  13422. },
  13423. "closeqty": {
  13424. "description": "平仓数量(先建后平操作 需要记录)",
  13425. "type": "integer"
  13426. },
  13427. "closetradeqty": {
  13428. "description": "平仓成交数量(先建后平操作,需要记录)",
  13429. "type": "integer"
  13430. },
  13431. "closeunfreezecharge": {
  13432. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13433. "type": "number"
  13434. },
  13435. "delistingtype": {
  13436. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13437. "type": "integer"
  13438. },
  13439. "freezecharge": {
  13440. "description": "冻结手续费",
  13441. "type": "number"
  13442. },
  13443. "freezemargin": {
  13444. "description": "冻结保证金(冻结交易金额)",
  13445. "type": "number"
  13446. },
  13447. "gcaccountid": {
  13448. "description": "账户ID[合约币种]",
  13449. "type": "integer"
  13450. },
  13451. "goodsid": {
  13452. "description": "商品ID",
  13453. "type": "integer"
  13454. },
  13455. "isconfirmexercise": {
  13456. "description": "是否确认行权- 0:否 1:是",
  13457. "type": "integer"
  13458. },
  13459. "ispreexercise": {
  13460. "description": "是否预申报- 0:否 1:是",
  13461. "type": "integer"
  13462. },
  13463. "listingselecttype": {
  13464. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13465. "type": "integer"
  13466. },
  13467. "marginalgorithm": {
  13468. "description": "保证金收取方式 1:比率 2:固定",
  13469. "type": "integer"
  13470. },
  13471. "marginvalue": {
  13472. "description": "即市保证金设置值",
  13473. "type": "number"
  13474. },
  13475. "marketid": {
  13476. "description": "市场ID",
  13477. "type": "integer"
  13478. },
  13479. "marketmaxsub": {
  13480. "description": "市价最大偏移范围",
  13481. "type": "number"
  13482. },
  13483. "memberuserid": {
  13484. "description": "所属会员UserID",
  13485. "type": "integer"
  13486. },
  13487. "openexchagechargevalue": {
  13488. "description": "建仓交易所手续费设置值",
  13489. "type": "number"
  13490. },
  13491. "openfeealgorithm": {
  13492. "description": "建仓手续费收取方式 1:比率 2:固定",
  13493. "type": "integer"
  13494. },
  13495. "openfreezecharge": {
  13496. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13497. "type": "number"
  13498. },
  13499. "openmemberchargevalue": {
  13500. "description": "建仓会员手续费设置值",
  13501. "type": "number"
  13502. },
  13503. "openqty": {
  13504. "description": "开仓数量(先建后平操作,需要记录)",
  13505. "type": "integer"
  13506. },
  13507. "opentradeqty": {
  13508. "description": "开仓成交数量(先建后平操作,需要记录)",
  13509. "type": "integer"
  13510. },
  13511. "openunfreezecharge": {
  13512. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13513. "type": "number"
  13514. },
  13515. "operatetype": {
  13516. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13517. "type": "integer"
  13518. },
  13519. "operatorid": {
  13520. "description": "登录账号(LoginID)",
  13521. "type": "integer"
  13522. },
  13523. "optiontype": {
  13524. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13525. "type": "integer"
  13526. },
  13527. "orderprice": {
  13528. "description": "委托价格",
  13529. "type": "number"
  13530. },
  13531. "orderqty": {
  13532. "description": "委托数量",
  13533. "type": "integer"
  13534. },
  13535. "ordersrc": {
  13536. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13537. "type": "integer"
  13538. },
  13539. "orderstatus": {
  13540. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13541. "type": "integer"
  13542. },
  13543. "ordertime": {
  13544. "description": "委托时间",
  13545. "type": "string"
  13546. },
  13547. "preexerciseprice": {
  13548. "description": "预申报价格",
  13549. "type": "number"
  13550. },
  13551. "premium": {
  13552. "description": "权利金",
  13553. "type": "number"
  13554. },
  13555. "preorderid": {
  13556. "description": "关联预埋单号(止盈止损单时填写)",
  13557. "type": "integer"
  13558. },
  13559. "pricemode": {
  13560. "description": "取价方式 - 1:市价 2: 限价",
  13561. "type": "integer"
  13562. },
  13563. "quoteid": {
  13564. "description": "报价单ID",
  13565. "type": "integer"
  13566. },
  13567. "relatedid": {
  13568. "description": "关联单号(交割单)",
  13569. "type": "integer"
  13570. },
  13571. "retcode": {
  13572. "description": "错误代码",
  13573. "type": "integer"
  13574. },
  13575. "sessionid": {
  13576. "description": "会话ID",
  13577. "type": "integer"
  13578. },
  13579. "strorderid": {
  13580. "description": "委托单号",
  13581. "type": "string"
  13582. },
  13583. "tradedate": {
  13584. "description": "交易日(yyyyMMdd)",
  13585. "type": "string"
  13586. },
  13587. "tradeproperty": {
  13588. "description": "交易属性",
  13589. "type": "integer"
  13590. },
  13591. "tradeqty": {
  13592. "description": "成交数量",
  13593. "type": "integer"
  13594. },
  13595. "unfreezecharge": {
  13596. "description": "解冻手续费",
  13597. "type": "number"
  13598. },
  13599. "unfreezemargin": {
  13600. "description": "解冻保证金",
  13601. "type": "number"
  13602. },
  13603. "updatetime": {
  13604. "description": "更新时间",
  13605. "type": "string"
  13606. },
  13607. "uuid": {
  13608. "description": "发起端唯一id",
  13609. "type": "string"
  13610. },
  13611. "validtime": {
  13612. "description": "有效期限",
  13613. "type": "string"
  13614. },
  13615. "validtype": {
  13616. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13617. "type": "integer"
  13618. },
  13619. "volumetype": {
  13620. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13621. "type": "integer"
  13622. }
  13623. }
  13624. },
  13625. "cptrade.QueryMyCPTradeGoodsRsp": {
  13626. "type": "object",
  13627. "required": [
  13628. "goodscode",
  13629. "goodsid",
  13630. "goodsname",
  13631. "marketid",
  13632. "relatedgoodscode",
  13633. "relatedgoodsname"
  13634. ],
  13635. "properties": {
  13636. "accountid": {
  13637. "description": "卖方账户ID",
  13638. "type": "integer"
  13639. },
  13640. "agreeunit": {
  13641. "description": "合约单位",
  13642. "type": "number"
  13643. },
  13644. "applyid": {
  13645. "description": "关联申请ID",
  13646. "type": "integer"
  13647. },
  13648. "attachmenturl": {
  13649. "description": "附件地址",
  13650. "type": "string"
  13651. },
  13652. "createtime": {
  13653. "description": "创建时间",
  13654. "type": "string"
  13655. },
  13656. "currencyid": {
  13657. "description": "报价货币ID",
  13658. "type": "integer"
  13659. },
  13660. "decimalplace": {
  13661. "description": "报价小数位",
  13662. "type": "integer"
  13663. },
  13664. "endtime": {
  13665. "description": "预售结束时间",
  13666. "type": "string"
  13667. },
  13668. "floorprice": {
  13669. "description": "底价[大宗式竞拍]",
  13670. "type": "number"
  13671. },
  13672. "goodscode": {
  13673. "description": "商品代码(预售)",
  13674. "type": "string"
  13675. },
  13676. "goodsdetail": {
  13677. "description": "详情[大宗]",
  13678. "type": "string"
  13679. },
  13680. "goodsid": {
  13681. "description": "商品ID(自增ID SEQ_GOODS)",
  13682. "type": "integer"
  13683. },
  13684. "goodsname": {
  13685. "description": "商品名称(预售)",
  13686. "type": "string"
  13687. },
  13688. "goodunit": {
  13689. "description": "报价单位",
  13690. "type": "string"
  13691. },
  13692. "goodunitid": {
  13693. "description": "报价单位ID",
  13694. "type": "integer"
  13695. },
  13696. "marketid": {
  13697. "description": "所属市场ID",
  13698. "type": "integer"
  13699. },
  13700. "marketname": {
  13701. "description": "预售市场名称",
  13702. "type": "string"
  13703. },
  13704. "presaledamount": {
  13705. "description": "已预售总金额(预售结束时更新)",
  13706. "type": "number"
  13707. },
  13708. "presaledqty": {
  13709. "description": "已预售量(预售结束时更新)",
  13710. "type": "integer"
  13711. },
  13712. "presalemode": {
  13713. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13714. "type": "integer"
  13715. },
  13716. "presaleqty": {
  13717. "description": "预售数量",
  13718. "type": "integer"
  13719. },
  13720. "refprice": {
  13721. "description": "参考价格[一口价]",
  13722. "type": "number"
  13723. },
  13724. "relatedgoodscode": {
  13725. "description": "商品代码(订单)",
  13726. "type": "string"
  13727. },
  13728. "relatedgoodsid": {
  13729. "description": "关联交易合约ID",
  13730. "type": "integer"
  13731. },
  13732. "relatedgoodsname": {
  13733. "description": "商品名称(订单)",
  13734. "type": "string"
  13735. },
  13736. "relatedmarketid": {
  13737. "description": "关联交易合约市场ID",
  13738. "type": "integer"
  13739. },
  13740. "sellstatus": {
  13741. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13742. "type": "integer"
  13743. },
  13744. "startprice": {
  13745. "description": "起拍价[大宗式竞拍]",
  13746. "type": "number"
  13747. },
  13748. "starttime": {
  13749. "description": "预售开始时间",
  13750. "type": "string"
  13751. },
  13752. "tradedate": {
  13753. "description": "交易日(yyyyMMdd)",
  13754. "type": "string"
  13755. },
  13756. "tradeprice": {
  13757. "description": "成交价[大宗]",
  13758. "type": "number"
  13759. },
  13760. "userid": {
  13761. "description": "卖方用户ID",
  13762. "type": "integer"
  13763. }
  13764. }
  13765. },
  13766. "cptrade.QueryPresaleGoodsExRsp": {
  13767. "type": "object",
  13768. "required": [
  13769. "goodsid"
  13770. ],
  13771. "properties": {
  13772. "attachmenturl": {
  13773. "description": "附件地址",
  13774. "type": "string"
  13775. },
  13776. "createtime": {
  13777. "description": "创建时间",
  13778. "type": "string"
  13779. },
  13780. "endtime": {
  13781. "description": "预售结束时间",
  13782. "type": "string"
  13783. },
  13784. "floorprice": {
  13785. "description": "底价[大宗式竞拍]",
  13786. "type": "number"
  13787. },
  13788. "goodsdetail": {
  13789. "description": "详情[大宗]",
  13790. "type": "string"
  13791. },
  13792. "goodsid": {
  13793. "description": "商品ID(预售)",
  13794. "type": "integer"
  13795. },
  13796. "goodunit": {
  13797. "description": "报价单位",
  13798. "type": "string"
  13799. },
  13800. "marketid": {
  13801. "description": "预售市场ID - 根据预售模式选择市场",
  13802. "type": "integer"
  13803. },
  13804. "presaledamount": {
  13805. "description": "已预售总金额(预售结束时更新)",
  13806. "type": "number"
  13807. },
  13808. "presaledqty": {
  13809. "description": "已预售量(预售结束时更新)",
  13810. "type": "integer"
  13811. },
  13812. "presalemode": {
  13813. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13814. "type": "integer"
  13815. },
  13816. "presaleqty": {
  13817. "description": "预售数量",
  13818. "type": "integer"
  13819. },
  13820. "refprice": {
  13821. "description": "参考价格[一口价]",
  13822. "type": "number"
  13823. },
  13824. "relatedgoodsid": {
  13825. "description": "关联交易合约ID",
  13826. "type": "integer"
  13827. },
  13828. "relatedmarketid": {
  13829. "description": "关联交易合约市场ID",
  13830. "type": "integer"
  13831. },
  13832. "sellstatus": {
  13833. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13834. "type": "integer"
  13835. },
  13836. "startprice": {
  13837. "description": "起拍价[大宗式竞拍]",
  13838. "type": "number"
  13839. },
  13840. "starttime": {
  13841. "description": "预售开始时间",
  13842. "type": "string"
  13843. },
  13844. "tradedate": {
  13845. "description": "交易日(yyyyMMdd)",
  13846. "type": "string"
  13847. },
  13848. "tradeprice": {
  13849. "description": "成交价[大宗]",
  13850. "type": "number"
  13851. }
  13852. }
  13853. },
  13854. "delivery.QueryDeliveryRelationRsp": {
  13855. "type": "object",
  13856. "required": [
  13857. "begindate",
  13858. "enddate",
  13859. "goodsid",
  13860. "mindeliveryqty",
  13861. "xdeliveryratio"
  13862. ],
  13863. "properties": {
  13864. "begindate": {
  13865. "description": "起始日期(yyyyMMdd)",
  13866. "type": "string"
  13867. },
  13868. "buytemplateid": {
  13869. "description": "买履约计划模板ID",
  13870. "type": "integer"
  13871. },
  13872. "deliverygoodscode": {
  13873. "description": "品种代码",
  13874. "type": "string"
  13875. },
  13876. "deliverygoodsid": {
  13877. "description": "交割商品",
  13878. "type": "integer"
  13879. },
  13880. "deliverygoodsname": {
  13881. "description": "品种名称",
  13882. "type": "string"
  13883. },
  13884. "deliverymode": {
  13885. "description": "交割方式 - 1:点选式 2:申报式",
  13886. "type": "integer"
  13887. },
  13888. "deliverypricerule": {
  13889. "description": "交割价规则- 1:行情价 2:建仓价",
  13890. "type": "integer"
  13891. },
  13892. "deliverytype": {
  13893. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  13894. "type": "integer"
  13895. },
  13896. "enddate": {
  13897. "description": "结束日期(yyyyMMdd)",
  13898. "type": "string"
  13899. },
  13900. "enumdicname": {
  13901. "description": "品类单位名称",
  13902. "type": "string"
  13903. },
  13904. "goodscode": {
  13905. "description": "商品代码",
  13906. "type": "string"
  13907. },
  13908. "goodsid": {
  13909. "description": "交易合约ID",
  13910. "type": "integer"
  13911. },
  13912. "goodsname": {
  13913. "description": "商品名称",
  13914. "type": "string"
  13915. },
  13916. "marketid": {
  13917. "description": "市场ID",
  13918. "type": "integer"
  13919. },
  13920. "mindeliveryqty": {
  13921. "description": "最小交割系数(K)",
  13922. "type": "integer"
  13923. },
  13924. "p2deliveryprice": {
  13925. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13926. "type": "number"
  13927. },
  13928. "p2deliveryratio": {
  13929. "description": "P2合约系数(p)",
  13930. "type": "integer"
  13931. },
  13932. "p2goodsid": {
  13933. "description": "P2合约ID",
  13934. "type": "integer"
  13935. },
  13936. "p2pricemode": {
  13937. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13938. "type": "integer"
  13939. },
  13940. "pdeliveryprice": {
  13941. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13942. "type": "number"
  13943. },
  13944. "pdeliveryratio": {
  13945. "description": "P合约系数(n)",
  13946. "type": "integer"
  13947. },
  13948. "pgoodscode": {
  13949. "description": "p合约代码",
  13950. "type": "string"
  13951. },
  13952. "pgoodsid": {
  13953. "description": "P合约ID",
  13954. "type": "integer"
  13955. },
  13956. "ppricemode": {
  13957. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13958. "type": "integer"
  13959. },
  13960. "rratio": {
  13961. "description": "兑换系数(R)",
  13962. "type": "integer"
  13963. },
  13964. "rratio1": {
  13965. "description": "兑换系数(交易合约)(R1)",
  13966. "type": "integer"
  13967. },
  13968. "rratio2": {
  13969. "description": "兑换系数(仓单标准)(R2)",
  13970. "type": "integer"
  13971. },
  13972. "selltemplateid": {
  13973. "description": "卖履约计划模板ID",
  13974. "type": "integer"
  13975. },
  13976. "wrstandardid": {
  13977. "description": "仓单标准ID",
  13978. "type": "integer"
  13979. },
  13980. "xdeliveryratio": {
  13981. "description": "交易合约系数(m)",
  13982. "type": "integer"
  13983. }
  13984. }
  13985. },
  13986. "ermcp.ExposureDetailRsp": {
  13987. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13988. },
  13989. "ermcp.ExposureHedgePosDetailRsp": {
  13990. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13991. },
  13992. "ermcp.ExposureHedgePositionRsp": {
  13993. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13994. },
  13995. "ermcp.ExposureSpotDetailRsp": {
  13996. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13997. },
  13998. "ermcp.ExposureSpotRsp": {
  13999. "$ref": "#/definitions/models.AreaSpotModel"
  14000. },
  14001. "ermcp.HisExposureRsp": {
  14002. "$ref": "#/definitions/models.ErmcpHisExposureS"
  14003. },
  14004. "ermcp.PendingAuditCntRsp": {
  14005. "$ref": "#/definitions/models.ErmcpPendingAudit"
  14006. },
  14007. "ermcp.QryAvalidGPRsp": {
  14008. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  14009. },
  14010. "ermcp.QryBusinessDjRsp": {
  14011. "type": "object",
  14012. "properties": {
  14013. "amount": {
  14014. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14015. "type": "number"
  14016. },
  14017. "applyid": {
  14018. "description": "申请人",
  14019. "type": "string"
  14020. },
  14021. "applyname": {
  14022. "description": "申请人名称",
  14023. "type": "string"
  14024. },
  14025. "applystatus": {
  14026. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14027. "type": "integer"
  14028. },
  14029. "applytime": {
  14030. "description": "申请时间",
  14031. "type": "string"
  14032. },
  14033. "attachurl": {
  14034. "description": "附件",
  14035. "type": "string"
  14036. },
  14037. "auditid": {
  14038. "description": "审核人ID",
  14039. "type": "string"
  14040. },
  14041. "auditname": {
  14042. "description": "审核人名称",
  14043. "type": "string"
  14044. },
  14045. "audittime": {
  14046. "description": "审核时间",
  14047. "type": "string"
  14048. },
  14049. "buyusername": {
  14050. "description": "采购方名称",
  14051. "type": "string"
  14052. },
  14053. "contractno": {
  14054. "description": "合同编号",
  14055. "type": "string"
  14056. },
  14057. "contractstatus": {
  14058. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14059. "type": "integer"
  14060. },
  14061. "contracttype": {
  14062. "description": "现货合同类型 - 1:采购 -1:销售",
  14063. "type": "integer"
  14064. },
  14065. "deliverygoodscode": {
  14066. "description": "现货品种代码",
  14067. "type": "string"
  14068. },
  14069. "deliverygoodsid": {
  14070. "description": "现货商品ID",
  14071. "type": "integer"
  14072. },
  14073. "deliverygoodsname": {
  14074. "description": "现货品种名称",
  14075. "type": "string"
  14076. },
  14077. "enumdicname": {
  14078. "description": "单位名称",
  14079. "type": "string"
  14080. },
  14081. "goodscode": {
  14082. "description": "点价合约",
  14083. "type": "string"
  14084. },
  14085. "goodsname": {
  14086. "description": "商品名称",
  14087. "type": "string"
  14088. },
  14089. "operateapplyid": {
  14090. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14091. "type": "string"
  14092. },
  14093. "operateapplytype": {
  14094. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14095. "type": "integer"
  14096. },
  14097. "pricedPrice": {
  14098. "description": "点价价格(非必填)",
  14099. "type": "number"
  14100. },
  14101. "pricedQty": {
  14102. "description": "点价数量(非必填)",
  14103. "type": "number"
  14104. },
  14105. "pricemove": {
  14106. "description": "升贴水",
  14107. "type": "number"
  14108. },
  14109. "pricetype": {
  14110. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14111. "type": "integer"
  14112. },
  14113. "relatedid": {
  14114. "description": "现货合同ID",
  14115. "type": "string"
  14116. },
  14117. "sellusername": {
  14118. "description": "销售方名字",
  14119. "type": "string"
  14120. },
  14121. "userid": {
  14122. "description": "用户ID",
  14123. "type": "integer"
  14124. },
  14125. "wrstandardcode": {
  14126. "description": "品类代码",
  14127. "type": "string"
  14128. },
  14129. "wrstandardid": {
  14130. "description": "品类id",
  14131. "type": "integer"
  14132. },
  14133. "wrstandardname": {
  14134. "description": "品类名称",
  14135. "type": "string"
  14136. }
  14137. }
  14138. },
  14139. "ermcp.QryBussinessFpRsp": {
  14140. "type": "object",
  14141. "properties": {
  14142. "applyid": {
  14143. "description": "申请人",
  14144. "type": "string"
  14145. },
  14146. "applyname": {
  14147. "description": "申请人名称",
  14148. "type": "string"
  14149. },
  14150. "applystatus": {
  14151. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14152. "type": "integer"
  14153. },
  14154. "applytime": {
  14155. "description": "申请时间",
  14156. "type": "string"
  14157. },
  14158. "attachurl": {
  14159. "description": "附件",
  14160. "type": "string"
  14161. },
  14162. "auditid": {
  14163. "description": "审核人ID",
  14164. "type": "string"
  14165. },
  14166. "auditname": {
  14167. "description": "审核人名称",
  14168. "type": "string"
  14169. },
  14170. "audittime": {
  14171. "description": "审核时间",
  14172. "type": "string"
  14173. },
  14174. "buyusername": {
  14175. "description": "采购方名称",
  14176. "type": "string"
  14177. },
  14178. "contractno": {
  14179. "description": "合同编号",
  14180. "type": "string"
  14181. },
  14182. "contractstatus": {
  14183. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14184. "type": "integer"
  14185. },
  14186. "contracttype": {
  14187. "description": "现货合同类型 - 1:采购 -1:销售",
  14188. "type": "integer"
  14189. },
  14190. "deliverygoodscode": {
  14191. "description": "现货品种代码",
  14192. "type": "string"
  14193. },
  14194. "deliverygoodsid": {
  14195. "description": "现货商品ID",
  14196. "type": "integer"
  14197. },
  14198. "deliverygoodsname": {
  14199. "description": "现货品种名称",
  14200. "type": "string"
  14201. },
  14202. "enumdicname": {
  14203. "description": "单位名称",
  14204. "type": "string"
  14205. },
  14206. "goodscode": {
  14207. "description": "点价合约",
  14208. "type": "string"
  14209. },
  14210. "goodsname": {
  14211. "description": "商品名称",
  14212. "type": "string"
  14213. },
  14214. "invoiceAmount": {
  14215. "description": "已开收票金额(销售为开票,采购为收票)",
  14216. "type": "number"
  14217. },
  14218. "operateapplyid": {
  14219. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14220. "type": "string"
  14221. },
  14222. "operateapplytype": {
  14223. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14224. "type": "integer"
  14225. },
  14226. "pricemove": {
  14227. "description": "升贴水",
  14228. "type": "number"
  14229. },
  14230. "pricetype": {
  14231. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14232. "type": "integer"
  14233. },
  14234. "relatedid": {
  14235. "description": "现货合同ID",
  14236. "type": "string"
  14237. },
  14238. "sellusername": {
  14239. "description": "销售方名字",
  14240. "type": "string"
  14241. },
  14242. "userid": {
  14243. "description": "用户ID",
  14244. "type": "integer"
  14245. },
  14246. "wrstandardcode": {
  14247. "description": "品类代码",
  14248. "type": "string"
  14249. },
  14250. "wrstandardid": {
  14251. "description": "品类id",
  14252. "type": "integer"
  14253. },
  14254. "wrstandardname": {
  14255. "description": "品类名称",
  14256. "type": "string"
  14257. }
  14258. }
  14259. },
  14260. "ermcp.QryBussinessJsExRsp": {
  14261. "type": "object",
  14262. "properties": {
  14263. "applyid": {
  14264. "description": "申请人",
  14265. "type": "string"
  14266. },
  14267. "applyname": {
  14268. "description": "申请人名称",
  14269. "type": "string"
  14270. },
  14271. "applystatus": {
  14272. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14273. "type": "integer"
  14274. },
  14275. "applytime": {
  14276. "description": "申请时间",
  14277. "type": "string"
  14278. },
  14279. "attachurl": {
  14280. "description": "附件",
  14281. "type": "string"
  14282. },
  14283. "auditid": {
  14284. "description": "审核人ID",
  14285. "type": "string"
  14286. },
  14287. "auditname": {
  14288. "description": "审核人名称",
  14289. "type": "string"
  14290. },
  14291. "audittime": {
  14292. "description": "审核时间",
  14293. "type": "string"
  14294. },
  14295. "buyusername": {
  14296. "description": "采购方名称",
  14297. "type": "string"
  14298. },
  14299. "contractno": {
  14300. "description": "合同编号",
  14301. "type": "string"
  14302. },
  14303. "contractstatus": {
  14304. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14305. "type": "integer"
  14306. },
  14307. "contracttype": {
  14308. "description": "现货合同类型 - 1:采购 -1:销售",
  14309. "type": "integer"
  14310. },
  14311. "deliverygoodscode": {
  14312. "description": "现货品种代码",
  14313. "type": "string"
  14314. },
  14315. "deliverygoodsid": {
  14316. "description": "现货商品ID",
  14317. "type": "integer"
  14318. },
  14319. "deliverygoodsname": {
  14320. "description": "现货品种名称",
  14321. "type": "string"
  14322. },
  14323. "enumdicname": {
  14324. "description": "单位名称",
  14325. "type": "string"
  14326. },
  14327. "goodscode": {
  14328. "description": "点价合约",
  14329. "type": "string"
  14330. },
  14331. "goodsname": {
  14332. "description": "商品名称",
  14333. "type": "string"
  14334. },
  14335. "operateapplyid": {
  14336. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14337. "type": "string"
  14338. },
  14339. "operateapplytype": {
  14340. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14341. "type": "integer"
  14342. },
  14343. "pricemove": {
  14344. "description": "升贴水",
  14345. "type": "number"
  14346. },
  14347. "pricetype": {
  14348. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14349. "type": "integer"
  14350. },
  14351. "reckontype": {
  14352. "description": "结算类型",
  14353. "type": "string"
  14354. },
  14355. "reckonvalue": {
  14356. "description": "值",
  14357. "type": "number"
  14358. },
  14359. "relatedid": {
  14360. "description": "现货合同ID",
  14361. "type": "string"
  14362. },
  14363. "sellusername": {
  14364. "description": "销售方名字",
  14365. "type": "string"
  14366. },
  14367. "userid": {
  14368. "description": "用户ID",
  14369. "type": "integer"
  14370. },
  14371. "wrstandardcode": {
  14372. "description": "品类代码",
  14373. "type": "string"
  14374. },
  14375. "wrstandardid": {
  14376. "description": "品类id",
  14377. "type": "integer"
  14378. },
  14379. "wrstandardname": {
  14380. "description": "品类名称",
  14381. "type": "string"
  14382. }
  14383. }
  14384. },
  14385. "ermcp.QryBussinessJsRsp": {
  14386. "type": "object",
  14387. "properties": {
  14388. "addmargin": {
  14389. "description": "追加保证金(非必填)",
  14390. "type": "number"
  14391. },
  14392. "applyid": {
  14393. "description": "申请人",
  14394. "type": "string"
  14395. },
  14396. "applyname": {
  14397. "description": "申请人名称",
  14398. "type": "string"
  14399. },
  14400. "applystatus": {
  14401. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14402. "type": "integer"
  14403. },
  14404. "applytime": {
  14405. "description": "申请时间",
  14406. "type": "string"
  14407. },
  14408. "attachurl": {
  14409. "description": "附件",
  14410. "type": "string"
  14411. },
  14412. "auditid": {
  14413. "description": "审核人ID",
  14414. "type": "string"
  14415. },
  14416. "auditname": {
  14417. "description": "审核人名称",
  14418. "type": "string"
  14419. },
  14420. "audittime": {
  14421. "description": "审核时间",
  14422. "type": "string"
  14423. },
  14424. "buyusername": {
  14425. "description": "采购方名称",
  14426. "type": "string"
  14427. },
  14428. "contractno": {
  14429. "description": "合同编号",
  14430. "type": "string"
  14431. },
  14432. "contractstatus": {
  14433. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14434. "type": "integer"
  14435. },
  14436. "contracttype": {
  14437. "description": "现货合同类型 - 1:采购 -1:销售",
  14438. "type": "integer"
  14439. },
  14440. "decmargin": {
  14441. "description": "减少保证金(非必填)",
  14442. "type": "number"
  14443. },
  14444. "deliverygoodscode": {
  14445. "description": "现货品种代码",
  14446. "type": "string"
  14447. },
  14448. "deliverygoodsid": {
  14449. "description": "现货商品ID",
  14450. "type": "integer"
  14451. },
  14452. "deliverygoodsname": {
  14453. "description": "现货品种名称",
  14454. "type": "string"
  14455. },
  14456. "enumdicname": {
  14457. "description": "单位名称",
  14458. "type": "string"
  14459. },
  14460. "goodscode": {
  14461. "description": "点价合约",
  14462. "type": "string"
  14463. },
  14464. "goodsname": {
  14465. "description": "商品名称",
  14466. "type": "string"
  14467. },
  14468. "operateapplyid": {
  14469. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14470. "type": "string"
  14471. },
  14472. "operateapplytype": {
  14473. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14474. "type": "integer"
  14475. },
  14476. "pricemove": {
  14477. "description": "升贴水",
  14478. "type": "number"
  14479. },
  14480. "pricetype": {
  14481. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14482. "type": "integer"
  14483. },
  14484. "reckonadjustamount": {
  14485. "description": "结算调整金额(非必填)",
  14486. "type": "number"
  14487. },
  14488. "reckonosamount": {
  14489. "description": "结算溢短金额(非必填)",
  14490. "type": "number"
  14491. },
  14492. "reckonotheramount": {
  14493. "description": "结算其他费用(非必填)",
  14494. "type": "number"
  14495. },
  14496. "reckonrealqty": {
  14497. "description": "结算实际数量(非必填)",
  14498. "type": "number"
  14499. },
  14500. "relatedid": {
  14501. "description": "现货合同ID",
  14502. "type": "string"
  14503. },
  14504. "sellusername": {
  14505. "description": "销售方名字",
  14506. "type": "string"
  14507. },
  14508. "userid": {
  14509. "description": "用户ID",
  14510. "type": "integer"
  14511. },
  14512. "wrstandardcode": {
  14513. "description": "品类代码",
  14514. "type": "string"
  14515. },
  14516. "wrstandardid": {
  14517. "description": "品类id",
  14518. "type": "integer"
  14519. },
  14520. "wrstandardname": {
  14521. "description": "品类名称",
  14522. "type": "string"
  14523. }
  14524. }
  14525. },
  14526. "ermcp.QryBussinessKxRsp": {
  14527. "type": "object",
  14528. "properties": {
  14529. "applyid": {
  14530. "description": "申请人",
  14531. "type": "string"
  14532. },
  14533. "applyname": {
  14534. "description": "申请人名称",
  14535. "type": "string"
  14536. },
  14537. "applystatus": {
  14538. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14539. "type": "integer"
  14540. },
  14541. "applytime": {
  14542. "description": "申请时间",
  14543. "type": "string"
  14544. },
  14545. "attachurl": {
  14546. "description": "附件",
  14547. "type": "string"
  14548. },
  14549. "auditid": {
  14550. "description": "审核人ID",
  14551. "type": "string"
  14552. },
  14553. "auditname": {
  14554. "description": "审核人名称",
  14555. "type": "string"
  14556. },
  14557. "audittime": {
  14558. "description": "审核时间",
  14559. "type": "string"
  14560. },
  14561. "buyusername": {
  14562. "description": "采购方名称",
  14563. "type": "string"
  14564. },
  14565. "contractno": {
  14566. "description": "合同编号",
  14567. "type": "string"
  14568. },
  14569. "contractstatus": {
  14570. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14571. "type": "integer"
  14572. },
  14573. "contracttype": {
  14574. "description": "现货合同类型 - 1:采购 -1:销售",
  14575. "type": "integer"
  14576. },
  14577. "deductamount": {
  14578. "description": "退款(非必填)",
  14579. "type": "number"
  14580. },
  14581. "deliverygoodscode": {
  14582. "description": "现货品种代码",
  14583. "type": "string"
  14584. },
  14585. "deliverygoodsid": {
  14586. "description": "现货商品ID",
  14587. "type": "integer"
  14588. },
  14589. "deliverygoodsname": {
  14590. "description": "现货品种名称",
  14591. "type": "string"
  14592. },
  14593. "enumdicname": {
  14594. "description": "单位名称",
  14595. "type": "string"
  14596. },
  14597. "goodscode": {
  14598. "description": "点价合约",
  14599. "type": "string"
  14600. },
  14601. "goodsname": {
  14602. "description": "商品名称",
  14603. "type": "string"
  14604. },
  14605. "kxtype": {
  14606. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  14607. "type": "integer"
  14608. },
  14609. "operateapplyid": {
  14610. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14611. "type": "string"
  14612. },
  14613. "operateapplytype": {
  14614. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14615. "type": "integer"
  14616. },
  14617. "payamount": {
  14618. "description": "收付款(非必填)",
  14619. "type": "number"
  14620. },
  14621. "pricemove": {
  14622. "description": "升贴水",
  14623. "type": "number"
  14624. },
  14625. "pricetype": {
  14626. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14627. "type": "integer"
  14628. },
  14629. "relatedid": {
  14630. "description": "现货合同ID",
  14631. "type": "string"
  14632. },
  14633. "sellusername": {
  14634. "description": "销售方名字",
  14635. "type": "string"
  14636. },
  14637. "userid": {
  14638. "description": "用户ID",
  14639. "type": "integer"
  14640. },
  14641. "wrstandardcode": {
  14642. "description": "品类代码",
  14643. "type": "string"
  14644. },
  14645. "wrstandardid": {
  14646. "description": "品类id",
  14647. "type": "integer"
  14648. },
  14649. "wrstandardname": {
  14650. "description": "品类名称",
  14651. "type": "string"
  14652. }
  14653. }
  14654. },
  14655. "ermcp.QryGGCovertCfgRsp": {
  14656. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14657. },
  14658. "ermcp.QryMGChangeLogRsp": {
  14659. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  14660. },
  14661. "ermcp.QryMiddleGoodsDetailRsp": {
  14662. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  14663. },
  14664. "ermcp.QryMiddleGoodsRsp": {
  14665. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14666. },
  14667. "ermcp.QryOPLogRsp": {
  14668. "$ref": "#/definitions/models.ErmcpOPLogModel"
  14669. },
  14670. "ermcp.QryUserInfoRsp": {
  14671. "$ref": "#/definitions/models.ErmcpUserModel"
  14672. },
  14673. "ermcp.QryWarehouseRsp": {
  14674. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  14675. },
  14676. "ermcp.QueryErmcpTradePositionRsp": {
  14677. "type": "object",
  14678. "properties": {
  14679. "agreeunit": {
  14680. "description": "合约单位",
  14681. "type": "number"
  14682. },
  14683. "buyorsell": {
  14684. "description": "方向 - 0:买 1:卖",
  14685. "type": "integer"
  14686. },
  14687. "curpositionqty": {
  14688. "description": "持仓(总仓数量, 期末头寸)",
  14689. "type": "integer"
  14690. },
  14691. "curtdposition": {
  14692. "description": "今仓数量(期末今日头寸)",
  14693. "type": "integer"
  14694. },
  14695. "curtdpositionenabled": {
  14696. "description": "今仓可用",
  14697. "type": "integer"
  14698. },
  14699. "decimalplace": {
  14700. "description": "报价小数位",
  14701. "type": "integer"
  14702. },
  14703. "enableqty": {
  14704. "description": "可用(总仓可用)",
  14705. "type": "integer"
  14706. },
  14707. "exexchangename": {
  14708. "description": "外部交易所名称",
  14709. "type": "string"
  14710. },
  14711. "goodscode": {
  14712. "description": "商品代码(内部)",
  14713. "type": "string"
  14714. },
  14715. "goodsid": {
  14716. "description": "商品ID(自增ID SEQ_GOODS)",
  14717. "type": "integer"
  14718. },
  14719. "goodsname": {
  14720. "description": "商品名称",
  14721. "type": "string"
  14722. },
  14723. "last": {
  14724. "description": "现价",
  14725. "type": "number"
  14726. },
  14727. "marketid": {
  14728. "description": "所属市场ID",
  14729. "type": "integer"
  14730. },
  14731. "openaverageprice": {
  14732. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  14733. "type": "number"
  14734. },
  14735. "opencost": {
  14736. "description": "开仓成本",
  14737. "type": "number"
  14738. },
  14739. "openpl": {
  14740. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14741. "type": "number"
  14742. },
  14743. "outgoodscode": {
  14744. "description": "商品代码(外部)",
  14745. "type": "string"
  14746. },
  14747. "positionaverageprice": {
  14748. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  14749. "type": "number"
  14750. },
  14751. "positioncost": {
  14752. "description": "持仓成本",
  14753. "type": "number"
  14754. },
  14755. "positionpl": {
  14756. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14757. "type": "number"
  14758. },
  14759. "positionplrate": {
  14760. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  14761. "type": "number"
  14762. },
  14763. "usedmargin": {
  14764. "description": "占用保证金",
  14765. "type": "number"
  14766. }
  14767. }
  14768. },
  14769. "ermcp.RealtimeExposurePositionRsp": {
  14770. "$ref": "#/definitions/models.ErmcpExposurePostion"
  14771. },
  14772. "ermcp.RealtimeExposureRsp": {
  14773. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14774. },
  14775. "erms2.QueryArbitrageStrategyRsp": {
  14776. "type": "object",
  14777. "required": [
  14778. "asapplyid"
  14779. ],
  14780. "properties": {
  14781. "applybasis": {
  14782. "description": "申请基差",
  14783. "type": "number"
  14784. },
  14785. "asapplyid": {
  14786. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14787. "type": "string"
  14788. },
  14789. "asname": {
  14790. "description": "策略名称",
  14791. "type": "string"
  14792. },
  14793. "asno": {
  14794. "description": "策略编号",
  14795. "type": "string"
  14796. },
  14797. "basischangepl": {
  14798. "description": "基差变动损益[结算更新]",
  14799. "type": "number"
  14800. },
  14801. "biztype": {
  14802. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14803. "type": "integer"
  14804. },
  14805. "closetradedate": {
  14806. "description": "完结交易日(yyyyMMdd)",
  14807. "type": "string"
  14808. },
  14809. "curbasis": {
  14810. "description": "当前基差[结算更新]",
  14811. "type": "number"
  14812. },
  14813. "deliverygoodsid": {
  14814. "description": "现货品种ID",
  14815. "type": "integer"
  14816. },
  14817. "futureavgprice": {
  14818. "description": "期货建仓均价",
  14819. "type": "number"
  14820. },
  14821. "futurecloseamount": {
  14822. "description": "期货平仓金额",
  14823. "type": "number"
  14824. },
  14825. "futurecloseqty": {
  14826. "description": "期货平仓数量",
  14827. "type": "number"
  14828. },
  14829. "futureopenamount": {
  14830. "description": "期货开仓金额",
  14831. "type": "number"
  14832. },
  14833. "futureopenqty": {
  14834. "description": "期货开仓数量",
  14835. "type": "number"
  14836. },
  14837. "futurepl": {
  14838. "description": "期货总盈亏[结算更新]",
  14839. "type": "number"
  14840. },
  14841. "futureqty": {
  14842. "description": "期货持仓数量",
  14843. "type": "number"
  14844. },
  14845. "futurequote": {
  14846. "description": "期货额度",
  14847. "type": "number"
  14848. },
  14849. "goodsgroupid": {
  14850. "description": "期货品种ID",
  14851. "type": "integer"
  14852. },
  14853. "marketid": {
  14854. "description": "市场ID",
  14855. "type": "integer"
  14856. },
  14857. "netexposure": {
  14858. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  14859. "type": "number"
  14860. },
  14861. "netexposurepl": {
  14862. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  14863. "type": "number"
  14864. },
  14865. "netexposurerate": {
  14866. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  14867. "type": "number"
  14868. },
  14869. "openbasis": {
  14870. "description": "建仓基差",
  14871. "type": "number"
  14872. },
  14873. "pricedspotqty": {
  14874. "description": "已定价现货数量",
  14875. "type": "number"
  14876. },
  14877. "pricedspotqtynotax": {
  14878. "description": "已定价现货不含税数量",
  14879. "type": "number"
  14880. },
  14881. "remark": {
  14882. "description": "备注",
  14883. "type": "string"
  14884. },
  14885. "spotavgprice": {
  14886. "description": "现货均价",
  14887. "type": "number"
  14888. },
  14889. "spotbuyamount": {
  14890. "description": "现货采购金额",
  14891. "type": "number"
  14892. },
  14893. "spotbuyqty": {
  14894. "description": "现货采购数量",
  14895. "type": "number"
  14896. },
  14897. "spotpl": {
  14898. "description": "现货总盈亏[结算更新]",
  14899. "type": "number"
  14900. },
  14901. "spotquota": {
  14902. "description": "现货额度",
  14903. "type": "number"
  14904. },
  14905. "spotsellamount": {
  14906. "description": "现货销售金额",
  14907. "type": "number"
  14908. },
  14909. "spotsellqty": {
  14910. "description": "现货销售数量",
  14911. "type": "number"
  14912. },
  14913. "spotusedquota": {
  14914. "description": "现货占用资金",
  14915. "type": "number"
  14916. },
  14917. "strategystatus": {
  14918. "description": "策略状态 - 0:未结束 1:已结束",
  14919. "type": "integer"
  14920. },
  14921. "totalpl": {
  14922. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14923. "type": "number"
  14924. },
  14925. "tradedate": {
  14926. "description": "交易日(yyyyMMdd)",
  14927. "type": "string"
  14928. },
  14929. "updatetime": {
  14930. "description": "更新时间",
  14931. "type": "string"
  14932. },
  14933. "usedquota": {
  14934. "description": "已占用资金",
  14935. "type": "number"
  14936. },
  14937. "userid": {
  14938. "description": "所属机构",
  14939. "type": "integer"
  14940. }
  14941. }
  14942. },
  14943. "erms2.QueryInnerTradeDetailRsp": {
  14944. "type": "object",
  14945. "required": [
  14946. "asapplyid",
  14947. "buyorsell",
  14948. "goodscode",
  14949. "goodsgroupid",
  14950. "goodsgroupname",
  14951. "goodsname",
  14952. "tradeid"
  14953. ],
  14954. "properties": {
  14955. "accountid": {
  14956. "description": "账号ID",
  14957. "type": "integer"
  14958. },
  14959. "agreeunit": {
  14960. "description": "合约单位",
  14961. "type": "number"
  14962. },
  14963. "asapplyid": {
  14964. "description": "策略申请ID",
  14965. "type": "integer"
  14966. },
  14967. "asname": {
  14968. "description": "策略名称",
  14969. "type": "string"
  14970. },
  14971. "asno": {
  14972. "description": "策略编号",
  14973. "type": "string"
  14974. },
  14975. "buyorsell": {
  14976. "description": "方向 - 0:买 1:卖",
  14977. "type": "integer"
  14978. },
  14979. "channelbuildtype": {
  14980. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14981. "type": "integer"
  14982. },
  14983. "closetype": {
  14984. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14985. "type": "integer"
  14986. },
  14987. "decimalplace": {
  14988. "description": "报价小数位",
  14989. "type": "integer"
  14990. },
  14991. "detailtype": {
  14992. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14993. "type": "integer"
  14994. },
  14995. "exexchangecode": {
  14996. "description": "外部交易所代码",
  14997. "type": "string"
  14998. },
  14999. "exexchangename": {
  15000. "description": "外部交易所名称",
  15001. "type": "string"
  15002. },
  15003. "goodscode": {
  15004. "description": "商品代码(合约)",
  15005. "type": "string"
  15006. },
  15007. "goodsgroupid": {
  15008. "description": "商品组ID(品种ID)",
  15009. "type": "integer"
  15010. },
  15011. "goodsgroupname": {
  15012. "description": "商品组名称(品种)",
  15013. "type": "string"
  15014. },
  15015. "goodsid": {
  15016. "description": "商品ID",
  15017. "type": "integer"
  15018. },
  15019. "goodsname": {
  15020. "description": "商品名称(合约)",
  15021. "type": "string"
  15022. },
  15023. "goodunit": {
  15024. "description": "报价单位",
  15025. "type": "string"
  15026. },
  15027. "marketid": {
  15028. "description": "市场ID",
  15029. "type": "integer"
  15030. },
  15031. "orderid": {
  15032. "description": "委托单号",
  15033. "type": "string"
  15034. },
  15035. "outgoodscode": {
  15036. "description": "商品代码(外部)",
  15037. "type": "string"
  15038. },
  15039. "relatedouttradeid": {
  15040. "description": "关联外部成交单ID",
  15041. "type": "string"
  15042. },
  15043. "remark": {
  15044. "description": "备注",
  15045. "type": "string"
  15046. },
  15047. "spotcontractid": {
  15048. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15049. "type": "integer"
  15050. },
  15051. "spotcontractno": {
  15052. "description": "现货合同编号",
  15053. "type": "string"
  15054. },
  15055. "tradeid": {
  15056. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15057. "type": "string"
  15058. },
  15059. "tradeprice": {
  15060. "description": "成交价格",
  15061. "type": "number"
  15062. },
  15063. "tradeqty": {
  15064. "description": "成交数量",
  15065. "type": "integer"
  15066. },
  15067. "tradetime": {
  15068. "description": "成交时间",
  15069. "type": "string"
  15070. },
  15071. "updatetime": {
  15072. "description": "更新时间",
  15073. "type": "string"
  15074. }
  15075. }
  15076. },
  15077. "erms2.QuerySpotContractRsp": {
  15078. "type": "object",
  15079. "required": [
  15080. "spotcontractid"
  15081. ],
  15082. "properties": {
  15083. "accountid": {
  15084. "description": "资金账户ID",
  15085. "type": "integer"
  15086. },
  15087. "areauserid": {
  15088. "description": "所属机构",
  15089. "type": "integer"
  15090. },
  15091. "closedate": {
  15092. "description": "终止日期",
  15093. "type": "string"
  15094. },
  15095. "closeremark": {
  15096. "description": "结束备注",
  15097. "type": "string"
  15098. },
  15099. "closetradedate": {
  15100. "description": "完结交易日(yyyyMMdd)",
  15101. "type": "string"
  15102. },
  15103. "closetype": {
  15104. "description": "终止类型 - 1:违约 2:提前终止",
  15105. "type": "integer"
  15106. },
  15107. "contractamount": {
  15108. "description": "合同金额",
  15109. "type": "number"
  15110. },
  15111. "contractattachment": {
  15112. "description": "合同附件",
  15113. "type": "string"
  15114. },
  15115. "contractno": {
  15116. "description": "现货合同编号",
  15117. "type": "string"
  15118. },
  15119. "contractqty": {
  15120. "description": "合同数量(数值) (用于计算)",
  15121. "type": "number"
  15122. },
  15123. "contractqtychar": {
  15124. "description": "合同数量\\已订价数量 (用于显示)",
  15125. "type": "string"
  15126. },
  15127. "contractstatus": {
  15128. "description": "合同状态 - 0:未结束 1:已结束",
  15129. "type": "integer"
  15130. },
  15131. "contracttype": {
  15132. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15133. "type": "integer"
  15134. },
  15135. "customeraccountid": {
  15136. "description": "客户资金账户ID",
  15137. "type": "integer"
  15138. },
  15139. "customeruserid": {
  15140. "description": "客户ID",
  15141. "type": "integer"
  15142. },
  15143. "deliverygoodsdesc": {
  15144. "description": "品种说明",
  15145. "type": "string"
  15146. },
  15147. "deliverygoodsid": {
  15148. "description": "现货品种ID",
  15149. "type": "integer"
  15150. },
  15151. "handlestatus": {
  15152. "description": "处理状态",
  15153. "type": "integer"
  15154. },
  15155. "invoiceatt": {
  15156. "description": "发票附件",
  15157. "type": "string"
  15158. },
  15159. "invoicedatetime": {
  15160. "description": "开收票更新时间",
  15161. "type": "string"
  15162. },
  15163. "invoiceopentime": {
  15164. "description": "开票时间",
  15165. "type": "string"
  15166. },
  15167. "invoiceremark": {
  15168. "description": "发票备注",
  15169. "type": "string"
  15170. },
  15171. "invoicestatus": {
  15172. "description": "开收票状态 - 0:未开票 1:已开票",
  15173. "type": "integer"
  15174. },
  15175. "lastdate": {
  15176. "description": "交货时间",
  15177. "type": "string"
  15178. },
  15179. "marketid": {
  15180. "description": "市场ID",
  15181. "type": "integer"
  15182. },
  15183. "paydatetime": {
  15184. "description": "收付款更新时间",
  15185. "type": "string"
  15186. },
  15187. "payremark": {
  15188. "description": "收付款备注",
  15189. "type": "string"
  15190. },
  15191. "paystatus": {
  15192. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15193. "type": "integer"
  15194. },
  15195. "positionqty": {
  15196. "description": "头寸数量 - 合同数量去小数部分",
  15197. "type": "integer"
  15198. },
  15199. "producttype": {
  15200. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15201. "type": "integer"
  15202. },
  15203. "relatedqty": {
  15204. "description": "已关联数量",
  15205. "type": "number"
  15206. },
  15207. "relatedstatus": {
  15208. "description": "关联完结状态 - 0:未结束 1:已结束",
  15209. "type": "integer"
  15210. },
  15211. "remark": {
  15212. "description": "备注",
  15213. "type": "string"
  15214. },
  15215. "signdate": {
  15216. "description": "签订日期",
  15217. "type": "string"
  15218. },
  15219. "spotcontractid": {
  15220. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15221. "type": "string"
  15222. },
  15223. "spotdatetime": {
  15224. "description": "收发货更新时间",
  15225. "type": "string"
  15226. },
  15227. "spotprice": {
  15228. "description": "价格",
  15229. "type": "number"
  15230. },
  15231. "spotremark": {
  15232. "description": "收发货备注",
  15233. "type": "string"
  15234. },
  15235. "spotstatus": {
  15236. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15237. "type": "integer"
  15238. },
  15239. "tradedate": {
  15240. "description": "交易日(yyyyMMdd)",
  15241. "type": "string"
  15242. },
  15243. "userid": {
  15244. "description": "业务员用户ID",
  15245. "type": "integer"
  15246. },
  15247. "warehouseid": {
  15248. "description": "仓库ID",
  15249. "type": "integer"
  15250. },
  15251. "wrfactortypeid": {
  15252. "description": "仓单要素类型ID",
  15253. "type": "integer"
  15254. },
  15255. "wrstandardid": {
  15256. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15257. "type": "integer"
  15258. }
  15259. }
  15260. },
  15261. "erms3.AddErms2ASApplyReq": {
  15262. "type": "object",
  15263. "required": [
  15264. "asapplyid"
  15265. ],
  15266. "properties": {
  15267. "applybasis": {
  15268. "description": "申请基差",
  15269. "type": "number"
  15270. },
  15271. "applystatus": {
  15272. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15273. "type": "integer"
  15274. },
  15275. "asapplyid": {
  15276. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15277. "type": "integer"
  15278. },
  15279. "asname": {
  15280. "description": "策略名称",
  15281. "type": "string"
  15282. },
  15283. "asno": {
  15284. "description": "策略编号",
  15285. "type": "string"
  15286. },
  15287. "auditid": {
  15288. "description": "审核人",
  15289. "type": "integer"
  15290. },
  15291. "auditremark": {
  15292. "description": "审核备注",
  15293. "type": "string"
  15294. },
  15295. "audittime": {
  15296. "description": "审核时间",
  15297. "type": "string"
  15298. },
  15299. "biztype": {
  15300. "description": "业务类型 - 1:正向套利 2:反向套利",
  15301. "type": "integer"
  15302. },
  15303. "createtime": {
  15304. "description": "创建时间",
  15305. "type": "string"
  15306. },
  15307. "creatorid": {
  15308. "description": "创建人",
  15309. "type": "integer"
  15310. },
  15311. "deliverygoodsid": {
  15312. "description": "现货品种ID",
  15313. "type": "integer"
  15314. },
  15315. "futurequote": {
  15316. "description": "期货额度",
  15317. "type": "number"
  15318. },
  15319. "goodsgroupid": {
  15320. "description": "期货品种ID",
  15321. "type": "integer"
  15322. },
  15323. "marketid": {
  15324. "description": "市场ID",
  15325. "type": "integer"
  15326. },
  15327. "remark": {
  15328. "description": "备注",
  15329. "type": "string"
  15330. },
  15331. "spotquota": {
  15332. "description": "现货额度",
  15333. "type": "number"
  15334. },
  15335. "tradedate": {
  15336. "description": "交易日(yyyyMMdd)",
  15337. "type": "string"
  15338. },
  15339. "userid": {
  15340. "description": "所属机构",
  15341. "type": "integer"
  15342. }
  15343. }
  15344. },
  15345. "erms3.AddErms2SpotTradeApplyReq": {
  15346. "type": "object",
  15347. "required": [
  15348. "spottradeid"
  15349. ],
  15350. "properties": {
  15351. "applyjsondetail": {
  15352. "description": "申请明细(JSON)",
  15353. "type": "string"
  15354. },
  15355. "applystatus": {
  15356. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15357. "type": "integer"
  15358. },
  15359. "areauserid": {
  15360. "description": "所属机构",
  15361. "type": "integer"
  15362. },
  15363. "auditid": {
  15364. "description": "审核人",
  15365. "type": "integer"
  15366. },
  15367. "auditremark": {
  15368. "description": "审核备注",
  15369. "type": "string"
  15370. },
  15371. "audittime": {
  15372. "description": "审核时间",
  15373. "type": "string"
  15374. },
  15375. "createtime": {
  15376. "description": "创建时间",
  15377. "type": "string"
  15378. },
  15379. "creatorid": {
  15380. "description": "创建人",
  15381. "type": "integer"
  15382. },
  15383. "deliverygoodsid": {
  15384. "description": "现货品种ID",
  15385. "type": "integer"
  15386. },
  15387. "futureaccountid": {
  15388. "description": "期货资金账户",
  15389. "type": "integer"
  15390. },
  15391. "goodsgroupid": {
  15392. "description": "期货品种",
  15393. "type": "integer"
  15394. },
  15395. "marketid": {
  15396. "description": "市场ID",
  15397. "type": "integer"
  15398. },
  15399. "remark": {
  15400. "description": "备注",
  15401. "type": "string"
  15402. },
  15403. "spotaccountid": {
  15404. "description": "现货资金账户",
  15405. "type": "integer"
  15406. },
  15407. "spottradeid": {
  15408. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15409. "type": "integer"
  15410. },
  15411. "spottradename": {
  15412. "description": "业务名称",
  15413. "type": "string"
  15414. },
  15415. "spottradeno": {
  15416. "description": "业务编号",
  15417. "type": "string"
  15418. },
  15419. "tradedate": {
  15420. "description": "交易日(yyyyMMdd)",
  15421. "type": "string"
  15422. },
  15423. "wrstandardid": {
  15424. "description": "仓单标准ID",
  15425. "type": "integer"
  15426. }
  15427. }
  15428. },
  15429. "erms3.AddSpotContractApplyReq": {
  15430. "type": "object",
  15431. "required": [
  15432. "accountid",
  15433. "areauserid",
  15434. "contractno",
  15435. "contracttype",
  15436. "customeraccountid",
  15437. "customeruserid",
  15438. "details",
  15439. "orimargin",
  15440. "signdate"
  15441. ],
  15442. "properties": {
  15443. "accountid": {
  15444. "description": "资金账户ID",
  15445. "type": "integer"
  15446. },
  15447. "areauserid": {
  15448. "description": "所属机构",
  15449. "type": "integer"
  15450. },
  15451. "contractattachment": {
  15452. "description": "合同附件",
  15453. "type": "string"
  15454. },
  15455. "contractno": {
  15456. "description": "现货合同编号",
  15457. "type": "string"
  15458. },
  15459. "contracttype": {
  15460. "description": "现货合同类型 - 1:采购 -1:销售",
  15461. "type": "integer"
  15462. },
  15463. "creatorid": {
  15464. "description": "申请人",
  15465. "type": "integer"
  15466. },
  15467. "customeraccountid": {
  15468. "description": "客户资金账户ID",
  15469. "type": "integer"
  15470. },
  15471. "customeruserid": {
  15472. "description": "客户ID",
  15473. "type": "integer"
  15474. },
  15475. "details": {
  15476. "description": "明细",
  15477. "type": "array",
  15478. "items": {
  15479. "$ref": "#/definitions/erms3.SoptContractDetail"
  15480. }
  15481. },
  15482. "orimargin": {
  15483. "description": "初始保证金",
  15484. "type": "number"
  15485. },
  15486. "remark": {
  15487. "description": "备注",
  15488. "type": "string"
  15489. },
  15490. "signdate": {
  15491. "description": "签订日期",
  15492. "type": "string"
  15493. }
  15494. }
  15495. },
  15496. "erms3.AddSpotContractApplyRsp": {
  15497. "type": "object",
  15498. "required": [
  15499. "contractno"
  15500. ],
  15501. "properties": {
  15502. "contractno": {
  15503. "description": "现货合同编号",
  15504. "type": "string"
  15505. },
  15506. "spotcontractid": {
  15507. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15508. "type": "integer"
  15509. }
  15510. }
  15511. },
  15512. "erms3.AddUserInfoApplyReq": {
  15513. "type": "object",
  15514. "required": [
  15515. "userid"
  15516. ],
  15517. "properties": {
  15518. "accountid": {
  15519. "description": "交易系统帐号Id (加密存储)",
  15520. "type": "integer"
  15521. },
  15522. "areacode": {
  15523. "description": "机构代码",
  15524. "type": "string"
  15525. },
  15526. "areaid": {
  15527. "description": "机构Id",
  15528. "type": "integer"
  15529. },
  15530. "attachment1": {
  15531. "description": "附件1",
  15532. "type": "string"
  15533. },
  15534. "attachment2": {
  15535. "description": "附件2",
  15536. "type": "string"
  15537. },
  15538. "attachment3": {
  15539. "description": "附件3",
  15540. "type": "string"
  15541. },
  15542. "attachment4": {
  15543. "description": "附件4",
  15544. "type": "string"
  15545. },
  15546. "attachment5": {
  15547. "description": "附件5",
  15548. "type": "string"
  15549. },
  15550. "auditedby": {
  15551. "description": "审核人",
  15552. "type": "string"
  15553. },
  15554. "auditime": {
  15555. "description": "审核时间",
  15556. "type": "string"
  15557. },
  15558. "auditsrc": {
  15559. "description": "审核来源 - 1:管理端 2:终端",
  15560. "type": "integer"
  15561. },
  15562. "bankaccount": {
  15563. "description": "银行帐号 (加密存储)",
  15564. "type": "string"
  15565. },
  15566. "bankaccountname": {
  15567. "description": "收款人名称",
  15568. "type": "string"
  15569. },
  15570. "bankcardbackphotourl": {
  15571. "description": "银行卡背面照地址",
  15572. "type": "string"
  15573. },
  15574. "bankcardfrontphotourl": {
  15575. "description": "银行卡正面照地址",
  15576. "type": "string"
  15577. },
  15578. "bankid": {
  15579. "description": "银行编码",
  15580. "type": "string"
  15581. },
  15582. "bankname": {
  15583. "description": "银行名称",
  15584. "type": "string"
  15585. },
  15586. "bankpictureurl": {
  15587. "description": "银行卡正面地址",
  15588. "type": "string"
  15589. },
  15590. "biznature": {
  15591. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15592. "type": "integer"
  15593. },
  15594. "bizscope": {
  15595. "description": "企业经营范围(企业)",
  15596. "type": "string"
  15597. },
  15598. "biztype": {
  15599. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15600. "type": "integer"
  15601. },
  15602. "brokerid": {
  15603. "description": "经纪人ID(加密存储)",
  15604. "type": "string"
  15605. },
  15606. "cardaddress": {
  15607. "description": "证件地址 (加密存储)",
  15608. "type": "string"
  15609. },
  15610. "cardbackphotourl": {
  15611. "description": "背面证件照地址",
  15612. "type": "string"
  15613. },
  15614. "cardfrontphotourl": {
  15615. "description": "正面证件照地址",
  15616. "type": "string"
  15617. },
  15618. "cardnum": {
  15619. "description": "证件号码 (加密存储)",
  15620. "type": "string"
  15621. },
  15622. "cardtype": {
  15623. "description": "证件类型",
  15624. "type": "integer"
  15625. },
  15626. "cityid": {
  15627. "description": "市",
  15628. "type": "integer"
  15629. },
  15630. "company": {
  15631. "description": "公司(个人)",
  15632. "type": "string"
  15633. },
  15634. "contactcardbackphotourl": {
  15635. "description": "联系人证件背面图片地址",
  15636. "type": "string"
  15637. },
  15638. "contactcardfrontphotourl": {
  15639. "description": "联系人证件正面图片地址",
  15640. "type": "string"
  15641. },
  15642. "contactname": {
  15643. "description": "联系人",
  15644. "type": "string"
  15645. },
  15646. "countryid": {
  15647. "description": "国家",
  15648. "type": "integer"
  15649. },
  15650. "createtime": {
  15651. "description": "开户申请时间",
  15652. "type": "string"
  15653. },
  15654. "cusbankid": {
  15655. "description": "签约类型",
  15656. "type": "string"
  15657. },
  15658. "cusbankname": {
  15659. "description": "签约类型名称",
  15660. "type": "string"
  15661. },
  15662. "customername": {
  15663. "description": "客户名称(企业名称)",
  15664. "type": "string"
  15665. },
  15666. "districtid": {
  15667. "description": "地区",
  15668. "type": "integer"
  15669. },
  15670. "email": {
  15671. "description": "Email地址(加密存储)",
  15672. "type": "string"
  15673. },
  15674. "halfbodyphotourl": {
  15675. "description": "半身照地址",
  15676. "type": "string"
  15677. },
  15678. "headurl": {
  15679. "description": "头像地址",
  15680. "type": "string"
  15681. },
  15682. "ipaddress": {
  15683. "description": "IP地址",
  15684. "type": "string"
  15685. },
  15686. "isvalidate": {
  15687. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15688. "type": "string"
  15689. },
  15690. "legalcardbackphotourl": {
  15691. "description": "法人身份证背面照地址",
  15692. "type": "string"
  15693. },
  15694. "legalcardfrontphotourl": {
  15695. "description": "法人身份证正面照地址",
  15696. "type": "string"
  15697. },
  15698. "legalpersonname": {
  15699. "description": "法人姓名(企业)",
  15700. "type": "string"
  15701. },
  15702. "logincode": {
  15703. "description": "登录帐号 (加密存储)",
  15704. "type": "string"
  15705. },
  15706. "memberareaid": {
  15707. "description": "所属会员ID",
  15708. "type": "integer"
  15709. },
  15710. "mobile2": {
  15711. "description": "手机号码[明文-尚志]",
  15712. "type": "string"
  15713. },
  15714. "mobilephone": {
  15715. "description": "手机号码 (加密存储)",
  15716. "type": "string"
  15717. },
  15718. "modifiedby": {
  15719. "description": "修改人帐号",
  15720. "type": "integer"
  15721. },
  15722. "modifiedtime": {
  15723. "description": "修改时间",
  15724. "type": "string"
  15725. },
  15726. "nickname": {
  15727. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15728. "type": "string"
  15729. },
  15730. "openmode": {
  15731. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15732. "type": "integer"
  15733. },
  15734. "otherurl": {
  15735. "description": "其它图片地址[使用分号分隔]",
  15736. "type": "string"
  15737. },
  15738. "postalcode": {
  15739. "description": "邮政编码",
  15740. "type": "string"
  15741. },
  15742. "provinceid": {
  15743. "description": "省",
  15744. "type": "integer"
  15745. },
  15746. "proxystatementurl": {
  15747. "description": "授权委托书",
  15748. "type": "string"
  15749. },
  15750. "qq": {
  15751. "description": "QQ(加密存储",
  15752. "type": "string"
  15753. },
  15754. "referral": {
  15755. "description": "推荐人编码",
  15756. "type": "string"
  15757. },
  15758. "remark": {
  15759. "description": "备注",
  15760. "type": "string"
  15761. },
  15762. "removebeforestatus": {
  15763. "description": "REMOVEBEFORESTATUS",
  15764. "type": "integer"
  15765. },
  15766. "sex": {
  15767. "description": "性别 - 0:女 1:男",
  15768. "type": "integer"
  15769. },
  15770. "signedstatus": {
  15771. "description": "账户一号签签约状态",
  15772. "type": "integer"
  15773. },
  15774. "signpdfurl": {
  15775. "description": "签约pdf文件",
  15776. "type": "string"
  15777. },
  15778. "subbranch": {
  15779. "description": "开户支行",
  15780. "type": "string"
  15781. },
  15782. "taxpayernum": {
  15783. "description": "纳税人识别号",
  15784. "type": "string"
  15785. },
  15786. "telphone": {
  15787. "description": "联系电话(加密存储)",
  15788. "type": "string"
  15789. },
  15790. "userid": {
  15791. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15792. "type": "integer"
  15793. },
  15794. "userinfotype": {
  15795. "description": "用户信息类型 - 1:个人 2:企业",
  15796. "type": "integer"
  15797. },
  15798. "username": {
  15799. "description": "用户姓名",
  15800. "type": "string"
  15801. },
  15802. "userstate": {
  15803. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15804. "type": "integer"
  15805. },
  15806. "usertype": {
  15807. "description": "用户类型 - 1:投资者 2:机构",
  15808. "type": "integer"
  15809. },
  15810. "videourl": {
  15811. "description": "视频地址",
  15812. "type": "string"
  15813. },
  15814. "wechat": {
  15815. "description": "微信号 (加密存储)",
  15816. "type": "string"
  15817. }
  15818. }
  15819. },
  15820. "erms3.CustomerInfo": {
  15821. "type": "object",
  15822. "required": [
  15823. "userid"
  15824. ],
  15825. "properties": {
  15826. "accountids": {
  15827. "description": "资金账户ID列表",
  15828. "type": "array",
  15829. "items": {
  15830. "type": "integer"
  15831. }
  15832. },
  15833. "customername": {
  15834. "description": "名称(企业名称)",
  15835. "type": "string"
  15836. },
  15837. "mobile": {
  15838. "description": "手机号码",
  15839. "type": "string"
  15840. },
  15841. "userid": {
  15842. "description": "用户ID",
  15843. "type": "integer"
  15844. }
  15845. }
  15846. },
  15847. "erms3.ModifyUserInfoApplyReq": {
  15848. "type": "object",
  15849. "required": [
  15850. "userid"
  15851. ],
  15852. "properties": {
  15853. "accountid": {
  15854. "description": "交易系统帐号Id (加密存储)",
  15855. "type": "integer"
  15856. },
  15857. "areacode": {
  15858. "description": "机构代码",
  15859. "type": "string"
  15860. },
  15861. "areaid": {
  15862. "description": "机构Id",
  15863. "type": "integer"
  15864. },
  15865. "attachment1": {
  15866. "description": "附件1",
  15867. "type": "string"
  15868. },
  15869. "attachment2": {
  15870. "description": "附件2",
  15871. "type": "string"
  15872. },
  15873. "attachment3": {
  15874. "description": "附件3",
  15875. "type": "string"
  15876. },
  15877. "attachment4": {
  15878. "description": "附件4",
  15879. "type": "string"
  15880. },
  15881. "attachment5": {
  15882. "description": "附件5",
  15883. "type": "string"
  15884. },
  15885. "auditedby": {
  15886. "description": "审核人",
  15887. "type": "string"
  15888. },
  15889. "auditime": {
  15890. "description": "审核时间",
  15891. "type": "string"
  15892. },
  15893. "auditsrc": {
  15894. "description": "审核来源 - 1:管理端 2:终端",
  15895. "type": "integer"
  15896. },
  15897. "bankaccount": {
  15898. "description": "银行帐号 (加密存储)",
  15899. "type": "string"
  15900. },
  15901. "bankaccountname": {
  15902. "description": "收款人名称",
  15903. "type": "string"
  15904. },
  15905. "bankcardbackphotourl": {
  15906. "description": "银行卡背面照地址",
  15907. "type": "string"
  15908. },
  15909. "bankcardfrontphotourl": {
  15910. "description": "银行卡正面照地址",
  15911. "type": "string"
  15912. },
  15913. "bankid": {
  15914. "description": "银行编码",
  15915. "type": "string"
  15916. },
  15917. "bankname": {
  15918. "description": "银行名称",
  15919. "type": "string"
  15920. },
  15921. "bankpictureurl": {
  15922. "description": "银行卡正面地址",
  15923. "type": "string"
  15924. },
  15925. "biznature": {
  15926. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15927. "type": "integer"
  15928. },
  15929. "bizscope": {
  15930. "description": "企业经营范围(企业)",
  15931. "type": "string"
  15932. },
  15933. "biztype": {
  15934. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15935. "type": "integer"
  15936. },
  15937. "brokerid": {
  15938. "description": "经纪人ID(加密存储)",
  15939. "type": "string"
  15940. },
  15941. "cardaddress": {
  15942. "description": "证件地址 (加密存储)",
  15943. "type": "string"
  15944. },
  15945. "cardbackphotourl": {
  15946. "description": "背面证件照地址",
  15947. "type": "string"
  15948. },
  15949. "cardfrontphotourl": {
  15950. "description": "正面证件照地址",
  15951. "type": "string"
  15952. },
  15953. "cardnum": {
  15954. "description": "证件号码 (加密存储)",
  15955. "type": "string"
  15956. },
  15957. "cardtype": {
  15958. "description": "证件类型",
  15959. "type": "integer"
  15960. },
  15961. "cityid": {
  15962. "description": "市",
  15963. "type": "integer"
  15964. },
  15965. "company": {
  15966. "description": "公司(个人)",
  15967. "type": "string"
  15968. },
  15969. "contactcardbackphotourl": {
  15970. "description": "联系人证件背面图片地址",
  15971. "type": "string"
  15972. },
  15973. "contactcardfrontphotourl": {
  15974. "description": "联系人证件正面图片地址",
  15975. "type": "string"
  15976. },
  15977. "contactname": {
  15978. "description": "联系人",
  15979. "type": "string"
  15980. },
  15981. "countryid": {
  15982. "description": "国家",
  15983. "type": "integer"
  15984. },
  15985. "createtime": {
  15986. "description": "开户申请时间",
  15987. "type": "string"
  15988. },
  15989. "cusbankid": {
  15990. "description": "签约类型",
  15991. "type": "string"
  15992. },
  15993. "cusbankname": {
  15994. "description": "签约类型名称",
  15995. "type": "string"
  15996. },
  15997. "customername": {
  15998. "description": "客户名称(企业名称)",
  15999. "type": "string"
  16000. },
  16001. "districtid": {
  16002. "description": "地区",
  16003. "type": "integer"
  16004. },
  16005. "email": {
  16006. "description": "Email地址(加密存储)",
  16007. "type": "string"
  16008. },
  16009. "halfbodyphotourl": {
  16010. "description": "半身照地址",
  16011. "type": "string"
  16012. },
  16013. "headurl": {
  16014. "description": "头像地址",
  16015. "type": "string"
  16016. },
  16017. "ipaddress": {
  16018. "description": "IP地址",
  16019. "type": "string"
  16020. },
  16021. "isvalidate": {
  16022. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16023. "type": "string"
  16024. },
  16025. "legalcardbackphotourl": {
  16026. "description": "法人身份证背面照地址",
  16027. "type": "string"
  16028. },
  16029. "legalcardfrontphotourl": {
  16030. "description": "法人身份证正面照地址",
  16031. "type": "string"
  16032. },
  16033. "legalpersonname": {
  16034. "description": "法人姓名(企业)",
  16035. "type": "string"
  16036. },
  16037. "logincode": {
  16038. "description": "登录帐号 (加密存储)",
  16039. "type": "string"
  16040. },
  16041. "memberareaid": {
  16042. "description": "所属会员ID",
  16043. "type": "integer"
  16044. },
  16045. "mobile2": {
  16046. "description": "手机号码[明文-尚志]",
  16047. "type": "string"
  16048. },
  16049. "mobilephone": {
  16050. "description": "手机号码 (加密存储)",
  16051. "type": "string"
  16052. },
  16053. "modifiedby": {
  16054. "description": "修改人帐号",
  16055. "type": "integer"
  16056. },
  16057. "modifiedtime": {
  16058. "description": "修改时间",
  16059. "type": "string"
  16060. },
  16061. "nickname": {
  16062. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16063. "type": "string"
  16064. },
  16065. "openmode": {
  16066. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16067. "type": "integer"
  16068. },
  16069. "otherurl": {
  16070. "description": "其它图片地址[使用分号分隔]",
  16071. "type": "string"
  16072. },
  16073. "postalcode": {
  16074. "description": "邮政编码",
  16075. "type": "string"
  16076. },
  16077. "provinceid": {
  16078. "description": "省",
  16079. "type": "integer"
  16080. },
  16081. "proxystatementurl": {
  16082. "description": "授权委托书",
  16083. "type": "string"
  16084. },
  16085. "qq": {
  16086. "description": "QQ(加密存储",
  16087. "type": "string"
  16088. },
  16089. "referral": {
  16090. "description": "推荐人编码",
  16091. "type": "string"
  16092. },
  16093. "remark": {
  16094. "description": "备注",
  16095. "type": "string"
  16096. },
  16097. "removebeforestatus": {
  16098. "description": "REMOVEBEFORESTATUS",
  16099. "type": "integer"
  16100. },
  16101. "sex": {
  16102. "description": "性别 - 0:女 1:男",
  16103. "type": "integer"
  16104. },
  16105. "signedstatus": {
  16106. "description": "账户一号签签约状态",
  16107. "type": "integer"
  16108. },
  16109. "signpdfurl": {
  16110. "description": "签约pdf文件",
  16111. "type": "string"
  16112. },
  16113. "subbranch": {
  16114. "description": "开户支行",
  16115. "type": "string"
  16116. },
  16117. "taxpayernum": {
  16118. "description": "纳税人识别号",
  16119. "type": "string"
  16120. },
  16121. "telphone": {
  16122. "description": "联系电话(加密存储)",
  16123. "type": "string"
  16124. },
  16125. "userid": {
  16126. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16127. "type": "integer"
  16128. },
  16129. "userinfotype": {
  16130. "description": "用户信息类型 - 1:个人 2:企业",
  16131. "type": "integer"
  16132. },
  16133. "username": {
  16134. "description": "用户姓名",
  16135. "type": "string"
  16136. },
  16137. "userstate": {
  16138. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16139. "type": "integer"
  16140. },
  16141. "usertype": {
  16142. "description": "用户类型 - 1:投资者 2:机构",
  16143. "type": "integer"
  16144. },
  16145. "videourl": {
  16146. "description": "视频地址",
  16147. "type": "string"
  16148. },
  16149. "wechat": {
  16150. "description": "微信号 (加密存储)",
  16151. "type": "string"
  16152. }
  16153. }
  16154. },
  16155. "erms3.QryAuditContractRsp": {
  16156. "type": "object",
  16157. "required": [
  16158. "matchcustomername",
  16159. "spotcontractid"
  16160. ],
  16161. "properties": {
  16162. "accountid": {
  16163. "description": "交易员ID",
  16164. "type": "string"
  16165. },
  16166. "applystatus": {
  16167. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16168. "type": "integer"
  16169. },
  16170. "curdeliveryqty": {
  16171. "description": "未交收量",
  16172. "type": "integer"
  16173. },
  16174. "customername": {
  16175. "description": "采购方ID",
  16176. "type": "string"
  16177. },
  16178. "deliverygoodsid": {
  16179. "description": "品种ID",
  16180. "type": "string"
  16181. },
  16182. "deliveryqty": {
  16183. "description": "交收量",
  16184. "type": "integer"
  16185. },
  16186. "enumdicname": {
  16187. "description": "单位名称",
  16188. "type": "string"
  16189. },
  16190. "matchaccountid": {
  16191. "description": "业务员ID",
  16192. "type": "string"
  16193. },
  16194. "matchcustomername": {
  16195. "description": "销售方ID",
  16196. "type": "string"
  16197. },
  16198. "pricedqty": {
  16199. "description": "定价量",
  16200. "type": "number"
  16201. },
  16202. "signdate": {
  16203. "description": "签订日期",
  16204. "type": "string"
  16205. },
  16206. "spotcontractid": {
  16207. "description": "合同ID",
  16208. "type": "string"
  16209. },
  16210. "totaldqty": {
  16211. "description": "合同量",
  16212. "type": "number"
  16213. },
  16214. "unpricedqty": {
  16215. "description": "未定价量",
  16216. "type": "number"
  16217. },
  16218. "wrstandardname": {
  16219. "description": "商品名称",
  16220. "type": "string"
  16221. }
  16222. }
  16223. },
  16224. "erms3.QryPendingBizRsp": {
  16225. "$ref": "#/definitions/models.PendingAuditBizModel"
  16226. },
  16227. "erms3.QueryBusinessInfoRsp": {
  16228. "type": "object",
  16229. "properties": {
  16230. "businessid": {
  16231. "description": "业务ID.",
  16232. "type": "integer"
  16233. },
  16234. "buyamount": {
  16235. "description": "采购额.",
  16236. "type": "number"
  16237. },
  16238. "buyqty": {
  16239. "description": "采购量.",
  16240. "type": "string"
  16241. },
  16242. "futurepl": {
  16243. "description": "期货盈亏.",
  16244. "type": "number"
  16245. },
  16246. "futureqty": {
  16247. "description": "期货敞口.",
  16248. "type": "string"
  16249. },
  16250. "goodsid": {
  16251. "description": "商品名称/商品代码.",
  16252. "type": "string"
  16253. },
  16254. "hedgingqty": {
  16255. "description": "套保量.",
  16256. "type": "string"
  16257. },
  16258. "sellamount": {
  16259. "description": "销售额.",
  16260. "type": "number"
  16261. },
  16262. "sellqty": {
  16263. "description": "销售量.",
  16264. "type": "string"
  16265. },
  16266. "spotmarketvalue": {
  16267. "description": "现货市值.",
  16268. "type": "number"
  16269. },
  16270. "spotpl": {
  16271. "description": "浮动权益.",
  16272. "type": "number"
  16273. },
  16274. "spotqty": {
  16275. "description": "现货量.",
  16276. "type": "string"
  16277. },
  16278. "statu": {
  16279. "description": "状态,0-未结束 1-已结束.",
  16280. "type": "integer"
  16281. },
  16282. "totalpl": {
  16283. "description": "总盈亏.",
  16284. "type": "number"
  16285. },
  16286. "totalqty": {
  16287. "description": "总敞口.",
  16288. "type": "string"
  16289. },
  16290. "type": {
  16291. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16292. "type": "integer"
  16293. }
  16294. }
  16295. },
  16296. "erms3.QuerySpotContractAppleFormRsp": {
  16297. "type": "object",
  16298. "properties": {
  16299. "goodses": {
  16300. "description": "合约列表",
  16301. "type": "array",
  16302. "items": {
  16303. "$ref": "#/definitions/models.GoodsIDAndName"
  16304. }
  16305. },
  16306. "oppositeusers": {
  16307. "description": "对方账号列表",
  16308. "type": "array",
  16309. "items": {
  16310. "$ref": "#/definitions/erms3.CustomerInfo"
  16311. }
  16312. },
  16313. "ouruser": {
  16314. "description": "我方账号",
  16315. "type": "object",
  16316. "$ref": "#/definitions/erms3.CustomerInfo"
  16317. },
  16318. "warehouseinfos": {
  16319. "description": "仓库信息列表",
  16320. "type": "array",
  16321. "items": {
  16322. "$ref": "#/definitions/models.Warehouseinfo"
  16323. }
  16324. },
  16325. "wrstandards": {
  16326. "description": "仓单标准列表",
  16327. "type": "array",
  16328. "items": {
  16329. "$ref": "#/definitions/models.WRStandardInfo"
  16330. }
  16331. }
  16332. }
  16333. },
  16334. "erms3.QuerySpotContractInfoRsp": {
  16335. "type": "object",
  16336. "properties": {
  16337. "accountid": {
  16338. "description": "表示交易员ID.",
  16339. "type": "integer"
  16340. },
  16341. "curdeliveryqty": {
  16342. "description": "表示未交收量.",
  16343. "type": "number"
  16344. },
  16345. "customername": {
  16346. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16347. "type": "string"
  16348. },
  16349. "deliverygoodsid": {
  16350. "description": "表示品种ID.",
  16351. "type": "string"
  16352. },
  16353. "deliveryqty": {
  16354. "description": "表示交收量.",
  16355. "type": "number"
  16356. },
  16357. "matchaccountid": {
  16358. "description": "表示业务员ID.",
  16359. "type": "integer"
  16360. },
  16361. "matchcustomername": {
  16362. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16363. "type": "string"
  16364. },
  16365. "priceqty": {
  16366. "description": "表示定价量.",
  16367. "type": "number"
  16368. },
  16369. "relatedbizid": {
  16370. "description": "表示业务ID.",
  16371. "type": "string"
  16372. },
  16373. "signdate": {
  16374. "description": "表示签订日期.",
  16375. "type": "string"
  16376. },
  16377. "spotcontractid": {
  16378. "description": "合同ID",
  16379. "type": "string"
  16380. },
  16381. "status": {
  16382. "description": "表示状态,0-履约中 1-已完成.",
  16383. "type": "integer"
  16384. },
  16385. "totalqty": {
  16386. "description": "表示合同量.",
  16387. "type": "number"
  16388. },
  16389. "unpricedqty": {
  16390. "description": "表示未定价量.",
  16391. "type": "number"
  16392. },
  16393. "wrstandardname": {
  16394. "description": "表示商品ID.",
  16395. "type": "string"
  16396. }
  16397. }
  16398. },
  16399. "erms3.QueryUserInfoAppliesRsp": {
  16400. "type": "object",
  16401. "required": [
  16402. "userid"
  16403. ],
  16404. "properties": {
  16405. "biznature": {
  16406. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16407. "type": "integer"
  16408. },
  16409. "contactname": {
  16410. "description": "联系人",
  16411. "type": "string"
  16412. },
  16413. "createtime": {
  16414. "description": "开户申请时间",
  16415. "type": "string"
  16416. },
  16417. "userid": {
  16418. "description": "用户ID(自增ID)",
  16419. "type": "integer"
  16420. },
  16421. "userinfotype": {
  16422. "description": "用户信息类型 - 1:个人 2:企业",
  16423. "type": "integer"
  16424. },
  16425. "username": {
  16426. "description": "用户姓名",
  16427. "type": "string"
  16428. },
  16429. "userstate": {
  16430. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16431. "type": "integer"
  16432. }
  16433. }
  16434. },
  16435. "erms3.QueryUserInfosRsp": {
  16436. "type": "object",
  16437. "required": [
  16438. "userid"
  16439. ],
  16440. "properties": {
  16441. "biznature": {
  16442. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16443. "type": "integer"
  16444. },
  16445. "contactname": {
  16446. "description": "联系人",
  16447. "type": "string"
  16448. },
  16449. "customername": {
  16450. "description": "客户名称(企业名称)",
  16451. "type": "string"
  16452. },
  16453. "userid": {
  16454. "description": "用户ID",
  16455. "type": "integer"
  16456. },
  16457. "userinfotype": {
  16458. "description": "用户信息类型 - 1:个人 2:企业",
  16459. "type": "integer"
  16460. },
  16461. "userstatus": {
  16462. "description": "用户状态 - 1:正常 2:注销",
  16463. "type": "integer"
  16464. }
  16465. }
  16466. },
  16467. "erms3.SoptContractDetail": {
  16468. "type": "object",
  16469. "required": [
  16470. "deliverygoodsid",
  16471. "producttype",
  16472. "unitname",
  16473. "warehouseid",
  16474. "wrstandardid",
  16475. "wrstandardname"
  16476. ],
  16477. "properties": {
  16478. "deliverygoodsdesc": {
  16479. "description": "现货品种说明",
  16480. "type": "string"
  16481. },
  16482. "deliverygoodsid": {
  16483. "description": "现货品种ID",
  16484. "type": "integer"
  16485. },
  16486. "deliverygoodsname": {
  16487. "description": "现货品种名称",
  16488. "type": "string"
  16489. },
  16490. "pointdesc": {
  16491. "description": "点价描述",
  16492. "type": "string"
  16493. },
  16494. "producttype": {
  16495. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16496. "type": "integer"
  16497. },
  16498. "producttypename": {
  16499. "description": "产品类型名称",
  16500. "type": "string"
  16501. },
  16502. "spotPointOrderVoList": {
  16503. "description": "点价列表",
  16504. "type": "array",
  16505. "items": {
  16506. "$ref": "#/definitions/erms3.SpotPointOrder"
  16507. }
  16508. },
  16509. "spotPriceOrderList": {
  16510. "description": "定价列表",
  16511. "type": "array",
  16512. "items": {
  16513. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16514. }
  16515. },
  16516. "unitname": {
  16517. "description": "单位名称",
  16518. "type": "string"
  16519. },
  16520. "warehouseid": {
  16521. "description": "仓库ID",
  16522. "type": "integer"
  16523. },
  16524. "warehousename": {
  16525. "description": "仓库名称",
  16526. "type": "string"
  16527. },
  16528. "wrstandardid": {
  16529. "description": "交易标的ID",
  16530. "type": "integer"
  16531. },
  16532. "wrstandardname": {
  16533. "description": "交易标的名称",
  16534. "type": "string"
  16535. }
  16536. }
  16537. },
  16538. "erms3.SpotPointOrder": {
  16539. "type": "object",
  16540. "required": [
  16541. "basic",
  16542. "goodsid",
  16543. "qty"
  16544. ],
  16545. "properties": {
  16546. "basic": {
  16547. "description": "基差",
  16548. "type": "number"
  16549. },
  16550. "deliveryenddate": {
  16551. "description": "交收结束日期",
  16552. "type": "string"
  16553. },
  16554. "deliverystartdate": {
  16555. "description": "交收开始日期",
  16556. "type": "string"
  16557. },
  16558. "enddate": {
  16559. "description": "点价结束日期",
  16560. "type": "string"
  16561. },
  16562. "goodsid": {
  16563. "description": "商品ID",
  16564. "type": "integer"
  16565. },
  16566. "goodsname": {
  16567. "description": "商品名称",
  16568. "type": "string"
  16569. },
  16570. "qty": {
  16571. "description": "数量",
  16572. "type": "number"
  16573. },
  16574. "startdate": {
  16575. "description": "点价开始日期",
  16576. "type": "string"
  16577. }
  16578. }
  16579. },
  16580. "erms3.SpotPriceOrder": {
  16581. "type": "object",
  16582. "required": [
  16583. "amount",
  16584. "price",
  16585. "qty"
  16586. ],
  16587. "properties": {
  16588. "amount": {
  16589. "description": "金额",
  16590. "type": "number"
  16591. },
  16592. "deliveryenddate": {
  16593. "description": "交收结束日期",
  16594. "type": "string"
  16595. },
  16596. "deliverystartdate": {
  16597. "description": "交收开始日期",
  16598. "type": "string"
  16599. },
  16600. "price": {
  16601. "description": "价格",
  16602. "type": "number"
  16603. },
  16604. "qty": {
  16605. "description": "数量",
  16606. "type": "number"
  16607. }
  16608. }
  16609. },
  16610. "hsby.GetHsbyMyCountRsp": {
  16611. "type": "object",
  16612. "properties": {
  16613. "myCouponCount": {
  16614. "description": "我的优惠卷数量",
  16615. "type": "integer"
  16616. },
  16617. "myOrderDetailListingCount": {
  16618. "description": "我的订单求购中数量",
  16619. "type": "integer"
  16620. },
  16621. "myOrderDetailPreCount": {
  16622. "description": "我的订单抢购中数量",
  16623. "type": "integer"
  16624. },
  16625. "myPackageUnReceiveCount": {
  16626. "description": "我的包裹待收货数量",
  16627. "type": "integer"
  16628. },
  16629. "myPackageUnSendCount": {
  16630. "description": "我的包裹待发货数量",
  16631. "type": "integer"
  16632. },
  16633. "myPayOrderCount": {
  16634. "description": "我的订单待付款数量",
  16635. "type": "integer"
  16636. }
  16637. }
  16638. },
  16639. "hsby.QueryProvincesAndCitiesRsp": {
  16640. "type": "object",
  16641. "properties": {
  16642. "cities": {
  16643. "description": "市",
  16644. "type": "array",
  16645. "items": {
  16646. "$ref": "#/definitions/models.Division"
  16647. }
  16648. },
  16649. "province": {
  16650. "description": "省",
  16651. "type": "object",
  16652. "$ref": "#/definitions/models.Division"
  16653. }
  16654. }
  16655. },
  16656. "models.AreaSpotModel": {
  16657. "type": "object",
  16658. "properties": {
  16659. "areauserid": {
  16660. "description": "所属机构",
  16661. "type": "integer"
  16662. },
  16663. "decreaseqty": {
  16664. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16665. "type": "number"
  16666. },
  16667. "increaseqty": {
  16668. "description": "增加数量=销售计划数量+采购已定价数量",
  16669. "type": "number"
  16670. },
  16671. "oritoalspotqty": {
  16672. "description": "昨日数量",
  16673. "type": "number"
  16674. },
  16675. "totalspotqty": {
  16676. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16677. "type": "number"
  16678. },
  16679. "updatetime": {
  16680. "description": "更新时间",
  16681. "type": "string"
  16682. },
  16683. "wrstandardcode": {
  16684. "description": "现货品种代码",
  16685. "type": "string"
  16686. },
  16687. "wrstandardid": {
  16688. "description": "现货商品ID",
  16689. "type": "integer"
  16690. },
  16691. "wrstandardname": {
  16692. "description": "现货品种",
  16693. "type": "string"
  16694. }
  16695. }
  16696. },
  16697. "models.Arearole": {
  16698. "type": "object",
  16699. "required": [
  16700. "roletype",
  16701. "userid"
  16702. ],
  16703. "properties": {
  16704. "createtime": {
  16705. "description": "创建时间",
  16706. "type": "string"
  16707. },
  16708. "creatorid": {
  16709. "description": "创建人ID",
  16710. "type": "integer"
  16711. },
  16712. "fromuserid": {
  16713. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  16714. "type": "integer"
  16715. },
  16716. "isreturnscore": {
  16717. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  16718. "type": "integer"
  16719. },
  16720. "modifierid": {
  16721. "description": "修改人ID",
  16722. "type": "integer"
  16723. },
  16724. "modifytime": {
  16725. "description": "修改时间",
  16726. "type": "string"
  16727. },
  16728. "orgtype": {
  16729. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  16730. "type": "integer"
  16731. },
  16732. "outuserid": {
  16733. "description": "外部账户[场外期权做市商]",
  16734. "type": "string"
  16735. },
  16736. "parentuserid": {
  16737. "description": "上级组织机构(组织机构)",
  16738. "type": "integer"
  16739. },
  16740. "roletype": {
  16741. "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:门店",
  16742. "type": "integer"
  16743. },
  16744. "rootuserid": {
  16745. "description": "顶级组织机构用户ID(组织机构)",
  16746. "type": "integer"
  16747. },
  16748. "shoppassword": {
  16749. "description": "商城店铺登陆密码(商城店铺角色使用)",
  16750. "type": "string"
  16751. },
  16752. "sublevelpath": {
  16753. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  16754. "type": "string"
  16755. },
  16756. "suborgtype": {
  16757. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  16758. "type": "integer"
  16759. },
  16760. "tradeaccountid": {
  16761. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  16762. "type": "integer"
  16763. },
  16764. "transurl": {
  16765. "description": "物流地址(物流机构)",
  16766. "type": "string"
  16767. },
  16768. "userid": {
  16769. "description": "机构用户ID其他做市关系,都设置为 1",
  16770. "type": "integer"
  16771. }
  16772. }
  16773. },
  16774. "models.Clientfixedadconfig": {
  16775. "type": "object",
  16776. "required": [
  16777. "adsort",
  16778. "adtype"
  16779. ],
  16780. "properties": {
  16781. "adsort": {
  16782. "description": "排序",
  16783. "type": "integer"
  16784. },
  16785. "adtype": {
  16786. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16787. "type": "integer"
  16788. },
  16789. "areauserid": {
  16790. "description": "所属机构ID",
  16791. "type": "integer"
  16792. },
  16793. "createdate": {
  16794. "description": "创建时间",
  16795. "type": "string"
  16796. },
  16797. "creatorid": {
  16798. "description": "创建人",
  16799. "type": "integer"
  16800. },
  16801. "imagepath": {
  16802. "description": "图片",
  16803. "type": "string"
  16804. },
  16805. "isshow": {
  16806. "description": "是否展示 - 0:不展示 1:展示",
  16807. "type": "integer"
  16808. },
  16809. "modifierid": {
  16810. "description": "操作人",
  16811. "type": "integer"
  16812. },
  16813. "recsize": {
  16814. "description": "推荐尺寸",
  16815. "type": "string"
  16816. },
  16817. "title": {
  16818. "description": "标题",
  16819. "type": "string"
  16820. },
  16821. "updatedate": {
  16822. "description": "更新时间",
  16823. "type": "string"
  16824. },
  16825. "urlcontent": {
  16826. "description": "链接(地址或商品ID)",
  16827. "type": "string"
  16828. },
  16829. "urltype": {
  16830. "description": "链接类型 - 1:直接地址 2:商品ID",
  16831. "type": "integer"
  16832. }
  16833. }
  16834. },
  16835. "models.Division": {
  16836. "type": "object",
  16837. "required": [
  16838. "autoid",
  16839. "divisioncode"
  16840. ],
  16841. "properties": {
  16842. "autoid": {
  16843. "description": "自增ID",
  16844. "type": "integer"
  16845. },
  16846. "divisioncode": {
  16847. "description": "行政代码",
  16848. "type": "string"
  16849. },
  16850. "divisionlevel": {
  16851. "description": "行政级别",
  16852. "type": "string"
  16853. },
  16854. "divisionname": {
  16855. "description": "行政名称",
  16856. "type": "string"
  16857. },
  16858. "modifierid": {
  16859. "description": "修改人",
  16860. "type": "integer"
  16861. },
  16862. "modifytime": {
  16863. "description": "修改时间",
  16864. "type": "string"
  16865. },
  16866. "parentcode": {
  16867. "description": "上级行政代码",
  16868. "type": "string"
  16869. },
  16870. "pathname": {
  16871. "description": "路径名称",
  16872. "type": "string"
  16873. },
  16874. "postcode": {
  16875. "description": "邮政编码",
  16876. "type": "string"
  16877. },
  16878. "separablename": {
  16879. "description": "可拆分的全称",
  16880. "type": "string"
  16881. },
  16882. "shortcode": {
  16883. "description": "地区简码",
  16884. "type": "string"
  16885. }
  16886. }
  16887. },
  16888. "models.Enumdicitem": {
  16889. "type": "object",
  16890. "required": [
  16891. "autoid",
  16892. "enumdiccode",
  16893. "enumdicid",
  16894. "enumitemname"
  16895. ],
  16896. "properties": {
  16897. "autoid": {
  16898. "description": "自增ID",
  16899. "type": "integer"
  16900. },
  16901. "bankmappedvalue": {
  16902. "description": "银行服务对应值",
  16903. "type": "string"
  16904. },
  16905. "enumdiccode": {
  16906. "description": "所属枚举代码",
  16907. "type": "string"
  16908. },
  16909. "enumdicid": {
  16910. "description": "所属枚举ID",
  16911. "type": "integer"
  16912. },
  16913. "enumdicname": {
  16914. "description": "枚举项名称",
  16915. "type": "string"
  16916. },
  16917. "enumitemname": {
  16918. "description": "枚举项值",
  16919. "type": "integer"
  16920. },
  16921. "enumitemstatus": {
  16922. "description": "枚举项状态 - 1.启用 2.不启用",
  16923. "type": "integer"
  16924. },
  16925. "enumitemvalue": {
  16926. "description": "通用值 - [币种通用简写]",
  16927. "type": "string"
  16928. },
  16929. "param1": {
  16930. "description": "参数1[币种:币种小数位]",
  16931. "type": "string"
  16932. },
  16933. "param2": {
  16934. "description": "参数1[币种:币种显示单位]",
  16935. "type": "string"
  16936. },
  16937. "remark": {
  16938. "description": "备注",
  16939. "type": "string"
  16940. }
  16941. }
  16942. },
  16943. "models.Ermcp3AreaSpot": {
  16944. "type": "object",
  16945. "properties": {
  16946. "areauserid": {
  16947. "description": "所属机构",
  16948. "type": "integer"
  16949. },
  16950. "decreaseqty": {
  16951. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16952. "type": "number"
  16953. },
  16954. "deliverygoodscode": {
  16955. "description": "现货品种代码",
  16956. "type": "string"
  16957. },
  16958. "deliverygoodsid": {
  16959. "description": "现货品种id",
  16960. "type": "integer"
  16961. },
  16962. "deliverygoodsname": {
  16963. "description": "现货品种名称",
  16964. "type": "string"
  16965. },
  16966. "enumdicname": {
  16967. "description": "单位名称",
  16968. "type": "string"
  16969. },
  16970. "goodsunitid": {
  16971. "description": "现货品种单位id",
  16972. "type": "integer"
  16973. },
  16974. "increaseqty": {
  16975. "description": "增加数量=销售计划数量+采购已定价数量",
  16976. "type": "number"
  16977. },
  16978. "oritoalspotqty": {
  16979. "description": "昨日数量",
  16980. "type": "number"
  16981. },
  16982. "totalspotqty": {
  16983. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16984. "type": "number"
  16985. },
  16986. "updatetime": {
  16987. "description": "更新时间",
  16988. "type": "string"
  16989. }
  16990. }
  16991. },
  16992. "models.Ermcp3AreaSpotDetail": {
  16993. "type": "object",
  16994. "properties": {
  16995. "contracttype": {
  16996. "description": "合同类型 1-采购 -1-销售",
  16997. "type": "integer"
  16998. },
  16999. "createtime": {
  17000. "description": "创建时间",
  17001. "type": "string"
  17002. },
  17003. "deliverygoodscode": {
  17004. "description": "现货品种代码",
  17005. "type": "string"
  17006. },
  17007. "deliverygoodsid": {
  17008. "description": "现货品种id",
  17009. "type": "integer"
  17010. },
  17011. "deliverygoodsname": {
  17012. "description": "现货品种名称",
  17013. "type": "string"
  17014. },
  17015. "enumdicname": {
  17016. "description": "现货商品单位名称",
  17017. "type": "string"
  17018. },
  17019. "logtype": {
  17020. "description": "记录类型 1-套保 2-现货合同",
  17021. "type": "integer"
  17022. },
  17023. "qty": {
  17024. "description": "数量",
  17025. "type": "number"
  17026. },
  17027. "recordname": {
  17028. "description": "类型名称",
  17029. "type": "string"
  17030. },
  17031. "relatedid": {
  17032. "description": "套保计划ID/现货合同ID",
  17033. "type": "string"
  17034. },
  17035. "relatedno": {
  17036. "description": "编号",
  17037. "type": "string"
  17038. },
  17039. "strtime": {
  17040. "description": "时间",
  17041. "type": "string"
  17042. }
  17043. }
  17044. },
  17045. "models.Ermcp3AreaSpotPLReport": {
  17046. "type": "object",
  17047. "properties": {
  17048. "accountid": {
  17049. "description": "期货账户ID (作废, 默认为0)",
  17050. "type": "integer"
  17051. },
  17052. "accountname": {
  17053. "description": "机构名称",
  17054. "type": "string"
  17055. },
  17056. "actualpl": {
  17057. "description": "现货损益",
  17058. "type": "number"
  17059. },
  17060. "areauserid": {
  17061. "description": "所属机构\\交易用户ID",
  17062. "type": "integer"
  17063. },
  17064. "begindate": {
  17065. "description": "开始交易日",
  17066. "type": "string"
  17067. },
  17068. "biztype": {
  17069. "description": "业务类型 - 1:套保 2:套利",
  17070. "type": "integer"
  17071. },
  17072. "brandname": {
  17073. "description": "品牌名称",
  17074. "type": "string"
  17075. },
  17076. "curamount": {
  17077. "description": "期末额",
  17078. "type": "number"
  17079. },
  17080. "curaverageprice": {
  17081. "description": "期末均价",
  17082. "type": "number"
  17083. },
  17084. "curbuyamount": {
  17085. "description": "期末采购总额",
  17086. "type": "number"
  17087. },
  17088. "curbuyqty": {
  17089. "description": "期末采购总量",
  17090. "type": "number"
  17091. },
  17092. "curmarketvalue": {
  17093. "description": "参考市值(期末市值)",
  17094. "type": "number"
  17095. },
  17096. "curqty": {
  17097. "description": "期末量",
  17098. "type": "number"
  17099. },
  17100. "currencyid": {
  17101. "description": "结算币种ID【原值】",
  17102. "type": "integer"
  17103. },
  17104. "currencyname": {
  17105. "description": "币种名称",
  17106. "type": "string"
  17107. },
  17108. "cursellamount": {
  17109. "description": "期末销售总额",
  17110. "type": "number"
  17111. },
  17112. "cursellqty": {
  17113. "description": "期末销售总量",
  17114. "type": "number"
  17115. },
  17116. "curspotprice": {
  17117. "description": "参考市价(最新价)",
  17118. "type": "number"
  17119. },
  17120. "cycletime": {
  17121. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17122. "type": "string"
  17123. },
  17124. "cycletype": {
  17125. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17126. "type": "integer"
  17127. },
  17128. "deliverygoodscode": {
  17129. "description": "现货商品代码",
  17130. "type": "string"
  17131. },
  17132. "deliverygoodsid": {
  17133. "description": "现货品种ID",
  17134. "type": "integer"
  17135. },
  17136. "deliverygoodsname": {
  17137. "description": "现货商品名称",
  17138. "type": "string"
  17139. },
  17140. "enddate": {
  17141. "description": "结束交易日",
  17142. "type": "string"
  17143. },
  17144. "enumdicname": {
  17145. "description": "现货商品单位名称",
  17146. "type": "string"
  17147. },
  17148. "floatpl": {
  17149. "description": "浮动损益",
  17150. "type": "number"
  17151. },
  17152. "goodsunitid": {
  17153. "description": "现货商品单位id",
  17154. "type": "integer"
  17155. },
  17156. "oriamount": {
  17157. "description": "期初额",
  17158. "type": "number"
  17159. },
  17160. "oriaverageprice": {
  17161. "description": "期初均价",
  17162. "type": "number"
  17163. },
  17164. "oribuyamount": {
  17165. "description": "期初采购总额",
  17166. "type": "number"
  17167. },
  17168. "oribuyqty": {
  17169. "description": "期初采购总量",
  17170. "type": "number"
  17171. },
  17172. "oriqty": {
  17173. "description": "期初量",
  17174. "type": "number"
  17175. },
  17176. "orisellamount": {
  17177. "description": "期初销售总额",
  17178. "type": "number"
  17179. },
  17180. "orisellqty": {
  17181. "description": "期初销售总量",
  17182. "type": "number"
  17183. },
  17184. "reckondate": {
  17185. "description": "日照时期(yyyyMMdd)",
  17186. "type": "string"
  17187. },
  17188. "spotgoodsbrandid": {
  17189. "description": "现货品牌ID",
  17190. "type": "integer"
  17191. },
  17192. "todaybuyamount": {
  17193. "description": "今日采购额(今采购额)",
  17194. "type": "number"
  17195. },
  17196. "todaybuyaverageprice": {
  17197. "description": "今日采购均价",
  17198. "type": "number"
  17199. },
  17200. "todaybuyqty": {
  17201. "description": "今日采购量(今采购量)",
  17202. "type": "number"
  17203. },
  17204. "todayinqty": {
  17205. "description": "今日入库量(今入库量)",
  17206. "type": "number"
  17207. },
  17208. "todayoutqty": {
  17209. "description": "今日出库量(今出库量)",
  17210. "type": "number"
  17211. },
  17212. "todaysellamount": {
  17213. "description": "今日销售额(今销售额)",
  17214. "type": "number"
  17215. },
  17216. "todaysellaverageprice": {
  17217. "description": "今日销售均价",
  17218. "type": "number"
  17219. },
  17220. "todaysellqty": {
  17221. "description": "今日销售量(今销售量)",
  17222. "type": "number"
  17223. },
  17224. "unitid": {
  17225. "description": "品类单位id",
  17226. "type": "integer"
  17227. },
  17228. "unitidname": {
  17229. "description": "品类单位名称",
  17230. "type": "string"
  17231. },
  17232. "updatetime": {
  17233. "description": "更新时间",
  17234. "type": "string"
  17235. },
  17236. "wrfactortypeid": {
  17237. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17238. "type": "integer"
  17239. },
  17240. "wrstandardcode": {
  17241. "description": "品类代码",
  17242. "type": "string"
  17243. },
  17244. "wrstandardid": {
  17245. "description": "现货品类ID",
  17246. "type": "integer"
  17247. },
  17248. "wrstandardname": {
  17249. "description": "品类名称",
  17250. "type": "string"
  17251. }
  17252. }
  17253. },
  17254. "models.Ermcp3AreaStock": {
  17255. "type": "object",
  17256. "required": [
  17257. "userid"
  17258. ],
  17259. "properties": {
  17260. "brandname": {
  17261. "description": "品牌名称",
  17262. "type": "string"
  17263. },
  17264. "curstock": {
  17265. "description": "期末库存量(今日量)",
  17266. "type": "number"
  17267. },
  17268. "deliverygoodscode": {
  17269. "description": "现货品种代码",
  17270. "type": "string"
  17271. },
  17272. "deliverygoodsid": {
  17273. "description": "现货品种id",
  17274. "type": "integer"
  17275. },
  17276. "deliverygoodsname": {
  17277. "description": "现货品种名称",
  17278. "type": "string"
  17279. },
  17280. "enumdicname": {
  17281. "description": "单位名称",
  17282. "type": "string"
  17283. },
  17284. "goodsunitid": {
  17285. "description": "现货商品单位id",
  17286. "type": "integer"
  17287. },
  17288. "oristock": {
  17289. "description": "期初库存量(昨日量)",
  17290. "type": "number"
  17291. },
  17292. "spotgoodsbrandid": {
  17293. "description": "现货品牌ID",
  17294. "type": "integer"
  17295. },
  17296. "todaybuyinqty": {
  17297. "description": "今日采购入库量",
  17298. "type": "number"
  17299. },
  17300. "todayproduceinqty": {
  17301. "description": "今日生产入库量",
  17302. "type": "number"
  17303. },
  17304. "todayproduceoutqty": {
  17305. "description": "今日生产出库量",
  17306. "type": "number"
  17307. },
  17308. "todayselloutqty": {
  17309. "description": "今日销售出库量",
  17310. "type": "number"
  17311. },
  17312. "unitid": {
  17313. "description": "单位id",
  17314. "type": "integer"
  17315. },
  17316. "updatetime": {
  17317. "description": "更新时间",
  17318. "type": "string"
  17319. },
  17320. "userid": {
  17321. "description": "机构ID",
  17322. "type": "integer"
  17323. },
  17324. "username": {
  17325. "description": "机构名称",
  17326. "type": "string"
  17327. },
  17328. "warehousecode": {
  17329. "description": "仓库代码",
  17330. "type": "string"
  17331. },
  17332. "warehouseinfoid": {
  17333. "description": "仓库ID",
  17334. "type": "string"
  17335. },
  17336. "warehousename": {
  17337. "description": "仓库名称",
  17338. "type": "string"
  17339. },
  17340. "warehousetype": {
  17341. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17342. "type": "integer"
  17343. },
  17344. "wrstandardcode": {
  17345. "description": "品类代码",
  17346. "type": "string"
  17347. },
  17348. "wrstandardid": {
  17349. "description": "品类ID",
  17350. "type": "string"
  17351. },
  17352. "wrstandardname": {
  17353. "description": "品类名称",
  17354. "type": "string"
  17355. }
  17356. }
  17357. },
  17358. "models.Ermcp3AreaStockApply": {
  17359. "type": "object",
  17360. "properties": {
  17361. "applyid": {
  17362. "description": "申请人",
  17363. "type": "integer"
  17364. },
  17365. "applyname": {
  17366. "description": "申请人名称",
  17367. "type": "string"
  17368. },
  17369. "applyremark": {
  17370. "description": "申请备注",
  17371. "type": "string"
  17372. },
  17373. "applysrc": {
  17374. "description": "申请来源 - 1:管理端 2:终端",
  17375. "type": "integer"
  17376. },
  17377. "applystatus": {
  17378. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17379. "type": "integer"
  17380. },
  17381. "applytime": {
  17382. "description": "申请时间",
  17383. "type": "string"
  17384. },
  17385. "auditid": {
  17386. "description": "审核人",
  17387. "type": "integer"
  17388. },
  17389. "auditname": {
  17390. "description": "审核人名称",
  17391. "type": "string"
  17392. },
  17393. "auditremark": {
  17394. "description": "审核备注",
  17395. "type": "string"
  17396. },
  17397. "auditsrc": {
  17398. "description": "审核来源 - 1:管理端 2:终端",
  17399. "type": "integer"
  17400. },
  17401. "audittime": {
  17402. "description": "审核时间",
  17403. "type": "string"
  17404. },
  17405. "audittradedate": {
  17406. "description": "审核交易日(yyyyMMdd)",
  17407. "type": "string"
  17408. },
  17409. "brandname": {
  17410. "description": "品牌名称",
  17411. "type": "string"
  17412. },
  17413. "buynickname": {
  17414. "description": "采购方昵称",
  17415. "type": "string"
  17416. },
  17417. "buyuserid": {
  17418. "description": "采购方userid",
  17419. "type": "integer"
  17420. },
  17421. "buyusername": {
  17422. "description": "采购方名称",
  17423. "type": "string"
  17424. },
  17425. "contractno": {
  17426. "description": "合同编号",
  17427. "type": "string"
  17428. },
  17429. "contractqty": {
  17430. "description": "合同量",
  17431. "type": "number"
  17432. },
  17433. "contracttype": {
  17434. "description": "现货合同类型 - 1:采购 -1:销售",
  17435. "type": "integer"
  17436. },
  17437. "deliverygoodscode": {
  17438. "description": "现货品种代码",
  17439. "type": "string"
  17440. },
  17441. "deliverygoodsid": {
  17442. "description": "现货品种id",
  17443. "type": "integer"
  17444. },
  17445. "deliverygoodsname": {
  17446. "description": "现货品种名称",
  17447. "type": "string"
  17448. },
  17449. "detailjson": {
  17450. "description": "明细数据",
  17451. "type": "string"
  17452. },
  17453. "enumdicname": {
  17454. "description": "现货商品单位名称",
  17455. "type": "string"
  17456. },
  17457. "inoutapplyid": {
  17458. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17459. "type": "string"
  17460. },
  17461. "inouttype": {
  17462. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17463. "type": "integer"
  17464. },
  17465. "pricetype": {
  17466. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17467. "type": "integer"
  17468. },
  17469. "qty": {
  17470. "description": "数量",
  17471. "type": "number"
  17472. },
  17473. "sellnickname": {
  17474. "description": "销售方昵称",
  17475. "type": "string"
  17476. },
  17477. "selluserid": {
  17478. "description": "销售方userid",
  17479. "type": "integer"
  17480. },
  17481. "sellusername": {
  17482. "description": "销售方名称",
  17483. "type": "string"
  17484. },
  17485. "spotcontractid": {
  17486. "description": "关联现货合同ID",
  17487. "type": "string"
  17488. },
  17489. "spotgoodsbrandid": {
  17490. "description": "现货品牌ID",
  17491. "type": "integer"
  17492. },
  17493. "unitid": {
  17494. "description": "单位id",
  17495. "type": "integer"
  17496. },
  17497. "userid": {
  17498. "description": "机构ID",
  17499. "type": "integer"
  17500. },
  17501. "warehousecode": {
  17502. "description": "仓库代码",
  17503. "type": "string"
  17504. },
  17505. "warehouseinfoid": {
  17506. "description": "现货仓库ID",
  17507. "type": "string"
  17508. },
  17509. "warehousename": {
  17510. "description": "仓库名称",
  17511. "type": "string"
  17512. },
  17513. "warehousetype": {
  17514. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17515. "type": "integer"
  17516. },
  17517. "wrstandardcode": {
  17518. "description": "品类代码",
  17519. "type": "string"
  17520. },
  17521. "wrstandardid": {
  17522. "description": "品类ID",
  17523. "type": "integer"
  17524. },
  17525. "wrstandardname": {
  17526. "description": "品类名称",
  17527. "type": "string"
  17528. }
  17529. }
  17530. },
  17531. "models.Ermcp3AreaStockApplySum": {
  17532. "type": "object",
  17533. "properties": {
  17534. "brandname": {
  17535. "description": "品牌名称",
  17536. "type": "string"
  17537. },
  17538. "inouttype": {
  17539. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17540. "type": "integer"
  17541. },
  17542. "spotcontractid": {
  17543. "description": "关联现货合同ID",
  17544. "type": "string"
  17545. },
  17546. "spotgoodsbrandid": {
  17547. "description": "品牌id",
  17548. "type": "integer"
  17549. },
  17550. "totalqty": {
  17551. "description": "总数量",
  17552. "type": "number"
  17553. },
  17554. "wrstandardid": {
  17555. "description": "品类id",
  17556. "type": "integer"
  17557. },
  17558. "wrstandardname": {
  17559. "description": "品类名称",
  17560. "type": "string"
  17561. }
  17562. }
  17563. },
  17564. "models.Ermcp3AreaStockReportEx": {
  17565. "type": "object",
  17566. "properties": {
  17567. "begindate": {
  17568. "description": "开始交易日",
  17569. "type": "string"
  17570. },
  17571. "brandname": {
  17572. "description": "品牌名称",
  17573. "type": "string"
  17574. },
  17575. "curstock": {
  17576. "description": "期末库存量",
  17577. "type": "number"
  17578. },
  17579. "cycletime": {
  17580. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17581. "type": "string"
  17582. },
  17583. "cycletype": {
  17584. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17585. "type": "integer"
  17586. },
  17587. "deliverygoodscode": {
  17588. "description": "现货品种代码",
  17589. "type": "string"
  17590. },
  17591. "deliverygoodsid": {
  17592. "description": "现货品种id",
  17593. "type": "integer"
  17594. },
  17595. "deliverygoodsname": {
  17596. "description": "现货品种名称",
  17597. "type": "string"
  17598. },
  17599. "diffqty": {
  17600. "description": "库存变化量 = 期末 - 期初",
  17601. "type": "number"
  17602. },
  17603. "enddate": {
  17604. "description": "结束交易日",
  17605. "type": "string"
  17606. },
  17607. "enumdicname": {
  17608. "description": "单位名称",
  17609. "type": "string"
  17610. },
  17611. "goodsunitid": {
  17612. "description": "现货单位id",
  17613. "type": "integer"
  17614. },
  17615. "oristock": {
  17616. "description": "期初库存量",
  17617. "type": "number"
  17618. },
  17619. "reckondate": {
  17620. "description": "日照时期(yyyyMMdd)",
  17621. "type": "string"
  17622. },
  17623. "spotgoodsbrandid": {
  17624. "description": "现货品牌ID",
  17625. "type": "integer"
  17626. },
  17627. "todaybuyinqty": {
  17628. "description": "今采购入库量",
  17629. "type": "number"
  17630. },
  17631. "todayproduceinqty": {
  17632. "description": "今内部入库量",
  17633. "type": "number"
  17634. },
  17635. "todayproduceoutqty": {
  17636. "description": "今内部出库量",
  17637. "type": "number"
  17638. },
  17639. "todayselloutqty": {
  17640. "description": "今销售出库量",
  17641. "type": "number"
  17642. },
  17643. "unbuyinqty": {
  17644. "description": "采购未入库量(数据库未找到相关字段?)",
  17645. "type": "number"
  17646. },
  17647. "unitid": {
  17648. "description": "品类单位id",
  17649. "type": "integer"
  17650. },
  17651. "unselloutqty": {
  17652. "description": "销售未出库量(数据库未找到相关字段?)",
  17653. "type": "number"
  17654. },
  17655. "updatetime": {
  17656. "description": "更新时间",
  17657. "type": "string"
  17658. },
  17659. "userid": {
  17660. "description": "机构ID",
  17661. "type": "integer"
  17662. },
  17663. "username": {
  17664. "description": "机构名称",
  17665. "type": "string"
  17666. },
  17667. "warehousecode": {
  17668. "description": "仓库代码",
  17669. "type": "string"
  17670. },
  17671. "warehouseinfoid": {
  17672. "description": "仓库ID",
  17673. "type": "string"
  17674. },
  17675. "warehousename": {
  17676. "description": "仓库名称",
  17677. "type": "string"
  17678. },
  17679. "warehousetype": {
  17680. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17681. "type": "integer"
  17682. },
  17683. "wrstandardcode": {
  17684. "description": "品类代码",
  17685. "type": "string"
  17686. },
  17687. "wrstandardid": {
  17688. "description": "品类ID",
  17689. "type": "integer"
  17690. },
  17691. "wrstandardname": {
  17692. "description": "品类名称",
  17693. "type": "string"
  17694. }
  17695. }
  17696. },
  17697. "models.Ermcp3ArealSumPL": {
  17698. "type": "object",
  17699. "properties": {
  17700. "accountname": {
  17701. "description": "机构名称",
  17702. "type": "string"
  17703. },
  17704. "areauserid": {
  17705. "description": "所属机构\\交易用户ID",
  17706. "type": "integer"
  17707. },
  17708. "begindate": {
  17709. "description": "开始交易日",
  17710. "type": "string"
  17711. },
  17712. "currencyid": {
  17713. "description": "结算币种ID",
  17714. "type": "integer"
  17715. },
  17716. "currencyname": {
  17717. "description": "币种名称",
  17718. "type": "string"
  17719. },
  17720. "cycletime": {
  17721. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17722. "type": "string"
  17723. },
  17724. "cycletype": {
  17725. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17726. "type": "integer"
  17727. },
  17728. "enddate": {
  17729. "description": "结束交易日",
  17730. "type": "string"
  17731. },
  17732. "enumdicname": {
  17733. "description": "单位名称(套保品种)",
  17734. "type": "string"
  17735. },
  17736. "futureactualpl": {
  17737. "description": "期货损益",
  17738. "type": "number"
  17739. },
  17740. "futurefloatpl": {
  17741. "description": "期货浮动损益",
  17742. "type": "number"
  17743. },
  17744. "goodsunitid": {
  17745. "description": "套保品种单位id",
  17746. "type": "integer"
  17747. },
  17748. "middlegoodscode": {
  17749. "description": "套保品种代码",
  17750. "type": "string"
  17751. },
  17752. "middlegoodsid": {
  17753. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17754. "type": "integer"
  17755. },
  17756. "middlegoodsname": {
  17757. "description": "套保品种名称",
  17758. "type": "string"
  17759. },
  17760. "reckondate": {
  17761. "description": "日照时期(yyyyMMdd)",
  17762. "type": "string"
  17763. },
  17764. "spotactualpl": {
  17765. "description": "现货损益",
  17766. "type": "number"
  17767. },
  17768. "spotfloatpl": {
  17769. "description": "现货浮动损益",
  17770. "type": "number"
  17771. },
  17772. "sumactualpl": {
  17773. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17774. "type": "number"
  17775. },
  17776. "sumpl": {
  17777. "description": "汇总损益",
  17778. "type": "number"
  17779. },
  17780. "updatetime": {
  17781. "description": "更新时间",
  17782. "type": "string"
  17783. }
  17784. }
  17785. },
  17786. "models.Ermcp3Brand": {
  17787. "type": "object",
  17788. "properties": {
  17789. "areauserid": {
  17790. "description": "用户id",
  17791. "type": "integer"
  17792. },
  17793. "brandid": {
  17794. "description": "品牌id",
  17795. "type": "integer"
  17796. },
  17797. "brandname": {
  17798. "description": "品牌名称",
  17799. "type": "string"
  17800. },
  17801. "deliverygoodsid": {
  17802. "description": "品种ID",
  17803. "type": "integer"
  17804. }
  17805. }
  17806. },
  17807. "models.Ermcp3Contract": {
  17808. "type": "object",
  17809. "properties": {
  17810. "accountid": {
  17811. "description": "期货账户id",
  17812. "type": "string"
  17813. },
  17814. "amount": {
  17815. "description": "金额 [1:一口价、3:暂定价]",
  17816. "type": "number"
  17817. },
  17818. "attachment": {
  17819. "description": "附件",
  17820. "type": "string"
  17821. },
  17822. "auditremark": {
  17823. "description": "审核意见",
  17824. "type": "string"
  17825. },
  17826. "audittime": {
  17827. "description": "审核时间",
  17828. "type": "string"
  17829. },
  17830. "biztype": {
  17831. "description": "业务类型 1-套保 2-套利",
  17832. "type": "integer"
  17833. },
  17834. "brandname": {
  17835. "description": "品牌名称",
  17836. "type": "string"
  17837. },
  17838. "buynickname": {
  17839. "description": "销售方昵称",
  17840. "type": "string"
  17841. },
  17842. "buyuserid": {
  17843. "description": "采购方ID",
  17844. "type": "integer"
  17845. },
  17846. "buyusername": {
  17847. "description": "采购方名称",
  17848. "type": "string"
  17849. },
  17850. "contracctstatus": {
  17851. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17852. "type": "integer"
  17853. },
  17854. "contractmargin": {
  17855. "description": "合同保证金",
  17856. "type": "number"
  17857. },
  17858. "contractno": {
  17859. "description": "现货合同编号",
  17860. "type": "string"
  17861. },
  17862. "contracttype": {
  17863. "description": "现货合同类型 - 1:采购 -1:销售",
  17864. "type": "integer"
  17865. },
  17866. "convertfactor": {
  17867. "description": "标仓系数(品类)",
  17868. "type": "number"
  17869. },
  17870. "createtime": {
  17871. "description": "创建时间",
  17872. "type": "string"
  17873. },
  17874. "currencyid": {
  17875. "description": "币种id",
  17876. "type": "integer"
  17877. },
  17878. "currencyname": {
  17879. "description": "币种名称",
  17880. "type": "string"
  17881. },
  17882. "deliveryenddate": {
  17883. "description": "交收期(结束)",
  17884. "type": "string"
  17885. },
  17886. "deliverygoodscode": {
  17887. "description": "现货品种代码",
  17888. "type": "string"
  17889. },
  17890. "deliverygoodsid": {
  17891. "description": "现货品种ID",
  17892. "type": "integer"
  17893. },
  17894. "deliverygoodsname": {
  17895. "description": "现货品种名称",
  17896. "type": "string"
  17897. },
  17898. "deliverystartdate": {
  17899. "description": "交收期(开始)",
  17900. "type": "string"
  17901. },
  17902. "enddate": {
  17903. "description": "点价结束日期 [2:点价 3:暂定价]",
  17904. "type": "string"
  17905. },
  17906. "enumdicname": {
  17907. "description": "单位名称",
  17908. "type": "string"
  17909. },
  17910. "goodscode": {
  17911. "description": "点价合约代码",
  17912. "type": "string"
  17913. },
  17914. "goodsid": {
  17915. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17916. "type": "integer"
  17917. },
  17918. "goodsname": {
  17919. "description": "点价商品名称",
  17920. "type": "string"
  17921. },
  17922. "margin": {
  17923. "description": "当前保证金",
  17924. "type": "number"
  17925. },
  17926. "meruserid": {
  17927. "description": "跟单员id",
  17928. "type": "integer"
  17929. },
  17930. "meruserlogincode": {
  17931. "description": "跟单员登录代码",
  17932. "type": "string"
  17933. },
  17934. "merusername": {
  17935. "description": "跟单员名称",
  17936. "type": "string"
  17937. },
  17938. "price": {
  17939. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17940. "type": "number"
  17941. },
  17942. "pricemove": {
  17943. "description": "升贴水 [2:点价 3:暂定价]",
  17944. "type": "number"
  17945. },
  17946. "pricetype": {
  17947. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17948. "type": "integer"
  17949. },
  17950. "producttype": {
  17951. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17952. "type": "integer"
  17953. },
  17954. "qty": {
  17955. "description": "数量",
  17956. "type": "number"
  17957. },
  17958. "remark": {
  17959. "description": "备注",
  17960. "type": "string"
  17961. },
  17962. "saleuserid": {
  17963. "description": "业务员id",
  17964. "type": "integer"
  17965. },
  17966. "saleuserlogincode": {
  17967. "description": "业务员登录代码",
  17968. "type": "string"
  17969. },
  17970. "saleusername": {
  17971. "description": "业务员名称",
  17972. "type": "string"
  17973. },
  17974. "sellnickname": {
  17975. "description": "采购方昵称",
  17976. "type": "string"
  17977. },
  17978. "selluserid": {
  17979. "description": "销售方ID",
  17980. "type": "integer"
  17981. },
  17982. "sellusername": {
  17983. "description": "销售方名称",
  17984. "type": "string"
  17985. },
  17986. "spotcontractid": {
  17987. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17988. "type": "string"
  17989. },
  17990. "spotgoodsbrandid": {
  17991. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17992. "type": "integer"
  17993. },
  17994. "spotgoodsdesc": {
  17995. "description": "商品型号",
  17996. "type": "string"
  17997. },
  17998. "startdate": {
  17999. "description": "点价开始日期 [2:点价 3:暂定价]",
  18000. "type": "string"
  18001. },
  18002. "tradeuserid": {
  18003. "description": "交易员id",
  18004. "type": "integer"
  18005. },
  18006. "tradeuserlogincode": {
  18007. "description": "交易员登录代码",
  18008. "type": "string"
  18009. },
  18010. "tradeusername": {
  18011. "description": "交易员名称",
  18012. "type": "string"
  18013. },
  18014. "unitid": {
  18015. "description": "单位id(取品类上的单位id)",
  18016. "type": "integer"
  18017. },
  18018. "updatetime": {
  18019. "description": "更新时间",
  18020. "type": "string"
  18021. },
  18022. "userid": {
  18023. "description": "所属机构ID",
  18024. "type": "integer"
  18025. },
  18026. "wrstandardcode": {
  18027. "description": "品类代码",
  18028. "type": "string"
  18029. },
  18030. "wrstandardid": {
  18031. "description": "品类ID",
  18032. "type": "integer"
  18033. },
  18034. "wrstandardname": {
  18035. "description": "品类名称",
  18036. "type": "string"
  18037. }
  18038. }
  18039. },
  18040. "models.Ermcp3ExposureContractDetail": {
  18041. "type": "object",
  18042. "properties": {
  18043. "biztype": {
  18044. "description": "业务类型 1-套保 2-套利",
  18045. "type": "integer"
  18046. },
  18047. "brandname": {
  18048. "description": "品牌名称",
  18049. "type": "string"
  18050. },
  18051. "buyuserid": {
  18052. "description": "采购方id",
  18053. "type": "integer"
  18054. },
  18055. "buyusername": {
  18056. "description": "采购方名称",
  18057. "type": "string"
  18058. },
  18059. "contractno": {
  18060. "description": "合同编号",
  18061. "type": "string"
  18062. },
  18063. "contracttype": {
  18064. "description": "现货合同类型 - 1:采购 -1:销售",
  18065. "type": "integer"
  18066. },
  18067. "convertfactor": {
  18068. "description": "标仓系数",
  18069. "type": "number"
  18070. },
  18071. "convertratio": {
  18072. "description": "折算系数(套保品种)",
  18073. "type": "number"
  18074. },
  18075. "curqty": {
  18076. "description": "今定价量",
  18077. "type": "number"
  18078. },
  18079. "deliverygoodscode": {
  18080. "description": "现货商品代码",
  18081. "type": "string"
  18082. },
  18083. "deliverygoodsid": {
  18084. "description": "现货商品id",
  18085. "type": "integer"
  18086. },
  18087. "deliverygoodsname": {
  18088. "description": "现货商品名称",
  18089. "type": "string"
  18090. },
  18091. "diffhedgeqty": {
  18092. "description": "套保变动量",
  18093. "type": "number"
  18094. },
  18095. "diffneedhedgeqty": {
  18096. "description": "应套保变动量",
  18097. "type": "number"
  18098. },
  18099. "diffqty": {
  18100. "description": "套保品种今变动量",
  18101. "type": "number"
  18102. },
  18103. "enumdicname": {
  18104. "description": "单位名称",
  18105. "type": "string"
  18106. },
  18107. "mgunitname": {
  18108. "description": "套保品种单位名称",
  18109. "type": "string"
  18110. },
  18111. "middlegoodscode": {
  18112. "description": "套保品种代码",
  18113. "type": "string"
  18114. },
  18115. "middlegoodsid": {
  18116. "description": "套保品种id",
  18117. "type": "integer"
  18118. },
  18119. "middlegoodsname": {
  18120. "description": "套保品种名称",
  18121. "type": "string"
  18122. },
  18123. "needarbitrageratio": {
  18124. "description": "应套利比例",
  18125. "type": "number"
  18126. },
  18127. "needhedgeratio": {
  18128. "description": "应套保比例",
  18129. "type": "number"
  18130. },
  18131. "pricedqty": {
  18132. "description": "已定价量",
  18133. "type": "number"
  18134. },
  18135. "qty": {
  18136. "description": "合同量",
  18137. "type": "number"
  18138. },
  18139. "selluserid": {
  18140. "description": "销售方id",
  18141. "type": "integer"
  18142. },
  18143. "sellusername": {
  18144. "description": "销售方名称",
  18145. "type": "string"
  18146. },
  18147. "spotcontractid": {
  18148. "description": "合同id",
  18149. "type": "string"
  18150. },
  18151. "todaypricedqty": {
  18152. "description": "今定价量",
  18153. "type": "number"
  18154. },
  18155. "tradedate": {
  18156. "description": "交易日",
  18157. "type": "string"
  18158. },
  18159. "unitid": {
  18160. "description": "品类单位id",
  18161. "type": "integer"
  18162. },
  18163. "userid": {
  18164. "description": "机构id",
  18165. "type": "integer"
  18166. },
  18167. "username": {
  18168. "description": "交易用户",
  18169. "type": "string"
  18170. },
  18171. "wrstandardcode": {
  18172. "description": "品类代码",
  18173. "type": "string"
  18174. },
  18175. "wrstandardid": {
  18176. "description": "品类id",
  18177. "type": "integer"
  18178. },
  18179. "wrstandardname": {
  18180. "description": "品类名称",
  18181. "type": "string"
  18182. }
  18183. }
  18184. },
  18185. "models.Ermcp3ExposureDetail": {
  18186. "type": "object",
  18187. "properties": {
  18188. "areauserid": {
  18189. "description": "机构ID",
  18190. "type": "integer"
  18191. },
  18192. "changeQty": {
  18193. "description": "套保变动量",
  18194. "type": "number"
  18195. },
  18196. "contracttype": {
  18197. "description": "现货合同类型 - 1:采购 -1:销售",
  18198. "type": "integer"
  18199. },
  18200. "convertfactor": {
  18201. "description": "标仓系数",
  18202. "type": "number"
  18203. },
  18204. "convertratio": {
  18205. "description": "套保系数",
  18206. "type": "number"
  18207. },
  18208. "createtime": {
  18209. "description": "时间",
  18210. "type": "string"
  18211. },
  18212. "deliverygoodscode": {
  18213. "description": "现货品种代码",
  18214. "type": "string"
  18215. },
  18216. "deliverygoodsid": {
  18217. "description": "现货品种id",
  18218. "type": "integer"
  18219. },
  18220. "deliverygoodsname": {
  18221. "description": "现货品种名称",
  18222. "type": "string"
  18223. },
  18224. "enumdicname": {
  18225. "description": "现货商品单位名称",
  18226. "type": "string"
  18227. },
  18228. "logtype": {
  18229. "description": "类型 - 1:套保计划 2:现货合同",
  18230. "type": "integer"
  18231. },
  18232. "mgunitid": {
  18233. "description": "套保品种单位id",
  18234. "type": "integer"
  18235. },
  18236. "mgunitidname": {
  18237. "description": "套保品种单位名称",
  18238. "type": "string"
  18239. },
  18240. "middlegoodsId": {
  18241. "description": "套保商品id",
  18242. "type": "integer"
  18243. },
  18244. "middlegoodscode": {
  18245. "description": "套保商品代码",
  18246. "type": "string"
  18247. },
  18248. "middlegoodsname": {
  18249. "description": "套保商品名称",
  18250. "type": "string"
  18251. },
  18252. "qty": {
  18253. "description": "数量",
  18254. "type": "number"
  18255. },
  18256. "relateNo": {
  18257. "description": "现货合同/套保计划编号",
  18258. "type": "string"
  18259. }
  18260. }
  18261. },
  18262. "models.Ermcp3ExposureFutuDetail": {
  18263. "type": "object",
  18264. "properties": {
  18265. "accountid": {
  18266. "description": "交易账户id",
  18267. "type": "integer"
  18268. },
  18269. "accountname": {
  18270. "description": "交易账户",
  18271. "type": "string"
  18272. },
  18273. "begindate": {
  18274. "description": "开始交易日",
  18275. "type": "string"
  18276. },
  18277. "buyorsell": {
  18278. "description": "方向 0-买 1-卖",
  18279. "type": "integer"
  18280. },
  18281. "diffmgqty": {
  18282. "description": "套保品种今变化量",
  18283. "type": "number"
  18284. },
  18285. "diffneedqty": {
  18286. "description": "应套保总量变化量",
  18287. "type": "number"
  18288. },
  18289. "difftradeqty": {
  18290. "description": "交易品种今变化量",
  18291. "type": "number"
  18292. },
  18293. "enddate": {
  18294. "description": "结束交易日",
  18295. "type": "string"
  18296. },
  18297. "enumdicname": {
  18298. "description": "单位名称",
  18299. "type": "string"
  18300. },
  18301. "goodscode": {
  18302. "description": "商品代码",
  18303. "type": "string"
  18304. },
  18305. "goodsid": {
  18306. "description": "商品id",
  18307. "type": "integer"
  18308. },
  18309. "goodsname": {
  18310. "description": "商品名称",
  18311. "type": "string"
  18312. },
  18313. "holdqty": {
  18314. "description": "期末持仓量",
  18315. "type": "number"
  18316. },
  18317. "middlegoodscode": {
  18318. "description": "套保商品代码",
  18319. "type": "string"
  18320. },
  18321. "middlegoodsid": {
  18322. "description": "套保商品id",
  18323. "type": "integer"
  18324. },
  18325. "middlegoodsname": {
  18326. "description": "套保商品名称",
  18327. "type": "string"
  18328. },
  18329. "oriholdqty": {
  18330. "description": "期初持仓量",
  18331. "type": "number"
  18332. },
  18333. "todaycloseqty": {
  18334. "description": "今平仓量",
  18335. "type": "number"
  18336. },
  18337. "todayopenqty": {
  18338. "description": "今开仓量",
  18339. "type": "number"
  18340. },
  18341. "tradedate": {
  18342. "description": "交易日",
  18343. "type": "string"
  18344. }
  18345. }
  18346. },
  18347. "models.Ermcp3ExposureHedgeplanDetail": {
  18348. "type": "object",
  18349. "properties": {
  18350. "biztype": {
  18351. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18352. "type": "integer"
  18353. },
  18354. "changqty": {
  18355. "description": "应套保总量变化量",
  18356. "type": "number"
  18357. },
  18358. "contracttype": {
  18359. "description": "计划类型 - 1:采购 -1:销售",
  18360. "type": "integer"
  18361. },
  18362. "convertratio": {
  18363. "description": "折算系数(套保品种)",
  18364. "type": "number"
  18365. },
  18366. "deliverygoodscode": {
  18367. "description": "现货商品代码",
  18368. "type": "string"
  18369. },
  18370. "deliverygoodsid": {
  18371. "description": "现货商品id",
  18372. "type": "integer"
  18373. },
  18374. "deliverygoodsname": {
  18375. "description": "现货商吕名称",
  18376. "type": "string"
  18377. },
  18378. "dgunitid": {
  18379. "description": "现货商品单位id",
  18380. "type": "integer"
  18381. },
  18382. "dgunitidname": {
  18383. "description": "单位名称(现货商品)",
  18384. "type": "string"
  18385. },
  18386. "diffqty": {
  18387. "description": "套保品种今变动量",
  18388. "type": "number"
  18389. },
  18390. "enumdicname": {
  18391. "description": "单位名称(品类)",
  18392. "type": "string"
  18393. },
  18394. "hedgeplanid": {
  18395. "description": "套保计划id",
  18396. "type": "string"
  18397. },
  18398. "hedgeplanno": {
  18399. "description": "套保计划名称",
  18400. "type": "string"
  18401. },
  18402. "hedgeplanstatus": {
  18403. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18404. "type": "integer"
  18405. },
  18406. "mgunitidname": {
  18407. "description": "单位名称(套保商品)",
  18408. "type": "string"
  18409. },
  18410. "middlegoodscode": {
  18411. "description": "套保品种代码",
  18412. "type": "string"
  18413. },
  18414. "middlegoodsid": {
  18415. "description": "套保品种id",
  18416. "type": "integer"
  18417. },
  18418. "middlegoodsname": {
  18419. "description": "套保品种名称",
  18420. "type": "string"
  18421. },
  18422. "needarbitrageratio": {
  18423. "description": "应套利比例",
  18424. "type": "number"
  18425. },
  18426. "needhedgeratio": {
  18427. "description": "应套保比例",
  18428. "type": "number"
  18429. },
  18430. "pricedqty": {
  18431. "description": "已定价量",
  18432. "type": "number"
  18433. },
  18434. "qty": {
  18435. "description": "合同量",
  18436. "type": "number"
  18437. },
  18438. "tradedate": {
  18439. "description": "交易日(登记日)",
  18440. "type": "string"
  18441. },
  18442. "unitid": {
  18443. "description": "品类单位id",
  18444. "type": "integer"
  18445. },
  18446. "userid": {
  18447. "description": "机构id",
  18448. "type": "integer"
  18449. },
  18450. "wrstandardcode": {
  18451. "description": "品类代码",
  18452. "type": "string"
  18453. },
  18454. "wrstandardid": {
  18455. "description": "品类id",
  18456. "type": "integer"
  18457. },
  18458. "wrstandardname": {
  18459. "description": "品类名称",
  18460. "type": "string"
  18461. }
  18462. }
  18463. },
  18464. "models.Ermcp3ExposureParamChLog": {
  18465. "type": "object",
  18466. "properties": {
  18467. "accountid": {
  18468. "description": "期货账户ID (作废, 默认为0)",
  18469. "type": "integer"
  18470. },
  18471. "aftervalue": {
  18472. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18473. "type": "number"
  18474. },
  18475. "areauserid": {
  18476. "description": "所属机构\\交易用户ID",
  18477. "type": "integer"
  18478. },
  18479. "beforevalue": {
  18480. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18481. "type": "number"
  18482. },
  18483. "begindate": {
  18484. "description": "开始交易日",
  18485. "type": "string"
  18486. },
  18487. "changelogtype": {
  18488. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18489. "type": "integer"
  18490. },
  18491. "curvalue": {
  18492. "description": "当前套保\\套利量(套保总量|套利总量)",
  18493. "type": "number"
  18494. },
  18495. "diffvalue": {
  18496. "description": "应套保总量变化量",
  18497. "type": "number"
  18498. },
  18499. "enddate": {
  18500. "description": "结束交易日",
  18501. "type": "string"
  18502. },
  18503. "logdatetime": {
  18504. "description": "流水日期",
  18505. "type": "string"
  18506. },
  18507. "logid": {
  18508. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18509. "type": "string"
  18510. },
  18511. "middlegoodscode": {
  18512. "description": "套保品种代码",
  18513. "type": "string"
  18514. },
  18515. "middlegoodsid": {
  18516. "description": "套保品种",
  18517. "type": "integer"
  18518. },
  18519. "middlegoodsname": {
  18520. "description": "套保品种名称",
  18521. "type": "string"
  18522. },
  18523. "paramaftervalue": {
  18524. "description": "参数变更后(调整后参数值)",
  18525. "type": "number"
  18526. },
  18527. "parambeforevalue": {
  18528. "description": "参数变更前(调整前参数值)",
  18529. "type": "number"
  18530. },
  18531. "tradedate": {
  18532. "description": "交易日(yyyyMMdd)",
  18533. "type": "string"
  18534. }
  18535. }
  18536. },
  18537. "models.Ermcp3ExpourseReport": {
  18538. "type": "object",
  18539. "properties": {
  18540. "accountid": {
  18541. "description": "期货账户ID (作废, 默认为0)",
  18542. "type": "integer"
  18543. },
  18544. "accountname": {
  18545. "description": "机构名称",
  18546. "type": "string"
  18547. },
  18548. "arbitrageqty": {
  18549. "description": "套利量",
  18550. "type": "number"
  18551. },
  18552. "areauserid": {
  18553. "description": "所属机构\\交易用户ID",
  18554. "type": "integer"
  18555. },
  18556. "begindate": {
  18557. "description": "开始交易日",
  18558. "type": "string"
  18559. },
  18560. "buyfutureqty": {
  18561. "description": "买入期货数量",
  18562. "type": "number"
  18563. },
  18564. "buyplanqty": {
  18565. "description": "采购计划数量",
  18566. "type": "number"
  18567. },
  18568. "buypricedqty": {
  18569. "description": "采购合同已定价数量",
  18570. "type": "number"
  18571. },
  18572. "cycletime": {
  18573. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18574. "type": "string"
  18575. },
  18576. "cycletype": {
  18577. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18578. "type": "integer"
  18579. },
  18580. "diffexposure": {
  18581. "description": "变动量(套保敞口)",
  18582. "type": "number"
  18583. },
  18584. "difffutuqty": {
  18585. "description": "变动量(期货)",
  18586. "type": "number"
  18587. },
  18588. "diffhedgeqty": {
  18589. "description": "变动量(现货应套保总量)",
  18590. "type": "number"
  18591. },
  18592. "diffmgqtya": {
  18593. "description": "套保变动量",
  18594. "type": "number"
  18595. },
  18596. "diffmgqtyb": {
  18597. "description": "套利变动量",
  18598. "type": "number"
  18599. },
  18600. "diffqty": {
  18601. "description": "变动量(总敞口)",
  18602. "type": "number"
  18603. },
  18604. "diffspotqty": {
  18605. "description": "变动量(现货)",
  18606. "type": "number"
  18607. },
  18608. "enddate": {
  18609. "description": "结束交易日",
  18610. "type": "string"
  18611. },
  18612. "enumdicname": {
  18613. "description": "单位名称",
  18614. "type": "string"
  18615. },
  18616. "hedgeqty": {
  18617. "description": "套保量",
  18618. "type": "number"
  18619. },
  18620. "mgneedhedgeratio": {
  18621. "description": "套保比例(套保品的)",
  18622. "type": "number"
  18623. },
  18624. "middlegoodsid": {
  18625. "description": "套保品种ID",
  18626. "type": "integer"
  18627. },
  18628. "middlegoodsname": {
  18629. "description": "套保商品名称",
  18630. "type": "string"
  18631. },
  18632. "middlgoodscode": {
  18633. "description": "套保商品代码",
  18634. "type": "string"
  18635. },
  18636. "needarbitrageqty": {
  18637. "description": "应套利量",
  18638. "type": "number"
  18639. },
  18640. "needarbitrageratio": {
  18641. "description": "套利比例(套保品的)",
  18642. "type": "number"
  18643. },
  18644. "needhedgeexposoure": {
  18645. "description": "应套保敞口(套保敞口)",
  18646. "type": "number"
  18647. },
  18648. "needhedgeqty": {
  18649. "description": "应套保量",
  18650. "type": "number"
  18651. },
  18652. "needhedgeratio": {
  18653. "description": "应套保敞口比例",
  18654. "type": "number"
  18655. },
  18656. "oriarbitrageqty": {
  18657. "description": "期初套利量",
  18658. "type": "number"
  18659. },
  18660. "oribuyfutureqty": {
  18661. "description": "期初买入期货数量",
  18662. "type": "number"
  18663. },
  18664. "oribuyplanqty": {
  18665. "description": "期初采购计划数量",
  18666. "type": "number"
  18667. },
  18668. "oribuypricedqty": {
  18669. "description": "期初采购合同已定价数量",
  18670. "type": "number"
  18671. },
  18672. "orihedgeqty": {
  18673. "description": "期初套保量",
  18674. "type": "number"
  18675. },
  18676. "orineedarbitrageqty": {
  18677. "description": "期初应套利量",
  18678. "type": "number"
  18679. },
  18680. "orineedhedgeexposoure": {
  18681. "description": "期初应套保敞口",
  18682. "type": "number"
  18683. },
  18684. "orineedhedgeqty": {
  18685. "description": "期初应套保量",
  18686. "type": "number"
  18687. },
  18688. "orisellfutureqty": {
  18689. "description": "期初卖出期货数量",
  18690. "type": "number"
  18691. },
  18692. "orisellplanqty": {
  18693. "description": "期初销售计划数量",
  18694. "type": "number"
  18695. },
  18696. "orisellpricedqty": {
  18697. "description": "期初销售合同已定价数量",
  18698. "type": "number"
  18699. },
  18700. "oritotalexposure": {
  18701. "description": "期初实时总敞口",
  18702. "type": "number"
  18703. },
  18704. "oritotalfutureqty": {
  18705. "description": "期初期货头寸总量",
  18706. "type": "number"
  18707. },
  18708. "oritotalneedhedgeqty": {
  18709. "description": "期初应套保总量",
  18710. "type": "number"
  18711. },
  18712. "oritotalspotqty": {
  18713. "description": "期初现货头寸总量",
  18714. "type": "number"
  18715. },
  18716. "reckondate": {
  18717. "description": "日照时期(yyyyMMdd)",
  18718. "type": "string"
  18719. },
  18720. "sellfutureqty": {
  18721. "description": "卖出期货数量",
  18722. "type": "number"
  18723. },
  18724. "sellplanqty": {
  18725. "description": "销售计划数量",
  18726. "type": "number"
  18727. },
  18728. "sellpricedqty": {
  18729. "description": "销售合同已定价数量",
  18730. "type": "number"
  18731. },
  18732. "totalexposure": {
  18733. "description": "实时总敞口(总敞口)",
  18734. "type": "number"
  18735. },
  18736. "totalfutureqty": {
  18737. "description": "期货头寸总量(期货总量)",
  18738. "type": "number"
  18739. },
  18740. "totalhedgeratio": {
  18741. "description": "敞口比例",
  18742. "type": "number"
  18743. },
  18744. "totalneedhedgeqty": {
  18745. "description": "应套保总量(现货应套保总量)",
  18746. "type": "number"
  18747. },
  18748. "totalspotqty": {
  18749. "description": "现货头寸总量",
  18750. "type": "number"
  18751. },
  18752. "unitid": {
  18753. "description": "单位id",
  18754. "type": "integer"
  18755. },
  18756. "updatetime": {
  18757. "description": "更新时间",
  18758. "type": "string"
  18759. }
  18760. }
  18761. },
  18762. "models.Ermcp3FinanceReport": {
  18763. "type": "object",
  18764. "properties": {
  18765. "accountname": {
  18766. "description": "机构名称",
  18767. "type": "string"
  18768. },
  18769. "areauserid": {
  18770. "description": "所属机构\\交易用户ID",
  18771. "type": "integer"
  18772. },
  18773. "begindate": {
  18774. "description": "开始交易日",
  18775. "type": "string"
  18776. },
  18777. "biztype": {
  18778. "description": "业务类型 - 1:套保 2:套利",
  18779. "type": "integer"
  18780. },
  18781. "brandname": {
  18782. "description": "品牌名称",
  18783. "type": "string"
  18784. },
  18785. "buypreinvoicedamount": {
  18786. "description": "采购预收票额(预收票额)",
  18787. "type": "number"
  18788. },
  18789. "buyprepaidamount": {
  18790. "description": "采购预付款额(预付货款额)",
  18791. "type": "number"
  18792. },
  18793. "buytodayinvoiceamount": {
  18794. "description": "采购今收票额(今收票额)",
  18795. "type": "number"
  18796. },
  18797. "buytodayrefundamount": {
  18798. "description": "采购今收退款额(今收退款额)",
  18799. "type": "number"
  18800. },
  18801. "buytodaysettleamount": {
  18802. "description": "采购今付款额(今付货款额)",
  18803. "type": "number"
  18804. },
  18805. "buyuninvoicedamount": {
  18806. "description": "采购应收票额(应收票额)",
  18807. "type": "number"
  18808. },
  18809. "buyunpaidamount": {
  18810. "description": "采购应付款额(应付货款额)",
  18811. "type": "number"
  18812. },
  18813. "currencyid": {
  18814. "description": "结算币种ID",
  18815. "type": "integer"
  18816. },
  18817. "currencyname": {
  18818. "description": "币种名称",
  18819. "type": "string"
  18820. },
  18821. "cycletime": {
  18822. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18823. "type": "string"
  18824. },
  18825. "cycletype": {
  18826. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18827. "type": "integer"
  18828. },
  18829. "deliverygoodscode": {
  18830. "description": "现货品种代码",
  18831. "type": "string"
  18832. },
  18833. "deliverygoodsid": {
  18834. "description": "现货品种ID",
  18835. "type": "integer"
  18836. },
  18837. "deliverygoodsname": {
  18838. "description": "现货品种名称",
  18839. "type": "string"
  18840. },
  18841. "enddate": {
  18842. "description": "结束交易日",
  18843. "type": "string"
  18844. },
  18845. "reckondate": {
  18846. "description": "日照时期(yyyyMMdd)",
  18847. "type": "string"
  18848. },
  18849. "sellpreinvoicedamount": {
  18850. "description": "销售预开票额(预开票额)",
  18851. "type": "number"
  18852. },
  18853. "sellprepaidamount": {
  18854. "description": "销售预收款额(预收货款额)",
  18855. "type": "number"
  18856. },
  18857. "selltodayinvoiceamount": {
  18858. "description": "销售今开票额(今开票额)",
  18859. "type": "number"
  18860. },
  18861. "selltodayrefundamount": {
  18862. "description": "销售今付退款额(今付退款额)",
  18863. "type": "number"
  18864. },
  18865. "selltodaysettleamount": {
  18866. "description": "销售今收款额(今收货款额)",
  18867. "type": "number"
  18868. },
  18869. "selluninvoicedamount": {
  18870. "description": "销售应开票额(应开票额)",
  18871. "type": "number"
  18872. },
  18873. "sellunpaidamount": {
  18874. "description": "销售应收款额(应收货款额)",
  18875. "type": "number"
  18876. },
  18877. "spotgoodsbrandid": {
  18878. "description": "现货品牌ID",
  18879. "type": "integer"
  18880. },
  18881. "todaypaysum": {
  18882. "description": "今付款合计",
  18883. "type": "number"
  18884. },
  18885. "todayreceivesum": {
  18886. "description": "今收款合计",
  18887. "type": "number"
  18888. },
  18889. "updatetime": {
  18890. "description": "更新时间",
  18891. "type": "string"
  18892. },
  18893. "wrfactortypeid": {
  18894. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18895. "type": "integer"
  18896. },
  18897. "wrstandardcode": {
  18898. "description": "品类代码",
  18899. "type": "string"
  18900. },
  18901. "wrstandardid": {
  18902. "description": "现货商品ID",
  18903. "type": "integer"
  18904. },
  18905. "wrstandardname": {
  18906. "description": "品类名称",
  18907. "type": "string"
  18908. }
  18909. }
  18910. },
  18911. "models.Ermcp3Goods": {
  18912. "type": "object",
  18913. "properties": {
  18914. "agreeunit": {
  18915. "description": "合约单位(合约乘数)",
  18916. "type": "number"
  18917. },
  18918. "enumdicname": {
  18919. "description": "单位名称",
  18920. "type": "string"
  18921. },
  18922. "exexchangecode": {
  18923. "description": "交易所代码",
  18924. "type": "string"
  18925. },
  18926. "goodscode": {
  18927. "description": "期货商品代码",
  18928. "type": "string"
  18929. },
  18930. "goodsid": {
  18931. "description": "期货商品id",
  18932. "type": "integer"
  18933. },
  18934. "goodsname": {
  18935. "description": "期货商品名称",
  18936. "type": "string"
  18937. }
  18938. }
  18939. },
  18940. "models.Ermcp3GoodsGroup": {
  18941. "type": "object",
  18942. "required": [
  18943. "areauserid"
  18944. ],
  18945. "properties": {
  18946. "agreeunit": {
  18947. "description": "合约单位",
  18948. "type": "number"
  18949. },
  18950. "areauserid": {
  18951. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18952. "type": "integer"
  18953. },
  18954. "canshort": {
  18955. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18956. "type": "integer"
  18957. },
  18958. "closepricemode": {
  18959. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18960. "type": "integer"
  18961. },
  18962. "createtime": {
  18963. "description": "创建时间",
  18964. "type": "string"
  18965. },
  18966. "creatorid": {
  18967. "description": "创建人",
  18968. "type": "integer"
  18969. },
  18970. "currencyid": {
  18971. "description": "报价货币ID",
  18972. "type": "integer"
  18973. },
  18974. "decimalplace": {
  18975. "description": "报价小数位",
  18976. "type": "integer"
  18977. },
  18978. "enumdicname": {
  18979. "description": "单位名称",
  18980. "type": "string"
  18981. },
  18982. "exchangefullname": {
  18983. "description": "交易所全称",
  18984. "type": "string"
  18985. },
  18986. "excludecfg": {
  18987. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18988. "type": "integer"
  18989. },
  18990. "exexchangecode": {
  18991. "description": "交易所代码",
  18992. "type": "string"
  18993. },
  18994. "exexchangeid": {
  18995. "description": "外部交易所ID[通道交易]",
  18996. "type": "integer"
  18997. },
  18998. "exexchangename": {
  18999. "description": "交易所名称",
  19000. "type": "string"
  19001. },
  19002. "goodsgroupid": {
  19003. "description": "商品组ID(自增ID)",
  19004. "type": "integer"
  19005. },
  19006. "goodsgroupname": {
  19007. "description": "商品组名称",
  19008. "type": "string"
  19009. },
  19010. "goodsgroupstatus": {
  19011. "description": "商品组状态 - 1:正常 2:注销",
  19012. "type": "integer"
  19013. },
  19014. "goodunitid": {
  19015. "description": "报价单位ID",
  19016. "type": "integer"
  19017. },
  19018. "groupcategroyid": {
  19019. "description": "品种分类ID",
  19020. "type": "integer"
  19021. },
  19022. "innerdealmode": {
  19023. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19024. "type": "integer"
  19025. },
  19026. "marketid": {
  19027. "description": "所属市场ID",
  19028. "type": "integer"
  19029. },
  19030. "modifierid": {
  19031. "description": "修改人",
  19032. "type": "integer"
  19033. },
  19034. "modifytime": {
  19035. "description": "修改时间",
  19036. "type": "string"
  19037. },
  19038. "outerdealmode": {
  19039. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19040. "type": "integer"
  19041. },
  19042. "outergroupcode": {
  19043. "description": "外部商品组代码[通道交易]",
  19044. "type": "string"
  19045. },
  19046. "quoteminunit": {
  19047. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19048. "type": "integer"
  19049. },
  19050. "quotesourcegroupid": {
  19051. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19052. "type": "integer"
  19053. },
  19054. "syncgoodsqty": {
  19055. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19056. "type": "integer"
  19057. }
  19058. }
  19059. },
  19060. "models.Ermcp3GoodsGroupEx": {
  19061. "type": "object",
  19062. "properties": {
  19063. "convertratio": {
  19064. "description": "折算系数(品种系数)",
  19065. "type": "number"
  19066. },
  19067. "enumdicname": {
  19068. "description": "单位名称",
  19069. "type": "string"
  19070. },
  19071. "exexchangecode": {
  19072. "description": "交易所代码",
  19073. "type": "string"
  19074. },
  19075. "glist": {
  19076. "description": "合约列表",
  19077. "type": "array",
  19078. "items": {
  19079. "$ref": "#/definitions/models.Ermcp3Goods"
  19080. }
  19081. },
  19082. "goodsgroupid": {
  19083. "description": "商品组id",
  19084. "type": "integer"
  19085. },
  19086. "goodsgroupname": {
  19087. "description": "商品组名称",
  19088. "type": "string"
  19089. },
  19090. "goodsunitid": {
  19091. "description": "单位id",
  19092. "type": "integer"
  19093. },
  19094. "middlegoodsid": {
  19095. "description": "套保商品id",
  19096. "type": "integer"
  19097. }
  19098. }
  19099. },
  19100. "models.Ermcp3HedgePlan": {
  19101. "type": "object",
  19102. "properties": {
  19103. "accountid": {
  19104. "description": "资金账号",
  19105. "type": "integer"
  19106. },
  19107. "areauserid": {
  19108. "description": "用户ID",
  19109. "type": "integer"
  19110. },
  19111. "auditid": {
  19112. "description": "审核id",
  19113. "type": "integer"
  19114. },
  19115. "auditname": {
  19116. "description": "审核人名称",
  19117. "type": "string"
  19118. },
  19119. "auditremark": {
  19120. "description": "审核备注",
  19121. "type": "string"
  19122. },
  19123. "auditsrc": {
  19124. "description": "审核来源 1-管理端 2-终端",
  19125. "type": "integer"
  19126. },
  19127. "audittime": {
  19128. "description": "审核时间",
  19129. "type": "string"
  19130. },
  19131. "contracttype": {
  19132. "description": "计划类型 - 1:采购 -1:销售",
  19133. "type": "integer"
  19134. },
  19135. "convertfactor": {
  19136. "description": "标仓系数",
  19137. "type": "number"
  19138. },
  19139. "createtime": {
  19140. "description": "创建时间",
  19141. "type": "string"
  19142. },
  19143. "currencyid": {
  19144. "description": "币种id",
  19145. "type": "integer"
  19146. },
  19147. "currencyname": {
  19148. "description": "币种名称",
  19149. "type": "string"
  19150. },
  19151. "deliverygoodscode": {
  19152. "description": "现货品种代码",
  19153. "type": "string"
  19154. },
  19155. "deliverygoodsid": {
  19156. "description": "现货品种ID",
  19157. "type": "integer"
  19158. },
  19159. "deliverygoodsname": {
  19160. "description": "现货品种名称",
  19161. "type": "string"
  19162. },
  19163. "enumdicname": {
  19164. "description": "单位名称(现货商品)",
  19165. "type": "string"
  19166. },
  19167. "hedgeplanid": {
  19168. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19169. "type": "string"
  19170. },
  19171. "hedgeplanno": {
  19172. "description": "套保计划编号(名称)",
  19173. "type": "string"
  19174. },
  19175. "hedgeplanstatus": {
  19176. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19177. "type": "integer"
  19178. },
  19179. "planqty": {
  19180. "description": "计划数量",
  19181. "type": "number"
  19182. },
  19183. "plantime": {
  19184. "description": "计划时间",
  19185. "type": "string"
  19186. },
  19187. "producttype": {
  19188. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19189. "type": "integer"
  19190. },
  19191. "remark": {
  19192. "description": "备注",
  19193. "type": "string"
  19194. },
  19195. "spotgoodsdesc": {
  19196. "description": "商品型号",
  19197. "type": "string"
  19198. },
  19199. "taaccountname": {
  19200. "description": "资金账号名称",
  19201. "type": "string"
  19202. },
  19203. "tradeuserid": {
  19204. "description": "交易用户id",
  19205. "type": "integer"
  19206. },
  19207. "tradeusername": {
  19208. "description": "交易用户名称",
  19209. "type": "string"
  19210. },
  19211. "unitid": {
  19212. "description": "单位id(现货商品)",
  19213. "type": "integer"
  19214. },
  19215. "updatetime": {
  19216. "description": "更新时间",
  19217. "type": "string"
  19218. },
  19219. "wrstandardcode": {
  19220. "description": "品类代码",
  19221. "type": "string"
  19222. },
  19223. "wrstandardid": {
  19224. "description": "品类id",
  19225. "type": "integer"
  19226. },
  19227. "wrstandardname": {
  19228. "description": "品类名称",
  19229. "type": "string"
  19230. },
  19231. "wrunitid": {
  19232. "description": "品类单位id",
  19233. "type": "integer"
  19234. },
  19235. "wrunitidame": {
  19236. "description": "品类单位名称",
  19237. "type": "string"
  19238. }
  19239. }
  19240. },
  19241. "models.Ermcp3MiddleGoodsDetail2": {
  19242. "type": "object",
  19243. "properties": {
  19244. "convertratio": {
  19245. "description": "套保系数(折算系数)",
  19246. "type": "number"
  19247. },
  19248. "gplist": {
  19249. "description": "关联商品组列表",
  19250. "type": "array",
  19251. "items": {
  19252. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19253. }
  19254. },
  19255. "mg": {
  19256. "description": "套保商品信息",
  19257. "type": "object",
  19258. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19259. }
  19260. }
  19261. },
  19262. "models.Ermcp3MiddleGoodsDetailEx": {
  19263. "type": "object",
  19264. "properties": {
  19265. "dglist": {
  19266. "description": "关联的现货品种列表",
  19267. "type": "array",
  19268. "items": {
  19269. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  19270. }
  19271. },
  19272. "gplist": {
  19273. "description": "关联商品组列表",
  19274. "type": "array",
  19275. "items": {
  19276. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19277. }
  19278. },
  19279. "mg": {
  19280. "description": "套保商品信息",
  19281. "type": "object",
  19282. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19283. }
  19284. }
  19285. },
  19286. "models.Ermcp3RootUserAccount": {
  19287. "type": "object",
  19288. "properties": {
  19289. "accountname": {
  19290. "description": "账户名称(机构名称)",
  19291. "type": "string"
  19292. },
  19293. "accountstatus": {
  19294. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19295. "type": "integer"
  19296. },
  19297. "applysrc": {
  19298. "description": "申请来源 - 1:管理端 2:终端",
  19299. "type": "integer"
  19300. },
  19301. "auditremark": {
  19302. "description": "审核备注",
  19303. "type": "string"
  19304. },
  19305. "auditsrc": {
  19306. "description": "审核来源 - 1:管理端 2:终端",
  19307. "type": "integer"
  19308. },
  19309. "audittime": {
  19310. "description": "审核时间",
  19311. "type": "string"
  19312. },
  19313. "audituserid": {
  19314. "description": "审核人",
  19315. "type": "integer"
  19316. },
  19317. "broker": {
  19318. "description": "所属经纪人ID",
  19319. "type": "integer"
  19320. },
  19321. "canceltime": {
  19322. "description": "销户时间",
  19323. "type": "string"
  19324. },
  19325. "canceluserid": {
  19326. "description": "销户人",
  19327. "type": "integer"
  19328. },
  19329. "canrecommend": {
  19330. "description": "是否可推荐 - 0:不可 1;可",
  19331. "type": "integer"
  19332. },
  19333. "createtime": {
  19334. "description": "创建时间",
  19335. "type": "string"
  19336. },
  19337. "creatorid": {
  19338. "description": "创建人",
  19339. "type": "integer"
  19340. },
  19341. "hasauth": {
  19342. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19343. "type": "integer"
  19344. },
  19345. "isanonymous": {
  19346. "description": "是否匿名下单 - 0:否 1:是",
  19347. "type": "integer"
  19348. },
  19349. "maxinvestornum": {
  19350. "description": "最大用户数(经纪会员下投资者个数)",
  19351. "type": "integer"
  19352. },
  19353. "memberuserid": {
  19354. "description": "所属会员ID",
  19355. "type": "integer"
  19356. },
  19357. "modifierid": {
  19358. "description": "修改人",
  19359. "type": "integer"
  19360. },
  19361. "modifyremark": {
  19362. "description": "变更备注",
  19363. "type": "string"
  19364. },
  19365. "modifystatus": {
  19366. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19367. "type": "integer"
  19368. },
  19369. "modifytime": {
  19370. "description": "修改时间",
  19371. "type": "string"
  19372. },
  19373. "parenttopuser": {
  19374. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19375. "type": "string"
  19376. },
  19377. "parentuserid": {
  19378. "description": "所属机构ID",
  19379. "type": "integer"
  19380. },
  19381. "reckonaccountid": {
  19382. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19383. "type": "integer"
  19384. },
  19385. "refercount": {
  19386. "description": "推荐总人数",
  19387. "type": "integer"
  19388. },
  19389. "refereeuserid": {
  19390. "description": "推荐人ID",
  19391. "type": "integer"
  19392. },
  19393. "refernum": {
  19394. "description": "推荐码",
  19395. "type": "string"
  19396. },
  19397. "rootuserid": {
  19398. "description": "根用户ID",
  19399. "type": "integer"
  19400. },
  19401. "subaccountlevel": {
  19402. "description": "子账户层数",
  19403. "type": "integer"
  19404. },
  19405. "subarealevelpath": {
  19406. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19407. "type": "string"
  19408. },
  19409. "userid": {
  19410. "description": "用户ID",
  19411. "type": "integer"
  19412. },
  19413. "usertype": {
  19414. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19415. "type": "integer"
  19416. }
  19417. }
  19418. },
  19419. "models.Ermcp3SellBuyContract": {
  19420. "type": "object",
  19421. "properties": {
  19422. "accountid": {
  19423. "description": "期货账户id",
  19424. "type": "string"
  19425. },
  19426. "accountname": {
  19427. "description": "账户名称",
  19428. "type": "string"
  19429. },
  19430. "attachment": {
  19431. "description": "附件",
  19432. "type": "string"
  19433. },
  19434. "audittime": {
  19435. "description": "审核时间",
  19436. "type": "string"
  19437. },
  19438. "biztype": {
  19439. "description": "业务类型 1-套保 2-套利",
  19440. "type": "integer"
  19441. },
  19442. "brandname": {
  19443. "description": "品牌名称",
  19444. "type": "string"
  19445. },
  19446. "contracctstatus": {
  19447. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19448. "type": "integer"
  19449. },
  19450. "contractmargin": {
  19451. "description": "合同保证金",
  19452. "type": "number"
  19453. },
  19454. "contractno": {
  19455. "description": "合同编号",
  19456. "type": "string"
  19457. },
  19458. "contracttype": {
  19459. "description": "合同类型 1-采购, -1-销售",
  19460. "type": "integer"
  19461. },
  19462. "convertfactor": {
  19463. "description": "标仓系数(品类)",
  19464. "type": "number"
  19465. },
  19466. "createtime": {
  19467. "description": "创建时间",
  19468. "type": "string"
  19469. },
  19470. "currencyid": {
  19471. "description": "币种id",
  19472. "type": "integer"
  19473. },
  19474. "currencyname": {
  19475. "description": "币种名称",
  19476. "type": "string"
  19477. },
  19478. "daikaiamount": {
  19479. "description": "应收(开)票额",
  19480. "type": "number"
  19481. },
  19482. "deliveryenddate": {
  19483. "description": "交割结束日",
  19484. "type": "string"
  19485. },
  19486. "deliverygoodscode": {
  19487. "description": "现货品种代码",
  19488. "type": "string"
  19489. },
  19490. "deliverygoodsid": {
  19491. "description": "现货商品ID",
  19492. "type": "integer"
  19493. },
  19494. "deliverygoodsname": {
  19495. "description": "现货品种名称",
  19496. "type": "string"
  19497. },
  19498. "deliverystartdate": {
  19499. "description": "交割开始日",
  19500. "type": "string"
  19501. },
  19502. "enddate": {
  19503. "description": "点价结束日",
  19504. "type": "string"
  19505. },
  19506. "enumdicname": {
  19507. "description": "单位名称",
  19508. "type": "string"
  19509. },
  19510. "goodscode": {
  19511. "description": "点价商品代码",
  19512. "type": "string"
  19513. },
  19514. "goodsid": {
  19515. "description": "点价商品ID",
  19516. "type": "integer"
  19517. },
  19518. "goodsname": {
  19519. "description": "点价商品名称",
  19520. "type": "string"
  19521. },
  19522. "invoiceamount": {
  19523. "description": "已开票额",
  19524. "type": "number"
  19525. },
  19526. "loanamount": {
  19527. "description": "贷款总额=已定价额+调整金额",
  19528. "type": "number"
  19529. },
  19530. "margin": {
  19531. "description": "保证金",
  19532. "type": "number"
  19533. },
  19534. "meruserid": {
  19535. "description": "跟单员id",
  19536. "type": "integer"
  19537. },
  19538. "meruserlogincode": {
  19539. "description": "跟单员登录代码",
  19540. "type": "string"
  19541. },
  19542. "merusername": {
  19543. "description": "跟单员名称",
  19544. "type": "string"
  19545. },
  19546. "nickname": {
  19547. "description": "账户昵称",
  19548. "type": "string"
  19549. },
  19550. "payamount": {
  19551. "description": "已收付额(收款或付款)",
  19552. "type": "number"
  19553. },
  19554. "preinvoiceamount": {
  19555. "description": "预收(开)票额",
  19556. "type": "number"
  19557. },
  19558. "prepayamount": {
  19559. "description": "预收付额",
  19560. "type": "number"
  19561. },
  19562. "price": {
  19563. "description": "价格",
  19564. "type": "number"
  19565. },
  19566. "pricedamount": {
  19567. "description": "已定价额",
  19568. "type": "number"
  19569. },
  19570. "pricedavg": {
  19571. "description": "已点均价",
  19572. "type": "number"
  19573. },
  19574. "pricedqty": {
  19575. "description": "已定价量",
  19576. "type": "number"
  19577. },
  19578. "pricemove": {
  19579. "description": "升贴水",
  19580. "type": "number"
  19581. },
  19582. "pricetype": {
  19583. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19584. "type": "integer"
  19585. },
  19586. "producttype": {
  19587. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19588. "type": "integer"
  19589. },
  19590. "qty": {
  19591. "description": "合同量",
  19592. "type": "number"
  19593. },
  19594. "reckonadjustamount": {
  19595. "description": "调整金额",
  19596. "type": "number"
  19597. },
  19598. "reckonedamount": {
  19599. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  19600. "type": "number"
  19601. },
  19602. "reckonotheramount": {
  19603. "description": "其它费用",
  19604. "type": "number"
  19605. },
  19606. "reckonrealqty": {
  19607. "description": "已确定量",
  19608. "type": "number"
  19609. },
  19610. "remark": {
  19611. "description": "备注",
  19612. "type": "string"
  19613. },
  19614. "saleuserid": {
  19615. "description": "业务员id",
  19616. "type": "integer"
  19617. },
  19618. "saleuserlogincode": {
  19619. "description": "业务员登录代码",
  19620. "type": "string"
  19621. },
  19622. "saleusername": {
  19623. "description": "业务员名称",
  19624. "type": "string"
  19625. },
  19626. "spotcontractid": {
  19627. "description": "合同ID",
  19628. "type": "string"
  19629. },
  19630. "spotgoodsbrandid": {
  19631. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19632. "type": "integer"
  19633. },
  19634. "spotgoodsdesc": {
  19635. "description": "商品型号(商品规格)",
  19636. "type": "string"
  19637. },
  19638. "startdate": {
  19639. "description": "点价开始日",
  19640. "type": "string"
  19641. },
  19642. "totalamount": {
  19643. "description": "合计总额",
  19644. "type": "number"
  19645. },
  19646. "tradeuserid": {
  19647. "description": "交易员id",
  19648. "type": "integer"
  19649. },
  19650. "tradeuserlogincode": {
  19651. "description": "交易员登录代码",
  19652. "type": "string"
  19653. },
  19654. "tradeusername": {
  19655. "description": "交易员名称",
  19656. "type": "string"
  19657. },
  19658. "unpayamount": {
  19659. "description": "应收付款额(应支付或应收款)",
  19660. "type": "number"
  19661. },
  19662. "unpricedqty": {
  19663. "description": "未定价量",
  19664. "type": "number"
  19665. },
  19666. "unsureqty": {
  19667. "description": "未确定量",
  19668. "type": "number"
  19669. },
  19670. "userid": {
  19671. "description": "机构ID",
  19672. "type": "integer"
  19673. },
  19674. "wrstandardcode": {
  19675. "description": "品类代码",
  19676. "type": "string"
  19677. },
  19678. "wrstandardid": {
  19679. "description": "品类ID",
  19680. "type": "integer"
  19681. },
  19682. "wrstandardname": {
  19683. "description": "品类名称",
  19684. "type": "string"
  19685. }
  19686. }
  19687. },
  19688. "models.Ermcp3SpotGoodsPrice": {
  19689. "type": "object",
  19690. "properties": {
  19691. "areauserid": {
  19692. "description": "所属机构id",
  19693. "type": "integer"
  19694. },
  19695. "brandname": {
  19696. "description": "品牌名称",
  19697. "type": "string"
  19698. },
  19699. "currencyid": {
  19700. "description": "报价货币ID",
  19701. "type": "integer"
  19702. },
  19703. "currencyname": {
  19704. "description": "币种名称",
  19705. "type": "string"
  19706. },
  19707. "deliverygoodscode": {
  19708. "description": "现货商品代码",
  19709. "type": "string"
  19710. },
  19711. "deliverygoodsid": {
  19712. "description": "现货商品id",
  19713. "type": "integer"
  19714. },
  19715. "deliverygoodsname": {
  19716. "description": "现货商品名称",
  19717. "type": "string"
  19718. },
  19719. "enumdicname": {
  19720. "description": "现货商品单位名称",
  19721. "type": "string"
  19722. },
  19723. "gbenumdicname": {
  19724. "description": "品类单位名称",
  19725. "type": "string"
  19726. },
  19727. "gmunitid": {
  19728. "description": "品类单位id",
  19729. "type": "integer"
  19730. },
  19731. "isvalid": {
  19732. "description": "是否有效 - 0:无效 1:有效",
  19733. "type": "integer"
  19734. },
  19735. "operateid": {
  19736. "description": "最后操作人",
  19737. "type": "integer"
  19738. },
  19739. "operatesrc": {
  19740. "description": "最后操作来源 - 1:管理端 2:终端",
  19741. "type": "integer"
  19742. },
  19743. "operatetime": {
  19744. "description": "最后操作时间",
  19745. "type": "string"
  19746. },
  19747. "operatorname": {
  19748. "description": "操作人名称",
  19749. "type": "string"
  19750. },
  19751. "spotgoodsbrandid": {
  19752. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19753. "type": "integer"
  19754. },
  19755. "spotgoodsprice": {
  19756. "description": "现货价格",
  19757. "type": "number"
  19758. },
  19759. "tradedate": {
  19760. "description": "交易日(yyyyMMdd)",
  19761. "type": "string"
  19762. },
  19763. "unitid": {
  19764. "description": "现货商品单位id",
  19765. "type": "integer"
  19766. },
  19767. "wrstandardcode": {
  19768. "description": "品类代码",
  19769. "type": "string"
  19770. },
  19771. "wrstandardid": {
  19772. "description": "现货品类ID(通用则为0)",
  19773. "type": "integer"
  19774. },
  19775. "wrstandardname": {
  19776. "description": "品类名称",
  19777. "type": "string"
  19778. }
  19779. }
  19780. },
  19781. "models.Ermcp3SpotGoodsPriceLog": {
  19782. "type": "object",
  19783. "properties": {
  19784. "areauserid": {
  19785. "description": "所属机构id",
  19786. "type": "integer"
  19787. },
  19788. "brandname": {
  19789. "description": "品牌名称",
  19790. "type": "string"
  19791. },
  19792. "currencyid": {
  19793. "description": "报价货币ID",
  19794. "type": "integer"
  19795. },
  19796. "deliverygoodscode": {
  19797. "description": "现货商品代码",
  19798. "type": "string"
  19799. },
  19800. "deliverygoodsid": {
  19801. "description": "现货商品id",
  19802. "type": "integer"
  19803. },
  19804. "deliverygoodsname": {
  19805. "description": "现货商品名称",
  19806. "type": "string"
  19807. },
  19808. "enumdicname": {
  19809. "description": "现货商品单位名称",
  19810. "type": "string"
  19811. },
  19812. "gbenumdicname": {
  19813. "description": "品类单位名称",
  19814. "type": "string"
  19815. },
  19816. "gmunitid": {
  19817. "description": "品类单位id",
  19818. "type": "integer"
  19819. },
  19820. "logid": {
  19821. "description": "日志id",
  19822. "type": "integer"
  19823. },
  19824. "operateid": {
  19825. "description": "最后操作人",
  19826. "type": "integer"
  19827. },
  19828. "operatesrc": {
  19829. "description": "最后操作来源 - 1:管理端 2:终端",
  19830. "type": "integer"
  19831. },
  19832. "operatetime": {
  19833. "description": "最后操作时间",
  19834. "type": "string"
  19835. },
  19836. "operatorname": {
  19837. "description": "操作人名称",
  19838. "type": "string"
  19839. },
  19840. "spotgoodsbrandid": {
  19841. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19842. "type": "integer"
  19843. },
  19844. "spotgoodsprice": {
  19845. "description": "现货价格",
  19846. "type": "number"
  19847. },
  19848. "tradedate": {
  19849. "description": "交易日(yyyyMMdd)",
  19850. "type": "string"
  19851. },
  19852. "unitid": {
  19853. "description": "现货商品单位id",
  19854. "type": "integer"
  19855. },
  19856. "wrstandardcode": {
  19857. "description": "品类代码",
  19858. "type": "string"
  19859. },
  19860. "wrstandardid": {
  19861. "description": "现货品类ID(通用则为0)",
  19862. "type": "integer"
  19863. },
  19864. "wrstandardname": {
  19865. "description": "品类名称",
  19866. "type": "string"
  19867. }
  19868. }
  19869. },
  19870. "models.Ermcp3TaFutuReDataReport": {
  19871. "type": "object",
  19872. "properties": {
  19873. "accountid": {
  19874. "description": "交易账户",
  19875. "type": "integer"
  19876. },
  19877. "accountname": {
  19878. "description": "交易账号名称",
  19879. "type": "string"
  19880. },
  19881. "agreeunit": {
  19882. "description": "商品合约单位",
  19883. "type": "number"
  19884. },
  19885. "begindate": {
  19886. "description": "开始交易日",
  19887. "type": "string"
  19888. },
  19889. "buyorsell": {
  19890. "description": "持仓方向",
  19891. "type": "integer"
  19892. },
  19893. "charge": {
  19894. "description": "手续费",
  19895. "type": "number"
  19896. },
  19897. "closeavgprice": {
  19898. "description": "平仓均价",
  19899. "type": "number"
  19900. },
  19901. "closepl": {
  19902. "description": "平仓损益",
  19903. "type": "number"
  19904. },
  19905. "currencyid": {
  19906. "description": "结算币种ID",
  19907. "type": "integer"
  19908. },
  19909. "currencyname": {
  19910. "description": "币种名称",
  19911. "type": "string"
  19912. },
  19913. "cycletime": {
  19914. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19915. "type": "string"
  19916. },
  19917. "cycletype": {
  19918. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19919. "type": "integer"
  19920. },
  19921. "enddate": {
  19922. "description": "结束交易日",
  19923. "type": "string"
  19924. },
  19925. "enumdicname": {
  19926. "description": "单位名称",
  19927. "type": "string"
  19928. },
  19929. "floatpl": {
  19930. "description": "浮动损益",
  19931. "type": "number"
  19932. },
  19933. "goodscode": {
  19934. "description": "交易合约代码",
  19935. "type": "string"
  19936. },
  19937. "goodsgroupid": {
  19938. "description": "交易品种",
  19939. "type": "integer"
  19940. },
  19941. "goodsgroupname": {
  19942. "description": "交易品种名称",
  19943. "type": "string"
  19944. },
  19945. "goodsgroupspotqty": {
  19946. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19947. "type": "number"
  19948. },
  19949. "goodsid": {
  19950. "description": "交易合约",
  19951. "type": "integer"
  19952. },
  19953. "goodsname": {
  19954. "description": "交易合约名称",
  19955. "type": "string"
  19956. },
  19957. "goodunitid": {
  19958. "description": "交易合约单位id",
  19959. "type": "integer"
  19960. },
  19961. "holdamount": {
  19962. "description": "期末持仓额",
  19963. "type": "number"
  19964. },
  19965. "holdqty": {
  19966. "description": "期末持仓量",
  19967. "type": "number"
  19968. },
  19969. "lastholdamount": {
  19970. "description": "当前持仓额",
  19971. "type": "number"
  19972. },
  19973. "lastprice": {
  19974. "description": "最新价",
  19975. "type": "number"
  19976. },
  19977. "middlegoodsid": {
  19978. "description": "套保品种id",
  19979. "type": "integer"
  19980. },
  19981. "middlegoodsname": {
  19982. "description": "套保商品名称",
  19983. "type": "string"
  19984. },
  19985. "middlegoodsqty": {
  19986. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19987. "type": "number"
  19988. },
  19989. "middlgoodscode": {
  19990. "description": "套保商品代码",
  19991. "type": "string"
  19992. },
  19993. "openamount": {
  19994. "description": "期末开仓额",
  19995. "type": "number"
  19996. },
  19997. "openavgprice": {
  19998. "description": "开仓均价",
  19999. "type": "number"
  20000. },
  20001. "oriholdamount": {
  20002. "description": "期初持仓额",
  20003. "type": "number"
  20004. },
  20005. "oriholdqty": {
  20006. "description": "期初持仓量",
  20007. "type": "number"
  20008. },
  20009. "oriopenamount": {
  20010. "description": "期初开仓额",
  20011. "type": "number"
  20012. },
  20013. "outergroupcode": {
  20014. "description": "交易品种代码",
  20015. "type": "string"
  20016. },
  20017. "qtydecimalplace": {
  20018. "description": "成交量小数位",
  20019. "type": "integer"
  20020. },
  20021. "reckondate": {
  20022. "description": "日照时期(yyyyMMdd)",
  20023. "type": "string"
  20024. },
  20025. "reckonholdamount": {
  20026. "description": "结算持仓额",
  20027. "type": "number"
  20028. },
  20029. "reckonpl": {
  20030. "description": "结算损益",
  20031. "type": "number"
  20032. },
  20033. "reckonpl2": {
  20034. "description": "结算逐笔盈亏",
  20035. "type": "number"
  20036. },
  20037. "reckonprice": {
  20038. "description": "结算价",
  20039. "type": "number"
  20040. },
  20041. "relateduserid": {
  20042. "description": "账户关联用户ID",
  20043. "type": "integer"
  20044. },
  20045. "todaycloseamount": {
  20046. "description": "今平仓额",
  20047. "type": "number"
  20048. },
  20049. "todaycloseqty": {
  20050. "description": "今平仓量",
  20051. "type": "number"
  20052. },
  20053. "todaygoodsgroupspotqty": {
  20054. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20055. "type": "number"
  20056. },
  20057. "todaymiddlegoodsqty": {
  20058. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20059. "type": "number"
  20060. },
  20061. "todayopenamount": {
  20062. "description": "今开仓额",
  20063. "type": "number"
  20064. },
  20065. "todayopenqty": {
  20066. "description": "今开仓量",
  20067. "type": "number"
  20068. },
  20069. "userid": {
  20070. "description": "账户所属用户ID",
  20071. "type": "integer"
  20072. }
  20073. }
  20074. },
  20075. "models.Ermcp3Wrstandard": {
  20076. "type": "object",
  20077. "properties": {
  20078. "areauserid": {
  20079. "description": "所属机构",
  20080. "type": "integer"
  20081. },
  20082. "cantrade": {
  20083. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20084. "type": "integer"
  20085. },
  20086. "convertfactor": {
  20087. "description": "标仓系数",
  20088. "type": "number"
  20089. },
  20090. "createtime": {
  20091. "description": "创建时间",
  20092. "type": "string"
  20093. },
  20094. "creatorid": {
  20095. "description": "创建人",
  20096. "type": "integer"
  20097. },
  20098. "deliverygoodsid": {
  20099. "description": "现货品种ID",
  20100. "type": "integer"
  20101. },
  20102. "enumdicname": {
  20103. "description": "品类单位名称",
  20104. "type": "string"
  20105. },
  20106. "isvalid": {
  20107. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20108. "type": "integer"
  20109. },
  20110. "minivalue": {
  20111. "description": "最小变动值",
  20112. "type": "integer"
  20113. },
  20114. "minivaluedp": {
  20115. "description": "最小变动值小数位",
  20116. "type": "integer"
  20117. },
  20118. "realminivalue": {
  20119. "description": "实际最小变动值",
  20120. "type": "integer"
  20121. },
  20122. "realminivaluedp": {
  20123. "description": "实际最小变动值小数位",
  20124. "type": "integer"
  20125. },
  20126. "remark": {
  20127. "description": "备注",
  20128. "type": "string"
  20129. },
  20130. "unitid": {
  20131. "description": "品类单位ID",
  20132. "type": "integer"
  20133. },
  20134. "updatetime": {
  20135. "description": "更新时间",
  20136. "type": "string"
  20137. },
  20138. "wrstandardcode": {
  20139. "description": "品类代码",
  20140. "type": "string"
  20141. },
  20142. "wrstandardid": {
  20143. "description": "品类ID(SEQ_WRSTANDARD)",
  20144. "type": "integer"
  20145. },
  20146. "wrstandardname": {
  20147. "description": "品类名称",
  20148. "type": "string"
  20149. }
  20150. }
  20151. },
  20152. "models.ErmcpAreaSpotDetailModel": {
  20153. "type": "object",
  20154. "properties": {
  20155. "contracttype": {
  20156. "description": "合同类型 1-采购 -1-销售",
  20157. "type": "integer"
  20158. },
  20159. "createtime": {
  20160. "description": "创建时间",
  20161. "type": "string"
  20162. },
  20163. "enumdicname": {
  20164. "description": "现货商品单位名称",
  20165. "type": "string"
  20166. },
  20167. "logtype": {
  20168. "description": "记录类型 1-套保 2-现货合同",
  20169. "type": "integer"
  20170. },
  20171. "qty": {
  20172. "description": "数量",
  20173. "type": "number"
  20174. },
  20175. "recordname": {
  20176. "description": "类型名称",
  20177. "type": "string"
  20178. },
  20179. "relatedid": {
  20180. "description": "套保计划ID/现货合同ID",
  20181. "type": "string"
  20182. },
  20183. "relatedno": {
  20184. "description": "编号",
  20185. "type": "string"
  20186. },
  20187. "strtime": {
  20188. "description": "时间",
  20189. "type": "string"
  20190. },
  20191. "wrstandardcode": {
  20192. "description": "现货商品代码",
  20193. "type": "string"
  20194. },
  20195. "wrstandardname": {
  20196. "description": "现货商品名称",
  20197. "type": "string"
  20198. }
  20199. }
  20200. },
  20201. "models.ErmcpAvalidGoodsGroupModel": {
  20202. "type": "object",
  20203. "properties": {
  20204. "goodsgroupid": {
  20205. "description": "期货品种id",
  20206. "type": "integer"
  20207. },
  20208. "goodsgroupname": {
  20209. "description": "期货品种名称",
  20210. "type": "string"
  20211. },
  20212. "goodunitid": {
  20213. "description": "品种单位id",
  20214. "type": "integer"
  20215. },
  20216. "goodunitname": {
  20217. "description": "品种单位名称",
  20218. "type": "string"
  20219. },
  20220. "outergroupcode": {
  20221. "description": "期货品种代码",
  20222. "type": "string"
  20223. }
  20224. }
  20225. },
  20226. "models.ErmcpBizGroupEx": {
  20227. "type": "object",
  20228. "properties": {
  20229. "acclist": {
  20230. "description": "账号列表",
  20231. "type": "array",
  20232. "items": {
  20233. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20234. }
  20235. },
  20236. "bizgroupid": {
  20237. "description": "业务分组id",
  20238. "type": "integer"
  20239. },
  20240. "biztype": {
  20241. "description": "业务类型 1-套保 2-套利",
  20242. "type": "integer"
  20243. },
  20244. "wrlist": {
  20245. "description": "现货商品表",
  20246. "type": "array",
  20247. "items": {
  20248. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20249. }
  20250. }
  20251. }
  20252. },
  20253. "models.ErmcpBizGroupSpotGoods": {
  20254. "type": "object",
  20255. "properties": {
  20256. "areauserid": {
  20257. "description": "所属机构id",
  20258. "type": "integer"
  20259. },
  20260. "bizgroupid": {
  20261. "description": "分组id",
  20262. "type": "integer"
  20263. },
  20264. "biztype": {
  20265. "description": "业务类型 1-套保 2-套利",
  20266. "type": "integer"
  20267. },
  20268. "deliverygoodscode": {
  20269. "description": "现货商品代码",
  20270. "type": "string"
  20271. },
  20272. "deliverygoodsid": {
  20273. "description": "现货商品id",
  20274. "type": "integer"
  20275. },
  20276. "deliverygoodsname": {
  20277. "description": "现货商品名称",
  20278. "type": "string"
  20279. },
  20280. "unitid": {
  20281. "description": "现货商品单位id",
  20282. "type": "integer"
  20283. }
  20284. }
  20285. },
  20286. "models.ErmcpBizGroupTaAccount": {
  20287. "type": "object",
  20288. "properties": {
  20289. "accountid": {
  20290. "description": "账号id",
  20291. "type": "integer"
  20292. },
  20293. "accountname": {
  20294. "description": "账号名称",
  20295. "type": "string"
  20296. },
  20297. "areauserid": {
  20298. "description": "所属机构id",
  20299. "type": "integer"
  20300. },
  20301. "bizgroupid": {
  20302. "description": "业务分组id",
  20303. "type": "integer"
  20304. },
  20305. "ismain": {
  20306. "description": "是否主账号 1-是 0-否",
  20307. "type": "integer"
  20308. }
  20309. }
  20310. },
  20311. "models.ErmcpDGFactoryItem": {
  20312. "type": "object",
  20313. "properties": {
  20314. "areauserid": {
  20315. "description": "用户id",
  20316. "type": "integer"
  20317. },
  20318. "deliverygoodsid": {
  20319. "description": "现货品种ID",
  20320. "type": "integer"
  20321. },
  20322. "dgfactoryitemid": {
  20323. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20324. "type": "integer"
  20325. },
  20326. "dgfactoryitemtypeid": {
  20327. "description": "要素项类型",
  20328. "type": "integer"
  20329. },
  20330. "dgfactoryitemvalue": {
  20331. "description": "要素项值(类型为仓库时填写仓库名称)",
  20332. "type": "string"
  20333. },
  20334. "isvalid": {
  20335. "description": "是否有效 - 0:无效 1:有效",
  20336. "type": "integer"
  20337. },
  20338. "orderindex": {
  20339. "description": "顺序",
  20340. "type": "integer"
  20341. },
  20342. "warehouseid": {
  20343. "description": "仓库ID(类型为仓库时填写)",
  20344. "type": "integer"
  20345. }
  20346. }
  20347. },
  20348. "models.ErmcpDeliveryGoods": {
  20349. "type": "object",
  20350. "properties": {
  20351. "agreeunit": {
  20352. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20353. "type": "integer"
  20354. },
  20355. "areauserid": {
  20356. "description": "所属机构",
  20357. "type": "integer"
  20358. },
  20359. "auditflag": {
  20360. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20361. "type": "integer"
  20362. },
  20363. "categoryid": {
  20364. "description": "类别ID(SEQ_WRCATEGORY)",
  20365. "type": "integer"
  20366. },
  20367. "deliverygoodscode": {
  20368. "description": "现货品种代码",
  20369. "type": "string"
  20370. },
  20371. "deliverygoodsid": {
  20372. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20373. "type": "integer"
  20374. },
  20375. "deliverygoodsname": {
  20376. "description": "现货品种名称",
  20377. "type": "string"
  20378. },
  20379. "deliverygoodstype": {
  20380. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20381. "type": "integer"
  20382. },
  20383. "dgstatus": {
  20384. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20385. "type": "integer"
  20386. },
  20387. "enumdicname": {
  20388. "description": "现货品种单位名称",
  20389. "type": "string"
  20390. },
  20391. "goodsunitid": {
  20392. "description": "现货品种单位ID",
  20393. "type": "integer"
  20394. },
  20395. "isvalid": {
  20396. "description": "是否有效 - 0:无效 1:有效",
  20397. "type": "integer"
  20398. },
  20399. "qtydecimalplace": {
  20400. "description": "成交量小数位",
  20401. "type": "integer"
  20402. },
  20403. "remark": {
  20404. "description": "备注",
  20405. "type": "string"
  20406. },
  20407. "standardqty": {
  20408. "description": "标准数量(库位数量) [标准品特有]",
  20409. "type": "integer"
  20410. },
  20411. "standardqtyrange": {
  20412. "description": "标准数量偏差范围 [标准品特有]",
  20413. "type": "integer"
  20414. }
  20415. }
  20416. },
  20417. "models.ErmcpDeliveryGoodsDetail2": {
  20418. "type": "object",
  20419. "properties": {
  20420. "convertratio": {
  20421. "description": "套保系数(折算系数)",
  20422. "type": "number"
  20423. },
  20424. "data": {
  20425. "description": "现货商品基本信息(交割品种)",
  20426. "type": "object",
  20427. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20428. },
  20429. "gblist": {
  20430. "description": "品牌列表",
  20431. "type": "array",
  20432. "items": {
  20433. "$ref": "#/definitions/models.Ermcp3Brand"
  20434. }
  20435. },
  20436. "gmlist": {
  20437. "description": "品类列表(仓单标准)",
  20438. "type": "array",
  20439. "items": {
  20440. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20441. }
  20442. }
  20443. }
  20444. },
  20445. "models.ErmcpDeliveryGoodsDetailEx": {
  20446. "type": "object",
  20447. "properties": {
  20448. "data": {
  20449. "description": "现货商品基本信息(交割品种)",
  20450. "type": "object",
  20451. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20452. },
  20453. "gblist": {
  20454. "description": "品牌列表",
  20455. "type": "array",
  20456. "items": {
  20457. "$ref": "#/definitions/models.Ermcp3Brand"
  20458. }
  20459. },
  20460. "gmlist": {
  20461. "description": "品类列表(仓单标准)",
  20462. "type": "array",
  20463. "items": {
  20464. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20465. }
  20466. },
  20467. "mgList": {
  20468. "description": "套保列表",
  20469. "type": "array",
  20470. "items": {
  20471. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  20472. }
  20473. }
  20474. }
  20475. },
  20476. "models.ErmcpExposureDetailModel": {
  20477. "type": "object",
  20478. "properties": {
  20479. "areauserid": {
  20480. "description": "机构ID",
  20481. "type": "integer"
  20482. },
  20483. "changeQty": {
  20484. "description": "套保变动量",
  20485. "type": "number"
  20486. },
  20487. "contracttype": {
  20488. "description": "现货合同类型 - 1:采购 -1:销售",
  20489. "type": "integer"
  20490. },
  20491. "convertfactor": {
  20492. "description": "标仓系数",
  20493. "type": "number"
  20494. },
  20495. "convertratio": {
  20496. "description": "套保系数",
  20497. "type": "number"
  20498. },
  20499. "createtime": {
  20500. "description": "时间",
  20501. "type": "string"
  20502. },
  20503. "enumdicname": {
  20504. "description": "现货商品单位名称",
  20505. "type": "string"
  20506. },
  20507. "logtype": {
  20508. "description": "类型 - 1:套保计划 2:现货合同",
  20509. "type": "integer"
  20510. },
  20511. "middlegoodsId": {
  20512. "description": "套保商品id",
  20513. "type": "integer"
  20514. },
  20515. "middlegoodscode": {
  20516. "description": "套保商品代码",
  20517. "type": "string"
  20518. },
  20519. "middlegoodsname": {
  20520. "description": "套保商品名称",
  20521. "type": "string"
  20522. },
  20523. "qty": {
  20524. "description": "数量",
  20525. "type": "number"
  20526. },
  20527. "relateNo": {
  20528. "description": "现货合同/套保计划编号",
  20529. "type": "string"
  20530. },
  20531. "wrstandardcode": {
  20532. "description": "现货商品代码",
  20533. "type": "string"
  20534. },
  20535. "wrstandardid": {
  20536. "description": "现货商品ID",
  20537. "type": "integer"
  20538. },
  20539. "wrstandardname": {
  20540. "description": "现货商品名称",
  20541. "type": "string"
  20542. }
  20543. }
  20544. },
  20545. "models.ErmcpExposurePostion": {
  20546. "type": "object",
  20547. "properties": {
  20548. "agreeunit": {
  20549. "description": "合约单位",
  20550. "type": "string"
  20551. },
  20552. "areauserid": {
  20553. "description": "所属机构id",
  20554. "type": "integer"
  20555. },
  20556. "convertratio": {
  20557. "description": "期货品种系数(折算系数)",
  20558. "type": "number"
  20559. },
  20560. "curqty": {
  20561. "description": "当前持仓",
  20562. "type": "integer"
  20563. },
  20564. "diffhedgeqty": {
  20565. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20566. "type": "number"
  20567. },
  20568. "diffqty": {
  20569. "description": "持仓变动量=当前持仓-昨日持仓",
  20570. "type": "integer"
  20571. },
  20572. "goodscode": {
  20573. "description": "商品代码",
  20574. "type": "string"
  20575. },
  20576. "goodsid": {
  20577. "description": "商品id",
  20578. "type": "integer"
  20579. },
  20580. "goodsname": {
  20581. "description": "商品名称",
  20582. "type": "string"
  20583. },
  20584. "middlegoodsid": {
  20585. "description": "套保商品id",
  20586. "type": "integer"
  20587. },
  20588. "ydqty": {
  20589. "description": "昨日持仓",
  20590. "type": "integer"
  20591. }
  20592. }
  20593. },
  20594. "models.ErmcpFuturesCompany": {
  20595. "type": "object",
  20596. "properties": {
  20597. "brokerid": {
  20598. "description": "经纪公司代码",
  20599. "type": "string"
  20600. },
  20601. "channeladdress": {
  20602. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20603. "type": "string"
  20604. },
  20605. "channelid": {
  20606. "description": "对冲渠道ID",
  20607. "type": "string"
  20608. },
  20609. "createtime": {
  20610. "description": "创建时间",
  20611. "type": "string"
  20612. },
  20613. "creatorid": {
  20614. "description": "创建人",
  20615. "type": "string"
  20616. },
  20617. "fcid": {
  20618. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  20619. "type": "integer"
  20620. },
  20621. "fcname": {
  20622. "description": "期货公司名称",
  20623. "type": "string"
  20624. },
  20625. "isvalid": {
  20626. "description": "是否有效 - 0:无效 1:有效",
  20627. "type": "integer"
  20628. },
  20629. "mhpaddress": {
  20630. "description": "MHP服务地址(IP:Port)",
  20631. "type": "string"
  20632. },
  20633. "riskrulegroupid": {
  20634. "description": "风控规则组ID",
  20635. "type": "string"
  20636. },
  20637. "tradefeetmpid": {
  20638. "description": "手续费模板ID[TradeConfigTmpType为2]",
  20639. "type": "string"
  20640. },
  20641. "trademargintmpid": {
  20642. "description": "保证金模板ID [TradeConfigTmpType为1]",
  20643. "type": "string"
  20644. },
  20645. "traderatetmpid": {
  20646. "description": "汇率模板ID[TradeConfigTmpType为3]",
  20647. "type": "string"
  20648. },
  20649. "updatetime": {
  20650. "description": "更新时间",
  20651. "type": "string"
  20652. },
  20653. "updatorid": {
  20654. "description": "更新人",
  20655. "type": "string"
  20656. }
  20657. }
  20658. },
  20659. "models.ErmcpGGConvertCfg": {
  20660. "type": "object",
  20661. "properties": {
  20662. "convertratio": {
  20663. "description": "折算系数",
  20664. "type": "number"
  20665. },
  20666. "destgoodsgroupid": {
  20667. "description": "目标品种ID",
  20668. "type": "integer"
  20669. },
  20670. "dstcode": {
  20671. "description": "目录品种代码",
  20672. "type": "string"
  20673. },
  20674. "dstexchangecode": {
  20675. "description": "目标期货交易所",
  20676. "type": "string"
  20677. },
  20678. "dstname": {
  20679. "description": "目标品种名称",
  20680. "type": "string"
  20681. },
  20682. "dstunitid": {
  20683. "description": "目标品种单位ID",
  20684. "type": "integer"
  20685. },
  20686. "dstunitidname": {
  20687. "description": "目标品种单位名称",
  20688. "type": "string"
  20689. },
  20690. "modifytime": {
  20691. "description": "修改时间",
  20692. "type": "string"
  20693. },
  20694. "srccode": {
  20695. "description": "源品种代码",
  20696. "type": "string"
  20697. },
  20698. "srcexchangecode": {
  20699. "description": "源期货交易所",
  20700. "type": "string"
  20701. },
  20702. "srcgoodsgroupid": {
  20703. "description": "源品种ID",
  20704. "type": "integer"
  20705. },
  20706. "srcname": {
  20707. "description": "源品种名称",
  20708. "type": "string"
  20709. },
  20710. "srcunitid": {
  20711. "description": "源品种单位ID",
  20712. "type": "integer"
  20713. },
  20714. "srcunitidname": {
  20715. "description": "源品种单位名称",
  20716. "type": "string"
  20717. }
  20718. }
  20719. },
  20720. "models.ErmcpGoods": {
  20721. "type": "object",
  20722. "required": [
  20723. "goodscode",
  20724. "goodsid",
  20725. "goodsname",
  20726. "marketid"
  20727. ],
  20728. "properties": {
  20729. "agreeunit": {
  20730. "description": "合约单位",
  20731. "type": "number"
  20732. },
  20733. "areauserid": {
  20734. "description": "所属机构",
  20735. "type": "integer"
  20736. },
  20737. "auditaccountid": {
  20738. "description": "审核操作员账号",
  20739. "type": "integer"
  20740. },
  20741. "audittime": {
  20742. "description": "审核时间",
  20743. "type": "string"
  20744. },
  20745. "cancelaccountid": {
  20746. "description": "注销操作员账号",
  20747. "type": "integer"
  20748. },
  20749. "canceltime": {
  20750. "description": "注销时间",
  20751. "type": "string"
  20752. },
  20753. "closepricemode": {
  20754. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20755. "type": "integer"
  20756. },
  20757. "closepriceparam": {
  20758. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20759. "type": "number"
  20760. },
  20761. "createtime": {
  20762. "description": "创建时间",
  20763. "type": "string"
  20764. },
  20765. "creatorid": {
  20766. "description": "创建人",
  20767. "type": "integer"
  20768. },
  20769. "currencyid": {
  20770. "description": "报价货币ID",
  20771. "type": "integer"
  20772. },
  20773. "cutmode": {
  20774. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20775. "type": "integer"
  20776. },
  20777. "decimalplace": {
  20778. "description": "报价小数位",
  20779. "type": "integer"
  20780. },
  20781. "delistingdate": {
  20782. "description": "商品退市时间(状态:退市) -- 已作废",
  20783. "type": "string"
  20784. },
  20785. "delistingmode": {
  20786. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20787. "type": "integer"
  20788. },
  20789. "deliveryflag": {
  20790. "description": "交割标志 - 0:不可交割 1:可交割",
  20791. "type": "integer"
  20792. },
  20793. "enumdicname": {
  20794. "description": "单位名称",
  20795. "type": "string"
  20796. },
  20797. "forceclosemode": {
  20798. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20799. "type": "integer"
  20800. },
  20801. "forceclosevalue": {
  20802. "description": "定期强平参数 [收益权]",
  20803. "type": "integer"
  20804. },
  20805. "goodscode": {
  20806. "description": "商品代码(内部)",
  20807. "type": "string"
  20808. },
  20809. "goodscurrencyid": {
  20810. "description": "合约货币ID",
  20811. "type": "integer"
  20812. },
  20813. "goodsgroupid": {
  20814. "description": "所属商品组ID",
  20815. "type": "integer"
  20816. },
  20817. "goodsid": {
  20818. "description": "商品ID(自增ID SEQ_GOODS)",
  20819. "type": "integer"
  20820. },
  20821. "goodsname": {
  20822. "description": "商品名称",
  20823. "type": "string"
  20824. },
  20825. "goodsquotetype": {
  20826. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20827. "type": "integer"
  20828. },
  20829. "goodsstatus": {
  20830. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20831. "type": "integer"
  20832. },
  20833. "goodstradetype": {
  20834. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20835. "type": "integer"
  20836. },
  20837. "goodunitid": {
  20838. "description": "报价单位ID",
  20839. "type": "integer"
  20840. },
  20841. "hasquoter": {
  20842. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20843. "type": "integer"
  20844. },
  20845. "hqprotecttime": {
  20846. "description": "行情保护时间(秒)",
  20847. "type": "integer"
  20848. },
  20849. "innerdealmode": {
  20850. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20851. "type": "integer"
  20852. },
  20853. "isbuylimited": {
  20854. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20855. "type": "integer"
  20856. },
  20857. "isvisible": {
  20858. "description": "游客是否可见 - 0:不可见 1:可见",
  20859. "type": "integer"
  20860. },
  20861. "lasttradedate": {
  20862. "description": "最后交易日期(状态:待退市)",
  20863. "type": "string"
  20864. },
  20865. "listingdate": {
  20866. "description": "交易开始日期",
  20867. "type": "string"
  20868. },
  20869. "marketid": {
  20870. "description": "所属市场ID",
  20871. "type": "integer"
  20872. },
  20873. "modifierid": {
  20874. "description": "修改人",
  20875. "type": "integer"
  20876. },
  20877. "modifystatus": {
  20878. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20879. "type": "integer"
  20880. },
  20881. "modifytime": {
  20882. "description": "修改时间",
  20883. "type": "string"
  20884. },
  20885. "outerdealmode": {
  20886. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20887. "type": "integer"
  20888. },
  20889. "outgoodscode": {
  20890. "description": "商品代码(外部)",
  20891. "type": "string"
  20892. },
  20893. "pictureurl": {
  20894. "description": "商品图片",
  20895. "type": "string"
  20896. },
  20897. "qtydecimalplace": {
  20898. "description": "成交量小数位",
  20899. "type": "integer"
  20900. },
  20901. "quotegear": {
  20902. "description": "行情档位(1-10)",
  20903. "type": "integer"
  20904. },
  20905. "quoteminunit": {
  20906. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20907. "type": "integer"
  20908. },
  20909. "quoteshowtype": {
  20910. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20911. "type": "integer"
  20912. },
  20913. "quoteshowtypeinterval": {
  20914. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20915. "type": "integer"
  20916. },
  20917. "relatedgoodsid": {
  20918. "description": "关联参考商品ID",
  20919. "type": "integer"
  20920. },
  20921. "remark": {
  20922. "description": "备注",
  20923. "type": "string"
  20924. },
  20925. "trademode": {
  20926. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20927. "type": "integer"
  20928. }
  20929. }
  20930. },
  20931. "models.ErmcpGoodsBrand": {
  20932. "type": "object",
  20933. "properties": {
  20934. "areauserid": {
  20935. "description": "所属机构",
  20936. "type": "integer"
  20937. },
  20938. "brandid": {
  20939. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20940. "type": "integer"
  20941. },
  20942. "brandname": {
  20943. "description": "品牌名称",
  20944. "type": "string"
  20945. },
  20946. "createtime": {
  20947. "description": "创建时间",
  20948. "type": "string"
  20949. },
  20950. "creatorid": {
  20951. "description": "创建人",
  20952. "type": "integer"
  20953. },
  20954. "creatorsrc": {
  20955. "description": "创建人来源 - 1:管理端 2:终端",
  20956. "type": "integer"
  20957. },
  20958. "deliverygoodsid": {
  20959. "description": "现货品种ID",
  20960. "type": "integer"
  20961. },
  20962. "isvalid": {
  20963. "description": "是否有效 - 0:无效 1:有效",
  20964. "type": "integer"
  20965. },
  20966. "updatetime": {
  20967. "description": "更新时间",
  20968. "type": "string"
  20969. },
  20970. "updatorid": {
  20971. "description": "更新人",
  20972. "type": "integer"
  20973. },
  20974. "updatorsrc": {
  20975. "description": "更新人来源 - 1:管理端 2:终端",
  20976. "type": "integer"
  20977. },
  20978. "wrstandardid": {
  20979. "description": "现货商品ID",
  20980. "type": "integer"
  20981. }
  20982. }
  20983. },
  20984. "models.ErmcpGoodsModel": {
  20985. "type": "object",
  20986. "properties": {
  20987. "areauserid": {
  20988. "description": "所属机构",
  20989. "type": "integer"
  20990. },
  20991. "convertfactor": {
  20992. "description": "标仓系数",
  20993. "type": "number"
  20994. },
  20995. "createtime": {
  20996. "description": "创建时间",
  20997. "type": "string"
  20998. },
  20999. "creatorid": {
  21000. "description": "创建人",
  21001. "type": "integer"
  21002. },
  21003. "creatorsrc": {
  21004. "description": "创建人来源 - 1:管理端 2:终端",
  21005. "type": "integer"
  21006. },
  21007. "deliverygoodsid": {
  21008. "description": "现货品种ID",
  21009. "type": "integer"
  21010. },
  21011. "isvalid": {
  21012. "description": "是否有效 - 0:无效 1:有效",
  21013. "type": "integer"
  21014. },
  21015. "modelid": {
  21016. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21017. "type": "integer"
  21018. },
  21019. "modelname": {
  21020. "description": "型号名称",
  21021. "type": "string"
  21022. },
  21023. "updatetime": {
  21024. "description": "更新时间",
  21025. "type": "string"
  21026. },
  21027. "updatorid": {
  21028. "description": "更新人",
  21029. "type": "integer"
  21030. },
  21031. "updatorsrc": {
  21032. "description": "更新人来源 - 1:管理端 2:终端",
  21033. "type": "integer"
  21034. },
  21035. "wrstandardid": {
  21036. "description": "现货商品ID",
  21037. "type": "integer"
  21038. }
  21039. }
  21040. },
  21041. "models.ErmcpHedgePosition": {
  21042. "type": "object",
  21043. "properties": {
  21044. "accountid": {
  21045. "description": "资金账号[外部母账户]",
  21046. "type": "integer"
  21047. },
  21048. "curbuyposition": {
  21049. "description": "期末买头寸",
  21050. "type": "integer"
  21051. },
  21052. "cursellposition": {
  21053. "description": "期末卖头寸",
  21054. "type": "integer"
  21055. },
  21056. "curtdbuyposition": {
  21057. "description": "期末今日买头寸",
  21058. "type": "integer"
  21059. },
  21060. "curtdsellposition": {
  21061. "description": "期末今日卖头寸",
  21062. "type": "integer"
  21063. },
  21064. "curydbuyposition": {
  21065. "description": "期末上日买头寸",
  21066. "type": "integer"
  21067. },
  21068. "curydsellposition": {
  21069. "description": "期末上日卖头寸",
  21070. "type": "integer"
  21071. },
  21072. "decreaseqty": {
  21073. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21074. "type": "integer"
  21075. },
  21076. "fretdbuyposition": {
  21077. "description": "冻结今日买头寸",
  21078. "type": "integer"
  21079. },
  21080. "fretdsellposition": {
  21081. "description": "冻结今日卖头寸",
  21082. "type": "integer"
  21083. },
  21084. "freydbuyposition": {
  21085. "description": "冻结上日买头寸",
  21086. "type": "integer"
  21087. },
  21088. "freydsellposition": {
  21089. "description": "冻结上日卖头寸",
  21090. "type": "integer"
  21091. },
  21092. "goodscode": {
  21093. "description": "商品代码",
  21094. "type": "string"
  21095. },
  21096. "goodsid": {
  21097. "description": "商品id",
  21098. "type": "integer"
  21099. },
  21100. "goodsname": {
  21101. "description": "商品名称",
  21102. "type": "string"
  21103. },
  21104. "hedgeaccountcode": {
  21105. "description": "对冲账号",
  21106. "type": "string"
  21107. },
  21108. "hedgegoodsid": {
  21109. "description": "对冲合约ID",
  21110. "type": "integer"
  21111. },
  21112. "increaseqty": {
  21113. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21114. "type": "integer"
  21115. },
  21116. "marketid": {
  21117. "description": "市场ID",
  21118. "type": "integer"
  21119. },
  21120. "relateduserid": {
  21121. "description": "关联用户id",
  21122. "type": "integer"
  21123. },
  21124. "totalcurqty": {
  21125. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21126. "type": "integer"
  21127. },
  21128. "totalydqty": {
  21129. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21130. "type": "integer"
  21131. },
  21132. "tradedate": {
  21133. "description": "交易日(yyyyMMdd)",
  21134. "type": "string"
  21135. },
  21136. "ydbuyposition": {
  21137. "description": "期初买头寸",
  21138. "type": "integer"
  21139. },
  21140. "ydsellposition": {
  21141. "description": "期初卖头寸",
  21142. "type": "integer"
  21143. }
  21144. }
  21145. },
  21146. "models.ErmcpHedgePositionDetail": {
  21147. "type": "object",
  21148. "properties": {
  21149. "buyorsell": {
  21150. "description": "买卖方向 0-买 1-卖",
  21151. "type": "integer"
  21152. },
  21153. "channelbuildtype": {
  21154. "description": "开平方向 1-建仓 2-平仓",
  21155. "type": "integer"
  21156. },
  21157. "goodscode": {
  21158. "description": "商品代码",
  21159. "type": "string"
  21160. },
  21161. "goodsname": {
  21162. "description": "商品名称",
  21163. "type": "string"
  21164. },
  21165. "hedgegoodsid": {
  21166. "description": "商品id",
  21167. "type": "integer"
  21168. },
  21169. "tradeqty": {
  21170. "description": "数量(成交数量)",
  21171. "type": "integer"
  21172. },
  21173. "tradetime": {
  21174. "description": "时间(成交时间)",
  21175. "type": "string"
  21176. }
  21177. }
  21178. },
  21179. "models.ErmcpHisExposure": {
  21180. "type": "object",
  21181. "properties": {
  21182. "needhedgeexposoure": {
  21183. "description": "应套保敞口",
  21184. "type": "number"
  21185. },
  21186. "reckondate": {
  21187. "description": "日照时期(yyyyMMdd)",
  21188. "type": "string"
  21189. },
  21190. "totalexposure": {
  21191. "description": "总敞口",
  21192. "type": "number"
  21193. }
  21194. }
  21195. },
  21196. "models.ErmcpHisExposureS": {
  21197. "type": "object",
  21198. "properties": {
  21199. "data": {
  21200. "description": "历史敞口",
  21201. "type": "array",
  21202. "items": {
  21203. "$ref": "#/definitions/models.ErmcpHisExposure"
  21204. }
  21205. },
  21206. "enumdicname": {
  21207. "description": "单位名称",
  21208. "type": "string"
  21209. },
  21210. "middlegoodscode": {
  21211. "description": "套保品种代码",
  21212. "type": "string"
  21213. },
  21214. "middlegoodsid": {
  21215. "description": "套保品种ID",
  21216. "type": "integer"
  21217. },
  21218. "middlegoodsname": {
  21219. "description": "套保品种名称",
  21220. "type": "string"
  21221. }
  21222. }
  21223. },
  21224. "models.ErmcpLoginTaAccount": {
  21225. "type": "object",
  21226. "properties": {
  21227. "accountid": {
  21228. "description": "账号id",
  21229. "type": "integer"
  21230. },
  21231. "accountname": {
  21232. "description": "账号名称",
  21233. "type": "string"
  21234. }
  21235. }
  21236. },
  21237. "models.ErmcpLoginUser": {
  21238. "type": "object",
  21239. "properties": {
  21240. "acclist": {
  21241. "description": "关联资金账号",
  21242. "type": "array",
  21243. "items": {
  21244. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21245. }
  21246. },
  21247. "accountname": {
  21248. "description": "用户名称",
  21249. "type": "string"
  21250. },
  21251. "clientroleid": {
  21252. "description": "角色id(usertype=2)",
  21253. "type": "integer"
  21254. },
  21255. "createtime": {
  21256. "description": "创建时间",
  21257. "type": "string"
  21258. },
  21259. "logincode": {
  21260. "description": "登录代码",
  21261. "type": "string"
  21262. },
  21263. "loginid": {
  21264. "description": "登录id(LOGINID)",
  21265. "type": "integer"
  21266. },
  21267. "loginname": {
  21268. "description": "登录名称(loginaccount表中的accountname字段)",
  21269. "type": "string"
  21270. },
  21271. "loginstatus": {
  21272. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21273. "type": "integer"
  21274. },
  21275. "memberuserid": {
  21276. "description": "所属会员id",
  21277. "type": "integer"
  21278. },
  21279. "mobile": {
  21280. "description": "手机号",
  21281. "type": "string"
  21282. },
  21283. "modifytime": {
  21284. "description": "修改时间",
  21285. "type": "string"
  21286. },
  21287. "password": {
  21288. "description": "密码(不可解密)",
  21289. "type": "string"
  21290. },
  21291. "rolename": {
  21292. "description": "角色名称",
  21293. "type": "string"
  21294. },
  21295. "rolestatus": {
  21296. "description": "角色状态 1-启用 2-停用",
  21297. "type": "integer"
  21298. },
  21299. "roletype": {
  21300. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21301. "type": "string"
  21302. },
  21303. "userid": {
  21304. "description": "用户id",
  21305. "type": "integer"
  21306. },
  21307. "usertype": {
  21308. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21309. "type": "integer"
  21310. }
  21311. }
  21312. },
  21313. "models.ErmcpLoginUserEx": {
  21314. "type": "object",
  21315. "properties": {
  21316. "accountstatus": {
  21317. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21318. "type": "integer"
  21319. },
  21320. "mobile": {
  21321. "description": "手机号",
  21322. "type": "string"
  21323. },
  21324. "querytype": {
  21325. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21326. "type": "integer"
  21327. },
  21328. "roleid": {
  21329. "description": "角色id(交易账户-\u003e用户id)",
  21330. "type": "integer"
  21331. },
  21332. "rolename": {
  21333. "description": "角色名称(交易账户-\u003e用户名称)",
  21334. "type": "string"
  21335. },
  21336. "userlist": {
  21337. "description": "用户列表",
  21338. "type": "array",
  21339. "items": {
  21340. "$ref": "#/definitions/models.ErmcpLoginUser"
  21341. }
  21342. },
  21343. "usertype": {
  21344. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21345. "type": "integer"
  21346. }
  21347. }
  21348. },
  21349. "models.ErmcpMiddleGoodsChangeLog": {
  21350. "type": "object",
  21351. "properties": {
  21352. "aftervalue": {
  21353. "description": "变更后",
  21354. "type": "number"
  21355. },
  21356. "applyid": {
  21357. "description": "操作人",
  21358. "type": "integer"
  21359. },
  21360. "applyname": {
  21361. "description": "操作人名称",
  21362. "type": "string"
  21363. },
  21364. "applysrc": {
  21365. "description": "操作来源 - 1:管理端 2:终端",
  21366. "type": "integer"
  21367. },
  21368. "beforevalue": {
  21369. "description": "变更前",
  21370. "type": "number"
  21371. },
  21372. "changelogtype": {
  21373. "description": "变更流水类型 - 1:套保比率变更",
  21374. "type": "integer"
  21375. },
  21376. "handlestatus": {
  21377. "description": "处理状态",
  21378. "type": "integer"
  21379. },
  21380. "logdatetime": {
  21381. "description": "流水日期",
  21382. "type": "string"
  21383. },
  21384. "logid": {
  21385. "description": "流水ID",
  21386. "type": "integer"
  21387. },
  21388. "logremark": {
  21389. "description": "流水备注",
  21390. "type": "string"
  21391. },
  21392. "middlegoodsid": {
  21393. "description": "套保品种ID",
  21394. "type": "integer"
  21395. },
  21396. "tradedate": {
  21397. "description": "交易日(yyyyMMdd)",
  21398. "type": "string"
  21399. },
  21400. "updatetime": {
  21401. "description": "更新时间",
  21402. "type": "string"
  21403. }
  21404. }
  21405. },
  21406. "models.ErmcpMiddleGoodsDetail": {
  21407. "type": "object",
  21408. "properties": {
  21409. "cvList": {
  21410. "description": "期货品种折算列表",
  21411. "type": "array",
  21412. "items": {
  21413. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21414. }
  21415. },
  21416. "mg": {
  21417. "description": "套保品种基本信息",
  21418. "type": "object",
  21419. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21420. },
  21421. "wrcList": {
  21422. "description": "现货品种列表(现货商品折算配置)",
  21423. "type": "array",
  21424. "items": {
  21425. "$ref": "#/definitions/models.WRSConverTDetail"
  21426. }
  21427. }
  21428. }
  21429. },
  21430. "models.ErmcpMiddleGoodsModel": {
  21431. "type": "object",
  21432. "properties": {
  21433. "areauserid": {
  21434. "description": "机构用户ID",
  21435. "type": "integer"
  21436. },
  21437. "createtime": {
  21438. "description": "修改时间",
  21439. "type": "string"
  21440. },
  21441. "enumdicname": {
  21442. "description": "单位名称",
  21443. "type": "string"
  21444. },
  21445. "evaluateratio": {
  21446. "description": "估价系数",
  21447. "type": "number"
  21448. },
  21449. "goodsgroupid": {
  21450. "description": "关联期货品种ID",
  21451. "type": "integer"
  21452. },
  21453. "goodsunitid": {
  21454. "description": "单位ID",
  21455. "type": "integer"
  21456. },
  21457. "isvalid": {
  21458. "description": "状态 0-无效(停用) 1-有效(正常)",
  21459. "type": "integer"
  21460. },
  21461. "middlegoodscode": {
  21462. "description": "套保品种代码",
  21463. "type": "string"
  21464. },
  21465. "middlegoodsid": {
  21466. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21467. "type": "integer"
  21468. },
  21469. "middlegoodsname": {
  21470. "description": "套保品种名称",
  21471. "type": "string"
  21472. },
  21473. "modifytime": {
  21474. "description": "修改时间",
  21475. "type": "string"
  21476. },
  21477. "needarbitrageratio": {
  21478. "description": "套利比例",
  21479. "type": "number"
  21480. },
  21481. "needhedgeratio": {
  21482. "description": "套保比率",
  21483. "type": "number"
  21484. },
  21485. "qtydecimalplace": {
  21486. "description": "数量小数位",
  21487. "type": "integer"
  21488. },
  21489. "relatedgoodsid": {
  21490. "description": "关联交易商品ID",
  21491. "type": "integer"
  21492. },
  21493. "relatedgoodstype": {
  21494. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21495. "type": "integer"
  21496. },
  21497. "remark": {
  21498. "description": "备注",
  21499. "type": "string"
  21500. }
  21501. }
  21502. },
  21503. "models.ErmcpMiddlegoodsRelateGoods": {
  21504. "type": "object",
  21505. "properties": {
  21506. "agreeunit": {
  21507. "description": "合约乘数",
  21508. "type": "number"
  21509. },
  21510. "convertratio": {
  21511. "description": "折算系数",
  21512. "type": "number"
  21513. },
  21514. "enumdicname": {
  21515. "description": "单位名称(交易商品)",
  21516. "type": "string"
  21517. },
  21518. "goodscode": {
  21519. "description": "交易商品代码",
  21520. "type": "string"
  21521. },
  21522. "goodsgroupid": {
  21523. "description": "交易品种id",
  21524. "type": "integer"
  21525. },
  21526. "goodsid": {
  21527. "description": "商品Id",
  21528. "type": "integer"
  21529. },
  21530. "goodsname": {
  21531. "description": "交易商品名称",
  21532. "type": "string"
  21533. },
  21534. "goodunitid": {
  21535. "description": "交易商品单位id",
  21536. "type": "integer"
  21537. },
  21538. "middlegoodsid": {
  21539. "description": "套保商品id",
  21540. "type": "integer"
  21541. },
  21542. "middlegoodsname": {
  21543. "description": "套保商品名称",
  21544. "type": "string"
  21545. },
  21546. "middlegoodsswcode": {
  21547. "description": "套保商品代码",
  21548. "type": "string"
  21549. },
  21550. "needarbitrageratio": {
  21551. "description": "应套利比例",
  21552. "type": "number"
  21553. },
  21554. "needhedgeratio": {
  21555. "description": "应套保比例",
  21556. "type": "number"
  21557. }
  21558. }
  21559. },
  21560. "models.ErmcpOPLogModel": {
  21561. "type": "object",
  21562. "properties": {
  21563. "aftervalue": {
  21564. "description": "变更后",
  21565. "type": "number"
  21566. },
  21567. "applyid": {
  21568. "description": "操作人ID",
  21569. "type": "string"
  21570. },
  21571. "applyname": {
  21572. "description": "操作人名称",
  21573. "type": "string"
  21574. },
  21575. "beforevalue": {
  21576. "description": "变更前",
  21577. "type": "number"
  21578. },
  21579. "biztype": {
  21580. "description": "业务类型 - 1:套保计划 2:现货合同",
  21581. "type": "integer"
  21582. },
  21583. "contracttype": {
  21584. "description": "现货合同类型 - 1:采购 -1:销售",
  21585. "type": "integer"
  21586. },
  21587. "logvalue": {
  21588. "description": "数值",
  21589. "type": "number"
  21590. },
  21591. "operatelogtype": {
  21592. "description": "操作流水类型",
  21593. "type": "integer"
  21594. },
  21595. "operatelogtypedesc": {
  21596. "description": "操作流水类型名称",
  21597. "type": "string"
  21598. },
  21599. "relatedid": {
  21600. "description": "现货合同ID\\套保计划",
  21601. "type": "string"
  21602. },
  21603. "updatetime": {
  21604. "description": "更新时间",
  21605. "type": "string"
  21606. }
  21607. }
  21608. },
  21609. "models.ErmcpPendingAudit": {
  21610. "type": "object",
  21611. "properties": {
  21612. "areastockqty": {
  21613. "description": "待审核数量: 库存申请",
  21614. "type": "integer"
  21615. },
  21616. "businessdjqty": {
  21617. "description": "待审核数量: 点价",
  21618. "type": "integer"
  21619. },
  21620. "businessfpqty": {
  21621. "description": "待审核数量: 发票",
  21622. "type": "integer"
  21623. },
  21624. "businessjsqty": {
  21625. "description": "待审核数量: 结算",
  21626. "type": "integer"
  21627. },
  21628. "businesskxqty": {
  21629. "description": "待审核数量: 款项",
  21630. "type": "integer"
  21631. },
  21632. "hedgeplanqty": {
  21633. "description": "待审核数量: 套保计划",
  21634. "type": "integer"
  21635. },
  21636. "spotcontractqty": {
  21637. "description": "待审核数量: 现货合同",
  21638. "type": "integer"
  21639. },
  21640. "userqty": {
  21641. "description": "待审核数量: 用户",
  21642. "type": "integer"
  21643. }
  21644. }
  21645. },
  21646. "models.ErmcpRealExposureModel": {
  21647. "type": "object",
  21648. "properties": {
  21649. "AreaUserID": {
  21650. "description": "所属机构",
  21651. "type": "integer"
  21652. },
  21653. "BuyFutureQty": {
  21654. "description": "买入期货数量",
  21655. "type": "number"
  21656. },
  21657. "BuyPlanQty": {
  21658. "description": "采购计划数量",
  21659. "type": "number"
  21660. },
  21661. "BuyPricedQty": {
  21662. "description": "采购合同已定价数量",
  21663. "type": "number"
  21664. },
  21665. "MiddleGoodsCode": {
  21666. "description": "套保品种代码",
  21667. "type": "string"
  21668. },
  21669. "MiddleGoodsHedgeRatio": {
  21670. "description": "套保比例",
  21671. "type": "number"
  21672. },
  21673. "MiddleGoodsID": {
  21674. "description": "套保品种",
  21675. "type": "integer"
  21676. },
  21677. "MiddleGoodsName": {
  21678. "description": "套保品种名称",
  21679. "type": "string"
  21680. },
  21681. "NeedHedgeExposoure": {
  21682. "description": "应套保敞口(套保敞口)",
  21683. "type": "number"
  21684. },
  21685. "NeedHedgeRatio": {
  21686. "description": "应套保敞口比例",
  21687. "type": "number"
  21688. },
  21689. "OriBuyFutureQty": {
  21690. "description": "期初买入期货数量",
  21691. "type": "number"
  21692. },
  21693. "OriBuyPlanQty": {
  21694. "description": "期初采购计划数量",
  21695. "type": "number"
  21696. },
  21697. "OriBuyPricedQty": {
  21698. "description": "期初采购合同已定价数量",
  21699. "type": "number"
  21700. },
  21701. "OriSellFutureQty": {
  21702. "description": "期初卖出期货数量",
  21703. "type": "number"
  21704. },
  21705. "OriSellPlanQty": {
  21706. "description": "期初销售计划数量",
  21707. "type": "number"
  21708. },
  21709. "OriSellPricedQty": {
  21710. "description": "期初销售合同已定价数量",
  21711. "type": "number"
  21712. },
  21713. "SellFutureQty": {
  21714. "description": "卖出期货数量",
  21715. "type": "number"
  21716. },
  21717. "SellPlanQty": {
  21718. "description": "销售计划数量",
  21719. "type": "number"
  21720. },
  21721. "SellPricedQty": {
  21722. "description": "销售合同已定价数量",
  21723. "type": "number"
  21724. },
  21725. "TotalExposure": {
  21726. "description": "总敞口",
  21727. "type": "number"
  21728. },
  21729. "TotalFutureQty": {
  21730. "description": "期货总量",
  21731. "type": "number"
  21732. },
  21733. "TotalHedgeRatio": {
  21734. "description": "敞口比例",
  21735. "type": "number"
  21736. },
  21737. "TotalNeedHedgeQty": {
  21738. "description": "应套保总量(现货应套保总量)",
  21739. "type": "number"
  21740. },
  21741. "TotalSpotQty": {
  21742. "description": "现货总量",
  21743. "type": "number"
  21744. },
  21745. "arbitrageqty": {
  21746. "description": "套利量",
  21747. "type": "number"
  21748. },
  21749. "diffArbitrageQty": {
  21750. "description": "套利变动量",
  21751. "type": "number"
  21752. },
  21753. "diffExposoureQty": {
  21754. "description": "变动量(套保敞口)",
  21755. "type": "number"
  21756. },
  21757. "diffFutuQty": {
  21758. "description": "变动量(期货总量)",
  21759. "type": "number"
  21760. },
  21761. "diffHedgeQty": {
  21762. "description": "套保变动量",
  21763. "type": "number"
  21764. },
  21765. "diffQty": {
  21766. "description": "变动量(总敞口)",
  21767. "type": "number"
  21768. },
  21769. "diffSpotHedgeQty": {
  21770. "description": "变动量(现货应套保总量)",
  21771. "type": "number"
  21772. },
  21773. "diffSpotQty": {
  21774. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  21775. "type": "number"
  21776. },
  21777. "enumdicname": {
  21778. "description": "单位名称",
  21779. "type": "string"
  21780. },
  21781. "hedgeqty": {
  21782. "description": "套保量",
  21783. "type": "number"
  21784. },
  21785. "needarbitrageqty": {
  21786. "description": "应套利量",
  21787. "type": "number"
  21788. },
  21789. "needarbitrageratio": {
  21790. "description": "套利比例",
  21791. "type": "number"
  21792. },
  21793. "needhedgeqty": {
  21794. "description": "应套保量",
  21795. "type": "number"
  21796. },
  21797. "oriTotalFutuQty": {
  21798. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  21799. "type": "number"
  21800. },
  21801. "oriTotalSpotQty": {
  21802. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  21803. "type": "number"
  21804. },
  21805. "oriarbitrageqty": {
  21806. "description": "期初套利量",
  21807. "type": "number"
  21808. },
  21809. "orihedgeqty": {
  21810. "description": "期初套保量",
  21811. "type": "number"
  21812. },
  21813. "orineedhedgeexposoure": {
  21814. "description": "期初套保敞口",
  21815. "type": "number"
  21816. },
  21817. "oritotalexposure": {
  21818. "description": "期初总敞口",
  21819. "type": "number"
  21820. },
  21821. "oritotalfutureqty": {
  21822. "description": "期初期货总量",
  21823. "type": "number"
  21824. },
  21825. "oritotalneedhedgeqty": {
  21826. "description": "期初现货应套保量",
  21827. "type": "number"
  21828. }
  21829. }
  21830. },
  21831. "models.ErmcpRole": {
  21832. "type": "object",
  21833. "properties": {
  21834. "areauserid": {
  21835. "description": "所属机构",
  21836. "type": "integer"
  21837. },
  21838. "autoid": {
  21839. "description": "角色ID(自增ID)",
  21840. "type": "integer"
  21841. },
  21842. "modifierid": {
  21843. "description": "修改人(创建人)",
  21844. "type": "integer"
  21845. },
  21846. "modifiername": {
  21847. "description": "修改人名称",
  21848. "type": "string"
  21849. },
  21850. "modifytime": {
  21851. "description": "修改时间(创建时间)",
  21852. "type": "string"
  21853. },
  21854. "rolename": {
  21855. "description": "角色名称",
  21856. "type": "string"
  21857. },
  21858. "rolestatus": {
  21859. "description": "角色状态 - 1:启用 2:停用",
  21860. "type": "integer"
  21861. },
  21862. "roletype": {
  21863. "description": "角色类型 - 1- 管理端 2- 交易端",
  21864. "type": "integer"
  21865. }
  21866. }
  21867. },
  21868. "models.ErmcpRoleMenu": {
  21869. "type": "object",
  21870. "properties": {
  21871. "iconame": {
  21872. "description": "菜单图标",
  21873. "type": "string"
  21874. },
  21875. "ishadrole": {
  21876. "description": "是否有权限",
  21877. "type": "boolean"
  21878. },
  21879. "menutype": {
  21880. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  21881. "type": "integer"
  21882. },
  21883. "parentcode": {
  21884. "description": "上级资源代码",
  21885. "type": "string"
  21886. },
  21887. "remark": {
  21888. "description": "菜单备注",
  21889. "type": "string"
  21890. },
  21891. "resourcecode": {
  21892. "description": "菜单代码",
  21893. "type": "string"
  21894. },
  21895. "resourcelevel": {
  21896. "description": "级别",
  21897. "type": "integer"
  21898. },
  21899. "resourcename": {
  21900. "description": "菜单名称",
  21901. "type": "string"
  21902. },
  21903. "roleid": {
  21904. "description": "角色id",
  21905. "type": "integer"
  21906. },
  21907. "sort": {
  21908. "description": "排序",
  21909. "type": "integer"
  21910. },
  21911. "url": {
  21912. "description": "URL",
  21913. "type": "string"
  21914. },
  21915. "userid": {
  21916. "description": "用户id",
  21917. "type": "integer"
  21918. }
  21919. }
  21920. },
  21921. "models.ErmcpRoleMenuEx": {
  21922. "type": "object",
  21923. "properties": {
  21924. "menu": {
  21925. "description": "父级菜单",
  21926. "type": "object",
  21927. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21928. },
  21929. "subMenu": {
  21930. "description": "子级菜单",
  21931. "type": "array",
  21932. "items": {
  21933. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21934. }
  21935. }
  21936. }
  21937. },
  21938. "models.ErmcpTaAccount": {
  21939. "type": "object",
  21940. "properties": {
  21941. "accountid": {
  21942. "description": "账户id",
  21943. "type": "integer"
  21944. },
  21945. "accountname": {
  21946. "description": "账户名称",
  21947. "type": "string"
  21948. },
  21949. "currencyid": {
  21950. "description": "币种id",
  21951. "type": "integer"
  21952. },
  21953. "hedgeaccountcode": {
  21954. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21955. "type": "string"
  21956. },
  21957. "ismain": {
  21958. "description": "是否主账户 0-否 1-是",
  21959. "type": "integer"
  21960. },
  21961. "parentaccountid": {
  21962. "description": "父账户id",
  21963. "type": "integer"
  21964. },
  21965. "relateduserid": {
  21966. "description": "关联userid",
  21967. "type": "integer"
  21968. },
  21969. "tradefeetmpid": {
  21970. "description": "手续费模板id",
  21971. "type": "integer"
  21972. },
  21973. "tradefeetmpname": {
  21974. "description": "手续费模板名称",
  21975. "type": "string"
  21976. },
  21977. "trademargintmpid": {
  21978. "description": "保证金模板id",
  21979. "type": "integer"
  21980. },
  21981. "trademargintmpname": {
  21982. "description": "保证金模板名称",
  21983. "type": "string"
  21984. },
  21985. "traderatetmpid": {
  21986. "description": "汇率模板id",
  21987. "type": "integer"
  21988. },
  21989. "traderatetmpname": {
  21990. "description": "汇率模板名称",
  21991. "type": "string"
  21992. },
  21993. "tradestatus": {
  21994. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21995. "type": "integer"
  21996. },
  21997. "userid": {
  21998. "description": "用户id",
  21999. "type": "integer"
  22000. }
  22001. }
  22002. },
  22003. "models.ErmcpTaAccountEx": {
  22004. "type": "object",
  22005. "properties": {
  22006. "mainAcc": {
  22007. "description": "主账号",
  22008. "type": "object",
  22009. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22010. },
  22011. "subacclist": {
  22012. "description": "子账号列表",
  22013. "type": "array",
  22014. "items": {
  22015. "$ref": "#/definitions/models.ErmcpTaAccount"
  22016. }
  22017. }
  22018. }
  22019. },
  22020. "models.ErmcpTaAccountInfo": {
  22021. "type": "object",
  22022. "properties": {
  22023. "accountid": {
  22024. "description": "资金账户ID",
  22025. "type": "integer"
  22026. },
  22027. "accountname": {
  22028. "description": "账户名称",
  22029. "type": "string"
  22030. },
  22031. "balance": {
  22032. "description": "期初余额",
  22033. "type": "number"
  22034. },
  22035. "capitalbalance": {
  22036. "description": "本金余额[外部子账户实际出入金余额]",
  22037. "type": "number"
  22038. },
  22039. "closepl": {
  22040. "description": "今日平仓盈亏",
  22041. "type": "number"
  22042. },
  22043. "creditdecrease": {
  22044. "description": "今日授信减少",
  22045. "type": "number"
  22046. },
  22047. "creditincrease": {
  22048. "description": "今日授信增加",
  22049. "type": "number"
  22050. },
  22051. "curdebt": {
  22052. "description": "期末欠款",
  22053. "type": "number"
  22054. },
  22055. "currencyid": {
  22056. "description": "货币ID",
  22057. "type": "integer"
  22058. },
  22059. "currentbalance": {
  22060. "description": "期末余额",
  22061. "type": "number"
  22062. },
  22063. "freezecharge": {
  22064. "description": "手续费冻结",
  22065. "type": "number"
  22066. },
  22067. "freezemargin": {
  22068. "description": "冻结保证金",
  22069. "type": "number"
  22070. },
  22071. "fromaccountid": {
  22072. "description": "所属上级账户",
  22073. "type": "integer"
  22074. },
  22075. "inamount": {
  22076. "description": "今日入金金额(包括三方入金)",
  22077. "type": "number"
  22078. },
  22079. "ismain": {
  22080. "description": "是否母账号 0:不是母账户 1:是母账户",
  22081. "type": "integer"
  22082. },
  22083. "mortgagecredit": {
  22084. "description": "授信金额",
  22085. "type": "number"
  22086. },
  22087. "oridebt": {
  22088. "description": "期初欠款",
  22089. "type": "number"
  22090. },
  22091. "orifreezecharge": {
  22092. "description": "期初手续费冻结",
  22093. "type": "number"
  22094. },
  22095. "orifreezemargin": {
  22096. "description": "期初冻结保证金",
  22097. "type": "number"
  22098. },
  22099. "orimortgagecredit": {
  22100. "description": "期初授信金额",
  22101. "type": "number"
  22102. },
  22103. "oriothercredit": {
  22104. "description": "期初其它授信金额",
  22105. "type": "number"
  22106. },
  22107. "oriotherfreezemargin": {
  22108. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22109. "type": "number"
  22110. },
  22111. "orioutamountfreeze": {
  22112. "description": "期初出金冻结",
  22113. "type": "number"
  22114. },
  22115. "oriusedmargin": {
  22116. "description": "期初占用保证金",
  22117. "type": "number"
  22118. },
  22119. "othercredit": {
  22120. "description": "其它授信金额",
  22121. "type": "number"
  22122. },
  22123. "othercreditdecrease": {
  22124. "description": "今日其它授信减少",
  22125. "type": "number"
  22126. },
  22127. "othercreditincrease": {
  22128. "description": "今日其它授信增加",
  22129. "type": "number"
  22130. },
  22131. "otherfreezemargin": {
  22132. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22133. "type": "number"
  22134. },
  22135. "outamount": {
  22136. "description": "今日出金金额(包括三方出金)",
  22137. "type": "number"
  22138. },
  22139. "outamountfreeze": {
  22140. "description": "出金冻结",
  22141. "type": "number"
  22142. },
  22143. "outthreshold": {
  22144. "description": "出金阈值",
  22145. "type": "number"
  22146. },
  22147. "parentaccountid": {
  22148. "description": "所属根账号",
  22149. "type": "integer"
  22150. },
  22151. "paycharge": {
  22152. "description": "今日手续费支出",
  22153. "type": "number"
  22154. },
  22155. "relateduserid": {
  22156. "description": "关联用户",
  22157. "type": "integer"
  22158. },
  22159. "signstatus": {
  22160. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22161. "type": "integer"
  22162. },
  22163. "sublevelpath": {
  22164. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22165. "type": "string"
  22166. },
  22167. "taaccounttype": {
  22168. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22169. "type": "integer"
  22170. },
  22171. "thirdinamount": {
  22172. "description": "今日三方入金",
  22173. "type": "number"
  22174. },
  22175. "thirdoutamount": {
  22176. "description": "今日三方出金",
  22177. "type": "number"
  22178. },
  22179. "tradestatus": {
  22180. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22181. "type": "integer"
  22182. },
  22183. "transferamount": {
  22184. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22185. "type": "number"
  22186. },
  22187. "usedmargin": {
  22188. "description": "占用保证金",
  22189. "type": "number"
  22190. },
  22191. "userid": {
  22192. "description": "用户ID",
  22193. "type": "integer"
  22194. }
  22195. }
  22196. },
  22197. "models.ErmcpTaAccountM": {
  22198. "type": "object",
  22199. "properties": {
  22200. "accountid": {
  22201. "description": "账户id",
  22202. "type": "integer"
  22203. },
  22204. "accountname": {
  22205. "description": "账户名称",
  22206. "type": "string"
  22207. },
  22208. "currencyid": {
  22209. "description": "币种id",
  22210. "type": "integer"
  22211. },
  22212. "fcid": {
  22213. "description": "期货公司id",
  22214. "type": "integer"
  22215. },
  22216. "fcname": {
  22217. "description": "期货公司代码",
  22218. "type": "string"
  22219. },
  22220. "hedgeaccountcode": {
  22221. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22222. "type": "string"
  22223. },
  22224. "ismain": {
  22225. "description": "是否主账户 0-否 1-是",
  22226. "type": "integer"
  22227. },
  22228. "parentaccountid": {
  22229. "description": "父账户id",
  22230. "type": "integer"
  22231. },
  22232. "relateduserid": {
  22233. "description": "关联userid",
  22234. "type": "integer"
  22235. },
  22236. "tradefeetmpid": {
  22237. "description": "手续费模板id",
  22238. "type": "integer"
  22239. },
  22240. "tradefeetmpname": {
  22241. "description": "手续费模板名称",
  22242. "type": "string"
  22243. },
  22244. "trademargintmpid": {
  22245. "description": "保证金模板id",
  22246. "type": "integer"
  22247. },
  22248. "trademargintmpname": {
  22249. "description": "保证金模板名称",
  22250. "type": "string"
  22251. },
  22252. "traderatetmpid": {
  22253. "description": "汇率模板id",
  22254. "type": "integer"
  22255. },
  22256. "traderatetmpname": {
  22257. "description": "汇率模板名称",
  22258. "type": "string"
  22259. },
  22260. "tradestatus": {
  22261. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22262. "type": "integer"
  22263. },
  22264. "userid": {
  22265. "description": "用户id",
  22266. "type": "integer"
  22267. }
  22268. }
  22269. },
  22270. "models.ErmcpTradeConfigTMP": {
  22271. "type": "object",
  22272. "properties": {
  22273. "areauserid": {
  22274. "description": "所属机构",
  22275. "type": "integer"
  22276. },
  22277. "basiccurrencyid": {
  22278. "description": "基本币种ID[汇率] - 目标币种",
  22279. "type": "integer"
  22280. },
  22281. "mainaccountid": {
  22282. "description": "主账户ID",
  22283. "type": "integer"
  22284. },
  22285. "modifierid": {
  22286. "description": "修改人",
  22287. "type": "integer"
  22288. },
  22289. "remark": {
  22290. "description": "备注",
  22291. "type": "string"
  22292. },
  22293. "tradeconfigtmpid": {
  22294. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22295. "type": "integer"
  22296. },
  22297. "tradeconfigtmpname": {
  22298. "description": "交易配置模板名称",
  22299. "type": "string"
  22300. },
  22301. "tradeconfigtmptype": {
  22302. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22303. "type": "integer"
  22304. },
  22305. "updatetime": {
  22306. "description": "更新时间",
  22307. "type": "string"
  22308. }
  22309. }
  22310. },
  22311. "models.ErmcpUserModel": {
  22312. "type": "object",
  22313. "properties": {
  22314. "address": {
  22315. "description": "通讯地址",
  22316. "type": "string"
  22317. },
  22318. "attachment1": {
  22319. "description": "附件1",
  22320. "type": "string"
  22321. },
  22322. "audittime": {
  22323. "description": "审核时间",
  22324. "type": "string"
  22325. },
  22326. "cardbackphotourl": {
  22327. "description": "证件反面图片地址",
  22328. "type": "string"
  22329. },
  22330. "cardfrontphotourl": {
  22331. "description": "证件正面图片地址",
  22332. "type": "string"
  22333. },
  22334. "cardnum": {
  22335. "description": "证件号码",
  22336. "type": "string"
  22337. },
  22338. "cardtype": {
  22339. "description": "证件类型",
  22340. "type": "integer"
  22341. },
  22342. "cardtypename": {
  22343. "description": "证件类型名称",
  22344. "type": "string"
  22345. },
  22346. "cityid": {
  22347. "description": "市",
  22348. "type": "integer"
  22349. },
  22350. "contactname": {
  22351. "description": "联系人",
  22352. "type": "string"
  22353. },
  22354. "countryid": {
  22355. "description": "国家",
  22356. "type": "integer"
  22357. },
  22358. "createtime": {
  22359. "description": "创建时间",
  22360. "type": "string"
  22361. },
  22362. "customername": {
  22363. "description": "企业名称",
  22364. "type": "string"
  22365. },
  22366. "districtid": {
  22367. "description": "区域",
  22368. "type": "integer"
  22369. },
  22370. "email": {
  22371. "description": "邮件",
  22372. "type": "string"
  22373. },
  22374. "legalpersonname": {
  22375. "description": "法人姓名(企业)",
  22376. "type": "string"
  22377. },
  22378. "memberuserid": {
  22379. "description": "所属机构ID",
  22380. "type": "integer"
  22381. },
  22382. "mobile": {
  22383. "description": "手机号码",
  22384. "type": "string"
  22385. },
  22386. "modifytime": {
  22387. "description": "修改时间",
  22388. "type": "string"
  22389. },
  22390. "nickname": {
  22391. "description": "昵称",
  22392. "type": "string"
  22393. },
  22394. "provinceid": {
  22395. "description": "省",
  22396. "type": "integer"
  22397. },
  22398. "remark": {
  22399. "description": "备注",
  22400. "type": "string"
  22401. },
  22402. "status": {
  22403. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22404. "type": "integer"
  22405. },
  22406. "statusdesc": {
  22407. "description": "账户状态中文描述",
  22408. "type": "string"
  22409. },
  22410. "taxpayernum": {
  22411. "description": "纳税人识别号",
  22412. "type": "string"
  22413. },
  22414. "telphone": {
  22415. "description": "联系电话",
  22416. "type": "string"
  22417. },
  22418. "userid": {
  22419. "description": "用户ID",
  22420. "type": "integer"
  22421. },
  22422. "userinfotype": {
  22423. "description": "客户类型",
  22424. "type": "string"
  22425. }
  22426. }
  22427. },
  22428. "models.ErmcpWareHouseInfo": {
  22429. "type": "object",
  22430. "properties": {
  22431. "address": {
  22432. "description": "详细地址",
  22433. "type": "string"
  22434. },
  22435. "areauserid": {
  22436. "description": "所属机构",
  22437. "type": "integer"
  22438. },
  22439. "autoid": {
  22440. "description": "自增ID(仓库ID)",
  22441. "type": "integer"
  22442. },
  22443. "cityid": {
  22444. "description": "市",
  22445. "type": "integer"
  22446. },
  22447. "contactname": {
  22448. "description": "联系人",
  22449. "type": "string"
  22450. },
  22451. "contactnum": {
  22452. "description": "联系电话",
  22453. "type": "string"
  22454. },
  22455. "countryid": {
  22456. "description": "国家",
  22457. "type": "integer"
  22458. },
  22459. "createtime": {
  22460. "description": "创建时间",
  22461. "type": "string"
  22462. },
  22463. "districtid": {
  22464. "description": "区",
  22465. "type": "integer"
  22466. },
  22467. "hasvideo": {
  22468. "description": "是否有视频 - 0:无 1:有",
  22469. "type": "integer"
  22470. },
  22471. "provinceid": {
  22472. "description": "省",
  22473. "type": "integer"
  22474. },
  22475. "remark": {
  22476. "description": "审核备注",
  22477. "type": "string"
  22478. },
  22479. "videourl": {
  22480. "description": "视频地址",
  22481. "type": "string"
  22482. },
  22483. "warehousecode": {
  22484. "description": "仓库代码",
  22485. "type": "string"
  22486. },
  22487. "warehousename": {
  22488. "description": "仓库名称",
  22489. "type": "string"
  22490. },
  22491. "warehousestatus": {
  22492. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22493. "type": "integer"
  22494. },
  22495. "warehousetype": {
  22496. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22497. "type": "integer"
  22498. }
  22499. }
  22500. },
  22501. "models.Externalexchange": {
  22502. "type": "object",
  22503. "required": [
  22504. "autoid"
  22505. ],
  22506. "properties": {
  22507. "autoid": {
  22508. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22509. "type": "integer"
  22510. },
  22511. "exchangefullname": {
  22512. "description": "外部交易所全称",
  22513. "type": "string"
  22514. },
  22515. "exexchangecode": {
  22516. "description": "外部交易所代码",
  22517. "type": "string"
  22518. },
  22519. "exexchangename": {
  22520. "description": "外部交易所名称(简称)",
  22521. "type": "string"
  22522. },
  22523. "ismarketprice": {
  22524. "description": "是否支持市价 - 0:不支持 1:支持",
  22525. "type": "integer"
  22526. },
  22527. "quotegear": {
  22528. "description": "行情档位(1-10)",
  22529. "type": "integer"
  22530. },
  22531. "showbrokerflag": {
  22532. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22533. "type": "integer"
  22534. },
  22535. "updatetime": {
  22536. "description": "更新时间",
  22537. "type": "string"
  22538. }
  22539. }
  22540. },
  22541. "models.Funcmenulist": {
  22542. "type": "object",
  22543. "required": [
  22544. "resourcecode"
  22545. ],
  22546. "properties": {
  22547. "iconame": {
  22548. "description": "菜单图标",
  22549. "type": "string"
  22550. },
  22551. "menutype": {
  22552. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22553. "type": "integer"
  22554. },
  22555. "parentcode": {
  22556. "description": "上级资源代码",
  22557. "type": "string"
  22558. },
  22559. "remark": {
  22560. "description": "备注",
  22561. "type": "string"
  22562. },
  22563. "resourcecode": {
  22564. "description": "资源代码",
  22565. "type": "string"
  22566. },
  22567. "resourcelevel": {
  22568. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22569. "type": "integer"
  22570. },
  22571. "resourcename": {
  22572. "description": "资源名",
  22573. "type": "string"
  22574. },
  22575. "sort": {
  22576. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22577. "type": "integer"
  22578. },
  22579. "url": {
  22580. "description": "URL",
  22581. "type": "string"
  22582. }
  22583. }
  22584. },
  22585. "models.Goods": {
  22586. "type": "object",
  22587. "required": [
  22588. "goodscode",
  22589. "goodsid",
  22590. "goodsname",
  22591. "marketid"
  22592. ],
  22593. "properties": {
  22594. "agreeunit": {
  22595. "description": "合约单位",
  22596. "type": "number"
  22597. },
  22598. "areauserid": {
  22599. "description": "所属机构",
  22600. "type": "integer"
  22601. },
  22602. "auditaccountid": {
  22603. "description": "审核操作员账号",
  22604. "type": "integer"
  22605. },
  22606. "audittime": {
  22607. "description": "审核时间",
  22608. "type": "string"
  22609. },
  22610. "cancelaccountid": {
  22611. "description": "注销操作员账号",
  22612. "type": "integer"
  22613. },
  22614. "canceltime": {
  22615. "description": "注销时间",
  22616. "type": "string"
  22617. },
  22618. "closepricemode": {
  22619. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22620. "type": "integer"
  22621. },
  22622. "closepriceparam": {
  22623. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22624. "type": "number"
  22625. },
  22626. "createtime": {
  22627. "description": "创建时间",
  22628. "type": "string"
  22629. },
  22630. "creatorid": {
  22631. "description": "创建人",
  22632. "type": "integer"
  22633. },
  22634. "currencyid": {
  22635. "description": "报价货币ID",
  22636. "type": "integer"
  22637. },
  22638. "cutmode": {
  22639. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22640. "type": "integer"
  22641. },
  22642. "decimalplace": {
  22643. "description": "报价小数位",
  22644. "type": "integer"
  22645. },
  22646. "delistingdate": {
  22647. "description": "商品退市时间(状态:退市) -- 已作废",
  22648. "type": "string"
  22649. },
  22650. "delistingmode": {
  22651. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22652. "type": "integer"
  22653. },
  22654. "deliveryflag": {
  22655. "description": "交割标志 - 0:不可交割 1:可交割",
  22656. "type": "integer"
  22657. },
  22658. "forceclosemode": {
  22659. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22660. "type": "integer"
  22661. },
  22662. "forceclosevalue": {
  22663. "description": "定期强平参数 [收益权]",
  22664. "type": "integer"
  22665. },
  22666. "goodscode": {
  22667. "description": "商品代码(内部)",
  22668. "type": "string"
  22669. },
  22670. "goodscurrencyid": {
  22671. "description": "合约货币ID",
  22672. "type": "integer"
  22673. },
  22674. "goodsgroupid": {
  22675. "description": "所属商品组ID",
  22676. "type": "integer"
  22677. },
  22678. "goodsid": {
  22679. "description": "商品ID(自增ID SEQ_GOODS)",
  22680. "type": "integer"
  22681. },
  22682. "goodsname": {
  22683. "description": "商品名称",
  22684. "type": "string"
  22685. },
  22686. "goodsquotetype": {
  22687. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22688. "type": "integer"
  22689. },
  22690. "goodsstatus": {
  22691. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22692. "type": "integer"
  22693. },
  22694. "goodstradetype": {
  22695. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22696. "type": "integer"
  22697. },
  22698. "goodunitid": {
  22699. "description": "报价单位ID",
  22700. "type": "integer"
  22701. },
  22702. "hasquoter": {
  22703. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22704. "type": "integer"
  22705. },
  22706. "hqprotecttime": {
  22707. "description": "行情保护时间(秒)",
  22708. "type": "integer"
  22709. },
  22710. "innerdealmode": {
  22711. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22712. "type": "integer"
  22713. },
  22714. "isbuylimited": {
  22715. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22716. "type": "integer"
  22717. },
  22718. "isvisible": {
  22719. "description": "游客是否可见 - 0:不可见 1:可见",
  22720. "type": "integer"
  22721. },
  22722. "lasttradedate": {
  22723. "description": "最后交易日期(状态:待退市)",
  22724. "type": "string"
  22725. },
  22726. "listingdate": {
  22727. "description": "交易开始日期",
  22728. "type": "string"
  22729. },
  22730. "marketid": {
  22731. "description": "所属市场ID",
  22732. "type": "integer"
  22733. },
  22734. "modifierid": {
  22735. "description": "修改人",
  22736. "type": "integer"
  22737. },
  22738. "modifystatus": {
  22739. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22740. "type": "integer"
  22741. },
  22742. "modifytime": {
  22743. "description": "修改时间",
  22744. "type": "string"
  22745. },
  22746. "outerdealmode": {
  22747. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22748. "type": "integer"
  22749. },
  22750. "outgoodscode": {
  22751. "description": "商品代码(外部)",
  22752. "type": "string"
  22753. },
  22754. "pictureurl": {
  22755. "description": "商品图片",
  22756. "type": "string"
  22757. },
  22758. "qtydecimalplace": {
  22759. "description": "成交量小数位",
  22760. "type": "integer"
  22761. },
  22762. "quotegear": {
  22763. "description": "行情档位(1-10)",
  22764. "type": "integer"
  22765. },
  22766. "quoteminunit": {
  22767. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22768. "type": "integer"
  22769. },
  22770. "quoteshowtype": {
  22771. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22772. "type": "integer"
  22773. },
  22774. "quoteshowtypeinterval": {
  22775. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22776. "type": "integer"
  22777. },
  22778. "remark": {
  22779. "description": "备注",
  22780. "type": "string"
  22781. }
  22782. }
  22783. },
  22784. "models.GoodsIDAndName": {
  22785. "type": "object",
  22786. "required": [
  22787. "goodscode",
  22788. "goodsid",
  22789. "goodsname",
  22790. "marketid"
  22791. ],
  22792. "properties": {
  22793. "goodscode": {
  22794. "description": "商品代码(内部)",
  22795. "type": "string"
  22796. },
  22797. "goodsid": {
  22798. "description": "商品ID(自增ID SEQ_GOODS)",
  22799. "type": "integer"
  22800. },
  22801. "goodsname": {
  22802. "description": "商品名称",
  22803. "type": "string"
  22804. },
  22805. "marketid": {
  22806. "description": "所属市场ID",
  22807. "type": "integer"
  22808. }
  22809. }
  22810. },
  22811. "models.Goodsgroup": {
  22812. "type": "object",
  22813. "required": [
  22814. "goodsgroupid",
  22815. "goodsgroupname",
  22816. "goodsgroupstatus",
  22817. "marketid"
  22818. ],
  22819. "properties": {
  22820. "agreeunit": {
  22821. "description": "合约单位",
  22822. "type": "number"
  22823. },
  22824. "canshort": {
  22825. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22826. "type": "integer"
  22827. },
  22828. "closepricemode": {
  22829. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22830. "type": "integer"
  22831. },
  22832. "closepriceparam": {
  22833. "description": "强平最新价浮动比例 - 方式为2时使用",
  22834. "type": "number"
  22835. },
  22836. "createtime": {
  22837. "description": "创建时间",
  22838. "type": "string"
  22839. },
  22840. "creatorid": {
  22841. "description": "创建人",
  22842. "type": "integer"
  22843. },
  22844. "currencyid": {
  22845. "description": "报价货币ID",
  22846. "type": "integer"
  22847. },
  22848. "decimalplace": {
  22849. "description": "报价小数位",
  22850. "type": "integer"
  22851. },
  22852. "exercisetype": {
  22853. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  22854. "type": "integer"
  22855. },
  22856. "exexchangeid": {
  22857. "description": "外部交易所ID[通道交易]",
  22858. "type": "integer"
  22859. },
  22860. "goodsgroupid": {
  22861. "description": "商品组ID(自增ID)",
  22862. "type": "integer"
  22863. },
  22864. "goodsgroupname": {
  22865. "description": "商品组名称",
  22866. "type": "string"
  22867. },
  22868. "goodsgroupstatus": {
  22869. "description": "商品组状态 - 1:正常 2:注销",
  22870. "type": "integer"
  22871. },
  22872. "goodunitid": {
  22873. "description": "报价单位ID",
  22874. "type": "integer"
  22875. },
  22876. "innerdealmode": {
  22877. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22878. "type": "integer"
  22879. },
  22880. "isbuylimited": {
  22881. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22882. "type": "integer"
  22883. },
  22884. "marketid": {
  22885. "description": "所属市场ID",
  22886. "type": "integer"
  22887. },
  22888. "modifierid": {
  22889. "description": "修改人",
  22890. "type": "integer"
  22891. },
  22892. "modifytime": {
  22893. "description": "修改时间",
  22894. "type": "string"
  22895. },
  22896. "outerdealmode": {
  22897. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22898. "type": "integer"
  22899. },
  22900. "outergroupcode": {
  22901. "description": "外部商品组代码[通道交易]",
  22902. "type": "string"
  22903. },
  22904. "premiumdecimalplace": {
  22905. "description": "权利金小数位[场外期权]",
  22906. "type": "integer"
  22907. },
  22908. "premiumspreadalgorithm": {
  22909. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  22910. "type": "integer"
  22911. },
  22912. "premiumspreadvalue": {
  22913. "description": "权利金点差值[场外期权]",
  22914. "type": "number"
  22915. },
  22916. "qtydecimalplace": {
  22917. "description": "成交量小数位",
  22918. "type": "integer"
  22919. },
  22920. "quotegear": {
  22921. "description": "行情档位(1-10)",
  22922. "type": "integer"
  22923. },
  22924. "quoteminunit": {
  22925. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22926. "type": "integer"
  22927. },
  22928. "quoterid": {
  22929. "description": "报价商ID[场外期权]",
  22930. "type": "integer"
  22931. },
  22932. "quotesourcegroupid": {
  22933. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22934. "type": "integer"
  22935. },
  22936. "syncgoodsqty": {
  22937. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22938. "type": "integer"
  22939. }
  22940. }
  22941. },
  22942. "models.Goodssortbypreposition": {
  22943. "type": "object",
  22944. "required": [
  22945. "goodscode",
  22946. "tradedate"
  22947. ],
  22948. "properties": {
  22949. "goodscode": {
  22950. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22951. "type": "string"
  22952. },
  22953. "goodsgroupcode": {
  22954. "description": "品种代码",
  22955. "type": "string"
  22956. },
  22957. "prepositionqty": {
  22958. "description": "昨持仓量",
  22959. "type": "integer"
  22960. },
  22961. "sortindex": {
  22962. "description": "排序",
  22963. "type": "integer"
  22964. },
  22965. "tradedate": {
  22966. "description": "交易日",
  22967. "type": "string"
  22968. },
  22969. "updatetime": {
  22970. "description": "更新时间",
  22971. "type": "string"
  22972. }
  22973. }
  22974. },
  22975. "models.Hedgeinnerholderdetail": {
  22976. "type": "object",
  22977. "required": [
  22978. "buyorsell",
  22979. "tradeid"
  22980. ],
  22981. "properties": {
  22982. "accountid": {
  22983. "description": "账号ID",
  22984. "type": "integer"
  22985. },
  22986. "buyorsell": {
  22987. "description": "方向 - 0:买 1:卖",
  22988. "type": "integer"
  22989. },
  22990. "freezeqty": {
  22991. "description": "冻结数量 - 按单平使用",
  22992. "type": "integer"
  22993. },
  22994. "goodsid": {
  22995. "description": "商品ID",
  22996. "type": "integer"
  22997. },
  22998. "holderamount": {
  22999. "description": "持仓金额 [商品币种]",
  23000. "type": "number"
  23001. },
  23002. "holderdays": {
  23003. "description": "剩余冻结天数",
  23004. "type": "integer"
  23005. },
  23006. "holderprice": {
  23007. "description": "持仓价格",
  23008. "type": "number"
  23009. },
  23010. "holderqty": {
  23011. "description": "持仓数量",
  23012. "type": "integer"
  23013. },
  23014. "marketid": {
  23015. "description": "市场ID",
  23016. "type": "integer"
  23017. },
  23018. "openprice": {
  23019. "description": "建仓价格",
  23020. "type": "number"
  23021. },
  23022. "openqty": {
  23023. "description": "建仓数量",
  23024. "type": "integer"
  23025. },
  23026. "parentaccountid": {
  23027. "description": "所属母账户",
  23028. "type": "integer"
  23029. },
  23030. "releaseamount": {
  23031. "description": "释放持仓金额[商品币种]",
  23032. "type": "number"
  23033. },
  23034. "tradeamount": {
  23035. "description": "成交金额[账户]",
  23036. "type": "number"
  23037. },
  23038. "tradedate": {
  23039. "description": "交易日(yyyyMMdd)",
  23040. "type": "string"
  23041. },
  23042. "tradeid": {
  23043. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23044. "type": "string"
  23045. },
  23046. "tradetime": {
  23047. "description": "交易时间",
  23048. "type": "string"
  23049. }
  23050. }
  23051. },
  23052. "models.Hedgemarketopenlog": {
  23053. "type": "object",
  23054. "required": [
  23055. "accountid"
  23056. ],
  23057. "properties": {
  23058. "accountid": {
  23059. "description": "资金账号[外部母账户]",
  23060. "type": "integer"
  23061. },
  23062. "fcname": {
  23063. "description": "期货公司名称",
  23064. "type": "string"
  23065. },
  23066. "handlestatus": {
  23067. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23068. "type": "integer"
  23069. },
  23070. "marketid": {
  23071. "description": "市场ID",
  23072. "type": "integer"
  23073. },
  23074. "status": {
  23075. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23076. "type": "integer"
  23077. },
  23078. "tradedate": {
  23079. "description": "交易日(yyyyMMdd)",
  23080. "type": "string"
  23081. },
  23082. "updatetime": {
  23083. "description": "更新时间",
  23084. "type": "string"
  23085. }
  23086. }
  23087. },
  23088. "models.HsbyBuyMyPayOrder": {
  23089. "type": "object",
  23090. "required": [
  23091. "goodscode",
  23092. "goodsname",
  23093. "tradeid",
  23094. "trademode"
  23095. ],
  23096. "properties": {
  23097. "agreeunit": {
  23098. "description": "合约单位",
  23099. "type": "number"
  23100. },
  23101. "buyaccountid": {
  23102. "description": "买方账号ID[报价币种]",
  23103. "type": "integer"
  23104. },
  23105. "buyorderid": {
  23106. "description": "买方委托单号",
  23107. "type": "string"
  23108. },
  23109. "createtime": {
  23110. "description": "创建时间",
  23111. "type": "string"
  23112. },
  23113. "currencysign": {
  23114. "description": "货币符号",
  23115. "type": "string"
  23116. },
  23117. "decimalplace": {
  23118. "description": "报价小数位",
  23119. "type": "integer"
  23120. },
  23121. "goodscode": {
  23122. "description": "商品代码(内部)",
  23123. "type": "string"
  23124. },
  23125. "goodsid": {
  23126. "description": "商品ID",
  23127. "type": "integer"
  23128. },
  23129. "goodsname": {
  23130. "description": "商品名称",
  23131. "type": "string"
  23132. },
  23133. "marketid": {
  23134. "description": "市场ID",
  23135. "type": "integer"
  23136. },
  23137. "offamount": {
  23138. "description": "优惠金额",
  23139. "type": "number"
  23140. },
  23141. "originalamount": {
  23142. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23143. "type": "number"
  23144. },
  23145. "payamount": {
  23146. "description": "支付金额 = TradeAmount + TradeCharge",
  23147. "type": "number"
  23148. },
  23149. "payflag": {
  23150. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23151. "type": "integer"
  23152. },
  23153. "paylimitedtime": {
  23154. "description": "支付期限",
  23155. "type": "string"
  23156. },
  23157. "paytime": {
  23158. "description": "付款时间",
  23159. "type": "string"
  23160. },
  23161. "picurls1": {
  23162. "description": "预售商品介绍图片[多张用逗号分隔]",
  23163. "type": "string"
  23164. },
  23165. "picurls2": {
  23166. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23167. "type": "string"
  23168. },
  23169. "sellaccountid": {
  23170. "description": "卖方账号ID[报价币种]",
  23171. "type": "integer"
  23172. },
  23173. "sellorderid": {
  23174. "description": "卖方委托单号",
  23175. "type": "string"
  23176. },
  23177. "tradeamount": {
  23178. "description": "成交金额",
  23179. "type": "number"
  23180. },
  23181. "tradecharge": {
  23182. "description": "成交手续费(买方)",
  23183. "type": "number"
  23184. },
  23185. "tradedate": {
  23186. "description": "交易日(yyyyMMdd)",
  23187. "type": "string"
  23188. },
  23189. "tradeid": {
  23190. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23191. "type": "string"
  23192. },
  23193. "trademode": {
  23194. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23195. "type": "integer"
  23196. },
  23197. "tradeprice": {
  23198. "description": "成交价格",
  23199. "type": "number"
  23200. },
  23201. "tradeqty": {
  23202. "description": "成交数量",
  23203. "type": "integer"
  23204. },
  23205. "vendorname1": {
  23206. "description": "预售商品供应商名称",
  23207. "type": "string"
  23208. },
  23209. "vendorname2": {
  23210. "description": "挂牌商品供应商名称",
  23211. "type": "string"
  23212. }
  23213. }
  23214. },
  23215. "models.HsbyBuyMyTradeDetail": {
  23216. "type": "object",
  23217. "required": [
  23218. "accountid",
  23219. "buyorsell",
  23220. "goodscode",
  23221. "goodsid",
  23222. "goodsname",
  23223. "marketid",
  23224. "orderid",
  23225. "qty",
  23226. "time",
  23227. "trademode"
  23228. ],
  23229. "properties": {
  23230. "accountid": {
  23231. "description": "账户ID[报价币种]",
  23232. "type": "integer"
  23233. },
  23234. "agreeunit": {
  23235. "description": "合约单位",
  23236. "type": "number"
  23237. },
  23238. "amount": {
  23239. "description": "金额 = 价格 * 数量 * 合约单位",
  23240. "type": "number"
  23241. },
  23242. "buyorsell": {
  23243. "description": "买卖 - 0:买 1:卖",
  23244. "type": "integer"
  23245. },
  23246. "currencysign": {
  23247. "description": "货币符号",
  23248. "type": "string"
  23249. },
  23250. "decimalplace": {
  23251. "description": "报价小数位",
  23252. "type": "integer"
  23253. },
  23254. "goodscode": {
  23255. "description": "商品代码(内部)",
  23256. "type": "string"
  23257. },
  23258. "goodsid": {
  23259. "description": "商品ID",
  23260. "type": "integer"
  23261. },
  23262. "goodsname": {
  23263. "description": "商品名称",
  23264. "type": "string"
  23265. },
  23266. "marketid": {
  23267. "description": "市场ID",
  23268. "type": "integer"
  23269. },
  23270. "orderamount": {
  23271. "description": "委托金额",
  23272. "type": "number"
  23273. },
  23274. "orderid": {
  23275. "description": "单号(成交单号)",
  23276. "type": "string"
  23277. },
  23278. "picurls1": {
  23279. "description": "预售商品介绍图片[多张用逗号分隔]",
  23280. "type": "string"
  23281. },
  23282. "picurls2": {
  23283. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23284. "type": "string"
  23285. },
  23286. "price": {
  23287. "description": "价格",
  23288. "type": "number"
  23289. },
  23290. "qty": {
  23291. "description": "数量",
  23292. "type": "integer"
  23293. },
  23294. "time": {
  23295. "description": "时间",
  23296. "type": "string"
  23297. },
  23298. "trademode": {
  23299. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23300. "type": "integer"
  23301. },
  23302. "vendorname1": {
  23303. "description": "预售商品供应商名称",
  23304. "type": "string"
  23305. },
  23306. "vendorname2": {
  23307. "description": "挂牌商品供应商名称",
  23308. "type": "string"
  23309. }
  23310. }
  23311. },
  23312. "models.HsbyGoodsOrderDetail": {
  23313. "type": "object",
  23314. "required": [
  23315. "buyorsell",
  23316. "orderid",
  23317. "ordertime"
  23318. ],
  23319. "properties": {
  23320. "buyorsell": {
  23321. "description": "买卖 - 0:买 1:卖",
  23322. "type": "integer"
  23323. },
  23324. "currencysign": {
  23325. "description": "货币符号",
  23326. "type": "string"
  23327. },
  23328. "customername": {
  23329. "description": "客户名称(企业名称),已脱敏",
  23330. "type": "string"
  23331. },
  23332. "enableqty": {
  23333. "description": "可用数量",
  23334. "type": "integer"
  23335. },
  23336. "goodunit": {
  23337. "description": "报价单位",
  23338. "type": "string"
  23339. },
  23340. "orderid": {
  23341. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23342. "type": "string"
  23343. },
  23344. "orderprice": {
  23345. "description": "委托价格",
  23346. "type": "number"
  23347. },
  23348. "ordertime": {
  23349. "description": "委托时间",
  23350. "type": "string"
  23351. }
  23352. }
  23353. },
  23354. "models.HsbyListingGoodsDetail": {
  23355. "type": "object",
  23356. "required": [
  23357. "goodscode",
  23358. "goodsid",
  23359. "goodsname",
  23360. "marketid",
  23361. "trademode"
  23362. ],
  23363. "properties": {
  23364. "agreeunit": {
  23365. "description": "合约单位",
  23366. "type": "number"
  23367. },
  23368. "buymaxqty": {
  23369. "description": "购买上限 [71] - 0为不限",
  23370. "type": "integer"
  23371. },
  23372. "currency": {
  23373. "description": "货币",
  23374. "type": "string"
  23375. },
  23376. "currencysign": {
  23377. "description": "货币符号",
  23378. "type": "string"
  23379. },
  23380. "decimalplace": {
  23381. "description": "报价小数位",
  23382. "type": "integer"
  23383. },
  23384. "desccityid": {
  23385. "description": "目的地(市)ID",
  23386. "type": "integer"
  23387. },
  23388. "descprovinceid": {
  23389. "description": "目的地(省)ID",
  23390. "type": "integer"
  23391. },
  23392. "goodscode": {
  23393. "description": "商品代码(内部)",
  23394. "type": "string"
  23395. },
  23396. "goodsdesc": {
  23397. "description": "商品详情",
  23398. "type": "string"
  23399. },
  23400. "goodsid": {
  23401. "description": "商品ID(自增ID SEQ_GOODS)",
  23402. "type": "integer"
  23403. },
  23404. "goodsname": {
  23405. "description": "商品名称",
  23406. "type": "string"
  23407. },
  23408. "goodsprice": {
  23409. "description": "商品价格",
  23410. "type": "number"
  23411. },
  23412. "hotindex": {
  23413. "description": "景点热度",
  23414. "type": "integer"
  23415. },
  23416. "last": {
  23417. "description": "现价",
  23418. "type": "number"
  23419. },
  23420. "limitdown": {
  23421. "description": "跌停价",
  23422. "type": "number"
  23423. },
  23424. "limitup": {
  23425. "description": "涨停价",
  23426. "type": "number"
  23427. },
  23428. "lotsize": {
  23429. "description": "手数最小变动单位",
  23430. "type": "integer"
  23431. },
  23432. "marketid": {
  23433. "description": "所属市场ID",
  23434. "type": "integer"
  23435. },
  23436. "picurls": {
  23437. "description": "介绍图片[多张用逗号分隔]",
  23438. "type": "string"
  23439. },
  23440. "quoteminunit": {
  23441. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23442. "type": "integer"
  23443. },
  23444. "stepvalue": {
  23445. "description": "价格最小变动单位",
  23446. "type": "number"
  23447. },
  23448. "trademode": {
  23449. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23450. "type": "integer"
  23451. },
  23452. "vendorattr": {
  23453. "description": "供应商附件(多张,逗号分隔)",
  23454. "type": "string"
  23455. },
  23456. "vendorname": {
  23457. "description": "供应商名称",
  23458. "type": "string"
  23459. },
  23460. "vendorphone": {
  23461. "description": "供应商客服电话",
  23462. "type": "string"
  23463. },
  23464. "videourls": {
  23465. "description": "介绍视频[多张用逗号分隔]",
  23466. "type": "string"
  23467. }
  23468. }
  23469. },
  23470. "models.HsbyMarketGoods": {
  23471. "type": "object",
  23472. "required": [
  23473. "accountid",
  23474. "buyorsell",
  23475. "goodscode",
  23476. "goodsid",
  23477. "goodsname",
  23478. "marketid",
  23479. "orderid",
  23480. "trademode"
  23481. ],
  23482. "properties": {
  23483. "accountid": {
  23484. "description": "账户ID[报价币种]",
  23485. "type": "integer"
  23486. },
  23487. "agreeunit": {
  23488. "description": "合约单位",
  23489. "type": "number"
  23490. },
  23491. "buyorsell": {
  23492. "description": "买卖 - 0:买 1:卖",
  23493. "type": "integer"
  23494. },
  23495. "categoryid": {
  23496. "description": "类别ID(WRCATEGORY)",
  23497. "type": "integer"
  23498. },
  23499. "currency": {
  23500. "description": "货币",
  23501. "type": "string"
  23502. },
  23503. "currencysign": {
  23504. "description": "货币符号",
  23505. "type": "string"
  23506. },
  23507. "customername": {
  23508. "description": "卖家名称",
  23509. "type": "string"
  23510. },
  23511. "decimalplace": {
  23512. "description": "报价小数位",
  23513. "type": "integer"
  23514. },
  23515. "goodscode": {
  23516. "description": "商品代码(内部)",
  23517. "type": "string"
  23518. },
  23519. "goodsid": {
  23520. "description": "商品ID",
  23521. "type": "integer"
  23522. },
  23523. "goodsname": {
  23524. "description": "商品名称",
  23525. "type": "string"
  23526. },
  23527. "goodsprice": {
  23528. "description": "商品价格",
  23529. "type": "number"
  23530. },
  23531. "hascoupon": {
  23532. "description": "是否可用优惠卷",
  23533. "type": "boolean"
  23534. },
  23535. "hotindex": {
  23536. "description": "景点热度",
  23537. "type": "integer"
  23538. },
  23539. "marketid": {
  23540. "description": "市场ID",
  23541. "type": "integer"
  23542. },
  23543. "orderid": {
  23544. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23545. "type": "string"
  23546. },
  23547. "orderprice": {
  23548. "description": "委托价格",
  23549. "type": "number"
  23550. },
  23551. "orderstatus": {
  23552. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23553. "type": "integer"
  23554. },
  23555. "picurls": {
  23556. "description": "介绍图片[多张用逗号分隔]",
  23557. "type": "string"
  23558. },
  23559. "quoteminunit": {
  23560. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23561. "type": "integer"
  23562. },
  23563. "sellUserID": {
  23564. "description": "卖方UserID",
  23565. "type": "integer"
  23566. },
  23567. "trademode": {
  23568. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23569. "type": "integer"
  23570. },
  23571. "videourls": {
  23572. "description": "介绍视频[多张用逗号分隔]",
  23573. "type": "string"
  23574. }
  23575. }
  23576. },
  23577. "models.HsbyMarketGoodsDetail": {
  23578. "type": "object",
  23579. "required": [
  23580. "accountid",
  23581. "buyorsell",
  23582. "goodscode",
  23583. "goodsid",
  23584. "goodsname",
  23585. "marketid",
  23586. "orderid",
  23587. "orderqty",
  23588. "trademode"
  23589. ],
  23590. "properties": {
  23591. "accountid": {
  23592. "description": "账户ID[报价币种]",
  23593. "type": "integer"
  23594. },
  23595. "agreeunit": {
  23596. "description": "合约单位",
  23597. "type": "number"
  23598. },
  23599. "buymaxqty": {
  23600. "description": "购买上限 [71] - 0为不限",
  23601. "type": "integer"
  23602. },
  23603. "buyorsell": {
  23604. "description": "买卖 - 0:买 1:卖",
  23605. "type": "integer"
  23606. },
  23607. "cancelqty": {
  23608. "description": "撤单数量",
  23609. "type": "integer"
  23610. },
  23611. "categoryid": {
  23612. "description": "类别ID(WRCATEGORY)",
  23613. "type": "integer"
  23614. },
  23615. "currency": {
  23616. "description": "货币",
  23617. "type": "string"
  23618. },
  23619. "currencysign": {
  23620. "description": "货币符号",
  23621. "type": "string"
  23622. },
  23623. "customername": {
  23624. "description": "卖家名称",
  23625. "type": "string"
  23626. },
  23627. "decimalplace": {
  23628. "description": "报价小数位",
  23629. "type": "integer"
  23630. },
  23631. "goodscode": {
  23632. "description": "商品代码(内部)",
  23633. "type": "string"
  23634. },
  23635. "goodsdesc": {
  23636. "description": "商品详情",
  23637. "type": "string"
  23638. },
  23639. "goodsid": {
  23640. "description": "商品ID",
  23641. "type": "integer"
  23642. },
  23643. "goodsname": {
  23644. "description": "商品名称",
  23645. "type": "string"
  23646. },
  23647. "goodsprice": {
  23648. "description": "商品价格",
  23649. "type": "number"
  23650. },
  23651. "hotindex": {
  23652. "description": "景点热度",
  23653. "type": "integer"
  23654. },
  23655. "lotsize": {
  23656. "description": "手数最小变动单位",
  23657. "type": "integer"
  23658. },
  23659. "marketid": {
  23660. "description": "市场ID",
  23661. "type": "integer"
  23662. },
  23663. "orderid": {
  23664. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23665. "type": "string"
  23666. },
  23667. "orderprice": {
  23668. "description": "委托价格",
  23669. "type": "number"
  23670. },
  23671. "orderqty": {
  23672. "description": "委托数量",
  23673. "type": "integer"
  23674. },
  23675. "orderstatus": {
  23676. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23677. "type": "integer"
  23678. },
  23679. "picurls": {
  23680. "description": "介绍图片[多张用逗号分隔]",
  23681. "type": "string"
  23682. },
  23683. "quoteminunit": {
  23684. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23685. "type": "integer"
  23686. },
  23687. "sellUserID": {
  23688. "description": "卖方UserID",
  23689. "type": "integer"
  23690. },
  23691. "trademode": {
  23692. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23693. "type": "integer"
  23694. },
  23695. "tradeqty": {
  23696. "description": "成交数量",
  23697. "type": "integer"
  23698. },
  23699. "vendorattr": {
  23700. "description": "供应商附件(多张,逗号分隔)",
  23701. "type": "string"
  23702. },
  23703. "vendorname": {
  23704. "description": "供应商名称",
  23705. "type": "string"
  23706. },
  23707. "vendorphone": {
  23708. "description": "供应商客服电话",
  23709. "type": "string"
  23710. },
  23711. "videourls": {
  23712. "description": "介绍视频[多张用逗号分隔]",
  23713. "type": "string"
  23714. }
  23715. }
  23716. },
  23717. "models.HsbyMarketInfo": {
  23718. "type": "object",
  23719. "required": [
  23720. "marketid",
  23721. "marketstatus",
  23722. "trademode"
  23723. ],
  23724. "properties": {
  23725. "marketid": {
  23726. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23727. "type": "integer"
  23728. },
  23729. "marketname": {
  23730. "description": "市场名称",
  23731. "type": "string"
  23732. },
  23733. "marketstatus": {
  23734. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23735. "type": "integer"
  23736. },
  23737. "trademode": {
  23738. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23739. "type": "integer"
  23740. }
  23741. }
  23742. },
  23743. "models.HsbyMyGoods": {
  23744. "type": "object",
  23745. "required": [
  23746. "accountid",
  23747. "goodscode",
  23748. "goodsid",
  23749. "goodsname",
  23750. "marketid",
  23751. "trademode"
  23752. ],
  23753. "properties": {
  23754. "accountid": {
  23755. "description": "账号Id",
  23756. "type": "integer"
  23757. },
  23758. "agreeunit": {
  23759. "description": "合约单位",
  23760. "type": "number"
  23761. },
  23762. "buyaverageprice": {
  23763. "description": "持仓均价",
  23764. "type": "number"
  23765. },
  23766. "buycurholderamount": {
  23767. "description": "买当前持仓总金额[商品币种]",
  23768. "type": "number"
  23769. },
  23770. "buycurpositionqty": {
  23771. "description": "买当前持仓总数量",
  23772. "type": "integer"
  23773. },
  23774. "buymaxqty": {
  23775. "description": "购买上限 [71] - 0为不限",
  23776. "type": "integer"
  23777. },
  23778. "currencysign": {
  23779. "description": "货币符号",
  23780. "type": "string"
  23781. },
  23782. "decimalplace": {
  23783. "description": "报价小数位",
  23784. "type": "integer"
  23785. },
  23786. "enableqty": {
  23787. "description": "可用数量",
  23788. "type": "integer"
  23789. },
  23790. "goodscode": {
  23791. "description": "商品代码(内部)",
  23792. "type": "string"
  23793. },
  23794. "goodsid": {
  23795. "description": "商品Id",
  23796. "type": "integer"
  23797. },
  23798. "goodsname": {
  23799. "description": "商品名称",
  23800. "type": "string"
  23801. },
  23802. "goodsprice": {
  23803. "description": "商品价格",
  23804. "type": "number"
  23805. },
  23806. "goodsstatus": {
  23807. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23808. "type": "integer"
  23809. },
  23810. "last": {
  23811. "description": "现价(仅使用于挂牌点选)",
  23812. "type": "number"
  23813. },
  23814. "limitdown": {
  23815. "description": "跌停价(仅使用于挂牌点选)",
  23816. "type": "number"
  23817. },
  23818. "limitup": {
  23819. "description": "涨停价(仅使用于挂牌点选)",
  23820. "type": "number"
  23821. },
  23822. "lotsize": {
  23823. "description": "手数最小变动单位",
  23824. "type": "integer"
  23825. },
  23826. "marketid": {
  23827. "description": "所属市场ID",
  23828. "type": "integer"
  23829. },
  23830. "picurls": {
  23831. "description": "介绍图片[多张用逗号分隔]",
  23832. "type": "string"
  23833. },
  23834. "quoteminunit": {
  23835. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23836. "type": "integer"
  23837. },
  23838. "stepvalue": {
  23839. "description": "价格最小变动单位",
  23840. "type": "number"
  23841. },
  23842. "trademode": {
  23843. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23844. "type": "integer"
  23845. }
  23846. }
  23847. },
  23848. "models.HsbyMyPackage": {
  23849. "type": "object",
  23850. "required": [
  23851. "goodscode",
  23852. "goodsname",
  23853. "takeorderid",
  23854. "trademode"
  23855. ],
  23856. "properties": {
  23857. "accountid": {
  23858. "description": "账户ID",
  23859. "type": "integer"
  23860. },
  23861. "address": {
  23862. "description": "提货人详细地址",
  23863. "type": "string"
  23864. },
  23865. "agreeunit": {
  23866. "description": "合约单位",
  23867. "type": "number"
  23868. },
  23869. "amount": {
  23870. "description": "提货金额",
  23871. "type": "number"
  23872. },
  23873. "auditer": {
  23874. "description": "审核人",
  23875. "type": "integer"
  23876. },
  23877. "audittime": {
  23878. "description": "审核时间",
  23879. "type": "string"
  23880. },
  23881. "averageprice": {
  23882. "description": "均价",
  23883. "type": "number"
  23884. },
  23885. "cardnum": {
  23886. "description": "提货人证件号码",
  23887. "type": "string"
  23888. },
  23889. "cardtypeid": {
  23890. "description": "提货人证件类型",
  23891. "type": "integer"
  23892. },
  23893. "checkremark": {
  23894. "description": "审核备注",
  23895. "type": "string"
  23896. },
  23897. "currencysign": {
  23898. "description": "货币符号",
  23899. "type": "string"
  23900. },
  23901. "decimalplace": {
  23902. "description": "报价小数位",
  23903. "type": "integer"
  23904. },
  23905. "goodscode": {
  23906. "description": "商品代码(内部)",
  23907. "type": "string"
  23908. },
  23909. "goodsid": {
  23910. "description": "商品ID",
  23911. "type": "integer"
  23912. },
  23913. "goodsname": {
  23914. "description": "商品名称",
  23915. "type": "string"
  23916. },
  23917. "handlestatus": {
  23918. "description": "处理状态",
  23919. "type": "integer"
  23920. },
  23921. "marketid": {
  23922. "description": "市场ID",
  23923. "type": "integer"
  23924. },
  23925. "phonenum": {
  23926. "description": "提货人联系方式",
  23927. "type": "string"
  23928. },
  23929. "picurls": {
  23930. "description": "介绍图片[多张用逗号分隔]",
  23931. "type": "string"
  23932. },
  23933. "qty": {
  23934. "description": "提货数量",
  23935. "type": "number"
  23936. },
  23937. "recivername": {
  23938. "description": "提货人姓名",
  23939. "type": "string"
  23940. },
  23941. "reqtime": {
  23942. "description": "更新时间",
  23943. "type": "string"
  23944. },
  23945. "takemode": {
  23946. "description": "提货方式 - 2:自提 3:配送",
  23947. "type": "integer"
  23948. },
  23949. "takeorderid": {
  23950. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23951. "type": "string"
  23952. },
  23953. "takeorderstatus": {
  23954. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23955. "type": "integer"
  23956. },
  23957. "takeremark": {
  23958. "description": "提货备注",
  23959. "type": "string"
  23960. },
  23961. "tradedate": {
  23962. "description": "交易日(yyyyMMdd)",
  23963. "type": "string"
  23964. },
  23965. "trademode": {
  23966. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23967. "type": "integer"
  23968. },
  23969. "userid": {
  23970. "description": "用户ID",
  23971. "type": "integer"
  23972. },
  23973. "vendorname": {
  23974. "description": "供应商名称",
  23975. "type": "string"
  23976. }
  23977. }
  23978. },
  23979. "models.HsbyPreGoods": {
  23980. "type": "object",
  23981. "required": [
  23982. "goodscode",
  23983. "goodsid",
  23984. "goodsname",
  23985. "marketid",
  23986. "trademode"
  23987. ],
  23988. "properties": {
  23989. "agreeunit": {
  23990. "description": "合约单位",
  23991. "type": "number"
  23992. },
  23993. "currency": {
  23994. "description": "货币",
  23995. "type": "string"
  23996. },
  23997. "currencysign": {
  23998. "description": "货币符号",
  23999. "type": "string"
  24000. },
  24001. "decimalplace": {
  24002. "description": "报价小数位",
  24003. "type": "integer"
  24004. },
  24005. "desccityid": {
  24006. "description": "目的地(市)",
  24007. "type": "integer"
  24008. },
  24009. "descprovinceid": {
  24010. "description": "目的地(省)",
  24011. "type": "integer"
  24012. },
  24013. "enableqty": {
  24014. "description": "剩余数量",
  24015. "type": "integer"
  24016. },
  24017. "goodscode": {
  24018. "description": "商品代码(内部)",
  24019. "type": "string"
  24020. },
  24021. "goodsid": {
  24022. "description": "商品ID(自增ID SEQ_GOODS)",
  24023. "type": "integer"
  24024. },
  24025. "goodsname": {
  24026. "description": "商品名称",
  24027. "type": "string"
  24028. },
  24029. "goodsstatus": {
  24030. "description": "商品状态- 2:未上市 3:上市",
  24031. "type": "integer"
  24032. },
  24033. "lasttradedate": {
  24034. "description": "最后交易日期(状态:待退市)",
  24035. "type": "string"
  24036. },
  24037. "listingdate": {
  24038. "description": "交易开始日期",
  24039. "type": "string"
  24040. },
  24041. "marketid": {
  24042. "description": "所属市场ID",
  24043. "type": "integer"
  24044. },
  24045. "picurls": {
  24046. "description": "介绍图片[多张用逗号分隔]",
  24047. "type": "string"
  24048. },
  24049. "presaledqty": {
  24050. "description": "已预售量(预售结束时更新)",
  24051. "type": "integer"
  24052. },
  24053. "presaleqty": {
  24054. "description": "预售数量",
  24055. "type": "integer"
  24056. },
  24057. "quoteminunit": {
  24058. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24059. "type": "integer"
  24060. },
  24061. "refprice": {
  24062. "description": "参考价格[一口价]",
  24063. "type": "number"
  24064. },
  24065. "relatedgoodsid": {
  24066. "description": "关联交易合约ID",
  24067. "type": "integer"
  24068. },
  24069. "trademode": {
  24070. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24071. "type": "integer"
  24072. },
  24073. "videourls": {
  24074. "description": "介绍视频[多张用逗号分隔]",
  24075. "type": "string"
  24076. }
  24077. }
  24078. },
  24079. "models.HsbyPreGoodsDetail": {
  24080. "type": "object",
  24081. "required": [
  24082. "goodscode",
  24083. "goodsid",
  24084. "goodsname",
  24085. "marketid",
  24086. "trademode"
  24087. ],
  24088. "properties": {
  24089. "agreeunit": {
  24090. "description": "合约单位",
  24091. "type": "number"
  24092. },
  24093. "buymaxqty": {
  24094. "description": "购买上限 [71] - 0为不限",
  24095. "type": "integer"
  24096. },
  24097. "currency": {
  24098. "description": "货币",
  24099. "type": "string"
  24100. },
  24101. "currencysign": {
  24102. "description": "货币符号",
  24103. "type": "string"
  24104. },
  24105. "customername": {
  24106. "description": "发行单位",
  24107. "type": "string"
  24108. },
  24109. "decimalplace": {
  24110. "description": "报价小数位",
  24111. "type": "integer"
  24112. },
  24113. "desccityid": {
  24114. "description": "目的地(市)ID",
  24115. "type": "integer"
  24116. },
  24117. "descprovinceid": {
  24118. "description": "目的地(省)ID",
  24119. "type": "integer"
  24120. },
  24121. "enableqty": {
  24122. "description": "剩余数量",
  24123. "type": "integer"
  24124. },
  24125. "goodscode": {
  24126. "description": "商品代码(内部)",
  24127. "type": "string"
  24128. },
  24129. "goodsdesc": {
  24130. "description": "商品详情",
  24131. "type": "string"
  24132. },
  24133. "goodsid": {
  24134. "description": "商品ID(自增ID SEQ_GOODS)",
  24135. "type": "integer"
  24136. },
  24137. "goodsname": {
  24138. "description": "商品名称",
  24139. "type": "string"
  24140. },
  24141. "goodsstatus": {
  24142. "description": "商品状态- 2:未上市 3:上市",
  24143. "type": "integer"
  24144. },
  24145. "goodunit": {
  24146. "description": "报价单位",
  24147. "type": "string"
  24148. },
  24149. "lasttradedate": {
  24150. "description": "最后交易日期(状态:待退市)",
  24151. "type": "string"
  24152. },
  24153. "listingdate": {
  24154. "description": "交易开始日期",
  24155. "type": "string"
  24156. },
  24157. "lotsize": {
  24158. "description": "手数最小变动单位",
  24159. "type": "integer"
  24160. },
  24161. "marketid": {
  24162. "description": "所属市场ID",
  24163. "type": "integer"
  24164. },
  24165. "picurls": {
  24166. "description": "介绍图片[多张用逗号分隔]",
  24167. "type": "string"
  24168. },
  24169. "presaledqty": {
  24170. "description": "已预售量(预售结束时更新)",
  24171. "type": "integer"
  24172. },
  24173. "presaleqty": {
  24174. "description": "预售数量",
  24175. "type": "integer"
  24176. },
  24177. "quoteminunit": {
  24178. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24179. "type": "integer"
  24180. },
  24181. "refprice": {
  24182. "description": "参考价格[一口价]",
  24183. "type": "number"
  24184. },
  24185. "relatedgoodsid": {
  24186. "description": "关联交易合约ID",
  24187. "type": "integer"
  24188. },
  24189. "stepvalue": {
  24190. "description": "价格最小变动单位",
  24191. "type": "number"
  24192. },
  24193. "trademode": {
  24194. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24195. "type": "integer"
  24196. },
  24197. "vendorattr": {
  24198. "description": "供应商附件(多张,逗号分隔)",
  24199. "type": "string"
  24200. },
  24201. "vendorname": {
  24202. "description": "供应商名称",
  24203. "type": "string"
  24204. },
  24205. "vendorphone": {
  24206. "description": "供应商客服电话",
  24207. "type": "string"
  24208. },
  24209. "videourls": {
  24210. "description": "介绍视频[多张用逗号分隔]",
  24211. "type": "string"
  24212. }
  24213. }
  24214. },
  24215. "models.HsbySellCollectionOrder": {
  24216. "type": "object",
  24217. "required": [
  24218. "goodscode",
  24219. "goodsname",
  24220. "tradeid",
  24221. "trademode"
  24222. ],
  24223. "properties": {
  24224. "agreeunit": {
  24225. "description": "合约单位",
  24226. "type": "number"
  24227. },
  24228. "buyaccountid": {
  24229. "description": "买方账号ID[报价币种]",
  24230. "type": "integer"
  24231. },
  24232. "buyorderid": {
  24233. "description": "买方委托单号",
  24234. "type": "string"
  24235. },
  24236. "createtime": {
  24237. "description": "创建时间",
  24238. "type": "string"
  24239. },
  24240. "currencysign": {
  24241. "description": "货币符号",
  24242. "type": "string"
  24243. },
  24244. "decimalplace": {
  24245. "description": "报价小数位",
  24246. "type": "integer"
  24247. },
  24248. "goodscode": {
  24249. "description": "商品代码(内部)",
  24250. "type": "string"
  24251. },
  24252. "goodsid": {
  24253. "description": "商品ID",
  24254. "type": "integer"
  24255. },
  24256. "goodsname": {
  24257. "description": "商品名称",
  24258. "type": "string"
  24259. },
  24260. "marketid": {
  24261. "description": "市场ID",
  24262. "type": "integer"
  24263. },
  24264. "offamount": {
  24265. "description": "优惠金额",
  24266. "type": "number"
  24267. },
  24268. "payamount": {
  24269. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24270. "type": "number"
  24271. },
  24272. "payflag": {
  24273. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24274. "type": "integer"
  24275. },
  24276. "paylimitedtime": {
  24277. "description": "支付期限",
  24278. "type": "string"
  24279. },
  24280. "paytime": {
  24281. "description": "付款时间",
  24282. "type": "string"
  24283. },
  24284. "picurls": {
  24285. "description": "商品介绍图片[多张用逗号分隔]",
  24286. "type": "string"
  24287. },
  24288. "sellaccountid": {
  24289. "description": "卖方账号ID[报价币种]",
  24290. "type": "integer"
  24291. },
  24292. "sellorderid": {
  24293. "description": "卖方委托单号",
  24294. "type": "string"
  24295. },
  24296. "tradeamount": {
  24297. "description": "成交金额",
  24298. "type": "number"
  24299. },
  24300. "tradecharge": {
  24301. "description": "成交手续费(买方)",
  24302. "type": "number"
  24303. },
  24304. "tradedate": {
  24305. "description": "交易日(yyyyMMdd)",
  24306. "type": "string"
  24307. },
  24308. "tradeid": {
  24309. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24310. "type": "string"
  24311. },
  24312. "trademode": {
  24313. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24314. "type": "integer"
  24315. },
  24316. "tradeprice": {
  24317. "description": "成交价格",
  24318. "type": "number"
  24319. },
  24320. "tradeqty": {
  24321. "description": "成交数量",
  24322. "type": "integer"
  24323. }
  24324. }
  24325. },
  24326. "models.HsbySellMyDetail": {
  24327. "type": "object",
  24328. "required": [
  24329. "accountid",
  24330. "buyorsell",
  24331. "goodscode",
  24332. "goodsid",
  24333. "goodsname",
  24334. "marketid",
  24335. "orderid",
  24336. "time",
  24337. "trademode"
  24338. ],
  24339. "properties": {
  24340. "accountid": {
  24341. "description": "账户ID[报价币种]",
  24342. "type": "integer"
  24343. },
  24344. "agreeunit": {
  24345. "description": "合约单位",
  24346. "type": "number"
  24347. },
  24348. "buyorsell": {
  24349. "description": "买卖 - 0:买 1:卖",
  24350. "type": "integer"
  24351. },
  24352. "currencysign": {
  24353. "description": "货币符号",
  24354. "type": "string"
  24355. },
  24356. "decimalplace": {
  24357. "description": "报价小数位",
  24358. "type": "integer"
  24359. },
  24360. "goodscode": {
  24361. "description": "商品代码(内部)",
  24362. "type": "string"
  24363. },
  24364. "goodsid": {
  24365. "description": "商品ID",
  24366. "type": "integer"
  24367. },
  24368. "goodsname": {
  24369. "description": "商品名称",
  24370. "type": "string"
  24371. },
  24372. "marketid": {
  24373. "description": "市场ID",
  24374. "type": "integer"
  24375. },
  24376. "orderid": {
  24377. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24378. "type": "string"
  24379. },
  24380. "ordertype": {
  24381. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24382. "type": "integer"
  24383. },
  24384. "picurls": {
  24385. "description": "介绍图片[多张用逗号分隔]",
  24386. "type": "string"
  24387. },
  24388. "price": {
  24389. "description": "价格",
  24390. "type": "number"
  24391. },
  24392. "qty": {
  24393. "description": "数量",
  24394. "type": "integer"
  24395. },
  24396. "time": {
  24397. "description": "时间",
  24398. "type": "string"
  24399. },
  24400. "trademode": {
  24401. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24402. "type": "integer"
  24403. },
  24404. "vendorname": {
  24405. "description": "供应商名称",
  24406. "type": "string"
  24407. }
  24408. }
  24409. },
  24410. "models.HsbyTopGoods": {
  24411. "type": "object",
  24412. "required": [
  24413. "goodscode",
  24414. "goodsid",
  24415. "goodsname",
  24416. "marketid",
  24417. "trademode"
  24418. ],
  24419. "properties": {
  24420. "agreeunit": {
  24421. "description": "合约单位",
  24422. "type": "number"
  24423. },
  24424. "currency": {
  24425. "description": "货币",
  24426. "type": "string"
  24427. },
  24428. "currencysign": {
  24429. "description": "货币符号",
  24430. "type": "string"
  24431. },
  24432. "decimalplace": {
  24433. "description": "报价小数位",
  24434. "type": "integer"
  24435. },
  24436. "desccityid": {
  24437. "description": "目的地(市)",
  24438. "type": "integer"
  24439. },
  24440. "descprovinceid": {
  24441. "description": "目的地(省)",
  24442. "type": "integer"
  24443. },
  24444. "goodscode": {
  24445. "description": "商品代码(内部)",
  24446. "type": "string"
  24447. },
  24448. "goodsid": {
  24449. "description": "商品ID(自增ID SEQ_GOODS)",
  24450. "type": "integer"
  24451. },
  24452. "goodsname": {
  24453. "description": "商品名称",
  24454. "type": "string"
  24455. },
  24456. "hotindex": {
  24457. "description": "景点热度",
  24458. "type": "integer"
  24459. },
  24460. "last": {
  24461. "description": "现价",
  24462. "type": "number"
  24463. },
  24464. "marketid": {
  24465. "description": "所属市场ID",
  24466. "type": "integer"
  24467. },
  24468. "picurls": {
  24469. "description": "介绍图片[多张用逗号分隔]",
  24470. "type": "string"
  24471. },
  24472. "quoteminunit": {
  24473. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24474. "type": "integer"
  24475. },
  24476. "trademode": {
  24477. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24478. "type": "integer"
  24479. },
  24480. "videourls": {
  24481. "description": "介绍视频[多张用逗号分隔]",
  24482. "type": "string"
  24483. }
  24484. }
  24485. },
  24486. "models.HybsMyBuyOrderDetail": {
  24487. "type": "object",
  24488. "required": [
  24489. "accountid",
  24490. "buyorsell",
  24491. "goodscode",
  24492. "goodsid",
  24493. "goodsname",
  24494. "marketid",
  24495. "orderid",
  24496. "orderqty",
  24497. "ordertime",
  24498. "trademode"
  24499. ],
  24500. "properties": {
  24501. "accountid": {
  24502. "description": "账户ID[报价币种]",
  24503. "type": "integer"
  24504. },
  24505. "agreeunit": {
  24506. "description": "合约单位",
  24507. "type": "number"
  24508. },
  24509. "buyorsell": {
  24510. "description": "买卖 - 0:买 1:卖",
  24511. "type": "integer"
  24512. },
  24513. "cancelqty": {
  24514. "description": "撤单数量",
  24515. "type": "integer"
  24516. },
  24517. "currencysign": {
  24518. "description": "货币符号",
  24519. "type": "string"
  24520. },
  24521. "decimalplace": {
  24522. "description": "报价小数位",
  24523. "type": "integer"
  24524. },
  24525. "goodscode": {
  24526. "description": "商品代码(内部)",
  24527. "type": "string"
  24528. },
  24529. "goodsid": {
  24530. "description": "商品ID",
  24531. "type": "integer"
  24532. },
  24533. "goodsname": {
  24534. "description": "商品名称",
  24535. "type": "string"
  24536. },
  24537. "listingselecttype": {
  24538. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24539. "type": "integer"
  24540. },
  24541. "marketid": {
  24542. "description": "市场ID",
  24543. "type": "integer"
  24544. },
  24545. "mybuystatus": {
  24546. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24547. "type": "integer"
  24548. },
  24549. "orderamount": {
  24550. "description": "委托金额",
  24551. "type": "number"
  24552. },
  24553. "orderid": {
  24554. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24555. "type": "string"
  24556. },
  24557. "orderprice": {
  24558. "description": "委托价格",
  24559. "type": "number"
  24560. },
  24561. "orderqty": {
  24562. "description": "委托数量",
  24563. "type": "integer"
  24564. },
  24565. "orderstatus": {
  24566. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24567. "type": "integer"
  24568. },
  24569. "ordertime": {
  24570. "description": "委托时间",
  24571. "type": "string"
  24572. },
  24573. "picurls1": {
  24574. "description": "预售商品介绍图片[多张用逗号分隔]",
  24575. "type": "string"
  24576. },
  24577. "picurls2": {
  24578. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24579. "type": "string"
  24580. },
  24581. "trademode": {
  24582. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24583. "type": "integer"
  24584. },
  24585. "tradeqty": {
  24586. "description": "成交数量",
  24587. "type": "integer"
  24588. },
  24589. "vendorname1": {
  24590. "description": "预售商品供应商名称",
  24591. "type": "string"
  24592. },
  24593. "vendorname2": {
  24594. "description": "挂牌商品供应商名称",
  24595. "type": "string"
  24596. }
  24597. }
  24598. },
  24599. "models.Loginaccount": {
  24600. "type": "object",
  24601. "required": [
  24602. "loginid"
  24603. ],
  24604. "properties": {
  24605. "accountname": {
  24606. "description": "账户名称",
  24607. "type": "string"
  24608. },
  24609. "canoutin": {
  24610. "description": "是否可出入金 - 0:不可 1:可",
  24611. "type": "integer"
  24612. },
  24613. "clientroleid": {
  24614. "description": "终端角色ID",
  24615. "type": "integer"
  24616. },
  24617. "haslogined": {
  24618. "description": "是否已登录 - 0:未登录 1:已登录",
  24619. "type": "integer"
  24620. },
  24621. "hasupdatedpwd": {
  24622. "description": "是否已更改密码 - 0:未修改 1:已修改",
  24623. "type": "integer"
  24624. },
  24625. "lastloginip": {
  24626. "description": "最新登录地址",
  24627. "type": "string"
  24628. },
  24629. "lastloginmode": {
  24630. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24631. "type": "integer"
  24632. },
  24633. "lastloginremark": {
  24634. "description": "最新登录描述",
  24635. "type": "string"
  24636. },
  24637. "lastlogintime": {
  24638. "description": "最新登录时间",
  24639. "type": "string"
  24640. },
  24641. "logincode": {
  24642. "description": "登录代码",
  24643. "type": "string"
  24644. },
  24645. "loginfailnum": {
  24646. "description": "连续登录失败次数(登录成功时清零)",
  24647. "type": "integer"
  24648. },
  24649. "loginid": {
  24650. "description": "登陆账号",
  24651. "type": "integer"
  24652. },
  24653. "loginport": {
  24654. "description": "最新登录端口",
  24655. "type": "integer"
  24656. },
  24657. "loginstatus": {
  24658. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  24659. "type": "integer"
  24660. },
  24661. "loginusertype": {
  24662. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  24663. "type": "integer"
  24664. },
  24665. "mobile": {
  24666. "description": "手机号码(加密存储)",
  24667. "type": "string"
  24668. },
  24669. "modifierid": {
  24670. "description": "修改人",
  24671. "type": "integer"
  24672. },
  24673. "modifysrc": {
  24674. "description": "审核来源 - 1:管理端 2:终端",
  24675. "type": "integer"
  24676. },
  24677. "modifytime": {
  24678. "description": "修改时间",
  24679. "type": "string"
  24680. },
  24681. "password": {
  24682. "description": "登陆密码",
  24683. "type": "string"
  24684. },
  24685. "pwdwrongcount": {
  24686. "description": "密码错误次数",
  24687. "type": "integer"
  24688. },
  24689. "relateduserid": {
  24690. "description": "关联用户ID(机构)",
  24691. "type": "integer"
  24692. },
  24693. "taaccountrighttype": {
  24694. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  24695. "type": "integer"
  24696. },
  24697. "unfreezetime": {
  24698. "description": "账户解冻时间",
  24699. "type": "string"
  24700. },
  24701. "userid": {
  24702. "description": "用户ID",
  24703. "type": "integer"
  24704. }
  24705. }
  24706. },
  24707. "models.MainAccountInfo": {
  24708. "type": "object",
  24709. "properties": {
  24710. "accountid": {
  24711. "description": "账号id",
  24712. "type": "integer"
  24713. },
  24714. "accountname": {
  24715. "description": "账号名称(taaccount表中的名称)",
  24716. "type": "string"
  24717. },
  24718. "appid": {
  24719. "description": "AppID",
  24720. "type": "string"
  24721. },
  24722. "authcode": {
  24723. "description": "授权码",
  24724. "type": "string"
  24725. },
  24726. "brokerid": {
  24727. "description": "经纪商id",
  24728. "type": "string"
  24729. },
  24730. "fcid": {
  24731. "description": "期货公司id",
  24732. "type": "integer"
  24733. },
  24734. "fcname": {
  24735. "description": "期货公司代码",
  24736. "type": "string"
  24737. },
  24738. "hedgeaccountcode": {
  24739. "description": "外部账号代码(主账号登录代码)",
  24740. "type": "string"
  24741. },
  24742. "hedgeaccountpwd": {
  24743. "description": "密码",
  24744. "type": "string"
  24745. },
  24746. "ismain": {
  24747. "description": "是否主账号",
  24748. "type": "integer"
  24749. },
  24750. "relateduserid": {
  24751. "description": "关联用户id",
  24752. "type": "integer"
  24753. },
  24754. "userid": {
  24755. "description": "关联用户id",
  24756. "type": "integer"
  24757. }
  24758. }
  24759. },
  24760. "models.Market": {
  24761. "type": "object",
  24762. "required": [
  24763. "marketid",
  24764. "marketstatus",
  24765. "openmethod",
  24766. "reckonpricealgorithm",
  24767. "trademode",
  24768. "tradeproperty"
  24769. ],
  24770. "properties": {
  24771. "auctionwrtype": {
  24772. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  24773. "type": "integer"
  24774. },
  24775. "canacceptquote": {
  24776. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  24777. "type": "integer"
  24778. },
  24779. "cangoodsexercise": {
  24780. "description": "[期权]是否可现货行权- 0:否 1:是",
  24781. "type": "integer"
  24782. },
  24783. "cangoodsexercisetype": {
  24784. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  24785. "type": "integer"
  24786. },
  24787. "canmanualquotestrike": {
  24788. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  24789. "type": "integer"
  24790. },
  24791. "canmutistage": {
  24792. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  24793. "type": "integer"
  24794. },
  24795. "canpreexercise": {
  24796. "description": "[期权]是否可预申报- 0:否 1:是",
  24797. "type": "integer"
  24798. },
  24799. "clearinterval": {
  24800. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  24801. "type": "integer"
  24802. },
  24803. "contracttmp": {
  24804. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  24805. "type": "string"
  24806. },
  24807. "exchareaid": {
  24808. "description": "所属交易所,可以没有",
  24809. "type": "integer"
  24810. },
  24811. "goodstype": {
  24812. "description": "商品类型 - 1:交易商品 2:仓单商品",
  24813. "type": "integer"
  24814. },
  24815. "hasrebate": {
  24816. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  24817. "type": "integer"
  24818. },
  24819. "hastradecredit": {
  24820. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  24821. "type": "integer"
  24822. },
  24823. "haswr": {
  24824. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  24825. "type": "integer"
  24826. },
  24827. "isdeductmargin": {
  24828. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  24829. "type": "integer"
  24830. },
  24831. "isrecordsource": {
  24832. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  24833. "type": "integer"
  24834. },
  24835. "isreleasemargin": {
  24836. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  24837. "type": "integer"
  24838. },
  24839. "marginformula": {
  24840. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24841. "type": "integer"
  24842. },
  24843. "marginformula2": {
  24844. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24845. "type": "integer"
  24846. },
  24847. "marketid": {
  24848. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24849. "type": "integer"
  24850. },
  24851. "marketname": {
  24852. "description": "市场名称",
  24853. "type": "string"
  24854. },
  24855. "marketserviceid": {
  24856. "description": "市场服务ID",
  24857. "type": "integer"
  24858. },
  24859. "marketstatus": {
  24860. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24861. "type": "integer"
  24862. },
  24863. "markettype": {
  24864. "description": "市场类型- 1:非交易服务 2:交易服务",
  24865. "type": "integer"
  24866. },
  24867. "matchermode": {
  24868. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  24869. "type": "integer"
  24870. },
  24871. "openmethod": {
  24872. "description": "开盘模式 - 0 自动 1手动",
  24873. "type": "integer"
  24874. },
  24875. "otcuserid": {
  24876. "description": "场外期权做市商[场外期权]",
  24877. "type": "integer"
  24878. },
  24879. "outersynctime": {
  24880. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  24881. "type": "string"
  24882. },
  24883. "pendingflag": {
  24884. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  24885. "type": "integer"
  24886. },
  24887. "pendingtime": {
  24888. "description": "待开市时间[通道交易-对冲](HH:mm)",
  24889. "type": "string"
  24890. },
  24891. "performancetempid": {
  24892. "description": "履约计划模板ID - 作废",
  24893. "type": "integer"
  24894. },
  24895. "premiumquotemode": {
  24896. "description": "权利金报价方式 - 1:自动 2:手动",
  24897. "type": "integer"
  24898. },
  24899. "rebateratio": {
  24900. "description": "返利比率[竞价式]",
  24901. "type": "number"
  24902. },
  24903. "reckonorder": {
  24904. "description": "结算顺序",
  24905. "type": "integer"
  24906. },
  24907. "reckonpricealgorithm": {
  24908. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  24909. "type": "integer"
  24910. },
  24911. "reckonpriceparam": {
  24912. "description": "结算价参数",
  24913. "type": "integer"
  24914. },
  24915. "reckontime": {
  24916. "description": "结算时间[通道交易-对冲](HH:mm)",
  24917. "type": "string"
  24918. },
  24919. "roleprioritytype": {
  24920. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  24921. "type": "integer"
  24922. },
  24923. "selllistingauditflag": {
  24924. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24925. "type": "integer"
  24926. },
  24927. "trademarkettype": {
  24928. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24929. "type": "integer"
  24930. },
  24931. "trademode": {
  24932. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24933. "type": "integer"
  24934. },
  24935. "tradeproperty": {
  24936. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24937. "type": "integer"
  24938. },
  24939. "tradetype": {
  24940. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24941. "type": "integer"
  24942. }
  24943. }
  24944. },
  24945. "models.Marketrun": {
  24946. "type": "object",
  24947. "required": [
  24948. "marketid",
  24949. "nexttradedate",
  24950. "reckonflag",
  24951. "runstatus",
  24952. "tradedate",
  24953. "tradedate2"
  24954. ],
  24955. "properties": {
  24956. "afternexttradedate": {
  24957. "description": "下下交易日",
  24958. "type": "string"
  24959. },
  24960. "clearquoteflag": {
  24961. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24962. "type": "integer"
  24963. },
  24964. "lastreckondate": {
  24965. "description": "最新交易日(结算成功)",
  24966. "type": "string"
  24967. },
  24968. "machinedate": {
  24969. "description": "机器时间",
  24970. "type": "string"
  24971. },
  24972. "manualflag": {
  24973. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24974. "type": "integer"
  24975. },
  24976. "marketid": {
  24977. "description": "市场ID",
  24978. "type": "integer"
  24979. },
  24980. "nexttradedate": {
  24981. "description": "下一交易日",
  24982. "type": "string"
  24983. },
  24984. "pretradedate": {
  24985. "description": "上一交易日",
  24986. "type": "string"
  24987. },
  24988. "reckonflag": {
  24989. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24990. "type": "integer"
  24991. },
  24992. "runstatus": {
  24993. "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.今日免清算",
  24994. "type": "integer"
  24995. },
  24996. "sectionid": {
  24997. "description": "时间段号[多时段时用]",
  24998. "type": "integer"
  24999. },
  25000. "tradedate": {
  25001. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25002. "type": "string"
  25003. },
  25004. "tradedate2": {
  25005. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25006. "type": "string"
  25007. },
  25008. "updatetime": {
  25009. "description": "更新时间",
  25010. "type": "string"
  25011. }
  25012. }
  25013. },
  25014. "models.Messageboard": {
  25015. "type": "object",
  25016. "required": [
  25017. "messageboardid"
  25018. ],
  25019. "properties": {
  25020. "contactnum": {
  25021. "description": "联系电话",
  25022. "type": "string"
  25023. },
  25024. "createtime": {
  25025. "description": "创建时间",
  25026. "type": "string"
  25027. },
  25028. "message": {
  25029. "description": "留言信息",
  25030. "type": "string"
  25031. },
  25032. "messageboardid": {
  25033. "description": "留言簿ID(SEQ_MessageBoard)",
  25034. "type": "integer"
  25035. },
  25036. "userid": {
  25037. "description": "用户ID",
  25038. "type": "integer"
  25039. }
  25040. }
  25041. },
  25042. "models.MyCoupon": {
  25043. "type": "object",
  25044. "required": [
  25045. "accountid",
  25046. "coupontypeid"
  25047. ],
  25048. "properties": {
  25049. "accountid": {
  25050. "description": "资金账户ID",
  25051. "type": "integer"
  25052. },
  25053. "areauserid": {
  25054. "description": "所属机构",
  25055. "type": "integer"
  25056. },
  25057. "conditionvalue": {
  25058. "description": "条件阈值(可为0)",
  25059. "type": "number"
  25060. },
  25061. "couponcategroy": {
  25062. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25063. "type": "integer"
  25064. },
  25065. "couponname": {
  25066. "description": "优惠券名称",
  25067. "type": "string"
  25068. },
  25069. "coupontypeid": {
  25070. "description": "优惠券类型ID",
  25071. "type": "string"
  25072. },
  25073. "couponvalue": {
  25074. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25075. "type": "number"
  25076. },
  25077. "curfreezeqty": {
  25078. "description": "期末冻结数量",
  25079. "type": "integer"
  25080. },
  25081. "curqty": {
  25082. "description": "期末数量",
  25083. "type": "integer"
  25084. },
  25085. "isgeneral": {
  25086. "description": "是否通用券 - 0:否 1:是",
  25087. "type": "integer"
  25088. },
  25089. "isunusable": {
  25090. "description": "是否不可用",
  25091. "type": "boolean"
  25092. },
  25093. "limitedflag": {
  25094. "description": "是否指定商品 - 0:不限 1:限制",
  25095. "type": "integer"
  25096. },
  25097. "limitedgoodsids": {
  25098. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25099. "type": "string"
  25100. },
  25101. "orifreezeqty": {
  25102. "description": "期初冻结数量",
  25103. "type": "integer"
  25104. },
  25105. "oriqty": {
  25106. "description": "期初数量",
  25107. "type": "integer"
  25108. },
  25109. "reasontype": {
  25110. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25111. "type": "integer"
  25112. },
  25113. "todaydecrease": {
  25114. "description": "今日减少",
  25115. "type": "integer"
  25116. },
  25117. "todayincrease": {
  25118. "description": "今日增加",
  25119. "type": "integer"
  25120. },
  25121. "userid": {
  25122. "description": "用户ID",
  25123. "type": "integer"
  25124. },
  25125. "userscope": {
  25126. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25127. "type": "string"
  25128. }
  25129. }
  25130. },
  25131. "models.MyCouponHold": {
  25132. "type": "object",
  25133. "required": [
  25134. "couponholdid"
  25135. ],
  25136. "properties": {
  25137. "accountid": {
  25138. "description": "资金账户ID",
  25139. "type": "integer"
  25140. },
  25141. "conditionvalue": {
  25142. "description": "条件阈值(可为0)",
  25143. "type": "number"
  25144. },
  25145. "couponcategroy": {
  25146. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25147. "type": "integer"
  25148. },
  25149. "couponholdid": {
  25150. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25151. "type": "string"
  25152. },
  25153. "couponname": {
  25154. "description": "优惠券名称",
  25155. "type": "string"
  25156. },
  25157. "coupontypeid": {
  25158. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25159. "type": "string"
  25160. },
  25161. "couponvalue": {
  25162. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25163. "type": "number"
  25164. },
  25165. "createtime": {
  25166. "description": "创建时间",
  25167. "type": "string"
  25168. },
  25169. "enddate": {
  25170. "description": "结束日期",
  25171. "type": "string"
  25172. },
  25173. "giveapplyid": {
  25174. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25175. "type": "integer"
  25176. },
  25177. "holdstatus": {
  25178. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25179. "type": "integer"
  25180. },
  25181. "isgeneral": {
  25182. "description": "是否通用券 - 0:否 1:是",
  25183. "type": "integer"
  25184. },
  25185. "limitedflag": {
  25186. "description": "是否指定商品 - 0:不限 1:限制",
  25187. "type": "integer"
  25188. },
  25189. "limitedgoodsids": {
  25190. "description": "指定商品IDs[逗号分隔]",
  25191. "type": "string"
  25192. },
  25193. "qty": {
  25194. "description": "数量(按1平铺)",
  25195. "type": "integer"
  25196. },
  25197. "startdate": {
  25198. "description": "开始日期",
  25199. "type": "string"
  25200. },
  25201. "userid": {
  25202. "description": "用户ID",
  25203. "type": "integer"
  25204. },
  25205. "userscope": {
  25206. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25207. "type": "string"
  25208. }
  25209. }
  25210. },
  25211. "models.MyUsedCoupon": {
  25212. "type": "object",
  25213. "required": [
  25214. "coupontypeid",
  25215. "orderid"
  25216. ],
  25217. "properties": {
  25218. "accountid": {
  25219. "description": "资金账户ID(买方)",
  25220. "type": "integer"
  25221. },
  25222. "conditionvalue": {
  25223. "description": "条件阈值(可为0)",
  25224. "type": "number"
  25225. },
  25226. "couponcategroy": {
  25227. "description": "种类 - 1:现金券 2:折扣券",
  25228. "type": "integer"
  25229. },
  25230. "couponname": {
  25231. "description": "优惠券名称",
  25232. "type": "string"
  25233. },
  25234. "coupontypeid": {
  25235. "description": "优惠券类型ID(买方)",
  25236. "type": "string"
  25237. },
  25238. "couponvalue": {
  25239. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25240. "type": "number"
  25241. },
  25242. "createtime": {
  25243. "description": "创建时间",
  25244. "type": "string"
  25245. },
  25246. "goodsid": {
  25247. "description": "商品ID",
  25248. "type": "integer"
  25249. },
  25250. "handlestatus": {
  25251. "description": "处理状态",
  25252. "type": "integer"
  25253. },
  25254. "marketid": {
  25255. "description": "市场ID",
  25256. "type": "integer"
  25257. },
  25258. "offamount": {
  25259. "description": "优惠金额",
  25260. "type": "number"
  25261. },
  25262. "orderid": {
  25263. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25264. "type": "string"
  25265. },
  25266. "sellaccountid": {
  25267. "description": "资金账户ID(卖方)",
  25268. "type": "integer"
  25269. },
  25270. "tradeamount": {
  25271. "description": "成交金额",
  25272. "type": "number"
  25273. },
  25274. "tradeid": {
  25275. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25276. "type": "string"
  25277. },
  25278. "usedqty": {
  25279. "description": "使用数量",
  25280. "type": "integer"
  25281. }
  25282. }
  25283. },
  25284. "models.OperationPrimaryMenu": {
  25285. "type": "object",
  25286. "properties": {
  25287. "Children": {
  25288. "description": "二级功能菜单",
  25289. "type": "array",
  25290. "items": {
  25291. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25292. }
  25293. },
  25294. "Key": {
  25295. "description": "菜单KEY",
  25296. "type": "string"
  25297. },
  25298. "Label": {
  25299. "description": "菜单标题",
  25300. "type": "string"
  25301. }
  25302. }
  25303. },
  25304. "models.OperationSecondaryMenu": {
  25305. "type": "object",
  25306. "properties": {
  25307. "Key": {
  25308. "description": "菜单KEY",
  25309. "type": "string"
  25310. },
  25311. "Label": {
  25312. "description": "菜单标题",
  25313. "type": "string"
  25314. },
  25315. "TabList": {
  25316. "description": "三级功能菜单",
  25317. "type": "array",
  25318. "items": {
  25319. "$ref": "#/definitions/models.OperationTabMenu"
  25320. }
  25321. }
  25322. }
  25323. },
  25324. "models.OperationTabMenu": {
  25325. "type": "object",
  25326. "properties": {
  25327. "Key": {
  25328. "description": "菜单KEY",
  25329. "type": "string"
  25330. },
  25331. "Label": {
  25332. "description": "菜单标题",
  25333. "type": "string"
  25334. }
  25335. }
  25336. },
  25337. "models.PendingAuditBizModel": {
  25338. "type": "object",
  25339. "properties": {
  25340. "accountid": {
  25341. "description": "现货账户",
  25342. "type": "string"
  25343. },
  25344. "areaname": {
  25345. "description": "所属部门",
  25346. "type": "string"
  25347. },
  25348. "bizid": {
  25349. "description": "业务ID",
  25350. "type": "string"
  25351. },
  25352. "bizname": {
  25353. "description": "业务名称",
  25354. "type": "string"
  25355. },
  25356. "status": {
  25357. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25358. "type": "integer"
  25359. },
  25360. "type": {
  25361. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25362. "type": "integer"
  25363. }
  25364. }
  25365. },
  25366. "models.QhjAccountOutInApply": {
  25367. "type": "object",
  25368. "properties": {
  25369. "accountcode": {
  25370. "description": "资金账号",
  25371. "type": "string"
  25372. },
  25373. "accountname": {
  25374. "description": "用户名称(名称)",
  25375. "type": "string"
  25376. },
  25377. "accountpwd": {
  25378. "description": "资金密码",
  25379. "type": "string"
  25380. },
  25381. "accountticket": {
  25382. "description": "最新账户服务流水号",
  25383. "type": "string"
  25384. },
  25385. "amount": {
  25386. "description": "金额",
  25387. "type": "number"
  25388. },
  25389. "applyremark": {
  25390. "description": "申请备注",
  25391. "type": "string"
  25392. },
  25393. "applystatus": {
  25394. "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: 复审通过,账户冻结金额检查中;",
  25395. "type": "integer"
  25396. },
  25397. "auditid": {
  25398. "description": "审核人",
  25399. "type": "integer"
  25400. },
  25401. "audittime": {
  25402. "description": "审核时间",
  25403. "type": "string"
  25404. },
  25405. "bank_apply_ticket": {
  25406. "description": "银行申请流水",
  25407. "type": "string"
  25408. },
  25409. "bankaccountname": {
  25410. "description": "银行账户名",
  25411. "type": "string"
  25412. },
  25413. "bankaccountno": {
  25414. "description": "银行卡号",
  25415. "type": "string"
  25416. },
  25417. "bankid": {
  25418. "description": "银行编号",
  25419. "type": "string"
  25420. },
  25421. "bankticket": {
  25422. "description": "银行流水",
  25423. "type": "string"
  25424. },
  25425. "branchbankid": {
  25426. "description": "银行支行号",
  25427. "type": "string"
  25428. },
  25429. "branchbankname": {
  25430. "description": "银行支行名称",
  25431. "type": "string"
  25432. },
  25433. "capamountout": {
  25434. "description": "出金(劣后本金) - 外部子账户",
  25435. "type": "number"
  25436. },
  25437. "certificatephotourl": {
  25438. "description": "凭证地址",
  25439. "type": "string"
  25440. },
  25441. "charge": {
  25442. "description": "手续费",
  25443. "type": "number"
  25444. },
  25445. "checkerrorflag": {
  25446. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25447. "type": "integer"
  25448. },
  25449. "currency": {
  25450. "description": "币种",
  25451. "type": "string"
  25452. },
  25453. "cusbankid": {
  25454. "description": "托管银行编号",
  25455. "type": "string"
  25456. },
  25457. "exchticket": {
  25458. "description": "银行服务流水号",
  25459. "type": "string"
  25460. },
  25461. "executetype": {
  25462. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25463. "type": "integer"
  25464. },
  25465. "extendinfo": {
  25466. "description": "扩展信息",
  25467. "type": "string"
  25468. },
  25469. "extoperateid": {
  25470. "description": "交易服务流水号",
  25471. "type": "integer"
  25472. },
  25473. "infamount": {
  25474. "description": "劣后金额(自有)",
  25475. "type": "number"
  25476. },
  25477. "logincode": {
  25478. "description": "登录账号(账号)",
  25479. "type": "string"
  25480. },
  25481. "netaddr": {
  25482. "description": "调转网址",
  25483. "type": "string"
  25484. },
  25485. "priamount": {
  25486. "description": "优先金额(授信)",
  25487. "type": "number"
  25488. },
  25489. "reauditid": {
  25490. "description": "复审人",
  25491. "type": "integer"
  25492. },
  25493. "reauditremark": {
  25494. "description": "复审备注",
  25495. "type": "string"
  25496. },
  25497. "reaudittime": {
  25498. "description": "复审时间",
  25499. "type": "string"
  25500. },
  25501. "relatedorderid": {
  25502. "description": "三方关联ID",
  25503. "type": "string"
  25504. },
  25505. "remark": {
  25506. "description": "备注",
  25507. "type": "string"
  25508. },
  25509. "remark2": {
  25510. "description": "备注(失败原因)",
  25511. "type": "string"
  25512. },
  25513. "soucreamount": {
  25514. "description": "原始出入金金额",
  25515. "type": "number"
  25516. },
  25517. "soucrecurrencyid": {
  25518. "description": "原始出入金币种",
  25519. "type": "integer"
  25520. },
  25521. "tradedate": {
  25522. "description": "交易日(yyyyMMdd)",
  25523. "type": "string"
  25524. },
  25525. "updatetime": {
  25526. "description": "更新时间(申请时间)",
  25527. "type": "string"
  25528. },
  25529. "userid": {
  25530. "description": "用户id",
  25531. "type": "integer"
  25532. },
  25533. "userinfotype": {
  25534. "description": "账户类型 1-个人 2-企业",
  25535. "type": "integer"
  25536. }
  25537. }
  25538. },
  25539. "models.QhjAgreementChangeLog": {
  25540. "type": "object",
  25541. "properties": {
  25542. "agreementcontent": {
  25543. "description": "协议内容",
  25544. "type": "string"
  25545. },
  25546. "agreementfrequency": {
  25547. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25548. "type": "integer"
  25549. },
  25550. "agreementid": {
  25551. "description": "协议ID",
  25552. "type": "integer"
  25553. },
  25554. "agreementname": {
  25555. "description": "协议名称",
  25556. "type": "string"
  25557. },
  25558. "agreementno": {
  25559. "description": "协议编号",
  25560. "type": "string"
  25561. },
  25562. "agreementtype": {
  25563. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25564. "type": "integer"
  25565. },
  25566. "agreementversion": {
  25567. "description": "协议版本号",
  25568. "type": "integer"
  25569. },
  25570. "logid": {
  25571. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25572. "type": "integer"
  25573. },
  25574. "reviserid": {
  25575. "description": "修改人",
  25576. "type": "integer"
  25577. },
  25578. "revisersrc": {
  25579. "description": "修改来源 - 1:管理端 2:终端",
  25580. "type": "integer"
  25581. },
  25582. "updatetime": {
  25583. "description": "更新时间",
  25584. "type": "string"
  25585. }
  25586. }
  25587. },
  25588. "models.QhjAgreementConfig": {
  25589. "type": "object",
  25590. "properties": {
  25591. "agreementcontent": {
  25592. "description": "协议内容",
  25593. "type": "string"
  25594. },
  25595. "agreementfrequency": {
  25596. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25597. "type": "integer"
  25598. },
  25599. "agreementid": {
  25600. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25601. "type": "integer"
  25602. },
  25603. "agreementname": {
  25604. "description": "协议名称",
  25605. "type": "string"
  25606. },
  25607. "agreementno": {
  25608. "description": "协议编号",
  25609. "type": "string"
  25610. },
  25611. "agreementtype": {
  25612. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25613. "type": "integer"
  25614. },
  25615. "agreementversion": {
  25616. "description": "协议版本号(从1开始每次修改加1)",
  25617. "type": "integer"
  25618. },
  25619. "createtime": {
  25620. "description": "创建时间",
  25621. "type": "string"
  25622. },
  25623. "creatorid": {
  25624. "description": "创建人",
  25625. "type": "integer"
  25626. },
  25627. "creatorsrc": {
  25628. "description": "创建来源 - 1:管理端 2:终端",
  25629. "type": "integer"
  25630. },
  25631. "isvalid": {
  25632. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  25633. "type": "integer"
  25634. },
  25635. "reviserid": {
  25636. "description": "修改人",
  25637. "type": "integer"
  25638. },
  25639. "revisersrc": {
  25640. "description": "修改来源 - 1:管理端 2:终端",
  25641. "type": "integer"
  25642. },
  25643. "updatetime": {
  25644. "description": "更新时间",
  25645. "type": "string"
  25646. }
  25647. }
  25648. },
  25649. "models.QhjAreaFinanceConfig": {
  25650. "type": "object",
  25651. "properties": {
  25652. "additionalratio": {
  25653. "description": "追加款比例",
  25654. "type": "number"
  25655. },
  25656. "advanceratio": {
  25657. "description": "预付款比例",
  25658. "type": "number"
  25659. },
  25660. "alarmratio": {
  25661. "description": "告警比例",
  25662. "type": "number"
  25663. },
  25664. "consumptiondirectreward": {
  25665. "description": "消费直推奖励值",
  25666. "type": "number"
  25667. },
  25668. "consumptionenabled": {
  25669. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  25670. "type": "integer"
  25671. },
  25672. "consumptionindirectreward": {
  25673. "description": "消费间推奖励值",
  25674. "type": "number"
  25675. },
  25676. "consumptionmodel": {
  25677. "description": "消费奖励方式 - 1:比率 2:固定",
  25678. "type": "integer"
  25679. },
  25680. "customerservicenum": {
  25681. "description": "客服电话",
  25682. "type": "string"
  25683. },
  25684. "dayinterestrate": {
  25685. "description": "日利率",
  25686. "type": "number"
  25687. },
  25688. "disableconsumptiontips": {
  25689. "description": "关闭消费奖励提示",
  25690. "type": "string"
  25691. },
  25692. "modifierid": {
  25693. "description": "修改人ID",
  25694. "type": "integer"
  25695. },
  25696. "modifysrc": {
  25697. "description": "审核来源 - 1:管理端 2:终端",
  25698. "type": "integer"
  25699. },
  25700. "modifytime": {
  25701. "description": "修改时间",
  25702. "type": "string"
  25703. },
  25704. "promotionvalue": {
  25705. "description": "推广奖励值(固定)",
  25706. "type": "number"
  25707. },
  25708. "scoreconfigvalue1": {
  25709. "description": "提货积分配置1",
  25710. "type": "integer"
  25711. },
  25712. "scoreconfigvalue2": {
  25713. "description": "提货积分配置2",
  25714. "type": "integer"
  25715. },
  25716. "userid": {
  25717. "description": "机构用户ID其他做市关系,都设置为 1",
  25718. "type": "integer"
  25719. },
  25720. "username": {
  25721. "description": "用户名称",
  25722. "type": "string"
  25723. }
  25724. }
  25725. },
  25726. "models.QhjBankAccountSign": {
  25727. "type": "object",
  25728. "properties": {
  25729. "accountcode": {
  25730. "description": "资金账号",
  25731. "type": "string"
  25732. },
  25733. "accountname": {
  25734. "description": "资金账号对应的账号名(UserName)",
  25735. "type": "string"
  25736. },
  25737. "accountname2": {
  25738. "description": "资金账号对应的账号名(UserName) - 密文",
  25739. "type": "string"
  25740. },
  25741. "accounttype": {
  25742. "description": "账户类型(UserType)",
  25743. "type": "integer"
  25744. },
  25745. "applicationtime": {
  25746. "description": "最后一次更新的时间",
  25747. "type": "string"
  25748. },
  25749. "applyexchticket": {
  25750. "description": "申请流水",
  25751. "type": "string"
  25752. },
  25753. "auditid": {
  25754. "description": "审核人",
  25755. "type": "integer"
  25756. },
  25757. "audittime": {
  25758. "description": "审核时间",
  25759. "type": "string"
  25760. },
  25761. "bankaccountname": {
  25762. "description": "签约银行卡账号名",
  25763. "type": "string"
  25764. },
  25765. "bankaccountname2": {
  25766. "description": "签约银行卡账号名 - 密文",
  25767. "type": "string"
  25768. },
  25769. "bankaccountno": {
  25770. "description": "银行卡号",
  25771. "type": "string"
  25772. },
  25773. "bankaccountno2": {
  25774. "description": "银行卡号 - 密文",
  25775. "type": "string"
  25776. },
  25777. "bankaccounttype": {
  25778. "description": "银行账户类型 - 1-对私; 2-对公",
  25779. "type": "integer"
  25780. },
  25781. "bankcardtype": {
  25782. "description": "银行卡类型",
  25783. "type": "integer"
  25784. },
  25785. "bankchildaccount": {
  25786. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  25787. "type": "string"
  25788. },
  25789. "bankcity": {
  25790. "description": "开户行城市",
  25791. "type": "string"
  25792. },
  25793. "bankid": {
  25794. "description": "签约银行ID",
  25795. "type": "string"
  25796. },
  25797. "bankname": {
  25798. "description": "签约银行名称",
  25799. "type": "string"
  25800. },
  25801. "bankprovince": {
  25802. "description": "开户行省份",
  25803. "type": "string"
  25804. },
  25805. "branchbankid": {
  25806. "description": "签约银行支行号",
  25807. "type": "string"
  25808. },
  25809. "branchbankname": {
  25810. "description": "签约银行支行名称",
  25811. "type": "string"
  25812. },
  25813. "cardno": {
  25814. "description": "证件号码",
  25815. "type": "string"
  25816. },
  25817. "cardno2": {
  25818. "description": "证件号码 - 密文",
  25819. "type": "string"
  25820. },
  25821. "cardtype": {
  25822. "description": "证件类型",
  25823. "type": "string"
  25824. },
  25825. "currency": {
  25826. "description": "币种",
  25827. "type": "string"
  25828. },
  25829. "cusbankid": {
  25830. "description": "托管银行编号",
  25831. "type": "string"
  25832. },
  25833. "direct": {
  25834. "description": "方向(可以判断那方先发起的签约)",
  25835. "type": "integer"
  25836. },
  25837. "exchticket": {
  25838. "description": "最后一次签约成功的流水号",
  25839. "type": "string"
  25840. },
  25841. "extendinfo": {
  25842. "description": "扩展信息(JSON字符串)",
  25843. "type": "string"
  25844. },
  25845. "mobilephone": {
  25846. "description": "手机号",
  25847. "type": "string"
  25848. },
  25849. "mobilephone2": {
  25850. "description": "手机号 - 密文",
  25851. "type": "string"
  25852. },
  25853. "netaddr": {
  25854. "description": "调转网址",
  25855. "type": "string"
  25856. },
  25857. "relateduserid": {
  25858. "description": "关联使用者userid",
  25859. "type": "integer"
  25860. },
  25861. "signstatus": {
  25862. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  25863. "type": "integer"
  25864. },
  25865. "updatetime": {
  25866. "description": "更新时间(签解约更新时间)",
  25867. "type": "string"
  25868. }
  25869. }
  25870. },
  25871. "models.QhjBankInfo": {
  25872. "type": "object",
  25873. "properties": {
  25874. "bankid": {
  25875. "description": "银行ID",
  25876. "type": "string"
  25877. },
  25878. "bankname": {
  25879. "description": "银行名称",
  25880. "type": "string"
  25881. },
  25882. "clearbankno": {
  25883. "description": "清算系统银行编号",
  25884. "type": "string"
  25885. },
  25886. "orderindex": {
  25887. "description": "排序顺序",
  25888. "type": "integer"
  25889. },
  25890. "status": {
  25891. "description": "状态 - 0:正常 1:注销",
  25892. "type": "integer"
  25893. }
  25894. }
  25895. },
  25896. "models.QhjBrokerApply": {
  25897. "type": "object",
  25898. "properties": {
  25899. "applicantid": {
  25900. "description": "申请人",
  25901. "type": "integer"
  25902. },
  25903. "applysrc": {
  25904. "description": "申请来源 - 1:管理端 2:终端",
  25905. "type": "integer"
  25906. },
  25907. "applystatus": {
  25908. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25909. "type": "integer"
  25910. },
  25911. "applytime": {
  25912. "description": "申请时间",
  25913. "type": "string"
  25914. },
  25915. "auditorid": {
  25916. "description": "审核人",
  25917. "type": "integer"
  25918. },
  25919. "auditremark": {
  25920. "description": "审核备注",
  25921. "type": "string"
  25922. },
  25923. "auditsrc": {
  25924. "description": "审核来源 - 1:管理端 2:终端",
  25925. "type": "integer"
  25926. },
  25927. "audittime": {
  25928. "description": "审核时间",
  25929. "type": "string"
  25930. },
  25931. "audittradedate": {
  25932. "description": "审核交易日(yyyyMMdd)",
  25933. "type": "string"
  25934. },
  25935. "brokerapplyid": {
  25936. "description": "申请ID(SEQ_BROKERAPPLY)",
  25937. "type": "integer"
  25938. },
  25939. "cardbackphotourl": {
  25940. "description": "证件背面图片地址",
  25941. "type": "string"
  25942. },
  25943. "cardfrontphotourl": {
  25944. "description": "证件正面图片地址",
  25945. "type": "string"
  25946. },
  25947. "cardnum": {
  25948. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25949. "type": "string"
  25950. },
  25951. "customername": {
  25952. "description": "姓名",
  25953. "type": "string"
  25954. },
  25955. "logincode": {
  25956. "description": "登录代码",
  25957. "type": "string"
  25958. },
  25959. "mobile": {
  25960. "description": "手机号码",
  25961. "type": "string"
  25962. },
  25963. "parentuserid": {
  25964. "description": "所属机构id",
  25965. "type": "integer"
  25966. },
  25967. "parentusername": {
  25968. "description": "所属机构名称",
  25969. "type": "string"
  25970. },
  25971. "refereeuserid": {
  25972. "description": "推荐人id(经纪人)",
  25973. "type": "integer"
  25974. },
  25975. "refernum": {
  25976. "description": "推荐码",
  25977. "type": "string"
  25978. },
  25979. "remark": {
  25980. "description": "备注",
  25981. "type": "string"
  25982. },
  25983. "subarealevelpath": {
  25984. "description": "层级路径",
  25985. "type": "string"
  25986. },
  25987. "tradedate": {
  25988. "description": "交易日(yyyyMMdd)",
  25989. "type": "string"
  25990. },
  25991. "userid": {
  25992. "description": "申请人用户ID",
  25993. "type": "integer"
  25994. },
  25995. "userinfotype": {
  25996. "description": "用户类型 1-个人 2-企业",
  25997. "type": "integer"
  25998. },
  25999. "username": {
  26000. "description": "用户名称",
  26001. "type": "string"
  26002. }
  26003. }
  26004. },
  26005. "models.QhjBrokerApplyEx": {
  26006. "type": "object",
  26007. "properties": {
  26008. "applylist": {
  26009. "description": "经纪人申请记录(只返回最新一条)",
  26010. "type": "array",
  26011. "items": {
  26012. "$ref": "#/definitions/models.QhjBrokerApply"
  26013. }
  26014. },
  26015. "canrecommend": {
  26016. "description": "是否经纪人 0-不是 1-是",
  26017. "type": "integer"
  26018. },
  26019. "refernum": {
  26020. "description": "推荐码",
  26021. "type": "string"
  26022. },
  26023. "userid": {
  26024. "description": "用户id",
  26025. "type": "integer"
  26026. },
  26027. "userinfotype": {
  26028. "description": "用户类型 1-个人 2-企业",
  26029. "type": "integer"
  26030. }
  26031. }
  26032. },
  26033. "models.QhjBrokerRewardLog": {
  26034. "type": "object",
  26035. "properties": {
  26036. "accountid": {
  26037. "description": "资金账号ID",
  26038. "type": "integer"
  26039. },
  26040. "createtime": {
  26041. "description": "创建时间(时间)",
  26042. "type": "string"
  26043. },
  26044. "handlestatus": {
  26045. "description": "处理状态",
  26046. "type": "integer"
  26047. },
  26048. "logid": {
  26049. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26050. "type": "string"
  26051. },
  26052. "marketid": {
  26053. "description": "市场ID",
  26054. "type": "integer"
  26055. },
  26056. "mmaccountid": {
  26057. "description": "做市商资金账号ID",
  26058. "type": "string"
  26059. },
  26060. "mmuserid": {
  26061. "description": "做市商用户ID",
  26062. "type": "string"
  26063. },
  26064. "rewardamount": {
  26065. "description": "奖励金额",
  26066. "type": "number"
  26067. },
  26068. "rewardmodel": {
  26069. "description": "消费奖励方式 - 1:比率 2:固定",
  26070. "type": "integer"
  26071. },
  26072. "rewardtype": {
  26073. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26074. "type": "integer"
  26075. },
  26076. "rewardvalue": {
  26077. "description": "配置奖励值",
  26078. "type": "number"
  26079. },
  26080. "srcamount": {
  26081. "description": "成交金额 [消费奖励] (金额)",
  26082. "type": "number"
  26083. },
  26084. "srcgoodsid": {
  26085. "description": "来源商品ID [消费奖励]",
  26086. "type": "string"
  26087. },
  26088. "srctime": {
  26089. "description": "来源时间 (成交时间) [消费奖励]",
  26090. "type": "string"
  26091. },
  26092. "srctradeid": {
  26093. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26094. "type": "string"
  26095. },
  26096. "srcuserid": {
  26097. "description": "来源用户ID(推广账户)",
  26098. "type": "string"
  26099. },
  26100. "srcusername": {
  26101. "description": "推广账户名称",
  26102. "type": "string"
  26103. },
  26104. "tradedate": {
  26105. "description": "交易日(yyyyMMdd)",
  26106. "type": "string"
  26107. },
  26108. "userid": {
  26109. "description": "经纪人用户ID",
  26110. "type": "integer"
  26111. }
  26112. }
  26113. },
  26114. "models.QhjContract": {
  26115. "type": "object",
  26116. "properties": {
  26117. "contractconfirmtime": {
  26118. "description": "合同确认时间(时间)",
  26119. "type": "string"
  26120. },
  26121. "currisklevel": {
  26122. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26123. "type": "integer"
  26124. },
  26125. "decimalplace": {
  26126. "description": "商品报价小数位",
  26127. "type": "integer"
  26128. },
  26129. "enumdicname": {
  26130. "description": "单位名称",
  26131. "type": "string"
  26132. },
  26133. "goodscode": {
  26134. "description": "商品代码",
  26135. "type": "string"
  26136. },
  26137. "goodsid": {
  26138. "description": "商品ID [5:融资单]",
  26139. "type": "integer"
  26140. },
  26141. "goodsname": {
  26142. "description": "商品名称",
  26143. "type": "string"
  26144. },
  26145. "goodunitid": {
  26146. "description": "商品单位id",
  26147. "type": "integer"
  26148. },
  26149. "initmargin": {
  26150. "description": "初始保证金(首付款)",
  26151. "type": "number"
  26152. },
  26153. "lenderamount": {
  26154. "description": "贷款金额(总额|订单总额)",
  26155. "type": "number"
  26156. },
  26157. "marginratio": {
  26158. "description": "保证金比率(首付比例)",
  26159. "type": "number"
  26160. },
  26161. "payamount": {
  26162. "description": "已付(已付货款)",
  26163. "type": "number"
  26164. },
  26165. "reckonrecovermargin": {
  26166. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26167. "type": "number"
  26168. },
  26169. "recoveredmargin": {
  26170. "description": "已追缴保证金",
  26171. "type": "number"
  26172. },
  26173. "remainamount": {
  26174. "description": "合同剩余金额(融资额)",
  26175. "type": "number"
  26176. },
  26177. "scfcontractid": {
  26178. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26179. "type": "string"
  26180. },
  26181. "scfcontractstatus": {
  26182. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26183. "type": "integer"
  26184. },
  26185. "scfcontracttype": {
  26186. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26187. "type": "integer"
  26188. },
  26189. "totalinterest": {
  26190. "description": "已计总利息(利息)",
  26191. "type": "number"
  26192. },
  26193. "tradeprice": {
  26194. "description": "成交价格(成本价格)",
  26195. "type": "number"
  26196. },
  26197. "userid": {
  26198. "description": "用户ID",
  26199. "type": "integer"
  26200. },
  26201. "username": {
  26202. "description": "用户名称",
  26203. "type": "string"
  26204. },
  26205. "wrqty": {
  26206. "description": "仓单数量(数量)",
  26207. "type": "number"
  26208. }
  26209. }
  26210. },
  26211. "models.QhjContractLog": {
  26212. "type": "object",
  26213. "properties": {
  26214. "amount": {
  26215. "description": "支付金额",
  26216. "type": "number"
  26217. },
  26218. "amounttype": {
  26219. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26220. "type": "integer"
  26221. },
  26222. "logid": {
  26223. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26224. "type": "string"
  26225. },
  26226. "remainamount": {
  26227. "description": "剩余货款",
  26228. "type": "number"
  26229. },
  26230. "scfcontractid": {
  26231. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26232. "type": "integer"
  26233. },
  26234. "updatetime": {
  26235. "description": "更新时间",
  26236. "type": "string"
  26237. }
  26238. }
  26239. },
  26240. "models.QhjCusBankSignBankEx": {
  26241. "type": "object",
  26242. "properties": {
  26243. "banklst": {
  26244. "description": "银行列表",
  26245. "type": "array",
  26246. "items": {
  26247. "$ref": "#/definitions/models.QhjBankInfo"
  26248. }
  26249. },
  26250. "canallot": {
  26251. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26252. "type": "integer"
  26253. },
  26254. "canallotquery": {
  26255. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26256. "type": "integer"
  26257. },
  26258. "canbindcard": {
  26259. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26260. "type": "integer"
  26261. },
  26262. "caninamount": {
  26263. "description": "是否可入金 - 0:不可 1:可以",
  26264. "type": "integer"
  26265. },
  26266. "caninamount2": {
  26267. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26268. "type": "integer"
  26269. },
  26270. "canmodifybankcard": {
  26271. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26272. "type": "integer"
  26273. },
  26274. "canmodifyphone": {
  26275. "description": "是否可修改手机号 - 0:不可 1:可以",
  26276. "type": "integer"
  26277. },
  26278. "canmodifysigninfo": {
  26279. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26280. "type": "integer"
  26281. },
  26282. "canoutamount": {
  26283. "description": "是否可出金 - 0:不可 1:可以",
  26284. "type": "integer"
  26285. },
  26286. "canoutamount2": {
  26287. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26288. "type": "integer"
  26289. },
  26290. "canrelease": {
  26291. "description": "是否可解约 - 0:不可 1:可以",
  26292. "type": "integer"
  26293. },
  26294. "canrelease2": {
  26295. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26296. "type": "integer"
  26297. },
  26298. "cansign": {
  26299. "description": "是否可签约 - 0:不可 1:可以",
  26300. "type": "integer"
  26301. },
  26302. "cansign2": {
  26303. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26304. "type": "integer"
  26305. },
  26306. "currency": {
  26307. "description": "币种",
  26308. "type": "string"
  26309. },
  26310. "cusbankid": {
  26311. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26312. "type": "string"
  26313. },
  26314. "cusbankname": {
  26315. "description": "银行业务名称",
  26316. "type": "string"
  26317. },
  26318. "cusbankshortname": {
  26319. "description": "银行业务简称",
  26320. "type": "string"
  26321. },
  26322. "exchbankid": {
  26323. "description": "交易所开户银行ID",
  26324. "type": "string"
  26325. },
  26326. "exchpaybankaccname": {
  26327. "description": "交易所支出结算账户户名",
  26328. "type": "string"
  26329. },
  26330. "exchpaybankaccno": {
  26331. "description": "交易所支出结算账户",
  26332. "type": "string"
  26333. },
  26334. "isneedcheck": {
  26335. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26336. "type": "integer"
  26337. },
  26338. "isneedclear": {
  26339. "description": "是否需要清算 - 0:不需要 1:需要",
  26340. "type": "integer"
  26341. },
  26342. "lastcheckstatus": {
  26343. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26344. "type": "integer"
  26345. },
  26346. "lastchecktime": {
  26347. "description": "最后对账时间",
  26348. "type": "string"
  26349. },
  26350. "lastclearstatus": {
  26351. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26352. "type": "integer"
  26353. },
  26354. "lastcleartime": {
  26355. "description": "最后清算时间",
  26356. "type": "string"
  26357. },
  26358. "lastsignintime": {
  26359. "description": "最后签到时间",
  26360. "type": "string"
  26361. },
  26362. "lastsignouttime": {
  26363. "description": "最后签退时间",
  26364. "type": "string"
  26365. },
  26366. "riskinfo": {
  26367. "description": "签约风险提示书",
  26368. "type": "string"
  26369. },
  26370. "signstatus": {
  26371. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26372. "type": "integer"
  26373. },
  26374. "tradedate": {
  26375. "description": "交易日(yyyyMMdd)",
  26376. "type": "string"
  26377. },
  26378. "updatetime": {
  26379. "description": "当前签到/签退更新时间",
  26380. "type": "string"
  26381. }
  26382. }
  26383. },
  26384. "models.QhjCustomer": {
  26385. "type": "object",
  26386. "properties": {
  26387. "address": {
  26388. "description": "通讯地址",
  26389. "type": "string"
  26390. },
  26391. "attachment1": {
  26392. "description": "附件1",
  26393. "type": "string"
  26394. },
  26395. "audittime": {
  26396. "description": "审核时间",
  26397. "type": "string"
  26398. },
  26399. "cardbackphotourl": {
  26400. "description": "证件反面图片地址",
  26401. "type": "string"
  26402. },
  26403. "cardfrontphotourl": {
  26404. "description": "证件正面图片地址",
  26405. "type": "string"
  26406. },
  26407. "cardnum": {
  26408. "description": "证件号码",
  26409. "type": "string"
  26410. },
  26411. "cardtype": {
  26412. "description": "证件类型",
  26413. "type": "integer"
  26414. },
  26415. "cardtypename": {
  26416. "description": "证件类型名称",
  26417. "type": "string"
  26418. },
  26419. "cityid": {
  26420. "description": "市",
  26421. "type": "integer"
  26422. },
  26423. "cityname": {
  26424. "description": "城市名称",
  26425. "type": "string"
  26426. },
  26427. "contactname": {
  26428. "description": "联系人",
  26429. "type": "string"
  26430. },
  26431. "countryid": {
  26432. "description": "国家",
  26433. "type": "integer"
  26434. },
  26435. "countryname": {
  26436. "description": "国家名称",
  26437. "type": "string"
  26438. },
  26439. "createtime": {
  26440. "description": "创建时间",
  26441. "type": "string"
  26442. },
  26443. "customername": {
  26444. "description": "客户名称",
  26445. "type": "string"
  26446. },
  26447. "districtid": {
  26448. "description": "区域",
  26449. "type": "integer"
  26450. },
  26451. "districtname": {
  26452. "description": "地区名称",
  26453. "type": "string"
  26454. },
  26455. "email": {
  26456. "description": "邮件",
  26457. "type": "string"
  26458. },
  26459. "legalpersonname": {
  26460. "description": "法人姓名(企业)",
  26461. "type": "string"
  26462. },
  26463. "logincode": {
  26464. "description": "登录账号(代码)",
  26465. "type": "string"
  26466. },
  26467. "memberuserid": {
  26468. "description": "所属机构ID(所属会员)",
  26469. "type": "integer"
  26470. },
  26471. "memberusername": {
  26472. "description": "所属会员名称",
  26473. "type": "string"
  26474. },
  26475. "mobile": {
  26476. "description": "手机号码",
  26477. "type": "string"
  26478. },
  26479. "modifytime": {
  26480. "description": "修改时间",
  26481. "type": "string"
  26482. },
  26483. "nickname": {
  26484. "description": "昵称",
  26485. "type": "string"
  26486. },
  26487. "parentuserid": {
  26488. "description": "上级机构(所属机构)",
  26489. "type": "integer"
  26490. },
  26491. "parentusername": {
  26492. "description": "所属机构名称",
  26493. "type": "string"
  26494. },
  26495. "provinceid": {
  26496. "description": "省",
  26497. "type": "integer"
  26498. },
  26499. "provincename": {
  26500. "description": "省名称",
  26501. "type": "string"
  26502. },
  26503. "proxystatementurl": {
  26504. "description": "授权委托书",
  26505. "type": "string"
  26506. },
  26507. "remark": {
  26508. "description": "备注",
  26509. "type": "string"
  26510. },
  26511. "status": {
  26512. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26513. "type": "integer"
  26514. },
  26515. "statusdesc": {
  26516. "description": "账户状态中文描述",
  26517. "type": "string"
  26518. },
  26519. "taxpayernum": {
  26520. "description": "纳税人识别号",
  26521. "type": "string"
  26522. },
  26523. "telphone": {
  26524. "description": "联系电话",
  26525. "type": "string"
  26526. },
  26527. "userid": {
  26528. "description": "用户ID",
  26529. "type": "integer"
  26530. },
  26531. "userinfotype": {
  26532. "description": "客户类型 1-个人 2-企业",
  26533. "type": "integer"
  26534. },
  26535. "username": {
  26536. "description": "用户名称",
  26537. "type": "string"
  26538. }
  26539. }
  26540. },
  26541. "models.QhjCustomerSignLog": {
  26542. "type": "object",
  26543. "properties": {
  26544. "agreementcontent": {
  26545. "description": "协议内容",
  26546. "type": "string"
  26547. },
  26548. "agreementid": {
  26549. "description": "协议ID",
  26550. "type": "integer"
  26551. },
  26552. "agreementname": {
  26553. "description": "协议名称",
  26554. "type": "string"
  26555. },
  26556. "agreementno": {
  26557. "description": "协议编号",
  26558. "type": "string"
  26559. },
  26560. "agreementtype": {
  26561. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26562. "type": "integer"
  26563. },
  26564. "agreementversion": {
  26565. "description": "协议版本号",
  26566. "type": "integer"
  26567. },
  26568. "createtime": {
  26569. "description": "创建时间",
  26570. "type": "string"
  26571. },
  26572. "goodscode": {
  26573. "description": "商品代码",
  26574. "type": "string"
  26575. },
  26576. "goodsid": {
  26577. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26578. "type": "integer"
  26579. },
  26580. "goodsname": {
  26581. "description": "商品名称",
  26582. "type": "string"
  26583. },
  26584. "logid": {
  26585. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26586. "type": "integer"
  26587. },
  26588. "nodetype": {
  26589. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26590. "type": "integer"
  26591. },
  26592. "signadressurl": {
  26593. "description": "签约文件地址",
  26594. "type": "string"
  26595. },
  26596. "signtimestamp": {
  26597. "description": "签约状态时间戳",
  26598. "type": "string"
  26599. },
  26600. "userid": {
  26601. "description": "客户ID",
  26602. "type": "integer"
  26603. },
  26604. "username": {
  26605. "description": "客户名称",
  26606. "type": "string"
  26607. }
  26608. }
  26609. },
  26610. "models.QhjCustomerSignStatus": {
  26611. "type": "object",
  26612. "properties": {
  26613. "createtime": {
  26614. "description": "创建时间",
  26615. "type": "string"
  26616. },
  26617. "goodscode": {
  26618. "description": "商品代码",
  26619. "type": "string"
  26620. },
  26621. "goodsid": {
  26622. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26623. "type": "integer"
  26624. },
  26625. "goodsname": {
  26626. "description": "商品名称",
  26627. "type": "string"
  26628. },
  26629. "nodetype": {
  26630. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  26631. "type": "integer"
  26632. },
  26633. "signtimestamp": {
  26634. "description": "签约状态时间戳",
  26635. "type": "string"
  26636. },
  26637. "tradedate": {
  26638. "description": "创建交易日(yyyyMMdd)",
  26639. "type": "string"
  26640. },
  26641. "updatetime": {
  26642. "description": "更新时间",
  26643. "type": "string"
  26644. },
  26645. "userid": {
  26646. "description": "客户ID",
  26647. "type": "integer"
  26648. },
  26649. "username": {
  26650. "description": "客户名称",
  26651. "type": "string"
  26652. }
  26653. }
  26654. },
  26655. "models.QhjMgrAccountOutInApply": {
  26656. "type": "object",
  26657. "properties": {
  26658. "accountcode": {
  26659. "description": "资金账号",
  26660. "type": "string"
  26661. },
  26662. "accountname": {
  26663. "description": "用户名称(名称)",
  26664. "type": "string"
  26665. },
  26666. "accountpwd": {
  26667. "description": "资金密码",
  26668. "type": "string"
  26669. },
  26670. "accountticket": {
  26671. "description": "最新账户服务流水号",
  26672. "type": "string"
  26673. },
  26674. "amount": {
  26675. "description": "金额",
  26676. "type": "number"
  26677. },
  26678. "applyremark": {
  26679. "description": "申请备注",
  26680. "type": "string"
  26681. },
  26682. "applystatus": {
  26683. "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: 复审通过,账户冻结金额检查中;",
  26684. "type": "integer"
  26685. },
  26686. "auditid": {
  26687. "description": "审核人",
  26688. "type": "integer"
  26689. },
  26690. "audittime": {
  26691. "description": "审核时间",
  26692. "type": "string"
  26693. },
  26694. "bank_apply_ticket": {
  26695. "description": "银行申请流水",
  26696. "type": "string"
  26697. },
  26698. "bankaccountname": {
  26699. "description": "银行账户名",
  26700. "type": "string"
  26701. },
  26702. "bankaccountno": {
  26703. "description": "银行卡号",
  26704. "type": "string"
  26705. },
  26706. "bankid": {
  26707. "description": "银行编号",
  26708. "type": "string"
  26709. },
  26710. "bankname": {
  26711. "description": "银行名称",
  26712. "type": "string"
  26713. },
  26714. "bankticket": {
  26715. "description": "银行流水",
  26716. "type": "string"
  26717. },
  26718. "branchbankid": {
  26719. "description": "银行支行号",
  26720. "type": "string"
  26721. },
  26722. "branchbankname": {
  26723. "description": "银行支行名称",
  26724. "type": "string"
  26725. },
  26726. "capamountout": {
  26727. "description": "出金(劣后本金) - 外部子账户",
  26728. "type": "number"
  26729. },
  26730. "certificatephotourl": {
  26731. "description": "凭证地址",
  26732. "type": "string"
  26733. },
  26734. "charge": {
  26735. "description": "手续费",
  26736. "type": "number"
  26737. },
  26738. "checkerrorflag": {
  26739. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26740. "type": "integer"
  26741. },
  26742. "currency": {
  26743. "description": "币种",
  26744. "type": "string"
  26745. },
  26746. "cusbankid": {
  26747. "description": "托管银行编号",
  26748. "type": "string"
  26749. },
  26750. "exchticket": {
  26751. "description": "银行服务流水号",
  26752. "type": "string"
  26753. },
  26754. "executetype": {
  26755. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26756. "type": "integer"
  26757. },
  26758. "extendinfo": {
  26759. "description": "扩展信息",
  26760. "type": "string"
  26761. },
  26762. "extoperateid": {
  26763. "description": "交易服务流水号",
  26764. "type": "integer"
  26765. },
  26766. "infamount": {
  26767. "description": "劣后金额(自有)",
  26768. "type": "number"
  26769. },
  26770. "logincode": {
  26771. "description": "登录账号(账号)",
  26772. "type": "string"
  26773. },
  26774. "netaddr": {
  26775. "description": "调转网址",
  26776. "type": "string"
  26777. },
  26778. "priamount": {
  26779. "description": "优先金额(授信)",
  26780. "type": "number"
  26781. },
  26782. "reauditid": {
  26783. "description": "复审人",
  26784. "type": "integer"
  26785. },
  26786. "reauditremark": {
  26787. "description": "复审备注",
  26788. "type": "string"
  26789. },
  26790. "reaudittime": {
  26791. "description": "复审时间",
  26792. "type": "string"
  26793. },
  26794. "relatedorderid": {
  26795. "description": "三方关联ID",
  26796. "type": "string"
  26797. },
  26798. "remark": {
  26799. "description": "备注",
  26800. "type": "string"
  26801. },
  26802. "remark2": {
  26803. "description": "备注(失败原因)",
  26804. "type": "string"
  26805. },
  26806. "soucreamount": {
  26807. "description": "原始出入金金额",
  26808. "type": "number"
  26809. },
  26810. "soucrecurrencyid": {
  26811. "description": "原始出入金币种",
  26812. "type": "integer"
  26813. },
  26814. "tradedate": {
  26815. "description": "交易日(yyyyMMdd)",
  26816. "type": "string"
  26817. },
  26818. "updatetime": {
  26819. "description": "更新时间(申请时间)",
  26820. "type": "string"
  26821. },
  26822. "userid": {
  26823. "description": "用户id",
  26824. "type": "integer"
  26825. },
  26826. "userinfotype": {
  26827. "description": "账户类型 1-个人 2-企业",
  26828. "type": "integer"
  26829. }
  26830. }
  26831. },
  26832. "models.QhjMgrBrokerApply": {
  26833. "type": "object",
  26834. "properties": {
  26835. "applicantid": {
  26836. "description": "申请人",
  26837. "type": "integer"
  26838. },
  26839. "applysrc": {
  26840. "description": "申请来源 - 1:管理端 2:终端",
  26841. "type": "integer"
  26842. },
  26843. "applystatus": {
  26844. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26845. "type": "integer"
  26846. },
  26847. "applytime": {
  26848. "description": "申请时间",
  26849. "type": "string"
  26850. },
  26851. "auditorid": {
  26852. "description": "审核人",
  26853. "type": "integer"
  26854. },
  26855. "auditremark": {
  26856. "description": "审核备注",
  26857. "type": "string"
  26858. },
  26859. "auditsrc": {
  26860. "description": "审核来源 - 1:管理端 2:终端",
  26861. "type": "integer"
  26862. },
  26863. "audittime": {
  26864. "description": "审核时间",
  26865. "type": "string"
  26866. },
  26867. "audittradedate": {
  26868. "description": "审核交易日(yyyyMMdd)",
  26869. "type": "string"
  26870. },
  26871. "brokerapplyid": {
  26872. "description": "申请ID(SEQ_BROKERAPPLY)",
  26873. "type": "integer"
  26874. },
  26875. "cardbackphotourl": {
  26876. "description": "证件背面图片地址",
  26877. "type": "string"
  26878. },
  26879. "cardfrontphotourl": {
  26880. "description": "证件正面图片地址",
  26881. "type": "string"
  26882. },
  26883. "cardnum": {
  26884. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26885. "type": "string"
  26886. },
  26887. "customername": {
  26888. "description": "姓名",
  26889. "type": "string"
  26890. },
  26891. "filterstatus": {
  26892. "description": "筛选条件",
  26893. "type": "string"
  26894. },
  26895. "logincode": {
  26896. "description": "登录代码",
  26897. "type": "string"
  26898. },
  26899. "mobile": {
  26900. "description": "手机号码",
  26901. "type": "string"
  26902. },
  26903. "parentuserid": {
  26904. "description": "所属机构id",
  26905. "type": "integer"
  26906. },
  26907. "parentusername": {
  26908. "description": "所属机构名称",
  26909. "type": "string"
  26910. },
  26911. "refereeuserid": {
  26912. "description": "推荐人id(经纪人)",
  26913. "type": "integer"
  26914. },
  26915. "refernum": {
  26916. "description": "推荐码",
  26917. "type": "string"
  26918. },
  26919. "remark": {
  26920. "description": "备注",
  26921. "type": "string"
  26922. },
  26923. "subarealevelpath": {
  26924. "description": "层级路径",
  26925. "type": "string"
  26926. },
  26927. "tradedate": {
  26928. "description": "交易日(yyyyMMdd)",
  26929. "type": "string"
  26930. },
  26931. "userid": {
  26932. "description": "申请人用户ID",
  26933. "type": "integer"
  26934. },
  26935. "userinfotype": {
  26936. "description": "用户类型 1-个人 2-企业",
  26937. "type": "integer"
  26938. },
  26939. "username": {
  26940. "description": "用户名称",
  26941. "type": "string"
  26942. }
  26943. }
  26944. },
  26945. "models.QhjMgrBrokerRewardReport": {
  26946. "type": "object",
  26947. "properties": {
  26948. "createtime": {
  26949. "description": "创建时间(注册时间)",
  26950. "type": "string"
  26951. },
  26952. "cycletime": {
  26953. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26954. "type": "string"
  26955. },
  26956. "cycletype": {
  26957. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26958. "type": "integer"
  26959. },
  26960. "directtotalnum": {
  26961. "description": "直推总人数【期末】",
  26962. "type": "integer"
  26963. },
  26964. "indirecttotalnum": {
  26965. "description": "间推总人数【期末】",
  26966. "type": "integer"
  26967. },
  26968. "mobile": {
  26969. "description": "电话号码",
  26970. "type": "string"
  26971. },
  26972. "refereeuserid": {
  26973. "description": "推荐人id(经纪人id)",
  26974. "type": "integer"
  26975. },
  26976. "refereeusername": {
  26977. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26978. "type": "string"
  26979. },
  26980. "refernum": {
  26981. "description": "推荐码",
  26982. "type": "string"
  26983. },
  26984. "subarealevelpath": {
  26985. "description": "用户层级路径",
  26986. "type": "string"
  26987. },
  26988. "todayrewardamount": {
  26989. "description": "奖励总金额【汇总】",
  26990. "type": "number"
  26991. },
  26992. "updatetime": {
  26993. "description": "更新时间",
  26994. "type": "string"
  26995. },
  26996. "userid": {
  26997. "description": "经纪人用户ID",
  26998. "type": "integer"
  26999. },
  27000. "userinfotype": {
  27001. "description": "用户类型 1-个人 2-企业",
  27002. "type": "integer"
  27003. },
  27004. "username": {
  27005. "description": "用户名称",
  27006. "type": "string"
  27007. }
  27008. }
  27009. },
  27010. "models.QhjMgrContract": {
  27011. "type": "object",
  27012. "properties": {
  27013. "contractconfirmtime": {
  27014. "description": "合同确认时间(时间)",
  27015. "type": "string"
  27016. },
  27017. "currisklevel": {
  27018. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27019. "type": "integer"
  27020. },
  27021. "decimalplace": {
  27022. "description": "商品报价小数位",
  27023. "type": "integer"
  27024. },
  27025. "enumdicname": {
  27026. "description": "单位名称",
  27027. "type": "string"
  27028. },
  27029. "goodscode": {
  27030. "description": "商品代码",
  27031. "type": "string"
  27032. },
  27033. "goodsid": {
  27034. "description": "商品ID [5:融资单]",
  27035. "type": "integer"
  27036. },
  27037. "goodsname": {
  27038. "description": "商品名称",
  27039. "type": "string"
  27040. },
  27041. "goodunitid": {
  27042. "description": "商品单位id",
  27043. "type": "integer"
  27044. },
  27045. "initmargin": {
  27046. "description": "初始保证金(首付款)",
  27047. "type": "number"
  27048. },
  27049. "lenderamount": {
  27050. "description": "贷款金额(总额|订单总额)",
  27051. "type": "number"
  27052. },
  27053. "logincode": {
  27054. "description": "账号(登录代码)",
  27055. "type": "string"
  27056. },
  27057. "marginratio": {
  27058. "description": "保证金比率(首付比例)",
  27059. "type": "number"
  27060. },
  27061. "mobile": {
  27062. "description": "电话号码(用户资料里的电话)",
  27063. "type": "string"
  27064. },
  27065. "payamount": {
  27066. "description": "已付(已付货款)",
  27067. "type": "number"
  27068. },
  27069. "reckonrecovermargin": {
  27070. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27071. "type": "number"
  27072. },
  27073. "recoveredmargin": {
  27074. "description": "已追缴保证金",
  27075. "type": "number"
  27076. },
  27077. "remainamount": {
  27078. "description": "合同剩余金额(融资额)",
  27079. "type": "number"
  27080. },
  27081. "scfcontractid": {
  27082. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27083. "type": "string"
  27084. },
  27085. "scfcontractstatus": {
  27086. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27087. "type": "integer"
  27088. },
  27089. "scfcontracttype": {
  27090. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27091. "type": "integer"
  27092. },
  27093. "totalinterest": {
  27094. "description": "已计总利息(利息)",
  27095. "type": "number"
  27096. },
  27097. "tradedate": {
  27098. "description": "交易日",
  27099. "type": "string"
  27100. },
  27101. "tradeprice": {
  27102. "description": "成交价格(成本价格)",
  27103. "type": "number"
  27104. },
  27105. "userid": {
  27106. "description": "用户ID",
  27107. "type": "integer"
  27108. },
  27109. "userinfotype": {
  27110. "description": "用户类型 1-个人 2-企业",
  27111. "type": "integer"
  27112. },
  27113. "username": {
  27114. "description": "用户名称",
  27115. "type": "string"
  27116. },
  27117. "wrqty": {
  27118. "description": "仓单数量(数量)",
  27119. "type": "number"
  27120. }
  27121. }
  27122. },
  27123. "models.QhjMgrCustomer": {
  27124. "type": "object",
  27125. "properties": {
  27126. "address": {
  27127. "description": "通讯地址",
  27128. "type": "string"
  27129. },
  27130. "attachment1": {
  27131. "description": "附件1",
  27132. "type": "string"
  27133. },
  27134. "audittime": {
  27135. "description": "审核时间",
  27136. "type": "string"
  27137. },
  27138. "birthday": {
  27139. "description": "生日",
  27140. "type": "string"
  27141. },
  27142. "brokerid": {
  27143. "description": "所属客户经理id",
  27144. "type": "integer"
  27145. },
  27146. "brokername": {
  27147. "description": "所属客户经理名称",
  27148. "type": "string"
  27149. },
  27150. "cardbackphotourl": {
  27151. "description": "证件反面图片地址",
  27152. "type": "string"
  27153. },
  27154. "cardfrontphotourl": {
  27155. "description": "证件正面图片地址",
  27156. "type": "string"
  27157. },
  27158. "cardnum": {
  27159. "description": "证件号码",
  27160. "type": "string"
  27161. },
  27162. "cardtype": {
  27163. "description": "证件类型",
  27164. "type": "integer"
  27165. },
  27166. "cardtypename": {
  27167. "description": "证件类型名称",
  27168. "type": "string"
  27169. },
  27170. "cityid": {
  27171. "description": "市",
  27172. "type": "integer"
  27173. },
  27174. "cityname": {
  27175. "description": "城市名称",
  27176. "type": "string"
  27177. },
  27178. "contactname": {
  27179. "description": "联系人",
  27180. "type": "string"
  27181. },
  27182. "countryid": {
  27183. "description": "国家",
  27184. "type": "integer"
  27185. },
  27186. "countryname": {
  27187. "description": "国家名称",
  27188. "type": "string"
  27189. },
  27190. "createtime": {
  27191. "description": "创建时间",
  27192. "type": "string"
  27193. },
  27194. "customername": {
  27195. "description": "客户名称",
  27196. "type": "string"
  27197. },
  27198. "districtid": {
  27199. "description": "区域",
  27200. "type": "integer"
  27201. },
  27202. "districtname": {
  27203. "description": "地区名称",
  27204. "type": "string"
  27205. },
  27206. "email": {
  27207. "description": "邮件",
  27208. "type": "string"
  27209. },
  27210. "legalpersonname": {
  27211. "description": "法人姓名(企业)",
  27212. "type": "string"
  27213. },
  27214. "logincode": {
  27215. "description": "登录账号(代码)",
  27216. "type": "string"
  27217. },
  27218. "memberuserid": {
  27219. "description": "所属机构ID(所属会员)",
  27220. "type": "integer"
  27221. },
  27222. "memberusername": {
  27223. "description": "所属会员名称",
  27224. "type": "string"
  27225. },
  27226. "mobile": {
  27227. "description": "手机号码",
  27228. "type": "string"
  27229. },
  27230. "modifytime": {
  27231. "description": "修改时间",
  27232. "type": "string"
  27233. },
  27234. "nickname": {
  27235. "description": "昵称",
  27236. "type": "string"
  27237. },
  27238. "parentuserid": {
  27239. "description": "上级机构(所属机构)",
  27240. "type": "integer"
  27241. },
  27242. "parentusername": {
  27243. "description": "所属机构名称",
  27244. "type": "string"
  27245. },
  27246. "provinceid": {
  27247. "description": "省",
  27248. "type": "integer"
  27249. },
  27250. "provincename": {
  27251. "description": "省名称",
  27252. "type": "string"
  27253. },
  27254. "proxystatementurl": {
  27255. "description": "授权委托书",
  27256. "type": "string"
  27257. },
  27258. "querytype": {
  27259. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27260. "type": "integer"
  27261. },
  27262. "remark": {
  27263. "description": "备注",
  27264. "type": "string"
  27265. },
  27266. "sex": {
  27267. "description": "性别 0-女 1-男",
  27268. "type": "integer"
  27269. },
  27270. "status": {
  27271. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27272. "type": "integer"
  27273. },
  27274. "statusdesc": {
  27275. "description": "账户状态中文描述",
  27276. "type": "string"
  27277. },
  27278. "taxpayernum": {
  27279. "description": "纳税人识别号",
  27280. "type": "string"
  27281. },
  27282. "telphone": {
  27283. "description": "联系电话",
  27284. "type": "string"
  27285. },
  27286. "userid": {
  27287. "description": "用户ID",
  27288. "type": "integer"
  27289. },
  27290. "userinfotype": {
  27291. "description": "客户类型 1-个人 2-企业",
  27292. "type": "integer"
  27293. },
  27294. "username": {
  27295. "description": "用户名称",
  27296. "type": "string"
  27297. }
  27298. }
  27299. },
  27300. "models.QhjMgrPickGoods": {
  27301. "type": "object",
  27302. "properties": {
  27303. "enumdicname": {
  27304. "description": "单位名称(提货商品)",
  27305. "type": "string"
  27306. },
  27307. "goodsid": {
  27308. "description": "商品id",
  27309. "type": "integer"
  27310. },
  27311. "imageaddress": {
  27312. "description": "图片",
  27313. "type": "string"
  27314. },
  27315. "modifierid": {
  27316. "description": "修改人",
  27317. "type": "integer"
  27318. },
  27319. "modifiername": {
  27320. "description": "修改人名称",
  27321. "type": "string"
  27322. },
  27323. "modifysrc": {
  27324. "description": "修改来源 - 1:管理端 2:终端",
  27325. "type": "integer"
  27326. },
  27327. "pickupgoodsagreeunit": {
  27328. "description": "合约乘数",
  27329. "type": "number"
  27330. },
  27331. "pickupgoodsdesc": {
  27332. "description": "描述",
  27333. "type": "string"
  27334. },
  27335. "pickupgoodsid": {
  27336. "description": "提货商品ID",
  27337. "type": "string"
  27338. },
  27339. "pickupgoodsname": {
  27340. "description": "提货商品名称",
  27341. "type": "string"
  27342. },
  27343. "pickupgoodsstatus": {
  27344. "description": "状态 - 1:正常 2:停用 3:注销",
  27345. "type": "integer"
  27346. },
  27347. "pickupgoodsunitid": {
  27348. "description": "单位ID",
  27349. "type": "integer"
  27350. },
  27351. "pickupratio": {
  27352. "description": "提货系数",
  27353. "type": "number"
  27354. },
  27355. "preparedays": {
  27356. "description": "备货期(天)",
  27357. "type": "integer"
  27358. },
  27359. "remark": {
  27360. "description": "备注",
  27361. "type": "string"
  27362. },
  27363. "updatetime": {
  27364. "description": "更新时间",
  27365. "type": "string"
  27366. }
  27367. }
  27368. },
  27369. "models.QhjMgrPositionRsp": {
  27370. "type": "object",
  27371. "properties": {
  27372. "accountid": {
  27373. "description": "账号Id",
  27374. "type": "integer"
  27375. },
  27376. "accountname": {
  27377. "description": "用户名称",
  27378. "type": "string"
  27379. },
  27380. "agreeunit": {
  27381. "description": "合约乘数",
  27382. "type": "number"
  27383. },
  27384. "averageprice": {
  27385. "description": "均价",
  27386. "type": "number"
  27387. },
  27388. "avialqty": {
  27389. "description": "可用数量",
  27390. "type": "number"
  27391. },
  27392. "decimalplace": {
  27393. "description": "报价小数位",
  27394. "type": "integer"
  27395. },
  27396. "enumdicname": {
  27397. "description": "单位名称(商品)",
  27398. "type": "string"
  27399. },
  27400. "frozenqty": {
  27401. "description": "冻结数量",
  27402. "type": "number"
  27403. },
  27404. "goodscode": {
  27405. "description": "商品代码(内部)",
  27406. "type": "string"
  27407. },
  27408. "goodsid": {
  27409. "description": "商品Id",
  27410. "type": "integer"
  27411. },
  27412. "goodsname": {
  27413. "description": "商品名称",
  27414. "type": "string"
  27415. },
  27416. "goodunitid": {
  27417. "description": "报价单位ID",
  27418. "type": "integer"
  27419. },
  27420. "holderamount": {
  27421. "description": "金额",
  27422. "type": "number"
  27423. },
  27424. "holderqty": {
  27425. "description": "持有数量",
  27426. "type": "number"
  27427. },
  27428. "holdertype": {
  27429. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27430. "type": "integer"
  27431. },
  27432. "logincode": {
  27433. "description": "登录代码(账户)",
  27434. "type": "string"
  27435. },
  27436. "marketid": {
  27437. "description": "市场id",
  27438. "type": "integer"
  27439. },
  27440. "qtydecimalplace": {
  27441. "description": "成交量小数位",
  27442. "type": "integer"
  27443. },
  27444. "trademode": {
  27445. "description": "交易模式",
  27446. "type": "integer"
  27447. },
  27448. "userid": {
  27449. "description": "用户id",
  27450. "type": "integer"
  27451. },
  27452. "userinfotype": {
  27453. "description": "账户类型 1-个人 2-企业",
  27454. "type": "integer"
  27455. }
  27456. }
  27457. },
  27458. "models.QhjMgrSubArea": {
  27459. "type": "object",
  27460. "properties": {
  27461. "accountname": {
  27462. "description": "账户名称(机构名称)",
  27463. "type": "string"
  27464. },
  27465. "memberuserid": {
  27466. "description": "所属会员ID",
  27467. "type": "integer"
  27468. },
  27469. "parenttopuser": {
  27470. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27471. "type": "string"
  27472. },
  27473. "parentuserid": {
  27474. "description": "所属机构ID",
  27475. "type": "integer"
  27476. },
  27477. "rootuserid": {
  27478. "description": "根用户ID",
  27479. "type": "string"
  27480. },
  27481. "subaccountlevel": {
  27482. "description": "子账户层数",
  27483. "type": "integer"
  27484. },
  27485. "subarealevelpath": {
  27486. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27487. "type": "string"
  27488. },
  27489. "userid": {
  27490. "description": "用户ID",
  27491. "type": "integer"
  27492. },
  27493. "usertype": {
  27494. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27495. "type": "integer"
  27496. }
  27497. }
  27498. },
  27499. "models.QhjMgrTradeDetailRsp": {
  27500. "type": "object",
  27501. "properties": {
  27502. "accountid": {
  27503. "description": "资金账号",
  27504. "type": "integer"
  27505. },
  27506. "accountname": {
  27507. "description": "用户名称",
  27508. "type": "string"
  27509. },
  27510. "agreeunit": {
  27511. "description": "合约乘数",
  27512. "type": "number"
  27513. },
  27514. "buyorsell": {
  27515. "description": "成交类型(方向) 0:买 1:卖",
  27516. "type": "integer"
  27517. },
  27518. "decimalplace": {
  27519. "description": "报价小数位",
  27520. "type": "integer"
  27521. },
  27522. "enumdicname": {
  27523. "description": "单位名称(商品)",
  27524. "type": "string"
  27525. },
  27526. "goodscode": {
  27527. "description": "商品代码(内部)",
  27528. "type": "string"
  27529. },
  27530. "goodsid": {
  27531. "description": "商品id",
  27532. "type": "integer"
  27533. },
  27534. "goodsname": {
  27535. "description": "商品名称",
  27536. "type": "string"
  27537. },
  27538. "goodunitid": {
  27539. "description": "报价单位ID",
  27540. "type": "integer"
  27541. },
  27542. "logincode": {
  27543. "description": "登录代码(账户)",
  27544. "type": "string"
  27545. },
  27546. "marketid": {
  27547. "description": "市场id",
  27548. "type": "integer"
  27549. },
  27550. "orderid": {
  27551. "description": "关联委托单号",
  27552. "type": "string"
  27553. },
  27554. "qtydecimalplace": {
  27555. "description": "成交量小数位",
  27556. "type": "integer"
  27557. },
  27558. "tradeamount": {
  27559. "description": "金额",
  27560. "type": "number"
  27561. },
  27562. "tradedate": {
  27563. "description": "交易日",
  27564. "type": "string"
  27565. },
  27566. "tradeid": {
  27567. "description": "成交单号",
  27568. "type": "string"
  27569. },
  27570. "trademode": {
  27571. "description": "交易模式",
  27572. "type": "integer"
  27573. },
  27574. "tradeprice": {
  27575. "description": "价格",
  27576. "type": "number"
  27577. },
  27578. "tradeqty": {
  27579. "description": "数量",
  27580. "type": "number"
  27581. },
  27582. "tradetime": {
  27583. "description": "成交时间",
  27584. "type": "string"
  27585. },
  27586. "userid": {
  27587. "description": "用户id",
  27588. "type": "integer"
  27589. },
  27590. "userinfotype": {
  27591. "description": "账户类型 1-个人 2-企业",
  27592. "type": "integer"
  27593. }
  27594. }
  27595. },
  27596. "models.QhjMgrTradeOrderDetailRsp": {
  27597. "type": "object",
  27598. "properties": {
  27599. "accountid": {
  27600. "description": "资金账号",
  27601. "type": "integer"
  27602. },
  27603. "accountname": {
  27604. "description": "用户名称",
  27605. "type": "string"
  27606. },
  27607. "agreeunit": {
  27608. "description": "合约乘数",
  27609. "type": "number"
  27610. },
  27611. "amount": {
  27612. "description": "金额",
  27613. "type": "number"
  27614. },
  27615. "decimalplace": {
  27616. "description": "报价小数位",
  27617. "type": "integer"
  27618. },
  27619. "enumdicname": {
  27620. "description": "单位名称(商品)",
  27621. "type": "string"
  27622. },
  27623. "goodscode": {
  27624. "description": "商品代码(内部)",
  27625. "type": "string"
  27626. },
  27627. "goodsid": {
  27628. "description": "商品id",
  27629. "type": "integer"
  27630. },
  27631. "goodsname": {
  27632. "description": "商品名称",
  27633. "type": "string"
  27634. },
  27635. "goodunitid": {
  27636. "description": "报价单位ID",
  27637. "type": "integer"
  27638. },
  27639. "logincode": {
  27640. "description": "登录代码(账户)",
  27641. "type": "string"
  27642. },
  27643. "marketid": {
  27644. "description": "市场id",
  27645. "type": "integer"
  27646. },
  27647. "orderid": {
  27648. "description": "关联委托单号",
  27649. "type": "string"
  27650. },
  27651. "orderprice": {
  27652. "description": "价格",
  27653. "type": "number"
  27654. },
  27655. "orderqty": {
  27656. "description": "数量",
  27657. "type": "number"
  27658. },
  27659. "orderstatus": {
  27660. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27661. "type": "integer"
  27662. },
  27663. "ordertime": {
  27664. "description": "委托时间",
  27665. "type": "string"
  27666. },
  27667. "qtydecimalplace": {
  27668. "description": "成交量小数位",
  27669. "type": "integer"
  27670. },
  27671. "tradedate": {
  27672. "description": "交易日",
  27673. "type": "string"
  27674. },
  27675. "trademode": {
  27676. "description": "交易模式",
  27677. "type": "integer"
  27678. },
  27679. "userid": {
  27680. "description": "用户id",
  27681. "type": "integer"
  27682. },
  27683. "userinfotype": {
  27684. "description": "账户类型 1-个人 2-企业",
  27685. "type": "integer"
  27686. }
  27687. }
  27688. },
  27689. "models.QhjMgrTradePayOrder": {
  27690. "type": "object",
  27691. "properties": {
  27692. "accountname": {
  27693. "description": "用户名称",
  27694. "type": "string"
  27695. },
  27696. "advanceratio": {
  27697. "description": "首付比率",
  27698. "type": "number"
  27699. },
  27700. "agreeunit": {
  27701. "description": "合约乘数",
  27702. "type": "number"
  27703. },
  27704. "buyaccountid": {
  27705. "description": "买方账号ID[报价币种]",
  27706. "type": "integer"
  27707. },
  27708. "buyorderid": {
  27709. "description": "买方委托单号(关联单号)",
  27710. "type": "string"
  27711. },
  27712. "createtime": {
  27713. "description": "创建时间",
  27714. "type": "string"
  27715. },
  27716. "decimalplace": {
  27717. "description": "报价小数位",
  27718. "type": "integer"
  27719. },
  27720. "enumdicname": {
  27721. "description": "单位名称(商品)",
  27722. "type": "string"
  27723. },
  27724. "goodscode": {
  27725. "description": "商品代码(内部)",
  27726. "type": "string"
  27727. },
  27728. "goodsid": {
  27729. "description": "商品ID",
  27730. "type": "integer"
  27731. },
  27732. "goodsname": {
  27733. "description": "商品名称",
  27734. "type": "string"
  27735. },
  27736. "goodunitid": {
  27737. "description": "报价单位ID",
  27738. "type": "integer"
  27739. },
  27740. "logincode": {
  27741. "description": "登录代码(账户)",
  27742. "type": "string"
  27743. },
  27744. "marketid": {
  27745. "description": "市场id",
  27746. "type": "integer"
  27747. },
  27748. "offamount": {
  27749. "description": "优惠金额",
  27750. "type": "number"
  27751. },
  27752. "operatetype": {
  27753. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27754. "type": "integer"
  27755. },
  27756. "payamount": {
  27757. "description": "支付金额(金额)",
  27758. "type": "number"
  27759. },
  27760. "payflag": {
  27761. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27762. "type": "integer"
  27763. },
  27764. "paylimitedtime": {
  27765. "description": "支付期限",
  27766. "type": "string"
  27767. },
  27768. "paytime": {
  27769. "description": "付款时间",
  27770. "type": "string"
  27771. },
  27772. "qtydecimalplace": {
  27773. "description": "成交量小数位",
  27774. "type": "integer"
  27775. },
  27776. "sellaccountid": {
  27777. "description": "卖方账号ID[报价币种]",
  27778. "type": "integer"
  27779. },
  27780. "sellorderid": {
  27781. "description": "卖方委托单号",
  27782. "type": "string"
  27783. },
  27784. "tradeamount": {
  27785. "description": "成交金额(优惠后金额)",
  27786. "type": "number"
  27787. },
  27788. "tradecharge": {
  27789. "description": "成交手续费(买方)",
  27790. "type": "number"
  27791. },
  27792. "tradedate": {
  27793. "description": "交易日(yyyyMMdd)",
  27794. "type": "string"
  27795. },
  27796. "tradeid": {
  27797. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27798. "type": "string"
  27799. },
  27800. "trademode": {
  27801. "description": "交易模式",
  27802. "type": "integer"
  27803. },
  27804. "tradeprice": {
  27805. "description": "成交价格(价格)",
  27806. "type": "number"
  27807. },
  27808. "tradeqty": {
  27809. "description": "成交数量(数量)",
  27810. "type": "number"
  27811. },
  27812. "tradetime": {
  27813. "description": "成交时间",
  27814. "type": "string"
  27815. },
  27816. "userid": {
  27817. "description": "用户id",
  27818. "type": "integer"
  27819. },
  27820. "userinfotype": {
  27821. "description": "账户类型 1-个人 2-企业",
  27822. "type": "integer"
  27823. }
  27824. }
  27825. },
  27826. "models.QhjMyTeamEx": {
  27827. "type": "object",
  27828. "properties": {
  27829. "accountname": {
  27830. "description": "用户名称",
  27831. "type": "string"
  27832. },
  27833. "accountstatus": {
  27834. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27835. "type": "integer"
  27836. },
  27837. "createtime": {
  27838. "description": "创建时间",
  27839. "type": "string"
  27840. },
  27841. "mobile": {
  27842. "description": "手机号码",
  27843. "type": "string"
  27844. },
  27845. "refereeuserid": {
  27846. "description": "推荐人id",
  27847. "type": "integer"
  27848. },
  27849. "refernum": {
  27850. "description": "推荐码",
  27851. "type": "string"
  27852. },
  27853. "subList": {
  27854. "type": "array",
  27855. "items": {
  27856. "$ref": "#/definitions/models.QhjMyTeamEx"
  27857. }
  27858. },
  27859. "userid": {
  27860. "description": "用户id",
  27861. "type": "integer"
  27862. },
  27863. "userinfotype": {
  27864. "description": "用户类型 1-个人 2-企业",
  27865. "type": "integer"
  27866. }
  27867. }
  27868. },
  27869. "models.QhjNodeAgreementConfig": {
  27870. "type": "object",
  27871. "properties": {
  27872. "agreementcontent": {
  27873. "description": "协议内容",
  27874. "type": "string"
  27875. },
  27876. "agreementid": {
  27877. "description": "协议ID",
  27878. "type": "integer"
  27879. },
  27880. "agreementname": {
  27881. "description": "协议名称",
  27882. "type": "string"
  27883. },
  27884. "agreementno": {
  27885. "description": "协议编号",
  27886. "type": "string"
  27887. },
  27888. "agreementtype": {
  27889. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27890. "type": "integer"
  27891. },
  27892. "agreementversion": {
  27893. "description": "协议版本号",
  27894. "type": "integer"
  27895. },
  27896. "configid": {
  27897. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27898. "type": "integer"
  27899. },
  27900. "createtime": {
  27901. "description": "创建时间",
  27902. "type": "string"
  27903. },
  27904. "goodsid": {
  27905. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27906. "type": "integer"
  27907. },
  27908. "nodetype": {
  27909. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27910. "type": "integer"
  27911. }
  27912. }
  27913. },
  27914. "models.QhjParentAreaList": {
  27915. "type": "object",
  27916. "properties": {
  27917. "accountname": {
  27918. "description": "账户名称(机构名称)",
  27919. "type": "string"
  27920. },
  27921. "userid": {
  27922. "description": "用户ID",
  27923. "type": "integer"
  27924. },
  27925. "usertype": {
  27926. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27927. "type": "integer"
  27928. }
  27929. }
  27930. },
  27931. "models.QhjPayOrder": {
  27932. "type": "object",
  27933. "properties": {
  27934. "advanceratio": {
  27935. "description": "首付比率",
  27936. "type": "number"
  27937. },
  27938. "buyaccountid": {
  27939. "description": "买方账号ID[报价币种]",
  27940. "type": "integer"
  27941. },
  27942. "buyorderid": {
  27943. "description": "买方委托单号",
  27944. "type": "string"
  27945. },
  27946. "createtime": {
  27947. "description": "创建时间",
  27948. "type": "string"
  27949. },
  27950. "decimalplace": {
  27951. "description": "商品报价小数位",
  27952. "type": "integer"
  27953. },
  27954. "enumdicname": {
  27955. "description": "单位名称",
  27956. "type": "string"
  27957. },
  27958. "goodscode": {
  27959. "description": "商品代码",
  27960. "type": "string"
  27961. },
  27962. "goodsid": {
  27963. "description": "商品ID",
  27964. "type": "integer"
  27965. },
  27966. "goodsname": {
  27967. "description": "商品名称",
  27968. "type": "string"
  27969. },
  27970. "goodunitid": {
  27971. "description": "商品单位id",
  27972. "type": "integer"
  27973. },
  27974. "marketid": {
  27975. "description": "市场ID",
  27976. "type": "integer"
  27977. },
  27978. "offamount": {
  27979. "description": "优惠金额",
  27980. "type": "number"
  27981. },
  27982. "operatetype": {
  27983. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27984. "type": "integer"
  27985. },
  27986. "payamount": {
  27987. "description": "支付金额",
  27988. "type": "number"
  27989. },
  27990. "payflag": {
  27991. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27992. "type": "integer"
  27993. },
  27994. "paylimitedtime": {
  27995. "description": "支付期限",
  27996. "type": "string"
  27997. },
  27998. "paytime": {
  27999. "description": "付款时间",
  28000. "type": "string"
  28001. },
  28002. "qtydecimalplace": {
  28003. "description": "成交量小数位",
  28004. "type": "integer"
  28005. },
  28006. "sellaccountid": {
  28007. "description": "卖方账号ID[报价币种]",
  28008. "type": "integer"
  28009. },
  28010. "sellorderid": {
  28011. "description": "卖方委托单号",
  28012. "type": "string"
  28013. },
  28014. "tradeamount": {
  28015. "description": "成交金额(优惠后金额)",
  28016. "type": "number"
  28017. },
  28018. "tradecharge": {
  28019. "description": "成交手续费(买方)",
  28020. "type": "number"
  28021. },
  28022. "tradedate": {
  28023. "description": "交易日(yyyyMMdd)",
  28024. "type": "string"
  28025. },
  28026. "tradeid": {
  28027. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28028. "type": "string"
  28029. },
  28030. "tradeprice": {
  28031. "description": "成交价格",
  28032. "type": "number"
  28033. },
  28034. "tradeqty": {
  28035. "description": "成交数量",
  28036. "type": "number"
  28037. }
  28038. }
  28039. },
  28040. "models.QhjPickArea": {
  28041. "type": "object",
  28042. "properties": {
  28043. "address": {
  28044. "description": "详细地址",
  28045. "type": "string"
  28046. },
  28047. "cityid": {
  28048. "description": "市",
  28049. "type": "integer"
  28050. },
  28051. "cityname": {
  28052. "description": "城市名称",
  28053. "type": "string"
  28054. },
  28055. "countryid": {
  28056. "description": "国家",
  28057. "type": "integer"
  28058. },
  28059. "countryname": {
  28060. "description": "国家名称",
  28061. "type": "string"
  28062. },
  28063. "districtid": {
  28064. "description": "地区",
  28065. "type": "integer"
  28066. },
  28067. "districtname": {
  28068. "description": "地区名称",
  28069. "type": "string"
  28070. },
  28071. "fromuserid": {
  28072. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28073. "type": "integer"
  28074. },
  28075. "fromusername": {
  28076. "description": "所属机构名称",
  28077. "type": "string"
  28078. },
  28079. "provinceid": {
  28080. "description": "省",
  28081. "type": "integer"
  28082. },
  28083. "provincename": {
  28084. "description": "省名称",
  28085. "type": "string"
  28086. },
  28087. "suborgtype": {
  28088. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28089. "type": "integer"
  28090. },
  28091. "userid": {
  28092. "description": "机构用户ID 其他做市关系,都设置为 1",
  28093. "type": "integer"
  28094. },
  28095. "username": {
  28096. "description": "机构用户名称(门店门称)",
  28097. "type": "string"
  28098. }
  28099. }
  28100. },
  28101. "models.QhjPickGoods": {
  28102. "type": "object",
  28103. "properties": {
  28104. "enumdicname": {
  28105. "description": "单位名称(提货商品)",
  28106. "type": "string"
  28107. },
  28108. "goodsid": {
  28109. "description": "商品id",
  28110. "type": "integer"
  28111. },
  28112. "imageaddress": {
  28113. "description": "图片",
  28114. "type": "string"
  28115. },
  28116. "modifierid": {
  28117. "description": "修改人",
  28118. "type": "integer"
  28119. },
  28120. "modifiername": {
  28121. "description": "修改人名称",
  28122. "type": "string"
  28123. },
  28124. "modifysrc": {
  28125. "description": "修改来源 - 1:管理端 2:终端",
  28126. "type": "integer"
  28127. },
  28128. "pickupgoodsagreeunit": {
  28129. "description": "合约乘数",
  28130. "type": "number"
  28131. },
  28132. "pickupgoodsdesc": {
  28133. "description": "描述",
  28134. "type": "string"
  28135. },
  28136. "pickupgoodsid": {
  28137. "description": "提货商品ID",
  28138. "type": "string"
  28139. },
  28140. "pickupgoodsname": {
  28141. "description": "提货商品名称",
  28142. "type": "string"
  28143. },
  28144. "pickupgoodsstatus": {
  28145. "description": "状态 - 1:正常 2:停用 3:注销",
  28146. "type": "integer"
  28147. },
  28148. "pickupgoodsunitid": {
  28149. "description": "单位ID",
  28150. "type": "integer"
  28151. },
  28152. "pickupratio": {
  28153. "description": "提货系数",
  28154. "type": "number"
  28155. },
  28156. "preparedays": {
  28157. "description": "备货期(天)",
  28158. "type": "integer"
  28159. },
  28160. "remark": {
  28161. "description": "备注",
  28162. "type": "string"
  28163. },
  28164. "updatetime": {
  28165. "description": "更新时间",
  28166. "type": "string"
  28167. }
  28168. }
  28169. },
  28170. "models.QhjRSTriggerLog": {
  28171. "type": "object",
  28172. "properties": {
  28173. "accountid": {
  28174. "description": "用户资金账户",
  28175. "type": "integer"
  28176. },
  28177. "accountname": {
  28178. "description": "账号名称(ACCOUNTID对应的名称)",
  28179. "type": "string"
  28180. },
  28181. "currencyid": {
  28182. "description": "币种id",
  28183. "type": "integer"
  28184. },
  28185. "currencyname": {
  28186. "description": "币种名称",
  28187. "type": "string"
  28188. },
  28189. "decimalplace": {
  28190. "description": "商品报价小数位",
  28191. "type": "integer"
  28192. },
  28193. "enumdicname": {
  28194. "description": "单位名称",
  28195. "type": "string"
  28196. },
  28197. "goodscode": {
  28198. "description": "定投商品代码",
  28199. "type": "string"
  28200. },
  28201. "goodsid": {
  28202. "description": "定投商品ID",
  28203. "type": "integer"
  28204. },
  28205. "goodsname": {
  28206. "description": "定投商品名称",
  28207. "type": "string"
  28208. },
  28209. "goodunitid": {
  28210. "description": "定投商品单位id",
  28211. "type": "integer"
  28212. },
  28213. "logid": {
  28214. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28215. "type": "string"
  28216. },
  28217. "logincode": {
  28218. "description": "账号(登录代码)",
  28219. "type": "string"
  28220. },
  28221. "qtydecimalplace": {
  28222. "description": "成交量小数位",
  28223. "type": "integer"
  28224. },
  28225. "regularlycycle": {
  28226. "description": "定投频率 - 1:每周 2:每月",
  28227. "type": "integer"
  28228. },
  28229. "regularlycyclevalue": {
  28230. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28231. "type": "string"
  28232. },
  28233. "regularlymode": {
  28234. "description": "定投方式 - 1:按数量 2:按金额",
  28235. "type": "integer"
  28236. },
  28237. "regularlymodevalue": {
  28238. "description": "定投方式值 - 数量或金额",
  28239. "type": "number"
  28240. },
  28241. "regularlystrategyid": {
  28242. "description": "定投策略ID",
  28243. "type": "integer"
  28244. },
  28245. "retcode": {
  28246. "description": "错误码",
  28247. "type": "string"
  28248. },
  28249. "tradeid": {
  28250. "description": "成交单ID",
  28251. "type": "string"
  28252. },
  28253. "triggeramount": {
  28254. "description": "触发金额",
  28255. "type": "number"
  28256. },
  28257. "triggerqty": {
  28258. "description": "触发数量",
  28259. "type": "number"
  28260. },
  28261. "triggerstatus": {
  28262. "description": "触发状态 - 1:成功 2:失败",
  28263. "type": "integer"
  28264. },
  28265. "triggertime": {
  28266. "description": "触发时间",
  28267. "type": "string"
  28268. },
  28269. "triggertradedate": {
  28270. "description": "触发交易日",
  28271. "type": "string"
  28272. },
  28273. "userid": {
  28274. "description": "所属用户ID",
  28275. "type": "integer"
  28276. },
  28277. "userinfotype": {
  28278. "description": "用户类型 1-个人 2-企业",
  28279. "type": "integer"
  28280. },
  28281. "username": {
  28282. "description": "用户名称(userid对应的名称)",
  28283. "type": "string"
  28284. }
  28285. }
  28286. },
  28287. "models.QhjRStrategy": {
  28288. "type": "object",
  28289. "properties": {
  28290. "accountid": {
  28291. "description": "用户资金账户",
  28292. "type": "integer"
  28293. },
  28294. "accountname": {
  28295. "description": "账号名称(ACCOUNTID对应的名称)",
  28296. "type": "string"
  28297. },
  28298. "currencyid": {
  28299. "description": "币种id",
  28300. "type": "integer"
  28301. },
  28302. "currencyname": {
  28303. "description": "币种名称",
  28304. "type": "string"
  28305. },
  28306. "decimalplace": {
  28307. "description": "商品报价小数位",
  28308. "type": "integer"
  28309. },
  28310. "enumdicname": {
  28311. "description": "单位名称",
  28312. "type": "string"
  28313. },
  28314. "goodscode": {
  28315. "description": "定投商品代码",
  28316. "type": "string"
  28317. },
  28318. "goodsid": {
  28319. "description": "定投商品ID",
  28320. "type": "integer"
  28321. },
  28322. "goodsname": {
  28323. "description": "定投商品名称",
  28324. "type": "string"
  28325. },
  28326. "goodunitid": {
  28327. "description": "定投商品单位id",
  28328. "type": "integer"
  28329. },
  28330. "lasteffecttradedate": {
  28331. "description": "最新生效交易日",
  28332. "type": "string"
  28333. },
  28334. "laststoptradedate": {
  28335. "description": "最新暂停交易日",
  28336. "type": "string"
  28337. },
  28338. "lasttriggertradedate": {
  28339. "description": "最新触发交易日",
  28340. "type": "string"
  28341. },
  28342. "logincode": {
  28343. "description": "账号(登录代码)",
  28344. "type": "string"
  28345. },
  28346. "nexttriggeramount": {
  28347. "description": "下次触发金额",
  28348. "type": "number"
  28349. },
  28350. "nexttriggerdate": {
  28351. "description": "下次触发日期",
  28352. "type": "string"
  28353. },
  28354. "nexttriggerqty": {
  28355. "description": "下次触发数量 [按小数位放大值]",
  28356. "type": "number"
  28357. },
  28358. "qtydecimalplace": {
  28359. "description": "成交量小数位",
  28360. "type": "integer"
  28361. },
  28362. "regularlycycle": {
  28363. "description": "定投频率 - 1:每周 2:每月",
  28364. "type": "integer"
  28365. },
  28366. "regularlycyclevalue": {
  28367. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28368. "type": "string"
  28369. },
  28370. "regularlymode": {
  28371. "description": "定投方式 - 1:按数量 2:按金额",
  28372. "type": "integer"
  28373. },
  28374. "regularlymodevalue": {
  28375. "description": "定投方式值 - 数量或金额",
  28376. "type": "number"
  28377. },
  28378. "regularlystrategyid": {
  28379. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28380. "type": "integer"
  28381. },
  28382. "regularlystrategystatus": {
  28383. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28384. "type": "integer"
  28385. },
  28386. "remark": {
  28387. "description": "备注",
  28388. "type": "string"
  28389. },
  28390. "triggersuccesstimes": {
  28391. "description": "累计定投成功次数",
  28392. "type": "string"
  28393. },
  28394. "triggertotalamount": {
  28395. "description": "累计定投金额(成功)",
  28396. "type": "number"
  28397. },
  28398. "triggertotalqty": {
  28399. "description": "累计定投数量(成功) [按小数位放大值]",
  28400. "type": "number"
  28401. },
  28402. "triggertotaltimes": {
  28403. "description": "累计定投总次数",
  28404. "type": "string"
  28405. },
  28406. "updatesrc": {
  28407. "description": "更新来源 - 1:管理端 2:终端",
  28408. "type": "integer"
  28409. },
  28410. "updatetime": {
  28411. "description": "更新时间",
  28412. "type": "string"
  28413. },
  28414. "updatorid": {
  28415. "description": "更新人",
  28416. "type": "string"
  28417. },
  28418. "userid": {
  28419. "description": "所属用户ID",
  28420. "type": "integer"
  28421. },
  28422. "userinfotype": {
  28423. "description": "用户类型 1-个人 2-企业",
  28424. "type": "integer"
  28425. },
  28426. "username": {
  28427. "description": "用户名称(userid对应的名称)",
  28428. "type": "string"
  28429. }
  28430. }
  28431. },
  28432. "models.QhjReckonPriceLog": {
  28433. "type": "object",
  28434. "properties": {
  28435. "decimalplace": {
  28436. "description": "商品报价小数位",
  28437. "type": "integer"
  28438. },
  28439. "goodscode": {
  28440. "description": "商品代码",
  28441. "type": "string"
  28442. },
  28443. "goodsid": {
  28444. "description": "商品ID",
  28445. "type": "integer"
  28446. },
  28447. "goodsname": {
  28448. "description": "商品名称",
  28449. "type": "string"
  28450. },
  28451. "lastreckonprice": {
  28452. "description": "上日结算价",
  28453. "type": "number"
  28454. },
  28455. "nextdnlimitprice": {
  28456. "description": "下个交易日跌停价",
  28457. "type": "number"
  28458. },
  28459. "nexttrade": {
  28460. "description": "下个交易日",
  28461. "type": "string"
  28462. },
  28463. "nextuplimitprice": {
  28464. "description": "下个交易日涨停价",
  28465. "type": "number"
  28466. },
  28467. "reckonprice": {
  28468. "description": "今日结算价(定投价)",
  28469. "type": "number"
  28470. },
  28471. "reckontime": {
  28472. "description": "结算时间",
  28473. "type": "string"
  28474. },
  28475. "totalholderqty": {
  28476. "description": "总持仓数",
  28477. "type": "integer"
  28478. },
  28479. "totalstock": {
  28480. "description": "总库存",
  28481. "type": "integer"
  28482. },
  28483. "tradedate": {
  28484. "description": "交易日",
  28485. "type": "string"
  28486. },
  28487. "updowncount": {
  28488. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28489. "type": "integer"
  28490. },
  28491. "updownflag": {
  28492. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28493. "type": "integer"
  28494. },
  28495. "updownrate": {
  28496. "description": "今日涨跌幅",
  28497. "type": "number"
  28498. },
  28499. "updownrate_2d": {
  28500. "description": "连续两日涨跌幅",
  28501. "type": "number"
  28502. },
  28503. "updownrate_3d": {
  28504. "description": "连续三日涨跌幅",
  28505. "type": "number"
  28506. }
  28507. }
  28508. },
  28509. "models.QhjScoreLog": {
  28510. "type": "object",
  28511. "properties": {
  28512. "accountid": {
  28513. "description": "账户ID",
  28514. "type": "integer"
  28515. },
  28516. "createtime": {
  28517. "description": "创建时间(时间)",
  28518. "type": "string"
  28519. },
  28520. "goodsid": {
  28521. "description": "商品ID",
  28522. "type": "integer"
  28523. },
  28524. "hasuploaded": {
  28525. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28526. "type": "integer"
  28527. },
  28528. "logid": {
  28529. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28530. "type": "string"
  28531. },
  28532. "marketid": {
  28533. "description": "市场ID",
  28534. "type": "integer"
  28535. },
  28536. "relatedamount": {
  28537. "description": "关联金额",
  28538. "type": "number"
  28539. },
  28540. "relatedorderid": {
  28541. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28542. "type": "string"
  28543. },
  28544. "scoreconfigvalue1": {
  28545. "description": "积分配置1",
  28546. "type": "integer"
  28547. },
  28548. "scoreconfigvalue2": {
  28549. "description": "积分配置1",
  28550. "type": "integer"
  28551. },
  28552. "scoretype": {
  28553. "description": "积分类型 - 1:提货积分",
  28554. "type": "integer"
  28555. },
  28556. "scorevalue": {
  28557. "description": "积分",
  28558. "type": "number"
  28559. },
  28560. "tradedate": {
  28561. "description": "交易日(yyyyMMdd)",
  28562. "type": "string"
  28563. },
  28564. "uploadedtime": {
  28565. "description": "同步时间",
  28566. "type": "string"
  28567. },
  28568. "userid": {
  28569. "description": "用户ID",
  28570. "type": "integer"
  28571. }
  28572. }
  28573. },
  28574. "models.QhjSiteColumnDetail": {
  28575. "type": "object",
  28576. "properties": {
  28577. "author": {
  28578. "description": "作者",
  28579. "type": "string"
  28580. },
  28581. "brief": {
  28582. "description": "简介",
  28583. "type": "string"
  28584. },
  28585. "columnid": {
  28586. "description": "所属栏目",
  28587. "type": "integer"
  28588. },
  28589. "context": {
  28590. "description": "内容",
  28591. "type": "string"
  28592. },
  28593. "coverimage": {
  28594. "description": "封面图片",
  28595. "type": "string"
  28596. },
  28597. "creaedate": {
  28598. "description": "创建时间",
  28599. "type": "string"
  28600. },
  28601. "creatorid": {
  28602. "description": "创建人",
  28603. "type": "integer"
  28604. },
  28605. "hits": {
  28606. "description": "点击数",
  28607. "type": "integer"
  28608. },
  28609. "id": {
  28610. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28611. "type": "integer"
  28612. },
  28613. "isshow": {
  28614. "description": "是否展示 - 0:不展示 1:展示",
  28615. "type": "integer"
  28616. },
  28617. "istop": {
  28618. "description": "是否置顶 - 0:不置 1:置顶",
  28619. "type": "integer"
  28620. },
  28621. "modifierid": {
  28622. "description": "操作人",
  28623. "type": "integer"
  28624. },
  28625. "publishdate": {
  28626. "description": "发布日期",
  28627. "type": "string"
  28628. },
  28629. "status": {
  28630. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  28631. "type": "integer"
  28632. },
  28633. "title": {
  28634. "description": "标题",
  28635. "type": "string"
  28636. },
  28637. "updatedate": {
  28638. "description": "修改时间",
  28639. "type": "string"
  28640. },
  28641. "userid": {
  28642. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  28643. "type": "integer"
  28644. },
  28645. "username": {
  28646. "description": "用户名称",
  28647. "type": "string"
  28648. }
  28649. }
  28650. },
  28651. "models.QhjTeamOrder": {
  28652. "type": "object",
  28653. "properties": {
  28654. "accountid": {
  28655. "description": "账户ID[报价币种]",
  28656. "type": "integer"
  28657. },
  28658. "accountname": {
  28659. "description": "账户名称",
  28660. "type": "string"
  28661. },
  28662. "agreeunit": {
  28663. "description": "合约乘数",
  28664. "type": "number"
  28665. },
  28666. "buyorsell": {
  28667. "description": "方向 - 0:买 1:卖",
  28668. "type": "integer"
  28669. },
  28670. "decimalplace": {
  28671. "description": "报价小数位",
  28672. "type": "integer"
  28673. },
  28674. "enumdicname": {
  28675. "description": "单位名称",
  28676. "type": "string"
  28677. },
  28678. "goodscode": {
  28679. "description": "商品代码(内部)",
  28680. "type": "string"
  28681. },
  28682. "goodsid": {
  28683. "description": "商品ID",
  28684. "type": "integer"
  28685. },
  28686. "goodsname": {
  28687. "description": "商品名称",
  28688. "type": "string"
  28689. },
  28690. "goodunitid": {
  28691. "description": "报价单位ID",
  28692. "type": "integer"
  28693. },
  28694. "marketid": {
  28695. "description": "市场ID",
  28696. "type": "integer"
  28697. },
  28698. "marketname": {
  28699. "description": "市场名称",
  28700. "type": "string"
  28701. },
  28702. "qtydecimalplace": {
  28703. "description": "成交量小数位",
  28704. "type": "integer"
  28705. },
  28706. "refereeuserid": {
  28707. "description": "推荐人ID",
  28708. "type": "integer"
  28709. },
  28710. "tradeamount": {
  28711. "description": "成交金额[账户币种,用于所有权]",
  28712. "type": "number"
  28713. },
  28714. "tradedate": {
  28715. "description": "交易日(yyyyMMdd)",
  28716. "type": "string"
  28717. },
  28718. "trademode": {
  28719. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28720. "type": "integer"
  28721. },
  28722. "tradeprice": {
  28723. "description": "成交价格",
  28724. "type": "number"
  28725. },
  28726. "tradeqty": {
  28727. "description": "成交数量",
  28728. "type": "number"
  28729. },
  28730. "tradetime": {
  28731. "description": "成交时间",
  28732. "type": "string"
  28733. },
  28734. "userid": {
  28735. "description": "用户ID",
  28736. "type": "integer"
  28737. }
  28738. }
  28739. },
  28740. "models.QhjTradeGoodsPickup": {
  28741. "type": "object",
  28742. "properties": {
  28743. "accountid": {
  28744. "description": "账户ID",
  28745. "type": "integer"
  28746. },
  28747. "address": {
  28748. "description": "提货人详细地址",
  28749. "type": "string"
  28750. },
  28751. "amount": {
  28752. "description": "提货金额",
  28753. "type": "number"
  28754. },
  28755. "artradedate": {
  28756. "description": "自动收货交易日(yyyyMMdd)",
  28757. "type": "string"
  28758. },
  28759. "auditer": {
  28760. "description": "审核人",
  28761. "type": "integer"
  28762. },
  28763. "auditsrc": {
  28764. "description": "更新来源 - 1:管理端 2:终端",
  28765. "type": "integer"
  28766. },
  28767. "audittime": {
  28768. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  28769. "type": "string"
  28770. },
  28771. "audittradedate": {
  28772. "description": "审核交易日(yyyyMMdd)",
  28773. "type": "string"
  28774. },
  28775. "cardnum": {
  28776. "description": "提货人证件号码",
  28777. "type": "string"
  28778. },
  28779. "cardtypeid": {
  28780. "description": "提货人证件类型",
  28781. "type": "integer"
  28782. },
  28783. "checkremark": {
  28784. "description": "审核备注",
  28785. "type": "string"
  28786. },
  28787. "cityid": {
  28788. "description": "市",
  28789. "type": "integer"
  28790. },
  28791. "cityname": {
  28792. "description": "城市名称",
  28793. "type": "string"
  28794. },
  28795. "confirmtime": {
  28796. "description": "取货时间 或 收货时间",
  28797. "type": "string"
  28798. },
  28799. "countryid": {
  28800. "description": "国家",
  28801. "type": "integer"
  28802. },
  28803. "countryname": {
  28804. "description": "国家名称",
  28805. "type": "string"
  28806. },
  28807. "decimalplace": {
  28808. "description": "商品报价小数位",
  28809. "type": "integer"
  28810. },
  28811. "districtid": {
  28812. "description": "地区",
  28813. "type": "integer"
  28814. },
  28815. "districtname": {
  28816. "description": "地区名称",
  28817. "type": "string"
  28818. },
  28819. "enumdicname": {
  28820. "description": "单位名称(提货商品)",
  28821. "type": "string"
  28822. },
  28823. "expresscompany": {
  28824. "description": "物流公司",
  28825. "type": "string"
  28826. },
  28827. "expressnum": {
  28828. "description": "物流单号",
  28829. "type": "string"
  28830. },
  28831. "goodsagreeunit": {
  28832. "description": "交易商品乘数",
  28833. "type": "number"
  28834. },
  28835. "goodscode": {
  28836. "description": "商品代码",
  28837. "type": "string"
  28838. },
  28839. "goodsid": {
  28840. "description": "商品ID",
  28841. "type": "integer"
  28842. },
  28843. "goodsname": {
  28844. "description": "商品名称",
  28845. "type": "string"
  28846. },
  28847. "goodsqty": {
  28848. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  28849. "type": "number"
  28850. },
  28851. "handlestatus": {
  28852. "description": "处理状态",
  28853. "type": "integer"
  28854. },
  28855. "logincode": {
  28856. "description": "账号(登录代码, 有可能为空)",
  28857. "type": "string"
  28858. },
  28859. "marketid": {
  28860. "description": "市场ID",
  28861. "type": "integer"
  28862. },
  28863. "phonenum": {
  28864. "description": "提货人联系方式",
  28865. "type": "string"
  28866. },
  28867. "pickupgoodsagreeunit": {
  28868. "description": "提货商品合约乘数",
  28869. "type": "number"
  28870. },
  28871. "pickupgoodsid": {
  28872. "description": "提货商品ID",
  28873. "type": "string"
  28874. },
  28875. "pickupgoodsname": {
  28876. "description": "提货商品名称",
  28877. "type": "string"
  28878. },
  28879. "pickupgoodsqty": {
  28880. "description": "提货商品手数(数量)",
  28881. "type": "number"
  28882. },
  28883. "pickupgoodsunitid": {
  28884. "description": "单位ID(提货商品)",
  28885. "type": "integer"
  28886. },
  28887. "pickupratio": {
  28888. "description": "提货系数",
  28889. "type": "number"
  28890. },
  28891. "preparedays": {
  28892. "description": "备货期(天)-提货单明细表",
  28893. "type": "integer"
  28894. },
  28895. "provinceid": {
  28896. "description": "省",
  28897. "type": "integer"
  28898. },
  28899. "provincename": {
  28900. "description": "省名称",
  28901. "type": "string"
  28902. },
  28903. "qty": {
  28904. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  28905. "type": "number"
  28906. },
  28907. "qtydecimalplace": {
  28908. "description": "商品数量小数位",
  28909. "type": "integer"
  28910. },
  28911. "recivername": {
  28912. "description": "提货人姓名",
  28913. "type": "string"
  28914. },
  28915. "reqtime": {
  28916. "description": "提货申请时间",
  28917. "type": "string"
  28918. },
  28919. "storeuserid": {
  28920. "description": "门店用户ID (千海金)",
  28921. "type": "integer"
  28922. },
  28923. "storeusername": {
  28924. "description": "门店用户名称",
  28925. "type": "string"
  28926. },
  28927. "takemode": {
  28928. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  28929. "type": "integer"
  28930. },
  28931. "takeorderid": {
  28932. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28933. "type": "string"
  28934. },
  28935. "takeorderstatus": {
  28936. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  28937. "type": "integer"
  28938. },
  28939. "takeremark": {
  28940. "description": "提货备注",
  28941. "type": "string"
  28942. },
  28943. "tradedate": {
  28944. "description": "交易日(yyyyMMdd)",
  28945. "type": "string"
  28946. },
  28947. "updatetime": {
  28948. "description": "更新时间",
  28949. "type": "string"
  28950. },
  28951. "userid": {
  28952. "description": "用户ID",
  28953. "type": "integer"
  28954. },
  28955. "userinfotype": {
  28956. "description": "客户类型 1-个人 2-企业",
  28957. "type": "integer"
  28958. },
  28959. "username": {
  28960. "description": "用户名称",
  28961. "type": "string"
  28962. }
  28963. }
  28964. },
  28965. "models.QhjUserNodeCfgAndStatus": {
  28966. "type": "object",
  28967. "properties": {
  28968. "agreementcontent": {
  28969. "description": "协议内容",
  28970. "type": "string"
  28971. },
  28972. "agreementid": {
  28973. "description": "协议ID",
  28974. "type": "integer"
  28975. },
  28976. "agreementname": {
  28977. "description": "协议名称",
  28978. "type": "string"
  28979. },
  28980. "agreementno": {
  28981. "description": "协议编号",
  28982. "type": "string"
  28983. },
  28984. "agreementtype": {
  28985. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28986. "type": "integer"
  28987. },
  28988. "agreementversion": {
  28989. "description": "协议版本号",
  28990. "type": "integer"
  28991. },
  28992. "configid": {
  28993. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28994. "type": "integer"
  28995. },
  28996. "createtime": {
  28997. "description": "创建时间",
  28998. "type": "string"
  28999. },
  29000. "goodsid": {
  29001. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29002. "type": "integer"
  29003. },
  29004. "nodetype": {
  29005. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29006. "type": "integer"
  29007. },
  29008. "signtimestamp": {
  29009. "description": "签约状态时间戳(最近一次)",
  29010. "type": "string"
  29011. },
  29012. "tradedate": {
  29013. "description": "签约交易日(yyyyMMdd)",
  29014. "type": "string"
  29015. },
  29016. "userid": {
  29017. "description": "客户ID",
  29018. "type": "integer"
  29019. }
  29020. }
  29021. },
  29022. "models.Qhjgoodsex": {
  29023. "type": "object",
  29024. "properties": {
  29025. "canfinance": {
  29026. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29027. "type": "integer"
  29028. },
  29029. "canregularlybuy": {
  29030. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29031. "type": "integer"
  29032. },
  29033. "defaulttradeuserid": {
  29034. "description": "默认交易用户ID",
  29035. "type": "integer"
  29036. },
  29037. "deliverygoodsid": {
  29038. "description": "现货品种ID",
  29039. "type": "integer"
  29040. },
  29041. "goodsid": {
  29042. "description": "商品ID(自增ID SEQ_GOODS)",
  29043. "type": "integer"
  29044. },
  29045. "minamount": {
  29046. "description": "最小购买金额",
  29047. "type": "number"
  29048. },
  29049. "regularlybuyminamount": {
  29050. "description": "定投最小金额",
  29051. "type": "number"
  29052. },
  29053. "regularlybuyminqty": {
  29054. "description": "定投最小数量",
  29055. "type": "number"
  29056. },
  29057. "spotgoodsbrandid": {
  29058. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29059. "type": "integer"
  29060. },
  29061. "visibilityforenterprise": {
  29062. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29063. "type": "integer"
  29064. },
  29065. "visibilityforpersonal": {
  29066. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29067. "type": "integer"
  29068. },
  29069. "wrstandardid": {
  29070. "description": "现货商品ID",
  29071. "type": "integer"
  29072. }
  29073. }
  29074. },
  29075. "models.QueryErrorInfosRsp": {
  29076. "type": "object",
  29077. "required": [
  29078. "errorid"
  29079. ],
  29080. "properties": {
  29081. "description": {
  29082. "description": "异常描述",
  29083. "type": "string"
  29084. },
  29085. "errorcode": {
  29086. "description": "异常代码",
  29087. "type": "string"
  29088. },
  29089. "errorid": {
  29090. "description": "异常ID",
  29091. "type": "integer"
  29092. },
  29093. "modulecode": {
  29094. "description": "所属模块",
  29095. "type": "string"
  29096. },
  29097. "operatecode": {
  29098. "description": "所属操作",
  29099. "type": "string"
  29100. },
  29101. "rownumber": {
  29102. "description": "行号",
  29103. "type": "string"
  29104. }
  29105. }
  29106. },
  29107. "models.QueryHedgeOrderDetailRsp": {
  29108. "type": "object",
  29109. "properties": {
  29110. "accountid": {
  29111. "description": "账户ID",
  29112. "type": "integer"
  29113. },
  29114. "buyorsell": {
  29115. "description": "买卖 - 0:买 1:卖",
  29116. "type": "integer"
  29117. },
  29118. "cancellogincode": {
  29119. "description": "撤单人",
  29120. "type": "string"
  29121. },
  29122. "channelbuildtype": {
  29123. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29124. "type": "integer"
  29125. },
  29126. "channelinnerorderstatus": {
  29127. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29128. "type": "integer"
  29129. },
  29130. "channeloperatetype": {
  29131. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29132. "type": "integer"
  29133. },
  29134. "closetype": {
  29135. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29136. "type": "integer"
  29137. },
  29138. "curexchangerate": {
  29139. "description": "当前汇率",
  29140. "type": "number"
  29141. },
  29142. "exchangefullname": {
  29143. "description": "外部交易所全称",
  29144. "type": "string"
  29145. },
  29146. "goodscode": {
  29147. "description": "商品代码(内部)",
  29148. "type": "string"
  29149. },
  29150. "goodsid": {
  29151. "description": "商品ID",
  29152. "type": "integer"
  29153. },
  29154. "goodsname": {
  29155. "description": "商品名称",
  29156. "type": "string"
  29157. },
  29158. "marketid": {
  29159. "description": "市场ID",
  29160. "type": "integer"
  29161. },
  29162. "openfreezemargin": {
  29163. "description": "冻结保证金(冻结交易金额)",
  29164. "type": "number"
  29165. },
  29166. "orderid": {
  29167. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29168. "type": "string"
  29169. },
  29170. "orderlogincode": {
  29171. "description": "委托人",
  29172. "type": "string"
  29173. },
  29174. "orderprice": {
  29175. "description": "委托价格(账户)",
  29176. "type": "number"
  29177. },
  29178. "orderqty": {
  29179. "description": "委托数量",
  29180. "type": "integer"
  29181. },
  29182. "ordertime": {
  29183. "description": "委托时间",
  29184. "type": "string"
  29185. },
  29186. "pricemode": {
  29187. "description": "取价方式 - 1:市价 2: 限价",
  29188. "type": "integer"
  29189. },
  29190. "tradedate": {
  29191. "description": "交易日(yyyyMMdd)",
  29192. "type": "string"
  29193. },
  29194. "tradeqty": {
  29195. "description": "成交数量",
  29196. "type": "integer"
  29197. }
  29198. }
  29199. },
  29200. "models.QueryHedgeTradeDetailRsp": {
  29201. "type": "object",
  29202. "properties": {
  29203. "accountid": {
  29204. "description": "账号ID",
  29205. "type": "integer"
  29206. },
  29207. "buyorsell": {
  29208. "description": "方向 - 0:买 1:卖",
  29209. "type": "integer"
  29210. },
  29211. "channelbuildtype": {
  29212. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29213. "type": "integer"
  29214. },
  29215. "closecharge": {
  29216. "description": "平仓手续费(账户)",
  29217. "type": "number"
  29218. },
  29219. "closecharge2": {
  29220. "description": "平仓手续费(商品)",
  29221. "type": "number"
  29222. },
  29223. "closepl": {
  29224. "description": "平仓盈亏(账户)",
  29225. "type": "number"
  29226. },
  29227. "closepl2": {
  29228. "description": "平仓盈亏(商品)",
  29229. "type": "number"
  29230. },
  29231. "closepl3": {
  29232. "description": "平仓盈亏(账户)(逐笔)",
  29233. "type": "number"
  29234. },
  29235. "closepl4": {
  29236. "description": "平仓盈亏(商品)(逐笔)",
  29237. "type": "number"
  29238. },
  29239. "closetype": {
  29240. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29241. "type": "integer"
  29242. },
  29243. "curexchangerate": {
  29244. "description": "当前汇率",
  29245. "type": "number"
  29246. },
  29247. "exchangefullname": {
  29248. "description": "外部交易所全称",
  29249. "type": "string"
  29250. },
  29251. "goodscode": {
  29252. "description": "商品代码(内部)",
  29253. "type": "string"
  29254. },
  29255. "goodsid": {
  29256. "description": "商品ID",
  29257. "type": "integer"
  29258. },
  29259. "goodsname": {
  29260. "description": "商品名称",
  29261. "type": "string"
  29262. },
  29263. "marketid": {
  29264. "description": "市场ID",
  29265. "type": "integer"
  29266. },
  29267. "opencharge": {
  29268. "description": "建仓手续费(账户)",
  29269. "type": "number"
  29270. },
  29271. "opencharge2": {
  29272. "description": "建仓手续费(商品)",
  29273. "type": "number"
  29274. },
  29275. "orderid": {
  29276. "description": "委托单号",
  29277. "type": "string"
  29278. },
  29279. "orderlogincode": {
  29280. "description": "委托人",
  29281. "type": "string"
  29282. },
  29283. "tradeamount": {
  29284. "description": "成交金额(账户)",
  29285. "type": "number"
  29286. },
  29287. "tradedate": {
  29288. "description": "交易日(yyyyMMdd)",
  29289. "type": "string"
  29290. },
  29291. "tradeid": {
  29292. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29293. "type": "string"
  29294. },
  29295. "tradeprice": {
  29296. "description": "成交价格",
  29297. "type": "number"
  29298. },
  29299. "tradeqty": {
  29300. "description": "成交数量",
  29301. "type": "integer"
  29302. },
  29303. "tradetime": {
  29304. "description": "成交时间",
  29305. "type": "string"
  29306. },
  29307. "tradetype": {
  29308. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29309. "type": "integer"
  29310. }
  29311. }
  29312. },
  29313. "models.QuotePrimaryMenu": {
  29314. "type": "object",
  29315. "properties": {
  29316. "Index": {
  29317. "description": "序号",
  29318. "type": "integer"
  29319. },
  29320. "Key": {
  29321. "description": "键名",
  29322. "type": "string"
  29323. },
  29324. "Name": {
  29325. "description": "菜单名称",
  29326. "type": "string"
  29327. },
  29328. "SubMenus": {
  29329. "description": "子菜单",
  29330. "type": "array",
  29331. "items": {
  29332. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29333. }
  29334. },
  29335. "SubTitleType": {
  29336. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29337. "type": "integer"
  29338. },
  29339. "TradeModes": {
  29340. "description": "包含市场交易类型",
  29341. "type": "string"
  29342. }
  29343. }
  29344. },
  29345. "models.QuoteSecondaryMenu": {
  29346. "type": "object",
  29347. "properties": {
  29348. "ExExchangeCode": {
  29349. "description": "外部交易所代码",
  29350. "type": "string"
  29351. },
  29352. "ExExchangeID": {
  29353. "description": "外部交易所ID",
  29354. "type": "integer"
  29355. },
  29356. "GoodsGroupIDs": {
  29357. "description": "商品组ID列表",
  29358. "type": "array",
  29359. "items": {
  29360. "type": "integer"
  29361. }
  29362. },
  29363. "Index": {
  29364. "description": "序号",
  29365. "type": "integer"
  29366. },
  29367. "MarketID": {
  29368. "description": "市场ID",
  29369. "type": "integer"
  29370. },
  29371. "MenuTitle": {
  29372. "description": "菜单标题(市场名称或外部交易所名称)",
  29373. "type": "string"
  29374. },
  29375. "TradeMode": {
  29376. "description": "交易模式",
  29377. "type": "integer"
  29378. }
  29379. }
  29380. },
  29381. "models.RoleMenu": {
  29382. "type": "object",
  29383. "properties": {
  29384. "hasright": {
  29385. "description": "是否有权限 0-没有权限 1-有权限",
  29386. "type": "integer"
  29387. },
  29388. "iconame": {
  29389. "description": "菜单图标",
  29390. "type": "string"
  29391. },
  29392. "menutype": {
  29393. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29394. "type": "integer"
  29395. },
  29396. "parentcode": {
  29397. "description": "上级资源代码",
  29398. "type": "string"
  29399. },
  29400. "remark": {
  29401. "description": "菜单备注",
  29402. "type": "string"
  29403. },
  29404. "resourcecode": {
  29405. "description": "菜单代码",
  29406. "type": "string"
  29407. },
  29408. "resourcelevel": {
  29409. "description": "级别",
  29410. "type": "integer"
  29411. },
  29412. "resourcename": {
  29413. "description": "菜单名称",
  29414. "type": "string"
  29415. },
  29416. "roleid": {
  29417. "description": "角色id",
  29418. "type": "integer"
  29419. },
  29420. "sort": {
  29421. "description": "排序",
  29422. "type": "integer"
  29423. },
  29424. "subMenu": {
  29425. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29426. "type": "array",
  29427. "items": {
  29428. "$ref": "#/definitions/models.RoleMenu"
  29429. }
  29430. },
  29431. "url": {
  29432. "description": "URL",
  29433. "type": "string"
  29434. },
  29435. "userid": {
  29436. "description": "用户id",
  29437. "type": "integer"
  29438. }
  29439. }
  29440. },
  29441. "models.SearchGoods": {
  29442. "type": "object",
  29443. "required": [
  29444. "goodscode",
  29445. "goodsid",
  29446. "goodsname",
  29447. "marketid",
  29448. "trademode"
  29449. ],
  29450. "properties": {
  29451. "goodscode": {
  29452. "description": "商品代码(内部)",
  29453. "type": "string"
  29454. },
  29455. "goodsid": {
  29456. "description": "商品ID(自增ID SEQ_GOODS)",
  29457. "type": "integer"
  29458. },
  29459. "goodsname": {
  29460. "description": "商品名称",
  29461. "type": "string"
  29462. },
  29463. "marketid": {
  29464. "description": "所属市场ID",
  29465. "type": "integer"
  29466. },
  29467. "marketname": {
  29468. "description": "市场名称",
  29469. "type": "string"
  29470. },
  29471. "trademode": {
  29472. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29473. "type": "integer"
  29474. }
  29475. }
  29476. },
  29477. "models.Systemparam": {
  29478. "type": "object",
  29479. "required": [
  29480. "paramcode"
  29481. ],
  29482. "properties": {
  29483. "loginid": {
  29484. "description": "更新用户账号,登录账号",
  29485. "type": "string"
  29486. },
  29487. "modifyflag": {
  29488. "description": "修改标志0 不允许修改 1 允许修改",
  29489. "type": "integer"
  29490. },
  29491. "paramcode": {
  29492. "description": "参数代码",
  29493. "type": "string"
  29494. },
  29495. "paramname": {
  29496. "description": "参数名",
  29497. "type": "string"
  29498. },
  29499. "paramtype": {
  29500. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29501. "type": "integer"
  29502. },
  29503. "paramvalue": {
  29504. "description": "参数值",
  29505. "type": "string"
  29506. },
  29507. "paramvalue2": {
  29508. "description": "参数值(CLOB)",
  29509. "type": "string"
  29510. },
  29511. "regexpress": {
  29512. "description": "正则表达式",
  29513. "type": "string"
  29514. },
  29515. "remark": {
  29516. "description": "备注",
  29517. "type": "string"
  29518. },
  29519. "serverip": {
  29520. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29521. "type": "string"
  29522. },
  29523. "showflag": {
  29524. "description": "是否显示0 不显示 1 显示",
  29525. "type": "integer"
  29526. },
  29527. "updatetime": {
  29528. "description": "更新时间",
  29529. "type": "string"
  29530. },
  29531. "userid": {
  29532. "description": "更新用户ID",
  29533. "type": "integer"
  29534. }
  29535. }
  29536. },
  29537. "models.Szdz3convertconfig": {
  29538. "type": "object",
  29539. "required": [
  29540. "converttype",
  29541. "innergoodsid",
  29542. "outergoodscode"
  29543. ],
  29544. "properties": {
  29545. "canin": {
  29546. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29547. "type": "integer"
  29548. },
  29549. "canout": {
  29550. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29551. "type": "integer"
  29552. },
  29553. "converttype": {
  29554. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29555. "type": "integer"
  29556. },
  29557. "createtime": {
  29558. "description": "创建时间",
  29559. "type": "string"
  29560. },
  29561. "creatorid": {
  29562. "description": "创建人",
  29563. "type": "integer"
  29564. },
  29565. "daymaxvalue": {
  29566. "description": "当日最大转入限制",
  29567. "type": "number"
  29568. },
  29569. "freezedays": {
  29570. "description": "冻结天数 [5:花生米转交易]",
  29571. "type": "integer"
  29572. },
  29573. "innergoodsid": {
  29574. "description": "内部商品ID[交易]",
  29575. "type": "integer"
  29576. },
  29577. "inratio": {
  29578. "description": "目标值",
  29579. "type": "integer"
  29580. },
  29581. "modifierid": {
  29582. "description": "修改人",
  29583. "type": "integer"
  29584. },
  29585. "modifytime": {
  29586. "description": "修改时间",
  29587. "type": "string"
  29588. },
  29589. "outergoodscode": {
  29590. "description": "外部商品代码[JD\\PD]",
  29591. "type": "string"
  29592. },
  29593. "outratio": {
  29594. "description": "源值",
  29595. "type": "integer"
  29596. },
  29597. "pddecimalplace": {
  29598. "description": "PD小数位",
  29599. "type": "integer"
  29600. },
  29601. "timemaxvalue": {
  29602. "description": "单次最大转入限制",
  29603. "type": "number"
  29604. },
  29605. "timeminvalue": {
  29606. "description": "单次最小转入限制",
  29607. "type": "number"
  29608. }
  29609. }
  29610. },
  29611. "models.Szdz3searchwhitelist": {
  29612. "type": "object",
  29613. "required": [
  29614. "userid"
  29615. ],
  29616. "properties": {
  29617. "createtime": {
  29618. "description": "创建时间",
  29619. "type": "string"
  29620. },
  29621. "creatorid": {
  29622. "description": "创建人",
  29623. "type": "integer"
  29624. },
  29625. "modifierid": {
  29626. "description": "修改人",
  29627. "type": "integer"
  29628. },
  29629. "modifytime": {
  29630. "description": "修改时间",
  29631. "type": "string"
  29632. },
  29633. "userid": {
  29634. "description": "用户ID",
  29635. "type": "integer"
  29636. }
  29637. }
  29638. },
  29639. "models.Taaccount": {
  29640. "type": "object",
  29641. "required": [
  29642. "accountid",
  29643. "userid"
  29644. ],
  29645. "properties": {
  29646. "accountflag": {
  29647. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29648. "type": "integer"
  29649. },
  29650. "accountid": {
  29651. "description": "资金账户ID",
  29652. "type": "integer"
  29653. },
  29654. "accountname": {
  29655. "description": "账户名称",
  29656. "type": "string"
  29657. },
  29658. "balance": {
  29659. "description": "期初余额",
  29660. "type": "number"
  29661. },
  29662. "capitalbalance": {
  29663. "description": "本金余额[外部子账户实际出入金余额]",
  29664. "type": "number"
  29665. },
  29666. "changeflag": {
  29667. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29668. "type": "integer"
  29669. },
  29670. "changetime": {
  29671. "description": "账户状态变更时间",
  29672. "type": "string"
  29673. },
  29674. "closepl": {
  29675. "description": "今日平仓盈亏",
  29676. "type": "number"
  29677. },
  29678. "creditdecrease": {
  29679. "description": "今日授信减少",
  29680. "type": "number"
  29681. },
  29682. "creditincrease": {
  29683. "description": "今日授信增加",
  29684. "type": "number"
  29685. },
  29686. "curamount": {
  29687. "description": "总市值(从持仓中统计)",
  29688. "type": "number"
  29689. },
  29690. "currencyid": {
  29691. "description": "货币ID",
  29692. "type": "integer"
  29693. },
  29694. "currentbalance": {
  29695. "description": "期末余额",
  29696. "type": "number"
  29697. },
  29698. "freezecharge": {
  29699. "description": "手续费冻结",
  29700. "type": "number"
  29701. },
  29702. "freezemargin": {
  29703. "description": "冻结保证金",
  29704. "type": "number"
  29705. },
  29706. "fromaccountid": {
  29707. "description": "所属上级账户",
  29708. "type": "integer"
  29709. },
  29710. "inamount": {
  29711. "description": "今日入金金额(包括三方入金)",
  29712. "type": "number"
  29713. },
  29714. "ismain": {
  29715. "description": "是否母账号 0:不是母账户 1:是母账户",
  29716. "type": "integer"
  29717. },
  29718. "ismarketaccount": {
  29719. "description": "是否机构接单账号 0:不是 1:是",
  29720. "type": "integer"
  29721. },
  29722. "isreckonaccount": {
  29723. "description": "是否机构分润账号 0:不是 1:是",
  29724. "type": "integer"
  29725. },
  29726. "mortgagecredit": {
  29727. "description": "授信金额",
  29728. "type": "number"
  29729. },
  29730. "orifreezecharge": {
  29731. "description": "期初手续费冻结",
  29732. "type": "number"
  29733. },
  29734. "orifreezemargin": {
  29735. "description": "期初冻结保证金",
  29736. "type": "number"
  29737. },
  29738. "orimortgagecredit": {
  29739. "description": "期初授信金额",
  29740. "type": "number"
  29741. },
  29742. "oriothercredit": {
  29743. "description": "期初其它授信金额",
  29744. "type": "number"
  29745. },
  29746. "oriotherfreezemargin": {
  29747. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29748. "type": "number"
  29749. },
  29750. "orioutamountfreeze": {
  29751. "description": "期初出金冻结",
  29752. "type": "number"
  29753. },
  29754. "oriusedmargin": {
  29755. "description": "期初占用保证金",
  29756. "type": "number"
  29757. },
  29758. "othercredit": {
  29759. "description": "其它授信金额",
  29760. "type": "number"
  29761. },
  29762. "othercreditdecrease": {
  29763. "description": "今日其它授信减少",
  29764. "type": "number"
  29765. },
  29766. "othercreditincrease": {
  29767. "description": "今日其它授信增加",
  29768. "type": "number"
  29769. },
  29770. "otherfreezemargin": {
  29771. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29772. "type": "number"
  29773. },
  29774. "otherincome": {
  29775. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29776. "type": "number"
  29777. },
  29778. "otherpay": {
  29779. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29780. "type": "number"
  29781. },
  29782. "outamount": {
  29783. "description": "今日出金金额(包括三方出金)",
  29784. "type": "number"
  29785. },
  29786. "outamountfreeze": {
  29787. "description": "出金冻结",
  29788. "type": "number"
  29789. },
  29790. "outthreshold": {
  29791. "description": "出金阈值",
  29792. "type": "number"
  29793. },
  29794. "parentaccountid": {
  29795. "description": "所属根账号",
  29796. "type": "integer"
  29797. },
  29798. "paycharge": {
  29799. "description": "今日手续费支出",
  29800. "type": "number"
  29801. },
  29802. "relatedaccountstatus": {
  29803. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29804. "type": "integer"
  29805. },
  29806. "relateduserid": {
  29807. "description": "关联用户",
  29808. "type": "integer"
  29809. },
  29810. "remainamount": {
  29811. "description": "融资额(从融资合同中统计)",
  29812. "type": "number"
  29813. },
  29814. "serivcegroup": {
  29815. "description": "服务分组",
  29816. "type": "integer"
  29817. },
  29818. "signstatus": {
  29819. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29820. "type": "integer"
  29821. },
  29822. "sublevelpath": {
  29823. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29824. "type": "string"
  29825. },
  29826. "taaccounttype": {
  29827. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29828. "type": "integer"
  29829. },
  29830. "thirdinamount": {
  29831. "description": "今日三方入金",
  29832. "type": "number"
  29833. },
  29834. "thirdoutamount": {
  29835. "description": "今日三方出金",
  29836. "type": "number"
  29837. },
  29838. "tradestatus": {
  29839. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29840. "type": "integer"
  29841. },
  29842. "tradestatuschangetime": {
  29843. "description": "激活时间",
  29844. "type": "string"
  29845. },
  29846. "transferamount": {
  29847. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29848. "type": "number"
  29849. },
  29850. "usedmargin": {
  29851. "description": "占用保证金",
  29852. "type": "number"
  29853. },
  29854. "userid": {
  29855. "description": "用户ID",
  29856. "type": "integer"
  29857. }
  29858. }
  29859. },
  29860. "models.Tablecolumnconfig": {
  29861. "type": "object",
  29862. "required": [
  29863. "autoid"
  29864. ],
  29865. "properties": {
  29866. "aligntype": {
  29867. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29868. "type": "integer"
  29869. },
  29870. "autoid": {
  29871. "description": "AutoID",
  29872. "type": "integer"
  29873. },
  29874. "columnfield": {
  29875. "description": "列字段",
  29876. "type": "string"
  29877. },
  29878. "columntitle": {
  29879. "description": "列Title",
  29880. "type": "string"
  29881. },
  29882. "columnwidth": {
  29883. "description": "列宽",
  29884. "type": "string"
  29885. },
  29886. "formatterstring": {
  29887. "description": "格式化字符",
  29888. "type": "string"
  29889. },
  29890. "formattertype": {
  29891. "description": "格式化类型",
  29892. "type": "string"
  29893. },
  29894. "groupname": {
  29895. "description": "表头分组名称",
  29896. "type": "string"
  29897. },
  29898. "isshow": {
  29899. "description": "是否显示 - 0:不显示 1:显示",
  29900. "type": "integer"
  29901. },
  29902. "needsummary": {
  29903. "description": "是否需要汇总 - 0:不需要 1:需要",
  29904. "type": "integer"
  29905. },
  29906. "orderindex": {
  29907. "description": "顺序",
  29908. "type": "integer"
  29909. },
  29910. "remark": {
  29911. "description": "备注",
  29912. "type": "string"
  29913. },
  29914. "summarytype": {
  29915. "description": "汇总类型 - 1:加总 2:最后一个",
  29916. "type": "integer"
  29917. },
  29918. "tablekey": {
  29919. "description": "列表Key",
  29920. "type": "string"
  29921. }
  29922. }
  29923. },
  29924. "models.UserCollectConfig": {
  29925. "type": "object",
  29926. "properties": {
  29927. "accountstatus": {
  29928. "description": "账户状态 - 1:正常 2:停用 3:注销",
  29929. "type": "integer"
  29930. },
  29931. "collectaccountname": {
  29932. "description": "收款人账户名称",
  29933. "type": "string"
  29934. },
  29935. "collectaccountno": {
  29936. "description": "收款人账户",
  29937. "type": "string"
  29938. },
  29939. "collectbankname": {
  29940. "description": "收款人开户行",
  29941. "type": "string"
  29942. },
  29943. "collectbranchbankname": {
  29944. "description": "收款人开户支行",
  29945. "type": "string"
  29946. },
  29947. "collectconfigid": {
  29948. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29949. "type": "string"
  29950. },
  29951. "remark": {
  29952. "description": "备注",
  29953. "type": "string"
  29954. },
  29955. "userid": {
  29956. "description": "收款人用户ID",
  29957. "type": "integer"
  29958. }
  29959. }
  29960. },
  29961. "models.UserReceiveInfo": {
  29962. "type": "object",
  29963. "properties": {
  29964. "address": {
  29965. "description": "提货人详细地址",
  29966. "type": "string"
  29967. },
  29968. "autoid": {
  29969. "description": "AutoID",
  29970. "type": "integer"
  29971. },
  29972. "cardnum": {
  29973. "description": "证件号码(加密存储)",
  29974. "type": "string"
  29975. },
  29976. "cardtypeid": {
  29977. "description": "证件类型",
  29978. "type": "integer"
  29979. },
  29980. "cityid": {
  29981. "description": "市",
  29982. "type": "integer"
  29983. },
  29984. "cityname": {
  29985. "description": "城市名称",
  29986. "type": "string"
  29987. },
  29988. "countryid": {
  29989. "description": "国家",
  29990. "type": "integer"
  29991. },
  29992. "countryname": {
  29993. "description": "国家名称",
  29994. "type": "string"
  29995. },
  29996. "districtid": {
  29997. "description": "地区",
  29998. "type": "integer"
  29999. },
  30000. "districtname": {
  30001. "description": "地区名称",
  30002. "type": "string"
  30003. },
  30004. "hasencrypt": {
  30005. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30006. "type": "integer"
  30007. },
  30008. "isdefault": {
  30009. "description": "是否默认地址 - 0:否 1:是",
  30010. "type": "integer"
  30011. },
  30012. "phonenum": {
  30013. "description": "提货人联系方式(加密存储)",
  30014. "type": "string"
  30015. },
  30016. "provinceid": {
  30017. "description": "省",
  30018. "type": "integer"
  30019. },
  30020. "provincename": {
  30021. "description": "省名称",
  30022. "type": "string"
  30023. },
  30024. "receivername": {
  30025. "description": "提货人姓名",
  30026. "type": "string"
  30027. },
  30028. "takeremark": {
  30029. "description": "提货备注",
  30030. "type": "string"
  30031. },
  30032. "userid": {
  30033. "description": "用户ID",
  30034. "type": "integer"
  30035. }
  30036. }
  30037. },
  30038. "models.Useraccount": {
  30039. "type": "object",
  30040. "required": [
  30041. "userid"
  30042. ],
  30043. "properties": {
  30044. "accountname": {
  30045. "description": "账户名称(机构名称)",
  30046. "type": "string"
  30047. },
  30048. "accountstatus": {
  30049. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30050. "type": "integer"
  30051. },
  30052. "applysrc": {
  30053. "description": "申请来源 - 1:管理端 2:终端",
  30054. "type": "integer"
  30055. },
  30056. "auditremark": {
  30057. "description": "审核备注",
  30058. "type": "string"
  30059. },
  30060. "auditsrc": {
  30061. "description": "审核来源 - 1:管理端 2:终端",
  30062. "type": "integer"
  30063. },
  30064. "audittime": {
  30065. "description": "审核时间",
  30066. "type": "string"
  30067. },
  30068. "audituserid": {
  30069. "description": "审核人",
  30070. "type": "integer"
  30071. },
  30072. "broker": {
  30073. "description": "所属经纪人ID",
  30074. "type": "integer"
  30075. },
  30076. "canceltime": {
  30077. "description": "销户时间",
  30078. "type": "string"
  30079. },
  30080. "canceluserid": {
  30081. "description": "销户人",
  30082. "type": "integer"
  30083. },
  30084. "canrecommend": {
  30085. "description": "是否可推荐 - 0:不可 1;可",
  30086. "type": "integer"
  30087. },
  30088. "createtime": {
  30089. "description": "创建时间",
  30090. "type": "string"
  30091. },
  30092. "creatorid": {
  30093. "description": "创建人",
  30094. "type": "integer"
  30095. },
  30096. "hasauth": {
  30097. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30098. "type": "integer"
  30099. },
  30100. "isanonymous": {
  30101. "description": "是否匿名下单 - 0:否 1:是",
  30102. "type": "integer"
  30103. },
  30104. "maxinvestornum": {
  30105. "description": "最大用户数(经纪会员下投资者个数)",
  30106. "type": "integer"
  30107. },
  30108. "memberuserid": {
  30109. "description": "所属会员ID",
  30110. "type": "integer"
  30111. },
  30112. "modifierid": {
  30113. "description": "修改人",
  30114. "type": "integer"
  30115. },
  30116. "modifyremark": {
  30117. "description": "变更备注",
  30118. "type": "string"
  30119. },
  30120. "modifystatus": {
  30121. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30122. "type": "integer"
  30123. },
  30124. "modifytime": {
  30125. "description": "修改时间",
  30126. "type": "string"
  30127. },
  30128. "parenttopuser": {
  30129. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30130. "type": "string"
  30131. },
  30132. "parentuserid": {
  30133. "description": "所属机构ID",
  30134. "type": "integer"
  30135. },
  30136. "reckonaccountid": {
  30137. "description": "默认结算资金账号ID(机构分润使用) 作废",
  30138. "type": "integer"
  30139. },
  30140. "refercount": {
  30141. "description": "推荐总人数",
  30142. "type": "integer"
  30143. },
  30144. "refereeuserid": {
  30145. "description": "推荐人ID",
  30146. "type": "integer"
  30147. },
  30148. "refernum": {
  30149. "description": "推荐码",
  30150. "type": "string"
  30151. },
  30152. "rootuserid": {
  30153. "description": "根用户ID",
  30154. "type": "integer"
  30155. },
  30156. "subaccountlevel": {
  30157. "description": "子账户层数",
  30158. "type": "integer"
  30159. },
  30160. "subarealevelpath": {
  30161. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30162. "type": "string"
  30163. },
  30164. "userid": {
  30165. "description": "用户ID",
  30166. "type": "integer"
  30167. },
  30168. "usertype": {
  30169. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30170. "type": "integer"
  30171. }
  30172. }
  30173. },
  30174. "models.Userfavoritegoods": {
  30175. "type": "object",
  30176. "required": [
  30177. "goodsid"
  30178. ],
  30179. "properties": {
  30180. "goodsid": {
  30181. "description": "商品ID",
  30182. "type": "integer"
  30183. }
  30184. }
  30185. },
  30186. "models.Userinfo": {
  30187. "type": "object",
  30188. "required": [
  30189. "userid"
  30190. ],
  30191. "properties": {
  30192. "address": {
  30193. "description": "地址",
  30194. "type": "string"
  30195. },
  30196. "attachment1": {
  30197. "description": "附件1",
  30198. "type": "string"
  30199. },
  30200. "attachment2": {
  30201. "description": "附件2",
  30202. "type": "string"
  30203. },
  30204. "bankaccount": {
  30205. "description": "银行帐号 (加密存储)",
  30206. "type": "string"
  30207. },
  30208. "bankaccountname": {
  30209. "description": "收款人名称",
  30210. "type": "string"
  30211. },
  30212. "bankcardfrontphotourl": {
  30213. "description": "银行卡正面照地址",
  30214. "type": "string"
  30215. },
  30216. "bankid": {
  30217. "description": "银行编码",
  30218. "type": "string"
  30219. },
  30220. "bankname": {
  30221. "description": "银行名称",
  30222. "type": "string"
  30223. },
  30224. "biznature": {
  30225. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  30226. "type": "integer"
  30227. },
  30228. "bizscope": {
  30229. "description": "企业经营范围(企业)",
  30230. "type": "string"
  30231. },
  30232. "cardbackphotourl": {
  30233. "description": "证件背面图片地址",
  30234. "type": "string"
  30235. },
  30236. "cardfrontphotourl": {
  30237. "description": "证件正面图片地址",
  30238. "type": "string"
  30239. },
  30240. "cardnum": {
  30241. "description": "证件号码(加密存储)",
  30242. "type": "string"
  30243. },
  30244. "cardtypeid": {
  30245. "description": "证件类型ID",
  30246. "type": "integer"
  30247. },
  30248. "cityid": {
  30249. "description": "市",
  30250. "type": "integer"
  30251. },
  30252. "company": {
  30253. "description": "公司(个人)",
  30254. "type": "string"
  30255. },
  30256. "contactname": {
  30257. "description": "联系人",
  30258. "type": "string"
  30259. },
  30260. "countryid": {
  30261. "description": "国家",
  30262. "type": "integer"
  30263. },
  30264. "createtime": {
  30265. "description": "创建时间",
  30266. "type": "string"
  30267. },
  30268. "creatorid": {
  30269. "description": "创建人",
  30270. "type": "integer"
  30271. },
  30272. "customername": {
  30273. "description": "客户名称(企业名称)",
  30274. "type": "string"
  30275. },
  30276. "districtid": {
  30277. "description": "地区",
  30278. "type": "integer"
  30279. },
  30280. "email": {
  30281. "description": "邮件(加密存储)",
  30282. "type": "string"
  30283. },
  30284. "fax": {
  30285. "description": "传真(加密存储)",
  30286. "type": "string"
  30287. },
  30288. "halfbodyphotourl": {
  30289. "description": "半身照地址",
  30290. "type": "string"
  30291. },
  30292. "hasencrypt": {
  30293. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30294. "type": "integer"
  30295. },
  30296. "headurl": {
  30297. "description": "头像地址",
  30298. "type": "string"
  30299. },
  30300. "legalcardbackphotourl": {
  30301. "description": "法人身份证背面照地址",
  30302. "type": "string"
  30303. },
  30304. "legalcardfrontphotourl": {
  30305. "description": "法人身份证正面照地址",
  30306. "type": "string"
  30307. },
  30308. "legalpersonname": {
  30309. "description": "法人姓名(企业)",
  30310. "type": "string"
  30311. },
  30312. "mobile": {
  30313. "description": "手机号码(加密存储)",
  30314. "type": "string"
  30315. },
  30316. "mobile2": {
  30317. "description": "手机号码[明文-尚志]",
  30318. "type": "string"
  30319. },
  30320. "modifierid": {
  30321. "description": "修改人",
  30322. "type": "integer"
  30323. },
  30324. "modifiertime": {
  30325. "description": "修改时间",
  30326. "type": "string"
  30327. },
  30328. "needinvoice": {
  30329. "description": "是否需要发票 - 0:不需要 1:需要",
  30330. "type": "integer"
  30331. },
  30332. "nickname": {
  30333. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  30334. "type": "string"
  30335. },
  30336. "openmode": {
  30337. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  30338. "type": "integer"
  30339. },
  30340. "otherurl": {
  30341. "description": "其它图片地址[使用分号分隔]",
  30342. "type": "string"
  30343. },
  30344. "postalcode": {
  30345. "description": "邮政编码",
  30346. "type": "string"
  30347. },
  30348. "provinceid": {
  30349. "description": "省",
  30350. "type": "integer"
  30351. },
  30352. "qq": {
  30353. "description": "QQ(加密存储",
  30354. "type": "string"
  30355. },
  30356. "remark": {
  30357. "description": "备注",
  30358. "type": "string"
  30359. },
  30360. "sex": {
  30361. "description": "用户性别 0: 女 1: 男",
  30362. "type": "integer"
  30363. },
  30364. "signpdfurl": {
  30365. "description": "签约pdf文件",
  30366. "type": "string"
  30367. },
  30368. "telphone": {
  30369. "description": "联系电话(加密存储)",
  30370. "type": "string"
  30371. },
  30372. "userid": {
  30373. "description": "用户ID",
  30374. "type": "integer"
  30375. },
  30376. "userinfotype": {
  30377. "description": "用户信息类型 - 1:个人 2:企业",
  30378. "type": "integer"
  30379. },
  30380. "userstatus": {
  30381. "description": "用户状态 - 1:正常 2:注销",
  30382. "type": "integer"
  30383. },
  30384. "usertype": {
  30385. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  30386. "type": "integer"
  30387. },
  30388. "wechat": {
  30389. "description": "微信(加密存储)",
  30390. "type": "string"
  30391. },
  30392. "wskhinfo": {
  30393. "description": "开户申请信息(JSON)",
  30394. "type": "string"
  30395. }
  30396. }
  30397. },
  30398. "models.WRSConverTDetail": {
  30399. "type": "object",
  30400. "properties": {
  30401. "convertratio": {
  30402. "description": "套保系数",
  30403. "type": "number"
  30404. },
  30405. "deliverygoodscode": {
  30406. "description": "现货商品代码",
  30407. "type": "string"
  30408. },
  30409. "deliverygoodsid": {
  30410. "description": "现货品种ID",
  30411. "type": "integer"
  30412. },
  30413. "deliverygoodsname": {
  30414. "description": "现货商品名称",
  30415. "type": "string"
  30416. },
  30417. "enumdicname": {
  30418. "description": "单位名称",
  30419. "type": "string"
  30420. },
  30421. "goodsunitid": {
  30422. "description": "套保品种单位id",
  30423. "type": "integer"
  30424. },
  30425. "middlegoodscode": {
  30426. "description": "套保品种代码",
  30427. "type": "string"
  30428. },
  30429. "middlegoodsid": {
  30430. "description": "套保品种ID",
  30431. "type": "integer"
  30432. },
  30433. "middlegoodsname": {
  30434. "description": "套保品种名称",
  30435. "type": "string"
  30436. },
  30437. "modifytime": {
  30438. "description": "修改时间",
  30439. "type": "string"
  30440. },
  30441. "wrstandardid": {
  30442. "description": "品类ID",
  30443. "type": "integer"
  30444. }
  30445. }
  30446. },
  30447. "models.WRStandardInfo": {
  30448. "type": "object",
  30449. "required": [
  30450. "wrstandardid"
  30451. ],
  30452. "properties": {
  30453. "areauserid": {
  30454. "description": "所属机构",
  30455. "type": "integer"
  30456. },
  30457. "convertfactor": {
  30458. "description": "标仓系数",
  30459. "type": "number"
  30460. },
  30461. "createtime": {
  30462. "description": "创建时间",
  30463. "type": "string"
  30464. },
  30465. "creatorid": {
  30466. "description": "创建人",
  30467. "type": "integer"
  30468. },
  30469. "deliverygoodsid": {
  30470. "description": "品种ID",
  30471. "type": "integer"
  30472. },
  30473. "deliverygoodsname": {
  30474. "description": "交割商品名称",
  30475. "type": "string"
  30476. },
  30477. "factoryitemjson": {
  30478. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  30479. "type": "string"
  30480. },
  30481. "isvalid": {
  30482. "description": "是否有效 - 0:无效 1:有效",
  30483. "type": "integer"
  30484. },
  30485. "minivalue": {
  30486. "description": "最小变动值",
  30487. "type": "integer"
  30488. },
  30489. "minivaluedp": {
  30490. "description": "最小变动值小数位",
  30491. "type": "integer"
  30492. },
  30493. "realminivalue": {
  30494. "description": "实际最小变动值",
  30495. "type": "integer"
  30496. },
  30497. "realminivaluedp": {
  30498. "description": "实际最小变动值小数位",
  30499. "type": "integer"
  30500. },
  30501. "remark": {
  30502. "description": "备注",
  30503. "type": "string"
  30504. },
  30505. "unitid": {
  30506. "description": "单位ID",
  30507. "type": "integer"
  30508. },
  30509. "unitname": {
  30510. "description": "单位",
  30511. "type": "string"
  30512. },
  30513. "updatetime": {
  30514. "description": "更新时间",
  30515. "type": "string"
  30516. },
  30517. "updatorid": {
  30518. "description": "更新人",
  30519. "type": "integer"
  30520. },
  30521. "wrsstatus": {
  30522. "description": "状态 - 作废 - 0:未激活 1:正常",
  30523. "type": "integer"
  30524. },
  30525. "wrstandardcode": {
  30526. "description": "现货品类代码",
  30527. "type": "string"
  30528. },
  30529. "wrstandardid": {
  30530. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30531. "type": "integer"
  30532. },
  30533. "wrstandardname": {
  30534. "description": "现货品类名称",
  30535. "type": "string"
  30536. }
  30537. }
  30538. },
  30539. "models.WRTradeBargainApply": {
  30540. "type": "object",
  30541. "properties": {
  30542. "accountid": {
  30543. "description": "摘牌资金账号",
  30544. "type": "integer"
  30545. },
  30546. "applyprice": {
  30547. "description": "申请价格(议价价格)",
  30548. "type": "string"
  30549. },
  30550. "applyqty": {
  30551. "description": "摘牌数量(议价数量)",
  30552. "type": "number"
  30553. },
  30554. "applyremark": {
  30555. "description": "申请备注",
  30556. "type": "string"
  30557. },
  30558. "applystatus": {
  30559. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30560. "type": "integer"
  30561. },
  30562. "applytime": {
  30563. "description": "申请时间(议价时间)",
  30564. "type": "string"
  30565. },
  30566. "buyorsell": {
  30567. "description": "买卖(挂牌类型) - 0:买 1:卖",
  30568. "type": "integer"
  30569. },
  30570. "confirmremark": {
  30571. "description": "确认备注",
  30572. "type": "string"
  30573. },
  30574. "confirmtime": {
  30575. "description": "确认时间",
  30576. "type": "string"
  30577. },
  30578. "confirmuserid": {
  30579. "description": "确认人",
  30580. "type": "integer"
  30581. },
  30582. "deliverygoodscode": {
  30583. "description": "品种代码",
  30584. "type": "string"
  30585. },
  30586. "deliverygoodsid": {
  30587. "description": "品种ID",
  30588. "type": "integer"
  30589. },
  30590. "deliverygoodsname": {
  30591. "description": "品种名称",
  30592. "type": "string"
  30593. },
  30594. "deliverymonth": {
  30595. "description": "交收月",
  30596. "type": "string"
  30597. },
  30598. "enumdicname": {
  30599. "description": "单位名称",
  30600. "type": "string"
  30601. },
  30602. "fixedprice": {
  30603. "description": "挂牌价格",
  30604. "type": "number"
  30605. },
  30606. "handlestatus": {
  30607. "description": "处理状态",
  30608. "type": "integer"
  30609. },
  30610. "marginvalue": {
  30611. "description": "履约保证金比例",
  30612. "type": "number"
  30613. },
  30614. "marketid": {
  30615. "description": "市场ID",
  30616. "type": "integer"
  30617. },
  30618. "matchaccountid": {
  30619. "description": "挂牌方资金账号",
  30620. "type": "integer"
  30621. },
  30622. "matchuserid": {
  30623. "description": "挂牌方用户id",
  30624. "type": "integer"
  30625. },
  30626. "matchusername": {
  30627. "description": "挂牌方用户名称(已脱敏)",
  30628. "type": "string"
  30629. },
  30630. "minivalue": {
  30631. "description": "现货商品最小变动值",
  30632. "type": "integer"
  30633. },
  30634. "optioncompare": {
  30635. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30636. "type": "string"
  30637. },
  30638. "orderqty": {
  30639. "description": "挂牌数量",
  30640. "type": "integer"
  30641. },
  30642. "refprice": {
  30643. "description": "参考价格",
  30644. "type": "string"
  30645. },
  30646. "retcode": {
  30647. "description": "委托返回代码",
  30648. "type": "integer"
  30649. },
  30650. "templatename": {
  30651. "description": "履约方式(履约模板名称)",
  30652. "type": "string"
  30653. },
  30654. "tradedate": {
  30655. "description": "交易日(yyyyMMdd)",
  30656. "type": "string"
  30657. },
  30658. "userid": {
  30659. "description": "摘牌人用户ID(议价人ID)",
  30660. "type": "integer"
  30661. },
  30662. "username": {
  30663. "description": "议价人名字(已脱敏)",
  30664. "type": "string"
  30665. },
  30666. "validtime": {
  30667. "description": "有效期限",
  30668. "type": "string"
  30669. },
  30670. "warehouseid": {
  30671. "description": "仓库ID",
  30672. "type": "integer"
  30673. },
  30674. "warehousename": {
  30675. "description": "仓库名称",
  30676. "type": "string"
  30677. },
  30678. "wrbargainid": {
  30679. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  30680. "type": "string"
  30681. },
  30682. "wrfactortypeid": {
  30683. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30684. "type": "string"
  30685. },
  30686. "wrfactortypename": {
  30687. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30688. "type": "string"
  30689. },
  30690. "wrstandardcode": {
  30691. "description": "现货商品代码",
  30692. "type": "string"
  30693. },
  30694. "wrstandardid": {
  30695. "description": "现货商品ID",
  30696. "type": "integer"
  30697. },
  30698. "wrstandardname": {
  30699. "description": "商品名称",
  30700. "type": "string"
  30701. },
  30702. "wrtradeorderid": {
  30703. "description": "关联委托单ID",
  30704. "type": "string"
  30705. },
  30706. "wrtypename": {
  30707. "description": "商品",
  30708. "type": "string"
  30709. }
  30710. }
  30711. },
  30712. "models.Warehouseinfo": {
  30713. "type": "object",
  30714. "required": [
  30715. "autoid",
  30716. "warehousecode"
  30717. ],
  30718. "properties": {
  30719. "address": {
  30720. "description": "详细地址",
  30721. "type": "string"
  30722. },
  30723. "areauserid": {
  30724. "description": "所属机构",
  30725. "type": "integer"
  30726. },
  30727. "autoid": {
  30728. "description": "自增ID",
  30729. "type": "integer"
  30730. },
  30731. "cityid": {
  30732. "description": "市",
  30733. "type": "integer"
  30734. },
  30735. "contactname": {
  30736. "description": "联系人",
  30737. "type": "string"
  30738. },
  30739. "contactnum": {
  30740. "description": "联系电话",
  30741. "type": "string"
  30742. },
  30743. "countryid": {
  30744. "description": "国家",
  30745. "type": "integer"
  30746. },
  30747. "createtime": {
  30748. "description": "创建时间",
  30749. "type": "string"
  30750. },
  30751. "districtid": {
  30752. "description": "区",
  30753. "type": "integer"
  30754. },
  30755. "hasvideo": {
  30756. "description": "是否有视频 - 0:无 1:有",
  30757. "type": "integer"
  30758. },
  30759. "provinceid": {
  30760. "description": "省",
  30761. "type": "integer"
  30762. },
  30763. "remark": {
  30764. "description": "审核备注",
  30765. "type": "string"
  30766. },
  30767. "videourl": {
  30768. "description": "视频地址",
  30769. "type": "string"
  30770. },
  30771. "warehousecode": {
  30772. "description": "仓库代码",
  30773. "type": "string"
  30774. },
  30775. "warehousename": {
  30776. "description": "仓库名称",
  30777. "type": "string"
  30778. },
  30779. "warehousestatus": {
  30780. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30781. "type": "integer"
  30782. },
  30783. "warehousetype": {
  30784. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30785. "type": "integer"
  30786. }
  30787. }
  30788. },
  30789. "models.WrAverageTradePrice": {
  30790. "type": "object",
  30791. "properties": {
  30792. "averageprice": {
  30793. "description": "成交均价",
  30794. "type": "number"
  30795. },
  30796. "tradedate": {
  30797. "description": "交易日yyyymm",
  30798. "type": "string"
  30799. }
  30800. }
  30801. },
  30802. "models.WrBsGoodsInfo": {
  30803. "type": "object",
  30804. "properties": {
  30805. "buyorsell": {
  30806. "description": "买卖方向 0-买 1-卖",
  30807. "type": "integer"
  30808. },
  30809. "goodsid": {
  30810. "description": "交易合约ID",
  30811. "type": "integer"
  30812. },
  30813. "lstitem": {
  30814. "description": "商品信息项",
  30815. "type": "array",
  30816. "items": {
  30817. "$ref": "#/definitions/models.WrTypeItem"
  30818. }
  30819. },
  30820. "lststep": {
  30821. "description": "履约规则",
  30822. "type": "array",
  30823. "items": {
  30824. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30825. }
  30826. }
  30827. }
  30828. },
  30829. "models.WrBuybackDetail": {
  30830. "type": "object",
  30831. "properties": {
  30832. "buybackamount": {
  30833. "description": "回购金额",
  30834. "type": "number"
  30835. },
  30836. "buybackqty": {
  30837. "description": "回购数量",
  30838. "type": "number"
  30839. },
  30840. "buybackreleasemargin": {
  30841. "description": "回购释放保证金",
  30842. "type": "number"
  30843. },
  30844. "buybacktime": {
  30845. "description": "回购时间",
  30846. "type": "string"
  30847. },
  30848. "errordesc": {
  30849. "description": "错误描述",
  30850. "type": "string"
  30851. },
  30852. "handlestatus": {
  30853. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  30854. "type": "integer"
  30855. },
  30856. "relatedwrid": {
  30857. "description": "关联仓单ID",
  30858. "type": "integer"
  30859. },
  30860. "scfcontractid": {
  30861. "description": "SCF合同ID",
  30862. "type": "string"
  30863. },
  30864. "scfwrbuybackid": {
  30865. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  30866. "type": "integer"
  30867. },
  30868. "tradedate": {
  30869. "description": "交易日(yyyyMMdd)",
  30870. "type": "string"
  30871. }
  30872. }
  30873. },
  30874. "models.WrDeliveryAvalidHoldLB": {
  30875. "type": "object",
  30876. "properties": {
  30877. "accountid": {
  30878. "description": "资金账号",
  30879. "type": "integer"
  30880. },
  30881. "avalidqty": {
  30882. "description": "数量(可点选数量)",
  30883. "type": "number"
  30884. },
  30885. "deliverygoodsid": {
  30886. "description": "品种id",
  30887. "type": "integer"
  30888. },
  30889. "enumdicname": {
  30890. "description": "单位名称",
  30891. "type": "string"
  30892. },
  30893. "goodsid": {
  30894. "description": "x合约商品id",
  30895. "type": "integer"
  30896. },
  30897. "ladingbillid": {
  30898. "description": "提单id",
  30899. "type": "string"
  30900. },
  30901. "pgoodscode": {
  30902. "description": "p商品代码(点价合约)",
  30903. "type": "string"
  30904. },
  30905. "pgoodsid": {
  30906. "description": "p商品id(点价合约)",
  30907. "type": "integer"
  30908. },
  30909. "pgoodsname": {
  30910. "description": "p商品名称(点价合约)",
  30911. "type": "string"
  30912. },
  30913. "pricemove": {
  30914. "description": "升贴水",
  30915. "type": "number"
  30916. },
  30917. "subnum": {
  30918. "description": "提单子id",
  30919. "type": "integer"
  30920. },
  30921. "userid": {
  30922. "description": "用户id",
  30923. "type": "integer"
  30924. },
  30925. "username": {
  30926. "description": "仓单持有人",
  30927. "type": "string"
  30928. },
  30929. "warehousecode": {
  30930. "description": "仓库代码",
  30931. "type": "string"
  30932. },
  30933. "warehouseid": {
  30934. "description": "仓库id",
  30935. "type": "integer"
  30936. },
  30937. "warehousename": {
  30938. "description": "仓库名称",
  30939. "type": "string"
  30940. },
  30941. "wrfactortypeid": {
  30942. "description": "仓单要素id",
  30943. "type": "string"
  30944. },
  30945. "wrstandardcode": {
  30946. "description": "品代码",
  30947. "type": "string"
  30948. },
  30949. "wrstandardid": {
  30950. "description": "品类d",
  30951. "type": "integer"
  30952. },
  30953. "wrstandardname": {
  30954. "description": "品类名称",
  30955. "type": "string"
  30956. },
  30957. "wrtypename": {
  30958. "description": "商品",
  30959. "type": "string"
  30960. },
  30961. "xgoodscode": {
  30962. "description": "x合约代码",
  30963. "type": "string"
  30964. },
  30965. "xgoodsname": {
  30966. "description": "x合约名称",
  30967. "type": "string"
  30968. }
  30969. }
  30970. },
  30971. "models.WrDeliveryDetail": {
  30972. "type": "object",
  30973. "properties": {
  30974. "accountid": {
  30975. "description": "账号ID",
  30976. "type": "integer"
  30977. },
  30978. "averageprice": {
  30979. "description": "交割均价 = 交割金额 / 交割数量",
  30980. "type": "number"
  30981. },
  30982. "buyorsell": {
  30983. "description": "方向 - 0:买 1:卖",
  30984. "type": "integer"
  30985. },
  30986. "deliveryamount": {
  30987. "description": "货款金额(X总货款+P总货款)",
  30988. "type": "number"
  30989. },
  30990. "deliveryid": {
  30991. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  30992. "type": "string"
  30993. },
  30994. "deliveryorderid": {
  30995. "description": "申报单号",
  30996. "type": "string"
  30997. },
  30998. "deliverypricemove": {
  30999. "description": "升贴水(升贴水总额)",
  31000. "type": "number"
  31001. },
  31002. "deliveryqty": {
  31003. "description": "交收数量(点选数量)",
  31004. "type": "number"
  31005. },
  31006. "deliverystatus": {
  31007. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31008. "type": "integer"
  31009. },
  31010. "deliverytime": {
  31011. "description": "交割时间",
  31012. "type": "string"
  31013. },
  31014. "deliverytotalamount": {
  31015. "description": "交收金额",
  31016. "type": "number"
  31017. },
  31018. "enumdicname": {
  31019. "description": "单位名称",
  31020. "type": "string"
  31021. },
  31022. "matchaccountid": {
  31023. "description": "对手账号ID",
  31024. "type": "integer"
  31025. },
  31026. "matchusername": {
  31027. "description": "对手方名称(仓单持有人)",
  31028. "type": "string"
  31029. },
  31030. "p1goodsremainamount": {
  31031. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31032. "type": "number"
  31033. },
  31034. "pdeliverycloseqty": {
  31035. "description": "p合约平仓数量",
  31036. "type": "number"
  31037. },
  31038. "pdeliveryprice": {
  31039. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31040. "type": "number"
  31041. },
  31042. "pgoodscode": {
  31043. "description": "商品代码",
  31044. "type": "string"
  31045. },
  31046. "pgoodsid": {
  31047. "description": "p点选合约id",
  31048. "type": "integer"
  31049. },
  31050. "pgoodsname": {
  31051. "description": "商品名称",
  31052. "type": "string"
  31053. },
  31054. "ppricemode": {
  31055. "description": "点价价格方式 - 1:商品价 2:固定值",
  31056. "type": "integer"
  31057. },
  31058. "tradedate": {
  31059. "description": "交易日(yyyymmdd)",
  31060. "type": "string"
  31061. },
  31062. "userid": {
  31063. "description": "用户id",
  31064. "type": "integer"
  31065. },
  31066. "username": {
  31067. "description": "用户名称",
  31068. "type": "string"
  31069. },
  31070. "warehousename": {
  31071. "description": "仓库名称",
  31072. "type": "string"
  31073. },
  31074. "wrfactortypeid": {
  31075. "description": "仓单要素类型ID",
  31076. "type": "string"
  31077. },
  31078. "wrtypename": {
  31079. "description": "商品",
  31080. "type": "string"
  31081. },
  31082. "xdeliverycloseqty": {
  31083. "description": "合约数量",
  31084. "type": "number"
  31085. },
  31086. "xgoodsamount": {
  31087. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31088. "type": "number"
  31089. },
  31090. "xgoodscode": {
  31091. "description": "商品代码",
  31092. "type": "string"
  31093. },
  31094. "xgoodsid": {
  31095. "description": "x交易合约ID",
  31096. "type": "integer"
  31097. },
  31098. "xgoodsname": {
  31099. "description": "商品名称",
  31100. "type": "string"
  31101. }
  31102. }
  31103. },
  31104. "models.WrFAProductDetail": {
  31105. "type": "object",
  31106. "properties": {
  31107. "accountid": {
  31108. "description": "资金账号",
  31109. "type": "integer"
  31110. },
  31111. "areauserid": {
  31112. "description": "金融机构ID",
  31113. "type": "integer"
  31114. },
  31115. "financingdays": {
  31116. "description": "天数(天)",
  31117. "type": "integer"
  31118. },
  31119. "interestminlen": {
  31120. "description": "最小起息天数",
  31121. "type": "integer"
  31122. },
  31123. "interestrate": {
  31124. "description": "利率",
  31125. "type": "number"
  31126. },
  31127. "interestratemode": {
  31128. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31129. "type": "integer"
  31130. },
  31131. "interestsettlemode": {
  31132. "description": "结息方式 - 1:按日结息 3:按月结息",
  31133. "type": "integer"
  31134. },
  31135. "interestsettlevalue": {
  31136. "description": "结息方式值",
  31137. "type": "integer"
  31138. },
  31139. "isautoloan": {
  31140. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  31141. "type": "integer"
  31142. },
  31143. "loantag": {
  31144. "description": "放款标识: \"放款快\" 或者为空",
  31145. "type": "string"
  31146. },
  31147. "marginratio": {
  31148. "description": "保证金比率质押率 - [仓单质押]",
  31149. "type": "number"
  31150. },
  31151. "productdetailid": {
  31152. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  31153. "type": "integer"
  31154. },
  31155. "productid": {
  31156. "description": "金融产品ID",
  31157. "type": "integer"
  31158. },
  31159. "productname": {
  31160. "description": "产品名称",
  31161. "type": "string"
  31162. },
  31163. "updatetime": {
  31164. "description": "更新时间",
  31165. "type": "string"
  31166. },
  31167. "username": {
  31168. "description": "融出方",
  31169. "type": "string"
  31170. }
  31171. }
  31172. },
  31173. "models.WrFactorTypeInfo": {
  31174. "type": "object",
  31175. "properties": {
  31176. "deliverygoodscode": {
  31177. "description": "品种代码",
  31178. "type": "string"
  31179. },
  31180. "deliverygoodsname": {
  31181. "description": "品种名称",
  31182. "type": "string"
  31183. },
  31184. "dgfactoryitemid": {
  31185. "description": "选择项id",
  31186. "type": "integer"
  31187. },
  31188. "dgfactoryitemtypeid": {
  31189. "description": "要素选择项ID (1-仓库 2-品牌)",
  31190. "type": "integer"
  31191. },
  31192. "dgfactoryitemvalue": {
  31193. "description": "要素项值",
  31194. "type": "string"
  31195. },
  31196. "itemtypename": {
  31197. "description": "要素项名称",
  31198. "type": "string"
  31199. },
  31200. "optioncompare": {
  31201. "description": "选择比较串",
  31202. "type": "string"
  31203. },
  31204. "warehouseid": {
  31205. "description": "仓库id",
  31206. "type": "integer"
  31207. },
  31208. "wrfactortypeid": {
  31209. "description": "仓单要素ID",
  31210. "type": "string"
  31211. },
  31212. "wrfactortypename": {
  31213. "description": "要素名称",
  31214. "type": "string"
  31215. },
  31216. "wrfactortypename2": {
  31217. "description": "要素名称(不含仓库)",
  31218. "type": "string"
  31219. },
  31220. "wrstandardcode": {
  31221. "description": "品类代码",
  31222. "type": "string"
  31223. },
  31224. "wrstandardid": {
  31225. "description": "品类id",
  31226. "type": "integer"
  31227. },
  31228. "wrstandardname": {
  31229. "description": "品类名称",
  31230. "type": "string"
  31231. }
  31232. }
  31233. },
  31234. "models.WrFilterItem": {
  31235. "type": "object",
  31236. "properties": {
  31237. "itemcode": {
  31238. "description": "代码",
  31239. "type": "string"
  31240. },
  31241. "itemid": {
  31242. "description": "项id",
  31243. "type": "integer"
  31244. },
  31245. "itemname": {
  31246. "description": "名称",
  31247. "type": "string"
  31248. },
  31249. "itemtype": {
  31250. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  31251. "type": "integer"
  31252. }
  31253. }
  31254. },
  31255. "models.WrFinanceBuyApply": {
  31256. "type": "object",
  31257. "properties": {
  31258. "applydate": {
  31259. "description": "申请时间",
  31260. "type": "string"
  31261. },
  31262. "applystatus": {
  31263. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  31264. "type": "integer"
  31265. },
  31266. "applyuserid": {
  31267. "description": "申请人",
  31268. "type": "integer"
  31269. },
  31270. "auditdate": {
  31271. "description": "审核时间",
  31272. "type": "string"
  31273. },
  31274. "auditremark": {
  31275. "description": "审核备注",
  31276. "type": "string"
  31277. },
  31278. "audituserid": {
  31279. "description": "审核人",
  31280. "type": "integer"
  31281. },
  31282. "buyaccountid": {
  31283. "description": "买方资金账号",
  31284. "type": "integer"
  31285. },
  31286. "buyorsell": {
  31287. "description": "买卖 - 0:买 1:卖",
  31288. "type": "integer"
  31289. },
  31290. "buyuserid": {
  31291. "description": "买方用户ID",
  31292. "type": "integer"
  31293. },
  31294. "buyusername": {
  31295. "description": "买方名称",
  31296. "type": "string"
  31297. },
  31298. "buywrtradeorderid": {
  31299. "description": "融资方买委托单ID",
  31300. "type": "string"
  31301. },
  31302. "deliverygoodscode": {
  31303. "description": "品种代码",
  31304. "type": "string"
  31305. },
  31306. "deliverygoodsid": {
  31307. "description": "品种ID",
  31308. "type": "integer"
  31309. },
  31310. "deliverygoodsname": {
  31311. "description": "品种名称",
  31312. "type": "string"
  31313. },
  31314. "deliverymonth": {
  31315. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  31316. "type": "string"
  31317. },
  31318. "enumdicname": {
  31319. "description": "单位名称",
  31320. "type": "string"
  31321. },
  31322. "financeaccountid": {
  31323. "description": "融资方资金帐户ID",
  31324. "type": "integer"
  31325. },
  31326. "financeapplyid": {
  31327. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31328. "type": "string"
  31329. },
  31330. "financeareauserid": {
  31331. "description": "融资方用户ID",
  31332. "type": "string"
  31333. },
  31334. "financename": {
  31335. "description": "融出方名称",
  31336. "type": "string"
  31337. },
  31338. "financetype": {
  31339. "description": "融资类型 1-融资回购",
  31340. "type": "integer"
  31341. },
  31342. "financingdays": {
  31343. "description": "天数(天)",
  31344. "type": "integer"
  31345. },
  31346. "freezebuymargin": {
  31347. "description": "冻结融资保证金(买方)",
  31348. "type": "number"
  31349. },
  31350. "handleremark": {
  31351. "description": "处理备注",
  31352. "type": "string"
  31353. },
  31354. "handlestatus": {
  31355. "description": "处理状态",
  31356. "type": "integer"
  31357. },
  31358. "interestminlen": {
  31359. "description": "最小起息天数",
  31360. "type": "integer"
  31361. },
  31362. "interestrate": {
  31363. "description": "利率",
  31364. "type": "number"
  31365. },
  31366. "interestratemode": {
  31367. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31368. "type": "integer"
  31369. },
  31370. "interestsettlemode": {
  31371. "description": "结息方式 - 1:按日结息 3:按月结息",
  31372. "type": "integer"
  31373. },
  31374. "interestsettlevalue": {
  31375. "description": "结息方式值",
  31376. "type": "integer"
  31377. },
  31378. "isautoloan": {
  31379. "description": "是否自动放款 - 0:手动 1:自动",
  31380. "type": "integer"
  31381. },
  31382. "marginratio": {
  31383. "description": "保证金比率质押率 - [仓单质押]",
  31384. "type": "number"
  31385. },
  31386. "marketid": {
  31387. "description": "市场ID",
  31388. "type": "integer"
  31389. },
  31390. "minivalue": {
  31391. "description": "现货商品最小变动值",
  31392. "type": "integer"
  31393. },
  31394. "optioncompare": {
  31395. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31396. "type": "string"
  31397. },
  31398. "orderqty": {
  31399. "description": "委托数量(商品数量)",
  31400. "type": "number"
  31401. },
  31402. "productdetailid": {
  31403. "description": "产品组合ID",
  31404. "type": "integer"
  31405. },
  31406. "productid": {
  31407. "description": "金融产品ID",
  31408. "type": "integer"
  31409. },
  31410. "productname": {
  31411. "description": "产品名称",
  31412. "type": "string"
  31413. },
  31414. "remark": {
  31415. "description": "备注",
  31416. "type": "string"
  31417. },
  31418. "scfcontractid": {
  31419. "description": "仓单回购合同ID",
  31420. "type": "string"
  31421. },
  31422. "sellaccountid": {
  31423. "description": "卖方资金账号",
  31424. "type": "integer"
  31425. },
  31426. "selluserid": {
  31427. "description": "卖方用户ID",
  31428. "type": "integer"
  31429. },
  31430. "sellwrtradeorderid": {
  31431. "description": "卖方委托单ID",
  31432. "type": "string"
  31433. },
  31434. "tradeamount": {
  31435. "description": "成交金额(借款金额)",
  31436. "type": "number"
  31437. },
  31438. "tradedate": {
  31439. "description": "交易日(yyyyMMdd)",
  31440. "type": "string"
  31441. },
  31442. "tradeprice": {
  31443. "description": "成交价格",
  31444. "type": "number"
  31445. },
  31446. "warehouseid": {
  31447. "description": "仓库ID",
  31448. "type": "integer"
  31449. },
  31450. "warehousename": {
  31451. "description": "仓库名称",
  31452. "type": "string"
  31453. },
  31454. "wrfactortypeid": {
  31455. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31456. "type": "string"
  31457. },
  31458. "wrfactortypename": {
  31459. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31460. "type": "string"
  31461. },
  31462. "wrpricetype": {
  31463. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  31464. "type": "integer"
  31465. },
  31466. "wrstandardcode": {
  31467. "description": "现货商品代码",
  31468. "type": "string"
  31469. },
  31470. "wrstandardid": {
  31471. "description": "现货商品ID",
  31472. "type": "integer"
  31473. },
  31474. "wrstandardname": {
  31475. "description": "商品名称",
  31476. "type": "string"
  31477. },
  31478. "wrtypename": {
  31479. "description": "商品",
  31480. "type": "string"
  31481. }
  31482. }
  31483. },
  31484. "models.WrFriendApply": {
  31485. "type": "object",
  31486. "properties": {
  31487. "applicantid": {
  31488. "description": "申请人",
  31489. "type": "integer"
  31490. },
  31491. "applyname": {
  31492. "description": "申请人名称",
  31493. "type": "string"
  31494. },
  31495. "applysrc": {
  31496. "description": "申请来源 - 1:管理端 2:终端",
  31497. "type": "integer"
  31498. },
  31499. "applystatus": {
  31500. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  31501. "type": "integer"
  31502. },
  31503. "applytime": {
  31504. "description": "申请时间",
  31505. "type": "string"
  31506. },
  31507. "auditname": {
  31508. "description": "审核人名称",
  31509. "type": "string"
  31510. },
  31511. "auditorid": {
  31512. "description": "审核人",
  31513. "type": "integer"
  31514. },
  31515. "auditremark": {
  31516. "description": "审核备注",
  31517. "type": "string"
  31518. },
  31519. "auditsrc": {
  31520. "description": "审核来源 - 1:管理端 2:终端",
  31521. "type": "integer"
  31522. },
  31523. "audittime": {
  31524. "description": "审核时间",
  31525. "type": "string"
  31526. },
  31527. "friendapplyid": {
  31528. "description": "申请ID(SEQ_FRIENDAPPLY)",
  31529. "type": "string"
  31530. },
  31531. "friendname": {
  31532. "description": "好友名字(已脱敏)",
  31533. "type": "string"
  31534. },
  31535. "frienduserid": {
  31536. "description": "好友用户ID",
  31537. "type": "string"
  31538. },
  31539. "remark": {
  31540. "description": "备注",
  31541. "type": "string"
  31542. },
  31543. "userid": {
  31544. "description": "申请人用户ID",
  31545. "type": "integer"
  31546. }
  31547. }
  31548. },
  31549. "models.WrFtDeliveryGoods": {
  31550. "type": "object",
  31551. "properties": {
  31552. "deliverygoodscode": {
  31553. "description": "品种代码",
  31554. "type": "string"
  31555. },
  31556. "deliverygoodsid": {
  31557. "description": "品种ID",
  31558. "type": "integer"
  31559. },
  31560. "deliverygoodsname": {
  31561. "description": "品种名称",
  31562. "type": "string"
  31563. },
  31564. "wdlst": {
  31565. "description": "商品列表",
  31566. "type": "array",
  31567. "items": {
  31568. "$ref": "#/definitions/models.WrFtWrstandard"
  31569. }
  31570. }
  31571. }
  31572. },
  31573. "models.WrFtWrstandard": {
  31574. "type": "object",
  31575. "properties": {
  31576. "enumdicname": {
  31577. "description": "单位名称",
  31578. "type": "string"
  31579. },
  31580. "minivalue": {
  31581. "description": "最小变动值",
  31582. "type": "integer"
  31583. },
  31584. "wrstandardcode": {
  31585. "description": "现货商品代码",
  31586. "type": "string"
  31587. },
  31588. "wrstandardid": {
  31589. "description": "现货商品ID",
  31590. "type": "integer"
  31591. },
  31592. "wrstandardname": {
  31593. "description": "商品名称",
  31594. "type": "string"
  31595. }
  31596. }
  31597. },
  31598. "models.WrGoodsInfo": {
  31599. "type": "object",
  31600. "properties": {
  31601. "haswr": {
  31602. "description": "0:仓单预售 1:仓单贸易",
  31603. "type": "integer"
  31604. },
  31605. "lstitem": {
  31606. "description": "商品信息项",
  31607. "type": "array",
  31608. "items": {
  31609. "$ref": "#/definitions/models.WrTypeItem"
  31610. }
  31611. },
  31612. "lststep": {
  31613. "description": "履约规则",
  31614. "type": "array",
  31615. "items": {
  31616. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31617. }
  31618. },
  31619. "marketid": {
  31620. "description": "市场id",
  31621. "type": "integer"
  31622. }
  31623. }
  31624. },
  31625. "models.WrGoodsPerformanceStep": {
  31626. "type": "object",
  31627. "properties": {
  31628. "autoid": {
  31629. "description": "AutoID",
  31630. "type": "integer"
  31631. },
  31632. "isauto": {
  31633. "description": "是否自动 - 0:不自动 1:自动",
  31634. "type": "integer"
  31635. },
  31636. "remark": {
  31637. "description": "备注",
  31638. "type": "string"
  31639. },
  31640. "stepdate": {
  31641. "description": "天数信息(T+N)",
  31642. "type": "string"
  31643. },
  31644. "stepdays": {
  31645. "description": "距离上一步天数",
  31646. "type": "integer"
  31647. },
  31648. "stepindex": {
  31649. "description": "步骤序号",
  31650. "type": "integer"
  31651. },
  31652. "stepinfo": {
  31653. "description": "步骤信息(步骤名称+步骤值)",
  31654. "type": "string"
  31655. },
  31656. "steptypeid": {
  31657. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31658. "type": "integer"
  31659. },
  31660. "steptypename": {
  31661. "description": "步骤名称",
  31662. "type": "string"
  31663. },
  31664. "stepvalue": {
  31665. "description": "步骤值",
  31666. "type": "number"
  31667. },
  31668. "templateid": {
  31669. "description": "履约计划模板ID",
  31670. "type": "integer"
  31671. }
  31672. }
  31673. },
  31674. "models.WrHoldLB": {
  31675. "type": "object",
  31676. "properties": {
  31677. "accountid": {
  31678. "description": "持有人帐户ID",
  31679. "type": "integer"
  31680. },
  31681. "createtime": {
  31682. "description": "创建时间(过户时间)",
  31683. "type": "string"
  31684. },
  31685. "deliverygoodscode": {
  31686. "description": "品种代码",
  31687. "type": "string"
  31688. },
  31689. "deliverygoodsid": {
  31690. "description": "品种ID",
  31691. "type": "integer"
  31692. },
  31693. "deliverygoodsname": {
  31694. "description": "品种名称",
  31695. "type": "string"
  31696. },
  31697. "enableqty": {
  31698. "description": "可用数量",
  31699. "type": "number"
  31700. },
  31701. "enumdicname": {
  31702. "description": "单位名称",
  31703. "type": "string"
  31704. },
  31705. "freezerqty": {
  31706. "description": "冻结数量",
  31707. "type": "number"
  31708. },
  31709. "ladingbillid": {
  31710. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31711. "type": "string"
  31712. },
  31713. "minivalue": {
  31714. "description": "现货商品最小变动值",
  31715. "type": "integer"
  31716. },
  31717. "optioncompare": {
  31718. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31719. "type": "string"
  31720. },
  31721. "parentsubnum": {
  31722. "description": "拆分父子单号",
  31723. "type": "integer"
  31724. },
  31725. "pledgeqty": {
  31726. "description": "质押数量",
  31727. "type": "number"
  31728. },
  31729. "qty": {
  31730. "description": "数量",
  31731. "type": "number"
  31732. },
  31733. "subnum": {
  31734. "description": "提单子单号",
  31735. "type": "integer"
  31736. },
  31737. "tradedate": {
  31738. "description": "交易日(yyyyMMdd)",
  31739. "type": "string"
  31740. },
  31741. "userid": {
  31742. "description": "持有人ID",
  31743. "type": "integer"
  31744. },
  31745. "warehouseid": {
  31746. "description": "仓库ID",
  31747. "type": "integer"
  31748. },
  31749. "warehousename": {
  31750. "description": "仓库名称",
  31751. "type": "string"
  31752. },
  31753. "wrfactortypeid": {
  31754. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31755. "type": "string"
  31756. },
  31757. "wrfactortypename": {
  31758. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31759. "type": "string"
  31760. },
  31761. "wrholdeno": {
  31762. "description": "仓单编号",
  31763. "type": "string"
  31764. },
  31765. "wrid": {
  31766. "description": "仓单变更ID",
  31767. "type": "string"
  31768. },
  31769. "wrstandardcode": {
  31770. "description": "现货商品代码",
  31771. "type": "string"
  31772. },
  31773. "wrstandardid": {
  31774. "description": "现货商品ID",
  31775. "type": "integer"
  31776. },
  31777. "wrstandardname": {
  31778. "description": "商品名称",
  31779. "type": "string"
  31780. },
  31781. "wrtypename": {
  31782. "description": "商品",
  31783. "type": "string"
  31784. }
  31785. }
  31786. },
  31787. "models.WrMarketTradeConfig": {
  31788. "type": "object",
  31789. "properties": {
  31790. "basisdownratio": {
  31791. "description": "浮动价基差下限比例(仓单贸易)",
  31792. "type": "number"
  31793. },
  31794. "basisupratio": {
  31795. "description": "浮动价基差上限比例(仓单贸易)",
  31796. "type": "number"
  31797. },
  31798. "buychargealgorithm": {
  31799. "description": "买方手续费收取方式 1:比率 2:固定",
  31800. "type": "integer"
  31801. },
  31802. "buychargealgorithm2": {
  31803. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31804. "type": "integer"
  31805. },
  31806. "buychargealgorithmvalue": {
  31807. "description": "买方手续费设置值(交易所部分)",
  31808. "type": "number"
  31809. },
  31810. "buychargealgorithmvalue2": {
  31811. "description": "买方手续费设置值(会员部分)",
  31812. "type": "number"
  31813. },
  31814. "buychargealgorithmvalue3": {
  31815. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  31816. "type": "number"
  31817. },
  31818. "buychargealgorithmvalue4": {
  31819. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  31820. "type": "number"
  31821. },
  31822. "buyfirstmarginalgorithm": {
  31823. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  31824. "type": "integer"
  31825. },
  31826. "buyfirstmarginvalue": {
  31827. "description": "买方出价保证金设置值 - [竞拍]",
  31828. "type": "number"
  31829. },
  31830. "buymarginalgorithm": {
  31831. "description": "买方保证金方式 - 1:比率 2:固定",
  31832. "type": "integer"
  31833. },
  31834. "buymarginvalue": {
  31835. "description": "买方保证金设置值",
  31836. "type": "number"
  31837. },
  31838. "buyreleaseratio": {
  31839. "description": "买方释放比率[2:分步履约]",
  31840. "type": "number"
  31841. },
  31842. "executemode": {
  31843. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  31844. "type": "integer"
  31845. },
  31846. "executeside": {
  31847. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  31848. "type": "integer"
  31849. },
  31850. "failedchargealgorithm": {
  31851. "description": "流拍手续费收取方式 1:比率 2:固定",
  31852. "type": "integer"
  31853. },
  31854. "failedchargevalue": {
  31855. "description": "流拍手续费设置值",
  31856. "type": "number"
  31857. },
  31858. "failedchargevalue2": {
  31859. "description": "流拍卖方手续费设置值",
  31860. "type": "number"
  31861. },
  31862. "holddays": {
  31863. "description": "合同期限[2:分步履约]",
  31864. "type": "integer"
  31865. },
  31866. "marketid": {
  31867. "description": "市场ID-仓单贸易、竞拍、预售",
  31868. "type": "integer"
  31869. },
  31870. "minqty": {
  31871. "description": "最小执行量[2:分步履约]",
  31872. "type": "number"
  31873. },
  31874. "modifierid": {
  31875. "description": "修改人",
  31876. "type": "integer"
  31877. },
  31878. "performancetempid": {
  31879. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  31880. "type": "integer"
  31881. },
  31882. "performancetempid2": {
  31883. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  31884. "type": "integer"
  31885. },
  31886. "performanceway": {
  31887. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  31888. "type": "integer"
  31889. },
  31890. "sellchargealgorithm": {
  31891. "description": "卖方手续费收取方式 1:比率 2:固定",
  31892. "type": "integer"
  31893. },
  31894. "sellchargealgorithm2": {
  31895. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31896. "type": "integer"
  31897. },
  31898. "sellchargealgorithmvalue": {
  31899. "description": "卖方手续费设置值(交易所部分)",
  31900. "type": "number"
  31901. },
  31902. "sellchargealgorithmvalue2": {
  31903. "description": "卖方手续费设置值(会员部分)",
  31904. "type": "number"
  31905. },
  31906. "sellchargealgorithmvalue3": {
  31907. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  31908. "type": "number"
  31909. },
  31910. "sellchargealgorithmvalue4": {
  31911. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  31912. "type": "number"
  31913. },
  31914. "sellmarginalgorithm": {
  31915. "description": "卖方保证金方式 - 1:比率 2:固定",
  31916. "type": "integer"
  31917. },
  31918. "sellmarginvalue": {
  31919. "description": "卖方保证金设置值",
  31920. "type": "number"
  31921. },
  31922. "sellmarginvalue2": {
  31923. "description": "卖方保证金设置值(无仓单)",
  31924. "type": "number"
  31925. },
  31926. "sellreleaseratio": {
  31927. "description": "卖方释放比率[2:分步履约]",
  31928. "type": "number"
  31929. },
  31930. "updatetime": {
  31931. "description": "更新时间",
  31932. "type": "string"
  31933. }
  31934. }
  31935. },
  31936. "models.WrOrderDetail": {
  31937. "type": "object",
  31938. "properties": {
  31939. "accountid": {
  31940. "description": "交易账号(资金账号)",
  31941. "type": "integer"
  31942. },
  31943. "allfriendsflag": {
  31944. "description": "是否全好友可见 - 0:否 1:是",
  31945. "type": "integer"
  31946. },
  31947. "amount": {
  31948. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  31949. "type": "number"
  31950. },
  31951. "buyorsell": {
  31952. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31953. "type": "integer"
  31954. },
  31955. "canbargain": {
  31956. "description": "是否可议价 - 0:不可 1:可",
  31957. "type": "integer"
  31958. },
  31959. "cancelqty": {
  31960. "description": "撤销数量",
  31961. "type": "number"
  31962. },
  31963. "canpart": {
  31964. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  31965. "type": "integer"
  31966. },
  31967. "delistminqty": {
  31968. "description": "起摘数量",
  31969. "type": "integer"
  31970. },
  31971. "deliverygoodscode": {
  31972. "description": "品种代码",
  31973. "type": "string"
  31974. },
  31975. "deliverygoodsid": {
  31976. "description": "品种ID",
  31977. "type": "integer"
  31978. },
  31979. "deliverygoodsname": {
  31980. "description": "品种名称",
  31981. "type": "string"
  31982. },
  31983. "deliverymonth": {
  31984. "description": "交收月",
  31985. "type": "string"
  31986. },
  31987. "enumdicname": {
  31988. "description": "单位名称",
  31989. "type": "string"
  31990. },
  31991. "fixedprice": {
  31992. "description": "固定价格 - [挂牌]",
  31993. "type": "number"
  31994. },
  31995. "freezemargin": {
  31996. "description": "冻结保证金(保证金)",
  31997. "type": "number"
  31998. },
  31999. "futupricemove": {
  32000. "description": "期货升贴水",
  32001. "type": "number"
  32002. },
  32003. "futushow": {
  32004. "description": "期货合约/升贴水",
  32005. "type": "string"
  32006. },
  32007. "goodscode": {
  32008. "description": "期货合约",
  32009. "type": "string"
  32010. },
  32011. "goodsid": {
  32012. "description": "期货商品id",
  32013. "type": "integer"
  32014. },
  32015. "goodsname": {
  32016. "description": "商品名称",
  32017. "type": "string"
  32018. },
  32019. "haswr": {
  32020. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32021. "type": "integer"
  32022. },
  32023. "isspecified": {
  32024. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32025. "type": "integer"
  32026. },
  32027. "marginvalue": {
  32028. "description": "保证金设置值(履约保证金)",
  32029. "type": "number"
  32030. },
  32031. "marketid": {
  32032. "description": "市场ID",
  32033. "type": "integer"
  32034. },
  32035. "matchusername": {
  32036. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32037. "type": "string"
  32038. },
  32039. "minivalue": {
  32040. "description": "现货商品最小变动值",
  32041. "type": "integer"
  32042. },
  32043. "optioncompare": {
  32044. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32045. "type": "string"
  32046. },
  32047. "orderqty": {
  32048. "description": "委托数量",
  32049. "type": "number"
  32050. },
  32051. "ordertime": {
  32052. "description": "委托时间(挂牌时间)",
  32053. "type": "string"
  32054. },
  32055. "pricemove": {
  32056. "description": "升贴水(浮动价时填写) - [挂牌]",
  32057. "type": "number"
  32058. },
  32059. "taname": {
  32060. "description": "交易用户名称(资金账号名称)",
  32061. "type": "string"
  32062. },
  32063. "tradedate": {
  32064. "description": "交易日(yyyyMMdd)",
  32065. "type": "string"
  32066. },
  32067. "tradeprice": {
  32068. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32069. "type": "number"
  32070. },
  32071. "tradeqty": {
  32072. "description": "成交数量",
  32073. "type": "number"
  32074. },
  32075. "userid": {
  32076. "description": "用户ID",
  32077. "type": "integer"
  32078. },
  32079. "validtime": {
  32080. "description": "挂牌有效期",
  32081. "type": "string"
  32082. },
  32083. "warehouseid": {
  32084. "description": "仓库ID",
  32085. "type": "integer"
  32086. },
  32087. "warehousename": {
  32088. "description": "仓库名称",
  32089. "type": "string"
  32090. },
  32091. "wrfactortypeid": {
  32092. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32093. "type": "string"
  32094. },
  32095. "wrfactortypename": {
  32096. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32097. "type": "string"
  32098. },
  32099. "wrpricetype": {
  32100. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32101. "type": "integer"
  32102. },
  32103. "wrstandardcode": {
  32104. "description": "现货商品代码",
  32105. "type": "string"
  32106. },
  32107. "wrstandardid": {
  32108. "description": "现货商品ID",
  32109. "type": "integer"
  32110. },
  32111. "wrstandardname": {
  32112. "description": "商品名称",
  32113. "type": "string"
  32114. },
  32115. "wrtradeorderid": {
  32116. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32117. "type": "string"
  32118. },
  32119. "wrtradeorderstatus": {
  32120. "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:撤单解冻贷款失败",
  32121. "type": "integer"
  32122. },
  32123. "wrtradetype": {
  32124. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32125. "type": "integer"
  32126. },
  32127. "wrtypename": {
  32128. "description": "商品",
  32129. "type": "string"
  32130. }
  32131. }
  32132. },
  32133. "models.WrOrderQuote": {
  32134. "type": "object",
  32135. "properties": {
  32136. "buyprice": {
  32137. "description": "买价",
  32138. "type": "number"
  32139. },
  32140. "buypricemove": {
  32141. "description": "买升贴水(基差)",
  32142. "type": "number"
  32143. },
  32144. "buyqty": {
  32145. "description": "买量",
  32146. "type": "number"
  32147. },
  32148. "deliverygoodscode": {
  32149. "description": "品种代码",
  32150. "type": "string"
  32151. },
  32152. "deliverygoodsid": {
  32153. "description": "品种id",
  32154. "type": "integer"
  32155. },
  32156. "deliverygoodsname": {
  32157. "description": "品种名称",
  32158. "type": "string"
  32159. },
  32160. "deliverymonth": {
  32161. "description": "交收月",
  32162. "type": "string"
  32163. },
  32164. "enumdicname": {
  32165. "description": "单位名称",
  32166. "type": "string"
  32167. },
  32168. "goodscode": {
  32169. "description": "商品合约(浮动价列表才有)",
  32170. "type": "string"
  32171. },
  32172. "goodsid": {
  32173. "description": "商品id(浮动价列表才有)",
  32174. "type": "integer"
  32175. },
  32176. "minivalue": {
  32177. "description": "现货商品最小变动值",
  32178. "type": "integer"
  32179. },
  32180. "sellprice": {
  32181. "description": "卖价",
  32182. "type": "number"
  32183. },
  32184. "sellpricemove": {
  32185. "description": "卖升贴水(基差)",
  32186. "type": "number"
  32187. },
  32188. "sellqty": {
  32189. "description": "卖量",
  32190. "type": "number"
  32191. },
  32192. "warehousecode": {
  32193. "description": "仓库代码",
  32194. "type": "string"
  32195. },
  32196. "warehouseid": {
  32197. "description": "仓库id",
  32198. "type": "integer"
  32199. },
  32200. "warehousename": {
  32201. "description": "仓库名称",
  32202. "type": "string"
  32203. },
  32204. "wrfactortypeid": {
  32205. "description": "仓单要素id",
  32206. "type": "string"
  32207. },
  32208. "wrfactortypename": {
  32209. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32210. "type": "string"
  32211. },
  32212. "wrgoodsname": {
  32213. "description": "商品(商品名称+仓库要素名称 拼接)",
  32214. "type": "string"
  32215. },
  32216. "wrstandardcode": {
  32217. "description": "商品代码",
  32218. "type": "string"
  32219. },
  32220. "wrstandardid": {
  32221. "description": "商品id",
  32222. "type": "integer"
  32223. },
  32224. "wrstandardname": {
  32225. "description": "商品名称",
  32226. "type": "string"
  32227. }
  32228. }
  32229. },
  32230. "models.WrOrderQuoteDetail": {
  32231. "type": "object",
  32232. "properties": {
  32233. "buyorsell": {
  32234. "description": "买卖 - 0:买 1:卖",
  32235. "type": "integer"
  32236. },
  32237. "delistminqty": {
  32238. "description": "起摘数量",
  32239. "type": "number"
  32240. },
  32241. "deliverymonth": {
  32242. "description": "交收月",
  32243. "type": "string"
  32244. },
  32245. "enumdicname": {
  32246. "description": "单位名称",
  32247. "type": "string"
  32248. },
  32249. "fixedprice": {
  32250. "description": "买(卖)价",
  32251. "type": "number"
  32252. },
  32253. "minivalue": {
  32254. "description": "现货商品最小变动值",
  32255. "type": "integer"
  32256. },
  32257. "orderqty": {
  32258. "description": "买(卖)量(=委托量-成交量)",
  32259. "type": "number"
  32260. },
  32261. "ordertime": {
  32262. "description": "委托时间",
  32263. "type": "string"
  32264. },
  32265. "pricemove": {
  32266. "description": "买(卖)升贴水- 基差",
  32267. "type": "number"
  32268. },
  32269. "userid": {
  32270. "description": "购买方(销售方)用户ID",
  32271. "type": "integer"
  32272. },
  32273. "username": {
  32274. "description": "购买方(销售方)",
  32275. "type": "string"
  32276. },
  32277. "wrtradeorderid": {
  32278. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32279. "type": "string"
  32280. }
  32281. }
  32282. },
  32283. "models.WrOutInApply": {
  32284. "type": "object",
  32285. "properties": {
  32286. "applyid": {
  32287. "description": "申请单id",
  32288. "type": "string"
  32289. },
  32290. "applystatus": {
  32291. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  32292. "type": "integer"
  32293. },
  32294. "applytime": {
  32295. "description": "申请时间",
  32296. "type": "string"
  32297. },
  32298. "applytype": {
  32299. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  32300. "type": "integer"
  32301. },
  32302. "deliverygoodscode": {
  32303. "description": "品种代码",
  32304. "type": "string"
  32305. },
  32306. "deliverygoodsid": {
  32307. "description": "品种ID",
  32308. "type": "integer"
  32309. },
  32310. "deliverygoodsname": {
  32311. "description": "品种名称",
  32312. "type": "string"
  32313. },
  32314. "enumdicname": {
  32315. "description": "单位名称",
  32316. "type": "string"
  32317. },
  32318. "expresscompany": {
  32319. "description": "物流公司",
  32320. "type": "string"
  32321. },
  32322. "expressnum": {
  32323. "description": "物流单号",
  32324. "type": "string"
  32325. },
  32326. "minivalue": {
  32327. "description": "现货商品最小变动值",
  32328. "type": "integer"
  32329. },
  32330. "optioncompare": {
  32331. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32332. "type": "string"
  32333. },
  32334. "qty": {
  32335. "description": "数量",
  32336. "type": "integer"
  32337. },
  32338. "userid": {
  32339. "description": "用户id",
  32340. "type": "integer"
  32341. },
  32342. "warehouseid": {
  32343. "description": "仓库ID",
  32344. "type": "integer"
  32345. },
  32346. "warehousename": {
  32347. "description": "仓库名称",
  32348. "type": "string"
  32349. },
  32350. "wrfactortypeid": {
  32351. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32352. "type": "string"
  32353. },
  32354. "wrfactortypename": {
  32355. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32356. "type": "string"
  32357. },
  32358. "wrstandardcode": {
  32359. "description": "现货商品代码",
  32360. "type": "string"
  32361. },
  32362. "wrstandardid": {
  32363. "description": "现货商品ID",
  32364. "type": "integer"
  32365. },
  32366. "wrstandardname": {
  32367. "description": "商品名称",
  32368. "type": "string"
  32369. },
  32370. "wrtypename": {
  32371. "description": "商品",
  32372. "type": "string"
  32373. }
  32374. }
  32375. },
  32376. "models.WrPerformancePlan": {
  32377. "type": "object",
  32378. "required": [
  32379. "userid"
  32380. ],
  32381. "properties": {
  32382. "activatemonth": {
  32383. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  32384. "type": "string"
  32385. },
  32386. "amount": {
  32387. "description": "履约金额(总金额)",
  32388. "type": "number"
  32389. },
  32390. "buyaccountid": {
  32391. "description": "买方账号",
  32392. "type": "integer"
  32393. },
  32394. "buyerfreezeamount": {
  32395. "description": "履约冻结(买履约)",
  32396. "type": "number"
  32397. },
  32398. "buyerfreezeamountremain": {
  32399. "description": "履约冻结剩余(买履约)",
  32400. "type": "number"
  32401. },
  32402. "buyorsell": {
  32403. "description": "买卖方向 0-买 1-卖",
  32404. "type": "integer"
  32405. },
  32406. "buypaidamount": {
  32407. "description": "买方已冻/已扣金额 (已付金额)",
  32408. "type": "number"
  32409. },
  32410. "buyusername": {
  32411. "description": "买方名字",
  32412. "type": "string"
  32413. },
  32414. "contractid": {
  32415. "description": "合同ID",
  32416. "type": "integer"
  32417. },
  32418. "createtime": {
  32419. "description": "创建时间",
  32420. "type": "string"
  32421. },
  32422. "creatorid": {
  32423. "description": "创建人",
  32424. "type": "integer"
  32425. },
  32426. "curstepdeadline": {
  32427. "description": "当前步骤到期时间",
  32428. "type": "string"
  32429. },
  32430. "curstepid": {
  32431. "description": "当前步骤ID",
  32432. "type": "string"
  32433. },
  32434. "curstepname": {
  32435. "description": "当前步骤名称",
  32436. "type": "string"
  32437. },
  32438. "deliverygoodscode": {
  32439. "description": "品种代码",
  32440. "type": "string"
  32441. },
  32442. "deliverygoodsid": {
  32443. "description": "品种ID",
  32444. "type": "integer"
  32445. },
  32446. "deliverygoodsname": {
  32447. "description": "品种名称",
  32448. "type": "string"
  32449. },
  32450. "enumdicname": {
  32451. "description": "单位名称",
  32452. "type": "string"
  32453. },
  32454. "expressfee": {
  32455. "description": "运费",
  32456. "type": "number"
  32457. },
  32458. "expressfeeconfirmed": {
  32459. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  32460. "type": "integer"
  32461. },
  32462. "hasovershort": {
  32463. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  32464. "type": "integer"
  32465. },
  32466. "haswr": {
  32467. "description": "类型 0-仓单预售 1-仓单贸易",
  32468. "type": "integer"
  32469. },
  32470. "marketid": {
  32471. "description": "市场ID",
  32472. "type": "integer"
  32473. },
  32474. "middleaccountid": {
  32475. "description": "中间商资金账号ID",
  32476. "type": "integer"
  32477. },
  32478. "middleuserid": {
  32479. "description": "中间商用户ID",
  32480. "type": "integer"
  32481. },
  32482. "minivalue": {
  32483. "description": "现货商品最小变动值",
  32484. "type": "integer"
  32485. },
  32486. "optioncompare": {
  32487. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32488. "type": "string"
  32489. },
  32490. "overshortamount": {
  32491. "description": "溢短金额",
  32492. "type": "number"
  32493. },
  32494. "overshortqty": {
  32495. "description": "溢短数量",
  32496. "type": "number"
  32497. },
  32498. "paymenttype": {
  32499. "description": "付款方式 - 1:冻结 2:扣款",
  32500. "type": "integer"
  32501. },
  32502. "performanceplanid": {
  32503. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  32504. "type": "string"
  32505. },
  32506. "performancestatus": {
  32507. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  32508. "type": "integer"
  32509. },
  32510. "performancetype": {
  32511. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  32512. "type": "integer"
  32513. },
  32514. "qty": {
  32515. "description": "履约数量",
  32516. "type": "number"
  32517. },
  32518. "relatedorderid": {
  32519. "description": "关联单号(履约类型的关联单号)",
  32520. "type": "string"
  32521. },
  32522. "remark": {
  32523. "description": "备注",
  32524. "type": "string"
  32525. },
  32526. "sellaccountid": {
  32527. "description": "卖方账号",
  32528. "type": "integer"
  32529. },
  32530. "sellerfreezeamount": {
  32531. "description": "履约冻结(卖履约)",
  32532. "type": "number"
  32533. },
  32534. "sellerfreezeamountremain": {
  32535. "description": "履约冻结剩余(卖履约)",
  32536. "type": "number"
  32537. },
  32538. "sellreceivedamount": {
  32539. "description": "卖方已收金额",
  32540. "type": "number"
  32541. },
  32542. "sellusername": {
  32543. "description": "卖方名字",
  32544. "type": "string"
  32545. },
  32546. "shipremark": {
  32547. "description": "发货备注[物流单号]",
  32548. "type": "string"
  32549. },
  32550. "starttime": {
  32551. "description": "开始时间",
  32552. "type": "string"
  32553. },
  32554. "steptypeid": {
  32555. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32556. "type": "integer"
  32557. },
  32558. "typename": {
  32559. "description": "履约类型 名称",
  32560. "type": "string"
  32561. },
  32562. "unpaidamount": {
  32563. "description": "剩余款(待支付金额)",
  32564. "type": "number"
  32565. },
  32566. "userid": {
  32567. "description": "用户id",
  32568. "type": "integer"
  32569. },
  32570. "warehouseid": {
  32571. "description": "仓库ID",
  32572. "type": "integer"
  32573. },
  32574. "warehousename": {
  32575. "description": "仓库名称",
  32576. "type": "string"
  32577. },
  32578. "wrfactortypeid": {
  32579. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32580. "type": "string"
  32581. },
  32582. "wrfactortypename": {
  32583. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32584. "type": "string"
  32585. },
  32586. "wrstandardcode": {
  32587. "description": "现货商品代码",
  32588. "type": "string"
  32589. },
  32590. "wrstandardid": {
  32591. "description": "现货商品ID",
  32592. "type": "integer"
  32593. },
  32594. "wrstandardname": {
  32595. "description": "商品名称",
  32596. "type": "string"
  32597. },
  32598. "wrtransferuserid": {
  32599. "description": "仓单受让用户",
  32600. "type": "integer"
  32601. },
  32602. "wrtypename": {
  32603. "description": "商品",
  32604. "type": "string"
  32605. }
  32606. }
  32607. },
  32608. "models.WrPerformancePlanStep": {
  32609. "type": "object",
  32610. "properties": {
  32611. "delaydays": {
  32612. "description": "延期申请天数",
  32613. "type": "integer"
  32614. },
  32615. "deliverygoodscode": {
  32616. "description": "品种代码",
  32617. "type": "string"
  32618. },
  32619. "deliverygoodsid": {
  32620. "description": "品种ID",
  32621. "type": "integer"
  32622. },
  32623. "deliverygoodsname": {
  32624. "description": "品种名称",
  32625. "type": "string"
  32626. },
  32627. "endtime": {
  32628. "description": "结束日期",
  32629. "type": "string"
  32630. },
  32631. "enumdicname": {
  32632. "description": "单位名称",
  32633. "type": "string"
  32634. },
  32635. "executeside": {
  32636. "description": "步骤执行方 - 1:买方 2:卖方",
  32637. "type": "integer"
  32638. },
  32639. "handlestatus": {
  32640. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  32641. "type": "integer"
  32642. },
  32643. "isauto": {
  32644. "description": "是否自动 - 0:不自动 1:自动",
  32645. "type": "integer"
  32646. },
  32647. "islastreceivestep": {
  32648. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  32649. "type": "integer"
  32650. },
  32651. "minivalue": {
  32652. "description": "现货商品最小变动值",
  32653. "type": "integer"
  32654. },
  32655. "optioncompare": {
  32656. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32657. "type": "string"
  32658. },
  32659. "overdays": {
  32660. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  32661. "type": "integer"
  32662. },
  32663. "performancestepid": {
  32664. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  32665. "type": "string"
  32666. },
  32667. "planid": {
  32668. "description": "所属履约计划ID",
  32669. "type": "string"
  32670. },
  32671. "realamount": {
  32672. "description": "实际完成金额",
  32673. "type": "number"
  32674. },
  32675. "relatedorderid": {
  32676. "description": "关联单号",
  32677. "type": "string"
  32678. },
  32679. "remaindays": {
  32680. "description": "剩余天数",
  32681. "type": "integer"
  32682. },
  32683. "remark": {
  32684. "description": "错误备注",
  32685. "type": "string"
  32686. },
  32687. "starttime": {
  32688. "description": "开始日期",
  32689. "type": "string"
  32690. },
  32691. "stepamount": {
  32692. "description": "步骤金额",
  32693. "type": "number"
  32694. },
  32695. "stepdays": {
  32696. "description": "距离上一步天数(分钟)",
  32697. "type": "integer"
  32698. },
  32699. "stepindex": {
  32700. "description": "步骤序号",
  32701. "type": "integer"
  32702. },
  32703. "steplanchtype": {
  32704. "description": "步骤启动类型 - 1:系统自动 2:手动",
  32705. "type": "integer"
  32706. },
  32707. "stepremark": {
  32708. "description": "步骤备注",
  32709. "type": "string"
  32710. },
  32711. "stepstatus": {
  32712. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  32713. "type": "integer"
  32714. },
  32715. "steptypeid": {
  32716. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32717. "type": "integer"
  32718. },
  32719. "steptypename": {
  32720. "description": "步骤名称",
  32721. "type": "string"
  32722. },
  32723. "stepvalue": {
  32724. "description": "步骤值",
  32725. "type": "number"
  32726. },
  32727. "warehouseid": {
  32728. "description": "仓库ID",
  32729. "type": "integer"
  32730. },
  32731. "warehousename": {
  32732. "description": "仓库名称",
  32733. "type": "string"
  32734. },
  32735. "wrfactortypeid": {
  32736. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32737. "type": "string"
  32738. },
  32739. "wrfactortypename": {
  32740. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32741. "type": "string"
  32742. },
  32743. "wrstandardcode": {
  32744. "description": "现货商品代码",
  32745. "type": "string"
  32746. },
  32747. "wrstandardid": {
  32748. "description": "现货商品ID",
  32749. "type": "integer"
  32750. },
  32751. "wrstandardname": {
  32752. "description": "商品名称",
  32753. "type": "string"
  32754. },
  32755. "wrtypename": {
  32756. "description": "商品",
  32757. "type": "string"
  32758. }
  32759. }
  32760. },
  32761. "models.WrPerformanceStepType": {
  32762. "type": "object",
  32763. "properties": {
  32764. "canauto": {
  32765. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  32766. "type": "integer"
  32767. },
  32768. "steptypeid": {
  32769. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  32770. "type": "integer"
  32771. },
  32772. "steptypename": {
  32773. "description": "步骤类型名称",
  32774. "type": "string"
  32775. }
  32776. }
  32777. },
  32778. "models.WrPerformanceTemplateEx": {
  32779. "type": "object",
  32780. "properties": {
  32781. "autoid": {
  32782. "description": "AutoID 模板id",
  32783. "type": "integer"
  32784. },
  32785. "createtime": {
  32786. "description": "创建时间",
  32787. "type": "string"
  32788. },
  32789. "creatorid": {
  32790. "description": "创建人",
  32791. "type": "integer"
  32792. },
  32793. "lstStep": {
  32794. "description": "步骤信息列表",
  32795. "type": "array",
  32796. "items": {
  32797. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32798. }
  32799. },
  32800. "paymenttype": {
  32801. "description": "支付方式 - 1:冻结 2:扣款",
  32802. "type": "integer"
  32803. },
  32804. "takemode": {
  32805. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  32806. "type": "integer"
  32807. },
  32808. "templatename": {
  32809. "description": "模板名称",
  32810. "type": "string"
  32811. },
  32812. "templatetype": {
  32813. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  32814. "type": "integer"
  32815. },
  32816. "userid": {
  32817. "description": "所属用户",
  32818. "type": "integer"
  32819. }
  32820. }
  32821. },
  32822. "models.WrPosition": {
  32823. "type": "object",
  32824. "properties": {
  32825. "accountid": {
  32826. "description": "帐户ID",
  32827. "type": "integer"
  32828. },
  32829. "buyexcuteqty": {
  32830. "description": "采购履约中数量",
  32831. "type": "number"
  32832. },
  32833. "creditcurqty": {
  32834. "description": "授信当前数量(预售仓单:预售当前量)",
  32835. "type": "number"
  32836. },
  32837. "creditenableqty": {
  32838. "description": "授信可用数量(预售仓单: 可用数量)",
  32839. "type": "number"
  32840. },
  32841. "creditfreezeqty": {
  32842. "description": "授信冻结数量(预售仓单: 当前数量)",
  32843. "type": "number"
  32844. },
  32845. "credittotalqty": {
  32846. "description": "授信总数量(预售仓单:预售总量)",
  32847. "type": "number"
  32848. },
  32849. "credittradeqty": {
  32850. "description": "授信成交数量(预售仓单:成交总量)",
  32851. "type": "number"
  32852. },
  32853. "deliverygoodscode": {
  32854. "description": "品种代码",
  32855. "type": "string"
  32856. },
  32857. "deliverygoodsid": {
  32858. "description": "品种ID",
  32859. "type": "integer"
  32860. },
  32861. "deliverygoodsname": {
  32862. "description": "品种名称",
  32863. "type": "string"
  32864. },
  32865. "enalbeqty": {
  32866. "description": "可用数量",
  32867. "type": "number"
  32868. },
  32869. "enumdicname": {
  32870. "description": "单位名称",
  32871. "type": "string"
  32872. },
  32873. "freezeqty": {
  32874. "description": "总冻结数量",
  32875. "type": "number"
  32876. },
  32877. "haswr": {
  32878. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32879. "type": "integer"
  32880. },
  32881. "minivalue": {
  32882. "description": "现货商品最小变动值",
  32883. "type": "integer"
  32884. },
  32885. "modifytime": {
  32886. "description": "修改时间(过户时间)",
  32887. "type": "string"
  32888. },
  32889. "optioncompare": {
  32890. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32891. "type": "string"
  32892. },
  32893. "pledgeqty": {
  32894. "description": "质押数量",
  32895. "type": "number"
  32896. },
  32897. "querytype": {
  32898. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  32899. "type": "integer"
  32900. },
  32901. "sellexcuteqty": {
  32902. "description": "销售履约中数量",
  32903. "type": "number"
  32904. },
  32905. "totalqty": {
  32906. "description": "总数量(库存数量)",
  32907. "type": "number"
  32908. },
  32909. "warehouseid": {
  32910. "description": "仓库ID",
  32911. "type": "integer"
  32912. },
  32913. "warehousename": {
  32914. "description": "仓库名称",
  32915. "type": "string"
  32916. },
  32917. "wrfactortypeid": {
  32918. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32919. "type": "string"
  32920. },
  32921. "wrfactortypename": {
  32922. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32923. "type": "string"
  32924. },
  32925. "wrpositionid": {
  32926. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  32927. "type": "string"
  32928. },
  32929. "wrpositionno": {
  32930. "description": "仓单编号",
  32931. "type": "string"
  32932. },
  32933. "wrstandardcode": {
  32934. "description": "现货商品代码",
  32935. "type": "string"
  32936. },
  32937. "wrstandardid": {
  32938. "description": "现货商品ID",
  32939. "type": "integer"
  32940. },
  32941. "wrstandardname": {
  32942. "description": "商品名称",
  32943. "type": "string"
  32944. },
  32945. "wrtypename": {
  32946. "description": "商品",
  32947. "type": "string"
  32948. },
  32949. "wruserid": {
  32950. "description": "持有人ID",
  32951. "type": "integer"
  32952. }
  32953. }
  32954. },
  32955. "models.WrQuoteOrderMyq": {
  32956. "type": "object",
  32957. "properties": {
  32958. "buyorsell": {
  32959. "description": "买卖 - 0:买 1:卖",
  32960. "type": "integer"
  32961. },
  32962. "canbargain": {
  32963. "description": "是否可议价 - 0:不可 1:可",
  32964. "type": "integer"
  32965. },
  32966. "canpart": {
  32967. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  32968. "type": "integer"
  32969. },
  32970. "delistminqty": {
  32971. "description": "起摘数量",
  32972. "type": "number"
  32973. },
  32974. "deliverygoodscode": {
  32975. "description": "品种代码",
  32976. "type": "string"
  32977. },
  32978. "deliverygoodsid": {
  32979. "description": "品种ID",
  32980. "type": "integer"
  32981. },
  32982. "deliverygoodsname": {
  32983. "description": "品种名称",
  32984. "type": "string"
  32985. },
  32986. "deliverymonth": {
  32987. "description": "交收月",
  32988. "type": "string"
  32989. },
  32990. "enumdicname": {
  32991. "description": "单位名称",
  32992. "type": "string"
  32993. },
  32994. "fixedprice": {
  32995. "description": "买(卖)价",
  32996. "type": "number"
  32997. },
  32998. "goodscode": {
  32999. "description": "商品合约代码",
  33000. "type": "string"
  33001. },
  33002. "marginflag": {
  33003. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  33004. "type": "integer"
  33005. },
  33006. "marginvalue": {
  33007. "description": "保证金设置值",
  33008. "type": "number"
  33009. },
  33010. "minivalue": {
  33011. "description": "现货商品最小变动值",
  33012. "type": "integer"
  33013. },
  33014. "orderqty": {
  33015. "description": "买(卖)量(=委托量-成交量)",
  33016. "type": "number"
  33017. },
  33018. "ordertime": {
  33019. "description": "委托时间",
  33020. "type": "string"
  33021. },
  33022. "performancetemplateid": {
  33023. "description": "履约模板id",
  33024. "type": "integer"
  33025. },
  33026. "pricemove": {
  33027. "description": "买(卖)升贴水- 基差",
  33028. "type": "number"
  33029. },
  33030. "templatename": {
  33031. "description": "履约模板名称",
  33032. "type": "string"
  33033. },
  33034. "userid": {
  33035. "description": "购买方(销售方)用户ID",
  33036. "type": "integer"
  33037. },
  33038. "username": {
  33039. "description": "购买方(销售方)",
  33040. "type": "string"
  33041. },
  33042. "validtime": {
  33043. "description": "有效期限",
  33044. "type": "string"
  33045. },
  33046. "validtype": {
  33047. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33048. "type": "integer"
  33049. },
  33050. "warehousename": {
  33051. "description": "仓库名称",
  33052. "type": "string"
  33053. },
  33054. "wrfactortypeid": {
  33055. "description": "仓单要素id",
  33056. "type": "string"
  33057. },
  33058. "wrstandardcode": {
  33059. "description": "现货商品代码",
  33060. "type": "string"
  33061. },
  33062. "wrstandardid": {
  33063. "description": "现货商品ID",
  33064. "type": "integer"
  33065. },
  33066. "wrstandardname": {
  33067. "description": "商品名称",
  33068. "type": "string"
  33069. },
  33070. "wrtradeorderid": {
  33071. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33072. "type": "string"
  33073. },
  33074. "wrtypename": {
  33075. "description": "商品",
  33076. "type": "string"
  33077. }
  33078. }
  33079. },
  33080. "models.WrScfContract": {
  33081. "type": "object",
  33082. "properties": {
  33083. "borroweruserid": {
  33084. "description": "借款用户ID",
  33085. "type": "integer"
  33086. },
  33087. "buybackwrpositionqty": {
  33088. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33089. "type": "number"
  33090. },
  33091. "closeinterest": {
  33092. "description": "已结利息 -\u003e 已结费用",
  33093. "type": "number"
  33094. },
  33095. "currisklevel": {
  33096. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33097. "type": "integer"
  33098. },
  33099. "deadline": {
  33100. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  33101. "type": "string"
  33102. },
  33103. "deliverygoodscode": {
  33104. "description": "品种代码",
  33105. "type": "string"
  33106. },
  33107. "deliverygoodsid": {
  33108. "description": "品种ID",
  33109. "type": "integer"
  33110. },
  33111. "deliverygoodsname": {
  33112. "description": "品种名称",
  33113. "type": "string"
  33114. },
  33115. "enumdicname": {
  33116. "description": "单位名称",
  33117. "type": "string"
  33118. },
  33119. "financingdays": {
  33120. "description": "天数(天)",
  33121. "type": "integer"
  33122. },
  33123. "initmargin": {
  33124. "description": "保证金 - [仓单回购]",
  33125. "type": "number"
  33126. },
  33127. "interestamount": {
  33128. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  33129. "type": "number"
  33130. },
  33131. "interestdebt": {
  33132. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  33133. "type": "number"
  33134. },
  33135. "interestminlen": {
  33136. "description": "最小起息天数",
  33137. "type": "integer"
  33138. },
  33139. "interestrate": {
  33140. "description": "利率",
  33141. "type": "number"
  33142. },
  33143. "interestratemode": {
  33144. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33145. "type": "integer"
  33146. },
  33147. "interestsettlemode": {
  33148. "description": "结息方式 - 1:按日结息 3:按月结息",
  33149. "type": "integer"
  33150. },
  33151. "interestsettlevalue": {
  33152. "description": "结息方式值",
  33153. "type": "integer"
  33154. },
  33155. "isautoloan": {
  33156. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  33157. "type": "integer"
  33158. },
  33159. "lastcloseinterestday": {
  33160. "description": "最近结息日(yyyyMMdd)",
  33161. "type": "string"
  33162. },
  33163. "lenderamount": {
  33164. "description": "贷款金额 -\u003e 借款金额",
  33165. "type": "number"
  33166. },
  33167. "lenderuserid": {
  33168. "description": "贷款方用户ID -\u003e 融出方用户ID",
  33169. "type": "integer"
  33170. },
  33171. "lenderusername": {
  33172. "description": "融出方",
  33173. "type": "string"
  33174. },
  33175. "marginratio": {
  33176. "description": "保证金比率质押率 - [仓单质押]",
  33177. "type": "number"
  33178. },
  33179. "marketid": {
  33180. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  33181. "type": "integer"
  33182. },
  33183. "minivalue": {
  33184. "description": "现货商品最小变动值",
  33185. "type": "integer"
  33186. },
  33187. "optioncompare": {
  33188. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33189. "type": "string"
  33190. },
  33191. "pricemove": {
  33192. "description": "估值升贴水值",
  33193. "type": "number"
  33194. },
  33195. "productdetailid": {
  33196. "description": "产品组合ID",
  33197. "type": "integer"
  33198. },
  33199. "productid": {
  33200. "description": "金融产品ID",
  33201. "type": "integer"
  33202. },
  33203. "productname": {
  33204. "description": "产品名称",
  33205. "type": "string"
  33206. },
  33207. "remainamount": {
  33208. "description": "合同剩余金额 -\u003e 剩余金额",
  33209. "type": "number"
  33210. },
  33211. "remainwrpositionqty": {
  33212. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  33213. "type": "number"
  33214. },
  33215. "remark": {
  33216. "description": "备注",
  33217. "type": "string"
  33218. },
  33219. "scfcontractid": {
  33220. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33221. "type": "string"
  33222. },
  33223. "scfcontractstatus": {
  33224. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33225. "type": "integer"
  33226. },
  33227. "scfcontracttype": {
  33228. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  33229. "type": "integer"
  33230. },
  33231. "startinterestday": {
  33232. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  33233. "type": "string"
  33234. },
  33235. "totalinterest": {
  33236. "description": "已计利息 -\u003e 已计费用",
  33237. "type": "number"
  33238. },
  33239. "unpaidinterest": {
  33240. "description": "未结费用",
  33241. "type": "number"
  33242. },
  33243. "updatetime": {
  33244. "description": "更新时间",
  33245. "type": "string"
  33246. },
  33247. "warehouseid": {
  33248. "description": "仓库ID",
  33249. "type": "integer"
  33250. },
  33251. "warehousename": {
  33252. "description": "仓库名称",
  33253. "type": "string"
  33254. },
  33255. "wrfactortypeid": {
  33256. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33257. "type": "string"
  33258. },
  33259. "wrfactortypename": {
  33260. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33261. "type": "string"
  33262. },
  33263. "wrqty": {
  33264. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  33265. "type": "number"
  33266. },
  33267. "wrstandardcode": {
  33268. "description": "现货商品代码",
  33269. "type": "string"
  33270. },
  33271. "wrstandardid": {
  33272. "description": "现货商品ID",
  33273. "type": "integer"
  33274. },
  33275. "wrstandardname": {
  33276. "description": "商品名称",
  33277. "type": "string"
  33278. },
  33279. "wrtypename": {
  33280. "description": "商品",
  33281. "type": "string"
  33282. }
  33283. }
  33284. },
  33285. "models.WrScfContractInterest": {
  33286. "type": "object",
  33287. "properties": {
  33288. "closeinterest": {
  33289. "description": "已结利息",
  33290. "type": "number"
  33291. },
  33292. "closeintereststatus": {
  33293. "description": "结息状态 - 1:未结 2:已结",
  33294. "type": "integer"
  33295. },
  33296. "closetime": {
  33297. "description": "结息时间",
  33298. "type": "string"
  33299. },
  33300. "closetradedate": {
  33301. "description": "结息交易日",
  33302. "type": "string"
  33303. },
  33304. "creatorid": {
  33305. "description": "操作人ID",
  33306. "type": "integer"
  33307. },
  33308. "dayrate": {
  33309. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  33310. "type": "number"
  33311. },
  33312. "interest": {
  33313. "description": "利息",
  33314. "type": "number"
  33315. },
  33316. "interestamount": {
  33317. "description": "计息金额",
  33318. "type": "number"
  33319. },
  33320. "interestday": {
  33321. "description": "计息日(yyyyMMdd)",
  33322. "type": "string"
  33323. },
  33324. "scfcontractid": {
  33325. "description": "SCF合同ID",
  33326. "type": "string"
  33327. },
  33328. "scfcontractinterestid": {
  33329. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  33330. "type": "integer"
  33331. },
  33332. "updatetime": {
  33333. "description": "更新时间",
  33334. "type": "string"
  33335. }
  33336. }
  33337. },
  33338. "models.WrSpecialMatchOrder": {
  33339. "type": "object",
  33340. "properties": {
  33341. "amount": {
  33342. "description": "金额 = 数量 * 价格",
  33343. "type": "number"
  33344. },
  33345. "buyorsell": {
  33346. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33347. "type": "integer"
  33348. },
  33349. "cancelqty": {
  33350. "description": "撤销数量",
  33351. "type": "number"
  33352. },
  33353. "deliverygoodscode": {
  33354. "description": "品种代码",
  33355. "type": "string"
  33356. },
  33357. "deliverygoodsid": {
  33358. "description": "品种ID",
  33359. "type": "integer"
  33360. },
  33361. "deliverygoodsname": {
  33362. "description": "品种名称",
  33363. "type": "string"
  33364. },
  33365. "enumdicname": {
  33366. "description": "单位名称",
  33367. "type": "string"
  33368. },
  33369. "fixedprice": {
  33370. "description": "固定价格(价格)",
  33371. "type": "number"
  33372. },
  33373. "haswr": {
  33374. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33375. "type": "integer"
  33376. },
  33377. "marketid": {
  33378. "description": "市场ID",
  33379. "type": "integer"
  33380. },
  33381. "matchuserid": {
  33382. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  33383. "type": "integer"
  33384. },
  33385. "matchusername": {
  33386. "description": "指定方",
  33387. "type": "string"
  33388. },
  33389. "minivalue": {
  33390. "description": "现货商品最小变动值",
  33391. "type": "integer"
  33392. },
  33393. "optioncompare": {
  33394. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33395. "type": "string"
  33396. },
  33397. "orderqty": {
  33398. "description": "委托数量",
  33399. "type": "number"
  33400. },
  33401. "ordertime": {
  33402. "description": "委托时间",
  33403. "type": "string"
  33404. },
  33405. "pricemove": {
  33406. "description": "升贴水(浮动价时填写) - [挂牌]",
  33407. "type": "number"
  33408. },
  33409. "tradedate": {
  33410. "description": "交易日(yyyyMMdd)",
  33411. "type": "string"
  33412. },
  33413. "tradeprice": {
  33414. "description": "成交价格",
  33415. "type": "number"
  33416. },
  33417. "tradeqty": {
  33418. "description": "成交数量",
  33419. "type": "number"
  33420. },
  33421. "userid": {
  33422. "description": "用户ID",
  33423. "type": "integer"
  33424. },
  33425. "username": {
  33426. "description": "发起方",
  33427. "type": "string"
  33428. },
  33429. "warehouseid": {
  33430. "description": "仓库ID",
  33431. "type": "integer"
  33432. },
  33433. "warehousename": {
  33434. "description": "仓库名称",
  33435. "type": "string"
  33436. },
  33437. "wrfactortypeid": {
  33438. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33439. "type": "string"
  33440. },
  33441. "wrfactortypename": {
  33442. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33443. "type": "string"
  33444. },
  33445. "wrpricetype": {
  33446. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33447. "type": "integer"
  33448. },
  33449. "wrstandardcode": {
  33450. "description": "现货商品代码",
  33451. "type": "string"
  33452. },
  33453. "wrstandardid": {
  33454. "description": "现货商品ID",
  33455. "type": "integer"
  33456. },
  33457. "wrstandardname": {
  33458. "description": "商品名称",
  33459. "type": "string"
  33460. },
  33461. "wrtradeorderid": {
  33462. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33463. "type": "string"
  33464. },
  33465. "wrtradeorderstatus": {
  33466. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  33467. "type": "integer"
  33468. },
  33469. "wrtradetype": {
  33470. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33471. "type": "integer"
  33472. },
  33473. "wrtypename": {
  33474. "description": "商品",
  33475. "type": "string"
  33476. }
  33477. }
  33478. },
  33479. "models.WrStandardFactoryItem": {
  33480. "type": "object",
  33481. "properties": {
  33482. "dgfactoryitemid": {
  33483. "description": "选择项id",
  33484. "type": "integer"
  33485. },
  33486. "dgfactoryitemvalue": {
  33487. "description": "要素项值",
  33488. "type": "string"
  33489. },
  33490. "warehouseid": {
  33491. "description": "仓库id",
  33492. "type": "integer"
  33493. }
  33494. }
  33495. },
  33496. "models.WrStandardFactoryItemEx": {
  33497. "type": "object",
  33498. "properties": {
  33499. "dgfactoryitemtypeid": {
  33500. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  33501. "type": "integer"
  33502. },
  33503. "itemlst": {
  33504. "description": "要素项列表",
  33505. "type": "array",
  33506. "items": {
  33507. "$ref": "#/definitions/models.WrStandardFactoryItem"
  33508. }
  33509. },
  33510. "itemtypename": {
  33511. "description": "要素项类型名称",
  33512. "type": "string"
  33513. },
  33514. "wrstandardid": {
  33515. "description": "品类",
  33516. "type": "integer"
  33517. }
  33518. }
  33519. },
  33520. "models.WrTradeDetail": {
  33521. "type": "object",
  33522. "properties": {
  33523. "accountid": {
  33524. "description": "资金账号",
  33525. "type": "integer"
  33526. },
  33527. "buyorsell": {
  33528. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33529. "type": "integer"
  33530. },
  33531. "deliverygoodscode": {
  33532. "description": "品种代码",
  33533. "type": "string"
  33534. },
  33535. "deliverygoodsid": {
  33536. "description": "品种ID",
  33537. "type": "integer"
  33538. },
  33539. "deliverygoodsname": {
  33540. "description": "品种名称",
  33541. "type": "string"
  33542. },
  33543. "deliverymonth": {
  33544. "description": "交收月",
  33545. "type": "string"
  33546. },
  33547. "enumdicname": {
  33548. "description": "单位名称",
  33549. "type": "string"
  33550. },
  33551. "haswr": {
  33552. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33553. "type": "integer"
  33554. },
  33555. "marketid": {
  33556. "description": "市场ID",
  33557. "type": "integer"
  33558. },
  33559. "matchaccountid": {
  33560. "description": "对手账号",
  33561. "type": "integer"
  33562. },
  33563. "matchusername": {
  33564. "description": "对手方",
  33565. "type": "string"
  33566. },
  33567. "minivalue": {
  33568. "description": "现货商品最小变动值",
  33569. "type": "integer"
  33570. },
  33571. "optioncompare": {
  33572. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33573. "type": "string"
  33574. },
  33575. "tradedate": {
  33576. "description": "交易日(yyyyMMdd)",
  33577. "type": "string"
  33578. },
  33579. "tradeprice": {
  33580. "description": "成交价格",
  33581. "type": "number"
  33582. },
  33583. "tradeqty": {
  33584. "description": "成交数量",
  33585. "type": "number"
  33586. },
  33587. "tradetime": {
  33588. "description": "成交时间",
  33589. "type": "string"
  33590. },
  33591. "userid": {
  33592. "description": "用户ID",
  33593. "type": "integer"
  33594. },
  33595. "warehouseid": {
  33596. "description": "仓库ID",
  33597. "type": "integer"
  33598. },
  33599. "warehousename": {
  33600. "description": "仓库名称",
  33601. "type": "string"
  33602. },
  33603. "wrfactortypeid": {
  33604. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33605. "type": "string"
  33606. },
  33607. "wrfactortypename": {
  33608. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33609. "type": "string"
  33610. },
  33611. "wrstandardcode": {
  33612. "description": "现货商品代码",
  33613. "type": "string"
  33614. },
  33615. "wrstandardid": {
  33616. "description": "现货商品ID",
  33617. "type": "integer"
  33618. },
  33619. "wrstandardname": {
  33620. "description": "商品名称",
  33621. "type": "string"
  33622. },
  33623. "wrtradedetailid": {
  33624. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  33625. "type": "string"
  33626. },
  33627. "wrtradetype": {
  33628. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33629. "type": "integer"
  33630. },
  33631. "wrtypename": {
  33632. "description": "商品",
  33633. "type": "string"
  33634. }
  33635. }
  33636. },
  33637. "models.WrTradeOrderDetail": {
  33638. "type": "object",
  33639. "properties": {
  33640. "buyorsell": {
  33641. "description": "买卖方向 0-买 1-卖",
  33642. "type": "integer"
  33643. },
  33644. "goodsid": {
  33645. "description": "商品id",
  33646. "type": "integer"
  33647. },
  33648. "orderid": {
  33649. "description": "委托单号",
  33650. "type": "string"
  33651. },
  33652. "orderprice": {
  33653. "description": "委托价格",
  33654. "type": "number"
  33655. },
  33656. "orderqty": {
  33657. "description": "委托数量",
  33658. "type": "integer"
  33659. },
  33660. "userid": {
  33661. "description": "用户id",
  33662. "type": "integer"
  33663. },
  33664. "username": {
  33665. "description": "用户名称(已脱敏)",
  33666. "type": "string"
  33667. }
  33668. }
  33669. },
  33670. "models.WrTypeItem": {
  33671. "type": "object",
  33672. "properties": {
  33673. "name": {
  33674. "description": "名称",
  33675. "type": "string"
  33676. },
  33677. "value": {
  33678. "description": "值",
  33679. "type": "string"
  33680. }
  33681. }
  33682. },
  33683. "models.WrUserFriend": {
  33684. "type": "object",
  33685. "properties": {
  33686. "friendname": {
  33687. "description": "朋友名称(已脱敏)",
  33688. "type": "string"
  33689. },
  33690. "frienduserid": {
  33691. "description": "朋友id",
  33692. "type": "integer"
  33693. },
  33694. "isfriend": {
  33695. "description": "是否好友 0-不是 1-是",
  33696. "type": "integer"
  33697. },
  33698. "userid": {
  33699. "description": "用户id",
  33700. "type": "integer"
  33701. }
  33702. }
  33703. },
  33704. "order.QueryHisTradeDetailRsp": {
  33705. "type": "object",
  33706. "required": [
  33707. "accountid",
  33708. "buyorsell",
  33709. "goodsid",
  33710. "histradedate",
  33711. "marketid",
  33712. "memberuserid",
  33713. "orderid",
  33714. "tradeamount",
  33715. "tradedate",
  33716. "tradeid",
  33717. "tradeprice",
  33718. "tradeqty",
  33719. "tradetime"
  33720. ],
  33721. "properties": {
  33722. "accountid": {
  33723. "description": "账户ID[报价币种]",
  33724. "type": "integer"
  33725. },
  33726. "advanceratio": {
  33727. "description": "首付比率",
  33728. "type": "number"
  33729. },
  33730. "buildtype": {
  33731. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  33732. "type": "integer"
  33733. },
  33734. "buyorsell": {
  33735. "description": "方向 - 0:买 1:卖",
  33736. "type": "integer"
  33737. },
  33738. "charge": {
  33739. "description": "手续费",
  33740. "type": "number"
  33741. },
  33742. "closecharge": {
  33743. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33744. "type": "number"
  33745. },
  33746. "closeexchagechargevalue": {
  33747. "description": "平仓交易所手续费设置值",
  33748. "type": "number"
  33749. },
  33750. "closefeealgorithm": {
  33751. "description": "平仓手续费收取方式 1:比率 2:固定",
  33752. "type": "integer"
  33753. },
  33754. "closememberchargevalue": {
  33755. "description": "平仓会员手续费设置值",
  33756. "type": "number"
  33757. },
  33758. "closepl": {
  33759. "description": "平仓盈亏",
  33760. "type": "number"
  33761. },
  33762. "closepl2": {
  33763. "description": "平仓盈亏[逐笔]",
  33764. "type": "number"
  33765. },
  33766. "closeqty": {
  33767. "description": "平仓数量(先建后平操作 需要记录)",
  33768. "type": "number"
  33769. },
  33770. "creditamount": {
  33771. "description": "授信金额",
  33772. "type": "number"
  33773. },
  33774. "decimalplace": {
  33775. "description": "商品报价小数位",
  33776. "type": "integer"
  33777. },
  33778. "enumdicname": {
  33779. "description": "单位名称",
  33780. "type": "string"
  33781. },
  33782. "gcaccountid": {
  33783. "description": "账户ID[合约币种]",
  33784. "type": "integer"
  33785. },
  33786. "goodscode": {
  33787. "description": "商品代码",
  33788. "type": "string"
  33789. },
  33790. "goodsid": {
  33791. "description": "商品ID",
  33792. "type": "integer"
  33793. },
  33794. "goodsname": {
  33795. "description": "商品名称",
  33796. "type": "string"
  33797. },
  33798. "goodunitid": {
  33799. "description": "商品单位id",
  33800. "type": "integer"
  33801. },
  33802. "histradedate": {
  33803. "description": "历史交易日",
  33804. "type": "string"
  33805. },
  33806. "intclosepl": {
  33807. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  33808. "type": "integer"
  33809. },
  33810. "isconfirmexercise": {
  33811. "description": "是否确认行权- 0:否 1:是",
  33812. "type": "integer"
  33813. },
  33814. "ismain": {
  33815. "description": "是否主单 - 0:不是 1:是",
  33816. "type": "integer"
  33817. },
  33818. "ispreexercise": {
  33819. "description": "是否预申报- 0:否 1:是",
  33820. "type": "integer"
  33821. },
  33822. "isreckoned": {
  33823. "description": "是否结算 - 0:未结算 1:已结算",
  33824. "type": "integer"
  33825. },
  33826. "isvaliddata": {
  33827. "description": "是否有效 - 0:无效 1:有效",
  33828. "type": "integer"
  33829. },
  33830. "listingselecttype": {
  33831. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33832. "type": "integer"
  33833. },
  33834. "marketid": {
  33835. "description": "市场ID",
  33836. "type": "integer"
  33837. },
  33838. "marketname": {
  33839. "description": "市场名称",
  33840. "type": "string"
  33841. },
  33842. "matchaccountid": {
  33843. "description": "对手账号id",
  33844. "type": "integer"
  33845. },
  33846. "memberuserid": {
  33847. "description": "会员id 个人投资者 需要填写",
  33848. "type": "integer"
  33849. },
  33850. "opencharge": {
  33851. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33852. "type": "number"
  33853. },
  33854. "openexchagechargevalue": {
  33855. "description": "建仓交易所手续费设置值",
  33856. "type": "number"
  33857. },
  33858. "openfeealgorithm": {
  33859. "description": "建仓手续费收取方式 1:比率 2:固定",
  33860. "type": "integer"
  33861. },
  33862. "openmemberchargevalue": {
  33863. "description": "建仓会员手续费设置值",
  33864. "type": "number"
  33865. },
  33866. "openqty": {
  33867. "description": "开仓数量(先建后平操作 需要记录)",
  33868. "type": "number"
  33869. },
  33870. "optiontype": {
  33871. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33872. "type": "integer"
  33873. },
  33874. "orderid": {
  33875. "description": "委托单号",
  33876. "type": "string"
  33877. },
  33878. "payamount": {
  33879. "description": "支付金额(付款金额)",
  33880. "type": "number"
  33881. },
  33882. "performanceplanid": {
  33883. "description": "履约计划ID[期权]",
  33884. "type": "integer"
  33885. },
  33886. "performancestatus": {
  33887. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  33888. "type": "integer"
  33889. },
  33890. "preexerciseprice": {
  33891. "description": "预申报价格",
  33892. "type": "number"
  33893. },
  33894. "premium": {
  33895. "description": "权利金 - [持仓单的权利金]",
  33896. "type": "number"
  33897. },
  33898. "qtydecimalplace": {
  33899. "description": "商品报价小数位",
  33900. "type": "integer"
  33901. },
  33902. "recvamount": {
  33903. "description": "到账金额 = 成交金额 - 手续费",
  33904. "type": "number"
  33905. },
  33906. "relatedouttradeid": {
  33907. "description": "关联外部成交单ID",
  33908. "type": "integer"
  33909. },
  33910. "status": {
  33911. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33912. "type": "integer"
  33913. },
  33914. "totalamount": {
  33915. "description": "订单总额 = 成交金额 + 手续费",
  33916. "type": "number"
  33917. },
  33918. "tradeamount": {
  33919. "description": "成交金额[账户币种,用于所有权]",
  33920. "type": "number"
  33921. },
  33922. "tradedate": {
  33923. "description": "交易日(yyyyMMdd)",
  33924. "type": "string"
  33925. },
  33926. "tradeid": {
  33927. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33928. "type": "string"
  33929. },
  33930. "trademode": {
  33931. "description": "交易模式",
  33932. "type": "integer"
  33933. },
  33934. "tradeprice": {
  33935. "description": "成交价格",
  33936. "type": "number"
  33937. },
  33938. "tradeproperty": {
  33939. "description": "交易属性",
  33940. "type": "integer"
  33941. },
  33942. "tradeqty": {
  33943. "description": "成交数量",
  33944. "type": "number"
  33945. },
  33946. "tradetime": {
  33947. "description": "成交时间",
  33948. "type": "string"
  33949. },
  33950. "tradetype": {
  33951. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33952. "type": "integer"
  33953. }
  33954. }
  33955. },
  33956. "order.QueryHisTradeOrderDetailRsp": {
  33957. "type": "object",
  33958. "required": [
  33959. "accountid",
  33960. "buildtype",
  33961. "buyorsell",
  33962. "goodsid",
  33963. "histradedate",
  33964. "marketid",
  33965. "memberuserid",
  33966. "operatetype",
  33967. "orderid",
  33968. "orderqty",
  33969. "ordertime",
  33970. "pricemode",
  33971. "tradedate",
  33972. "validtype"
  33973. ],
  33974. "properties": {
  33975. "accountid": {
  33976. "description": "账户ID[报价币种]",
  33977. "type": "integer"
  33978. },
  33979. "buildtype": {
  33980. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33981. "type": "integer"
  33982. },
  33983. "buyorsell": {
  33984. "description": "买卖 - 0:买 1:卖",
  33985. "type": "integer"
  33986. },
  33987. "cancelorderid": {
  33988. "description": "撤单单号(撤单时填写)",
  33989. "type": "string"
  33990. },
  33991. "cancelqty": {
  33992. "description": "撤单数量",
  33993. "type": "number"
  33994. },
  33995. "clientordertime": {
  33996. "description": "客户端委托时间",
  33997. "type": "string"
  33998. },
  33999. "clientticket": {
  34000. "description": "客户端流水号",
  34001. "type": "string"
  34002. },
  34003. "clienttype": {
  34004. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  34005. "type": "integer"
  34006. },
  34007. "closeexchagechargevalue": {
  34008. "description": "平仓交易所手续费设置值",
  34009. "type": "number"
  34010. },
  34011. "closefeealgorithm": {
  34012. "description": "平仓手续费收取方式 1:比率 2:固定",
  34013. "type": "integer"
  34014. },
  34015. "closefreezecharge": {
  34016. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  34017. "type": "number"
  34018. },
  34019. "closememberchargevalue": {
  34020. "description": "平仓会员手续费设置值",
  34021. "type": "number"
  34022. },
  34023. "closeqty": {
  34024. "description": "平仓数量(先建后平操作 需要记录)",
  34025. "type": "number"
  34026. },
  34027. "closetradeqty": {
  34028. "description": "平仓成交数量(先建后平操作,需要记录)",
  34029. "type": "number"
  34030. },
  34031. "closeunfreezecharge": {
  34032. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34033. "type": "number"
  34034. },
  34035. "decimalplace": {
  34036. "description": "商品报价小数位",
  34037. "type": "integer"
  34038. },
  34039. "delistingtype": {
  34040. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34041. "type": "integer"
  34042. },
  34043. "enumdicname": {
  34044. "description": "单位名称",
  34045. "type": "string"
  34046. },
  34047. "freezecharge": {
  34048. "description": "冻结手续费",
  34049. "type": "number"
  34050. },
  34051. "freezemargin": {
  34052. "description": "冻结保证金(冻结交易金额)",
  34053. "type": "number"
  34054. },
  34055. "gcaccountid": {
  34056. "description": "账户ID[合约币种]",
  34057. "type": "integer"
  34058. },
  34059. "goodscode": {
  34060. "description": "商品代码",
  34061. "type": "string"
  34062. },
  34063. "goodsid": {
  34064. "description": "商品ID",
  34065. "type": "integer"
  34066. },
  34067. "goodsname": {
  34068. "description": "商品名称",
  34069. "type": "string"
  34070. },
  34071. "goodunitid": {
  34072. "description": "商品单位id",
  34073. "type": "integer"
  34074. },
  34075. "histradedate": {
  34076. "description": "历史交易日",
  34077. "type": "string"
  34078. },
  34079. "isconfirmexercise": {
  34080. "description": "是否确认行权- 0:否 1:是",
  34081. "type": "integer"
  34082. },
  34083. "ispreexercise": {
  34084. "description": "是否预申报- 0:否 1:是",
  34085. "type": "integer"
  34086. },
  34087. "isvaliddata": {
  34088. "description": "是否有效 - 0:无效 1:有效",
  34089. "type": "integer"
  34090. },
  34091. "listingselecttype": {
  34092. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34093. "type": "integer"
  34094. },
  34095. "marginalgorithm": {
  34096. "description": "保证金收取方式 1:比率 2:固定",
  34097. "type": "integer"
  34098. },
  34099. "marginvalue": {
  34100. "description": "即市保证金设置值",
  34101. "type": "number"
  34102. },
  34103. "marketid": {
  34104. "description": "市场ID",
  34105. "type": "integer"
  34106. },
  34107. "marketmaxsub": {
  34108. "description": "市价最大偏移范围",
  34109. "type": "number"
  34110. },
  34111. "marketname": {
  34112. "description": "市场名称",
  34113. "type": "string"
  34114. },
  34115. "memberuserid": {
  34116. "description": "所属会员UserID",
  34117. "type": "integer"
  34118. },
  34119. "openexchagechargevalue": {
  34120. "description": "建仓交易所手续费设置值",
  34121. "type": "number"
  34122. },
  34123. "openfeealgorithm": {
  34124. "description": "建仓手续费收取方式 1:比率 2:固定",
  34125. "type": "integer"
  34126. },
  34127. "openfreezecharge": {
  34128. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  34129. "type": "number"
  34130. },
  34131. "openmemberchargevalue": {
  34132. "description": "建仓会员手续费设置值",
  34133. "type": "number"
  34134. },
  34135. "openqty": {
  34136. "description": "开仓数量(先建后平操作,需要记录)",
  34137. "type": "number"
  34138. },
  34139. "opentradeqty": {
  34140. "description": "开仓成交数量(先建后平操作,需要记录)",
  34141. "type": "number"
  34142. },
  34143. "openunfreezecharge": {
  34144. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  34145. "type": "number"
  34146. },
  34147. "operatetype": {
  34148. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  34149. "type": "integer"
  34150. },
  34151. "operatorid": {
  34152. "description": "登录账号(LoginID)",
  34153. "type": "integer"
  34154. },
  34155. "optiontype": {
  34156. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34157. "type": "integer"
  34158. },
  34159. "orderid": {
  34160. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34161. "type": "string"
  34162. },
  34163. "orderprice": {
  34164. "description": "委托价格",
  34165. "type": "number"
  34166. },
  34167. "orderqty": {
  34168. "description": "委托数量",
  34169. "type": "number"
  34170. },
  34171. "ordersrc": {
  34172. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  34173. "type": "integer"
  34174. },
  34175. "orderstatus": {
  34176. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34177. "type": "integer"
  34178. },
  34179. "ordertime": {
  34180. "description": "委托时间",
  34181. "type": "string"
  34182. },
  34183. "preexerciseprice": {
  34184. "description": "预申报价格",
  34185. "type": "number"
  34186. },
  34187. "premium": {
  34188. "description": "权利金",
  34189. "type": "number"
  34190. },
  34191. "preorderid": {
  34192. "description": "关联预埋单号(止盈止损单时填写)",
  34193. "type": "string"
  34194. },
  34195. "pricemode": {
  34196. "description": "取价方式 - 1:市价 2: 限价",
  34197. "type": "integer"
  34198. },
  34199. "qtydecimalplace": {
  34200. "description": "成交量小数位",
  34201. "type": "integer"
  34202. },
  34203. "quoteid": {
  34204. "description": "报价单ID",
  34205. "type": "integer"
  34206. },
  34207. "relatedid": {
  34208. "description": "关联单号(交割单)",
  34209. "type": "string"
  34210. },
  34211. "retcode": {
  34212. "description": "错误代码",
  34213. "type": "integer"
  34214. },
  34215. "sessionid": {
  34216. "description": "会话ID",
  34217. "type": "integer"
  34218. },
  34219. "tradedate": {
  34220. "description": "交易日(yyyyMMdd)",
  34221. "type": "string"
  34222. },
  34223. "trademode": {
  34224. "description": "交易模式",
  34225. "type": "integer"
  34226. },
  34227. "tradeproperty": {
  34228. "description": "交易属性",
  34229. "type": "integer"
  34230. },
  34231. "tradeqty": {
  34232. "description": "成交数量",
  34233. "type": "number"
  34234. },
  34235. "unfreezecharge": {
  34236. "description": "解冻手续费",
  34237. "type": "number"
  34238. },
  34239. "unfreezemargin": {
  34240. "description": "解冻保证金",
  34241. "type": "number"
  34242. },
  34243. "updatetime": {
  34244. "description": "更新时间",
  34245. "type": "string"
  34246. },
  34247. "uuid": {
  34248. "description": "发起端唯一id",
  34249. "type": "string"
  34250. },
  34251. "validtime": {
  34252. "description": "有效期限",
  34253. "type": "string"
  34254. },
  34255. "validtype": {
  34256. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  34257. "type": "integer"
  34258. },
  34259. "volumetype": {
  34260. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  34261. "type": "integer"
  34262. }
  34263. }
  34264. },
  34265. "order.QueryTradeDetailRsp": {
  34266. "type": "object",
  34267. "required": [
  34268. "accountid",
  34269. "buyorsell",
  34270. "goodsid",
  34271. "marketid",
  34272. "memberuserid",
  34273. "orderid",
  34274. "tradeamount",
  34275. "tradedate",
  34276. "tradeid",
  34277. "tradeprice",
  34278. "tradeqty",
  34279. "tradetime"
  34280. ],
  34281. "properties": {
  34282. "accountid": {
  34283. "description": "账户ID[报价币种]",
  34284. "type": "integer"
  34285. },
  34286. "advanceratio": {
  34287. "description": "首付比率",
  34288. "type": "number"
  34289. },
  34290. "buildtype": {
  34291. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34292. "type": "integer"
  34293. },
  34294. "buyorsell": {
  34295. "description": "方向 - 0:买 1:卖",
  34296. "type": "integer"
  34297. },
  34298. "charge": {
  34299. "description": "手续费",
  34300. "type": "number"
  34301. },
  34302. "closecharge": {
  34303. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34304. "type": "number"
  34305. },
  34306. "closeexchagechargevalue": {
  34307. "description": "平仓交易所手续费设置值",
  34308. "type": "number"
  34309. },
  34310. "closefeealgorithm": {
  34311. "description": "平仓手续费收取方式 1:比率 2:固定",
  34312. "type": "integer"
  34313. },
  34314. "closememberchargevalue": {
  34315. "description": "平仓会员手续费设置值",
  34316. "type": "number"
  34317. },
  34318. "closepl": {
  34319. "description": "平仓盈亏",
  34320. "type": "number"
  34321. },
  34322. "closepl2": {
  34323. "description": "平仓盈亏[逐笔]",
  34324. "type": "number"
  34325. },
  34326. "closeqty": {
  34327. "description": "平仓数量(先建后平操作 需要记录)",
  34328. "type": "number"
  34329. },
  34330. "creditamount": {
  34331. "description": "授信金额",
  34332. "type": "number"
  34333. },
  34334. "decimalplace": {
  34335. "description": "商品报价小数位",
  34336. "type": "integer"
  34337. },
  34338. "enumdicname": {
  34339. "description": "单位名称",
  34340. "type": "string"
  34341. },
  34342. "gcaccountid": {
  34343. "description": "账户ID[合约币种]",
  34344. "type": "integer"
  34345. },
  34346. "goodscode": {
  34347. "description": "商品代码",
  34348. "type": "string"
  34349. },
  34350. "goodsid": {
  34351. "description": "商品ID",
  34352. "type": "integer"
  34353. },
  34354. "goodsname": {
  34355. "description": "商品名称",
  34356. "type": "string"
  34357. },
  34358. "goodunitid": {
  34359. "description": "商品单位id",
  34360. "type": "integer"
  34361. },
  34362. "intclosepl": {
  34363. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34364. "type": "integer"
  34365. },
  34366. "isconfirmexercise": {
  34367. "description": "是否确认行权- 0:否 1:是",
  34368. "type": "integer"
  34369. },
  34370. "ismain": {
  34371. "description": "是否主单 - 0:不是 1:是",
  34372. "type": "integer"
  34373. },
  34374. "ispreexercise": {
  34375. "description": "是否预申报- 0:否 1:是",
  34376. "type": "integer"
  34377. },
  34378. "isreckoned": {
  34379. "description": "是否结算 - 0:未结算 1:已结算",
  34380. "type": "integer"
  34381. },
  34382. "listingselecttype": {
  34383. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34384. "type": "integer"
  34385. },
  34386. "marketid": {
  34387. "description": "市场ID",
  34388. "type": "integer"
  34389. },
  34390. "marketname": {
  34391. "description": "市场名称",
  34392. "type": "string"
  34393. },
  34394. "matchaccountid": {
  34395. "description": "对手账号id",
  34396. "type": "integer"
  34397. },
  34398. "memberuserid": {
  34399. "description": "会员id 个人投资者 需要填写",
  34400. "type": "integer"
  34401. },
  34402. "opencharge": {
  34403. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34404. "type": "number"
  34405. },
  34406. "openexchagechargevalue": {
  34407. "description": "建仓交易所手续费设置值",
  34408. "type": "number"
  34409. },
  34410. "openfeealgorithm": {
  34411. "description": "建仓手续费收取方式 1:比率 2:固定",
  34412. "type": "integer"
  34413. },
  34414. "openmemberchargevalue": {
  34415. "description": "建仓会员手续费设置值",
  34416. "type": "number"
  34417. },
  34418. "openqty": {
  34419. "description": "开仓数量(先建后平操作 需要记录)",
  34420. "type": "number"
  34421. },
  34422. "optiontype": {
  34423. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34424. "type": "integer"
  34425. },
  34426. "orderid": {
  34427. "description": "委托单号",
  34428. "type": "string"
  34429. },
  34430. "payamount": {
  34431. "description": "支付金额(付款金额)",
  34432. "type": "number"
  34433. },
  34434. "performanceplanid": {
  34435. "description": "履约计划ID[期权]",
  34436. "type": "integer"
  34437. },
  34438. "performancestatus": {
  34439. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34440. "type": "integer"
  34441. },
  34442. "preexerciseprice": {
  34443. "description": "预申报价格",
  34444. "type": "number"
  34445. },
  34446. "premium": {
  34447. "description": "权利金 - [持仓单的权利金]",
  34448. "type": "number"
  34449. },
  34450. "qtydecimalplace": {
  34451. "description": "商品报价小数位",
  34452. "type": "integer"
  34453. },
  34454. "recvamount": {
  34455. "description": "到账金额 = 成交金额 - 手续费",
  34456. "type": "number"
  34457. },
  34458. "relatedouttradeid": {
  34459. "description": "关联外部成交单ID",
  34460. "type": "integer"
  34461. },
  34462. "status": {
  34463. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34464. "type": "integer"
  34465. },
  34466. "totalamount": {
  34467. "description": "订单总额 = 成交金额 + 手续费",
  34468. "type": "number"
  34469. },
  34470. "tradeamount": {
  34471. "description": "成交金额[账户币种,用于所有权]",
  34472. "type": "number"
  34473. },
  34474. "tradedate": {
  34475. "description": "交易日(yyyyMMdd)",
  34476. "type": "string"
  34477. },
  34478. "tradeid": {
  34479. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34480. "type": "string"
  34481. },
  34482. "trademode": {
  34483. "description": "交易模式",
  34484. "type": "integer"
  34485. },
  34486. "tradeprice": {
  34487. "description": "成交价格",
  34488. "type": "number"
  34489. },
  34490. "tradeproperty": {
  34491. "description": "交易属性",
  34492. "type": "integer"
  34493. },
  34494. "tradeqty": {
  34495. "description": "成交数量",
  34496. "type": "number"
  34497. },
  34498. "tradetime": {
  34499. "description": "成交时间",
  34500. "type": "string"
  34501. },
  34502. "tradetype": {
  34503. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34504. "type": "integer"
  34505. }
  34506. }
  34507. },
  34508. "order.QueryTradeOrderDetailRsp": {
  34509. "type": "object",
  34510. "required": [
  34511. "accountid",
  34512. "buildtype",
  34513. "buyorsell",
  34514. "goodsid",
  34515. "marketid",
  34516. "operatetype",
  34517. "orderqty",
  34518. "ordertime",
  34519. "pricemode",
  34520. "tradedate",
  34521. "validtype"
  34522. ],
  34523. "properties": {
  34524. "accountid": {
  34525. "description": "账户ID[报价币种]",
  34526. "type": "integer"
  34527. },
  34528. "buildtype": {
  34529. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  34530. "type": "integer"
  34531. },
  34532. "buyorsell": {
  34533. "description": "买卖 - 0:买 1:卖",
  34534. "type": "integer"
  34535. },
  34536. "cancelorderid": {
  34537. "description": "撤单单号(撤单时填写)",
  34538. "type": "string"
  34539. },
  34540. "cancelqty": {
  34541. "description": "撤单数量",
  34542. "type": "number"
  34543. },
  34544. "clienttype": {
  34545. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  34546. "type": "integer"
  34547. },
  34548. "closefreezecharge": {
  34549. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  34550. "type": "number"
  34551. },
  34552. "closeqty": {
  34553. "description": "平仓数量(先建后平操作 需要记录)",
  34554. "type": "number"
  34555. },
  34556. "closetradeqty": {
  34557. "description": "平仓成交数量(先建后平操作,需要记录)",
  34558. "type": "number"
  34559. },
  34560. "closeunfreezecharge": {
  34561. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34562. "type": "number"
  34563. },
  34564. "decimalplace": {
  34565. "description": "商品报价小数位",
  34566. "type": "integer"
  34567. },
  34568. "delistingtype": {
  34569. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34570. "type": "integer"
  34571. },
  34572. "enableqty": {
  34573. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  34574. "type": "number"
  34575. },
  34576. "enumdicname": {
  34577. "description": "单位名称",
  34578. "type": "string"
  34579. },
  34580. "freezecharge": {
  34581. "description": "冻结手续费",
  34582. "type": "number"
  34583. },
  34584. "freezemargin": {
  34585. "description": "冻结保证金(冻结交易金额)",
  34586. "type": "number"
  34587. },
  34588. "goodscode": {
  34589. "description": "商品代码",
  34590. "type": "string"
  34591. },
  34592. "goodsid": {
  34593. "description": "商品ID",
  34594. "type": "integer"
  34595. },
  34596. "goodsname": {
  34597. "description": "商品名称",
  34598. "type": "string"
  34599. },
  34600. "goodunitid": {
  34601. "description": "商品单位id",
  34602. "type": "integer"
  34603. },
  34604. "listingselecttype": {
  34605. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34606. "type": "integer"
  34607. },
  34608. "marketid": {
  34609. "description": "市场ID",
  34610. "type": "integer"
  34611. },
  34612. "marketname": {
  34613. "description": "市场名称",
  34614. "type": "string"
  34615. },
  34616. "openfreezecharge": {
  34617. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  34618. "type": "number"
  34619. },
  34620. "openqty": {
  34621. "description": "开仓数量(先建后平操作,需要记录)",
  34622. "type": "number"
  34623. },
  34624. "opentradeqty": {
  34625. "description": "开仓成交数量(先建后平操作,需要记录)",
  34626. "type": "number"
  34627. },
  34628. "openunfreezecharge": {
  34629. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  34630. "type": "number"
  34631. },
  34632. "operatetype": {
  34633. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  34634. "type": "integer"
  34635. },
  34636. "operatorid": {
  34637. "description": "登录账号(LoginID)",
  34638. "type": "integer"
  34639. },
  34640. "orderid": {
  34641. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34642. "type": "string"
  34643. },
  34644. "orderprice": {
  34645. "description": "委托价格",
  34646. "type": "number"
  34647. },
  34648. "orderqty": {
  34649. "description": "委托数量",
  34650. "type": "number"
  34651. },
  34652. "ordersrc": {
  34653. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  34654. "type": "integer"
  34655. },
  34656. "orderstatus": {
  34657. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34658. "type": "integer"
  34659. },
  34660. "ordertime": {
  34661. "description": "委托时间",
  34662. "type": "string"
  34663. },
  34664. "preorderid": {
  34665. "description": "关联预埋单号(止盈止损单时填写)",
  34666. "type": "string"
  34667. },
  34668. "pricemode": {
  34669. "description": "取价方式 - 1:市价 2: 限价",
  34670. "type": "integer"
  34671. },
  34672. "qtydecimalplace": {
  34673. "description": "商品报价小数位",
  34674. "type": "integer"
  34675. },
  34676. "relatedid": {
  34677. "description": "关联单号(交割单)",
  34678. "type": "string"
  34679. },
  34680. "tradedate": {
  34681. "description": "交易日(yyyyMMdd)",
  34682. "type": "string"
  34683. },
  34684. "trademode": {
  34685. "description": "交易模式",
  34686. "type": "integer"
  34687. },
  34688. "tradeqty": {
  34689. "description": "成交数量",
  34690. "type": "number"
  34691. },
  34692. "unfreezecharge": {
  34693. "description": "解冻手续费",
  34694. "type": "number"
  34695. },
  34696. "unfreezemargin": {
  34697. "description": "解冻保证金",
  34698. "type": "number"
  34699. },
  34700. "validtime": {
  34701. "description": "有效期限",
  34702. "type": "string"
  34703. },
  34704. "validtype": {
  34705. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  34706. "type": "integer"
  34707. },
  34708. "volumetype": {
  34709. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  34710. "type": "integer"
  34711. }
  34712. }
  34713. },
  34714. "order.QueryTradePositionRsp": {
  34715. "type": "object",
  34716. "required": [
  34717. "goodsid"
  34718. ],
  34719. "properties": {
  34720. "accountid": {
  34721. "description": "资金账户",
  34722. "type": "integer"
  34723. },
  34724. "agreeunit": {
  34725. "description": "合约单位",
  34726. "type": "number"
  34727. },
  34728. "averageprice": {
  34729. "description": "持仓均价",
  34730. "type": "number"
  34731. },
  34732. "buyorsell": {
  34733. "description": "方向 - 0:买 1:卖",
  34734. "type": "integer"
  34735. },
  34736. "closetotalqty": {
  34737. "description": "平仓总数量",
  34738. "type": "number"
  34739. },
  34740. "curholderamount": {
  34741. "description": "当前持仓总金额[商品币种]",
  34742. "type": "number"
  34743. },
  34744. "curpositionqty": {
  34745. "description": "当前持仓总数量",
  34746. "type": "number"
  34747. },
  34748. "currencyid": {
  34749. "description": "报价货币ID",
  34750. "type": "integer"
  34751. },
  34752. "curtdposition": {
  34753. "description": "期末今日头寸",
  34754. "type": "number"
  34755. },
  34756. "decimalplace": {
  34757. "description": "报价小数位",
  34758. "type": "integer"
  34759. },
  34760. "enableqty": {
  34761. "description": "可用量",
  34762. "type": "number"
  34763. },
  34764. "fretdposition": {
  34765. "description": "冻结今日头寸",
  34766. "type": "number"
  34767. },
  34768. "frozenqty": {
  34769. "description": "持仓冻结数量",
  34770. "type": "number"
  34771. },
  34772. "goodscode": {
  34773. "description": "商品代码",
  34774. "type": "string"
  34775. },
  34776. "goodsid": {
  34777. "description": "商品Id",
  34778. "type": "integer"
  34779. },
  34780. "goodsname": {
  34781. "description": "商品名称",
  34782. "type": "string"
  34783. },
  34784. "goodunit": {
  34785. "description": "报价单位",
  34786. "type": "string"
  34787. },
  34788. "goodunitid": {
  34789. "description": "报价单位ID",
  34790. "type": "integer"
  34791. },
  34792. "holderamount": {
  34793. "description": "期初持仓总金额[商品币种]",
  34794. "type": "number"
  34795. },
  34796. "lastprice": {
  34797. "description": "最新价",
  34798. "type": "number"
  34799. },
  34800. "marketamount": {
  34801. "description": "市值",
  34802. "type": "number"
  34803. },
  34804. "marketid": {
  34805. "description": "所属市场ID",
  34806. "type": "integer"
  34807. },
  34808. "openreqqty": {
  34809. "description": "开仓申请数量(用于比较最大持仓数量)",
  34810. "type": "number"
  34811. },
  34812. "opentotalqty": {
  34813. "description": "开仓总数量",
  34814. "type": "number"
  34815. },
  34816. "otherfrozenqty": {
  34817. "description": "持仓其他冻结数量(交割冻结)",
  34818. "type": "number"
  34819. },
  34820. "positionpl": {
  34821. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  34822. "type": "number"
  34823. },
  34824. "positionplrate": {
  34825. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  34826. "type": "number"
  34827. },
  34828. "positionqty": {
  34829. "description": "期初持仓数量",
  34830. "type": "number"
  34831. },
  34832. "qtydecimalplace": {
  34833. "description": "成交量小数位",
  34834. "type": "integer"
  34835. },
  34836. "tnqty": {
  34837. "description": "T+N冻结总量",
  34838. "type": "number"
  34839. },
  34840. "tnusedqty": {
  34841. "description": "T+N使用量(可以使用T+N的冻结数量)",
  34842. "type": "number"
  34843. },
  34844. "trademode": {
  34845. "description": "交易模式",
  34846. "type": "integer"
  34847. },
  34848. "usedmargin": {
  34849. "description": "占用保证金[商品币种]",
  34850. "type": "number"
  34851. }
  34852. }
  34853. },
  34854. "quote.HistoryData": {
  34855. "type": "object",
  34856. "properties": {
  34857. "c": {
  34858. "description": "收盘价",
  34859. "type": "number"
  34860. },
  34861. "f": {
  34862. "description": "是否补充数据",
  34863. "type": "boolean"
  34864. },
  34865. "h": {
  34866. "description": "最高价",
  34867. "type": "number"
  34868. },
  34869. "hv": {
  34870. "description": "持仓量",
  34871. "type": "integer"
  34872. },
  34873. "l": {
  34874. "description": "最低价",
  34875. "type": "number"
  34876. },
  34877. "o": {
  34878. "description": "开盘价",
  34879. "type": "number"
  34880. },
  34881. "s": {
  34882. "description": "结算价,日线周期(包括)以上才有",
  34883. "type": "number"
  34884. },
  34885. "ts": {
  34886. "description": "时间",
  34887. "type": "string"
  34888. },
  34889. "tt": {
  34890. "description": "总金额",
  34891. "type": "number"
  34892. },
  34893. "tv": {
  34894. "description": "总量",
  34895. "type": "integer"
  34896. }
  34897. }
  34898. },
  34899. "quote.HistoryTikData": {
  34900. "type": "object",
  34901. "properties": {
  34902. "AV": {
  34903. "description": "卖量",
  34904. "type": "integer"
  34905. },
  34906. "Ask": {
  34907. "description": "卖价",
  34908. "type": "number"
  34909. },
  34910. "BV": {
  34911. "description": "买量",
  34912. "type": "integer"
  34913. },
  34914. "Bid": {
  34915. "description": "买价",
  34916. "type": "number"
  34917. },
  34918. "HI": {
  34919. "description": "单笔持仓",
  34920. "type": "integer"
  34921. },
  34922. "HV": {
  34923. "description": "持仓量",
  34924. "type": "integer"
  34925. },
  34926. "PE": {
  34927. "description": "现价",
  34928. "type": "number"
  34929. },
  34930. "TDR": {
  34931. "description": "交易方向,0:买 1:卖",
  34932. "type": "integer"
  34933. },
  34934. "TK": {
  34935. "description": "交易类型",
  34936. "type": "integer"
  34937. },
  34938. "TS": {
  34939. "description": "行情时间文本",
  34940. "type": "string"
  34941. },
  34942. "TT": {
  34943. "description": "现金额",
  34944. "type": "number"
  34945. },
  34946. "Vol": {
  34947. "description": "现量",
  34948. "type": "integer"
  34949. }
  34950. }
  34951. },
  34952. "quote.QueryQuoteDayRsp": {
  34953. "type": "object",
  34954. "properties": {
  34955. "ask": {
  34956. "description": "卖1",
  34957. "type": "number"
  34958. },
  34959. "ask10": {
  34960. "description": "卖10",
  34961. "type": "number"
  34962. },
  34963. "ask2": {
  34964. "description": "卖2",
  34965. "type": "number"
  34966. },
  34967. "ask3": {
  34968. "description": "卖3",
  34969. "type": "number"
  34970. },
  34971. "ask4": {
  34972. "description": "卖4",
  34973. "type": "number"
  34974. },
  34975. "ask5": {
  34976. "description": "卖5",
  34977. "type": "number"
  34978. },
  34979. "ask6": {
  34980. "description": "卖6",
  34981. "type": "number"
  34982. },
  34983. "ask7": {
  34984. "description": "卖7",
  34985. "type": "number"
  34986. },
  34987. "ask8": {
  34988. "description": "卖8",
  34989. "type": "number"
  34990. },
  34991. "ask9": {
  34992. "description": "卖9",
  34993. "type": "number"
  34994. },
  34995. "askorderid": {
  34996. "description": "卖单号1",
  34997. "type": "integer"
  34998. },
  34999. "askorderid2": {
  35000. "description": "卖单号2",
  35001. "type": "integer"
  35002. },
  35003. "askorderid3": {
  35004. "description": "卖单号3",
  35005. "type": "integer"
  35006. },
  35007. "askorderid4": {
  35008. "description": "卖单号4",
  35009. "type": "integer"
  35010. },
  35011. "askorderid5": {
  35012. "description": "卖单号5",
  35013. "type": "integer"
  35014. },
  35015. "askordervolume": {
  35016. "description": "卖单量1",
  35017. "type": "integer"
  35018. },
  35019. "askordervolume10": {
  35020. "description": "卖单量10",
  35021. "type": "integer"
  35022. },
  35023. "askordervolume2": {
  35024. "description": "卖单量2",
  35025. "type": "integer"
  35026. },
  35027. "askordervolume3": {
  35028. "description": "卖单量3",
  35029. "type": "integer"
  35030. },
  35031. "askordervolume4": {
  35032. "description": "卖单量4",
  35033. "type": "integer"
  35034. },
  35035. "askordervolume5": {
  35036. "description": "卖单量5",
  35037. "type": "integer"
  35038. },
  35039. "askordervolume6": {
  35040. "description": "卖单量6",
  35041. "type": "integer"
  35042. },
  35043. "askordervolume7": {
  35044. "description": "卖单量7",
  35045. "type": "integer"
  35046. },
  35047. "askordervolume8": {
  35048. "description": "卖单量8",
  35049. "type": "integer"
  35050. },
  35051. "askordervolume9": {
  35052. "description": "卖单量9",
  35053. "type": "integer"
  35054. },
  35055. "askqueueinfo": {
  35056. "description": "大利市卖港股用",
  35057. "type": "string"
  35058. },
  35059. "askvolume": {
  35060. "description": "卖量1",
  35061. "type": "integer"
  35062. },
  35063. "askvolume10": {
  35064. "description": "卖量10",
  35065. "type": "integer"
  35066. },
  35067. "askvolume2": {
  35068. "description": "卖量2",
  35069. "type": "integer"
  35070. },
  35071. "askvolume3": {
  35072. "description": "卖量3",
  35073. "type": "integer"
  35074. },
  35075. "askvolume4": {
  35076. "description": "卖量4",
  35077. "type": "integer"
  35078. },
  35079. "askvolume5": {
  35080. "description": "卖量5",
  35081. "type": "integer"
  35082. },
  35083. "askvolume6": {
  35084. "description": "卖量6",
  35085. "type": "integer"
  35086. },
  35087. "askvolume7": {
  35088. "description": "卖量7",
  35089. "type": "integer"
  35090. },
  35091. "askvolume8": {
  35092. "description": "卖量8",
  35093. "type": "integer"
  35094. },
  35095. "askvolume9": {
  35096. "description": "卖量9",
  35097. "type": "integer"
  35098. },
  35099. "averageprice": {
  35100. "description": "均价",
  35101. "type": "number"
  35102. },
  35103. "bid": {
  35104. "description": "买1",
  35105. "type": "number"
  35106. },
  35107. "bid10": {
  35108. "description": "买10",
  35109. "type": "number"
  35110. },
  35111. "bid2": {
  35112. "description": "买2",
  35113. "type": "number"
  35114. },
  35115. "bid3": {
  35116. "description": "买3",
  35117. "type": "number"
  35118. },
  35119. "bid4": {
  35120. "description": "买4",
  35121. "type": "number"
  35122. },
  35123. "bid5": {
  35124. "description": "买5",
  35125. "type": "number"
  35126. },
  35127. "bid6": {
  35128. "description": "买6",
  35129. "type": "number"
  35130. },
  35131. "bid7": {
  35132. "description": "买7",
  35133. "type": "number"
  35134. },
  35135. "bid8": {
  35136. "description": "买8",
  35137. "type": "number"
  35138. },
  35139. "bid9": {
  35140. "description": "买9",
  35141. "type": "number"
  35142. },
  35143. "bidorderid": {
  35144. "description": "买单号1",
  35145. "type": "integer"
  35146. },
  35147. "bidorderid2": {
  35148. "description": "买单号2",
  35149. "type": "integer"
  35150. },
  35151. "bidorderid3": {
  35152. "description": "买单号3",
  35153. "type": "integer"
  35154. },
  35155. "bidorderid4": {
  35156. "description": "买单号4",
  35157. "type": "integer"
  35158. },
  35159. "bidorderid5": {
  35160. "description": "买单号5",
  35161. "type": "integer"
  35162. },
  35163. "bidordervolume": {
  35164. "description": "买单量1",
  35165. "type": "integer"
  35166. },
  35167. "bidordervolume10": {
  35168. "description": "买单量10",
  35169. "type": "integer"
  35170. },
  35171. "bidordervolume2": {
  35172. "description": "买单量2",
  35173. "type": "integer"
  35174. },
  35175. "bidordervolume3": {
  35176. "description": "买单量3",
  35177. "type": "integer"
  35178. },
  35179. "bidordervolume4": {
  35180. "description": "买单量4",
  35181. "type": "integer"
  35182. },
  35183. "bidordervolume5": {
  35184. "description": "买单量5",
  35185. "type": "integer"
  35186. },
  35187. "bidordervolume6": {
  35188. "description": "买单量6",
  35189. "type": "integer"
  35190. },
  35191. "bidordervolume7": {
  35192. "description": "买单量7",
  35193. "type": "integer"
  35194. },
  35195. "bidordervolume8": {
  35196. "description": "买单量8",
  35197. "type": "integer"
  35198. },
  35199. "bidordervolume9": {
  35200. "description": "买单量9",
  35201. "type": "integer"
  35202. },
  35203. "bidqueueinfo": {
  35204. "description": "大利市买港股用",
  35205. "type": "string"
  35206. },
  35207. "bidvolume": {
  35208. "description": "买量1",
  35209. "type": "integer"
  35210. },
  35211. "bidvolume10": {
  35212. "description": "买量10",
  35213. "type": "integer"
  35214. },
  35215. "bidvolume2": {
  35216. "description": "买量2",
  35217. "type": "integer"
  35218. },
  35219. "bidvolume3": {
  35220. "description": "买量3",
  35221. "type": "integer"
  35222. },
  35223. "bidvolume4": {
  35224. "description": "买量4",
  35225. "type": "integer"
  35226. },
  35227. "bidvolume5": {
  35228. "description": "买量5",
  35229. "type": "integer"
  35230. },
  35231. "bidvolume6": {
  35232. "description": "买量6",
  35233. "type": "integer"
  35234. },
  35235. "bidvolume7": {
  35236. "description": "买量7",
  35237. "type": "integer"
  35238. },
  35239. "bidvolume8": {
  35240. "description": "买量8",
  35241. "type": "integer"
  35242. },
  35243. "bidvolume9": {
  35244. "description": "买量9",
  35245. "type": "integer"
  35246. },
  35247. "calloptionpremiums": {
  35248. "description": "认购期权1",
  35249. "type": "integer"
  35250. },
  35251. "calloptionpremiums2": {
  35252. "description": "认购期权2",
  35253. "type": "integer"
  35254. },
  35255. "calloptionpremiums3": {
  35256. "description": "认购期权3",
  35257. "type": "integer"
  35258. },
  35259. "calloptionpremiums4": {
  35260. "description": "认购期权4",
  35261. "type": "integer"
  35262. },
  35263. "calloptionpremiums5": {
  35264. "description": "认购期权5",
  35265. "type": "integer"
  35266. },
  35267. "cleartime": {
  35268. "description": "清盘时间",
  35269. "type": "integer"
  35270. },
  35271. "exchangecode": {
  35272. "description": "交易所代码",
  35273. "type": "integer"
  35274. },
  35275. "exchangedate": {
  35276. "description": "交易日",
  35277. "type": "integer"
  35278. },
  35279. "goodscode": {
  35280. "description": "商品代码",
  35281. "type": "string"
  35282. },
  35283. "grepmarketprice": {
  35284. "description": "暗盘价 港股专用",
  35285. "type": "number"
  35286. },
  35287. "highest": {
  35288. "description": "最高价",
  35289. "type": "number"
  35290. },
  35291. "holdincrement": {
  35292. "description": "单笔持仓",
  35293. "type": "integer"
  35294. },
  35295. "holdvolume": {
  35296. "description": "持仓",
  35297. "type": "integer"
  35298. },
  35299. "iep": {
  35300. "description": "平衡价 港股专用",
  35301. "type": "number"
  35302. },
  35303. "iev": {
  35304. "description": "平衡量 港股专用",
  35305. "type": "number"
  35306. },
  35307. "inventory": {
  35308. "description": "库存",
  35309. "type": "integer"
  35310. },
  35311. "iscleared": {
  35312. "description": "是否清盘标志",
  35313. "type": "integer"
  35314. },
  35315. "issettled": {
  35316. "description": "是否结算标志",
  35317. "type": "integer"
  35318. },
  35319. "last": {
  35320. "description": "最新价",
  35321. "type": "number"
  35322. },
  35323. "lastlot": {
  35324. "description": "最新成交手数",
  35325. "type": "integer"
  35326. },
  35327. "lasttime": {
  35328. "description": "行情时间(只有现价变化行情时间才变化)",
  35329. "type": "string"
  35330. },
  35331. "lastturnover": {
  35332. "description": "最新成交金额",
  35333. "type": "number"
  35334. },
  35335. "lastvolume": {
  35336. "description": "最新成交量",
  35337. "type": "integer"
  35338. },
  35339. "limitdown": {
  35340. "description": "跌停价",
  35341. "type": "number"
  35342. },
  35343. "limitup": {
  35344. "description": "涨停价",
  35345. "type": "number"
  35346. },
  35347. "lowest": {
  35348. "description": "最低价",
  35349. "type": "number"
  35350. },
  35351. "nontotalholdervolume": {
  35352. "description": "非交易持仓量",
  35353. "type": "integer"
  35354. },
  35355. "nontotallot": {
  35356. "description": "非交易总手数",
  35357. "type": "integer"
  35358. },
  35359. "nontotalturnover": {
  35360. "description": "非交易总金额",
  35361. "type": "integer"
  35362. },
  35363. "nontotalvolume": {
  35364. "description": "非交易总量",
  35365. "type": "integer"
  35366. },
  35367. "opened": {
  35368. "description": "开盘价",
  35369. "type": "number"
  35370. },
  35371. "opentime": {
  35372. "description": "开盘时间",
  35373. "type": "string"
  35374. },
  35375. "orderid": {
  35376. "description": "序号",
  35377. "type": "integer"
  35378. },
  35379. "preclose": {
  35380. "description": "昨收",
  35381. "type": "number"
  35382. },
  35383. "preholdvolume": {
  35384. "description": "昨持仓",
  35385. "type": "integer"
  35386. },
  35387. "presettle": {
  35388. "description": "昨结价",
  35389. "type": "number"
  35390. },
  35391. "publictradetype": {
  35392. "description": "公共交易标志类型 港股专用",
  35393. "type": "string"
  35394. },
  35395. "putoptionpremiums": {
  35396. "description": "认沽期权1",
  35397. "type": "integer"
  35398. },
  35399. "putoptionpremiums2": {
  35400. "description": "认沽期权2",
  35401. "type": "integer"
  35402. },
  35403. "putoptionpremiums3": {
  35404. "description": "认沽期权3",
  35405. "type": "integer"
  35406. },
  35407. "putoptionpremiums4": {
  35408. "description": "认沽期权4",
  35409. "type": "integer"
  35410. },
  35411. "putoptionpremiums5": {
  35412. "description": "认沽期权5",
  35413. "type": "integer"
  35414. },
  35415. "settle": {
  35416. "description": "结算价",
  35417. "type": "number"
  35418. },
  35419. "strikeprice": {
  35420. "description": "发行价",
  35421. "type": "number"
  35422. },
  35423. "totalaskvolume": {
  35424. "description": "内盘",
  35425. "type": "integer"
  35426. },
  35427. "totalbidvolume": {
  35428. "description": "外盘",
  35429. "type": "integer"
  35430. },
  35431. "totallot": {
  35432. "description": "总手数",
  35433. "type": "integer"
  35434. },
  35435. "totalturnover": {
  35436. "description": "总金额",
  35437. "type": "number"
  35438. },
  35439. "totalvolume": {
  35440. "description": "总量",
  35441. "type": "integer"
  35442. },
  35443. "utclasttime": {
  35444. "description": "utc的行情时间",
  35445. "type": "string"
  35446. }
  35447. }
  35448. },
  35449. "quote.QueryTSDataRsp": {
  35450. "type": "object",
  35451. "properties": {
  35452. "Count": {
  35453. "description": "交易日应有数据个数",
  35454. "type": "integer"
  35455. },
  35456. "decimalPlace": {
  35457. "description": "小数位",
  35458. "type": "integer"
  35459. },
  35460. "endTime": {
  35461. "description": "结束时间",
  35462. "type": "string"
  35463. },
  35464. "goodsCode": {
  35465. "description": "商品代码",
  35466. "type": "string"
  35467. },
  35468. "historyDatas": {
  35469. "description": "历史数据",
  35470. "type": "array",
  35471. "items": {
  35472. "$ref": "#/definitions/quote.HistoryData"
  35473. }
  35474. },
  35475. "outGoodsCode": {
  35476. "description": "外部商品代码",
  35477. "type": "string"
  35478. },
  35479. "preSettle": {
  35480. "description": "昨结价",
  35481. "type": "number"
  35482. },
  35483. "runSteps": {
  35484. "description": "交易日开休市计划",
  35485. "type": "array",
  35486. "items": {
  35487. "$ref": "#/definitions/quote.TSDataRunStep"
  35488. }
  35489. },
  35490. "startTime": {
  35491. "description": "开始时间",
  35492. "type": "string"
  35493. },
  35494. "tradeDate": {
  35495. "description": "交易日",
  35496. "type": "string"
  35497. }
  35498. }
  35499. },
  35500. "quote.TSDataRunStep": {
  35501. "type": "object",
  35502. "properties": {
  35503. "end": {
  35504. "description": "真实结束时间",
  35505. "type": "string"
  35506. },
  35507. "endflag": {
  35508. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  35509. "type": "integer"
  35510. },
  35511. "endtime": {
  35512. "description": "结束时间(HH:mm)",
  35513. "type": "string"
  35514. },
  35515. "endweekday": {
  35516. "description": "结束周几",
  35517. "type": "integer"
  35518. },
  35519. "groupid": {
  35520. "description": "分组ID",
  35521. "type": "integer"
  35522. },
  35523. "runstep": {
  35524. "description": "运行阶段 - 2:连续交易",
  35525. "type": "integer"
  35526. },
  35527. "sectionid": {
  35528. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  35529. "type": "integer"
  35530. },
  35531. "start": {
  35532. "description": "真实开始时间",
  35533. "type": "string"
  35534. },
  35535. "startflag": {
  35536. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  35537. "type": "integer"
  35538. },
  35539. "starttime": {
  35540. "description": "起始时间(HH:mm)",
  35541. "type": "string"
  35542. },
  35543. "startweekday": {
  35544. "description": "起始周几",
  35545. "type": "integer"
  35546. },
  35547. "tradeweekday": {
  35548. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  35549. "type": "integer"
  35550. }
  35551. }
  35552. },
  35553. "szdz.QueryConvertLogRsp": {
  35554. "type": "object",
  35555. "required": [
  35556. "logid"
  35557. ],
  35558. "properties": {
  35559. "accountid": {
  35560. "description": "资金账户ID",
  35561. "type": "integer"
  35562. },
  35563. "clientticket": {
  35564. "description": "客户端流水号",
  35565. "type": "string"
  35566. },
  35567. "converttype": {
  35568. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  35569. "type": "integer"
  35570. },
  35571. "createtime": {
  35572. "description": "记账时间",
  35573. "type": "string"
  35574. },
  35575. "daymaxvalue": {
  35576. "description": "配置当日最大转入限制",
  35577. "type": "number"
  35578. },
  35579. "daymaxvalue2": {
  35580. "description": "配置当日最大转入限制(转入)",
  35581. "type": "number"
  35582. },
  35583. "goodscode": {
  35584. "description": "商品代码",
  35585. "type": "string"
  35586. },
  35587. "goodsname": {
  35588. "description": "商品名称",
  35589. "type": "string"
  35590. },
  35591. "handlestatus": {
  35592. "description": "处理状态",
  35593. "type": "integer"
  35594. },
  35595. "innergoodsid": {
  35596. "description": "内部商品ID",
  35597. "type": "integer"
  35598. },
  35599. "inratio": {
  35600. "description": "配置转入比值",
  35601. "type": "integer"
  35602. },
  35603. "invalue": {
  35604. "description": "目标值",
  35605. "type": "number"
  35606. },
  35607. "logid": {
  35608. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35609. "type": "integer"
  35610. },
  35611. "mobile": {
  35612. "description": "手机号码(加密存储)",
  35613. "type": "string"
  35614. },
  35615. "outergoodscode": {
  35616. "description": "外部商品代码[JD\\PD]",
  35617. "type": "string"
  35618. },
  35619. "outratio": {
  35620. "description": "配置转出比值",
  35621. "type": "integer"
  35622. },
  35623. "outvalue": {
  35624. "description": "源值",
  35625. "type": "number"
  35626. },
  35627. "pddecimalplace": {
  35628. "description": "PD小数位",
  35629. "type": "integer"
  35630. },
  35631. "qty": {
  35632. "description": "数量",
  35633. "type": "string"
  35634. },
  35635. "remark": {
  35636. "description": "备注",
  35637. "type": "string"
  35638. },
  35639. "sessionid": {
  35640. "description": "会话ID",
  35641. "type": "integer"
  35642. },
  35643. "timemaxvalue": {
  35644. "description": "配置单次最大转入限制",
  35645. "type": "number"
  35646. },
  35647. "timemaxvalue2": {
  35648. "description": "配置单次最大转入限制(转入)",
  35649. "type": "number"
  35650. },
  35651. "timeminvalue": {
  35652. "description": "配置单次最小数量限制",
  35653. "type": "number"
  35654. },
  35655. "timeminvalue2": {
  35656. "description": "配置单次最小数量限制(转入)",
  35657. "type": "number"
  35658. },
  35659. "tradedate": {
  35660. "description": "交易日(yyyyMMdd)",
  35661. "type": "string"
  35662. },
  35663. "userid": {
  35664. "description": "用户ID",
  35665. "type": "integer"
  35666. }
  35667. }
  35668. },
  35669. "szdz.QueryGoodsPickupRsp": {
  35670. "type": "object",
  35671. "required": [
  35672. "takeorderid"
  35673. ],
  35674. "properties": {
  35675. "accountid": {
  35676. "description": "账户ID",
  35677. "type": "integer"
  35678. },
  35679. "address": {
  35680. "description": "提货人详细地址",
  35681. "type": "string"
  35682. },
  35683. "auditer": {
  35684. "description": "审核人",
  35685. "type": "integer"
  35686. },
  35687. "audittime": {
  35688. "description": "审核时间",
  35689. "type": "string"
  35690. },
  35691. "cardnum": {
  35692. "description": "提货人证件号码",
  35693. "type": "string"
  35694. },
  35695. "cardtypeid": {
  35696. "description": "提货人证件类型",
  35697. "type": "integer"
  35698. },
  35699. "checkremark": {
  35700. "description": "审核备注",
  35701. "type": "string"
  35702. },
  35703. "goodscode": {
  35704. "description": "商品代码",
  35705. "type": "string"
  35706. },
  35707. "goodsid": {
  35708. "description": "商品ID",
  35709. "type": "integer"
  35710. },
  35711. "goodsname": {
  35712. "description": "商品名称",
  35713. "type": "string"
  35714. },
  35715. "handlestatus": {
  35716. "description": "处理状态",
  35717. "type": "integer"
  35718. },
  35719. "marketid": {
  35720. "description": "市场ID",
  35721. "type": "integer"
  35722. },
  35723. "phonenum": {
  35724. "description": "提货人联系方式",
  35725. "type": "string"
  35726. },
  35727. "qty": {
  35728. "description": "提货数量",
  35729. "type": "number"
  35730. },
  35731. "recivername": {
  35732. "description": "提货人姓名",
  35733. "type": "string"
  35734. },
  35735. "reqtime": {
  35736. "description": "更新时间",
  35737. "type": "string"
  35738. },
  35739. "takemode": {
  35740. "description": "提货方式 - 2:自提 3:配送",
  35741. "type": "integer"
  35742. },
  35743. "takeorderid": {
  35744. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35745. "type": "string"
  35746. },
  35747. "takeorderstatus": {
  35748. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  35749. "type": "integer"
  35750. },
  35751. "takeremark": {
  35752. "description": "提货备注",
  35753. "type": "string"
  35754. },
  35755. "tradedate": {
  35756. "description": "交易日(yyyyMMdd)",
  35757. "type": "string"
  35758. },
  35759. "userid": {
  35760. "description": "用户ID",
  35761. "type": "integer"
  35762. }
  35763. }
  35764. },
  35765. "szdz.QueryRecieptOrderRsp": {
  35766. "type": "object",
  35767. "required": [
  35768. "ordertime"
  35769. ],
  35770. "properties": {
  35771. "accountName": {
  35772. "description": "所属账号名称(已脱敏)",
  35773. "type": "string"
  35774. },
  35775. "accountid": {
  35776. "description": "资金账号",
  35777. "type": "integer"
  35778. },
  35779. "buyorsell": {
  35780. "description": "方向 - 0:买 1:卖",
  35781. "type": "integer"
  35782. },
  35783. "enableqty": {
  35784. "description": "可摘数量",
  35785. "type": "integer"
  35786. },
  35787. "goodscode": {
  35788. "description": "商品代码",
  35789. "type": "string"
  35790. },
  35791. "goodsid": {
  35792. "description": "商品ID",
  35793. "type": "integer"
  35794. },
  35795. "goodsname": {
  35796. "description": "商品名称",
  35797. "type": "string"
  35798. },
  35799. "orderid": {
  35800. "description": "委托单号",
  35801. "type": "string"
  35802. },
  35803. "orderprice": {
  35804. "description": "委托价格",
  35805. "type": "number"
  35806. },
  35807. "ordertime": {
  35808. "description": "委托时间",
  35809. "type": "string"
  35810. },
  35811. "tradedate": {
  35812. "description": "交易日(yyyyMMdd)",
  35813. "type": "string"
  35814. }
  35815. }
  35816. },
  35817. "szdz.QuerySZDZTradePositionRsp": {
  35818. "type": "object",
  35819. "properties": {
  35820. "accountid": {
  35821. "description": "账号Id",
  35822. "type": "integer"
  35823. },
  35824. "agreeunit": {
  35825. "description": "合约单位",
  35826. "type": "number"
  35827. },
  35828. "averageprice": {
  35829. "description": "持仓均价",
  35830. "type": "number"
  35831. },
  35832. "buyorsell": {
  35833. "description": "方向 - 0:买 1:卖",
  35834. "type": "integer"
  35835. },
  35836. "closetotalqty": {
  35837. "description": "平仓总数量",
  35838. "type": "integer"
  35839. },
  35840. "curholderamount": {
  35841. "description": "当前持仓总金额",
  35842. "type": "number"
  35843. },
  35844. "curpositionqty": {
  35845. "description": "当前持仓总数量",
  35846. "type": "integer"
  35847. },
  35848. "currencyid": {
  35849. "description": "报价货币ID",
  35850. "type": "integer"
  35851. },
  35852. "curtdposition": {
  35853. "description": "期末今日头寸",
  35854. "type": "integer"
  35855. },
  35856. "decimalplace": {
  35857. "description": "报价小数位",
  35858. "type": "integer"
  35859. },
  35860. "enableqty": {
  35861. "description": "可用量",
  35862. "type": "integer"
  35863. },
  35864. "fretdposition": {
  35865. "description": "冻结今日头寸",
  35866. "type": "integer"
  35867. },
  35868. "frozenqty": {
  35869. "description": "持仓冻结数量",
  35870. "type": "integer"
  35871. },
  35872. "goodscode": {
  35873. "description": "商品代码(内部)",
  35874. "type": "string"
  35875. },
  35876. "goodsid": {
  35877. "description": "商品Id",
  35878. "type": "integer"
  35879. },
  35880. "goodsname": {
  35881. "description": "商品名称",
  35882. "type": "string"
  35883. },
  35884. "goodunit": {
  35885. "description": "报价单位",
  35886. "type": "string"
  35887. },
  35888. "goodunitid": {
  35889. "description": "报价单位ID",
  35890. "type": "integer"
  35891. },
  35892. "holderamount": {
  35893. "description": "期初持仓总金额",
  35894. "type": "number"
  35895. },
  35896. "marketid": {
  35897. "description": "市场ID",
  35898. "type": "integer"
  35899. },
  35900. "openreqqty": {
  35901. "description": "开仓申请数量",
  35902. "type": "integer"
  35903. },
  35904. "opentotalqty": {
  35905. "description": "开仓总数量",
  35906. "type": "integer"
  35907. },
  35908. "otherfrozenqty": {
  35909. "description": "持仓其他冻结数量(交割冻结)",
  35910. "type": "integer"
  35911. },
  35912. "positionqty": {
  35913. "description": "期初持仓数量",
  35914. "type": "integer"
  35915. },
  35916. "szdz3freezqty": {
  35917. "description": "尚志大宗转换冻结总数量",
  35918. "type": "integer"
  35919. },
  35920. "tnqty": {
  35921. "description": "T+N冻结总量",
  35922. "type": "integer"
  35923. },
  35924. "tnusedqty": {
  35925. "description": "T+N使用量",
  35926. "type": "integer"
  35927. },
  35928. "trademode": {
  35929. "description": "交易模式",
  35930. "type": "integer"
  35931. },
  35932. "usedmargin": {
  35933. "description": "占用保证金",
  35934. "type": "number"
  35935. }
  35936. }
  35937. },
  35938. "taaccount.QueryAmountLogRsp": {
  35939. "type": "object",
  35940. "required": [
  35941. "accountid",
  35942. "amount",
  35943. "amountadjusttype",
  35944. "autoid",
  35945. "balance",
  35946. "createtime",
  35947. "currentbalance",
  35948. "operatetype"
  35949. ],
  35950. "properties": {
  35951. "OPERATETYPENAME": {
  35952. "description": "资金操作类型名称",
  35953. "type": "string"
  35954. },
  35955. "accountid": {
  35956. "description": "资金账户ID",
  35957. "type": "integer"
  35958. },
  35959. "agoodscode": {
  35960. "description": "竞拍商品代码",
  35961. "type": "string"
  35962. },
  35963. "agoodsname": {
  35964. "description": "竞拍商品名称",
  35965. "type": "string"
  35966. },
  35967. "amount": {
  35968. "description": "资金金额",
  35969. "type": "number"
  35970. },
  35971. "amountadjusttype": {
  35972. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  35973. "type": "integer"
  35974. },
  35975. "autoid": {
  35976. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  35977. "type": "integer"
  35978. },
  35979. "balance": {
  35980. "description": "期初余额",
  35981. "type": "number"
  35982. },
  35983. "businesscode": {
  35984. "description": "业务编号",
  35985. "type": "integer"
  35986. },
  35987. "createtime": {
  35988. "description": "发生时间",
  35989. "type": "string"
  35990. },
  35991. "currencyid": {
  35992. "description": "币种ID",
  35993. "type": "integer"
  35994. },
  35995. "currentbalance": {
  35996. "description": "期末余额(变动后金额)",
  35997. "type": "number"
  35998. },
  35999. "dgoodscode": {
  36000. "description": "交割商品代码",
  36001. "type": "string"
  36002. },
  36003. "dgoodsname": {
  36004. "description": "交割商品名称",
  36005. "type": "string"
  36006. },
  36007. "goodscode": {
  36008. "description": "商品代码",
  36009. "type": "string"
  36010. },
  36011. "goodsid": {
  36012. "description": "商品ID",
  36013. "type": "integer"
  36014. },
  36015. "goodsname": {
  36016. "description": "商品名称",
  36017. "type": "string"
  36018. },
  36019. "marketid": {
  36020. "description": "市场ID",
  36021. "type": "integer"
  36022. },
  36023. "marketname": {
  36024. "description": "市场名称",
  36025. "type": "string"
  36026. },
  36027. "moneyticket": {
  36028. "description": "资金流水号:银行端流水号",
  36029. "type": "integer"
  36030. },
  36031. "operatetype": {
  36032. "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:营销收款",
  36033. "type": "integer"
  36034. },
  36035. "relationorderid": {
  36036. "description": "关联单号",
  36037. "type": "string"
  36038. },
  36039. "remark": {
  36040. "description": "备注",
  36041. "type": "string"
  36042. },
  36043. "trademode": {
  36044. "description": "交易模式",
  36045. "type": "integer"
  36046. }
  36047. }
  36048. },
  36049. "taaccount.QueryHisAmountLogRsp": {
  36050. "type": "object",
  36051. "required": [
  36052. "accountid",
  36053. "amount",
  36054. "amountadjusttype",
  36055. "autoid",
  36056. "balance",
  36057. "createtime",
  36058. "currentbalance",
  36059. "histradedate",
  36060. "operatetype"
  36061. ],
  36062. "properties": {
  36063. "OPERATETYPENAME": {
  36064. "description": "资金操作类型名称",
  36065. "type": "string"
  36066. },
  36067. "accountid": {
  36068. "description": "资金账户ID",
  36069. "type": "integer"
  36070. },
  36071. "agoodscode": {
  36072. "description": "竞拍商品代码",
  36073. "type": "string"
  36074. },
  36075. "agoodsname": {
  36076. "description": "竞拍商品名称",
  36077. "type": "string"
  36078. },
  36079. "amount": {
  36080. "description": "资金金额",
  36081. "type": "number"
  36082. },
  36083. "amountadjusttype": {
  36084. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36085. "type": "integer"
  36086. },
  36087. "autoid": {
  36088. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36089. "type": "integer"
  36090. },
  36091. "balance": {
  36092. "description": "期初余额",
  36093. "type": "number"
  36094. },
  36095. "businesscode": {
  36096. "description": "业务编号",
  36097. "type": "integer"
  36098. },
  36099. "createtime": {
  36100. "description": "发生时间",
  36101. "type": "string"
  36102. },
  36103. "currencyid": {
  36104. "description": "币种ID",
  36105. "type": "integer"
  36106. },
  36107. "currentbalance": {
  36108. "description": "期末余额(变动后金额)",
  36109. "type": "number"
  36110. },
  36111. "dgoodscode": {
  36112. "description": "交割商品代码",
  36113. "type": "string"
  36114. },
  36115. "dgoodsname": {
  36116. "description": "交割商品名称",
  36117. "type": "string"
  36118. },
  36119. "goodscode": {
  36120. "description": "商品代码",
  36121. "type": "string"
  36122. },
  36123. "goodsid": {
  36124. "description": "商品ID",
  36125. "type": "integer"
  36126. },
  36127. "goodsname": {
  36128. "description": "商品名称",
  36129. "type": "string"
  36130. },
  36131. "histradedate": {
  36132. "description": "历史交易日",
  36133. "type": "string"
  36134. },
  36135. "isvaliddata": {
  36136. "description": "是否有效 - 0:无效 1:有效",
  36137. "type": "integer"
  36138. },
  36139. "marketid": {
  36140. "description": "市场ID",
  36141. "type": "integer"
  36142. },
  36143. "marketname": {
  36144. "description": "市场名称",
  36145. "type": "string"
  36146. },
  36147. "moneyticket": {
  36148. "description": "资金流水号:银行端流水号",
  36149. "type": "integer"
  36150. },
  36151. "operatetype": {
  36152. "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:营销收款",
  36153. "type": "integer"
  36154. },
  36155. "relationorderid": {
  36156. "description": "关联单号",
  36157. "type": "string"
  36158. },
  36159. "remark": {
  36160. "description": "备注",
  36161. "type": "string"
  36162. },
  36163. "trademode": {
  36164. "description": "交易模式",
  36165. "type": "integer"
  36166. }
  36167. }
  36168. },
  36169. "trade.QueryRecieptOrderRsp": {
  36170. "type": "object",
  36171. "required": [
  36172. "ordertime"
  36173. ],
  36174. "properties": {
  36175. "accountName": {
  36176. "description": "所属账号名称(已脱敏)",
  36177. "type": "string"
  36178. },
  36179. "accountid": {
  36180. "description": "资金账号",
  36181. "type": "integer"
  36182. },
  36183. "buyorsell": {
  36184. "description": "方向 - 0:买 1:卖",
  36185. "type": "integer"
  36186. },
  36187. "enableqty": {
  36188. "description": "可摘数量",
  36189. "type": "integer"
  36190. },
  36191. "goodscode": {
  36192. "description": "商品代码",
  36193. "type": "string"
  36194. },
  36195. "goodsid": {
  36196. "description": "商品ID",
  36197. "type": "integer"
  36198. },
  36199. "goodsname": {
  36200. "description": "商品名称",
  36201. "type": "string"
  36202. },
  36203. "orderid": {
  36204. "description": "委托单号",
  36205. "type": "string"
  36206. },
  36207. "orderprice": {
  36208. "description": "委托价格",
  36209. "type": "number"
  36210. },
  36211. "ordertime": {
  36212. "description": "委托时间",
  36213. "type": "string"
  36214. },
  36215. "tradedate": {
  36216. "description": "交易日(yyyyMMdd)",
  36217. "type": "string"
  36218. }
  36219. }
  36220. },
  36221. "user.LoginQueryRsp": {
  36222. "type": "object",
  36223. "properties": {
  36224. "areaRoles": {
  36225. "description": "所属角色信息",
  36226. "type": "array",
  36227. "items": {
  36228. "$ref": "#/definitions/models.Arearole"
  36229. }
  36230. },
  36231. "externalExchanges": {
  36232. "description": "外部交易所",
  36233. "type": "array",
  36234. "items": {
  36235. "$ref": "#/definitions/models.Externalexchange"
  36236. }
  36237. },
  36238. "goodsgroups": {
  36239. "description": "商品组",
  36240. "type": "array",
  36241. "items": {
  36242. "$ref": "#/definitions/models.Goodsgroup"
  36243. }
  36244. },
  36245. "loginAccount": {
  36246. "description": "登录账号",
  36247. "type": "object",
  36248. "$ref": "#/definitions/models.Loginaccount"
  36249. },
  36250. "markets": {
  36251. "description": "市场",
  36252. "type": "array",
  36253. "items": {
  36254. "$ref": "#/definitions/models.Market"
  36255. }
  36256. },
  36257. "systemParams": {
  36258. "description": "系统参数",
  36259. "type": "array",
  36260. "items": {
  36261. "$ref": "#/definitions/models.Systemparam"
  36262. }
  36263. },
  36264. "userAccount": {
  36265. "description": "用户账号",
  36266. "type": "object",
  36267. "$ref": "#/definitions/models.Useraccount"
  36268. },
  36269. "userInfo": {
  36270. "description": "用户信息",
  36271. "type": "object",
  36272. "$ref": "#/definitions/models.Userinfo"
  36273. },
  36274. "username": {
  36275. "description": "用户姓名",
  36276. "type": "string"
  36277. }
  36278. }
  36279. }
  36280. },
  36281. "securityDefinitions": {
  36282. "ApiKeyAuth": {
  36283. "type": "apiKey",
  36284. "name": "Authorization",
  36285. "in": "header"
  36286. }
  36287. }
  36288. }`
  36289. type swaggerInfo struct {
  36290. Version string
  36291. Host string
  36292. BasePath string
  36293. Schemes []string
  36294. Title string
  36295. Description string
  36296. }
  36297. // SwaggerInfo holds exported Swagger Info so clients can modify it
  36298. var SwaggerInfo = swaggerInfo{
  36299. Version: "1.0",
  36300. Host: "",
  36301. BasePath: "/api",
  36302. Schemes: []string{},
  36303. Title: "MTP2.0 查询服务 API",
  36304. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  36305. }
  36306. type s struct{}
  36307. func (s *s) ReadDoc() string {
  36308. sInfo := SwaggerInfo
  36309. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  36310. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  36311. "marshal": func(v interface{}) string {
  36312. a, _ := json.Marshal(v)
  36313. return string(a)
  36314. },
  36315. }).Parse(doc)
  36316. if err != nil {
  36317. return doc
  36318. }
  36319. var tpl bytes.Buffer
  36320. if err := t.Execute(&tpl, sInfo); err != nil {
  36321. return doc
  36322. }
  36323. return tpl.String()
  36324. }
  36325. func init() {
  36326. swag.Register(swag.Name, &s{})
  36327. }