docs.go 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425
  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.XHDeliveryGoods"
  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.TBMiddleGoods"
  4472. }
  4473. }
  4474. },
  4475. "500": {
  4476. "description": "Internal Server Error",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. }
  4481. }
  4482. }
  4483. },
  4484. "/Ermcp3/QueryPaAreaAuditCfg": {
  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.Ermcp3PaAreaAuditCfg"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QueryPaAreaSubject": {
  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": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4551. "name": "subjectid",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "主体类型 - 1:交易主体 2:业务部门",
  4557. "name": "subjecttype",
  4558. "in": "query"
  4559. },
  4560. {
  4561. "type": "integer",
  4562. "description": "主体状态 - 1:正常 2: 停用",
  4563. "name": "subjectstatus",
  4564. "in": "query"
  4565. }
  4566. ],
  4567. "responses": {
  4568. "200": {
  4569. "description": "OK",
  4570. "schema": {
  4571. "type": "array",
  4572. "items": {
  4573. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4574. }
  4575. }
  4576. },
  4577. "500": {
  4578. "description": "Internal Server Error",
  4579. "schema": {
  4580. "$ref": "#/definitions/app.Response"
  4581. }
  4582. }
  4583. }
  4584. }
  4585. },
  4586. "/Ermcp3/QueryRootUserAccount": {
  4587. "get": {
  4588. "security": [
  4589. {
  4590. "ApiKeyAuth": []
  4591. }
  4592. ],
  4593. "produces": [
  4594. "application/json"
  4595. ],
  4596. "tags": [
  4597. "企业风险管理v3(app)"
  4598. ],
  4599. "summary": "查询顶级用户信息",
  4600. "parameters": [
  4601. {
  4602. "type": "integer",
  4603. "description": "用户ID",
  4604. "name": "userid",
  4605. "in": "query",
  4606. "required": true
  4607. }
  4608. ],
  4609. "responses": {
  4610. "200": {
  4611. "description": "OK",
  4612. "schema": {
  4613. "type": "array",
  4614. "items": {
  4615. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4616. }
  4617. }
  4618. },
  4619. "500": {
  4620. "description": "Internal Server Error",
  4621. "schema": {
  4622. "$ref": "#/definitions/app.Response"
  4623. }
  4624. }
  4625. }
  4626. }
  4627. },
  4628. "/Ermcp3/QuerySpotContract": {
  4629. "get": {
  4630. "security": [
  4631. {
  4632. "ApiKeyAuth": []
  4633. }
  4634. ],
  4635. "produces": [
  4636. "application/json"
  4637. ],
  4638. "tags": [
  4639. "企业风险管理v3(app)"
  4640. ],
  4641. "summary": "查询现货合同",
  4642. "parameters": [
  4643. {
  4644. "type": "integer",
  4645. "description": "用户id",
  4646. "name": "userid",
  4647. "in": "query",
  4648. "required": true
  4649. },
  4650. {
  4651. "type": "integer",
  4652. "description": "用户类型 2-机构 7-企业成员",
  4653. "name": "usertype",
  4654. "in": "query"
  4655. },
  4656. {
  4657. "type": "integer",
  4658. "description": "合同类型 1-采购, -1-销售",
  4659. "name": "contracttype",
  4660. "in": "query"
  4661. },
  4662. {
  4663. "type": "integer",
  4664. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4665. "name": "querytype",
  4666. "in": "query",
  4667. "required": true
  4668. },
  4669. {
  4670. "type": "string",
  4671. "description": "合同ID(SpotContractId)",
  4672. "name": "contractid",
  4673. "in": "query"
  4674. }
  4675. ],
  4676. "responses": {
  4677. "200": {
  4678. "description": "OK",
  4679. "schema": {
  4680. "type": "array",
  4681. "items": {
  4682. "$ref": "#/definitions/models.Ermcp3Contract"
  4683. }
  4684. }
  4685. },
  4686. "500": {
  4687. "description": "Internal Server Error",
  4688. "schema": {
  4689. "$ref": "#/definitions/app.Response"
  4690. }
  4691. }
  4692. }
  4693. }
  4694. },
  4695. "/Ermcp3/QuerySpotContractBS": {
  4696. "get": {
  4697. "security": [
  4698. {
  4699. "ApiKeyAuth": []
  4700. }
  4701. ],
  4702. "produces": [
  4703. "application/json"
  4704. ],
  4705. "tags": [
  4706. "企业风险管理v3(app)"
  4707. ],
  4708. "summary": "查询合同(采购/销售)",
  4709. "parameters": [
  4710. {
  4711. "type": "integer",
  4712. "description": "用户id",
  4713. "name": "userid",
  4714. "in": "query",
  4715. "required": true
  4716. },
  4717. {
  4718. "type": "integer",
  4719. "description": "用户类型 2-机构 7-企业成员",
  4720. "name": "usertype",
  4721. "in": "query"
  4722. },
  4723. {
  4724. "type": "integer",
  4725. "description": "合同类型 1-采购, -1-销售",
  4726. "name": "contracttype",
  4727. "in": "query",
  4728. "required": true
  4729. },
  4730. {
  4731. "type": "integer",
  4732. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4733. "name": "querytype",
  4734. "in": "query",
  4735. "required": true
  4736. },
  4737. {
  4738. "type": "string",
  4739. "description": "合同ID(SpotContractId)",
  4740. "name": "contractid",
  4741. "in": "query"
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QuerySpotGoodsPrice": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询现货市价(现货市价)",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户ID",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. }
  4785. ],
  4786. "responses": {
  4787. "200": {
  4788. "description": "OK",
  4789. "schema": {
  4790. "type": "array",
  4791. "items": {
  4792. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4793. }
  4794. }
  4795. },
  4796. "500": {
  4797. "description": "Internal Server Error",
  4798. "schema": {
  4799. "$ref": "#/definitions/app.Response"
  4800. }
  4801. }
  4802. }
  4803. }
  4804. },
  4805. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4806. "get": {
  4807. "security": [
  4808. {
  4809. "ApiKeyAuth": []
  4810. }
  4811. ],
  4812. "produces": [
  4813. "application/json"
  4814. ],
  4815. "tags": [
  4816. "企业风险管理v3(app)"
  4817. ],
  4818. "summary": "查询现货市价详情(现货市价/详情)",
  4819. "parameters": [
  4820. {
  4821. "type": "integer",
  4822. "description": "用户ID",
  4823. "name": "userid",
  4824. "in": "query",
  4825. "required": true
  4826. },
  4827. {
  4828. "type": "integer",
  4829. "description": "现货商品ID",
  4830. "name": "deliverygoodsid",
  4831. "in": "query",
  4832. "required": true
  4833. },
  4834. {
  4835. "type": "integer",
  4836. "description": "品牌ID",
  4837. "name": "brandid",
  4838. "in": "query"
  4839. },
  4840. {
  4841. "type": "integer",
  4842. "description": "品类ID",
  4843. "name": "wrstandardid",
  4844. "in": "query"
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Erms2/QueryArbitrageStrategy": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "produces": [
  4874. "application/json"
  4875. ],
  4876. "tags": [
  4877. "风险管理"
  4878. ],
  4879. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4880. "parameters": [
  4881. {
  4882. "type": "integer",
  4883. "description": "账户ID",
  4884. "name": "userid",
  4885. "in": "query",
  4886. "required": true
  4887. },
  4888. {
  4889. "type": "string",
  4890. "description": "商品组ID(品种ID)",
  4891. "name": "goodsgroupid",
  4892. "in": "query"
  4893. }
  4894. ],
  4895. "responses": {
  4896. "200": {
  4897. "description": "OK",
  4898. "schema": {
  4899. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4900. }
  4901. },
  4902. "500": {
  4903. "description": "Internal Server Error",
  4904. "schema": {
  4905. "$ref": "#/definitions/app.Response"
  4906. }
  4907. }
  4908. }
  4909. }
  4910. },
  4911. "/Erms2/QueryInnerTradeDetail": {
  4912. "get": {
  4913. "security": [
  4914. {
  4915. "ApiKeyAuth": []
  4916. }
  4917. ],
  4918. "produces": [
  4919. "application/json"
  4920. ],
  4921. "tags": [
  4922. "风险管理"
  4923. ],
  4924. "summary": "查询内部成交单信息",
  4925. "parameters": [
  4926. {
  4927. "type": "integer",
  4928. "description": "资金账户",
  4929. "name": "accountid",
  4930. "in": "query",
  4931. "required": true
  4932. }
  4933. ],
  4934. "responses": {
  4935. "200": {
  4936. "description": "OK",
  4937. "schema": {
  4938. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4939. }
  4940. },
  4941. "500": {
  4942. "description": "Internal Server Error",
  4943. "schema": {
  4944. "$ref": "#/definitions/app.Response"
  4945. }
  4946. }
  4947. }
  4948. }
  4949. },
  4950. "/Erms2/QuerySpotContract": {
  4951. "get": {
  4952. "security": [
  4953. {
  4954. "ApiKeyAuth": []
  4955. }
  4956. ],
  4957. "produces": [
  4958. "application/json"
  4959. ],
  4960. "tags": [
  4961. "风险管理"
  4962. ],
  4963. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4964. "parameters": [
  4965. {
  4966. "type": "integer",
  4967. "description": "策略申请ID",
  4968. "name": "asapplyid",
  4969. "in": "query",
  4970. "required": true
  4971. },
  4972. {
  4973. "type": "integer",
  4974. "description": "现货合同ID",
  4975. "name": "spotcontractid",
  4976. "in": "query"
  4977. }
  4978. ],
  4979. "responses": {
  4980. "200": {
  4981. "description": "OK",
  4982. "schema": {
  4983. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/Erms3/AddErms2ASApply": {
  4996. "post": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "produces": [
  5003. "application/json"
  5004. ],
  5005. "tags": [
  5006. "风险管理v3"
  5007. ],
  5008. "summary": "新增期现套利业务申请",
  5009. "parameters": [
  5010. {
  5011. "description": "申请参数",
  5012. "name": "jsonBody",
  5013. "in": "body",
  5014. "required": true,
  5015. "schema": {
  5016. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5017. }
  5018. }
  5019. ],
  5020. "responses": {
  5021. "200": {
  5022. "description": "OK",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. },
  5027. "500": {
  5028. "description": "Internal Server Error",
  5029. "schema": {
  5030. "$ref": "#/definitions/app.Response"
  5031. }
  5032. }
  5033. }
  5034. }
  5035. },
  5036. "/Erms3/AddErms2SpotTradeApply": {
  5037. "post": {
  5038. "security": [
  5039. {
  5040. "ApiKeyAuth": []
  5041. }
  5042. ],
  5043. "produces": [
  5044. "application/json"
  5045. ],
  5046. "tags": [
  5047. "风险管理v3"
  5048. ],
  5049. "summary": "新增现货贸易业务申请",
  5050. "parameters": [
  5051. {
  5052. "description": "申请参数",
  5053. "name": "jsonBody",
  5054. "in": "body",
  5055. "required": true,
  5056. "schema": {
  5057. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5058. }
  5059. }
  5060. ],
  5061. "responses": {
  5062. "200": {
  5063. "description": "OK",
  5064. "schema": {
  5065. "$ref": "#/definitions/app.Response"
  5066. }
  5067. },
  5068. "500": {
  5069. "description": "Internal Server Error",
  5070. "schema": {
  5071. "$ref": "#/definitions/app.Response"
  5072. }
  5073. }
  5074. }
  5075. }
  5076. },
  5077. "/Erms3/AddSpotContractApply": {
  5078. "post": {
  5079. "security": [
  5080. {
  5081. "ApiKeyAuth": []
  5082. }
  5083. ],
  5084. "produces": [
  5085. "application/json"
  5086. ],
  5087. "tags": [
  5088. "风险管理v3"
  5089. ],
  5090. "summary": "新增现货合同申请",
  5091. "parameters": [
  5092. {
  5093. "description": "申请参数",
  5094. "name": "jsonBody",
  5095. "in": "body",
  5096. "required": true,
  5097. "schema": {
  5098. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5099. }
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5107. }
  5108. },
  5109. "500": {
  5110. "description": "Internal Server Error",
  5111. "schema": {
  5112. "$ref": "#/definitions/app.Response"
  5113. }
  5114. }
  5115. }
  5116. }
  5117. },
  5118. "/Erms3/AddUserInfoApply": {
  5119. "post": {
  5120. "security": [
  5121. {
  5122. "ApiKeyAuth": []
  5123. }
  5124. ],
  5125. "produces": [
  5126. "application/json"
  5127. ],
  5128. "tags": [
  5129. "风险管理v3"
  5130. ],
  5131. "summary": "新增客户申请",
  5132. "parameters": [
  5133. {
  5134. "description": "用户信息",
  5135. "name": "jsonBody",
  5136. "in": "body",
  5137. "required": true,
  5138. "schema": {
  5139. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5140. }
  5141. }
  5142. ],
  5143. "responses": {
  5144. "200": {
  5145. "description": "OK",
  5146. "schema": {
  5147. "$ref": "#/definitions/app.Response"
  5148. }
  5149. },
  5150. "500": {
  5151. "description": "Internal Server Error",
  5152. "schema": {
  5153. "$ref": "#/definitions/app.Response"
  5154. }
  5155. }
  5156. }
  5157. }
  5158. },
  5159. "/Erms3/DeleteUserInfoApply": {
  5160. "get": {
  5161. "security": [
  5162. {
  5163. "ApiKeyAuth": []
  5164. }
  5165. ],
  5166. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5167. "produces": [
  5168. "application/json"
  5169. ],
  5170. "tags": [
  5171. "风险管理v3"
  5172. ],
  5173. "summary": "删除客户申请",
  5174. "parameters": [
  5175. {
  5176. "type": "integer",
  5177. "description": "用户ID",
  5178. "name": "userID",
  5179. "in": "query",
  5180. "required": true
  5181. }
  5182. ],
  5183. "responses": {
  5184. "200": {
  5185. "description": "OK",
  5186. "schema": {
  5187. "$ref": "#/definitions/app.Response"
  5188. }
  5189. },
  5190. "500": {
  5191. "description": "Internal Server Error",
  5192. "schema": {
  5193. "$ref": "#/definitions/app.Response"
  5194. }
  5195. }
  5196. }
  5197. }
  5198. },
  5199. "/Erms3/ModifyUserInfoApply": {
  5200. "post": {
  5201. "security": [
  5202. {
  5203. "ApiKeyAuth": []
  5204. }
  5205. ],
  5206. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5207. "produces": [
  5208. "application/json"
  5209. ],
  5210. "tags": [
  5211. "风险管理v3"
  5212. ],
  5213. "summary": "修改客户申请",
  5214. "parameters": [
  5215. {
  5216. "description": "用户信息",
  5217. "name": "jsonBody",
  5218. "in": "body",
  5219. "required": true,
  5220. "schema": {
  5221. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5222. }
  5223. }
  5224. ],
  5225. "responses": {
  5226. "200": {
  5227. "description": "OK",
  5228. "schema": {
  5229. "$ref": "#/definitions/app.Response"
  5230. }
  5231. },
  5232. "500": {
  5233. "description": "Internal Server Error",
  5234. "schema": {
  5235. "$ref": "#/definitions/app.Response"
  5236. }
  5237. }
  5238. }
  5239. }
  5240. },
  5241. "/Erms3/QueryBusinessInfo": {
  5242. "get": {
  5243. "security": [
  5244. {
  5245. "ApiKeyAuth": []
  5246. }
  5247. ],
  5248. "produces": [
  5249. "application/json"
  5250. ],
  5251. "tags": [
  5252. "风险管理v3"
  5253. ],
  5254. "summary": "查询业务表单数据",
  5255. "parameters": [
  5256. {
  5257. "type": "string",
  5258. "description": "资金账号ID列表,用逗号分隔",
  5259. "name": "accountids",
  5260. "in": "query",
  5261. "required": true
  5262. },
  5263. {
  5264. "type": "integer",
  5265. "description": "状态,0为未结束 1为已结束",
  5266. "name": "status",
  5267. "in": "query",
  5268. "required": true
  5269. }
  5270. ],
  5271. "responses": {
  5272. "200": {
  5273. "description": "OK",
  5274. "schema": {
  5275. "type": "array",
  5276. "items": {
  5277. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5278. }
  5279. }
  5280. },
  5281. "500": {
  5282. "description": "Internal Server Error",
  5283. "schema": {
  5284. "$ref": "#/definitions/app.Response"
  5285. }
  5286. }
  5287. }
  5288. }
  5289. },
  5290. "/Erms3/QueryPendingAuditContract": {
  5291. "get": {
  5292. "security": [
  5293. {
  5294. "ApiKeyAuth": []
  5295. }
  5296. ],
  5297. "produces": [
  5298. "application/json"
  5299. ],
  5300. "tags": [
  5301. "风险管理v3"
  5302. ],
  5303. "summary": "查询待审核合同",
  5304. "parameters": [
  5305. {
  5306. "type": "string",
  5307. "description": "资金账号ID列表,逗号隔开",
  5308. "name": "accountids",
  5309. "in": "query",
  5310. "required": true
  5311. },
  5312. {
  5313. "type": "integer",
  5314. "description": "合同类型 1-采购 -1-销售",
  5315. "name": "contracttype",
  5316. "in": "query",
  5317. "required": true
  5318. },
  5319. {
  5320. "type": "integer",
  5321. "description": "合同模式 1-普通 2-回购",
  5322. "name": "contractmode",
  5323. "in": "query",
  5324. "required": true
  5325. }
  5326. ],
  5327. "responses": {
  5328. "200": {
  5329. "description": "OK",
  5330. "schema": {
  5331. "type": "array",
  5332. "items": {
  5333. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5334. }
  5335. }
  5336. },
  5337. "500": {
  5338. "description": "Internal Server Error",
  5339. "schema": {
  5340. "$ref": "#/definitions/app.Response"
  5341. }
  5342. }
  5343. }
  5344. }
  5345. },
  5346. "/Erms3/QueryPendingBusiness": {
  5347. "get": {
  5348. "security": [
  5349. {
  5350. "ApiKeyAuth": []
  5351. }
  5352. ],
  5353. "produces": [
  5354. "application/json"
  5355. ],
  5356. "tags": [
  5357. "风险管理v3"
  5358. ],
  5359. "summary": "查询待审核基差贸易业务",
  5360. "parameters": [
  5361. {
  5362. "type": "string",
  5363. "description": "资金账号ID列表,逗号隔开",
  5364. "name": "accountids",
  5365. "in": "query",
  5366. "required": true
  5367. }
  5368. ],
  5369. "responses": {
  5370. "200": {
  5371. "description": "OK",
  5372. "schema": {
  5373. "type": "array",
  5374. "items": {
  5375. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5376. }
  5377. }
  5378. },
  5379. "500": {
  5380. "description": "Internal Server Error",
  5381. "schema": {
  5382. "$ref": "#/definitions/app.Response"
  5383. }
  5384. }
  5385. }
  5386. }
  5387. },
  5388. "/Erms3/QuerySpotContractAppleForm": {
  5389. "get": {
  5390. "security": [
  5391. {
  5392. "ApiKeyAuth": []
  5393. }
  5394. ],
  5395. "produces": [
  5396. "application/json"
  5397. ],
  5398. "tags": [
  5399. "风险管理v3"
  5400. ],
  5401. "summary": "查询合同申请表单数据",
  5402. "parameters": [
  5403. {
  5404. "type": "integer",
  5405. "description": "登录账号",
  5406. "name": "loginID",
  5407. "in": "query",
  5408. "required": true
  5409. }
  5410. ],
  5411. "responses": {
  5412. "200": {
  5413. "description": "OK",
  5414. "schema": {
  5415. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5416. }
  5417. },
  5418. "500": {
  5419. "description": "Internal Server Error",
  5420. "schema": {
  5421. "$ref": "#/definitions/app.Response"
  5422. }
  5423. }
  5424. }
  5425. }
  5426. },
  5427. "/Erms3/QuerySpotContractDetail": {
  5428. "get": {
  5429. "security": [
  5430. {
  5431. "ApiKeyAuth": []
  5432. }
  5433. ],
  5434. "produces": [
  5435. "application/json"
  5436. ],
  5437. "tags": [
  5438. "风险管理v3"
  5439. ],
  5440. "summary": "查询合同详细信息",
  5441. "parameters": [
  5442. {
  5443. "type": "string",
  5444. "description": "资金账号ID列表,用逗号分隔",
  5445. "name": "accountids",
  5446. "in": "query",
  5447. "required": true
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "合同类型,1为采购合同 -1为销售合同",
  5452. "name": "contracttype",
  5453. "in": "query",
  5454. "required": true
  5455. },
  5456. {
  5457. "type": "integer",
  5458. "description": "合同模式,1为普通合同 2为回购销售合同",
  5459. "name": "contractmode",
  5460. "in": "query",
  5461. "required": true
  5462. },
  5463. {
  5464. "type": "integer",
  5465. "description": "状态,0为履约中 1为已完成",
  5466. "name": "status",
  5467. "in": "query",
  5468. "required": true
  5469. }
  5470. ],
  5471. "responses": {
  5472. "200": {
  5473. "description": "OK",
  5474. "schema": {
  5475. "type": "array",
  5476. "items": {
  5477. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5478. }
  5479. }
  5480. },
  5481. "500": {
  5482. "description": "Internal Server Error",
  5483. "schema": {
  5484. "$ref": "#/definitions/app.Response"
  5485. }
  5486. }
  5487. }
  5488. }
  5489. },
  5490. "/Erms3/QueryUserInfoApplies": {
  5491. "get": {
  5492. "security": [
  5493. {
  5494. "ApiKeyAuth": []
  5495. }
  5496. ],
  5497. "produces": [
  5498. "application/json"
  5499. ],
  5500. "tags": [
  5501. "风险管理v3"
  5502. ],
  5503. "summary": "客户申请信息查询",
  5504. "parameters": [
  5505. {
  5506. "type": "integer",
  5507. "description": "页码",
  5508. "name": "page",
  5509. "in": "query"
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "每页条数",
  5514. "name": "pagesize",
  5515. "in": "query"
  5516. },
  5517. {
  5518. "type": "string",
  5519. "description": "客户名称,支持模糊查询",
  5520. "name": "userName",
  5521. "in": "query"
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/Erms3/QueryUserInfos": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "produces": [
  5548. "application/json"
  5549. ],
  5550. "tags": [
  5551. "风险管理v3"
  5552. ],
  5553. "summary": "客户信息查询",
  5554. "parameters": [
  5555. {
  5556. "type": "integer",
  5557. "description": "页码",
  5558. "name": "page",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "integer",
  5563. "description": "每页条数",
  5564. "name": "pagesize",
  5565. "in": "query"
  5566. },
  5567. {
  5568. "type": "string",
  5569. "description": "客户名称,支持模糊查询",
  5570. "name": "userName",
  5571. "in": "query"
  5572. }
  5573. ],
  5574. "responses": {
  5575. "200": {
  5576. "description": "OK",
  5577. "schema": {
  5578. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5579. }
  5580. },
  5581. "500": {
  5582. "description": "Internal Server Error",
  5583. "schema": {
  5584. "$ref": "#/definitions/app.Response"
  5585. }
  5586. }
  5587. }
  5588. }
  5589. },
  5590. "/HSBY/GetHsbyMyCount": {
  5591. "get": {
  5592. "security": [
  5593. {
  5594. "ApiKeyAuth": []
  5595. }
  5596. ],
  5597. "description": "说明: 不包括已完成的数量。",
  5598. "produces": [
  5599. "application/json"
  5600. ],
  5601. "tags": [
  5602. "定制【海商报业】"
  5603. ],
  5604. "summary": "获取我的订单与包裹数量",
  5605. "parameters": [
  5606. {
  5607. "type": "string",
  5608. "description": "资金账户列表,格式:1,2,3",
  5609. "name": "accountIDs",
  5610. "in": "query",
  5611. "required": true
  5612. }
  5613. ],
  5614. "responses": {
  5615. "200": {
  5616. "description": "OK",
  5617. "schema": {
  5618. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5619. }
  5620. },
  5621. "500": {
  5622. "description": "Internal Server Error",
  5623. "schema": {
  5624. "$ref": "#/definitions/app.Response"
  5625. }
  5626. }
  5627. }
  5628. }
  5629. },
  5630. "/HSBY/QueryClientFixedADConfigs": {
  5631. "get": {
  5632. "security": [
  5633. {
  5634. "ApiKeyAuth": []
  5635. }
  5636. ],
  5637. "produces": [
  5638. "application/json"
  5639. ],
  5640. "tags": [
  5641. "定制【海商报业】"
  5642. ],
  5643. "summary": "获取终端固定广告配置",
  5644. "responses": {
  5645. "200": {
  5646. "description": "OK",
  5647. "schema": {
  5648. "$ref": "#/definitions/models.Clientfixedadconfig"
  5649. }
  5650. },
  5651. "500": {
  5652. "description": "Internal Server Error",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. }
  5657. }
  5658. }
  5659. },
  5660. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5661. "get": {
  5662. "security": [
  5663. {
  5664. "ApiKeyAuth": []
  5665. }
  5666. ],
  5667. "produces": [
  5668. "application/json"
  5669. ],
  5670. "tags": [
  5671. "定制【海商报业】"
  5672. ],
  5673. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5674. "parameters": [
  5675. {
  5676. "type": "integer",
  5677. "description": "页码",
  5678. "name": "page",
  5679. "in": "query"
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "每页条数",
  5684. "name": "pagesize",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "string",
  5689. "description": "资金账户列表,格式:1,2,3",
  5690. "name": "accountIDs",
  5691. "in": "query",
  5692. "required": true
  5693. }
  5694. ],
  5695. "responses": {
  5696. "200": {
  5697. "description": "OK",
  5698. "schema": {
  5699. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5700. }
  5701. },
  5702. "500": {
  5703. "description": "Internal Server Error",
  5704. "schema": {
  5705. "$ref": "#/definitions/app.Response"
  5706. }
  5707. }
  5708. }
  5709. }
  5710. },
  5711. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5712. "get": {
  5713. "security": [
  5714. {
  5715. "ApiKeyAuth": []
  5716. }
  5717. ],
  5718. "description": "说明:查询结果已按委托价格和委托时间排序",
  5719. "produces": [
  5720. "application/json"
  5721. ],
  5722. "tags": [
  5723. "定制【海商报业】"
  5724. ],
  5725. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5726. "parameters": [
  5727. {
  5728. "type": "integer",
  5729. "description": "商品ID",
  5730. "name": "goodsID",
  5731. "in": "query",
  5732. "required": true
  5733. },
  5734. {
  5735. "type": "string",
  5736. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5737. "name": "accountIDs",
  5738. "in": "query"
  5739. },
  5740. {
  5741. "type": "integer",
  5742. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5743. "name": "buyOrSell",
  5744. "in": "query"
  5745. },
  5746. {
  5747. "type": "number",
  5748. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5749. "name": "price",
  5750. "in": "query"
  5751. },
  5752. {
  5753. "type": "integer",
  5754. "description": "档位,不传则默认为3档",
  5755. "name": "speed",
  5756. "in": "query"
  5757. }
  5758. ],
  5759. "responses": {
  5760. "200": {
  5761. "description": "OK",
  5762. "schema": {
  5763. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5764. }
  5765. },
  5766. "500": {
  5767. "description": "Internal Server Error",
  5768. "schema": {
  5769. "$ref": "#/definitions/app.Response"
  5770. }
  5771. }
  5772. }
  5773. }
  5774. },
  5775. "/HSBY/QueryHsbyListingGoodsDetail": {
  5776. "get": {
  5777. "security": [
  5778. {
  5779. "ApiKeyAuth": []
  5780. }
  5781. ],
  5782. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5783. "produces": [
  5784. "application/json"
  5785. ],
  5786. "tags": [
  5787. "定制【海商报业】"
  5788. ],
  5789. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5790. "parameters": [
  5791. {
  5792. "type": "integer",
  5793. "description": "商品ID",
  5794. "name": "goodsID",
  5795. "in": "query",
  5796. "required": true
  5797. },
  5798. {
  5799. "type": "integer",
  5800. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5801. "name": "accountID",
  5802. "in": "query"
  5803. }
  5804. ],
  5805. "responses": {
  5806. "200": {
  5807. "description": "OK",
  5808. "schema": {
  5809. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5810. }
  5811. },
  5812. "500": {
  5813. "description": "Internal Server Error",
  5814. "schema": {
  5815. "$ref": "#/definitions/app.Response"
  5816. }
  5817. }
  5818. }
  5819. }
  5820. },
  5821. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5822. "get": {
  5823. "security": [
  5824. {
  5825. "ApiKeyAuth": []
  5826. }
  5827. ],
  5828. "produces": [
  5829. "application/json"
  5830. ],
  5831. "tags": [
  5832. "定制【海商报业】"
  5833. ],
  5834. "summary": "查询三级市场(商城)商品信息详情",
  5835. "parameters": [
  5836. {
  5837. "type": "integer",
  5838. "description": "委托单号",
  5839. "name": "orderID",
  5840. "in": "query",
  5841. "required": true
  5842. },
  5843. {
  5844. "type": "integer",
  5845. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5846. "name": "accountID",
  5847. "in": "query"
  5848. }
  5849. ],
  5850. "responses": {
  5851. "200": {
  5852. "description": "OK",
  5853. "schema": {
  5854. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5855. }
  5856. },
  5857. "500": {
  5858. "description": "Internal Server Error",
  5859. "schema": {
  5860. "$ref": "#/definitions/app.Response"
  5861. }
  5862. }
  5863. }
  5864. }
  5865. },
  5866. "/HSBY/QueryHsbyMarketGoodses": {
  5867. "get": {
  5868. "security": [
  5869. {
  5870. "ApiKeyAuth": []
  5871. }
  5872. ],
  5873. "produces": [
  5874. "application/json"
  5875. ],
  5876. "tags": [
  5877. "定制【海商报业】"
  5878. ],
  5879. "summary": "查询特卖商品列表(三级商城)",
  5880. "parameters": [
  5881. {
  5882. "type": "integer",
  5883. "description": "页码",
  5884. "name": "page",
  5885. "in": "query"
  5886. },
  5887. {
  5888. "type": "integer",
  5889. "description": "每页条数",
  5890. "name": "pagesize",
  5891. "in": "query"
  5892. },
  5893. {
  5894. "type": "string",
  5895. "description": "市场ID列表,格式:1,2,3",
  5896. "name": "marketIDs",
  5897. "in": "query",
  5898. "required": true
  5899. },
  5900. {
  5901. "type": "integer",
  5902. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5903. "name": "accountID",
  5904. "in": "query",
  5905. "required": true
  5906. },
  5907. {
  5908. "type": "integer",
  5909. "description": "类别ID",
  5910. "name": "categoryID",
  5911. "in": "query"
  5912. },
  5913. {
  5914. "type": "string",
  5915. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5916. "name": "goodsIDs",
  5917. "in": "query"
  5918. },
  5919. {
  5920. "type": "integer",
  5921. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5922. "name": "couponTypeID",
  5923. "in": "query"
  5924. }
  5925. ],
  5926. "responses": {
  5927. "200": {
  5928. "description": "OK",
  5929. "schema": {
  5930. "$ref": "#/definitions/models.HsbyMarketGoods"
  5931. }
  5932. },
  5933. "500": {
  5934. "description": "Internal Server Error",
  5935. "schema": {
  5936. "$ref": "#/definitions/app.Response"
  5937. }
  5938. }
  5939. }
  5940. }
  5941. },
  5942. "/HSBY/QueryHsbyMarkets": {
  5943. "get": {
  5944. "security": [
  5945. {
  5946. "ApiKeyAuth": []
  5947. }
  5948. ],
  5949. "produces": [
  5950. "application/json"
  5951. ],
  5952. "tags": [
  5953. "定制【海商报业】"
  5954. ],
  5955. "summary": "查询海商报业相关市场信息",
  5956. "responses": {
  5957. "200": {
  5958. "description": "OK",
  5959. "schema": {
  5960. "$ref": "#/definitions/models.HsbyMarketInfo"
  5961. }
  5962. },
  5963. "500": {
  5964. "description": "Internal Server Error",
  5965. "schema": {
  5966. "$ref": "#/definitions/app.Response"
  5967. }
  5968. }
  5969. }
  5970. }
  5971. },
  5972. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5973. "get": {
  5974. "security": [
  5975. {
  5976. "ApiKeyAuth": []
  5977. }
  5978. ],
  5979. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "定制【海商报业】"
  5985. ],
  5986. "summary": "查询“我的订单”信息",
  5987. "parameters": [
  5988. {
  5989. "type": "string",
  5990. "description": "资金账户列表,格式:1,2,3",
  5991. "name": "accountIDs",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6001. }
  6002. },
  6003. "500": {
  6004. "description": "Internal Server Error",
  6005. "schema": {
  6006. "$ref": "#/definitions/app.Response"
  6007. }
  6008. }
  6009. }
  6010. }
  6011. },
  6012. "/HSBY/QueryHsbyMyGoods": {
  6013. "get": {
  6014. "security": [
  6015. {
  6016. "ApiKeyAuth": []
  6017. }
  6018. ],
  6019. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6020. "produces": [
  6021. "application/json"
  6022. ],
  6023. "tags": [
  6024. "定制【海商报业】"
  6025. ],
  6026. "summary": "查询“我的商品”信息",
  6027. "parameters": [
  6028. {
  6029. "type": "string",
  6030. "description": "资金账户列表,格式:1,2,3",
  6031. "name": "accountIDs",
  6032. "in": "query",
  6033. "required": true
  6034. }
  6035. ],
  6036. "responses": {
  6037. "200": {
  6038. "description": "OK",
  6039. "schema": {
  6040. "$ref": "#/definitions/models.HsbyMyGoods"
  6041. }
  6042. },
  6043. "500": {
  6044. "description": "Internal Server Error",
  6045. "schema": {
  6046. "$ref": "#/definitions/app.Response"
  6047. }
  6048. }
  6049. }
  6050. }
  6051. },
  6052. "/HSBY/QueryHsbyMyPackages": {
  6053. "get": {
  6054. "security": [
  6055. {
  6056. "ApiKeyAuth": []
  6057. }
  6058. ],
  6059. "produces": [
  6060. "application/json"
  6061. ],
  6062. "tags": [
  6063. "定制【海商报业】"
  6064. ],
  6065. "summary": "查询我的包裹信息",
  6066. "parameters": [
  6067. {
  6068. "type": "string",
  6069. "description": "资金账户列表,格式:1,2,3",
  6070. "name": "accountIDs",
  6071. "in": "query",
  6072. "required": true
  6073. },
  6074. {
  6075. "type": "integer",
  6076. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6077. "name": "takeOrderStatus",
  6078. "in": "query"
  6079. }
  6080. ],
  6081. "responses": {
  6082. "200": {
  6083. "description": "OK",
  6084. "schema": {
  6085. "$ref": "#/definitions/models.HsbyMyPackage"
  6086. }
  6087. },
  6088. "500": {
  6089. "description": "Internal Server Error",
  6090. "schema": {
  6091. "$ref": "#/definitions/app.Response"
  6092. }
  6093. }
  6094. }
  6095. }
  6096. },
  6097. "/HSBY/QueryHsbyPreGoodsDetail": {
  6098. "get": {
  6099. "security": [
  6100. {
  6101. "ApiKeyAuth": []
  6102. }
  6103. ],
  6104. "produces": [
  6105. "application/json"
  6106. ],
  6107. "tags": [
  6108. "定制【海商报业】"
  6109. ],
  6110. "summary": "查询一级市场(预售)商品信息详情",
  6111. "parameters": [
  6112. {
  6113. "type": "integer",
  6114. "description": "商品ID",
  6115. "name": "goodsID",
  6116. "in": "query",
  6117. "required": true
  6118. },
  6119. {
  6120. "type": "integer",
  6121. "description": "资金账户,主要用于获取预售商品购买上限",
  6122. "name": "accountID",
  6123. "in": "query"
  6124. }
  6125. ],
  6126. "responses": {
  6127. "200": {
  6128. "description": "OK",
  6129. "schema": {
  6130. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6131. }
  6132. },
  6133. "500": {
  6134. "description": "Internal Server Error",
  6135. "schema": {
  6136. "$ref": "#/definitions/app.Response"
  6137. }
  6138. }
  6139. }
  6140. }
  6141. },
  6142. "/HSBY/QueryHsbyPreGoodses": {
  6143. "get": {
  6144. "security": [
  6145. {
  6146. "ApiKeyAuth": []
  6147. }
  6148. ],
  6149. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6150. "produces": [
  6151. "application/json"
  6152. ],
  6153. "tags": [
  6154. "定制【海商报业】"
  6155. ],
  6156. "summary": "查询新品上市商品列表(一级市场预售)",
  6157. "parameters": [
  6158. {
  6159. "type": "integer",
  6160. "description": "页码",
  6161. "name": "page",
  6162. "in": "query"
  6163. },
  6164. {
  6165. "type": "integer",
  6166. "description": "每页条数",
  6167. "name": "pagesize",
  6168. "in": "query"
  6169. },
  6170. {
  6171. "type": "string",
  6172. "description": "市场ID列表,格式:1,2,3",
  6173. "name": "marketIDs",
  6174. "in": "query",
  6175. "required": true
  6176. },
  6177. {
  6178. "type": "integer",
  6179. "description": "目的地(省)ID",
  6180. "name": "descProvinceID",
  6181. "in": "query"
  6182. },
  6183. {
  6184. "type": "integer",
  6185. "description": "目的地(市)ID",
  6186. "name": "descCityID",
  6187. "in": "query"
  6188. }
  6189. ],
  6190. "responses": {
  6191. "200": {
  6192. "description": "OK",
  6193. "schema": {
  6194. "$ref": "#/definitions/models.HsbyPreGoods"
  6195. }
  6196. },
  6197. "500": {
  6198. "description": "Internal Server Error",
  6199. "schema": {
  6200. "$ref": "#/definitions/app.Response"
  6201. }
  6202. }
  6203. }
  6204. }
  6205. },
  6206. "/HSBY/QueryHsbySellMyDetails": {
  6207. "get": {
  6208. "security": [
  6209. {
  6210. "ApiKeyAuth": []
  6211. }
  6212. ],
  6213. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6214. "produces": [
  6215. "application/json"
  6216. ],
  6217. "tags": [
  6218. "定制【海商报业】"
  6219. ],
  6220. "summary": "查询\"我的闲置\"单据信息",
  6221. "parameters": [
  6222. {
  6223. "type": "integer",
  6224. "description": "页码",
  6225. "name": "page",
  6226. "in": "query"
  6227. },
  6228. {
  6229. "type": "integer",
  6230. "description": "每页条数",
  6231. "name": "pagesize",
  6232. "in": "query"
  6233. },
  6234. {
  6235. "type": "string",
  6236. "description": "资金账户列表,格式:1,2,3",
  6237. "name": "accountIDs",
  6238. "in": "query",
  6239. "required": true
  6240. },
  6241. {
  6242. "type": "integer",
  6243. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6244. "name": "orderType",
  6245. "in": "query"
  6246. }
  6247. ],
  6248. "responses": {
  6249. "200": {
  6250. "description": "OK",
  6251. "schema": {
  6252. "$ref": "#/definitions/models.HsbySellMyDetail"
  6253. }
  6254. },
  6255. "500": {
  6256. "description": "Internal Server Error",
  6257. "schema": {
  6258. "$ref": "#/definitions/app.Response"
  6259. }
  6260. }
  6261. }
  6262. }
  6263. },
  6264. "/HSBY/QueryHsbyTopGoodses": {
  6265. "get": {
  6266. "security": [
  6267. {
  6268. "ApiKeyAuth": []
  6269. }
  6270. ],
  6271. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6272. "produces": [
  6273. "application/json"
  6274. ],
  6275. "tags": [
  6276. "定制【海商报业】"
  6277. ],
  6278. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6279. "parameters": [
  6280. {
  6281. "type": "integer",
  6282. "description": "页码",
  6283. "name": "page",
  6284. "in": "query"
  6285. },
  6286. {
  6287. "type": "integer",
  6288. "description": "每页条数",
  6289. "name": "pagesize",
  6290. "in": "query"
  6291. },
  6292. {
  6293. "type": "string",
  6294. "description": "市场ID列表,格式:1,2,3",
  6295. "name": "marketIDs",
  6296. "in": "query",
  6297. "required": true
  6298. },
  6299. {
  6300. "type": "integer",
  6301. "description": "目的地(省)ID",
  6302. "name": "descProvinceID",
  6303. "in": "query"
  6304. },
  6305. {
  6306. "type": "integer",
  6307. "description": "目的地(市)ID",
  6308. "name": "descCityID",
  6309. "in": "query"
  6310. }
  6311. ],
  6312. "responses": {
  6313. "200": {
  6314. "description": "OK",
  6315. "schema": {
  6316. "$ref": "#/definitions/models.HsbyTopGoods"
  6317. }
  6318. },
  6319. "500": {
  6320. "description": "Internal Server Error",
  6321. "schema": {
  6322. "$ref": "#/definitions/app.Response"
  6323. }
  6324. }
  6325. }
  6326. }
  6327. },
  6328. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6329. "get": {
  6330. "security": [
  6331. {
  6332. "ApiKeyAuth": []
  6333. }
  6334. ],
  6335. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6336. "produces": [
  6337. "application/json"
  6338. ],
  6339. "tags": [
  6340. "定制【海商报业】"
  6341. ],
  6342. "summary": "查询游客三级市场(商城)商品信息详情",
  6343. "parameters": [
  6344. {
  6345. "type": "integer",
  6346. "description": "商品ID",
  6347. "name": "goodsID",
  6348. "in": "query",
  6349. "required": true
  6350. }
  6351. ],
  6352. "responses": {
  6353. "200": {
  6354. "description": "OK",
  6355. "schema": {
  6356. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6357. }
  6358. },
  6359. "500": {
  6360. "description": "Internal Server Error",
  6361. "schema": {
  6362. "$ref": "#/definitions/app.Response"
  6363. }
  6364. }
  6365. }
  6366. }
  6367. },
  6368. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6369. "get": {
  6370. "security": [
  6371. {
  6372. "ApiKeyAuth": []
  6373. }
  6374. ],
  6375. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6376. "produces": [
  6377. "application/json"
  6378. ],
  6379. "tags": [
  6380. "定制【海商报业】"
  6381. ],
  6382. "summary": "查询游客特卖商品列表(三级商城)",
  6383. "parameters": [
  6384. {
  6385. "type": "integer",
  6386. "description": "页码",
  6387. "name": "page",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "每页条数",
  6393. "name": "pagesize",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "string",
  6398. "description": "市场ID列表,格式:1,2,3",
  6399. "name": "marketIDs",
  6400. "in": "query",
  6401. "required": true
  6402. },
  6403. {
  6404. "type": "integer",
  6405. "description": "类别ID",
  6406. "name": "categoryID",
  6407. "in": "query"
  6408. },
  6409. {
  6410. "type": "string",
  6411. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6412. "name": "goodsIDs",
  6413. "in": "query"
  6414. }
  6415. ],
  6416. "responses": {
  6417. "200": {
  6418. "description": "OK",
  6419. "schema": {
  6420. "$ref": "#/definitions/models.HsbyMarketGoods"
  6421. }
  6422. },
  6423. "500": {
  6424. "description": "Internal Server Error",
  6425. "schema": {
  6426. "$ref": "#/definitions/app.Response"
  6427. }
  6428. }
  6429. }
  6430. }
  6431. },
  6432. "/HSBY/QueryMyCollectionOrders": {
  6433. "get": {
  6434. "security": [
  6435. {
  6436. "ApiKeyAuth": []
  6437. }
  6438. ],
  6439. "produces": [
  6440. "application/json"
  6441. ],
  6442. "tags": [
  6443. "定制【海商报业】"
  6444. ],
  6445. "summary": "我的闲置中收款信息查询",
  6446. "parameters": [
  6447. {
  6448. "type": "integer",
  6449. "description": "页码",
  6450. "name": "page",
  6451. "in": "query"
  6452. },
  6453. {
  6454. "type": "integer",
  6455. "description": "每页条数",
  6456. "name": "pagesize",
  6457. "in": "query"
  6458. },
  6459. {
  6460. "type": "string",
  6461. "description": "资金账户,格式:1,2,3",
  6462. "name": "accountIDs",
  6463. "in": "query",
  6464. "required": true
  6465. }
  6466. ],
  6467. "responses": {
  6468. "200": {
  6469. "description": "OK",
  6470. "schema": {
  6471. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6472. }
  6473. },
  6474. "500": {
  6475. "description": "Internal Server Error",
  6476. "schema": {
  6477. "$ref": "#/definitions/app.Response"
  6478. }
  6479. }
  6480. }
  6481. }
  6482. },
  6483. "/HSBY/QueryMyCouponHolds": {
  6484. "get": {
  6485. "security": [
  6486. {
  6487. "ApiKeyAuth": []
  6488. }
  6489. ],
  6490. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6491. "produces": [
  6492. "application/json"
  6493. ],
  6494. "tags": [
  6495. "定制【海商报业】"
  6496. ],
  6497. "summary": "我的优惠卷持仓查询",
  6498. "parameters": [
  6499. {
  6500. "type": "string",
  6501. "description": "资金账户列表,格式:1,2,3",
  6502. "name": "accountIDs",
  6503. "in": "query",
  6504. "required": true
  6505. },
  6506. {
  6507. "type": "string",
  6508. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6509. "name": "holdStatus",
  6510. "in": "query"
  6511. }
  6512. ],
  6513. "responses": {
  6514. "200": {
  6515. "description": "OK",
  6516. "schema": {
  6517. "$ref": "#/definitions/models.MyCouponHold"
  6518. }
  6519. },
  6520. "500": {
  6521. "description": "Internal Server Error",
  6522. "schema": {
  6523. "$ref": "#/definitions/app.Response"
  6524. }
  6525. }
  6526. }
  6527. }
  6528. },
  6529. "/HSBY/QueryMyCoupons": {
  6530. "get": {
  6531. "security": [
  6532. {
  6533. "ApiKeyAuth": []
  6534. }
  6535. ],
  6536. "produces": [
  6537. "application/json"
  6538. ],
  6539. "tags": [
  6540. "定制【海商报业】"
  6541. ],
  6542. "summary": "我的优惠卷查询",
  6543. "parameters": [
  6544. {
  6545. "type": "string",
  6546. "description": "资金账户列表,格式:1,2,3",
  6547. "name": "accountIDs",
  6548. "in": "query",
  6549. "required": true
  6550. },
  6551. {
  6552. "type": "integer",
  6553. "description": "商品ID, 一般与sellUserID配套传入",
  6554. "name": "goodsID",
  6555. "in": "query"
  6556. },
  6557. {
  6558. "type": "integer",
  6559. "description": "卖方UserID",
  6560. "name": "sellUserID",
  6561. "in": "query"
  6562. }
  6563. ],
  6564. "responses": {
  6565. "200": {
  6566. "description": "OK",
  6567. "schema": {
  6568. "$ref": "#/definitions/models.MyCoupon"
  6569. }
  6570. },
  6571. "500": {
  6572. "description": "Internal Server Error",
  6573. "schema": {
  6574. "$ref": "#/definitions/app.Response"
  6575. }
  6576. }
  6577. }
  6578. }
  6579. },
  6580. "/HSBY/QueryMyPayOrders": {
  6581. "get": {
  6582. "security": [
  6583. {
  6584. "ApiKeyAuth": []
  6585. }
  6586. ],
  6587. "produces": [
  6588. "application/json"
  6589. ],
  6590. "tags": [
  6591. "定制【海商报业】"
  6592. ],
  6593. "summary": "获取我的订单中待付款信息",
  6594. "parameters": [
  6595. {
  6596. "type": "integer",
  6597. "description": "页码",
  6598. "name": "page",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "integer",
  6603. "description": "每页条数",
  6604. "name": "pagesize",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "string",
  6609. "description": "资金账户列表,格式:1,2,3",
  6610. "name": "accountIDs",
  6611. "in": "query",
  6612. "required": true
  6613. },
  6614. {
  6615. "type": "integer",
  6616. "description": "买方委托单号",
  6617. "name": "buyOrderID",
  6618. "in": "query"
  6619. },
  6620. {
  6621. "type": "integer",
  6622. "description": "卖方委托单号",
  6623. "name": "sellOrderID",
  6624. "in": "query"
  6625. }
  6626. ],
  6627. "responses": {
  6628. "200": {
  6629. "description": "OK",
  6630. "schema": {
  6631. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6632. }
  6633. },
  6634. "500": {
  6635. "description": "Internal Server Error",
  6636. "schema": {
  6637. "$ref": "#/definitions/app.Response"
  6638. }
  6639. }
  6640. }
  6641. }
  6642. },
  6643. "/HSBY/QueryMyUsedCoupon": {
  6644. "get": {
  6645. "security": [
  6646. {
  6647. "ApiKeyAuth": []
  6648. }
  6649. ],
  6650. "produces": [
  6651. "application/json"
  6652. ],
  6653. "tags": [
  6654. "定制【海商报业】"
  6655. ],
  6656. "summary": "已使用优惠卷查询",
  6657. "parameters": [
  6658. {
  6659. "type": "string",
  6660. "description": "资金账户列表,格式:1,2,3",
  6661. "name": "accountIDs",
  6662. "in": "query",
  6663. "required": true
  6664. }
  6665. ],
  6666. "responses": {
  6667. "200": {
  6668. "description": "OK",
  6669. "schema": {
  6670. "$ref": "#/definitions/models.MyUsedCoupon"
  6671. }
  6672. },
  6673. "500": {
  6674. "description": "Internal Server Error",
  6675. "schema": {
  6676. "$ref": "#/definitions/app.Response"
  6677. }
  6678. }
  6679. }
  6680. }
  6681. },
  6682. "/HSBY/QueryProvincesAndCities": {
  6683. "get": {
  6684. "security": [
  6685. {
  6686. "ApiKeyAuth": []
  6687. }
  6688. ],
  6689. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6690. "produces": [
  6691. "application/json"
  6692. ],
  6693. "tags": [
  6694. "定制【海商报业】"
  6695. ],
  6696. "summary": "查询省市信息(不包括区)",
  6697. "parameters": [
  6698. {
  6699. "type": "integer",
  6700. "description": "省ID",
  6701. "name": "provinceID",
  6702. "in": "query"
  6703. }
  6704. ],
  6705. "responses": {
  6706. "200": {
  6707. "description": "OK",
  6708. "schema": {
  6709. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6710. }
  6711. },
  6712. "500": {
  6713. "description": "Internal Server Error",
  6714. "schema": {
  6715. "$ref": "#/definitions/app.Response"
  6716. }
  6717. }
  6718. }
  6719. }
  6720. },
  6721. "/HSBY/SetHsbyMyPackagesStatus": {
  6722. "post": {
  6723. "security": [
  6724. {
  6725. "ApiKeyAuth": []
  6726. }
  6727. ],
  6728. "produces": [
  6729. "application/json"
  6730. ],
  6731. "tags": [
  6732. "定制【海商报业】"
  6733. ],
  6734. "summary": "设置我的包裹已收货状态",
  6735. "parameters": [
  6736. {
  6737. "type": "string",
  6738. "description": "提货单号",
  6739. "name": "takeOrderID",
  6740. "in": "query",
  6741. "required": true
  6742. },
  6743. {
  6744. "type": "integer",
  6745. "description": "资金账号",
  6746. "name": "accountID",
  6747. "in": "query",
  6748. "required": true
  6749. }
  6750. ],
  6751. "responses": {
  6752. "200": {
  6753. "description": "OK",
  6754. "schema": {
  6755. "$ref": "#/definitions/app.Response"
  6756. }
  6757. },
  6758. "500": {
  6759. "description": "Internal Server Error",
  6760. "schema": {
  6761. "$ref": "#/definitions/app.Response"
  6762. }
  6763. }
  6764. }
  6765. }
  6766. },
  6767. "/Market/GetAllExExchanges": {
  6768. "get": {
  6769. "security": [
  6770. {
  6771. "ApiKeyAuth": []
  6772. }
  6773. ],
  6774. "produces": [
  6775. "application/json"
  6776. ],
  6777. "tags": [
  6778. "通用市场"
  6779. ],
  6780. "summary": "获取所有外部交易所信息",
  6781. "responses": {
  6782. "200": {
  6783. "description": "OK",
  6784. "schema": {
  6785. "$ref": "#/definitions/models.Goods"
  6786. }
  6787. },
  6788. "500": {
  6789. "description": "Internal Server Error",
  6790. "schema": {
  6791. "$ref": "#/definitions/app.Response"
  6792. }
  6793. }
  6794. }
  6795. }
  6796. },
  6797. "/Market/QueryGoodsesByLoginID": {
  6798. "get": {
  6799. "security": [
  6800. {
  6801. "ApiKeyAuth": []
  6802. }
  6803. ],
  6804. "produces": [
  6805. "application/json"
  6806. ],
  6807. "tags": [
  6808. "通用市场"
  6809. ],
  6810. "summary": "获取登录账号有权限的商品信息",
  6811. "parameters": [
  6812. {
  6813. "type": "integer",
  6814. "description": "登录账号",
  6815. "name": "loginID",
  6816. "in": "query",
  6817. "required": true
  6818. },
  6819. {
  6820. "type": "string",
  6821. "description": "市场ID列表,格式:1,2,3",
  6822. "name": "marketIDs",
  6823. "in": "query"
  6824. }
  6825. ],
  6826. "responses": {
  6827. "200": {
  6828. "description": "OK",
  6829. "schema": {
  6830. "$ref": "#/definitions/models.Goods"
  6831. }
  6832. },
  6833. "500": {
  6834. "description": "Internal Server Error",
  6835. "schema": {
  6836. "$ref": "#/definitions/app.Response"
  6837. }
  6838. }
  6839. }
  6840. }
  6841. },
  6842. "/Market/QueryMarketRun": {
  6843. "get": {
  6844. "security": [
  6845. {
  6846. "ApiKeyAuth": []
  6847. }
  6848. ],
  6849. "produces": [
  6850. "application/json"
  6851. ],
  6852. "tags": [
  6853. "通用市场"
  6854. ],
  6855. "summary": "查询市场运行信息",
  6856. "parameters": [
  6857. {
  6858. "type": "integer",
  6859. "description": "市场ID,不传返回所有",
  6860. "name": "marketID",
  6861. "in": "query"
  6862. }
  6863. ],
  6864. "responses": {
  6865. "200": {
  6866. "description": "OK",
  6867. "schema": {
  6868. "$ref": "#/definitions/models.Marketrun"
  6869. }
  6870. },
  6871. "500": {
  6872. "description": "Internal Server Error",
  6873. "schema": {
  6874. "$ref": "#/definitions/app.Response"
  6875. }
  6876. }
  6877. }
  6878. }
  6879. },
  6880. "/Market/QueryMarketsByLoginID": {
  6881. "get": {
  6882. "security": [
  6883. {
  6884. "ApiKeyAuth": []
  6885. }
  6886. ],
  6887. "produces": [
  6888. "application/json"
  6889. ],
  6890. "tags": [
  6891. "通用市场"
  6892. ],
  6893. "summary": "获取登录账号有权限的市场信息",
  6894. "parameters": [
  6895. {
  6896. "type": "integer",
  6897. "description": "登录账号",
  6898. "name": "loginID",
  6899. "in": "query",
  6900. "required": true
  6901. }
  6902. ],
  6903. "responses": {
  6904. "200": {
  6905. "description": "OK",
  6906. "schema": {
  6907. "$ref": "#/definitions/models.Market"
  6908. }
  6909. },
  6910. "500": {
  6911. "description": "Internal Server Error",
  6912. "schema": {
  6913. "$ref": "#/definitions/app.Response"
  6914. }
  6915. }
  6916. }
  6917. }
  6918. },
  6919. "/Order/QueryHisTradeDetail": {
  6920. "get": {
  6921. "security": [
  6922. {
  6923. "ApiKeyAuth": []
  6924. }
  6925. ],
  6926. "produces": [
  6927. "application/json"
  6928. ],
  6929. "tags": [
  6930. "通用单据"
  6931. ],
  6932. "summary": "历史成交单查询(合约市场)",
  6933. "parameters": [
  6934. {
  6935. "type": "string",
  6936. "description": "资金账户 - 格式:1,2,3",
  6937. "name": "accountID",
  6938. "in": "query",
  6939. "required": true
  6940. },
  6941. {
  6942. "type": "integer",
  6943. "description": "成交单号",
  6944. "name": "tradeID",
  6945. "in": "query"
  6946. },
  6947. {
  6948. "type": "integer",
  6949. "description": "委托单号",
  6950. "name": "orderID",
  6951. "in": "query"
  6952. },
  6953. {
  6954. "type": "integer",
  6955. "description": "商品ID",
  6956. "name": "goodsID",
  6957. "in": "query"
  6958. },
  6959. {
  6960. "type": "string",
  6961. "description": "交易模式 - 格式:1,2,3",
  6962. "name": "tradeMode",
  6963. "in": "query"
  6964. },
  6965. {
  6966. "type": "integer",
  6967. "description": "委托单据类型",
  6968. "name": "buildType",
  6969. "in": "query"
  6970. },
  6971. {
  6972. "type": "string",
  6973. "description": "成交类别 - 格式:1,2,3",
  6974. "name": "tradeType",
  6975. "in": "query"
  6976. },
  6977. {
  6978. "type": "string",
  6979. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6980. "name": "startDate",
  6981. "in": "query"
  6982. },
  6983. {
  6984. "type": "string",
  6985. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6986. "name": "endDate",
  6987. "in": "query"
  6988. }
  6989. ],
  6990. "responses": {
  6991. "200": {
  6992. "description": "OK",
  6993. "schema": {
  6994. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6995. }
  6996. },
  6997. "500": {
  6998. "description": "Internal Server Error",
  6999. "schema": {
  7000. "$ref": "#/definitions/app.Response"
  7001. }
  7002. }
  7003. }
  7004. }
  7005. },
  7006. "/Order/QueryHisTradeOrderDetail": {
  7007. "get": {
  7008. "security": [
  7009. {
  7010. "ApiKeyAuth": []
  7011. }
  7012. ],
  7013. "produces": [
  7014. "application/json"
  7015. ],
  7016. "tags": [
  7017. "通用单据"
  7018. ],
  7019. "summary": "历史委托单查询请求(合约市场)",
  7020. "parameters": [
  7021. {
  7022. "type": "string",
  7023. "description": "资金账户 - 格式:1,2,3",
  7024. "name": "accountID",
  7025. "in": "query",
  7026. "required": true
  7027. },
  7028. {
  7029. "type": "string",
  7030. "description": "交易模式 - 格式:1,2,3",
  7031. "name": "tradeMode",
  7032. "in": "query"
  7033. },
  7034. {
  7035. "type": "string",
  7036. "description": "委托状态 - 格式:1,2,3",
  7037. "name": "orderStatus",
  7038. "in": "query"
  7039. },
  7040. {
  7041. "type": "integer",
  7042. "description": "委托单号",
  7043. "name": "orderID",
  7044. "in": "query"
  7045. },
  7046. {
  7047. "type": "string",
  7048. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7049. "name": "startDate",
  7050. "in": "query"
  7051. },
  7052. {
  7053. "type": "string",
  7054. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7055. "name": "endDate",
  7056. "in": "query"
  7057. }
  7058. ],
  7059. "responses": {
  7060. "200": {
  7061. "description": "OK",
  7062. "schema": {
  7063. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7064. }
  7065. },
  7066. "500": {
  7067. "description": "Internal Server Error",
  7068. "schema": {
  7069. "$ref": "#/definitions/app.Response"
  7070. }
  7071. }
  7072. }
  7073. }
  7074. },
  7075. "/Order/QueryTradeDetail": {
  7076. "get": {
  7077. "security": [
  7078. {
  7079. "ApiKeyAuth": []
  7080. }
  7081. ],
  7082. "produces": [
  7083. "application/json"
  7084. ],
  7085. "tags": [
  7086. "通用单据"
  7087. ],
  7088. "summary": "成交单查询(合约市场)",
  7089. "parameters": [
  7090. {
  7091. "type": "string",
  7092. "description": "资金账户 - 格式:1,2,3",
  7093. "name": "accountID",
  7094. "in": "query",
  7095. "required": true
  7096. },
  7097. {
  7098. "type": "integer",
  7099. "description": "成交单号",
  7100. "name": "tradeID",
  7101. "in": "query"
  7102. },
  7103. {
  7104. "type": "integer",
  7105. "description": "委托单号",
  7106. "name": "orderID",
  7107. "in": "query"
  7108. },
  7109. {
  7110. "type": "string",
  7111. "description": "交易模式 - 格式:1,2,3",
  7112. "name": "tradeMode",
  7113. "in": "query"
  7114. },
  7115. {
  7116. "type": "integer",
  7117. "description": "委托单据类型",
  7118. "name": "buildType",
  7119. "in": "query"
  7120. },
  7121. {
  7122. "type": "string",
  7123. "description": "成交类别 - 格式:1,2,3",
  7124. "name": "tradeType",
  7125. "in": "query"
  7126. },
  7127. {
  7128. "type": "integer",
  7129. "description": "商品ID",
  7130. "name": "goodsID",
  7131. "in": "query"
  7132. }
  7133. ],
  7134. "responses": {
  7135. "200": {
  7136. "description": "OK",
  7137. "schema": {
  7138. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7139. }
  7140. },
  7141. "500": {
  7142. "description": "Internal Server Error",
  7143. "schema": {
  7144. "$ref": "#/definitions/app.Response"
  7145. }
  7146. }
  7147. }
  7148. }
  7149. },
  7150. "/Order/QueryTradeHolderDetail": {
  7151. "get": {
  7152. "security": [
  7153. {
  7154. "ApiKeyAuth": []
  7155. }
  7156. ],
  7157. "produces": [
  7158. "application/json"
  7159. ],
  7160. "tags": [
  7161. "通用单据"
  7162. ],
  7163. "summary": "查询持仓明细",
  7164. "parameters": [
  7165. {
  7166. "type": "integer",
  7167. "description": "用户id",
  7168. "name": "userid",
  7169. "in": "query"
  7170. },
  7171. {
  7172. "type": "string",
  7173. "description": "资金账号, 格式 1,2,3",
  7174. "name": "accids",
  7175. "in": "query"
  7176. },
  7177. {
  7178. "type": "string",
  7179. "description": "交易模式, 格式 1,2,3",
  7180. "name": "trademodes",
  7181. "in": "query"
  7182. },
  7183. {
  7184. "type": "string",
  7185. "description": "市场id, 格式 1,2,3",
  7186. "name": "marketids",
  7187. "in": "query"
  7188. },
  7189. {
  7190. "type": "integer",
  7191. "description": "商品id",
  7192. "name": "goodsid",
  7193. "in": "query"
  7194. },
  7195. {
  7196. "type": "integer",
  7197. "description": "买卖方向 0-买 1-卖",
  7198. "name": "buyorsell",
  7199. "in": "query"
  7200. }
  7201. ],
  7202. "responses": {
  7203. "200": {
  7204. "description": "OK",
  7205. "schema": {
  7206. "type": "array",
  7207. "items": {
  7208. "$ref": "#/definitions/models.TradeHolderDetail"
  7209. }
  7210. }
  7211. },
  7212. "500": {
  7213. "description": "Internal Server Error",
  7214. "schema": {
  7215. "$ref": "#/definitions/app.Response"
  7216. }
  7217. }
  7218. }
  7219. }
  7220. },
  7221. "/Order/QueryTradeOrderDetail": {
  7222. "get": {
  7223. "security": [
  7224. {
  7225. "ApiKeyAuth": []
  7226. }
  7227. ],
  7228. "produces": [
  7229. "application/json"
  7230. ],
  7231. "tags": [
  7232. "通用单据"
  7233. ],
  7234. "summary": "委托单查询请求(合约市场)",
  7235. "parameters": [
  7236. {
  7237. "type": "string",
  7238. "description": "资金账户 - 格式:1,2,3",
  7239. "name": "accountID",
  7240. "in": "query",
  7241. "required": true
  7242. },
  7243. {
  7244. "type": "string",
  7245. "description": "交易模式 - 格式:1,2,3",
  7246. "name": "tradeMode",
  7247. "in": "query"
  7248. },
  7249. {
  7250. "type": "string",
  7251. "description": "委托状态 - 格式:1,2,3",
  7252. "name": "orderStatus",
  7253. "in": "query"
  7254. },
  7255. {
  7256. "type": "integer",
  7257. "description": "委托单号",
  7258. "name": "orderID",
  7259. "in": "query"
  7260. }
  7261. ],
  7262. "responses": {
  7263. "200": {
  7264. "description": "OK",
  7265. "schema": {
  7266. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7267. }
  7268. },
  7269. "500": {
  7270. "description": "Internal Server Error",
  7271. "schema": {
  7272. "$ref": "#/definitions/app.Response"
  7273. }
  7274. }
  7275. }
  7276. }
  7277. },
  7278. "/Order/QueryTradePosition": {
  7279. "get": {
  7280. "security": [
  7281. {
  7282. "ApiKeyAuth": []
  7283. }
  7284. ],
  7285. "produces": [
  7286. "application/json"
  7287. ],
  7288. "tags": [
  7289. "通用单据"
  7290. ],
  7291. "summary": "持仓汇总查询(合约市场)",
  7292. "parameters": [
  7293. {
  7294. "type": "string",
  7295. "description": "资金账户 - 格式:1,2,3",
  7296. "name": "accountID",
  7297. "in": "query",
  7298. "required": true
  7299. },
  7300. {
  7301. "type": "string",
  7302. "description": "交易模式 - 格式:1,2,3",
  7303. "name": "tradeMode",
  7304. "in": "query"
  7305. }
  7306. ],
  7307. "responses": {
  7308. "200": {
  7309. "description": "OK",
  7310. "schema": {
  7311. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7312. }
  7313. },
  7314. "500": {
  7315. "description": "Internal Server Error",
  7316. "schema": {
  7317. "$ref": "#/definitions/app.Response"
  7318. }
  7319. }
  7320. }
  7321. }
  7322. },
  7323. "/Qhj/QueryAccountInOutApply": {
  7324. "get": {
  7325. "security": [
  7326. {
  7327. "ApiKeyAuth": []
  7328. }
  7329. ],
  7330. "produces": [
  7331. "application/json"
  7332. ],
  7333. "tags": [
  7334. "大连千海金"
  7335. ],
  7336. "summary": "查询充值提现",
  7337. "parameters": [
  7338. {
  7339. "type": "integer",
  7340. "description": "用户ID",
  7341. "name": "userid",
  7342. "in": "query",
  7343. "required": true
  7344. },
  7345. {
  7346. "type": "string",
  7347. "description": "申请起始日期(格式yyyymmdd)",
  7348. "name": "begindate",
  7349. "in": "query"
  7350. },
  7351. {
  7352. "type": "string",
  7353. "description": "申请截止日期(格式yyyymmdd)",
  7354. "name": "enddate",
  7355. "in": "query"
  7356. },
  7357. {
  7358. "type": "string",
  7359. "description": "模糊搜索名称",
  7360. "name": "likename",
  7361. "in": "query"
  7362. }
  7363. ],
  7364. "responses": {
  7365. "200": {
  7366. "description": "OK",
  7367. "schema": {
  7368. "type": "array",
  7369. "items": {
  7370. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7371. }
  7372. }
  7373. },
  7374. "500": {
  7375. "description": "Internal Server Error",
  7376. "schema": {
  7377. "$ref": "#/definitions/app.Response"
  7378. }
  7379. }
  7380. }
  7381. }
  7382. },
  7383. "/Qhj/QueryAreaFinanceConfig": {
  7384. "get": {
  7385. "security": [
  7386. {
  7387. "ApiKeyAuth": []
  7388. }
  7389. ],
  7390. "produces": [
  7391. "application/json"
  7392. ],
  7393. "tags": [
  7394. "大连千海金"
  7395. ],
  7396. "summary": "查询企业配置表",
  7397. "parameters": [
  7398. {
  7399. "type": "integer",
  7400. "description": "机构用户ID 其他做市关系,都设置为 1",
  7401. "name": "userid",
  7402. "in": "query"
  7403. }
  7404. ],
  7405. "responses": {
  7406. "200": {
  7407. "description": "OK",
  7408. "schema": {
  7409. "type": "array",
  7410. "items": {
  7411. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7412. }
  7413. }
  7414. },
  7415. "500": {
  7416. "description": "Internal Server Error",
  7417. "schema": {
  7418. "$ref": "#/definitions/app.Response"
  7419. }
  7420. }
  7421. }
  7422. }
  7423. },
  7424. "/Qhj/QueryBankAccountSign": {
  7425. "get": {
  7426. "security": [
  7427. {
  7428. "ApiKeyAuth": []
  7429. }
  7430. ],
  7431. "produces": [
  7432. "application/json"
  7433. ],
  7434. "tags": [
  7435. "大连千海金"
  7436. ],
  7437. "summary": "查询签约银行信息(提现账户管理)",
  7438. "parameters": [
  7439. {
  7440. "type": "integer",
  7441. "description": "用户ID",
  7442. "name": "userid",
  7443. "in": "query",
  7444. "required": true
  7445. }
  7446. ],
  7447. "responses": {
  7448. "200": {
  7449. "description": "OK",
  7450. "schema": {
  7451. "type": "array",
  7452. "items": {
  7453. "$ref": "#/definitions/models.QhjBankAccountSign"
  7454. }
  7455. }
  7456. },
  7457. "500": {
  7458. "description": "Internal Server Error",
  7459. "schema": {
  7460. "$ref": "#/definitions/app.Response"
  7461. }
  7462. }
  7463. }
  7464. }
  7465. },
  7466. "/Qhj/QueryBankInfo": {
  7467. "get": {
  7468. "security": [
  7469. {
  7470. "ApiKeyAuth": []
  7471. }
  7472. ],
  7473. "produces": [
  7474. "application/json"
  7475. ],
  7476. "tags": [
  7477. "大连千海金"
  7478. ],
  7479. "summary": "查询开户行",
  7480. "responses": {
  7481. "200": {
  7482. "description": "OK",
  7483. "schema": {
  7484. "type": "array",
  7485. "items": {
  7486. "$ref": "#/definitions/models.QhjBankInfo"
  7487. }
  7488. }
  7489. },
  7490. "500": {
  7491. "description": "Internal Server Error",
  7492. "schema": {
  7493. "$ref": "#/definitions/app.Response"
  7494. }
  7495. }
  7496. }
  7497. }
  7498. },
  7499. "/Qhj/QueryBrokerApply": {
  7500. "get": {
  7501. "security": [
  7502. {
  7503. "ApiKeyAuth": []
  7504. }
  7505. ],
  7506. "produces": [
  7507. "application/json"
  7508. ],
  7509. "tags": [
  7510. "大连千海金"
  7511. ],
  7512. "summary": "查询经纪人申请",
  7513. "parameters": [
  7514. {
  7515. "type": "integer",
  7516. "description": "所属机构ID",
  7517. "name": "userid",
  7518. "in": "query"
  7519. },
  7520. {
  7521. "type": "string",
  7522. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7523. "name": "filterstatus",
  7524. "in": "query"
  7525. }
  7526. ],
  7527. "responses": {
  7528. "200": {
  7529. "description": "OK",
  7530. "schema": {
  7531. "type": "array",
  7532. "items": {
  7533. "$ref": "#/definitions/models.QhjBrokerApply"
  7534. }
  7535. }
  7536. },
  7537. "500": {
  7538. "description": "Internal Server Error",
  7539. "schema": {
  7540. "$ref": "#/definitions/app.Response"
  7541. }
  7542. }
  7543. }
  7544. }
  7545. },
  7546. "/Qhj/QueryBrokerApplyEx": {
  7547. "get": {
  7548. "security": [
  7549. {
  7550. "ApiKeyAuth": []
  7551. }
  7552. ],
  7553. "produces": [
  7554. "application/json"
  7555. ],
  7556. "tags": [
  7557. "大连千海金"
  7558. ],
  7559. "summary": "查询经纪人信息和申请记录",
  7560. "parameters": [
  7561. {
  7562. "type": "integer",
  7563. "description": "所属机构ID",
  7564. "name": "userid",
  7565. "in": "query"
  7566. }
  7567. ],
  7568. "responses": {
  7569. "200": {
  7570. "description": "OK",
  7571. "schema": {
  7572. "type": "array",
  7573. "items": {
  7574. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7575. }
  7576. }
  7577. },
  7578. "500": {
  7579. "description": "Internal Server Error",
  7580. "schema": {
  7581. "$ref": "#/definitions/app.Response"
  7582. }
  7583. }
  7584. }
  7585. }
  7586. },
  7587. "/Qhj/QueryBrokerRewardLog": {
  7588. "get": {
  7589. "security": [
  7590. {
  7591. "ApiKeyAuth": []
  7592. }
  7593. ],
  7594. "produces": [
  7595. "application/json"
  7596. ],
  7597. "tags": [
  7598. "大连千海金"
  7599. ],
  7600. "summary": "查询奖励流水(我的奖励)",
  7601. "parameters": [
  7602. {
  7603. "type": "integer",
  7604. "description": "用户ID",
  7605. "name": "userid",
  7606. "in": "query",
  7607. "required": true
  7608. },
  7609. {
  7610. "type": "string",
  7611. "description": "开始交易日(yyyymmdd)",
  7612. "name": "begindate",
  7613. "in": "query"
  7614. },
  7615. {
  7616. "type": "string",
  7617. "description": "结束交易日(yyyymmdd)",
  7618. "name": "enddate",
  7619. "in": "query"
  7620. }
  7621. ],
  7622. "responses": {
  7623. "200": {
  7624. "description": "OK",
  7625. "schema": {
  7626. "type": "array",
  7627. "items": {
  7628. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7629. }
  7630. }
  7631. },
  7632. "500": {
  7633. "description": "Internal Server Error",
  7634. "schema": {
  7635. "$ref": "#/definitions/app.Response"
  7636. }
  7637. }
  7638. }
  7639. }
  7640. },
  7641. "/Qhj/QueryContract": {
  7642. "get": {
  7643. "security": [
  7644. {
  7645. "ApiKeyAuth": []
  7646. }
  7647. ],
  7648. "produces": [
  7649. "application/json"
  7650. ],
  7651. "tags": [
  7652. "大连千海金"
  7653. ],
  7654. "summary": "查询融资明细(合同)",
  7655. "parameters": [
  7656. {
  7657. "type": "integer",
  7658. "description": "用户ID",
  7659. "name": "userid",
  7660. "in": "query"
  7661. },
  7662. {
  7663. "type": "integer",
  7664. "description": "scf合同id",
  7665. "name": "scfcontractid",
  7666. "in": "query"
  7667. }
  7668. ],
  7669. "responses": {
  7670. "200": {
  7671. "description": "OK",
  7672. "schema": {
  7673. "type": "array",
  7674. "items": {
  7675. "$ref": "#/definitions/models.QhjContract"
  7676. }
  7677. }
  7678. },
  7679. "500": {
  7680. "description": "Internal Server Error",
  7681. "schema": {
  7682. "$ref": "#/definitions/app.Response"
  7683. }
  7684. }
  7685. }
  7686. }
  7687. },
  7688. "/Qhj/QueryContractLog": {
  7689. "get": {
  7690. "security": [
  7691. {
  7692. "ApiKeyAuth": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "大连千海金"
  7700. ],
  7701. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7702. "parameters": [
  7703. {
  7704. "type": "integer",
  7705. "description": "scf合同id",
  7706. "name": "scfcontractid",
  7707. "in": "query",
  7708. "required": true
  7709. },
  7710. {
  7711. "type": "string",
  7712. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7713. "name": "amounttype",
  7714. "in": "query"
  7715. }
  7716. ],
  7717. "responses": {
  7718. "200": {
  7719. "description": "OK",
  7720. "schema": {
  7721. "type": "array",
  7722. "items": {
  7723. "$ref": "#/definitions/models.QhjContractLog"
  7724. }
  7725. }
  7726. },
  7727. "500": {
  7728. "description": "Internal Server Error",
  7729. "schema": {
  7730. "$ref": "#/definitions/app.Response"
  7731. }
  7732. }
  7733. }
  7734. }
  7735. },
  7736. "/Qhj/QueryCusBankSignBank": {
  7737. "get": {
  7738. "security": [
  7739. {
  7740. "ApiKeyAuth": []
  7741. }
  7742. ],
  7743. "produces": [
  7744. "application/json"
  7745. ],
  7746. "tags": [
  7747. "大连千海金"
  7748. ],
  7749. "summary": "查询托管银行",
  7750. "responses": {
  7751. "200": {
  7752. "description": "OK",
  7753. "schema": {
  7754. "type": "array",
  7755. "items": {
  7756. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7757. }
  7758. }
  7759. },
  7760. "500": {
  7761. "description": "Internal Server Error",
  7762. "schema": {
  7763. "$ref": "#/definitions/app.Response"
  7764. }
  7765. }
  7766. }
  7767. }
  7768. },
  7769. "/Qhj/QueryCustomerInfo": {
  7770. "get": {
  7771. "security": [
  7772. {
  7773. "ApiKeyAuth": []
  7774. }
  7775. ],
  7776. "produces": [
  7777. "application/json"
  7778. ],
  7779. "tags": [
  7780. "大连千海金"
  7781. ],
  7782. "summary": "查询客户资料",
  7783. "parameters": [
  7784. {
  7785. "type": "integer",
  7786. "description": "用户ID",
  7787. "name": "userid",
  7788. "in": "query",
  7789. "required": true
  7790. },
  7791. {
  7792. "type": "integer",
  7793. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7794. "name": "querytype",
  7795. "in": "query",
  7796. "required": true
  7797. },
  7798. {
  7799. "type": "integer",
  7800. "description": "客户类型 1-个人 2-企业",
  7801. "name": "userinfotype",
  7802. "in": "query"
  7803. },
  7804. {
  7805. "type": "string",
  7806. "description": "客户名称(模糊匹配)",
  7807. "name": "customername",
  7808. "in": "query"
  7809. },
  7810. {
  7811. "type": "string",
  7812. "description": "昵称(模糊匹配)",
  7813. "name": "nickname",
  7814. "in": "query"
  7815. },
  7816. {
  7817. "type": "integer",
  7818. "description": "是否包含子级 1-包含",
  7819. "name": "includesub",
  7820. "in": "query"
  7821. }
  7822. ],
  7823. "responses": {
  7824. "200": {
  7825. "description": "OK",
  7826. "schema": {
  7827. "type": "array",
  7828. "items": {
  7829. "$ref": "#/definitions/models.QhjCustomer"
  7830. }
  7831. }
  7832. },
  7833. "500": {
  7834. "description": "Internal Server Error",
  7835. "schema": {
  7836. "$ref": "#/definitions/app.Response"
  7837. }
  7838. }
  7839. }
  7840. }
  7841. },
  7842. "/Qhj/QueryGoodsEx": {
  7843. "get": {
  7844. "security": [
  7845. {
  7846. "ApiKeyAuth": []
  7847. }
  7848. ],
  7849. "produces": [
  7850. "application/json"
  7851. ],
  7852. "tags": [
  7853. "大连千海金"
  7854. ],
  7855. "summary": "交易商品扩展表",
  7856. "parameters": [
  7857. {
  7858. "type": "integer",
  7859. "description": "商品id",
  7860. "name": "goodsid",
  7861. "in": "query"
  7862. }
  7863. ],
  7864. "responses": {
  7865. "200": {
  7866. "description": "OK",
  7867. "schema": {
  7868. "type": "array",
  7869. "items": {
  7870. "$ref": "#/definitions/models.Qhjgoodsex"
  7871. }
  7872. }
  7873. },
  7874. "500": {
  7875. "description": "Internal Server Error",
  7876. "schema": {
  7877. "$ref": "#/definitions/app.Response"
  7878. }
  7879. }
  7880. }
  7881. }
  7882. },
  7883. "/Qhj/QueryMyTeam": {
  7884. "get": {
  7885. "security": [
  7886. {
  7887. "ApiKeyAuth": []
  7888. }
  7889. ],
  7890. "produces": [
  7891. "application/json"
  7892. ],
  7893. "tags": [
  7894. "大连千海金"
  7895. ],
  7896. "summary": "查询我的团队",
  7897. "parameters": [
  7898. {
  7899. "type": "integer",
  7900. "description": "用户ID",
  7901. "name": "userid",
  7902. "in": "query",
  7903. "required": true
  7904. }
  7905. ],
  7906. "responses": {
  7907. "200": {
  7908. "description": "OK",
  7909. "schema": {
  7910. "type": "array",
  7911. "items": {
  7912. "$ref": "#/definitions/models.QhjMyTeamEx"
  7913. }
  7914. }
  7915. },
  7916. "500": {
  7917. "description": "Internal Server Error",
  7918. "schema": {
  7919. "$ref": "#/definitions/app.Response"
  7920. }
  7921. }
  7922. }
  7923. }
  7924. },
  7925. "/Qhj/QueryMyTeamOrder": {
  7926. "get": {
  7927. "security": [
  7928. {
  7929. "ApiKeyAuth": []
  7930. }
  7931. ],
  7932. "produces": [
  7933. "application/json"
  7934. ],
  7935. "tags": [
  7936. "大连千海金"
  7937. ],
  7938. "summary": "查询团队订单(我的团队/团队订单)",
  7939. "parameters": [
  7940. {
  7941. "type": "integer",
  7942. "description": "页码",
  7943. "name": "page",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "integer",
  7948. "description": "每页条数",
  7949. "name": "pagesize",
  7950. "in": "query"
  7951. },
  7952. {
  7953. "type": "integer",
  7954. "description": "用户ID",
  7955. "name": "userid",
  7956. "in": "query",
  7957. "required": true
  7958. },
  7959. {
  7960. "type": "integer",
  7961. "description": "交易模式",
  7962. "name": "trademode",
  7963. "in": "query"
  7964. },
  7965. {
  7966. "type": "string",
  7967. "description": "名称(模糊搜索账户)",
  7968. "name": "filtername",
  7969. "in": "query"
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.QhjTeamOrder"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Qhj/QueryParentAreaList": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "大连千海金"
  8003. ],
  8004. "summary": "查询所属机构列表",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "用户ID",
  8009. "name": "userid",
  8010. "in": "query",
  8011. "required": true
  8012. }
  8013. ],
  8014. "responses": {
  8015. "200": {
  8016. "description": "OK",
  8017. "schema": {
  8018. "type": "array",
  8019. "items": {
  8020. "$ref": "#/definitions/models.QhjParentAreaList"
  8021. }
  8022. }
  8023. },
  8024. "500": {
  8025. "description": "Internal Server Error",
  8026. "schema": {
  8027. "$ref": "#/definitions/app.Response"
  8028. }
  8029. }
  8030. }
  8031. }
  8032. },
  8033. "/Qhj/QueryPayOrder": {
  8034. "get": {
  8035. "security": [
  8036. {
  8037. "ApiKeyAuth": []
  8038. }
  8039. ],
  8040. "produces": [
  8041. "application/json"
  8042. ],
  8043. "tags": [
  8044. "大连千海金"
  8045. ],
  8046. "summary": "查询待付款单据",
  8047. "parameters": [
  8048. {
  8049. "type": "integer",
  8050. "description": "资金账号id",
  8051. "name": "accountid",
  8052. "in": "query",
  8053. "required": true
  8054. },
  8055. {
  8056. "type": "integer",
  8057. "description": "成交单号",
  8058. "name": "tradeid",
  8059. "in": "query"
  8060. },
  8061. {
  8062. "type": "string",
  8063. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8064. "name": "payflag",
  8065. "in": "query"
  8066. }
  8067. ],
  8068. "responses": {
  8069. "200": {
  8070. "description": "OK",
  8071. "schema": {
  8072. "type": "array",
  8073. "items": {
  8074. "$ref": "#/definitions/models.QhjPayOrder"
  8075. }
  8076. }
  8077. },
  8078. "500": {
  8079. "description": "Internal Server Error",
  8080. "schema": {
  8081. "$ref": "#/definitions/app.Response"
  8082. }
  8083. }
  8084. }
  8085. }
  8086. },
  8087. "/Qhj/QueryPickArea": {
  8088. "get": {
  8089. "security": [
  8090. {
  8091. "ApiKeyAuth": []
  8092. }
  8093. ],
  8094. "produces": [
  8095. "application/json"
  8096. ],
  8097. "tags": [
  8098. "大连千海金"
  8099. ],
  8100. "summary": "查询提货门店",
  8101. "parameters": [
  8102. {
  8103. "type": "integer",
  8104. "description": "用户ID",
  8105. "name": "userid",
  8106. "in": "query"
  8107. }
  8108. ],
  8109. "responses": {
  8110. "200": {
  8111. "description": "OK",
  8112. "schema": {
  8113. "type": "array",
  8114. "items": {
  8115. "$ref": "#/definitions/models.QhjPickArea"
  8116. }
  8117. }
  8118. },
  8119. "500": {
  8120. "description": "Internal Server Error",
  8121. "schema": {
  8122. "$ref": "#/definitions/app.Response"
  8123. }
  8124. }
  8125. }
  8126. }
  8127. },
  8128. "/Qhj/QueryPickGoods": {
  8129. "get": {
  8130. "security": [
  8131. {
  8132. "ApiKeyAuth": []
  8133. }
  8134. ],
  8135. "produces": [
  8136. "application/json"
  8137. ],
  8138. "tags": [
  8139. "大连千海金"
  8140. ],
  8141. "summary": "查询提货商品",
  8142. "parameters": [
  8143. {
  8144. "type": "integer",
  8145. "description": "交易商品id",
  8146. "name": "goodsid",
  8147. "in": "query",
  8148. "required": true
  8149. },
  8150. {
  8151. "type": "string",
  8152. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8153. "name": "status",
  8154. "in": "query"
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "OK",
  8160. "schema": {
  8161. "type": "array",
  8162. "items": {
  8163. "$ref": "#/definitions/models.QhjPickGoods"
  8164. }
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/Qhj/QueryRSTriggerLog": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "大连千海金"
  8188. ],
  8189. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8190. "parameters": [
  8191. {
  8192. "type": "integer",
  8193. "description": "用户ID",
  8194. "name": "userid",
  8195. "in": "query"
  8196. },
  8197. {
  8198. "type": "integer",
  8199. "description": "定投策略id",
  8200. "name": "regularlystrategyid",
  8201. "in": "query"
  8202. },
  8203. {
  8204. "type": "integer",
  8205. "description": "商品id",
  8206. "name": "goodsid",
  8207. "in": "query"
  8208. },
  8209. {
  8210. "type": "string",
  8211. "description": "开始交易日(yyyymmdd)",
  8212. "name": "begindate",
  8213. "in": "query"
  8214. },
  8215. {
  8216. "type": "string",
  8217. "description": "结束交易日(yyyymmdd)",
  8218. "name": "enddate",
  8219. "in": "query"
  8220. },
  8221. {
  8222. "type": "string",
  8223. "description": "名称(模糊搜索账户)",
  8224. "name": "filtername",
  8225. "in": "query"
  8226. }
  8227. ],
  8228. "responses": {
  8229. "200": {
  8230. "description": "OK",
  8231. "schema": {
  8232. "type": "array",
  8233. "items": {
  8234. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8235. }
  8236. }
  8237. },
  8238. "500": {
  8239. "description": "Internal Server Error",
  8240. "schema": {
  8241. "$ref": "#/definitions/app.Response"
  8242. }
  8243. }
  8244. }
  8245. }
  8246. },
  8247. "/Qhj/QueryRStrategy": {
  8248. "get": {
  8249. "security": [
  8250. {
  8251. "ApiKeyAuth": []
  8252. }
  8253. ],
  8254. "produces": [
  8255. "application/json"
  8256. ],
  8257. "tags": [
  8258. "大连千海金"
  8259. ],
  8260. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8261. "parameters": [
  8262. {
  8263. "type": "integer",
  8264. "description": "用户ID",
  8265. "name": "userid",
  8266. "in": "query"
  8267. },
  8268. {
  8269. "type": "integer",
  8270. "description": "商品id",
  8271. "name": "goodsid",
  8272. "in": "query"
  8273. },
  8274. {
  8275. "type": "string",
  8276. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8277. "name": "status",
  8278. "in": "query"
  8279. },
  8280. {
  8281. "type": "string",
  8282. "description": "名称(模糊搜索账户)",
  8283. "name": "filtername",
  8284. "in": "query"
  8285. }
  8286. ],
  8287. "responses": {
  8288. "200": {
  8289. "description": "OK",
  8290. "schema": {
  8291. "type": "array",
  8292. "items": {
  8293. "$ref": "#/definitions/models.QhjRStrategy"
  8294. }
  8295. }
  8296. },
  8297. "500": {
  8298. "description": "Internal Server Error",
  8299. "schema": {
  8300. "$ref": "#/definitions/app.Response"
  8301. }
  8302. }
  8303. }
  8304. }
  8305. },
  8306. "/Qhj/QueryReckonPriceLog": {
  8307. "get": {
  8308. "security": [
  8309. {
  8310. "ApiKeyAuth": []
  8311. }
  8312. ],
  8313. "produces": [
  8314. "application/json"
  8315. ],
  8316. "tags": [
  8317. "大连千海金"
  8318. ],
  8319. "summary": "查询定投价(结算价)",
  8320. "parameters": [
  8321. {
  8322. "type": "integer",
  8323. "description": "商品ID",
  8324. "name": "goodsid",
  8325. "in": "query"
  8326. },
  8327. {
  8328. "type": "string",
  8329. "description": "交易日 格式(yyyymmdd)",
  8330. "name": "tradedate",
  8331. "in": "query"
  8332. }
  8333. ],
  8334. "responses": {
  8335. "200": {
  8336. "description": "OK",
  8337. "schema": {
  8338. "type": "array",
  8339. "items": {
  8340. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8341. }
  8342. }
  8343. },
  8344. "500": {
  8345. "description": "Internal Server Error",
  8346. "schema": {
  8347. "$ref": "#/definitions/app.Response"
  8348. }
  8349. }
  8350. }
  8351. }
  8352. },
  8353. "/Qhj/QueryScoreLog": {
  8354. "get": {
  8355. "security": [
  8356. {
  8357. "ApiKeyAuth": []
  8358. }
  8359. ],
  8360. "produces": [
  8361. "application/json"
  8362. ],
  8363. "tags": [
  8364. "大连千海金"
  8365. ],
  8366. "summary": "查询积分流水(我的积分)",
  8367. "parameters": [
  8368. {
  8369. "type": "integer",
  8370. "description": "用户ID",
  8371. "name": "userid",
  8372. "in": "query",
  8373. "required": true
  8374. },
  8375. {
  8376. "type": "string",
  8377. "description": "开始交易日(yyyymmdd)",
  8378. "name": "begindate",
  8379. "in": "query"
  8380. },
  8381. {
  8382. "type": "string",
  8383. "description": "结束交易日(yyyymmdd)",
  8384. "name": "enddate",
  8385. "in": "query"
  8386. },
  8387. {
  8388. "type": "integer",
  8389. "description": "最近多少条",
  8390. "name": "lastnum",
  8391. "in": "query"
  8392. }
  8393. ],
  8394. "responses": {
  8395. "200": {
  8396. "description": "OK",
  8397. "schema": {
  8398. "type": "array",
  8399. "items": {
  8400. "$ref": "#/definitions/models.QhjScoreLog"
  8401. }
  8402. }
  8403. },
  8404. "500": {
  8405. "description": "Internal Server Error",
  8406. "schema": {
  8407. "$ref": "#/definitions/app.Response"
  8408. }
  8409. }
  8410. }
  8411. }
  8412. },
  8413. "/Qhj/QuerySiteColumnDetail": {
  8414. "get": {
  8415. "security": [
  8416. {
  8417. "ApiKeyAuth": []
  8418. }
  8419. ],
  8420. "produces": [
  8421. "application/json"
  8422. ],
  8423. "tags": [
  8424. "大连千海金"
  8425. ],
  8426. "summary": "查询资讯",
  8427. "parameters": [
  8428. {
  8429. "type": "integer",
  8430. "description": "用户ID",
  8431. "name": "userid",
  8432. "in": "query",
  8433. "required": true
  8434. }
  8435. ],
  8436. "responses": {
  8437. "200": {
  8438. "description": "OK",
  8439. "schema": {
  8440. "type": "array",
  8441. "items": {
  8442. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8443. }
  8444. }
  8445. },
  8446. "500": {
  8447. "description": "Internal Server Error",
  8448. "schema": {
  8449. "$ref": "#/definitions/app.Response"
  8450. }
  8451. }
  8452. }
  8453. }
  8454. },
  8455. "/Qhj/QueryTradeGoodsPickup": {
  8456. "get": {
  8457. "security": [
  8458. {
  8459. "ApiKeyAuth": []
  8460. }
  8461. ],
  8462. "produces": [
  8463. "application/json"
  8464. ],
  8465. "tags": [
  8466. "大连千海金"
  8467. ],
  8468. "summary": "查询提货",
  8469. "parameters": [
  8470. {
  8471. "type": "integer",
  8472. "description": "用户ID",
  8473. "name": "userid",
  8474. "in": "query",
  8475. "required": true
  8476. },
  8477. {
  8478. "type": "integer",
  8479. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8480. "name": "takeorderstatus",
  8481. "in": "query"
  8482. }
  8483. ],
  8484. "responses": {
  8485. "200": {
  8486. "description": "OK",
  8487. "schema": {
  8488. "type": "array",
  8489. "items": {
  8490. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8491. }
  8492. }
  8493. },
  8494. "500": {
  8495. "description": "Internal Server Error",
  8496. "schema": {
  8497. "$ref": "#/definitions/app.Response"
  8498. }
  8499. }
  8500. }
  8501. }
  8502. },
  8503. "/Qhj/QueryUserCollectConfig": {
  8504. "get": {
  8505. "security": [
  8506. {
  8507. "ApiKeyAuth": []
  8508. }
  8509. ],
  8510. "produces": [
  8511. "application/json"
  8512. ],
  8513. "tags": [
  8514. "大连千海金"
  8515. ],
  8516. "summary": "查询提现账户设置",
  8517. "parameters": [
  8518. {
  8519. "type": "integer",
  8520. "description": "用户ID",
  8521. "name": "userid",
  8522. "in": "query",
  8523. "required": true
  8524. }
  8525. ],
  8526. "responses": {
  8527. "200": {
  8528. "description": "OK",
  8529. "schema": {
  8530. "type": "array",
  8531. "items": {
  8532. "$ref": "#/definitions/models.UserCollectConfig"
  8533. }
  8534. }
  8535. },
  8536. "500": {
  8537. "description": "Internal Server Error",
  8538. "schema": {
  8539. "$ref": "#/definitions/app.Response"
  8540. }
  8541. }
  8542. }
  8543. }
  8544. },
  8545. "/Qhj/QueryUserReceiveInfo": {
  8546. "get": {
  8547. "security": [
  8548. {
  8549. "ApiKeyAuth": []
  8550. }
  8551. ],
  8552. "produces": [
  8553. "application/json"
  8554. ],
  8555. "tags": [
  8556. "大连千海金"
  8557. ],
  8558. "summary": "查询收货地址信息",
  8559. "parameters": [
  8560. {
  8561. "type": "integer",
  8562. "description": "用户ID",
  8563. "name": "userid",
  8564. "in": "query",
  8565. "required": true
  8566. }
  8567. ],
  8568. "responses": {
  8569. "200": {
  8570. "description": "OK",
  8571. "schema": {
  8572. "type": "array",
  8573. "items": {
  8574. "$ref": "#/definitions/models.UserReceiveInfo"
  8575. }
  8576. }
  8577. },
  8578. "500": {
  8579. "description": "Internal Server Error",
  8580. "schema": {
  8581. "$ref": "#/definitions/app.Response"
  8582. }
  8583. }
  8584. }
  8585. }
  8586. },
  8587. "/QhjMgr/QueryAccountInOutApply": {
  8588. "get": {
  8589. "security": [
  8590. {
  8591. "ApiKeyAuth": []
  8592. }
  8593. ],
  8594. "produces": [
  8595. "application/json"
  8596. ],
  8597. "tags": [
  8598. "大连千海金(PCWeb)"
  8599. ],
  8600. "summary": "查询充值提现",
  8601. "parameters": [
  8602. {
  8603. "type": "integer",
  8604. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8605. "name": "querytype",
  8606. "in": "query",
  8607. "required": true
  8608. },
  8609. {
  8610. "type": "integer",
  8611. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8612. "name": "applystatus",
  8613. "in": "query"
  8614. },
  8615. {
  8616. "type": "string",
  8617. "description": "申请起始日期(格式yyyymmdd)",
  8618. "name": "begindate",
  8619. "in": "query"
  8620. },
  8621. {
  8622. "type": "string",
  8623. "description": "申请截止日期(格式yyyymmdd)",
  8624. "name": "enddate",
  8625. "in": "query"
  8626. },
  8627. {
  8628. "type": "string",
  8629. "description": "模糊搜索名称",
  8630. "name": "likename",
  8631. "in": "query"
  8632. }
  8633. ],
  8634. "responses": {
  8635. "200": {
  8636. "description": "OK",
  8637. "schema": {
  8638. "type": "array",
  8639. "items": {
  8640. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8641. }
  8642. }
  8643. },
  8644. "500": {
  8645. "description": "Internal Server Error",
  8646. "schema": {
  8647. "$ref": "#/definitions/app.Response"
  8648. }
  8649. }
  8650. }
  8651. }
  8652. },
  8653. "/QhjMgr/QueryBrokerApply": {
  8654. "get": {
  8655. "security": [
  8656. {
  8657. "ApiKeyAuth": []
  8658. }
  8659. ],
  8660. "produces": [
  8661. "application/json"
  8662. ],
  8663. "tags": [
  8664. "大连千海金(PCWeb)"
  8665. ],
  8666. "summary": "查询经纪人申请",
  8667. "parameters": [
  8668. {
  8669. "type": "integer",
  8670. "description": "所属机构ID",
  8671. "name": "userid",
  8672. "in": "query"
  8673. },
  8674. {
  8675. "type": "string",
  8676. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8677. "name": "filterstatus",
  8678. "in": "query"
  8679. },
  8680. {
  8681. "type": "string",
  8682. "description": "名称(模糊匹配)",
  8683. "name": "filtername",
  8684. "in": "query"
  8685. },
  8686. {
  8687. "type": "integer",
  8688. "description": "是否包含子级 1-包含",
  8689. "name": "includesub",
  8690. "in": "query"
  8691. }
  8692. ],
  8693. "responses": {
  8694. "200": {
  8695. "description": "OK",
  8696. "schema": {
  8697. "type": "array",
  8698. "items": {
  8699. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8700. }
  8701. }
  8702. },
  8703. "500": {
  8704. "description": "Internal Server Error",
  8705. "schema": {
  8706. "$ref": "#/definitions/app.Response"
  8707. }
  8708. }
  8709. }
  8710. }
  8711. },
  8712. "/QhjMgr/QueryBrokerRewardReport": {
  8713. "get": {
  8714. "security": [
  8715. {
  8716. "ApiKeyAuth": []
  8717. }
  8718. ],
  8719. "produces": [
  8720. "application/json"
  8721. ],
  8722. "tags": [
  8723. "大连千海金(PCWeb)"
  8724. ],
  8725. "summary": "查询经纪人奖励报表(废弃)",
  8726. "parameters": [
  8727. {
  8728. "type": "integer",
  8729. "description": "所属机构ID",
  8730. "name": "userid",
  8731. "in": "query",
  8732. "required": true
  8733. },
  8734. {
  8735. "type": "integer",
  8736. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8737. "name": "cycletype",
  8738. "in": "query",
  8739. "required": true
  8740. },
  8741. {
  8742. "type": "string",
  8743. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8744. "name": "cycletime",
  8745. "in": "query",
  8746. "required": true
  8747. },
  8748. {
  8749. "type": "string",
  8750. "description": "名称(模糊匹配)",
  8751. "name": "filtername",
  8752. "in": "query"
  8753. },
  8754. {
  8755. "type": "integer",
  8756. "description": "是否包含子级 1-包含",
  8757. "name": "includesub",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/QhjMgr/QueryContract": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "大连千海金(PCWeb)"
  8792. ],
  8793. "summary": "查询融资信息(合同)",
  8794. "parameters": [
  8795. {
  8796. "type": "integer",
  8797. "description": "用户ID",
  8798. "name": "userid",
  8799. "in": "query"
  8800. },
  8801. {
  8802. "type": "integer",
  8803. "description": "商品id",
  8804. "name": "goodsid",
  8805. "in": "query"
  8806. },
  8807. {
  8808. "type": "string",
  8809. "description": "名称(模糊搜索账户)",
  8810. "name": "filtername",
  8811. "in": "query"
  8812. },
  8813. {
  8814. "type": "string",
  8815. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8816. "name": "risklevel",
  8817. "in": "query"
  8818. },
  8819. {
  8820. "type": "string",
  8821. "description": "开始交易日(yyyymmdd)",
  8822. "name": "begindate",
  8823. "in": "query"
  8824. },
  8825. {
  8826. "type": "string",
  8827. "description": "结束交易日(yyyymmdd)",
  8828. "name": "enddate",
  8829. "in": "query"
  8830. }
  8831. ],
  8832. "responses": {
  8833. "200": {
  8834. "description": "OK",
  8835. "schema": {
  8836. "type": "array",
  8837. "items": {
  8838. "$ref": "#/definitions/models.QhjMgrContract"
  8839. }
  8840. }
  8841. },
  8842. "500": {
  8843. "description": "Internal Server Error",
  8844. "schema": {
  8845. "$ref": "#/definitions/app.Response"
  8846. }
  8847. }
  8848. }
  8849. }
  8850. },
  8851. "/QhjMgr/QueryCustomerInfo": {
  8852. "get": {
  8853. "security": [
  8854. {
  8855. "ApiKeyAuth": []
  8856. }
  8857. ],
  8858. "produces": [
  8859. "application/json"
  8860. ],
  8861. "tags": [
  8862. "大连千海金(PCWeb)"
  8863. ],
  8864. "summary": "查询客户资料",
  8865. "parameters": [
  8866. {
  8867. "type": "integer",
  8868. "description": "用户ID",
  8869. "name": "userid",
  8870. "in": "query",
  8871. "required": true
  8872. },
  8873. {
  8874. "type": "integer",
  8875. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8876. "name": "querytype",
  8877. "in": "query",
  8878. "required": true
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "客户类型 1-个人 2-企业",
  8883. "name": "userinfotype",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "string",
  8888. "description": "客户名称(模糊匹配)",
  8889. "name": "customername",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "string",
  8894. "description": "昵称(模糊匹配)",
  8895. "name": "nickname",
  8896. "in": "query"
  8897. },
  8898. {
  8899. "type": "string",
  8900. "description": "所属客户经理(模糊匹配)",
  8901. "name": "brokername",
  8902. "in": "query"
  8903. },
  8904. {
  8905. "type": "string",
  8906. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  8907. "name": "birthday",
  8908. "in": "query"
  8909. },
  8910. {
  8911. "type": "integer",
  8912. "description": "是否包含子级 1-包含",
  8913. "name": "includesub",
  8914. "in": "query"
  8915. }
  8916. ],
  8917. "responses": {
  8918. "200": {
  8919. "description": "OK",
  8920. "schema": {
  8921. "type": "array",
  8922. "items": {
  8923. "$ref": "#/definitions/models.QhjMgrCustomer"
  8924. }
  8925. }
  8926. },
  8927. "500": {
  8928. "description": "Internal Server Error",
  8929. "schema": {
  8930. "$ref": "#/definitions/app.Response"
  8931. }
  8932. }
  8933. }
  8934. }
  8935. },
  8936. "/QhjMgr/QueryPickGoods": {
  8937. "get": {
  8938. "security": [
  8939. {
  8940. "ApiKeyAuth": []
  8941. }
  8942. ],
  8943. "produces": [
  8944. "application/json"
  8945. ],
  8946. "tags": [
  8947. "大连千海金(PCWeb)"
  8948. ],
  8949. "summary": "查询提货商品",
  8950. "parameters": [
  8951. {
  8952. "type": "string",
  8953. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8954. "name": "status",
  8955. "in": "query"
  8956. }
  8957. ],
  8958. "responses": {
  8959. "200": {
  8960. "description": "OK",
  8961. "schema": {
  8962. "type": "array",
  8963. "items": {
  8964. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8965. }
  8966. }
  8967. },
  8968. "500": {
  8969. "description": "Internal Server Error",
  8970. "schema": {
  8971. "$ref": "#/definitions/app.Response"
  8972. }
  8973. }
  8974. }
  8975. }
  8976. },
  8977. "/QhjMgr/QuerySubArea": {
  8978. "get": {
  8979. "security": [
  8980. {
  8981. "ApiKeyAuth": []
  8982. }
  8983. ],
  8984. "produces": [
  8985. "application/json"
  8986. ],
  8987. "tags": [
  8988. "大连千海金(PCWeb)"
  8989. ],
  8990. "summary": "查询子机构列表",
  8991. "parameters": [
  8992. {
  8993. "type": "integer",
  8994. "description": "用户ID",
  8995. "name": "userid",
  8996. "in": "query",
  8997. "required": true
  8998. }
  8999. ],
  9000. "responses": {
  9001. "200": {
  9002. "description": "OK",
  9003. "schema": {
  9004. "type": "array",
  9005. "items": {
  9006. "$ref": "#/definitions/models.QhjMgrSubArea"
  9007. }
  9008. }
  9009. },
  9010. "500": {
  9011. "description": "Internal Server Error",
  9012. "schema": {
  9013. "$ref": "#/definitions/app.Response"
  9014. }
  9015. }
  9016. }
  9017. }
  9018. },
  9019. "/QhjMgr/QueryTradeDetail": {
  9020. "get": {
  9021. "security": [
  9022. {
  9023. "ApiKeyAuth": []
  9024. }
  9025. ],
  9026. "produces": [
  9027. "application/json"
  9028. ],
  9029. "tags": [
  9030. "大连千海金(PCWeb)"
  9031. ],
  9032. "summary": "查询成交明细",
  9033. "parameters": [
  9034. {
  9035. "type": "integer",
  9036. "description": "用户ID",
  9037. "name": "userid",
  9038. "in": "query",
  9039. "required": true
  9040. },
  9041. {
  9042. "type": "integer",
  9043. "description": "用户类型 1-个人 2-企业",
  9044. "name": "userinfotype",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "integer",
  9049. "description": "交易模式",
  9050. "name": "trademode",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "integer",
  9055. "description": "商品id",
  9056. "name": "goodsid",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "string",
  9061. "description": "名称(模糊搜索账户)",
  9062. "name": "filtername",
  9063. "in": "query"
  9064. },
  9065. {
  9066. "type": "string",
  9067. "description": "开始交易日(yyyymmdd)",
  9068. "name": "begindate",
  9069. "in": "query"
  9070. },
  9071. {
  9072. "type": "string",
  9073. "description": "结束交易日(yyyymmdd)",
  9074. "name": "enddate",
  9075. "in": "query"
  9076. },
  9077. {
  9078. "type": "integer",
  9079. "description": "是否包含子级 1-包含",
  9080. "name": "includesub",
  9081. "in": "query"
  9082. }
  9083. ],
  9084. "responses": {
  9085. "200": {
  9086. "description": "OK",
  9087. "schema": {
  9088. "type": "array",
  9089. "items": {
  9090. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9091. }
  9092. }
  9093. },
  9094. "500": {
  9095. "description": "Internal Server Error",
  9096. "schema": {
  9097. "$ref": "#/definitions/app.Response"
  9098. }
  9099. }
  9100. }
  9101. }
  9102. },
  9103. "/QhjMgr/QueryTradeOrderDetail": {
  9104. "get": {
  9105. "security": [
  9106. {
  9107. "ApiKeyAuth": []
  9108. }
  9109. ],
  9110. "produces": [
  9111. "application/json"
  9112. ],
  9113. "tags": [
  9114. "大连千海金(PCWeb)"
  9115. ],
  9116. "summary": "查询委托明细",
  9117. "parameters": [
  9118. {
  9119. "type": "integer",
  9120. "description": "用户ID",
  9121. "name": "userid",
  9122. "in": "query",
  9123. "required": true
  9124. },
  9125. {
  9126. "type": "integer",
  9127. "description": "用户类型 1-个人 2-企业",
  9128. "name": "userinfotype",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "integer",
  9133. "description": "交易模式",
  9134. "name": "trademode",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "integer",
  9139. "description": "商品id",
  9140. "name": "goodsid",
  9141. "in": "query"
  9142. },
  9143. {
  9144. "type": "string",
  9145. "description": "名称(模糊搜索账户)",
  9146. "name": "filtername",
  9147. "in": "query"
  9148. },
  9149. {
  9150. "type": "string",
  9151. "description": "开始交易日(yyyymmdd)",
  9152. "name": "begindate",
  9153. "in": "query"
  9154. },
  9155. {
  9156. "type": "string",
  9157. "description": "结束交易日(yyyymmdd)",
  9158. "name": "enddate",
  9159. "in": "query"
  9160. },
  9161. {
  9162. "type": "integer",
  9163. "description": "是否包含子级 1-包含",
  9164. "name": "includesub",
  9165. "in": "query"
  9166. }
  9167. ],
  9168. "responses": {
  9169. "200": {
  9170. "description": "OK",
  9171. "schema": {
  9172. "type": "array",
  9173. "items": {
  9174. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9175. }
  9176. }
  9177. },
  9178. "500": {
  9179. "description": "Internal Server Error",
  9180. "schema": {
  9181. "$ref": "#/definitions/app.Response"
  9182. }
  9183. }
  9184. }
  9185. }
  9186. },
  9187. "/QhjMgr/QueryTradePayOrder": {
  9188. "get": {
  9189. "security": [
  9190. {
  9191. "ApiKeyAuth": []
  9192. }
  9193. ],
  9194. "produces": [
  9195. "application/json"
  9196. ],
  9197. "tags": [
  9198. "大连千海金(PCWeb)"
  9199. ],
  9200. "summary": "查询待付款单",
  9201. "parameters": [
  9202. {
  9203. "type": "integer",
  9204. "description": "用户ID",
  9205. "name": "userid",
  9206. "in": "query",
  9207. "required": true
  9208. },
  9209. {
  9210. "type": "string",
  9211. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9212. "name": "payflag",
  9213. "in": "query"
  9214. },
  9215. {
  9216. "type": "integer",
  9217. "description": "用户类型 1-个人 2-企业",
  9218. "name": "userinfotype",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "integer",
  9223. "description": "交易模式",
  9224. "name": "trademode",
  9225. "in": "query"
  9226. },
  9227. {
  9228. "type": "integer",
  9229. "description": "商品id",
  9230. "name": "goodsid",
  9231. "in": "query"
  9232. },
  9233. {
  9234. "type": "string",
  9235. "description": "名称(模糊搜索账户)",
  9236. "name": "filtername",
  9237. "in": "query"
  9238. },
  9239. {
  9240. "type": "string",
  9241. "description": "开始交易日(yyyymmdd)",
  9242. "name": "begindate",
  9243. "in": "query"
  9244. },
  9245. {
  9246. "type": "string",
  9247. "description": "结束交易日(yyyymmdd)",
  9248. "name": "enddate",
  9249. "in": "query"
  9250. },
  9251. {
  9252. "type": "integer",
  9253. "description": "是否包含子级 1-包含",
  9254. "name": "includesub",
  9255. "in": "query"
  9256. }
  9257. ],
  9258. "responses": {
  9259. "200": {
  9260. "description": "OK",
  9261. "schema": {
  9262. "type": "array",
  9263. "items": {
  9264. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9265. }
  9266. }
  9267. },
  9268. "500": {
  9269. "description": "Internal Server Error",
  9270. "schema": {
  9271. "$ref": "#/definitions/app.Response"
  9272. }
  9273. }
  9274. }
  9275. }
  9276. },
  9277. "/QhjMgr/QueryTradePosition": {
  9278. "get": {
  9279. "security": [
  9280. {
  9281. "ApiKeyAuth": []
  9282. }
  9283. ],
  9284. "produces": [
  9285. "application/json"
  9286. ],
  9287. "tags": [
  9288. "大连千海金(PCWeb)"
  9289. ],
  9290. "summary": "查询持仓汇总",
  9291. "parameters": [
  9292. {
  9293. "type": "integer",
  9294. "description": "用户ID",
  9295. "name": "userid",
  9296. "in": "query",
  9297. "required": true
  9298. },
  9299. {
  9300. "type": "integer",
  9301. "description": "用户类型 1-个人 2-企业",
  9302. "name": "userinfotype",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "integer",
  9307. "description": "交易模式",
  9308. "name": "trademode",
  9309. "in": "query"
  9310. },
  9311. {
  9312. "type": "integer",
  9313. "description": "商品id",
  9314. "name": "goodsid",
  9315. "in": "query"
  9316. },
  9317. {
  9318. "type": "string",
  9319. "description": "名称(模糊搜索账户)",
  9320. "name": "filtername",
  9321. "in": "query"
  9322. },
  9323. {
  9324. "type": "integer",
  9325. "description": "是否包含子级 1-包含",
  9326. "name": "includesub",
  9327. "in": "query"
  9328. }
  9329. ],
  9330. "responses": {
  9331. "200": {
  9332. "description": "OK",
  9333. "schema": {
  9334. "type": "array",
  9335. "items": {
  9336. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9337. }
  9338. }
  9339. },
  9340. "500": {
  9341. "description": "Internal Server Error",
  9342. "schema": {
  9343. "$ref": "#/definitions/app.Response"
  9344. }
  9345. }
  9346. }
  9347. }
  9348. },
  9349. "/QhjSys/QueryAgreementChangeLog": {
  9350. "get": {
  9351. "security": [
  9352. {
  9353. "ApiKeyAuth": []
  9354. }
  9355. ],
  9356. "produces": [
  9357. "application/json"
  9358. ],
  9359. "tags": [
  9360. "大连千海金(协议和签约信息)"
  9361. ],
  9362. "summary": "查询协议配置变更流水",
  9363. "parameters": [
  9364. {
  9365. "type": "integer",
  9366. "description": "协议ID",
  9367. "name": "agreementid",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "integer",
  9372. "description": "协议版本号",
  9373. "name": "agreementversion",
  9374. "in": "query"
  9375. },
  9376. {
  9377. "type": "integer",
  9378. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9379. "name": "agreementtype",
  9380. "in": "query"
  9381. },
  9382. {
  9383. "type": "string",
  9384. "description": "协议编号(模糊匹配)",
  9385. "name": "agreementno",
  9386. "in": "query"
  9387. },
  9388. {
  9389. "type": "string",
  9390. "description": "协议名称(模糊匹配)",
  9391. "name": "agreementname",
  9392. "in": "query"
  9393. }
  9394. ],
  9395. "responses": {
  9396. "200": {
  9397. "description": "OK",
  9398. "schema": {
  9399. "type": "array",
  9400. "items": {
  9401. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9402. }
  9403. }
  9404. },
  9405. "500": {
  9406. "description": "Internal Server Error",
  9407. "schema": {
  9408. "$ref": "#/definitions/app.Response"
  9409. }
  9410. }
  9411. }
  9412. }
  9413. },
  9414. "/QhjSys/QueryAgreementConfig": {
  9415. "get": {
  9416. "security": [
  9417. {
  9418. "ApiKeyAuth": []
  9419. }
  9420. ],
  9421. "produces": [
  9422. "application/json"
  9423. ],
  9424. "tags": [
  9425. "大连千海金(协议和签约信息)"
  9426. ],
  9427. "summary": "查询协议配置",
  9428. "parameters": [
  9429. {
  9430. "type": "integer",
  9431. "description": "协议ID",
  9432. "name": "agreementid",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "integer",
  9437. "description": "协议版本号",
  9438. "name": "agreementversion",
  9439. "in": "query"
  9440. },
  9441. {
  9442. "type": "integer",
  9443. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9444. "name": "agreementtype",
  9445. "in": "query"
  9446. },
  9447. {
  9448. "type": "integer",
  9449. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9450. "name": "isvalid",
  9451. "in": "query"
  9452. },
  9453. {
  9454. "type": "string",
  9455. "description": "协议编号(模糊匹配)",
  9456. "name": "agreementno",
  9457. "in": "query"
  9458. },
  9459. {
  9460. "type": "string",
  9461. "description": "协议名称(模糊匹配)",
  9462. "name": "agreementname",
  9463. "in": "query"
  9464. }
  9465. ],
  9466. "responses": {
  9467. "200": {
  9468. "description": "OK",
  9469. "schema": {
  9470. "type": "array",
  9471. "items": {
  9472. "$ref": "#/definitions/models.QhjAgreementConfig"
  9473. }
  9474. }
  9475. },
  9476. "500": {
  9477. "description": "Internal Server Error",
  9478. "schema": {
  9479. "$ref": "#/definitions/app.Response"
  9480. }
  9481. }
  9482. }
  9483. }
  9484. },
  9485. "/QhjSys/QueryCustomerSignStatus": {
  9486. "get": {
  9487. "security": [
  9488. {
  9489. "ApiKeyAuth": []
  9490. }
  9491. ],
  9492. "produces": [
  9493. "application/json"
  9494. ],
  9495. "tags": [
  9496. "大连千海金(协议和签约信息)"
  9497. ],
  9498. "summary": "查询客户协议签约状态",
  9499. "parameters": [
  9500. {
  9501. "type": "integer",
  9502. "description": "客户ID",
  9503. "name": "userid",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "integer",
  9508. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9509. "name": "nodetype",
  9510. "in": "query"
  9511. },
  9512. {
  9513. "type": "integer",
  9514. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9515. "name": "goodsid",
  9516. "in": "query"
  9517. },
  9518. {
  9519. "type": "string",
  9520. "description": "创建交易日(yyyyMMdd)",
  9521. "name": "tradedate",
  9522. "in": "query"
  9523. },
  9524. {
  9525. "type": "string",
  9526. "description": "用户名称(模糊匹配)",
  9527. "name": "username",
  9528. "in": "query"
  9529. }
  9530. ],
  9531. "responses": {
  9532. "200": {
  9533. "description": "OK",
  9534. "schema": {
  9535. "type": "array",
  9536. "items": {
  9537. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9538. }
  9539. }
  9540. },
  9541. "500": {
  9542. "description": "Internal Server Error",
  9543. "schema": {
  9544. "$ref": "#/definitions/app.Response"
  9545. }
  9546. }
  9547. }
  9548. }
  9549. },
  9550. "/QhjSys/QueryNodeAgreementConfig": {
  9551. "get": {
  9552. "security": [
  9553. {
  9554. "ApiKeyAuth": []
  9555. }
  9556. ],
  9557. "produces": [
  9558. "application/json"
  9559. ],
  9560. "tags": [
  9561. "大连千海金(协议和签约信息)"
  9562. ],
  9563. "summary": "查询协议节点配置",
  9564. "parameters": [
  9565. {
  9566. "type": "integer",
  9567. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9568. "name": "configid",
  9569. "in": "query"
  9570. },
  9571. {
  9572. "type": "integer",
  9573. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9574. "name": "nodetype",
  9575. "in": "query"
  9576. },
  9577. {
  9578. "type": "integer",
  9579. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9580. "name": "goodsid",
  9581. "in": "query"
  9582. },
  9583. {
  9584. "type": "integer",
  9585. "description": "协议ID",
  9586. "name": "agreementid",
  9587. "in": "query"
  9588. },
  9589. {
  9590. "type": "integer",
  9591. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9592. "name": "agreementtype",
  9593. "in": "query"
  9594. },
  9595. {
  9596. "type": "integer",
  9597. "description": "协议版本号",
  9598. "name": "agreementversion",
  9599. "in": "query"
  9600. },
  9601. {
  9602. "type": "string",
  9603. "description": "协议编号(模糊匹配)",
  9604. "name": "agreementno",
  9605. "in": "query"
  9606. },
  9607. {
  9608. "type": "string",
  9609. "description": "协议名称(模糊匹配)",
  9610. "name": "agreementname",
  9611. "in": "query"
  9612. }
  9613. ],
  9614. "responses": {
  9615. "200": {
  9616. "description": "OK",
  9617. "schema": {
  9618. "type": "array",
  9619. "items": {
  9620. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9621. }
  9622. }
  9623. },
  9624. "500": {
  9625. "description": "Internal Server Error",
  9626. "schema": {
  9627. "$ref": "#/definitions/app.Response"
  9628. }
  9629. }
  9630. }
  9631. }
  9632. },
  9633. "/QhjSys/QueryQhjCustomerSignLog": {
  9634. "get": {
  9635. "security": [
  9636. {
  9637. "ApiKeyAuth": []
  9638. }
  9639. ],
  9640. "produces": [
  9641. "application/json"
  9642. ],
  9643. "tags": [
  9644. "大连千海金(协议和签约信息)"
  9645. ],
  9646. "summary": "查询客户协议签约流水",
  9647. "parameters": [
  9648. {
  9649. "type": "integer",
  9650. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9651. "name": "logid",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "integer",
  9656. "description": "客户ID",
  9657. "name": "userid",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "integer",
  9662. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9663. "name": "nodetype",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "integer",
  9668. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9669. "name": "goodsid",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "integer",
  9674. "description": "协议ID",
  9675. "name": "agreementid",
  9676. "in": "query"
  9677. },
  9678. {
  9679. "type": "string",
  9680. "description": "用户名称(模糊匹配)",
  9681. "name": "username",
  9682. "in": "query"
  9683. },
  9684. {
  9685. "type": "string",
  9686. "description": "协议编号(模糊匹配)",
  9687. "name": "agreementno",
  9688. "in": "query"
  9689. },
  9690. {
  9691. "type": "string",
  9692. "description": "协议名称(模糊匹配)",
  9693. "name": "agreementname",
  9694. "in": "query"
  9695. }
  9696. ],
  9697. "responses": {
  9698. "200": {
  9699. "description": "OK",
  9700. "schema": {
  9701. "type": "array",
  9702. "items": {
  9703. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9704. }
  9705. }
  9706. },
  9707. "500": {
  9708. "description": "Internal Server Error",
  9709. "schema": {
  9710. "$ref": "#/definitions/app.Response"
  9711. }
  9712. }
  9713. }
  9714. }
  9715. },
  9716. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9717. "get": {
  9718. "security": [
  9719. {
  9720. "ApiKeyAuth": []
  9721. }
  9722. ],
  9723. "produces": [
  9724. "application/json"
  9725. ],
  9726. "tags": [
  9727. "大连千海金(协议和签约信息)"
  9728. ],
  9729. "summary": "查询用户协议节点配置和状态",
  9730. "parameters": [
  9731. {
  9732. "type": "integer",
  9733. "description": "客户ID",
  9734. "name": "userid",
  9735. "in": "query"
  9736. },
  9737. {
  9738. "type": "integer",
  9739. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9740. "name": "configid",
  9741. "in": "query"
  9742. },
  9743. {
  9744. "type": "string",
  9745. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9746. "name": "nodetype",
  9747. "in": "query"
  9748. },
  9749. {
  9750. "type": "integer",
  9751. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9752. "name": "goodsid",
  9753. "in": "query"
  9754. },
  9755. {
  9756. "type": "integer",
  9757. "description": "协议ID",
  9758. "name": "agreementid",
  9759. "in": "query"
  9760. },
  9761. {
  9762. "type": "integer",
  9763. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9764. "name": "agreementtype",
  9765. "in": "query"
  9766. },
  9767. {
  9768. "type": "integer",
  9769. "description": "协议版本号",
  9770. "name": "agreementversion",
  9771. "in": "query"
  9772. },
  9773. {
  9774. "type": "string",
  9775. "description": "协议编号(模糊匹配)",
  9776. "name": "agreementno",
  9777. "in": "query"
  9778. },
  9779. {
  9780. "type": "string",
  9781. "description": "协议名称(模糊匹配)",
  9782. "name": "agreementname",
  9783. "in": "query"
  9784. }
  9785. ],
  9786. "responses": {
  9787. "200": {
  9788. "description": "OK",
  9789. "schema": {
  9790. "type": "array",
  9791. "items": {
  9792. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9793. }
  9794. }
  9795. },
  9796. "500": {
  9797. "description": "Internal Server Error",
  9798. "schema": {
  9799. "$ref": "#/definitions/app.Response"
  9800. }
  9801. }
  9802. }
  9803. }
  9804. },
  9805. "/Quote/QueryHistoryDatas": {
  9806. "get": {
  9807. "security": [
  9808. {
  9809. "ApiKeyAuth": []
  9810. }
  9811. ],
  9812. "produces": [
  9813. "application/json"
  9814. ],
  9815. "tags": [
  9816. "行情服务"
  9817. ],
  9818. "summary": "查询行情历史数据",
  9819. "parameters": [
  9820. {
  9821. "type": "integer",
  9822. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9823. "name": "cycleType",
  9824. "in": "query",
  9825. "required": true
  9826. },
  9827. {
  9828. "type": "string",
  9829. "description": "商品代码",
  9830. "name": "goodsCode",
  9831. "in": "query",
  9832. "required": true
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9837. "name": "startTime",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9843. "name": "endTime",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "integer",
  9848. "description": "条数",
  9849. "name": "count",
  9850. "in": "query"
  9851. },
  9852. {
  9853. "type": "boolean",
  9854. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9855. "name": "isAsc",
  9856. "in": "query"
  9857. }
  9858. ],
  9859. "responses": {
  9860. "200": {
  9861. "description": "OK",
  9862. "schema": {
  9863. "$ref": "#/definitions/quote.HistoryData"
  9864. }
  9865. },
  9866. "500": {
  9867. "description": "Internal Server Error",
  9868. "schema": {
  9869. "$ref": "#/definitions/app.Response"
  9870. }
  9871. }
  9872. }
  9873. }
  9874. },
  9875. "/Quote/QueryHistoryTikDatas": {
  9876. "get": {
  9877. "security": [
  9878. {
  9879. "ApiKeyAuth": []
  9880. }
  9881. ],
  9882. "produces": [
  9883. "application/json"
  9884. ],
  9885. "tags": [
  9886. "行情服务"
  9887. ],
  9888. "summary": "查询行情Tik数据",
  9889. "parameters": [
  9890. {
  9891. "type": "string",
  9892. "description": "商品代码",
  9893. "name": "goodsCode",
  9894. "in": "query",
  9895. "required": true
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "startTime",
  9901. "in": "query"
  9902. },
  9903. {
  9904. "type": "string",
  9905. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9906. "name": "endTime",
  9907. "in": "query"
  9908. },
  9909. {
  9910. "type": "integer",
  9911. "description": "条数",
  9912. "name": "count",
  9913. "in": "query"
  9914. },
  9915. {
  9916. "type": "boolean",
  9917. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9918. "name": "isAsc",
  9919. "in": "query"
  9920. }
  9921. ],
  9922. "responses": {
  9923. "200": {
  9924. "description": "OK",
  9925. "schema": {
  9926. "$ref": "#/definitions/quote.HistoryTikData"
  9927. }
  9928. },
  9929. "500": {
  9930. "description": "Internal Server Error",
  9931. "schema": {
  9932. "$ref": "#/definitions/app.Response"
  9933. }
  9934. }
  9935. }
  9936. }
  9937. },
  9938. "/Quote/QueryQuoteDay": {
  9939. "get": {
  9940. "security": [
  9941. {
  9942. "ApiKeyAuth": []
  9943. }
  9944. ],
  9945. "produces": [
  9946. "application/json"
  9947. ],
  9948. "tags": [
  9949. "行情服务"
  9950. ],
  9951. "summary": "获取商品盘面信息",
  9952. "parameters": [
  9953. {
  9954. "type": "string",
  9955. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9956. "name": "goodsCodes",
  9957. "in": "query",
  9958. "required": true
  9959. }
  9960. ],
  9961. "responses": {
  9962. "200": {
  9963. "description": "OK",
  9964. "schema": {
  9965. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9966. }
  9967. },
  9968. "500": {
  9969. "description": "Internal Server Error",
  9970. "schema": {
  9971. "$ref": "#/definitions/app.Response"
  9972. }
  9973. }
  9974. }
  9975. }
  9976. },
  9977. "/Quote/QueryTSData": {
  9978. "get": {
  9979. "security": [
  9980. {
  9981. "ApiKeyAuth": []
  9982. }
  9983. ],
  9984. "produces": [
  9985. "application/json"
  9986. ],
  9987. "tags": [
  9988. "行情服务"
  9989. ],
  9990. "summary": "分时图数据查询",
  9991. "parameters": [
  9992. {
  9993. "type": "string",
  9994. "description": "商品代码",
  9995. "name": "goodsCode",
  9996. "in": "query",
  9997. "required": true
  9998. }
  9999. ],
  10000. "responses": {
  10001. "200": {
  10002. "description": "OK",
  10003. "schema": {
  10004. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10005. }
  10006. },
  10007. "500": {
  10008. "description": "Internal Server Error",
  10009. "schema": {
  10010. "$ref": "#/definitions/app.Response"
  10011. }
  10012. }
  10013. }
  10014. }
  10015. },
  10016. "/SZDZ/QueryConvertConfig": {
  10017. "get": {
  10018. "security": [
  10019. {
  10020. "ApiKeyAuth": []
  10021. }
  10022. ],
  10023. "produces": [
  10024. "application/json"
  10025. ],
  10026. "tags": [
  10027. "定制【尚志大宗】"
  10028. ],
  10029. "summary": "查询交易系统转换设置",
  10030. "parameters": [
  10031. {
  10032. "type": "integer",
  10033. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10034. "name": "convertType",
  10035. "in": "query"
  10036. },
  10037. {
  10038. "type": "string",
  10039. "description": "外部商品代码[JD\\PD]",
  10040. "name": "outerGoodsCode",
  10041. "in": "query"
  10042. },
  10043. {
  10044. "type": "string",
  10045. "description": "内部商品ID列表[交易],格式:1,2,3",
  10046. "name": "innerGoodsIDs",
  10047. "in": "query"
  10048. }
  10049. ],
  10050. "responses": {
  10051. "200": {
  10052. "description": "OK",
  10053. "schema": {
  10054. "$ref": "#/definitions/models.Szdz3convertconfig"
  10055. }
  10056. },
  10057. "500": {
  10058. "description": "Internal Server Error",
  10059. "schema": {
  10060. "$ref": "#/definitions/app.Response"
  10061. }
  10062. }
  10063. }
  10064. }
  10065. },
  10066. "/SZDZ/QueryConvertLog": {
  10067. "get": {
  10068. "security": [
  10069. {
  10070. "ApiKeyAuth": []
  10071. }
  10072. ],
  10073. "produces": [
  10074. "application/json"
  10075. ],
  10076. "tags": [
  10077. "定制【尚志大宗】"
  10078. ],
  10079. "summary": "交易系统转换流水查询",
  10080. "parameters": [
  10081. {
  10082. "type": "string",
  10083. "description": "资金账户 - 格式:1,2,3",
  10084. "name": "accountID",
  10085. "in": "query",
  10086. "required": true
  10087. },
  10088. {
  10089. "type": "string",
  10090. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10091. "name": "startDate",
  10092. "in": "query"
  10093. },
  10094. {
  10095. "type": "string",
  10096. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10097. "name": "endDate",
  10098. "in": "query"
  10099. }
  10100. ],
  10101. "responses": {
  10102. "200": {
  10103. "description": "OK",
  10104. "schema": {
  10105. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10106. }
  10107. },
  10108. "500": {
  10109. "description": "Internal Server Error",
  10110. "schema": {
  10111. "$ref": "#/definitions/app.Response"
  10112. }
  10113. }
  10114. }
  10115. }
  10116. },
  10117. "/SZDZ/QueryGoodsPickup": {
  10118. "get": {
  10119. "security": [
  10120. {
  10121. "ApiKeyAuth": []
  10122. }
  10123. ],
  10124. "produces": [
  10125. "application/json"
  10126. ],
  10127. "tags": [
  10128. "定制【尚志大宗】"
  10129. ],
  10130. "summary": "商品提货单查询",
  10131. "parameters": [
  10132. {
  10133. "type": "string",
  10134. "description": "资金账户 - 格式:1,2,3",
  10135. "name": "accountID",
  10136. "in": "query",
  10137. "required": true
  10138. },
  10139. {
  10140. "type": "integer",
  10141. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10142. "name": "takeOrderStatus",
  10143. "in": "query"
  10144. }
  10145. ],
  10146. "responses": {
  10147. "200": {
  10148. "description": "OK",
  10149. "schema": {
  10150. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10151. }
  10152. },
  10153. "500": {
  10154. "description": "Internal Server Error",
  10155. "schema": {
  10156. "$ref": "#/definitions/app.Response"
  10157. }
  10158. }
  10159. }
  10160. }
  10161. },
  10162. "/SZDZ/QueryRecieptOrder": {
  10163. "get": {
  10164. "security": [
  10165. {
  10166. "ApiKeyAuth": []
  10167. }
  10168. ],
  10169. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10170. "produces": [
  10171. "application/json"
  10172. ],
  10173. "tags": [
  10174. "定制【尚志大宗】"
  10175. ],
  10176. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10177. "parameters": [
  10178. {
  10179. "type": "integer",
  10180. "description": "页码",
  10181. "name": "page",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "每页条数",
  10187. "name": "pagesize",
  10188. "in": "query"
  10189. },
  10190. {
  10191. "type": "integer",
  10192. "description": "商品ID",
  10193. "name": "goodsID",
  10194. "in": "query",
  10195. "required": true
  10196. },
  10197. {
  10198. "type": "string",
  10199. "description": "所属账户名称",
  10200. "name": "accountName",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "integer",
  10205. "description": "市场ID",
  10206. "name": "marketID",
  10207. "in": "query"
  10208. },
  10209. {
  10210. "type": "integer",
  10211. "description": "方向 - 0:买 1:卖",
  10212. "name": "buyorsell",
  10213. "in": "query",
  10214. "required": true
  10215. }
  10216. ],
  10217. "responses": {
  10218. "200": {
  10219. "description": "OK",
  10220. "schema": {
  10221. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10222. }
  10223. },
  10224. "500": {
  10225. "description": "Internal Server Error",
  10226. "schema": {
  10227. "$ref": "#/definitions/app.Response"
  10228. }
  10229. }
  10230. }
  10231. }
  10232. },
  10233. "/SZDZ/QuerySZDZTradePosition": {
  10234. "get": {
  10235. "security": [
  10236. {
  10237. "ApiKeyAuth": []
  10238. }
  10239. ],
  10240. "produces": [
  10241. "application/json"
  10242. ],
  10243. "tags": [
  10244. "定制【尚志大宗】"
  10245. ],
  10246. "summary": "持仓汇总查询(尚志大宗)",
  10247. "parameters": [
  10248. {
  10249. "type": "integer",
  10250. "description": "资金账户",
  10251. "name": "accountID",
  10252. "in": "query",
  10253. "required": true
  10254. }
  10255. ],
  10256. "responses": {
  10257. "200": {
  10258. "description": "OK",
  10259. "schema": {
  10260. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10261. }
  10262. },
  10263. "500": {
  10264. "description": "Internal Server Error",
  10265. "schema": {
  10266. "$ref": "#/definitions/app.Response"
  10267. }
  10268. }
  10269. }
  10270. }
  10271. },
  10272. "/SZDZ/SearchWhite": {
  10273. "get": {
  10274. "security": [
  10275. {
  10276. "ApiKeyAuth": []
  10277. }
  10278. ],
  10279. "produces": [
  10280. "application/json"
  10281. ],
  10282. "tags": [
  10283. "定制【尚志大宗】"
  10284. ],
  10285. "summary": "搜索白名单",
  10286. "parameters": [
  10287. {
  10288. "type": "integer",
  10289. "description": "用户ID",
  10290. "name": "userID",
  10291. "in": "query",
  10292. "required": true
  10293. }
  10294. ],
  10295. "responses": {
  10296. "200": {
  10297. "description": "OK",
  10298. "schema": {
  10299. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10300. }
  10301. },
  10302. "500": {
  10303. "description": "Internal Server Error",
  10304. "schema": {
  10305. "$ref": "#/definitions/app.Response"
  10306. }
  10307. }
  10308. }
  10309. }
  10310. },
  10311. "/Search/SearchGoodses": {
  10312. "get": {
  10313. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10314. "produces": [
  10315. "application/json"
  10316. ],
  10317. "tags": [
  10318. "检索服务"
  10319. ],
  10320. "summary": "检索商品信息",
  10321. "parameters": [
  10322. {
  10323. "type": "string",
  10324. "description": "检索内容",
  10325. "name": "content",
  10326. "in": "query",
  10327. "required": true
  10328. },
  10329. {
  10330. "type": "string",
  10331. "description": "交易模式,格式:1,2,3",
  10332. "name": "tradeModes",
  10333. "in": "query"
  10334. }
  10335. ],
  10336. "responses": {
  10337. "200": {
  10338. "description": "OK",
  10339. "schema": {
  10340. "$ref": "#/definitions/models.SearchGoods"
  10341. }
  10342. },
  10343. "500": {
  10344. "description": "Internal Server Error",
  10345. "schema": {
  10346. "$ref": "#/definitions/app.Response"
  10347. }
  10348. }
  10349. }
  10350. }
  10351. },
  10352. "/TaAccount/GetTaAccounts": {
  10353. "get": {
  10354. "security": [
  10355. {
  10356. "ApiKeyAuth": []
  10357. }
  10358. ],
  10359. "produces": [
  10360. "application/json"
  10361. ],
  10362. "tags": [
  10363. "资金账户"
  10364. ],
  10365. "summary": "获取资金账户信息",
  10366. "parameters": [
  10367. {
  10368. "type": "integer",
  10369. "description": "登录账户",
  10370. "name": "loginID",
  10371. "in": "query",
  10372. "required": true
  10373. },
  10374. {
  10375. "type": "integer",
  10376. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10377. "name": "taAccountType",
  10378. "in": "query"
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "$ref": "#/definitions/models.Taaccount"
  10386. }
  10387. },
  10388. "500": {
  10389. "description": "Internal Server Error",
  10390. "schema": {
  10391. "$ref": "#/definitions/app.Response"
  10392. }
  10393. }
  10394. }
  10395. }
  10396. },
  10397. "/TaAccount/QueryAmountLog": {
  10398. "get": {
  10399. "security": [
  10400. {
  10401. "ApiKeyAuth": []
  10402. }
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "资金账户"
  10409. ],
  10410. "summary": "资金流水查询(当前)",
  10411. "parameters": [
  10412. {
  10413. "type": "integer",
  10414. "description": "页码",
  10415. "name": "page",
  10416. "in": "query"
  10417. },
  10418. {
  10419. "type": "integer",
  10420. "description": "每页条数",
  10421. "name": "pagesize",
  10422. "in": "query"
  10423. },
  10424. {
  10425. "type": "string",
  10426. "description": "资金账户 - 格式:1,2,3",
  10427. "name": "accountID",
  10428. "in": "query",
  10429. "required": true
  10430. },
  10431. {
  10432. "type": "string",
  10433. "description": "资金操作类型 - 格式:1,2,3",
  10434. "name": "OperateType",
  10435. "in": "query"
  10436. }
  10437. ],
  10438. "responses": {
  10439. "200": {
  10440. "description": "OK",
  10441. "schema": {
  10442. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10443. }
  10444. },
  10445. "500": {
  10446. "description": "Internal Server Error",
  10447. "schema": {
  10448. "$ref": "#/definitions/app.Response"
  10449. }
  10450. }
  10451. }
  10452. }
  10453. },
  10454. "/TaAccount/QueryHisAmountLog": {
  10455. "get": {
  10456. "security": [
  10457. {
  10458. "ApiKeyAuth": []
  10459. }
  10460. ],
  10461. "produces": [
  10462. "application/json"
  10463. ],
  10464. "tags": [
  10465. "资金账户"
  10466. ],
  10467. "summary": "资金流水查询(历史)",
  10468. "parameters": [
  10469. {
  10470. "type": "integer",
  10471. "description": "页码",
  10472. "name": "page",
  10473. "in": "query"
  10474. },
  10475. {
  10476. "type": "integer",
  10477. "description": "每页条数",
  10478. "name": "pagesize",
  10479. "in": "query"
  10480. },
  10481. {
  10482. "type": "string",
  10483. "description": "资金账户 - 格式:1,2,3",
  10484. "name": "accountID",
  10485. "in": "query",
  10486. "required": true
  10487. },
  10488. {
  10489. "type": "string",
  10490. "description": "资金操作类型 - 格式:1,2,3",
  10491. "name": "OperateType",
  10492. "in": "query"
  10493. },
  10494. {
  10495. "type": "string",
  10496. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10497. "name": "startDate",
  10498. "in": "query"
  10499. },
  10500. {
  10501. "type": "string",
  10502. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10503. "name": "endDate",
  10504. "in": "query"
  10505. }
  10506. ],
  10507. "responses": {
  10508. "200": {
  10509. "description": "OK",
  10510. "schema": {
  10511. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10512. }
  10513. },
  10514. "500": {
  10515. "description": "Internal Server Error",
  10516. "schema": {
  10517. "$ref": "#/definitions/app.Response"
  10518. }
  10519. }
  10520. }
  10521. }
  10522. },
  10523. "/Tjmd/QueryQuoteGoodsList": {
  10524. "get": {
  10525. "security": [
  10526. {
  10527. "ApiKeyAuth": []
  10528. }
  10529. ],
  10530. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10531. "produces": [
  10532. "application/json"
  10533. ],
  10534. "tags": [
  10535. "天津麦顿"
  10536. ],
  10537. "summary": "查询掉期报价列表",
  10538. "parameters": [
  10539. {
  10540. "type": "integer",
  10541. "description": "用户类型",
  10542. "name": "usertype",
  10543. "in": "query",
  10544. "required": true
  10545. },
  10546. {
  10547. "type": "string",
  10548. "description": "市场id, 格式 1,2,3",
  10549. "name": "marketids",
  10550. "in": "query"
  10551. },
  10552. {
  10553. "type": "integer",
  10554. "description": "商品组id",
  10555. "name": "goodsgroupid",
  10556. "in": "query"
  10557. },
  10558. {
  10559. "type": "integer",
  10560. "description": "商品id",
  10561. "name": "goodsid",
  10562. "in": "query"
  10563. }
  10564. ],
  10565. "responses": {
  10566. "200": {
  10567. "description": "OK",
  10568. "schema": {
  10569. "type": "array",
  10570. "items": {
  10571. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10572. }
  10573. }
  10574. },
  10575. "500": {
  10576. "description": "Internal Server Error",
  10577. "schema": {
  10578. "$ref": "#/definitions/app.Response"
  10579. }
  10580. }
  10581. }
  10582. }
  10583. },
  10584. "/Tjmd/QueryTjmdTodayAccountMargin": {
  10585. "get": {
  10586. "security": [
  10587. {
  10588. "ApiKeyAuth": []
  10589. }
  10590. ],
  10591. "produces": [
  10592. "application/json"
  10593. ],
  10594. "tags": [
  10595. "天津麦顿"
  10596. ],
  10597. "summary": "查询今日账户保证金配置",
  10598. "parameters": [
  10599. {
  10600. "type": "string",
  10601. "description": "市场id",
  10602. "name": "marketid",
  10603. "in": "query"
  10604. },
  10605. {
  10606. "type": "string",
  10607. "description": "商品id",
  10608. "name": "goodsid",
  10609. "in": "query"
  10610. },
  10611. {
  10612. "type": "string",
  10613. "description": "资金账号",
  10614. "name": "accountid",
  10615. "in": "query"
  10616. }
  10617. ],
  10618. "responses": {
  10619. "200": {
  10620. "description": "OK",
  10621. "schema": {
  10622. "type": "array",
  10623. "items": {
  10624. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  10625. }
  10626. }
  10627. },
  10628. "500": {
  10629. "description": "Internal Server Error",
  10630. "schema": {
  10631. "$ref": "#/definitions/app.Response"
  10632. }
  10633. }
  10634. }
  10635. }
  10636. },
  10637. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10638. "get": {
  10639. "security": [
  10640. {
  10641. "ApiKeyAuth": []
  10642. }
  10643. ],
  10644. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10645. "produces": [
  10646. "application/json"
  10647. ],
  10648. "tags": [
  10649. "天津麦顿"
  10650. ],
  10651. "summary": "查询掉期买卖大厅",
  10652. "parameters": [
  10653. {
  10654. "type": "integer",
  10655. "description": "页码",
  10656. "name": "page",
  10657. "in": "query"
  10658. },
  10659. {
  10660. "type": "integer",
  10661. "description": "每页条数",
  10662. "name": "pagesize",
  10663. "in": "query"
  10664. },
  10665. {
  10666. "type": "integer",
  10667. "description": "用户id",
  10668. "name": "userid",
  10669. "in": "query",
  10670. "required": true
  10671. },
  10672. {
  10673. "type": "integer",
  10674. "description": "用户类型",
  10675. "name": "usertype",
  10676. "in": "query",
  10677. "required": true
  10678. },
  10679. {
  10680. "type": "string",
  10681. "description": "市场id, 格式 1,2,3",
  10682. "name": "marketids",
  10683. "in": "query"
  10684. },
  10685. {
  10686. "type": "integer",
  10687. "description": "商品id",
  10688. "name": "goodsid",
  10689. "in": "query",
  10690. "required": true
  10691. },
  10692. {
  10693. "type": "integer",
  10694. "description": "买卖方向 0-买 1-卖",
  10695. "name": "buyorsell",
  10696. "in": "query",
  10697. "required": true
  10698. }
  10699. ],
  10700. "responses": {
  10701. "200": {
  10702. "description": "OK",
  10703. "schema": {
  10704. "type": "array",
  10705. "items": {
  10706. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10707. }
  10708. }
  10709. },
  10710. "500": {
  10711. "description": "Internal Server Error",
  10712. "schema": {
  10713. "$ref": "#/definitions/app.Response"
  10714. }
  10715. }
  10716. }
  10717. }
  10718. },
  10719. "/Tjmd/QueryTjmdTransferApply": {
  10720. "get": {
  10721. "security": [
  10722. {
  10723. "ApiKeyAuth": []
  10724. }
  10725. ],
  10726. "produces": [
  10727. "application/json"
  10728. ],
  10729. "tags": [
  10730. "天津麦顿"
  10731. ],
  10732. "summary": "查询掉期协议单",
  10733. "parameters": [
  10734. {
  10735. "type": "integer",
  10736. "description": "类型 1-我的申请 2-对方申请",
  10737. "name": "applytype",
  10738. "in": "query",
  10739. "required": true
  10740. },
  10741. {
  10742. "type": "string",
  10743. "description": "市场id, 格式 1,2,3",
  10744. "name": "marketids",
  10745. "in": "query"
  10746. },
  10747. {
  10748. "type": "string",
  10749. "description": "资金账号, 格式 25000000001,25000000003",
  10750. "name": "accountids",
  10751. "in": "query"
  10752. }
  10753. ],
  10754. "responses": {
  10755. "200": {
  10756. "description": "OK",
  10757. "schema": {
  10758. "type": "array",
  10759. "items": {
  10760. "$ref": "#/definitions/models.TjmdTransferApply"
  10761. }
  10762. }
  10763. },
  10764. "500": {
  10765. "description": "Internal Server Error",
  10766. "schema": {
  10767. "$ref": "#/definitions/app.Response"
  10768. }
  10769. }
  10770. }
  10771. }
  10772. },
  10773. "/Trade/QueryRecieptOrder": {
  10774. "get": {
  10775. "security": [
  10776. {
  10777. "ApiKeyAuth": []
  10778. }
  10779. ],
  10780. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10781. "produces": [
  10782. "application/json"
  10783. ],
  10784. "tags": [
  10785. "通用交易"
  10786. ],
  10787. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10788. "parameters": [
  10789. {
  10790. "type": "integer",
  10791. "description": "页码",
  10792. "name": "page",
  10793. "in": "query"
  10794. },
  10795. {
  10796. "type": "integer",
  10797. "description": "每页条数",
  10798. "name": "pagesize",
  10799. "in": "query"
  10800. },
  10801. {
  10802. "type": "integer",
  10803. "description": "商品ID",
  10804. "name": "goodsID",
  10805. "in": "query",
  10806. "required": true
  10807. },
  10808. {
  10809. "type": "string",
  10810. "description": "所属账户名称",
  10811. "name": "accountName",
  10812. "in": "query"
  10813. },
  10814. {
  10815. "type": "integer",
  10816. "description": "市场ID",
  10817. "name": "marketID",
  10818. "in": "query"
  10819. },
  10820. {
  10821. "type": "integer",
  10822. "description": "方向 - 0:买 1:卖",
  10823. "name": "buyorsell",
  10824. "in": "query",
  10825. "required": true
  10826. }
  10827. ],
  10828. "responses": {
  10829. "200": {
  10830. "description": "OK",
  10831. "schema": {
  10832. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10833. }
  10834. },
  10835. "500": {
  10836. "description": "Internal Server Error",
  10837. "schema": {
  10838. "$ref": "#/definitions/app.Response"
  10839. }
  10840. }
  10841. }
  10842. }
  10843. },
  10844. "/User/AddMessageBoard": {
  10845. "post": {
  10846. "security": [
  10847. {
  10848. "ApiKeyAuth": []
  10849. }
  10850. ],
  10851. "produces": [
  10852. "application/json"
  10853. ],
  10854. "tags": [
  10855. "用户信息"
  10856. ],
  10857. "summary": "添加用户留言板信息",
  10858. "parameters": [
  10859. {
  10860. "type": "integer",
  10861. "description": "用户ID",
  10862. "name": "userID",
  10863. "in": "query",
  10864. "required": true
  10865. },
  10866. {
  10867. "type": "string",
  10868. "description": "留言信息",
  10869. "name": "message",
  10870. "in": "query",
  10871. "required": true
  10872. },
  10873. {
  10874. "type": "string",
  10875. "description": "联系电话",
  10876. "name": "contactNum",
  10877. "in": "query",
  10878. "required": true
  10879. }
  10880. ],
  10881. "responses": {
  10882. "200": {
  10883. "description": "OK",
  10884. "schema": {
  10885. "$ref": "#/definitions/app.Response"
  10886. }
  10887. },
  10888. "500": {
  10889. "description": "Internal Server Error",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. }
  10894. }
  10895. }
  10896. },
  10897. "/User/AddUserFavoriteGoods": {
  10898. "post": {
  10899. "security": [
  10900. {
  10901. "ApiKeyAuth": []
  10902. }
  10903. ],
  10904. "produces": [
  10905. "application/json"
  10906. ],
  10907. "tags": [
  10908. "用户信息"
  10909. ],
  10910. "summary": "添加用户商品收藏信息",
  10911. "parameters": [
  10912. {
  10913. "type": "integer",
  10914. "description": "用户ID",
  10915. "name": "userID",
  10916. "in": "query",
  10917. "required": true
  10918. },
  10919. {
  10920. "type": "integer",
  10921. "description": "商品ID",
  10922. "name": "goodsID",
  10923. "in": "query",
  10924. "required": true
  10925. }
  10926. ],
  10927. "responses": {
  10928. "200": {
  10929. "description": "OK",
  10930. "schema": {
  10931. "$ref": "#/definitions/app.Response"
  10932. }
  10933. },
  10934. "500": {
  10935. "description": "Internal Server Error",
  10936. "schema": {
  10937. "$ref": "#/definitions/app.Response"
  10938. }
  10939. }
  10940. }
  10941. }
  10942. },
  10943. "/User/GetLoginID": {
  10944. "get": {
  10945. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10946. "produces": [
  10947. "application/json"
  10948. ],
  10949. "tags": [
  10950. "用户信息"
  10951. ],
  10952. "summary": "获取登录ID",
  10953. "parameters": [
  10954. {
  10955. "type": "string",
  10956. "description": "登录代码",
  10957. "name": "username",
  10958. "in": "query",
  10959. "required": true
  10960. }
  10961. ],
  10962. "responses": {
  10963. "200": {
  10964. "description": "OK",
  10965. "schema": {
  10966. "$ref": "#/definitions/app.Response"
  10967. }
  10968. },
  10969. "500": {
  10970. "description": "Internal Server Error",
  10971. "schema": {
  10972. "$ref": "#/definitions/app.Response"
  10973. }
  10974. }
  10975. }
  10976. }
  10977. },
  10978. "/User/GetUserAccount": {
  10979. "get": {
  10980. "security": [
  10981. {
  10982. "ApiKeyAuth": []
  10983. }
  10984. ],
  10985. "produces": [
  10986. "application/json"
  10987. ],
  10988. "tags": [
  10989. "用户信息"
  10990. ],
  10991. "summary": "获取用户账号信息",
  10992. "parameters": [
  10993. {
  10994. "type": "integer",
  10995. "description": "用户ID",
  10996. "name": "userID",
  10997. "in": "query",
  10998. "required": true
  10999. }
  11000. ],
  11001. "responses": {
  11002. "200": {
  11003. "description": "OK",
  11004. "schema": {
  11005. "$ref": "#/definitions/models.Useraccount"
  11006. }
  11007. },
  11008. "500": {
  11009. "description": "Internal Server Error",
  11010. "schema": {
  11011. "$ref": "#/definitions/app.Response"
  11012. }
  11013. }
  11014. }
  11015. }
  11016. },
  11017. "/User/GetUserAuthStatus": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "produces": [
  11025. "application/json"
  11026. ],
  11027. "tags": [
  11028. "用户信息"
  11029. ],
  11030. "summary": "获取用户实名认证状态",
  11031. "parameters": [
  11032. {
  11033. "type": "integer",
  11034. "description": "用户ID",
  11035. "name": "userID",
  11036. "in": "query",
  11037. "required": true
  11038. }
  11039. ],
  11040. "responses": {
  11041. "200": {
  11042. "description": "OK",
  11043. "schema": {
  11044. "$ref": "#/definitions/app.Response"
  11045. }
  11046. },
  11047. "500": {
  11048. "description": "Internal Server Error",
  11049. "schema": {
  11050. "$ref": "#/definitions/app.Response"
  11051. }
  11052. }
  11053. }
  11054. }
  11055. },
  11056. "/User/LoginQuery": {
  11057. "get": {
  11058. "security": [
  11059. {
  11060. "ApiKeyAuth": []
  11061. }
  11062. ],
  11063. "produces": [
  11064. "application/json"
  11065. ],
  11066. "tags": [
  11067. "用户信息"
  11068. ],
  11069. "summary": "账户登录后信息查询",
  11070. "parameters": [
  11071. {
  11072. "type": "integer",
  11073. "description": "登录账号",
  11074. "name": "loginID",
  11075. "in": "query",
  11076. "required": true
  11077. }
  11078. ],
  11079. "responses": {
  11080. "200": {
  11081. "description": "OK",
  11082. "schema": {
  11083. "$ref": "#/definitions/user.LoginQueryRsp"
  11084. }
  11085. },
  11086. "500": {
  11087. "description": "Internal Server Error",
  11088. "schema": {
  11089. "$ref": "#/definitions/app.Response"
  11090. }
  11091. }
  11092. }
  11093. }
  11094. },
  11095. "/User/QueryMessageBoard": {
  11096. "get": {
  11097. "security": [
  11098. {
  11099. "ApiKeyAuth": []
  11100. }
  11101. ],
  11102. "produces": [
  11103. "application/json"
  11104. ],
  11105. "tags": [
  11106. "用户信息"
  11107. ],
  11108. "summary": "获取用户留言板信息",
  11109. "parameters": [
  11110. {
  11111. "type": "integer",
  11112. "description": "用户ID",
  11113. "name": "userID",
  11114. "in": "query",
  11115. "required": true
  11116. }
  11117. ],
  11118. "responses": {
  11119. "200": {
  11120. "description": "OK",
  11121. "schema": {
  11122. "$ref": "#/definitions/models.Messageboard"
  11123. }
  11124. },
  11125. "500": {
  11126. "description": "Internal Server Error",
  11127. "schema": {
  11128. "$ref": "#/definitions/app.Response"
  11129. }
  11130. }
  11131. }
  11132. }
  11133. },
  11134. "/User/QueryUserFavoriteGoodses": {
  11135. "get": {
  11136. "security": [
  11137. {
  11138. "ApiKeyAuth": []
  11139. }
  11140. ],
  11141. "produces": [
  11142. "application/json"
  11143. ],
  11144. "tags": [
  11145. "用户信息"
  11146. ],
  11147. "summary": "获取用户商品收藏信息",
  11148. "parameters": [
  11149. {
  11150. "type": "integer",
  11151. "description": "用户ID",
  11152. "name": "userID",
  11153. "in": "query",
  11154. "required": true
  11155. }
  11156. ],
  11157. "responses": {
  11158. "200": {
  11159. "description": "OK",
  11160. "schema": {
  11161. "$ref": "#/definitions/models.Userfavoritegoods"
  11162. }
  11163. },
  11164. "500": {
  11165. "description": "Internal Server Error",
  11166. "schema": {
  11167. "$ref": "#/definitions/app.Response"
  11168. }
  11169. }
  11170. }
  11171. }
  11172. },
  11173. "/User/QueryUserInfo": {
  11174. "get": {
  11175. "security": [
  11176. {
  11177. "ApiKeyAuth": []
  11178. }
  11179. ],
  11180. "produces": [
  11181. "application/json"
  11182. ],
  11183. "tags": [
  11184. "用户信息"
  11185. ],
  11186. "summary": "获取用户信息",
  11187. "parameters": [
  11188. {
  11189. "type": "integer",
  11190. "description": "用户ID",
  11191. "name": "userID",
  11192. "in": "query",
  11193. "required": true
  11194. },
  11195. {
  11196. "type": "boolean",
  11197. "description": "是否解密",
  11198. "name": "isDecrypt",
  11199. "in": "query"
  11200. }
  11201. ],
  11202. "responses": {
  11203. "200": {
  11204. "description": "OK",
  11205. "schema": {
  11206. "$ref": "#/definitions/models.Userinfo"
  11207. }
  11208. },
  11209. "500": {
  11210. "description": "Internal Server Error",
  11211. "schema": {
  11212. "$ref": "#/definitions/app.Response"
  11213. }
  11214. }
  11215. }
  11216. }
  11217. },
  11218. "/User/QueryUserReferNum": {
  11219. "get": {
  11220. "produces": [
  11221. "application/json"
  11222. ],
  11223. "tags": [
  11224. "用户信息"
  11225. ],
  11226. "summary": "获取用户邀请码",
  11227. "parameters": [
  11228. {
  11229. "type": "integer",
  11230. "description": "用户ID",
  11231. "name": "userID",
  11232. "in": "query",
  11233. "required": true
  11234. }
  11235. ],
  11236. "responses": {
  11237. "200": {
  11238. "description": "OK",
  11239. "schema": {
  11240. "$ref": "#/definitions/app.Response"
  11241. }
  11242. },
  11243. "500": {
  11244. "description": "Internal Server Error",
  11245. "schema": {
  11246. "$ref": "#/definitions/app.Response"
  11247. }
  11248. }
  11249. }
  11250. }
  11251. },
  11252. "/User/RemoveUserFavoriteGoods": {
  11253. "post": {
  11254. "security": [
  11255. {
  11256. "ApiKeyAuth": []
  11257. }
  11258. ],
  11259. "produces": [
  11260. "application/json"
  11261. ],
  11262. "tags": [
  11263. "用户信息"
  11264. ],
  11265. "summary": "移除用户商品收藏信息",
  11266. "parameters": [
  11267. {
  11268. "type": "integer",
  11269. "description": "用户ID",
  11270. "name": "userID",
  11271. "in": "query",
  11272. "required": true
  11273. },
  11274. {
  11275. "type": "integer",
  11276. "description": "商品ID",
  11277. "name": "goodsID",
  11278. "in": "query",
  11279. "required": true
  11280. }
  11281. ],
  11282. "responses": {
  11283. "200": {
  11284. "description": "OK",
  11285. "schema": {
  11286. "$ref": "#/definitions/app.Response"
  11287. }
  11288. },
  11289. "500": {
  11290. "description": "Internal Server Error",
  11291. "schema": {
  11292. "$ref": "#/definitions/app.Response"
  11293. }
  11294. }
  11295. }
  11296. }
  11297. },
  11298. "/User/UpdateUserAccountStatus": {
  11299. "post": {
  11300. "security": [
  11301. {
  11302. "ApiKeyAuth": []
  11303. }
  11304. ],
  11305. "produces": [
  11306. "application/json"
  11307. ],
  11308. "tags": [
  11309. "用户信息"
  11310. ],
  11311. "summary": "更新用户状态",
  11312. "parameters": [
  11313. {
  11314. "type": "integer",
  11315. "description": "用户ID",
  11316. "name": "userID",
  11317. "in": "query",
  11318. "required": true
  11319. },
  11320. {
  11321. "type": "integer",
  11322. "description": "账户状态 - 4:正常 6:注销(停用)",
  11323. "name": "accountStatus",
  11324. "in": "query",
  11325. "required": true
  11326. }
  11327. ],
  11328. "responses": {
  11329. "200": {
  11330. "description": "OK",
  11331. "schema": {
  11332. "$ref": "#/definitions/app.Response"
  11333. }
  11334. },
  11335. "500": {
  11336. "description": "Internal Server Error",
  11337. "schema": {
  11338. "$ref": "#/definitions/app.Response"
  11339. }
  11340. }
  11341. }
  11342. }
  11343. },
  11344. "/WRTrade/GetAllDeliveryGoods": {
  11345. "get": {
  11346. "security": [
  11347. {
  11348. "ApiKeyAuth": []
  11349. },
  11350. {
  11351. "ApiKeyAuth": []
  11352. }
  11353. ],
  11354. "produces": [
  11355. "application/json",
  11356. "application/json"
  11357. ],
  11358. "tags": [
  11359. "仓单贸易",
  11360. "仓单贸易"
  11361. ],
  11362. "summary": "获取带仓单分类的种类信息",
  11363. "responses": {
  11364. "200": {
  11365. "description": "OK",
  11366. "schema": {
  11367. "$ref": "#/definitions/app.Response"
  11368. }
  11369. },
  11370. "500": {
  11371. "description": "Internal Server Error",
  11372. "schema": {
  11373. "$ref": "#/definitions/app.Response"
  11374. }
  11375. }
  11376. }
  11377. }
  11378. },
  11379. "/WrTrade2/QueryFaProductDetail": {
  11380. "get": {
  11381. "security": [
  11382. {
  11383. "ApiKeyAuth": []
  11384. }
  11385. ],
  11386. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11387. "produces": [
  11388. "application/json"
  11389. ],
  11390. "tags": [
  11391. "仓单贸易v2"
  11392. ],
  11393. "summary": "查询融资产品列表",
  11394. "parameters": [
  11395. {
  11396. "type": "integer",
  11397. "description": "仓单要素id",
  11398. "name": "wrfactortypeid",
  11399. "in": "query",
  11400. "required": true
  11401. }
  11402. ],
  11403. "responses": {
  11404. "200": {
  11405. "description": "OK",
  11406. "schema": {
  11407. "type": "array",
  11408. "items": {
  11409. "$ref": "#/definitions/models.WrFAProductDetail"
  11410. }
  11411. }
  11412. },
  11413. "500": {
  11414. "description": "Internal Server Error",
  11415. "schema": {
  11416. "$ref": "#/definitions/app.Response"
  11417. }
  11418. }
  11419. }
  11420. }
  11421. },
  11422. "/WrTrade2/QueryFilterItem": {
  11423. "get": {
  11424. "security": [
  11425. {
  11426. "ApiKeyAuth": []
  11427. }
  11428. ],
  11429. "produces": [
  11430. "application/json"
  11431. ],
  11432. "tags": [
  11433. "仓单贸易v2"
  11434. ],
  11435. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11436. "parameters": [
  11437. {
  11438. "type": "string",
  11439. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11440. "name": "itype",
  11441. "in": "query",
  11442. "required": true
  11443. }
  11444. ],
  11445. "responses": {
  11446. "200": {
  11447. "description": "OK",
  11448. "schema": {
  11449. "type": "array",
  11450. "items": {
  11451. "$ref": "#/definitions/models.WrFilterItem"
  11452. }
  11453. }
  11454. },
  11455. "500": {
  11456. "description": "Internal Server Error",
  11457. "schema": {
  11458. "$ref": "#/definitions/app.Response"
  11459. }
  11460. }
  11461. }
  11462. }
  11463. },
  11464. "/WrTrade2/QueryFtDeliveryGoods": {
  11465. "get": {
  11466. "security": [
  11467. {
  11468. "ApiKeyAuth": []
  11469. }
  11470. ],
  11471. "produces": [
  11472. "application/json"
  11473. ],
  11474. "tags": [
  11475. "仓单贸易v2"
  11476. ],
  11477. "summary": "查询品种品类筛选框列表",
  11478. "responses": {
  11479. "200": {
  11480. "description": "OK",
  11481. "schema": {
  11482. "type": "array",
  11483. "items": {
  11484. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11485. }
  11486. }
  11487. },
  11488. "500": {
  11489. "description": "Internal Server Error",
  11490. "schema": {
  11491. "$ref": "#/definitions/app.Response"
  11492. }
  11493. }
  11494. }
  11495. }
  11496. },
  11497. "/WrTrade2/QueryHoldLB": {
  11498. "get": {
  11499. "security": [
  11500. {
  11501. "ApiKeyAuth": []
  11502. }
  11503. ],
  11504. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11505. "produces": [
  11506. "application/json"
  11507. ],
  11508. "tags": [
  11509. "仓单贸易v2"
  11510. ],
  11511. "summary": "查询仓单持有记录",
  11512. "parameters": [
  11513. {
  11514. "type": "integer",
  11515. "description": "资金账号",
  11516. "name": "accountid",
  11517. "in": "query",
  11518. "required": true
  11519. },
  11520. {
  11521. "type": "integer",
  11522. "description": "仓库id",
  11523. "name": "warehouseid",
  11524. "in": "query"
  11525. },
  11526. {
  11527. "type": "integer",
  11528. "description": "品种id",
  11529. "name": "deliverygoodsid",
  11530. "in": "query"
  11531. },
  11532. {
  11533. "type": "integer",
  11534. "description": "品类id",
  11535. "name": "wrstandardid",
  11536. "in": "query"
  11537. },
  11538. {
  11539. "type": "integer",
  11540. "description": "仓单要素id",
  11541. "name": "wrfactortypeid",
  11542. "in": "query"
  11543. }
  11544. ],
  11545. "responses": {
  11546. "200": {
  11547. "description": "OK",
  11548. "schema": {
  11549. "type": "array",
  11550. "items": {
  11551. "$ref": "#/definitions/models.WrHoldLB"
  11552. }
  11553. }
  11554. },
  11555. "500": {
  11556. "description": "Internal Server Error",
  11557. "schema": {
  11558. "$ref": "#/definitions/app.Response"
  11559. }
  11560. }
  11561. }
  11562. }
  11563. },
  11564. "/WrTrade2/QueryOrderQuote": {
  11565. "get": {
  11566. "security": [
  11567. {
  11568. "ApiKeyAuth": []
  11569. }
  11570. ],
  11571. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11572. "produces": [
  11573. "application/json"
  11574. ],
  11575. "tags": [
  11576. "仓单贸易v2"
  11577. ],
  11578. "summary": "查询大厅行情列表",
  11579. "parameters": [
  11580. {
  11581. "type": "integer",
  11582. "description": "页码",
  11583. "name": "page",
  11584. "in": "query"
  11585. },
  11586. {
  11587. "type": "integer",
  11588. "description": "每页条数",
  11589. "name": "pagesize",
  11590. "in": "query"
  11591. },
  11592. {
  11593. "type": "integer",
  11594. "description": "仓单贸易市场id",
  11595. "name": "marketid",
  11596. "in": "query"
  11597. },
  11598. {
  11599. "type": "integer",
  11600. "description": "价格方式 - 1:固定价 2-浮动价",
  11601. "name": "wrpricetype",
  11602. "in": "query",
  11603. "required": true
  11604. },
  11605. {
  11606. "type": "integer",
  11607. "description": "0:仓单预售 1:仓单贸易",
  11608. "name": "haswr",
  11609. "in": "query",
  11610. "required": true
  11611. },
  11612. {
  11613. "type": "string",
  11614. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11615. "name": "dgitemname",
  11616. "in": "query"
  11617. },
  11618. {
  11619. "type": "integer",
  11620. "description": "仓库id(筛选条件)",
  11621. "name": "warehouseid",
  11622. "in": "query"
  11623. },
  11624. {
  11625. "type": "integer",
  11626. "description": "品种id",
  11627. "name": "deliverygoodsid",
  11628. "in": "query"
  11629. },
  11630. {
  11631. "type": "integer",
  11632. "description": "品类id",
  11633. "name": "wrstandardid",
  11634. "in": "query"
  11635. },
  11636. {
  11637. "type": "integer",
  11638. "description": "仓单要素id",
  11639. "name": "wrfactortypeid",
  11640. "in": "query"
  11641. },
  11642. {
  11643. "type": "string",
  11644. "description": "交收月(yyyy-mm) 仓单预售填写",
  11645. "name": "deliverymonth",
  11646. "in": "query"
  11647. }
  11648. ],
  11649. "responses": {
  11650. "200": {
  11651. "description": "OK",
  11652. "schema": {
  11653. "type": "array",
  11654. "items": {
  11655. "$ref": "#/definitions/models.WrOrderQuote"
  11656. }
  11657. }
  11658. },
  11659. "500": {
  11660. "description": "Internal Server Error",
  11661. "schema": {
  11662. "$ref": "#/definitions/app.Response"
  11663. }
  11664. }
  11665. }
  11666. }
  11667. },
  11668. "/WrTrade2/QueryOrderQuoteDetail": {
  11669. "get": {
  11670. "security": [
  11671. {
  11672. "ApiKeyAuth": []
  11673. }
  11674. ],
  11675. "produces": [
  11676. "application/json"
  11677. ],
  11678. "tags": [
  11679. "仓单贸易v2"
  11680. ],
  11681. "summary": "查询买卖大厅",
  11682. "parameters": [
  11683. {
  11684. "type": "integer",
  11685. "description": "页码",
  11686. "name": "page",
  11687. "in": "query"
  11688. },
  11689. {
  11690. "type": "integer",
  11691. "description": "每页条数",
  11692. "name": "pagesize",
  11693. "in": "query"
  11694. },
  11695. {
  11696. "type": "integer",
  11697. "description": "仓单贸易市场id",
  11698. "name": "marketid",
  11699. "in": "query"
  11700. },
  11701. {
  11702. "type": "integer",
  11703. "description": "价格方式 - 1:固定价 2-浮动价",
  11704. "name": "wrpricetype",
  11705. "in": "query",
  11706. "required": true
  11707. },
  11708. {
  11709. "type": "integer",
  11710. "description": "0:仓单预售 1:仓单贸易",
  11711. "name": "haswr",
  11712. "in": "query",
  11713. "required": true
  11714. },
  11715. {
  11716. "type": "integer",
  11717. "description": "仓单要素id",
  11718. "name": "wrfactortypeid",
  11719. "in": "query",
  11720. "required": true
  11721. },
  11722. {
  11723. "type": "integer",
  11724. "description": "期货商品id(浮动价方式时填)",
  11725. "name": "goodsid",
  11726. "in": "query"
  11727. },
  11728. {
  11729. "type": "integer",
  11730. "description": "买卖方向 0-买 1-卖",
  11731. "name": "buyorsell",
  11732. "in": "query",
  11733. "required": true
  11734. },
  11735. {
  11736. "type": "string",
  11737. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11738. "name": "deliverymonth",
  11739. "in": "query"
  11740. }
  11741. ],
  11742. "responses": {
  11743. "200": {
  11744. "description": "OK",
  11745. "schema": {
  11746. "type": "array",
  11747. "items": {
  11748. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11749. }
  11750. }
  11751. },
  11752. "500": {
  11753. "description": "Internal Server Error",
  11754. "schema": {
  11755. "$ref": "#/definitions/app.Response"
  11756. }
  11757. }
  11758. }
  11759. }
  11760. },
  11761. "/WrTrade2/QueryOrderQuoteMyq": {
  11762. "get": {
  11763. "security": [
  11764. {
  11765. "ApiKeyAuth": []
  11766. }
  11767. ],
  11768. "produces": [
  11769. "application/json"
  11770. ],
  11771. "tags": [
  11772. "仓单贸易v2"
  11773. ],
  11774. "summary": "查询贸易圈挂牌大厅",
  11775. "parameters": [
  11776. {
  11777. "type": "integer",
  11778. "description": "页码",
  11779. "name": "page",
  11780. "in": "query"
  11781. },
  11782. {
  11783. "type": "integer",
  11784. "description": "每页条数",
  11785. "name": "pagesize",
  11786. "in": "query"
  11787. },
  11788. {
  11789. "type": "integer",
  11790. "description": "用户id",
  11791. "name": "userid",
  11792. "in": "query",
  11793. "required": true
  11794. },
  11795. {
  11796. "type": "integer",
  11797. "description": "仓单贸易市场id",
  11798. "name": "marketid",
  11799. "in": "query"
  11800. },
  11801. {
  11802. "type": "integer",
  11803. "description": "0:仓单预售 1:仓单贸易",
  11804. "name": "haswr",
  11805. "in": "query",
  11806. "required": true
  11807. },
  11808. {
  11809. "type": "integer",
  11810. "description": "买卖方向 0-买 1-卖",
  11811. "name": "buyorsell",
  11812. "in": "query",
  11813. "required": true
  11814. },
  11815. {
  11816. "type": "integer",
  11817. "description": "品种id",
  11818. "name": "deliverygoodsid",
  11819. "in": "query"
  11820. },
  11821. {
  11822. "type": "integer",
  11823. "description": "品类id",
  11824. "name": "wrstandardid",
  11825. "in": "query"
  11826. },
  11827. {
  11828. "type": "string",
  11829. "description": "交收月(yyyy-mm) 仓单预售填写",
  11830. "name": "deliverymonth",
  11831. "in": "query"
  11832. },
  11833. {
  11834. "type": "string",
  11835. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11836. "name": "dgitemname",
  11837. "in": "query"
  11838. }
  11839. ],
  11840. "responses": {
  11841. "200": {
  11842. "description": "OK",
  11843. "schema": {
  11844. "type": "array",
  11845. "items": {
  11846. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11847. }
  11848. }
  11849. },
  11850. "500": {
  11851. "description": "Internal Server Error",
  11852. "schema": {
  11853. "$ref": "#/definitions/app.Response"
  11854. }
  11855. }
  11856. }
  11857. }
  11858. },
  11859. "/WrTrade2/QueryPerformancePlan": {
  11860. "get": {
  11861. "security": [
  11862. {
  11863. "ApiKeyAuth": []
  11864. }
  11865. ],
  11866. "produces": [
  11867. "application/json"
  11868. ],
  11869. "tags": [
  11870. "仓单贸易v2"
  11871. ],
  11872. "summary": "查询履约信息",
  11873. "parameters": [
  11874. {
  11875. "type": "integer",
  11876. "description": "用户id",
  11877. "name": "userid",
  11878. "in": "query",
  11879. "required": true
  11880. },
  11881. {
  11882. "type": "integer",
  11883. "description": "买卖方向 0-买 1-卖",
  11884. "name": "buyorsell",
  11885. "in": "query",
  11886. "required": true
  11887. }
  11888. ],
  11889. "responses": {
  11890. "200": {
  11891. "description": "OK",
  11892. "schema": {
  11893. "type": "array",
  11894. "items": {
  11895. "$ref": "#/definitions/models.WrPerformancePlan"
  11896. }
  11897. }
  11898. },
  11899. "500": {
  11900. "description": "Internal Server Error",
  11901. "schema": {
  11902. "$ref": "#/definitions/app.Response"
  11903. }
  11904. }
  11905. }
  11906. }
  11907. },
  11908. "/WrTrade2/QueryPermancePlanTmp": {
  11909. "get": {
  11910. "security": [
  11911. {
  11912. "ApiKeyAuth": []
  11913. }
  11914. ],
  11915. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11916. "produces": [
  11917. "application/json"
  11918. ],
  11919. "tags": [
  11920. "仓单贸易v2"
  11921. ],
  11922. "summary": "查询履约模板",
  11923. "parameters": [
  11924. {
  11925. "type": "integer",
  11926. "description": "用户id",
  11927. "name": "userid",
  11928. "in": "query"
  11929. },
  11930. {
  11931. "type": "string",
  11932. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11933. "name": "tmptype",
  11934. "in": "query"
  11935. },
  11936. {
  11937. "type": "integer",
  11938. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11939. "name": "includepub",
  11940. "in": "query"
  11941. }
  11942. ],
  11943. "responses": {
  11944. "200": {
  11945. "description": "OK",
  11946. "schema": {
  11947. "type": "array",
  11948. "items": {
  11949. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11950. }
  11951. }
  11952. },
  11953. "500": {
  11954. "description": "Internal Server Error",
  11955. "schema": {
  11956. "$ref": "#/definitions/app.Response"
  11957. }
  11958. }
  11959. }
  11960. }
  11961. },
  11962. "/WrTrade2/QueryWrAverageTradePrice": {
  11963. "get": {
  11964. "security": [
  11965. {
  11966. "ApiKeyAuth": []
  11967. }
  11968. ],
  11969. "produces": [
  11970. "application/json"
  11971. ],
  11972. "tags": [
  11973. "仓单贸易v2"
  11974. ],
  11975. "summary": "查询成交价(历史走势)",
  11976. "parameters": [
  11977. {
  11978. "type": "integer",
  11979. "description": "页码",
  11980. "name": "page",
  11981. "in": "query"
  11982. },
  11983. {
  11984. "type": "integer",
  11985. "description": "每页条数",
  11986. "name": "pagesize",
  11987. "in": "query"
  11988. },
  11989. {
  11990. "type": "integer",
  11991. "description": "0:仓单预售 1:仓单贸易",
  11992. "name": "haswr",
  11993. "in": "query",
  11994. "required": true
  11995. },
  11996. {
  11997. "type": "integer",
  11998. "description": "仓单要素id",
  11999. "name": "wrfactortypeid",
  12000. "in": "query",
  12001. "required": true
  12002. }
  12003. ],
  12004. "responses": {
  12005. "200": {
  12006. "description": "OK",
  12007. "schema": {
  12008. "type": "array",
  12009. "items": {
  12010. "$ref": "#/definitions/models.WrAverageTradePrice"
  12011. }
  12012. }
  12013. },
  12014. "500": {
  12015. "description": "Internal Server Error",
  12016. "schema": {
  12017. "$ref": "#/definitions/app.Response"
  12018. }
  12019. }
  12020. }
  12021. }
  12022. },
  12023. "/WrTrade2/QueryWrBsGoodsInfo": {
  12024. "get": {
  12025. "security": [
  12026. {
  12027. "ApiKeyAuth": []
  12028. }
  12029. ],
  12030. "description": "合约交易/买卖大厅/详情",
  12031. "produces": [
  12032. "application/json"
  12033. ],
  12034. "tags": [
  12035. "仓单贸易v2"
  12036. ],
  12037. "summary": "查询合约交易买卖大厅详情",
  12038. "parameters": [
  12039. {
  12040. "type": "integer",
  12041. "description": "商品id",
  12042. "name": "goodsid",
  12043. "in": "query",
  12044. "required": true
  12045. }
  12046. ],
  12047. "responses": {
  12048. "200": {
  12049. "description": "OK",
  12050. "schema": {
  12051. "type": "array",
  12052. "items": {
  12053. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12054. }
  12055. }
  12056. },
  12057. "500": {
  12058. "description": "Internal Server Error",
  12059. "schema": {
  12060. "$ref": "#/definitions/app.Response"
  12061. }
  12062. }
  12063. }
  12064. }
  12065. },
  12066. "/WrTrade2/QueryWrBuybackDetail": {
  12067. "get": {
  12068. "security": [
  12069. {
  12070. "ApiKeyAuth": []
  12071. }
  12072. ],
  12073. "produces": [
  12074. "application/json"
  12075. ],
  12076. "tags": [
  12077. "仓单贸易v2"
  12078. ],
  12079. "summary": "查询仓单回购明细",
  12080. "parameters": [
  12081. {
  12082. "type": "integer",
  12083. "description": "融资合同id",
  12084. "name": "scfcontractid",
  12085. "in": "query"
  12086. }
  12087. ],
  12088. "responses": {
  12089. "200": {
  12090. "description": "OK",
  12091. "schema": {
  12092. "type": "array",
  12093. "items": {
  12094. "$ref": "#/definitions/models.WrBuybackDetail"
  12095. }
  12096. }
  12097. },
  12098. "500": {
  12099. "description": "Internal Server Error",
  12100. "schema": {
  12101. "$ref": "#/definitions/app.Response"
  12102. }
  12103. }
  12104. }
  12105. }
  12106. },
  12107. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12108. "get": {
  12109. "security": [
  12110. {
  12111. "ApiKeyAuth": []
  12112. }
  12113. ],
  12114. "produces": [
  12115. "application/json"
  12116. ],
  12117. "tags": [
  12118. "仓单贸易v2"
  12119. ],
  12120. "summary": "查询合约交收可点选仓单",
  12121. "parameters": [
  12122. {
  12123. "type": "integer",
  12124. "description": "资金账号",
  12125. "name": "accountid",
  12126. "in": "query",
  12127. "required": true
  12128. },
  12129. {
  12130. "type": "integer",
  12131. "description": "商品id",
  12132. "name": "goodsid",
  12133. "in": "query",
  12134. "required": true
  12135. }
  12136. ],
  12137. "responses": {
  12138. "200": {
  12139. "description": "OK",
  12140. "schema": {
  12141. "type": "array",
  12142. "items": {
  12143. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12144. }
  12145. }
  12146. },
  12147. "500": {
  12148. "description": "Internal Server Error",
  12149. "schema": {
  12150. "$ref": "#/definitions/app.Response"
  12151. }
  12152. }
  12153. }
  12154. }
  12155. },
  12156. "/WrTrade2/QueryWrDeliveryDetail": {
  12157. "get": {
  12158. "security": [
  12159. {
  12160. "ApiKeyAuth": []
  12161. }
  12162. ],
  12163. "produces": [
  12164. "application/json"
  12165. ],
  12166. "tags": [
  12167. "仓单贸易v2"
  12168. ],
  12169. "summary": "查询交收",
  12170. "parameters": [
  12171. {
  12172. "type": "integer",
  12173. "description": "用户id",
  12174. "name": "userid",
  12175. "in": "query",
  12176. "required": true
  12177. },
  12178. {
  12179. "type": "integer",
  12180. "description": "资金账号id",
  12181. "name": "accountid",
  12182. "in": "query"
  12183. }
  12184. ],
  12185. "responses": {
  12186. "200": {
  12187. "description": "OK",
  12188. "schema": {
  12189. "type": "array",
  12190. "items": {
  12191. "$ref": "#/definitions/models.WrDeliveryDetail"
  12192. }
  12193. }
  12194. },
  12195. "500": {
  12196. "description": "Internal Server Error",
  12197. "schema": {
  12198. "$ref": "#/definitions/app.Response"
  12199. }
  12200. }
  12201. }
  12202. }
  12203. },
  12204. "/WrTrade2/QueryWrFactorTypeInfo": {
  12205. "get": {
  12206. "security": [
  12207. {
  12208. "ApiKeyAuth": []
  12209. }
  12210. ],
  12211. "produces": [
  12212. "application/json"
  12213. ],
  12214. "tags": [
  12215. "仓单贸易v2"
  12216. ],
  12217. "summary": "查询仓单要素详细信息",
  12218. "parameters": [
  12219. {
  12220. "type": "integer",
  12221. "description": "仓单要素id",
  12222. "name": "wrfactortypeid",
  12223. "in": "query",
  12224. "required": true
  12225. }
  12226. ],
  12227. "responses": {
  12228. "200": {
  12229. "description": "OK",
  12230. "schema": {
  12231. "type": "array",
  12232. "items": {
  12233. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12234. }
  12235. }
  12236. },
  12237. "500": {
  12238. "description": "Internal Server Error",
  12239. "schema": {
  12240. "$ref": "#/definitions/app.Response"
  12241. }
  12242. }
  12243. }
  12244. }
  12245. },
  12246. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12247. "get": {
  12248. "security": [
  12249. {
  12250. "ApiKeyAuth": []
  12251. }
  12252. ],
  12253. "produces": [
  12254. "application/json"
  12255. ],
  12256. "tags": [
  12257. "仓单贸易v2"
  12258. ],
  12259. "summary": "查询仓单要素详细信息列表项",
  12260. "parameters": [
  12261. {
  12262. "type": "integer",
  12263. "description": "仓单要素id",
  12264. "name": "wrfactortypeid",
  12265. "in": "query",
  12266. "required": true
  12267. }
  12268. ],
  12269. "responses": {
  12270. "200": {
  12271. "description": "OK",
  12272. "schema": {
  12273. "type": "array",
  12274. "items": {
  12275. "$ref": "#/definitions/models.WrTypeItem"
  12276. }
  12277. }
  12278. },
  12279. "500": {
  12280. "description": "Internal Server Error",
  12281. "schema": {
  12282. "$ref": "#/definitions/app.Response"
  12283. }
  12284. }
  12285. }
  12286. }
  12287. },
  12288. "/WrTrade2/QueryWrFinanceBuyApply": {
  12289. "get": {
  12290. "security": [
  12291. {
  12292. "ApiKeyAuth": []
  12293. }
  12294. ],
  12295. "description": "页面 融资信息+ / 申请单",
  12296. "produces": [
  12297. "application/json"
  12298. ],
  12299. "tags": [
  12300. "仓单贸易v2"
  12301. ],
  12302. "summary": "查询融资购买申请",
  12303. "parameters": [
  12304. {
  12305. "type": "integer",
  12306. "description": "用户id",
  12307. "name": "userid",
  12308. "in": "query",
  12309. "required": true
  12310. }
  12311. ],
  12312. "responses": {
  12313. "200": {
  12314. "description": "OK",
  12315. "schema": {
  12316. "type": "array",
  12317. "items": {
  12318. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12319. }
  12320. }
  12321. },
  12322. "500": {
  12323. "description": "Internal Server Error",
  12324. "schema": {
  12325. "$ref": "#/definitions/app.Response"
  12326. }
  12327. }
  12328. }
  12329. }
  12330. },
  12331. "/WrTrade2/QueryWrFriendApply": {
  12332. "get": {
  12333. "security": [
  12334. {
  12335. "ApiKeyAuth": []
  12336. }
  12337. ],
  12338. "produces": [
  12339. "application/json"
  12340. ],
  12341. "tags": [
  12342. "仓单贸易v2"
  12343. ],
  12344. "summary": "查询好友申请记录",
  12345. "parameters": [
  12346. {
  12347. "type": "integer",
  12348. "description": "用户id",
  12349. "name": "userid",
  12350. "in": "query",
  12351. "required": true
  12352. }
  12353. ],
  12354. "responses": {
  12355. "200": {
  12356. "description": "OK",
  12357. "schema": {
  12358. "type": "array",
  12359. "items": {
  12360. "$ref": "#/definitions/models.WrFriendApply"
  12361. }
  12362. }
  12363. },
  12364. "500": {
  12365. "description": "Internal Server Error",
  12366. "schema": {
  12367. "$ref": "#/definitions/app.Response"
  12368. }
  12369. }
  12370. }
  12371. }
  12372. },
  12373. "/WrTrade2/QueryWrGoodsInfo": {
  12374. "get": {
  12375. "security": [
  12376. {
  12377. "ApiKeyAuth": []
  12378. }
  12379. ],
  12380. "produces": [
  12381. "application/json"
  12382. ],
  12383. "tags": [
  12384. "仓单贸易v2"
  12385. ],
  12386. "summary": "查询仓单商品信息",
  12387. "parameters": [
  12388. {
  12389. "type": "integer",
  12390. "description": "仓单贸易市场id",
  12391. "name": "marketid",
  12392. "in": "query"
  12393. },
  12394. {
  12395. "type": "integer",
  12396. "description": "0:仓单预售 1:仓单贸易",
  12397. "name": "haswr",
  12398. "in": "query",
  12399. "required": true
  12400. },
  12401. {
  12402. "type": "integer",
  12403. "description": "仓单要素id",
  12404. "name": "wrfactortypeid",
  12405. "in": "query",
  12406. "required": true
  12407. },
  12408. {
  12409. "type": "integer",
  12410. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12411. "name": "tmplateid",
  12412. "in": "query"
  12413. }
  12414. ],
  12415. "responses": {
  12416. "200": {
  12417. "description": "OK",
  12418. "schema": {
  12419. "type": "array",
  12420. "items": {
  12421. "$ref": "#/definitions/models.WrGoodsInfo"
  12422. }
  12423. }
  12424. },
  12425. "500": {
  12426. "description": "Internal Server Error",
  12427. "schema": {
  12428. "$ref": "#/definitions/app.Response"
  12429. }
  12430. }
  12431. }
  12432. }
  12433. },
  12434. "/WrTrade2/QueryWrMarketTradeConfig": {
  12435. "get": {
  12436. "security": [
  12437. {
  12438. "ApiKeyAuth": []
  12439. }
  12440. ],
  12441. "produces": [
  12442. "application/json"
  12443. ],
  12444. "tags": [
  12445. "仓单贸易v2"
  12446. ],
  12447. "summary": "查询市场交易参数配置",
  12448. "parameters": [
  12449. {
  12450. "type": "integer",
  12451. "description": "市场id",
  12452. "name": "marketid",
  12453. "in": "query"
  12454. }
  12455. ],
  12456. "responses": {
  12457. "200": {
  12458. "description": "OK",
  12459. "schema": {
  12460. "type": "array",
  12461. "items": {
  12462. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12463. }
  12464. }
  12465. },
  12466. "500": {
  12467. "description": "Internal Server Error",
  12468. "schema": {
  12469. "$ref": "#/definitions/app.Response"
  12470. }
  12471. }
  12472. }
  12473. }
  12474. },
  12475. "/WrTrade2/QueryWrOrderDetail": {
  12476. "get": {
  12477. "security": [
  12478. {
  12479. "ApiKeyAuth": []
  12480. }
  12481. ],
  12482. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12483. "produces": [
  12484. "application/json"
  12485. ],
  12486. "tags": [
  12487. "仓单贸易v2"
  12488. ],
  12489. "summary": "查询仓单委托单(挂单)",
  12490. "parameters": [
  12491. {
  12492. "type": "integer",
  12493. "description": "页码",
  12494. "name": "page",
  12495. "in": "query"
  12496. },
  12497. {
  12498. "type": "integer",
  12499. "description": "每页条数",
  12500. "name": "pagesize",
  12501. "in": "query"
  12502. },
  12503. {
  12504. "type": "integer",
  12505. "description": "用户id",
  12506. "name": "userid",
  12507. "in": "query",
  12508. "required": true
  12509. },
  12510. {
  12511. "type": "integer",
  12512. "description": "仓单贸易市场id",
  12513. "name": "marketid",
  12514. "in": "query"
  12515. },
  12516. {
  12517. "type": "integer",
  12518. "description": "0:仓单预售 1:仓单贸易",
  12519. "name": "haswr",
  12520. "in": "query",
  12521. "required": true
  12522. }
  12523. ],
  12524. "responses": {
  12525. "200": {
  12526. "description": "OK",
  12527. "schema": {
  12528. "type": "array",
  12529. "items": {
  12530. "$ref": "#/definitions/models.WrOrderDetail"
  12531. }
  12532. }
  12533. },
  12534. "500": {
  12535. "description": "Internal Server Error",
  12536. "schema": {
  12537. "$ref": "#/definitions/app.Response"
  12538. }
  12539. }
  12540. }
  12541. }
  12542. },
  12543. "/WrTrade2/QueryWrOutInApply": {
  12544. "get": {
  12545. "security": [
  12546. {
  12547. "ApiKeyAuth": []
  12548. }
  12549. ],
  12550. "produces": [
  12551. "application/json"
  12552. ],
  12553. "tags": [
  12554. "仓单贸易v2"
  12555. ],
  12556. "summary": "查询提货申请",
  12557. "parameters": [
  12558. {
  12559. "type": "integer",
  12560. "description": "用户id",
  12561. "name": "userid",
  12562. "in": "query",
  12563. "required": true
  12564. }
  12565. ],
  12566. "responses": {
  12567. "200": {
  12568. "description": "OK",
  12569. "schema": {
  12570. "type": "array",
  12571. "items": {
  12572. "$ref": "#/definitions/models.WrOutInApply"
  12573. }
  12574. }
  12575. },
  12576. "500": {
  12577. "description": "Internal Server Error",
  12578. "schema": {
  12579. "$ref": "#/definitions/app.Response"
  12580. }
  12581. }
  12582. }
  12583. }
  12584. },
  12585. "/WrTrade2/QueryWrPerformancePlanStep": {
  12586. "get": {
  12587. "security": [
  12588. {
  12589. "ApiKeyAuth": []
  12590. }
  12591. ],
  12592. "produces": [
  12593. "application/json"
  12594. ],
  12595. "tags": [
  12596. "仓单贸易v2"
  12597. ],
  12598. "summary": "查询履约信息详情",
  12599. "parameters": [
  12600. {
  12601. "type": "integer",
  12602. "description": "履约计划id(performanceplanid)",
  12603. "name": "planid",
  12604. "in": "query",
  12605. "required": true
  12606. },
  12607. {
  12608. "type": "integer",
  12609. "description": "当前步骤id",
  12610. "name": "curstepid",
  12611. "in": "query"
  12612. }
  12613. ],
  12614. "responses": {
  12615. "200": {
  12616. "description": "OK",
  12617. "schema": {
  12618. "type": "array",
  12619. "items": {
  12620. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12621. }
  12622. }
  12623. },
  12624. "500": {
  12625. "description": "Internal Server Error",
  12626. "schema": {
  12627. "$ref": "#/definitions/app.Response"
  12628. }
  12629. }
  12630. }
  12631. }
  12632. },
  12633. "/WrTrade2/QueryWrPerformanceStepType": {
  12634. "get": {
  12635. "security": [
  12636. {
  12637. "ApiKeyAuth": []
  12638. }
  12639. ],
  12640. "produces": [
  12641. "application/json"
  12642. ],
  12643. "tags": [
  12644. "仓单贸易v2"
  12645. ],
  12646. "summary": "查询履约步骤枚举",
  12647. "responses": {
  12648. "200": {
  12649. "description": "OK",
  12650. "schema": {
  12651. "type": "array",
  12652. "items": {
  12653. "$ref": "#/definitions/models.WrPerformanceStepType"
  12654. }
  12655. }
  12656. },
  12657. "500": {
  12658. "description": "Internal Server Error",
  12659. "schema": {
  12660. "$ref": "#/definitions/app.Response"
  12661. }
  12662. }
  12663. }
  12664. }
  12665. },
  12666. "/WrTrade2/QueryWrPosition": {
  12667. "get": {
  12668. "security": [
  12669. {
  12670. "ApiKeyAuth": []
  12671. }
  12672. ],
  12673. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12674. "produces": [
  12675. "application/json"
  12676. ],
  12677. "tags": [
  12678. "仓单贸易v2"
  12679. ],
  12680. "summary": "查询现货(预售)仓单持仓",
  12681. "parameters": [
  12682. {
  12683. "type": "integer",
  12684. "description": "用户id",
  12685. "name": "userid",
  12686. "in": "query",
  12687. "required": true
  12688. },
  12689. {
  12690. "type": "integer",
  12691. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12692. "name": "querytype",
  12693. "in": "query",
  12694. "required": true
  12695. },
  12696. {
  12697. "type": "integer",
  12698. "description": "0:仓单预售 1:仓单贸易",
  12699. "name": "haswr",
  12700. "in": "query",
  12701. "required": true
  12702. },
  12703. {
  12704. "type": "string",
  12705. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12706. "name": "dgitemname",
  12707. "in": "query"
  12708. },
  12709. {
  12710. "type": "integer",
  12711. "description": "仓库id(筛选条件)",
  12712. "name": "warehouseid",
  12713. "in": "query"
  12714. },
  12715. {
  12716. "type": "integer",
  12717. "description": "品种id",
  12718. "name": "deliverygoodsid",
  12719. "in": "query"
  12720. },
  12721. {
  12722. "type": "integer",
  12723. "description": "品类id",
  12724. "name": "wrstandardid",
  12725. "in": "query"
  12726. }
  12727. ],
  12728. "responses": {
  12729. "200": {
  12730. "description": "OK",
  12731. "schema": {
  12732. "type": "array",
  12733. "items": {
  12734. "$ref": "#/definitions/models.WrPosition"
  12735. }
  12736. }
  12737. },
  12738. "500": {
  12739. "description": "Internal Server Error",
  12740. "schema": {
  12741. "$ref": "#/definitions/app.Response"
  12742. }
  12743. }
  12744. }
  12745. }
  12746. },
  12747. "/WrTrade2/QueryWrScfContract": {
  12748. "get": {
  12749. "security": [
  12750. {
  12751. "ApiKeyAuth": []
  12752. }
  12753. ],
  12754. "produces": [
  12755. "application/json"
  12756. ],
  12757. "tags": [
  12758. "仓单贸易v2"
  12759. ],
  12760. "summary": "查询仓单贸易融资合同",
  12761. "parameters": [
  12762. {
  12763. "type": "integer",
  12764. "description": "用户id",
  12765. "name": "userid",
  12766. "in": "query",
  12767. "required": true
  12768. },
  12769. {
  12770. "type": "integer",
  12771. "description": "融资合同id",
  12772. "name": "scfcontractid",
  12773. "in": "query"
  12774. }
  12775. ],
  12776. "responses": {
  12777. "200": {
  12778. "description": "OK",
  12779. "schema": {
  12780. "type": "array",
  12781. "items": {
  12782. "$ref": "#/definitions/models.WrScfContract"
  12783. }
  12784. }
  12785. },
  12786. "500": {
  12787. "description": "Internal Server Error",
  12788. "schema": {
  12789. "$ref": "#/definitions/app.Response"
  12790. }
  12791. }
  12792. }
  12793. }
  12794. },
  12795. "/WrTrade2/QueryWrScfContractInterest": {
  12796. "get": {
  12797. "security": [
  12798. {
  12799. "ApiKeyAuth": []
  12800. }
  12801. ],
  12802. "produces": [
  12803. "application/json"
  12804. ],
  12805. "tags": [
  12806. "仓单贸易v2"
  12807. ],
  12808. "summary": "查询融资合同费用明细",
  12809. "parameters": [
  12810. {
  12811. "type": "integer",
  12812. "description": "融资合同id",
  12813. "name": "scfcontractid",
  12814. "in": "query"
  12815. }
  12816. ],
  12817. "responses": {
  12818. "200": {
  12819. "description": "OK",
  12820. "schema": {
  12821. "type": "array",
  12822. "items": {
  12823. "$ref": "#/definitions/models.WrScfContractInterest"
  12824. }
  12825. }
  12826. },
  12827. "500": {
  12828. "description": "Internal Server Error",
  12829. "schema": {
  12830. "$ref": "#/definitions/app.Response"
  12831. }
  12832. }
  12833. }
  12834. }
  12835. },
  12836. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12837. "get": {
  12838. "security": [
  12839. {
  12840. "ApiKeyAuth": []
  12841. }
  12842. ],
  12843. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12844. "produces": [
  12845. "application/json"
  12846. ],
  12847. "tags": [
  12848. "仓单贸易v2"
  12849. ],
  12850. "summary": "查询指定成交",
  12851. "parameters": [
  12852. {
  12853. "type": "integer",
  12854. "description": "页码",
  12855. "name": "page",
  12856. "in": "query"
  12857. },
  12858. {
  12859. "type": "integer",
  12860. "description": "每页条数",
  12861. "name": "pagesize",
  12862. "in": "query"
  12863. },
  12864. {
  12865. "type": "integer",
  12866. "description": "用户id",
  12867. "name": "userid",
  12868. "in": "query",
  12869. "required": true
  12870. },
  12871. {
  12872. "type": "integer",
  12873. "description": "仓单贸易市场id",
  12874. "name": "marketid",
  12875. "in": "query"
  12876. },
  12877. {
  12878. "type": "integer",
  12879. "description": "0:仓单预售 1:仓单贸易",
  12880. "name": "haswr",
  12881. "in": "query",
  12882. "required": true
  12883. }
  12884. ],
  12885. "responses": {
  12886. "200": {
  12887. "description": "OK",
  12888. "schema": {
  12889. "type": "array",
  12890. "items": {
  12891. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12892. }
  12893. }
  12894. },
  12895. "500": {
  12896. "description": "Internal Server Error",
  12897. "schema": {
  12898. "$ref": "#/definitions/app.Response"
  12899. }
  12900. }
  12901. }
  12902. }
  12903. },
  12904. "/WrTrade2/QueryWrStandardFactoryItem": {
  12905. "get": {
  12906. "security": [
  12907. {
  12908. "ApiKeyAuth": []
  12909. }
  12910. ],
  12911. "produces": [
  12912. "application/json"
  12913. ],
  12914. "tags": [
  12915. "仓单贸易v2"
  12916. ],
  12917. "summary": "查询品类要素定义项",
  12918. "parameters": [
  12919. {
  12920. "type": "integer",
  12921. "description": "品类id",
  12922. "name": "wrstandardid",
  12923. "in": "query",
  12924. "required": true
  12925. }
  12926. ],
  12927. "responses": {
  12928. "200": {
  12929. "description": "OK",
  12930. "schema": {
  12931. "type": "array",
  12932. "items": {
  12933. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12934. }
  12935. }
  12936. },
  12937. "500": {
  12938. "description": "Internal Server Error",
  12939. "schema": {
  12940. "$ref": "#/definitions/app.Response"
  12941. }
  12942. }
  12943. }
  12944. }
  12945. },
  12946. "/WrTrade2/QueryWrTradeBargainApply": {
  12947. "get": {
  12948. "security": [
  12949. {
  12950. "ApiKeyAuth": []
  12951. }
  12952. ],
  12953. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12954. "produces": [
  12955. "application/json"
  12956. ],
  12957. "tags": [
  12958. "仓单贸易v2"
  12959. ],
  12960. "summary": "查询议价单",
  12961. "parameters": [
  12962. {
  12963. "type": "integer",
  12964. "description": "议价人id(摘牌方)",
  12965. "name": "userid",
  12966. "in": "query"
  12967. },
  12968. {
  12969. "type": "integer",
  12970. "description": "关联委托单id",
  12971. "name": "wrtradeorderid",
  12972. "in": "query"
  12973. },
  12974. {
  12975. "type": "integer",
  12976. "description": "0:仓单预售 1:仓单贸易",
  12977. "name": "haswr",
  12978. "in": "query",
  12979. "required": true
  12980. }
  12981. ],
  12982. "responses": {
  12983. "200": {
  12984. "description": "OK",
  12985. "schema": {
  12986. "type": "array",
  12987. "items": {
  12988. "$ref": "#/definitions/models.WRTradeBargainApply"
  12989. }
  12990. }
  12991. },
  12992. "500": {
  12993. "description": "Internal Server Error",
  12994. "schema": {
  12995. "$ref": "#/definitions/app.Response"
  12996. }
  12997. }
  12998. }
  12999. }
  13000. },
  13001. "/WrTrade2/QueryWrTradeDetail": {
  13002. "get": {
  13003. "security": [
  13004. {
  13005. "ApiKeyAuth": []
  13006. }
  13007. ],
  13008. "produces": [
  13009. "application/json"
  13010. ],
  13011. "tags": [
  13012. "仓单贸易v2"
  13013. ],
  13014. "summary": "查询仓单成交明细",
  13015. "parameters": [
  13016. {
  13017. "type": "integer",
  13018. "description": "页码",
  13019. "name": "page",
  13020. "in": "query"
  13021. },
  13022. {
  13023. "type": "integer",
  13024. "description": "每页条数",
  13025. "name": "pagesize",
  13026. "in": "query"
  13027. },
  13028. {
  13029. "type": "integer",
  13030. "description": "用户id",
  13031. "name": "userid",
  13032. "in": "query",
  13033. "required": true
  13034. },
  13035. {
  13036. "type": "integer",
  13037. "description": "仓单贸易市场id",
  13038. "name": "marketid",
  13039. "in": "query"
  13040. },
  13041. {
  13042. "type": "integer",
  13043. "description": "0:仓单预售 1:仓单贸易",
  13044. "name": "haswr",
  13045. "in": "query",
  13046. "required": true
  13047. }
  13048. ],
  13049. "responses": {
  13050. "200": {
  13051. "description": "OK",
  13052. "schema": {
  13053. "type": "array",
  13054. "items": {
  13055. "$ref": "#/definitions/models.WrTradeDetail"
  13056. }
  13057. }
  13058. },
  13059. "500": {
  13060. "description": "Internal Server Error",
  13061. "schema": {
  13062. "$ref": "#/definitions/app.Response"
  13063. }
  13064. }
  13065. }
  13066. }
  13067. },
  13068. "/WrTrade2/QueryWrTradeOrderDetail": {
  13069. "get": {
  13070. "security": [
  13071. {
  13072. "ApiKeyAuth": []
  13073. }
  13074. ],
  13075. "produces": [
  13076. "application/json"
  13077. ],
  13078. "tags": [
  13079. "仓单贸易v2"
  13080. ],
  13081. "summary": "查询合约交易买卖大厅",
  13082. "parameters": [
  13083. {
  13084. "type": "integer",
  13085. "description": "页码",
  13086. "name": "page",
  13087. "in": "query"
  13088. },
  13089. {
  13090. "type": "integer",
  13091. "description": "每页条数",
  13092. "name": "pagesize",
  13093. "in": "query"
  13094. },
  13095. {
  13096. "type": "integer",
  13097. "description": "商品id",
  13098. "name": "goodsid",
  13099. "in": "query",
  13100. "required": true
  13101. },
  13102. {
  13103. "type": "integer",
  13104. "description": "买卖方向 0-买 1-卖",
  13105. "name": "buyorsell",
  13106. "in": "query",
  13107. "required": true
  13108. }
  13109. ],
  13110. "responses": {
  13111. "200": {
  13112. "description": "OK",
  13113. "schema": {
  13114. "type": "array",
  13115. "items": {
  13116. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13117. }
  13118. }
  13119. },
  13120. "500": {
  13121. "description": "Internal Server Error",
  13122. "schema": {
  13123. "$ref": "#/definitions/app.Response"
  13124. }
  13125. }
  13126. }
  13127. }
  13128. },
  13129. "/WrTrade2/QueryWrUserFriend": {
  13130. "get": {
  13131. "security": [
  13132. {
  13133. "ApiKeyAuth": []
  13134. }
  13135. ],
  13136. "produces": [
  13137. "application/json"
  13138. ],
  13139. "tags": [
  13140. "仓单贸易v2"
  13141. ],
  13142. "summary": "查询我的朋友",
  13143. "parameters": [
  13144. {
  13145. "type": "integer",
  13146. "description": "用户id",
  13147. "name": "userid",
  13148. "in": "query",
  13149. "required": true
  13150. },
  13151. {
  13152. "type": "integer",
  13153. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13154. "name": "newuserid",
  13155. "in": "query"
  13156. }
  13157. ],
  13158. "responses": {
  13159. "200": {
  13160. "description": "OK",
  13161. "schema": {
  13162. "type": "array",
  13163. "items": {
  13164. "$ref": "#/definitions/models.WrUserFriend"
  13165. }
  13166. }
  13167. },
  13168. "500": {
  13169. "description": "Internal Server Error",
  13170. "schema": {
  13171. "$ref": "#/definitions/app.Response"
  13172. }
  13173. }
  13174. }
  13175. }
  13176. },
  13177. "/ZJ/GetBankTip": {
  13178. "get": {
  13179. "produces": [
  13180. "application/json"
  13181. ],
  13182. "tags": [
  13183. "中江"
  13184. ],
  13185. "summary": "获取中江网银端出入金提示信息",
  13186. "responses": {
  13187. "200": {
  13188. "description": "OK",
  13189. "schema": {
  13190. "$ref": "#/definitions/app.Response"
  13191. }
  13192. },
  13193. "500": {
  13194. "description": "Internal Server Error",
  13195. "schema": {
  13196. "$ref": "#/definitions/app.Response"
  13197. }
  13198. }
  13199. }
  13200. }
  13201. }
  13202. },
  13203. "definitions": {
  13204. "app.Response": {
  13205. "type": "object",
  13206. "properties": {
  13207. "code": {
  13208. "type": "integer"
  13209. },
  13210. "data": {
  13211. "type": "object"
  13212. },
  13213. "msg": {
  13214. "type": "string"
  13215. },
  13216. "page": {
  13217. "description": "页码",
  13218. "type": "integer"
  13219. },
  13220. "pagesize": {
  13221. "description": "每页条数",
  13222. "type": "integer"
  13223. },
  13224. "total": {
  13225. "description": "总条数",
  13226. "type": "integer"
  13227. }
  13228. }
  13229. },
  13230. "common.ClientMenu": {
  13231. "type": "object",
  13232. "properties": {
  13233. "children": {
  13234. "description": "子菜单列表",
  13235. "type": "array",
  13236. "items": {
  13237. "$ref": "#/definitions/common.ClientMenu"
  13238. }
  13239. },
  13240. "code": {
  13241. "description": "ID",
  13242. "type": "string"
  13243. },
  13244. "isshow": {
  13245. "description": "是否显示",
  13246. "type": "boolean"
  13247. },
  13248. "remark": {
  13249. "description": "备注",
  13250. "type": "string"
  13251. },
  13252. "rulekey": {
  13253. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13254. "type": "string"
  13255. },
  13256. "sort": {
  13257. "description": "排序",
  13258. "type": "integer"
  13259. },
  13260. "title": {
  13261. "description": "标题",
  13262. "type": "string"
  13263. },
  13264. "type": {
  13265. "description": "类型,1:菜单 2:按钮",
  13266. "type": "integer"
  13267. },
  13268. "url": {
  13269. "description": "URL",
  13270. "type": "string"
  13271. }
  13272. }
  13273. },
  13274. "common.QueryImageConfigsRsp": {
  13275. "type": "object",
  13276. "required": [
  13277. "configid"
  13278. ],
  13279. "properties": {
  13280. "areauserid": {
  13281. "description": "所属机构ID",
  13282. "type": "integer"
  13283. },
  13284. "configid": {
  13285. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13286. "type": "integer"
  13287. },
  13288. "createdate": {
  13289. "description": "创建时间",
  13290. "type": "string"
  13291. },
  13292. "creatorid": {
  13293. "description": "创建人",
  13294. "type": "integer"
  13295. },
  13296. "imagepath": {
  13297. "description": "图片",
  13298. "type": "string"
  13299. },
  13300. "imagetype": {
  13301. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13302. "type": "integer"
  13303. },
  13304. "isshow": {
  13305. "description": "是否展示 - 0:不展示 1:展示",
  13306. "type": "integer"
  13307. },
  13308. "marketid": {
  13309. "description": "市场ID",
  13310. "type": "integer"
  13311. },
  13312. "modifierid": {
  13313. "description": "操作人",
  13314. "type": "integer"
  13315. },
  13316. "sort": {
  13317. "description": "排序",
  13318. "type": "integer"
  13319. },
  13320. "title": {
  13321. "description": "标题",
  13322. "type": "string"
  13323. },
  13324. "trademode": {
  13325. "description": "交易模式",
  13326. "type": "integer"
  13327. },
  13328. "updatedate": {
  13329. "description": "修改时间",
  13330. "type": "string"
  13331. },
  13332. "url": {
  13333. "description": "链接(地址或商品ID)",
  13334. "type": "string"
  13335. },
  13336. "urltype": {
  13337. "description": "链接类型 - 1:直接地址 2:商品ID",
  13338. "type": "integer"
  13339. }
  13340. }
  13341. },
  13342. "common.QueryNoticeRsp": {
  13343. "type": "object",
  13344. "required": [
  13345. "autoid"
  13346. ],
  13347. "properties": {
  13348. "auditoruserid": {
  13349. "description": "审核人",
  13350. "type": "integer"
  13351. },
  13352. "auditremark": {
  13353. "description": "审核备注",
  13354. "type": "string"
  13355. },
  13356. "audittime": {
  13357. "description": "审核日期",
  13358. "type": "string"
  13359. },
  13360. "autoid": {
  13361. "description": "自增ID",
  13362. "type": "integer"
  13363. },
  13364. "content": {
  13365. "description": "内容",
  13366. "type": "string"
  13367. },
  13368. "createtime": {
  13369. "description": "创建时间",
  13370. "type": "string"
  13371. },
  13372. "creatorid": {
  13373. "description": "建仓人",
  13374. "type": "integer"
  13375. },
  13376. "endtime": {
  13377. "description": "结束时间",
  13378. "type": "string"
  13379. },
  13380. "istop": {
  13381. "description": "是否置顶 - 0:不置顶 1:置顶",
  13382. "type": "integer"
  13383. },
  13384. "msgiconurl": {
  13385. "description": "消息图标Url",
  13386. "type": "string"
  13387. },
  13388. "msgtype": {
  13389. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13390. "type": "integer"
  13391. },
  13392. "publisher": {
  13393. "description": "消息发布者",
  13394. "type": "string"
  13395. },
  13396. "readed": {
  13397. "description": "是否已读",
  13398. "type": "boolean"
  13399. },
  13400. "scheduletime": {
  13401. "description": "计划发送时间",
  13402. "type": "string"
  13403. },
  13404. "sendtype": {
  13405. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13406. "type": "integer"
  13407. },
  13408. "sentstatus": {
  13409. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13410. "type": "integer"
  13411. },
  13412. "title": {
  13413. "description": "标题",
  13414. "type": "string"
  13415. },
  13416. "userid": {
  13417. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13418. "type": "integer"
  13419. }
  13420. }
  13421. },
  13422. "common.QueryProvincesAndCitiesRsp": {
  13423. "type": "object",
  13424. "properties": {
  13425. "cities": {
  13426. "description": "市",
  13427. "type": "array",
  13428. "items": {
  13429. "$ref": "#/definitions/models.Division"
  13430. }
  13431. },
  13432. "province": {
  13433. "description": "省",
  13434. "type": "object",
  13435. "$ref": "#/definitions/models.Division"
  13436. }
  13437. }
  13438. },
  13439. "common.QueryTableDefineRsp": {
  13440. "type": "object",
  13441. "required": [
  13442. "tablekey"
  13443. ],
  13444. "properties": {
  13445. "columns": {
  13446. "description": "列头信息数组",
  13447. "type": "array",
  13448. "items": {
  13449. "$ref": "#/definitions/models.Tablecolumnconfig"
  13450. }
  13451. },
  13452. "remark": {
  13453. "description": "Remark",
  13454. "type": "string"
  13455. },
  13456. "tabelmenu": {
  13457. "description": "列表菜单",
  13458. "type": "string"
  13459. },
  13460. "tablekey": {
  13461. "description": "列表Key",
  13462. "type": "string"
  13463. },
  13464. "tablename": {
  13465. "description": "列表名称",
  13466. "type": "string"
  13467. },
  13468. "tabletype": {
  13469. "description": "列表类型 - 1:管理端 2:终端",
  13470. "type": "integer"
  13471. }
  13472. }
  13473. },
  13474. "common.QueryTraderMenuRsp": {
  13475. "type": "object",
  13476. "properties": {
  13477. "OperationMenu": {
  13478. "description": "功能菜单",
  13479. "type": "array",
  13480. "items": {
  13481. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13482. }
  13483. },
  13484. "QuoteMenu": {
  13485. "description": "报价牌分类菜单",
  13486. "type": "array",
  13487. "items": {
  13488. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13489. }
  13490. }
  13491. }
  13492. },
  13493. "cptrade.Cptradepositioncancel": {
  13494. "type": "object",
  13495. "required": [
  13496. "cancelid"
  13497. ],
  13498. "properties": {
  13499. "accountid": {
  13500. "description": "申请人账户ID",
  13501. "type": "integer"
  13502. },
  13503. "applystatus": {
  13504. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13505. "type": "integer"
  13506. },
  13507. "applytime": {
  13508. "description": "申请时间",
  13509. "type": "string"
  13510. },
  13511. "cancelid": {
  13512. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13513. "type": "integer"
  13514. },
  13515. "cancelqty": {
  13516. "description": "注销数量",
  13517. "type": "integer"
  13518. },
  13519. "createtime": {
  13520. "description": "创建时间",
  13521. "type": "string"
  13522. },
  13523. "creatorid": {
  13524. "description": "创建人ID",
  13525. "type": "integer"
  13526. },
  13527. "creatorname": {
  13528. "description": "创建人",
  13529. "type": "string"
  13530. },
  13531. "goodscode": {
  13532. "description": "订单商品代码",
  13533. "type": "string"
  13534. },
  13535. "goodsid": {
  13536. "description": "商品ID",
  13537. "type": "integer"
  13538. },
  13539. "goodsname": {
  13540. "description": "订单商品名称",
  13541. "type": "string"
  13542. },
  13543. "goodunit": {
  13544. "description": "报价单位",
  13545. "type": "string"
  13546. },
  13547. "handlestatus": {
  13548. "description": "处理状态",
  13549. "type": "integer"
  13550. },
  13551. "marketid": {
  13552. "description": "市场ID",
  13553. "type": "integer"
  13554. },
  13555. "marketname": {
  13556. "description": "市场名称",
  13557. "type": "string"
  13558. },
  13559. "tradedate": {
  13560. "description": "交易日(yyyyMMdd)",
  13561. "type": "string"
  13562. },
  13563. "userid": {
  13564. "description": "申请人ID",
  13565. "type": "integer"
  13566. }
  13567. }
  13568. },
  13569. "cptrade.Cptradepresaleapply": {
  13570. "type": "object",
  13571. "required": [
  13572. "applyid"
  13573. ],
  13574. "properties": {
  13575. "accountid": {
  13576. "description": "申请人账户ID",
  13577. "type": "integer"
  13578. },
  13579. "applyid": {
  13580. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13581. "type": "integer"
  13582. },
  13583. "applyremark": {
  13584. "description": "申请备注",
  13585. "type": "string"
  13586. },
  13587. "applystatus": {
  13588. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13589. "type": "integer"
  13590. },
  13591. "applytime": {
  13592. "description": "申请时间",
  13593. "type": "string"
  13594. },
  13595. "attachmenturl": {
  13596. "description": "附件地址",
  13597. "type": "string"
  13598. },
  13599. "endtime": {
  13600. "description": "预售结束时间",
  13601. "type": "string"
  13602. },
  13603. "goodscode": {
  13604. "description": "商品代码",
  13605. "type": "string"
  13606. },
  13607. "goodsid": {
  13608. "description": "商品ID",
  13609. "type": "integer"
  13610. },
  13611. "goodsname": {
  13612. "description": "商品名称",
  13613. "type": "string"
  13614. },
  13615. "goodunit": {
  13616. "description": "报价单位",
  13617. "type": "string"
  13618. },
  13619. "handlestatus": {
  13620. "description": "处理状态",
  13621. "type": "integer"
  13622. },
  13623. "marketid": {
  13624. "description": "预售市场ID",
  13625. "type": "integer"
  13626. },
  13627. "marketname": {
  13628. "description": "预售市场名称",
  13629. "type": "string"
  13630. },
  13631. "presaleqty": {
  13632. "description": "预售数量",
  13633. "type": "integer"
  13634. },
  13635. "relatedgoodscode": {
  13636. "description": "关联交易合约代码",
  13637. "type": "string"
  13638. },
  13639. "relatedgoodsid": {
  13640. "description": "关联交易合约ID",
  13641. "type": "integer"
  13642. },
  13643. "relatedgoodsname": {
  13644. "description": "关联交易合约名称",
  13645. "type": "string"
  13646. },
  13647. "starttime": {
  13648. "description": "预售开始时间",
  13649. "type": "string"
  13650. },
  13651. "tradedate": {
  13652. "description": "交易日(yyyyMMdd)",
  13653. "type": "string"
  13654. },
  13655. "trademode": {
  13656. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13657. "type": "integer"
  13658. },
  13659. "userid": {
  13660. "description": "申请人ID",
  13661. "type": "integer"
  13662. }
  13663. }
  13664. },
  13665. "cptrade.Cptradeusergoodsdata": {
  13666. "type": "object",
  13667. "required": [
  13668. "accountid",
  13669. "goodsid"
  13670. ],
  13671. "properties": {
  13672. "EnabledQty": {
  13673. "description": "可用量",
  13674. "type": "integer"
  13675. },
  13676. "GoodsCode": {
  13677. "description": "订单商品代码",
  13678. "type": "string"
  13679. },
  13680. "GoodsName": {
  13681. "description": "订单商品名称",
  13682. "type": "string"
  13683. },
  13684. "WRStandardCode": {
  13685. "description": "仓单标准代码",
  13686. "type": "string"
  13687. },
  13688. "WRStandardName": {
  13689. "description": "仓单标准名称",
  13690. "type": "string"
  13691. },
  13692. "accountid": {
  13693. "description": "账户ID",
  13694. "type": "integer"
  13695. },
  13696. "cancelqty": {
  13697. "description": "注销量",
  13698. "type": "integer"
  13699. },
  13700. "curpresaleqty": {
  13701. "description": "当前预售量",
  13702. "type": "integer"
  13703. },
  13704. "deliveryqty": {
  13705. "description": "交割量",
  13706. "type": "integer"
  13707. },
  13708. "freezeamount": {
  13709. "description": "冻结金额",
  13710. "type": "number"
  13711. },
  13712. "goodsid": {
  13713. "description": "商品ID",
  13714. "type": "integer"
  13715. },
  13716. "goodunit": {
  13717. "description": "报价单位",
  13718. "type": "string"
  13719. },
  13720. "hasspotfreeze": {
  13721. "description": "是否有现货冻结 - 0:否 1:有",
  13722. "type": "integer"
  13723. },
  13724. "inqty": {
  13725. "description": "转入量(总数量)",
  13726. "type": "integer"
  13727. },
  13728. "marketid": {
  13729. "description": "市场ID",
  13730. "type": "integer"
  13731. },
  13732. "presaledamount": {
  13733. "description": "已预售总金额",
  13734. "type": "integer"
  13735. },
  13736. "presaledqty": {
  13737. "description": "已预售量",
  13738. "type": "integer"
  13739. },
  13740. "userid": {
  13741. "description": "用户ID",
  13742. "type": "integer"
  13743. },
  13744. "wrstandardid": {
  13745. "description": "仓单标准ID",
  13746. "type": "integer"
  13747. }
  13748. }
  13749. },
  13750. "cptrade.QueryCPTradeMyBidRsp": {
  13751. "type": "object",
  13752. "required": [
  13753. "accountid",
  13754. "goodsid",
  13755. "marketid",
  13756. "orderid",
  13757. "orderqty",
  13758. "ordertime",
  13759. "tradeprice",
  13760. "tradeqty"
  13761. ],
  13762. "properties": {
  13763. "accountid": {
  13764. "description": "账户ID[报价币种]",
  13765. "type": "integer"
  13766. },
  13767. "goodsid": {
  13768. "description": "商品ID",
  13769. "type": "integer"
  13770. },
  13771. "goodunit": {
  13772. "description": "报价单位",
  13773. "type": "string"
  13774. },
  13775. "marketid": {
  13776. "description": "市场ID",
  13777. "type": "integer"
  13778. },
  13779. "orderid": {
  13780. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13781. "type": "integer"
  13782. },
  13783. "orderprice": {
  13784. "description": "委托价格",
  13785. "type": "number"
  13786. },
  13787. "orderqty": {
  13788. "description": "委托数量",
  13789. "type": "integer"
  13790. },
  13791. "ordertime": {
  13792. "description": "委托时间",
  13793. "type": "string"
  13794. },
  13795. "ordertotalprice": {
  13796. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13797. "type": "number"
  13798. },
  13799. "ordertotalweight": {
  13800. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13801. "type": "integer"
  13802. },
  13803. "totaltotalprice": {
  13804. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13805. "type": "number"
  13806. },
  13807. "tradeprice": {
  13808. "description": "成交价格",
  13809. "type": "number"
  13810. },
  13811. "tradeqty": {
  13812. "description": "成交数量",
  13813. "type": "integer"
  13814. }
  13815. }
  13816. },
  13817. "cptrade.QueryCPTradeOrderDetailRsq": {
  13818. "type": "object",
  13819. "required": [
  13820. "accountid",
  13821. "buildtype",
  13822. "buyorsell",
  13823. "goodsid",
  13824. "marketid",
  13825. "memberuserid",
  13826. "operatetype",
  13827. "orderqty",
  13828. "ordertime",
  13829. "pricemode",
  13830. "strorderid",
  13831. "tradedate",
  13832. "validtype"
  13833. ],
  13834. "properties": {
  13835. "accountid": {
  13836. "description": "账户ID[报价币种]",
  13837. "type": "integer"
  13838. },
  13839. "buildtype": {
  13840. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13841. "type": "integer"
  13842. },
  13843. "buyorsell": {
  13844. "description": "买卖 - 0:买 1:卖",
  13845. "type": "integer"
  13846. },
  13847. "cancelorderid": {
  13848. "description": "撤单单号(撤单时填写)",
  13849. "type": "integer"
  13850. },
  13851. "cancelqty": {
  13852. "description": "撤单数量",
  13853. "type": "integer"
  13854. },
  13855. "clientordertime": {
  13856. "description": "客户端委托时间",
  13857. "type": "string"
  13858. },
  13859. "clientticket": {
  13860. "description": "客户端流水号",
  13861. "type": "string"
  13862. },
  13863. "clienttype": {
  13864. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13865. "type": "integer"
  13866. },
  13867. "closeexchagechargevalue": {
  13868. "description": "平仓交易所手续费设置值",
  13869. "type": "number"
  13870. },
  13871. "closefeealgorithm": {
  13872. "description": "平仓手续费收取方式 1:比率 2:固定",
  13873. "type": "integer"
  13874. },
  13875. "closefreezecharge": {
  13876. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13877. "type": "number"
  13878. },
  13879. "closememberchargevalue": {
  13880. "description": "平仓会员手续费设置值",
  13881. "type": "number"
  13882. },
  13883. "closeqty": {
  13884. "description": "平仓数量(先建后平操作 需要记录)",
  13885. "type": "integer"
  13886. },
  13887. "closetradeqty": {
  13888. "description": "平仓成交数量(先建后平操作,需要记录)",
  13889. "type": "integer"
  13890. },
  13891. "closeunfreezecharge": {
  13892. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13893. "type": "number"
  13894. },
  13895. "delistingtype": {
  13896. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13897. "type": "integer"
  13898. },
  13899. "freezecharge": {
  13900. "description": "冻结手续费",
  13901. "type": "number"
  13902. },
  13903. "freezemargin": {
  13904. "description": "冻结保证金(冻结交易金额)",
  13905. "type": "number"
  13906. },
  13907. "gcaccountid": {
  13908. "description": "账户ID[合约币种]",
  13909. "type": "integer"
  13910. },
  13911. "goodsid": {
  13912. "description": "商品ID",
  13913. "type": "integer"
  13914. },
  13915. "isconfirmexercise": {
  13916. "description": "是否确认行权- 0:否 1:是",
  13917. "type": "integer"
  13918. },
  13919. "ispreexercise": {
  13920. "description": "是否预申报- 0:否 1:是",
  13921. "type": "integer"
  13922. },
  13923. "listingselecttype": {
  13924. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13925. "type": "integer"
  13926. },
  13927. "marginalgorithm": {
  13928. "description": "保证金收取方式 1:比率 2:固定",
  13929. "type": "integer"
  13930. },
  13931. "marginvalue": {
  13932. "description": "即市保证金设置值",
  13933. "type": "number"
  13934. },
  13935. "marketid": {
  13936. "description": "市场ID",
  13937. "type": "integer"
  13938. },
  13939. "marketmaxsub": {
  13940. "description": "市价最大偏移范围",
  13941. "type": "number"
  13942. },
  13943. "memberuserid": {
  13944. "description": "所属会员UserID",
  13945. "type": "integer"
  13946. },
  13947. "openexchagechargevalue": {
  13948. "description": "建仓交易所手续费设置值",
  13949. "type": "number"
  13950. },
  13951. "openfeealgorithm": {
  13952. "description": "建仓手续费收取方式 1:比率 2:固定",
  13953. "type": "integer"
  13954. },
  13955. "openfreezecharge": {
  13956. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13957. "type": "number"
  13958. },
  13959. "openmemberchargevalue": {
  13960. "description": "建仓会员手续费设置值",
  13961. "type": "number"
  13962. },
  13963. "openqty": {
  13964. "description": "开仓数量(先建后平操作,需要记录)",
  13965. "type": "integer"
  13966. },
  13967. "opentradeqty": {
  13968. "description": "开仓成交数量(先建后平操作,需要记录)",
  13969. "type": "integer"
  13970. },
  13971. "openunfreezecharge": {
  13972. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13973. "type": "number"
  13974. },
  13975. "operatetype": {
  13976. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13977. "type": "integer"
  13978. },
  13979. "operatorid": {
  13980. "description": "登录账号(LoginID)",
  13981. "type": "integer"
  13982. },
  13983. "optiontype": {
  13984. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13985. "type": "integer"
  13986. },
  13987. "orderprice": {
  13988. "description": "委托价格",
  13989. "type": "number"
  13990. },
  13991. "orderqty": {
  13992. "description": "委托数量",
  13993. "type": "integer"
  13994. },
  13995. "ordersrc": {
  13996. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13997. "type": "integer"
  13998. },
  13999. "orderstatus": {
  14000. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14001. "type": "integer"
  14002. },
  14003. "ordertime": {
  14004. "description": "委托时间",
  14005. "type": "string"
  14006. },
  14007. "preexerciseprice": {
  14008. "description": "预申报价格",
  14009. "type": "number"
  14010. },
  14011. "premium": {
  14012. "description": "权利金",
  14013. "type": "number"
  14014. },
  14015. "preorderid": {
  14016. "description": "关联预埋单号(止盈止损单时填写)",
  14017. "type": "integer"
  14018. },
  14019. "pricemode": {
  14020. "description": "取价方式 - 1:市价 2: 限价",
  14021. "type": "integer"
  14022. },
  14023. "quoteid": {
  14024. "description": "报价单ID",
  14025. "type": "integer"
  14026. },
  14027. "relatedid": {
  14028. "description": "关联单号(交割单)",
  14029. "type": "integer"
  14030. },
  14031. "retcode": {
  14032. "description": "错误代码",
  14033. "type": "integer"
  14034. },
  14035. "sessionid": {
  14036. "description": "会话ID",
  14037. "type": "integer"
  14038. },
  14039. "strorderid": {
  14040. "description": "委托单号",
  14041. "type": "string"
  14042. },
  14043. "tradedate": {
  14044. "description": "交易日(yyyyMMdd)",
  14045. "type": "string"
  14046. },
  14047. "tradeproperty": {
  14048. "description": "交易属性",
  14049. "type": "integer"
  14050. },
  14051. "tradeqty": {
  14052. "description": "成交数量",
  14053. "type": "integer"
  14054. },
  14055. "unfreezecharge": {
  14056. "description": "解冻手续费",
  14057. "type": "number"
  14058. },
  14059. "unfreezemargin": {
  14060. "description": "解冻保证金",
  14061. "type": "number"
  14062. },
  14063. "updatetime": {
  14064. "description": "更新时间",
  14065. "type": "string"
  14066. },
  14067. "uuid": {
  14068. "description": "发起端唯一id",
  14069. "type": "string"
  14070. },
  14071. "validtime": {
  14072. "description": "有效期限",
  14073. "type": "string"
  14074. },
  14075. "validtype": {
  14076. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14077. "type": "integer"
  14078. },
  14079. "volumetype": {
  14080. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14081. "type": "integer"
  14082. }
  14083. }
  14084. },
  14085. "cptrade.QueryMyCPTradeGoodsRsp": {
  14086. "type": "object",
  14087. "required": [
  14088. "goodscode",
  14089. "goodsid",
  14090. "goodsname",
  14091. "marketid",
  14092. "relatedgoodscode",
  14093. "relatedgoodsname"
  14094. ],
  14095. "properties": {
  14096. "accountid": {
  14097. "description": "卖方账户ID",
  14098. "type": "integer"
  14099. },
  14100. "agreeunit": {
  14101. "description": "合约单位",
  14102. "type": "number"
  14103. },
  14104. "applyid": {
  14105. "description": "关联申请ID",
  14106. "type": "integer"
  14107. },
  14108. "attachmenturl": {
  14109. "description": "附件地址",
  14110. "type": "string"
  14111. },
  14112. "createtime": {
  14113. "description": "创建时间",
  14114. "type": "string"
  14115. },
  14116. "currencyid": {
  14117. "description": "报价货币ID",
  14118. "type": "integer"
  14119. },
  14120. "decimalplace": {
  14121. "description": "报价小数位",
  14122. "type": "integer"
  14123. },
  14124. "endtime": {
  14125. "description": "预售结束时间",
  14126. "type": "string"
  14127. },
  14128. "floorprice": {
  14129. "description": "底价[大宗式竞拍]",
  14130. "type": "number"
  14131. },
  14132. "goodscode": {
  14133. "description": "商品代码(预售)",
  14134. "type": "string"
  14135. },
  14136. "goodsdetail": {
  14137. "description": "详情[大宗]",
  14138. "type": "string"
  14139. },
  14140. "goodsid": {
  14141. "description": "商品ID(自增ID SEQ_GOODS)",
  14142. "type": "integer"
  14143. },
  14144. "goodsname": {
  14145. "description": "商品名称(预售)",
  14146. "type": "string"
  14147. },
  14148. "goodunit": {
  14149. "description": "报价单位",
  14150. "type": "string"
  14151. },
  14152. "goodunitid": {
  14153. "description": "报价单位ID",
  14154. "type": "integer"
  14155. },
  14156. "marketid": {
  14157. "description": "所属市场ID",
  14158. "type": "integer"
  14159. },
  14160. "marketname": {
  14161. "description": "预售市场名称",
  14162. "type": "string"
  14163. },
  14164. "presaledamount": {
  14165. "description": "已预售总金额(预售结束时更新)",
  14166. "type": "number"
  14167. },
  14168. "presaledqty": {
  14169. "description": "已预售量(预售结束时更新)",
  14170. "type": "integer"
  14171. },
  14172. "presalemode": {
  14173. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14174. "type": "integer"
  14175. },
  14176. "presaleqty": {
  14177. "description": "预售数量",
  14178. "type": "integer"
  14179. },
  14180. "refprice": {
  14181. "description": "参考价格[一口价]",
  14182. "type": "number"
  14183. },
  14184. "relatedgoodscode": {
  14185. "description": "商品代码(订单)",
  14186. "type": "string"
  14187. },
  14188. "relatedgoodsid": {
  14189. "description": "关联交易合约ID",
  14190. "type": "integer"
  14191. },
  14192. "relatedgoodsname": {
  14193. "description": "商品名称(订单)",
  14194. "type": "string"
  14195. },
  14196. "relatedmarketid": {
  14197. "description": "关联交易合约市场ID",
  14198. "type": "integer"
  14199. },
  14200. "sellstatus": {
  14201. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14202. "type": "integer"
  14203. },
  14204. "startprice": {
  14205. "description": "起拍价[大宗式竞拍]",
  14206. "type": "number"
  14207. },
  14208. "starttime": {
  14209. "description": "预售开始时间",
  14210. "type": "string"
  14211. },
  14212. "tradedate": {
  14213. "description": "交易日(yyyyMMdd)",
  14214. "type": "string"
  14215. },
  14216. "tradeprice": {
  14217. "description": "成交价[大宗]",
  14218. "type": "number"
  14219. },
  14220. "userid": {
  14221. "description": "卖方用户ID",
  14222. "type": "integer"
  14223. }
  14224. }
  14225. },
  14226. "cptrade.QueryPresaleGoodsExRsp": {
  14227. "type": "object",
  14228. "required": [
  14229. "goodsid"
  14230. ],
  14231. "properties": {
  14232. "attachmenturl": {
  14233. "description": "附件地址",
  14234. "type": "string"
  14235. },
  14236. "createtime": {
  14237. "description": "创建时间",
  14238. "type": "string"
  14239. },
  14240. "endtime": {
  14241. "description": "预售结束时间",
  14242. "type": "string"
  14243. },
  14244. "floorprice": {
  14245. "description": "底价[大宗式竞拍]",
  14246. "type": "number"
  14247. },
  14248. "goodsdetail": {
  14249. "description": "详情[大宗]",
  14250. "type": "string"
  14251. },
  14252. "goodsid": {
  14253. "description": "商品ID(预售)",
  14254. "type": "integer"
  14255. },
  14256. "goodunit": {
  14257. "description": "报价单位",
  14258. "type": "string"
  14259. },
  14260. "marketid": {
  14261. "description": "预售市场ID - 根据预售模式选择市场",
  14262. "type": "integer"
  14263. },
  14264. "presaledamount": {
  14265. "description": "已预售总金额(预售结束时更新)",
  14266. "type": "number"
  14267. },
  14268. "presaledqty": {
  14269. "description": "已预售量(预售结束时更新)",
  14270. "type": "integer"
  14271. },
  14272. "presalemode": {
  14273. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14274. "type": "integer"
  14275. },
  14276. "presaleqty": {
  14277. "description": "预售数量",
  14278. "type": "integer"
  14279. },
  14280. "refprice": {
  14281. "description": "参考价格[一口价]",
  14282. "type": "number"
  14283. },
  14284. "relatedgoodsid": {
  14285. "description": "关联交易合约ID",
  14286. "type": "integer"
  14287. },
  14288. "relatedmarketid": {
  14289. "description": "关联交易合约市场ID",
  14290. "type": "integer"
  14291. },
  14292. "sellstatus": {
  14293. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14294. "type": "integer"
  14295. },
  14296. "startprice": {
  14297. "description": "起拍价[大宗式竞拍]",
  14298. "type": "number"
  14299. },
  14300. "starttime": {
  14301. "description": "预售开始时间",
  14302. "type": "string"
  14303. },
  14304. "tradedate": {
  14305. "description": "交易日(yyyyMMdd)",
  14306. "type": "string"
  14307. },
  14308. "tradeprice": {
  14309. "description": "成交价[大宗]",
  14310. "type": "number"
  14311. }
  14312. }
  14313. },
  14314. "delivery.QueryDeliveryRelationRsp": {
  14315. "type": "object",
  14316. "required": [
  14317. "begindate",
  14318. "enddate",
  14319. "goodsid",
  14320. "mindeliveryqty",
  14321. "xdeliveryratio"
  14322. ],
  14323. "properties": {
  14324. "begindate": {
  14325. "description": "起始日期(yyyyMMdd)",
  14326. "type": "string"
  14327. },
  14328. "buytemplateid": {
  14329. "description": "买履约计划模板ID",
  14330. "type": "integer"
  14331. },
  14332. "deliverygoodscode": {
  14333. "description": "品种代码",
  14334. "type": "string"
  14335. },
  14336. "deliverygoodsid": {
  14337. "description": "交割商品",
  14338. "type": "integer"
  14339. },
  14340. "deliverygoodsname": {
  14341. "description": "品种名称",
  14342. "type": "string"
  14343. },
  14344. "deliverymode": {
  14345. "description": "交割方式 - 1:点选式 2:申报式",
  14346. "type": "integer"
  14347. },
  14348. "deliverypricerule": {
  14349. "description": "交割价规则- 1:行情价 2:建仓价",
  14350. "type": "integer"
  14351. },
  14352. "deliverytype": {
  14353. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14354. "type": "integer"
  14355. },
  14356. "enddate": {
  14357. "description": "结束日期(yyyyMMdd)",
  14358. "type": "string"
  14359. },
  14360. "enumdicname": {
  14361. "description": "品类单位名称",
  14362. "type": "string"
  14363. },
  14364. "goodscode": {
  14365. "description": "商品代码",
  14366. "type": "string"
  14367. },
  14368. "goodsid": {
  14369. "description": "交易合约ID",
  14370. "type": "integer"
  14371. },
  14372. "goodsname": {
  14373. "description": "商品名称",
  14374. "type": "string"
  14375. },
  14376. "marketid": {
  14377. "description": "市场ID",
  14378. "type": "integer"
  14379. },
  14380. "mindeliveryqty": {
  14381. "description": "最小交割系数(K)",
  14382. "type": "integer"
  14383. },
  14384. "p2deliveryprice": {
  14385. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14386. "type": "number"
  14387. },
  14388. "p2deliveryratio": {
  14389. "description": "P2合约系数(p)",
  14390. "type": "integer"
  14391. },
  14392. "p2goodsid": {
  14393. "description": "P2合约ID",
  14394. "type": "integer"
  14395. },
  14396. "p2pricemode": {
  14397. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14398. "type": "integer"
  14399. },
  14400. "pdeliveryprice": {
  14401. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14402. "type": "number"
  14403. },
  14404. "pdeliveryratio": {
  14405. "description": "P合约系数(n)",
  14406. "type": "integer"
  14407. },
  14408. "pgoodscode": {
  14409. "description": "p合约代码",
  14410. "type": "string"
  14411. },
  14412. "pgoodsid": {
  14413. "description": "P合约ID",
  14414. "type": "integer"
  14415. },
  14416. "ppricemode": {
  14417. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14418. "type": "integer"
  14419. },
  14420. "rratio": {
  14421. "description": "兑换系数(R)",
  14422. "type": "integer"
  14423. },
  14424. "rratio1": {
  14425. "description": "兑换系数(交易合约)(R1)",
  14426. "type": "integer"
  14427. },
  14428. "rratio2": {
  14429. "description": "兑换系数(仓单标准)(R2)",
  14430. "type": "integer"
  14431. },
  14432. "selltemplateid": {
  14433. "description": "卖履约计划模板ID",
  14434. "type": "integer"
  14435. },
  14436. "wrstandardid": {
  14437. "description": "仓单标准ID",
  14438. "type": "integer"
  14439. },
  14440. "xdeliveryratio": {
  14441. "description": "交易合约系数(m)",
  14442. "type": "integer"
  14443. }
  14444. }
  14445. },
  14446. "ermcp.ExposureDetailRsp": {
  14447. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  14448. },
  14449. "ermcp.ExposureHedgePosDetailRsp": {
  14450. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  14451. },
  14452. "ermcp.ExposureHedgePositionRsp": {
  14453. "$ref": "#/definitions/models.ErmcpHedgePosition"
  14454. },
  14455. "ermcp.ExposureSpotDetailRsp": {
  14456. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  14457. },
  14458. "ermcp.ExposureSpotRsp": {
  14459. "$ref": "#/definitions/models.AreaSpotModel"
  14460. },
  14461. "ermcp.HisExposureRsp": {
  14462. "$ref": "#/definitions/models.ErmcpHisExposureS"
  14463. },
  14464. "ermcp.PendingAuditCntRsp": {
  14465. "$ref": "#/definitions/models.ErmcpPendingAudit"
  14466. },
  14467. "ermcp.QryAvalidGPRsp": {
  14468. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  14469. },
  14470. "ermcp.QryBusinessDjRsp": {
  14471. "type": "object",
  14472. "properties": {
  14473. "amount": {
  14474. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14475. "type": "number"
  14476. },
  14477. "applyid": {
  14478. "description": "申请人",
  14479. "type": "string"
  14480. },
  14481. "applyname": {
  14482. "description": "申请人名称",
  14483. "type": "string"
  14484. },
  14485. "applystatus": {
  14486. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14487. "type": "integer"
  14488. },
  14489. "applytime": {
  14490. "description": "申请时间",
  14491. "type": "string"
  14492. },
  14493. "attachurl": {
  14494. "description": "附件",
  14495. "type": "string"
  14496. },
  14497. "auditid": {
  14498. "description": "审核人ID",
  14499. "type": "string"
  14500. },
  14501. "auditname": {
  14502. "description": "审核人名称",
  14503. "type": "string"
  14504. },
  14505. "audittime": {
  14506. "description": "审核时间",
  14507. "type": "string"
  14508. },
  14509. "buyusername": {
  14510. "description": "采购方名称",
  14511. "type": "string"
  14512. },
  14513. "contractno": {
  14514. "description": "合同编号",
  14515. "type": "string"
  14516. },
  14517. "contractstatus": {
  14518. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14519. "type": "integer"
  14520. },
  14521. "contracttype": {
  14522. "description": "现货合同类型 - 1:采购 -1:销售",
  14523. "type": "integer"
  14524. },
  14525. "deliverygoodscode": {
  14526. "description": "现货品种代码",
  14527. "type": "string"
  14528. },
  14529. "deliverygoodsid": {
  14530. "description": "现货商品ID",
  14531. "type": "integer"
  14532. },
  14533. "deliverygoodsname": {
  14534. "description": "现货品种名称",
  14535. "type": "string"
  14536. },
  14537. "enumdicname": {
  14538. "description": "单位名称",
  14539. "type": "string"
  14540. },
  14541. "goodscode": {
  14542. "description": "点价合约",
  14543. "type": "string"
  14544. },
  14545. "goodsname": {
  14546. "description": "商品名称",
  14547. "type": "string"
  14548. },
  14549. "operateapplyid": {
  14550. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14551. "type": "string"
  14552. },
  14553. "operateapplytype": {
  14554. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14555. "type": "integer"
  14556. },
  14557. "pricedPrice": {
  14558. "description": "点价价格(非必填)",
  14559. "type": "number"
  14560. },
  14561. "pricedQty": {
  14562. "description": "点价数量(非必填)",
  14563. "type": "number"
  14564. },
  14565. "pricemove": {
  14566. "description": "升贴水",
  14567. "type": "number"
  14568. },
  14569. "pricetype": {
  14570. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14571. "type": "integer"
  14572. },
  14573. "relatedid": {
  14574. "description": "现货合同ID",
  14575. "type": "string"
  14576. },
  14577. "sellusername": {
  14578. "description": "销售方名字",
  14579. "type": "string"
  14580. },
  14581. "userid": {
  14582. "description": "用户ID",
  14583. "type": "integer"
  14584. },
  14585. "wrstandardcode": {
  14586. "description": "品类代码",
  14587. "type": "string"
  14588. },
  14589. "wrstandardid": {
  14590. "description": "品类id",
  14591. "type": "integer"
  14592. },
  14593. "wrstandardname": {
  14594. "description": "品类名称",
  14595. "type": "string"
  14596. }
  14597. }
  14598. },
  14599. "ermcp.QryBussinessFpRsp": {
  14600. "type": "object",
  14601. "properties": {
  14602. "applyid": {
  14603. "description": "申请人",
  14604. "type": "string"
  14605. },
  14606. "applyname": {
  14607. "description": "申请人名称",
  14608. "type": "string"
  14609. },
  14610. "applystatus": {
  14611. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14612. "type": "integer"
  14613. },
  14614. "applytime": {
  14615. "description": "申请时间",
  14616. "type": "string"
  14617. },
  14618. "attachurl": {
  14619. "description": "附件",
  14620. "type": "string"
  14621. },
  14622. "auditid": {
  14623. "description": "审核人ID",
  14624. "type": "string"
  14625. },
  14626. "auditname": {
  14627. "description": "审核人名称",
  14628. "type": "string"
  14629. },
  14630. "audittime": {
  14631. "description": "审核时间",
  14632. "type": "string"
  14633. },
  14634. "buyusername": {
  14635. "description": "采购方名称",
  14636. "type": "string"
  14637. },
  14638. "contractno": {
  14639. "description": "合同编号",
  14640. "type": "string"
  14641. },
  14642. "contractstatus": {
  14643. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14644. "type": "integer"
  14645. },
  14646. "contracttype": {
  14647. "description": "现货合同类型 - 1:采购 -1:销售",
  14648. "type": "integer"
  14649. },
  14650. "deliverygoodscode": {
  14651. "description": "现货品种代码",
  14652. "type": "string"
  14653. },
  14654. "deliverygoodsid": {
  14655. "description": "现货商品ID",
  14656. "type": "integer"
  14657. },
  14658. "deliverygoodsname": {
  14659. "description": "现货品种名称",
  14660. "type": "string"
  14661. },
  14662. "enumdicname": {
  14663. "description": "单位名称",
  14664. "type": "string"
  14665. },
  14666. "goodscode": {
  14667. "description": "点价合约",
  14668. "type": "string"
  14669. },
  14670. "goodsname": {
  14671. "description": "商品名称",
  14672. "type": "string"
  14673. },
  14674. "invoiceAmount": {
  14675. "description": "已开收票金额(销售为开票,采购为收票)",
  14676. "type": "number"
  14677. },
  14678. "operateapplyid": {
  14679. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14680. "type": "string"
  14681. },
  14682. "operateapplytype": {
  14683. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14684. "type": "integer"
  14685. },
  14686. "pricemove": {
  14687. "description": "升贴水",
  14688. "type": "number"
  14689. },
  14690. "pricetype": {
  14691. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14692. "type": "integer"
  14693. },
  14694. "relatedid": {
  14695. "description": "现货合同ID",
  14696. "type": "string"
  14697. },
  14698. "sellusername": {
  14699. "description": "销售方名字",
  14700. "type": "string"
  14701. },
  14702. "userid": {
  14703. "description": "用户ID",
  14704. "type": "integer"
  14705. },
  14706. "wrstandardcode": {
  14707. "description": "品类代码",
  14708. "type": "string"
  14709. },
  14710. "wrstandardid": {
  14711. "description": "品类id",
  14712. "type": "integer"
  14713. },
  14714. "wrstandardname": {
  14715. "description": "品类名称",
  14716. "type": "string"
  14717. }
  14718. }
  14719. },
  14720. "ermcp.QryBussinessJsExRsp": {
  14721. "type": "object",
  14722. "properties": {
  14723. "applyid": {
  14724. "description": "申请人",
  14725. "type": "string"
  14726. },
  14727. "applyname": {
  14728. "description": "申请人名称",
  14729. "type": "string"
  14730. },
  14731. "applystatus": {
  14732. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14733. "type": "integer"
  14734. },
  14735. "applytime": {
  14736. "description": "申请时间",
  14737. "type": "string"
  14738. },
  14739. "attachurl": {
  14740. "description": "附件",
  14741. "type": "string"
  14742. },
  14743. "auditid": {
  14744. "description": "审核人ID",
  14745. "type": "string"
  14746. },
  14747. "auditname": {
  14748. "description": "审核人名称",
  14749. "type": "string"
  14750. },
  14751. "audittime": {
  14752. "description": "审核时间",
  14753. "type": "string"
  14754. },
  14755. "buyusername": {
  14756. "description": "采购方名称",
  14757. "type": "string"
  14758. },
  14759. "contractno": {
  14760. "description": "合同编号",
  14761. "type": "string"
  14762. },
  14763. "contractstatus": {
  14764. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14765. "type": "integer"
  14766. },
  14767. "contracttype": {
  14768. "description": "现货合同类型 - 1:采购 -1:销售",
  14769. "type": "integer"
  14770. },
  14771. "deliverygoodscode": {
  14772. "description": "现货品种代码",
  14773. "type": "string"
  14774. },
  14775. "deliverygoodsid": {
  14776. "description": "现货商品ID",
  14777. "type": "integer"
  14778. },
  14779. "deliverygoodsname": {
  14780. "description": "现货品种名称",
  14781. "type": "string"
  14782. },
  14783. "enumdicname": {
  14784. "description": "单位名称",
  14785. "type": "string"
  14786. },
  14787. "goodscode": {
  14788. "description": "点价合约",
  14789. "type": "string"
  14790. },
  14791. "goodsname": {
  14792. "description": "商品名称",
  14793. "type": "string"
  14794. },
  14795. "operateapplyid": {
  14796. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14797. "type": "string"
  14798. },
  14799. "operateapplytype": {
  14800. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14801. "type": "integer"
  14802. },
  14803. "pricemove": {
  14804. "description": "升贴水",
  14805. "type": "number"
  14806. },
  14807. "pricetype": {
  14808. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14809. "type": "integer"
  14810. },
  14811. "reckontype": {
  14812. "description": "结算类型",
  14813. "type": "string"
  14814. },
  14815. "reckonvalue": {
  14816. "description": "值",
  14817. "type": "number"
  14818. },
  14819. "relatedid": {
  14820. "description": "现货合同ID",
  14821. "type": "string"
  14822. },
  14823. "sellusername": {
  14824. "description": "销售方名字",
  14825. "type": "string"
  14826. },
  14827. "userid": {
  14828. "description": "用户ID",
  14829. "type": "integer"
  14830. },
  14831. "wrstandardcode": {
  14832. "description": "品类代码",
  14833. "type": "string"
  14834. },
  14835. "wrstandardid": {
  14836. "description": "品类id",
  14837. "type": "integer"
  14838. },
  14839. "wrstandardname": {
  14840. "description": "品类名称",
  14841. "type": "string"
  14842. }
  14843. }
  14844. },
  14845. "ermcp.QryBussinessJsRsp": {
  14846. "type": "object",
  14847. "properties": {
  14848. "addmargin": {
  14849. "description": "追加保证金(非必填)",
  14850. "type": "number"
  14851. },
  14852. "applyid": {
  14853. "description": "申请人",
  14854. "type": "string"
  14855. },
  14856. "applyname": {
  14857. "description": "申请人名称",
  14858. "type": "string"
  14859. },
  14860. "applystatus": {
  14861. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14862. "type": "integer"
  14863. },
  14864. "applytime": {
  14865. "description": "申请时间",
  14866. "type": "string"
  14867. },
  14868. "attachurl": {
  14869. "description": "附件",
  14870. "type": "string"
  14871. },
  14872. "auditid": {
  14873. "description": "审核人ID",
  14874. "type": "string"
  14875. },
  14876. "auditname": {
  14877. "description": "审核人名称",
  14878. "type": "string"
  14879. },
  14880. "audittime": {
  14881. "description": "审核时间",
  14882. "type": "string"
  14883. },
  14884. "buyusername": {
  14885. "description": "采购方名称",
  14886. "type": "string"
  14887. },
  14888. "contractno": {
  14889. "description": "合同编号",
  14890. "type": "string"
  14891. },
  14892. "contractstatus": {
  14893. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14894. "type": "integer"
  14895. },
  14896. "contracttype": {
  14897. "description": "现货合同类型 - 1:采购 -1:销售",
  14898. "type": "integer"
  14899. },
  14900. "decmargin": {
  14901. "description": "减少保证金(非必填)",
  14902. "type": "number"
  14903. },
  14904. "deliverygoodscode": {
  14905. "description": "现货品种代码",
  14906. "type": "string"
  14907. },
  14908. "deliverygoodsid": {
  14909. "description": "现货商品ID",
  14910. "type": "integer"
  14911. },
  14912. "deliverygoodsname": {
  14913. "description": "现货品种名称",
  14914. "type": "string"
  14915. },
  14916. "enumdicname": {
  14917. "description": "单位名称",
  14918. "type": "string"
  14919. },
  14920. "goodscode": {
  14921. "description": "点价合约",
  14922. "type": "string"
  14923. },
  14924. "goodsname": {
  14925. "description": "商品名称",
  14926. "type": "string"
  14927. },
  14928. "operateapplyid": {
  14929. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14930. "type": "string"
  14931. },
  14932. "operateapplytype": {
  14933. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14934. "type": "integer"
  14935. },
  14936. "pricemove": {
  14937. "description": "升贴水",
  14938. "type": "number"
  14939. },
  14940. "pricetype": {
  14941. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14942. "type": "integer"
  14943. },
  14944. "reckonadjustamount": {
  14945. "description": "结算调整金额(非必填)",
  14946. "type": "number"
  14947. },
  14948. "reckonosamount": {
  14949. "description": "结算溢短金额(非必填)",
  14950. "type": "number"
  14951. },
  14952. "reckonotheramount": {
  14953. "description": "结算其他费用(非必填)",
  14954. "type": "number"
  14955. },
  14956. "reckonrealqty": {
  14957. "description": "结算实际数量(非必填)",
  14958. "type": "number"
  14959. },
  14960. "relatedid": {
  14961. "description": "现货合同ID",
  14962. "type": "string"
  14963. },
  14964. "sellusername": {
  14965. "description": "销售方名字",
  14966. "type": "string"
  14967. },
  14968. "userid": {
  14969. "description": "用户ID",
  14970. "type": "integer"
  14971. },
  14972. "wrstandardcode": {
  14973. "description": "品类代码",
  14974. "type": "string"
  14975. },
  14976. "wrstandardid": {
  14977. "description": "品类id",
  14978. "type": "integer"
  14979. },
  14980. "wrstandardname": {
  14981. "description": "品类名称",
  14982. "type": "string"
  14983. }
  14984. }
  14985. },
  14986. "ermcp.QryBussinessKxRsp": {
  14987. "type": "object",
  14988. "properties": {
  14989. "applyid": {
  14990. "description": "申请人",
  14991. "type": "string"
  14992. },
  14993. "applyname": {
  14994. "description": "申请人名称",
  14995. "type": "string"
  14996. },
  14997. "applystatus": {
  14998. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14999. "type": "integer"
  15000. },
  15001. "applytime": {
  15002. "description": "申请时间",
  15003. "type": "string"
  15004. },
  15005. "attachurl": {
  15006. "description": "附件",
  15007. "type": "string"
  15008. },
  15009. "auditid": {
  15010. "description": "审核人ID",
  15011. "type": "string"
  15012. },
  15013. "auditname": {
  15014. "description": "审核人名称",
  15015. "type": "string"
  15016. },
  15017. "audittime": {
  15018. "description": "审核时间",
  15019. "type": "string"
  15020. },
  15021. "buyusername": {
  15022. "description": "采购方名称",
  15023. "type": "string"
  15024. },
  15025. "contractno": {
  15026. "description": "合同编号",
  15027. "type": "string"
  15028. },
  15029. "contractstatus": {
  15030. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15031. "type": "integer"
  15032. },
  15033. "contracttype": {
  15034. "description": "现货合同类型 - 1:采购 -1:销售",
  15035. "type": "integer"
  15036. },
  15037. "deductamount": {
  15038. "description": "退款(非必填)",
  15039. "type": "number"
  15040. },
  15041. "deliverygoodscode": {
  15042. "description": "现货品种代码",
  15043. "type": "string"
  15044. },
  15045. "deliverygoodsid": {
  15046. "description": "现货商品ID",
  15047. "type": "integer"
  15048. },
  15049. "deliverygoodsname": {
  15050. "description": "现货品种名称",
  15051. "type": "string"
  15052. },
  15053. "enumdicname": {
  15054. "description": "单位名称",
  15055. "type": "string"
  15056. },
  15057. "goodscode": {
  15058. "description": "点价合约",
  15059. "type": "string"
  15060. },
  15061. "goodsname": {
  15062. "description": "商品名称",
  15063. "type": "string"
  15064. },
  15065. "kxtype": {
  15066. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15067. "type": "integer"
  15068. },
  15069. "operateapplyid": {
  15070. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15071. "type": "string"
  15072. },
  15073. "operateapplytype": {
  15074. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15075. "type": "integer"
  15076. },
  15077. "payamount": {
  15078. "description": "收付款(非必填)",
  15079. "type": "number"
  15080. },
  15081. "pricemove": {
  15082. "description": "升贴水",
  15083. "type": "number"
  15084. },
  15085. "pricetype": {
  15086. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15087. "type": "integer"
  15088. },
  15089. "relatedid": {
  15090. "description": "现货合同ID",
  15091. "type": "string"
  15092. },
  15093. "sellusername": {
  15094. "description": "销售方名字",
  15095. "type": "string"
  15096. },
  15097. "userid": {
  15098. "description": "用户ID",
  15099. "type": "integer"
  15100. },
  15101. "wrstandardcode": {
  15102. "description": "品类代码",
  15103. "type": "string"
  15104. },
  15105. "wrstandardid": {
  15106. "description": "品类id",
  15107. "type": "integer"
  15108. },
  15109. "wrstandardname": {
  15110. "description": "品类名称",
  15111. "type": "string"
  15112. }
  15113. }
  15114. },
  15115. "ermcp.QryGGCovertCfgRsp": {
  15116. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15117. },
  15118. "ermcp.QryMGChangeLogRsp": {
  15119. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  15120. },
  15121. "ermcp.QryMiddleGoodsDetailRsp": {
  15122. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  15123. },
  15124. "ermcp.QryMiddleGoodsRsp": {
  15125. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15126. },
  15127. "ermcp.QryOPLogRsp": {
  15128. "$ref": "#/definitions/models.ErmcpOPLogModel"
  15129. },
  15130. "ermcp.QryUserInfoRsp": {
  15131. "$ref": "#/definitions/models.ErmcpUserModel"
  15132. },
  15133. "ermcp.QryWarehouseRsp": {
  15134. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  15135. },
  15136. "ermcp.QueryErmcpTradePositionRsp": {
  15137. "type": "object",
  15138. "properties": {
  15139. "agreeunit": {
  15140. "description": "合约单位",
  15141. "type": "number"
  15142. },
  15143. "buyorsell": {
  15144. "description": "方向 - 0:买 1:卖",
  15145. "type": "integer"
  15146. },
  15147. "curpositionqty": {
  15148. "description": "持仓(总仓数量, 期末头寸)",
  15149. "type": "integer"
  15150. },
  15151. "curtdposition": {
  15152. "description": "今仓数量(期末今日头寸)",
  15153. "type": "integer"
  15154. },
  15155. "curtdpositionenabled": {
  15156. "description": "今仓可用",
  15157. "type": "integer"
  15158. },
  15159. "decimalplace": {
  15160. "description": "报价小数位",
  15161. "type": "integer"
  15162. },
  15163. "enableqty": {
  15164. "description": "可用(总仓可用)",
  15165. "type": "integer"
  15166. },
  15167. "exexchangename": {
  15168. "description": "外部交易所名称",
  15169. "type": "string"
  15170. },
  15171. "goodscode": {
  15172. "description": "商品代码(内部)",
  15173. "type": "string"
  15174. },
  15175. "goodsid": {
  15176. "description": "商品ID(自增ID SEQ_GOODS)",
  15177. "type": "integer"
  15178. },
  15179. "goodsname": {
  15180. "description": "商品名称",
  15181. "type": "string"
  15182. },
  15183. "last": {
  15184. "description": "现价",
  15185. "type": "number"
  15186. },
  15187. "marketid": {
  15188. "description": "所属市场ID",
  15189. "type": "integer"
  15190. },
  15191. "openaverageprice": {
  15192. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  15193. "type": "number"
  15194. },
  15195. "opencost": {
  15196. "description": "开仓成本",
  15197. "type": "number"
  15198. },
  15199. "openpl": {
  15200. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15201. "type": "number"
  15202. },
  15203. "outgoodscode": {
  15204. "description": "商品代码(外部)",
  15205. "type": "string"
  15206. },
  15207. "positionaverageprice": {
  15208. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  15209. "type": "number"
  15210. },
  15211. "positioncost": {
  15212. "description": "持仓成本",
  15213. "type": "number"
  15214. },
  15215. "positionpl": {
  15216. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15217. "type": "number"
  15218. },
  15219. "positionplrate": {
  15220. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  15221. "type": "number"
  15222. },
  15223. "usedmargin": {
  15224. "description": "占用保证金",
  15225. "type": "number"
  15226. }
  15227. }
  15228. },
  15229. "ermcp.RealtimeExposurePositionRsp": {
  15230. "$ref": "#/definitions/models.ErmcpExposurePostion"
  15231. },
  15232. "ermcp.RealtimeExposureRsp": {
  15233. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  15234. },
  15235. "erms2.QueryArbitrageStrategyRsp": {
  15236. "type": "object",
  15237. "required": [
  15238. "asapplyid"
  15239. ],
  15240. "properties": {
  15241. "applybasis": {
  15242. "description": "申请基差",
  15243. "type": "number"
  15244. },
  15245. "asapplyid": {
  15246. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  15247. "type": "string"
  15248. },
  15249. "asname": {
  15250. "description": "策略名称",
  15251. "type": "string"
  15252. },
  15253. "asno": {
  15254. "description": "策略编号",
  15255. "type": "string"
  15256. },
  15257. "basischangepl": {
  15258. "description": "基差变动损益[结算更新]",
  15259. "type": "number"
  15260. },
  15261. "biztype": {
  15262. "description": "业务类型 - 1:正向套利 -1:反向套利",
  15263. "type": "integer"
  15264. },
  15265. "closetradedate": {
  15266. "description": "完结交易日(yyyyMMdd)",
  15267. "type": "string"
  15268. },
  15269. "curbasis": {
  15270. "description": "当前基差[结算更新]",
  15271. "type": "number"
  15272. },
  15273. "deliverygoodsid": {
  15274. "description": "现货品种ID",
  15275. "type": "integer"
  15276. },
  15277. "futureavgprice": {
  15278. "description": "期货建仓均价",
  15279. "type": "number"
  15280. },
  15281. "futurecloseamount": {
  15282. "description": "期货平仓金额",
  15283. "type": "number"
  15284. },
  15285. "futurecloseqty": {
  15286. "description": "期货平仓数量",
  15287. "type": "number"
  15288. },
  15289. "futureopenamount": {
  15290. "description": "期货开仓金额",
  15291. "type": "number"
  15292. },
  15293. "futureopenqty": {
  15294. "description": "期货开仓数量",
  15295. "type": "number"
  15296. },
  15297. "futurepl": {
  15298. "description": "期货总盈亏[结算更新]",
  15299. "type": "number"
  15300. },
  15301. "futureqty": {
  15302. "description": "期货持仓数量",
  15303. "type": "number"
  15304. },
  15305. "futurequote": {
  15306. "description": "期货额度",
  15307. "type": "number"
  15308. },
  15309. "goodsgroupid": {
  15310. "description": "期货品种ID",
  15311. "type": "integer"
  15312. },
  15313. "marketid": {
  15314. "description": "市场ID",
  15315. "type": "integer"
  15316. },
  15317. "netexposure": {
  15318. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  15319. "type": "number"
  15320. },
  15321. "netexposurepl": {
  15322. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  15323. "type": "number"
  15324. },
  15325. "netexposurerate": {
  15326. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  15327. "type": "number"
  15328. },
  15329. "openbasis": {
  15330. "description": "建仓基差",
  15331. "type": "number"
  15332. },
  15333. "pricedspotqty": {
  15334. "description": "已定价现货数量",
  15335. "type": "number"
  15336. },
  15337. "pricedspotqtynotax": {
  15338. "description": "已定价现货不含税数量",
  15339. "type": "number"
  15340. },
  15341. "remark": {
  15342. "description": "备注",
  15343. "type": "string"
  15344. },
  15345. "spotavgprice": {
  15346. "description": "现货均价",
  15347. "type": "number"
  15348. },
  15349. "spotbuyamount": {
  15350. "description": "现货采购金额",
  15351. "type": "number"
  15352. },
  15353. "spotbuyqty": {
  15354. "description": "现货采购数量",
  15355. "type": "number"
  15356. },
  15357. "spotpl": {
  15358. "description": "现货总盈亏[结算更新]",
  15359. "type": "number"
  15360. },
  15361. "spotquota": {
  15362. "description": "现货额度",
  15363. "type": "number"
  15364. },
  15365. "spotsellamount": {
  15366. "description": "现货销售金额",
  15367. "type": "number"
  15368. },
  15369. "spotsellqty": {
  15370. "description": "现货销售数量",
  15371. "type": "number"
  15372. },
  15373. "spotusedquota": {
  15374. "description": "现货占用资金",
  15375. "type": "number"
  15376. },
  15377. "strategystatus": {
  15378. "description": "策略状态 - 0:未结束 1:已结束",
  15379. "type": "integer"
  15380. },
  15381. "totalpl": {
  15382. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  15383. "type": "number"
  15384. },
  15385. "tradedate": {
  15386. "description": "交易日(yyyyMMdd)",
  15387. "type": "string"
  15388. },
  15389. "updatetime": {
  15390. "description": "更新时间",
  15391. "type": "string"
  15392. },
  15393. "usedquota": {
  15394. "description": "已占用资金",
  15395. "type": "number"
  15396. },
  15397. "userid": {
  15398. "description": "所属机构",
  15399. "type": "integer"
  15400. }
  15401. }
  15402. },
  15403. "erms2.QueryInnerTradeDetailRsp": {
  15404. "type": "object",
  15405. "required": [
  15406. "asapplyid",
  15407. "buyorsell",
  15408. "goodscode",
  15409. "goodsgroupid",
  15410. "goodsgroupname",
  15411. "goodsname",
  15412. "tradeid"
  15413. ],
  15414. "properties": {
  15415. "accountid": {
  15416. "description": "账号ID",
  15417. "type": "integer"
  15418. },
  15419. "agreeunit": {
  15420. "description": "合约单位",
  15421. "type": "number"
  15422. },
  15423. "asapplyid": {
  15424. "description": "策略申请ID",
  15425. "type": "integer"
  15426. },
  15427. "asname": {
  15428. "description": "策略名称",
  15429. "type": "string"
  15430. },
  15431. "asno": {
  15432. "description": "策略编号",
  15433. "type": "string"
  15434. },
  15435. "buyorsell": {
  15436. "description": "方向 - 0:买 1:卖",
  15437. "type": "integer"
  15438. },
  15439. "channelbuildtype": {
  15440. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15441. "type": "integer"
  15442. },
  15443. "closetype": {
  15444. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15445. "type": "integer"
  15446. },
  15447. "decimalplace": {
  15448. "description": "报价小数位",
  15449. "type": "integer"
  15450. },
  15451. "detailtype": {
  15452. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  15453. "type": "integer"
  15454. },
  15455. "exexchangecode": {
  15456. "description": "外部交易所代码",
  15457. "type": "string"
  15458. },
  15459. "exexchangename": {
  15460. "description": "外部交易所名称",
  15461. "type": "string"
  15462. },
  15463. "goodscode": {
  15464. "description": "商品代码(合约)",
  15465. "type": "string"
  15466. },
  15467. "goodsgroupid": {
  15468. "description": "商品组ID(品种ID)",
  15469. "type": "integer"
  15470. },
  15471. "goodsgroupname": {
  15472. "description": "商品组名称(品种)",
  15473. "type": "string"
  15474. },
  15475. "goodsid": {
  15476. "description": "商品ID",
  15477. "type": "integer"
  15478. },
  15479. "goodsname": {
  15480. "description": "商品名称(合约)",
  15481. "type": "string"
  15482. },
  15483. "goodunit": {
  15484. "description": "报价单位",
  15485. "type": "string"
  15486. },
  15487. "marketid": {
  15488. "description": "市场ID",
  15489. "type": "integer"
  15490. },
  15491. "orderid": {
  15492. "description": "委托单号",
  15493. "type": "string"
  15494. },
  15495. "outgoodscode": {
  15496. "description": "商品代码(外部)",
  15497. "type": "string"
  15498. },
  15499. "relatedouttradeid": {
  15500. "description": "关联外部成交单ID",
  15501. "type": "string"
  15502. },
  15503. "remark": {
  15504. "description": "备注",
  15505. "type": "string"
  15506. },
  15507. "spotcontractid": {
  15508. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15509. "type": "integer"
  15510. },
  15511. "spotcontractno": {
  15512. "description": "现货合同编号",
  15513. "type": "string"
  15514. },
  15515. "tradeid": {
  15516. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15517. "type": "string"
  15518. },
  15519. "tradeprice": {
  15520. "description": "成交价格",
  15521. "type": "number"
  15522. },
  15523. "tradeqty": {
  15524. "description": "成交数量",
  15525. "type": "integer"
  15526. },
  15527. "tradetime": {
  15528. "description": "成交时间",
  15529. "type": "string"
  15530. },
  15531. "updatetime": {
  15532. "description": "更新时间",
  15533. "type": "string"
  15534. }
  15535. }
  15536. },
  15537. "erms2.QuerySpotContractRsp": {
  15538. "type": "object",
  15539. "required": [
  15540. "spotcontractid"
  15541. ],
  15542. "properties": {
  15543. "accountid": {
  15544. "description": "资金账户ID",
  15545. "type": "integer"
  15546. },
  15547. "areauserid": {
  15548. "description": "所属机构",
  15549. "type": "integer"
  15550. },
  15551. "closedate": {
  15552. "description": "终止日期",
  15553. "type": "string"
  15554. },
  15555. "closeremark": {
  15556. "description": "结束备注",
  15557. "type": "string"
  15558. },
  15559. "closetradedate": {
  15560. "description": "完结交易日(yyyyMMdd)",
  15561. "type": "string"
  15562. },
  15563. "closetype": {
  15564. "description": "终止类型 - 1:违约 2:提前终止",
  15565. "type": "integer"
  15566. },
  15567. "contractamount": {
  15568. "description": "合同金额",
  15569. "type": "number"
  15570. },
  15571. "contractattachment": {
  15572. "description": "合同附件",
  15573. "type": "string"
  15574. },
  15575. "contractno": {
  15576. "description": "现货合同编号",
  15577. "type": "string"
  15578. },
  15579. "contractqty": {
  15580. "description": "合同数量(数值) (用于计算)",
  15581. "type": "number"
  15582. },
  15583. "contractqtychar": {
  15584. "description": "合同数量\\已订价数量 (用于显示)",
  15585. "type": "string"
  15586. },
  15587. "contractstatus": {
  15588. "description": "合同状态 - 0:未结束 1:已结束",
  15589. "type": "integer"
  15590. },
  15591. "contracttype": {
  15592. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15593. "type": "integer"
  15594. },
  15595. "customeraccountid": {
  15596. "description": "客户资金账户ID",
  15597. "type": "integer"
  15598. },
  15599. "customeruserid": {
  15600. "description": "客户ID",
  15601. "type": "integer"
  15602. },
  15603. "deliverygoodsdesc": {
  15604. "description": "品种说明",
  15605. "type": "string"
  15606. },
  15607. "deliverygoodsid": {
  15608. "description": "现货品种ID",
  15609. "type": "integer"
  15610. },
  15611. "handlestatus": {
  15612. "description": "处理状态",
  15613. "type": "integer"
  15614. },
  15615. "invoiceatt": {
  15616. "description": "发票附件",
  15617. "type": "string"
  15618. },
  15619. "invoicedatetime": {
  15620. "description": "开收票更新时间",
  15621. "type": "string"
  15622. },
  15623. "invoiceopentime": {
  15624. "description": "开票时间",
  15625. "type": "string"
  15626. },
  15627. "invoiceremark": {
  15628. "description": "发票备注",
  15629. "type": "string"
  15630. },
  15631. "invoicestatus": {
  15632. "description": "开收票状态 - 0:未开票 1:已开票",
  15633. "type": "integer"
  15634. },
  15635. "lastdate": {
  15636. "description": "交货时间",
  15637. "type": "string"
  15638. },
  15639. "marketid": {
  15640. "description": "市场ID",
  15641. "type": "integer"
  15642. },
  15643. "paydatetime": {
  15644. "description": "收付款更新时间",
  15645. "type": "string"
  15646. },
  15647. "payremark": {
  15648. "description": "收付款备注",
  15649. "type": "string"
  15650. },
  15651. "paystatus": {
  15652. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15653. "type": "integer"
  15654. },
  15655. "positionqty": {
  15656. "description": "头寸数量 - 合同数量去小数部分",
  15657. "type": "integer"
  15658. },
  15659. "producttype": {
  15660. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15661. "type": "integer"
  15662. },
  15663. "relatedqty": {
  15664. "description": "已关联数量",
  15665. "type": "number"
  15666. },
  15667. "relatedstatus": {
  15668. "description": "关联完结状态 - 0:未结束 1:已结束",
  15669. "type": "integer"
  15670. },
  15671. "remark": {
  15672. "description": "备注",
  15673. "type": "string"
  15674. },
  15675. "signdate": {
  15676. "description": "签订日期",
  15677. "type": "string"
  15678. },
  15679. "spotcontractid": {
  15680. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15681. "type": "string"
  15682. },
  15683. "spotdatetime": {
  15684. "description": "收发货更新时间",
  15685. "type": "string"
  15686. },
  15687. "spotprice": {
  15688. "description": "价格",
  15689. "type": "number"
  15690. },
  15691. "spotremark": {
  15692. "description": "收发货备注",
  15693. "type": "string"
  15694. },
  15695. "spotstatus": {
  15696. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15697. "type": "integer"
  15698. },
  15699. "tradedate": {
  15700. "description": "交易日(yyyyMMdd)",
  15701. "type": "string"
  15702. },
  15703. "userid": {
  15704. "description": "业务员用户ID",
  15705. "type": "integer"
  15706. },
  15707. "warehouseid": {
  15708. "description": "仓库ID",
  15709. "type": "integer"
  15710. },
  15711. "wrfactortypeid": {
  15712. "description": "仓单要素类型ID",
  15713. "type": "integer"
  15714. },
  15715. "wrstandardid": {
  15716. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15717. "type": "integer"
  15718. }
  15719. }
  15720. },
  15721. "erms3.AddErms2ASApplyReq": {
  15722. "type": "object",
  15723. "required": [
  15724. "asapplyid"
  15725. ],
  15726. "properties": {
  15727. "applybasis": {
  15728. "description": "申请基差",
  15729. "type": "number"
  15730. },
  15731. "applystatus": {
  15732. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15733. "type": "integer"
  15734. },
  15735. "asapplyid": {
  15736. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15737. "type": "integer"
  15738. },
  15739. "asname": {
  15740. "description": "策略名称",
  15741. "type": "string"
  15742. },
  15743. "asno": {
  15744. "description": "策略编号",
  15745. "type": "string"
  15746. },
  15747. "auditid": {
  15748. "description": "审核人",
  15749. "type": "integer"
  15750. },
  15751. "auditremark": {
  15752. "description": "审核备注",
  15753. "type": "string"
  15754. },
  15755. "audittime": {
  15756. "description": "审核时间",
  15757. "type": "string"
  15758. },
  15759. "biztype": {
  15760. "description": "业务类型 - 1:正向套利 2:反向套利",
  15761. "type": "integer"
  15762. },
  15763. "createtime": {
  15764. "description": "创建时间",
  15765. "type": "string"
  15766. },
  15767. "creatorid": {
  15768. "description": "创建人",
  15769. "type": "integer"
  15770. },
  15771. "deliverygoodsid": {
  15772. "description": "现货品种ID",
  15773. "type": "integer"
  15774. },
  15775. "futurequote": {
  15776. "description": "期货额度",
  15777. "type": "number"
  15778. },
  15779. "goodsgroupid": {
  15780. "description": "期货品种ID",
  15781. "type": "integer"
  15782. },
  15783. "marketid": {
  15784. "description": "市场ID",
  15785. "type": "integer"
  15786. },
  15787. "remark": {
  15788. "description": "备注",
  15789. "type": "string"
  15790. },
  15791. "spotquota": {
  15792. "description": "现货额度",
  15793. "type": "number"
  15794. },
  15795. "tradedate": {
  15796. "description": "交易日(yyyyMMdd)",
  15797. "type": "string"
  15798. },
  15799. "userid": {
  15800. "description": "所属机构",
  15801. "type": "integer"
  15802. }
  15803. }
  15804. },
  15805. "erms3.AddErms2SpotTradeApplyReq": {
  15806. "type": "object",
  15807. "required": [
  15808. "spottradeid"
  15809. ],
  15810. "properties": {
  15811. "applyjsondetail": {
  15812. "description": "申请明细(JSON)",
  15813. "type": "string"
  15814. },
  15815. "applystatus": {
  15816. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15817. "type": "integer"
  15818. },
  15819. "areauserid": {
  15820. "description": "所属机构",
  15821. "type": "integer"
  15822. },
  15823. "auditid": {
  15824. "description": "审核人",
  15825. "type": "integer"
  15826. },
  15827. "auditremark": {
  15828. "description": "审核备注",
  15829. "type": "string"
  15830. },
  15831. "audittime": {
  15832. "description": "审核时间",
  15833. "type": "string"
  15834. },
  15835. "createtime": {
  15836. "description": "创建时间",
  15837. "type": "string"
  15838. },
  15839. "creatorid": {
  15840. "description": "创建人",
  15841. "type": "integer"
  15842. },
  15843. "deliverygoodsid": {
  15844. "description": "现货品种ID",
  15845. "type": "integer"
  15846. },
  15847. "futureaccountid": {
  15848. "description": "期货资金账户",
  15849. "type": "integer"
  15850. },
  15851. "goodsgroupid": {
  15852. "description": "期货品种",
  15853. "type": "integer"
  15854. },
  15855. "marketid": {
  15856. "description": "市场ID",
  15857. "type": "integer"
  15858. },
  15859. "remark": {
  15860. "description": "备注",
  15861. "type": "string"
  15862. },
  15863. "spotaccountid": {
  15864. "description": "现货资金账户",
  15865. "type": "integer"
  15866. },
  15867. "spottradeid": {
  15868. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15869. "type": "integer"
  15870. },
  15871. "spottradename": {
  15872. "description": "业务名称",
  15873. "type": "string"
  15874. },
  15875. "spottradeno": {
  15876. "description": "业务编号",
  15877. "type": "string"
  15878. },
  15879. "tradedate": {
  15880. "description": "交易日(yyyyMMdd)",
  15881. "type": "string"
  15882. },
  15883. "wrstandardid": {
  15884. "description": "仓单标准ID",
  15885. "type": "integer"
  15886. }
  15887. }
  15888. },
  15889. "erms3.AddSpotContractApplyReq": {
  15890. "type": "object",
  15891. "required": [
  15892. "accountid",
  15893. "areauserid",
  15894. "contractno",
  15895. "contracttype",
  15896. "customeraccountid",
  15897. "customeruserid",
  15898. "details",
  15899. "orimargin",
  15900. "signdate"
  15901. ],
  15902. "properties": {
  15903. "accountid": {
  15904. "description": "资金账户ID",
  15905. "type": "integer"
  15906. },
  15907. "areauserid": {
  15908. "description": "所属机构",
  15909. "type": "integer"
  15910. },
  15911. "contractattachment": {
  15912. "description": "合同附件",
  15913. "type": "string"
  15914. },
  15915. "contractno": {
  15916. "description": "现货合同编号",
  15917. "type": "string"
  15918. },
  15919. "contracttype": {
  15920. "description": "现货合同类型 - 1:采购 -1:销售",
  15921. "type": "integer"
  15922. },
  15923. "creatorid": {
  15924. "description": "申请人",
  15925. "type": "integer"
  15926. },
  15927. "customeraccountid": {
  15928. "description": "客户资金账户ID",
  15929. "type": "integer"
  15930. },
  15931. "customeruserid": {
  15932. "description": "客户ID",
  15933. "type": "integer"
  15934. },
  15935. "details": {
  15936. "description": "明细",
  15937. "type": "array",
  15938. "items": {
  15939. "$ref": "#/definitions/erms3.SoptContractDetail"
  15940. }
  15941. },
  15942. "orimargin": {
  15943. "description": "初始保证金",
  15944. "type": "number"
  15945. },
  15946. "remark": {
  15947. "description": "备注",
  15948. "type": "string"
  15949. },
  15950. "signdate": {
  15951. "description": "签订日期",
  15952. "type": "string"
  15953. }
  15954. }
  15955. },
  15956. "erms3.AddSpotContractApplyRsp": {
  15957. "type": "object",
  15958. "required": [
  15959. "contractno"
  15960. ],
  15961. "properties": {
  15962. "contractno": {
  15963. "description": "现货合同编号",
  15964. "type": "string"
  15965. },
  15966. "spotcontractid": {
  15967. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15968. "type": "integer"
  15969. }
  15970. }
  15971. },
  15972. "erms3.AddUserInfoApplyReq": {
  15973. "type": "object",
  15974. "required": [
  15975. "userid"
  15976. ],
  15977. "properties": {
  15978. "accountid": {
  15979. "description": "交易系统帐号Id (加密存储)",
  15980. "type": "integer"
  15981. },
  15982. "areacode": {
  15983. "description": "机构代码",
  15984. "type": "string"
  15985. },
  15986. "areaid": {
  15987. "description": "机构Id",
  15988. "type": "integer"
  15989. },
  15990. "attachment1": {
  15991. "description": "附件1",
  15992. "type": "string"
  15993. },
  15994. "attachment2": {
  15995. "description": "附件2",
  15996. "type": "string"
  15997. },
  15998. "attachment3": {
  15999. "description": "附件3",
  16000. "type": "string"
  16001. },
  16002. "attachment4": {
  16003. "description": "附件4",
  16004. "type": "string"
  16005. },
  16006. "attachment5": {
  16007. "description": "附件5",
  16008. "type": "string"
  16009. },
  16010. "auditedby": {
  16011. "description": "审核人",
  16012. "type": "string"
  16013. },
  16014. "auditime": {
  16015. "description": "审核时间",
  16016. "type": "string"
  16017. },
  16018. "auditsrc": {
  16019. "description": "审核来源 - 1:管理端 2:终端",
  16020. "type": "integer"
  16021. },
  16022. "bankaccount": {
  16023. "description": "银行帐号 (加密存储)",
  16024. "type": "string"
  16025. },
  16026. "bankaccountname": {
  16027. "description": "收款人名称",
  16028. "type": "string"
  16029. },
  16030. "bankcardbackphotourl": {
  16031. "description": "银行卡背面照地址",
  16032. "type": "string"
  16033. },
  16034. "bankcardfrontphotourl": {
  16035. "description": "银行卡正面照地址",
  16036. "type": "string"
  16037. },
  16038. "bankid": {
  16039. "description": "银行编码",
  16040. "type": "string"
  16041. },
  16042. "bankname": {
  16043. "description": "银行名称",
  16044. "type": "string"
  16045. },
  16046. "bankpictureurl": {
  16047. "description": "银行卡正面地址",
  16048. "type": "string"
  16049. },
  16050. "biznature": {
  16051. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16052. "type": "integer"
  16053. },
  16054. "bizscope": {
  16055. "description": "企业经营范围(企业)",
  16056. "type": "string"
  16057. },
  16058. "biztype": {
  16059. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16060. "type": "integer"
  16061. },
  16062. "brokerid": {
  16063. "description": "经纪人ID(加密存储)",
  16064. "type": "string"
  16065. },
  16066. "cardaddress": {
  16067. "description": "证件地址 (加密存储)",
  16068. "type": "string"
  16069. },
  16070. "cardbackphotourl": {
  16071. "description": "背面证件照地址",
  16072. "type": "string"
  16073. },
  16074. "cardfrontphotourl": {
  16075. "description": "正面证件照地址",
  16076. "type": "string"
  16077. },
  16078. "cardnum": {
  16079. "description": "证件号码 (加密存储)",
  16080. "type": "string"
  16081. },
  16082. "cardtype": {
  16083. "description": "证件类型",
  16084. "type": "integer"
  16085. },
  16086. "cityid": {
  16087. "description": "市",
  16088. "type": "integer"
  16089. },
  16090. "company": {
  16091. "description": "公司(个人)",
  16092. "type": "string"
  16093. },
  16094. "contactcardbackphotourl": {
  16095. "description": "联系人证件背面图片地址",
  16096. "type": "string"
  16097. },
  16098. "contactcardfrontphotourl": {
  16099. "description": "联系人证件正面图片地址",
  16100. "type": "string"
  16101. },
  16102. "contactname": {
  16103. "description": "联系人",
  16104. "type": "string"
  16105. },
  16106. "countryid": {
  16107. "description": "国家",
  16108. "type": "integer"
  16109. },
  16110. "createtime": {
  16111. "description": "开户申请时间",
  16112. "type": "string"
  16113. },
  16114. "cusbankid": {
  16115. "description": "签约类型",
  16116. "type": "string"
  16117. },
  16118. "cusbankname": {
  16119. "description": "签约类型名称",
  16120. "type": "string"
  16121. },
  16122. "customername": {
  16123. "description": "客户名称(企业名称)",
  16124. "type": "string"
  16125. },
  16126. "districtid": {
  16127. "description": "地区",
  16128. "type": "integer"
  16129. },
  16130. "email": {
  16131. "description": "Email地址(加密存储)",
  16132. "type": "string"
  16133. },
  16134. "halfbodyphotourl": {
  16135. "description": "半身照地址",
  16136. "type": "string"
  16137. },
  16138. "headurl": {
  16139. "description": "头像地址",
  16140. "type": "string"
  16141. },
  16142. "ipaddress": {
  16143. "description": "IP地址",
  16144. "type": "string"
  16145. },
  16146. "isvalidate": {
  16147. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16148. "type": "string"
  16149. },
  16150. "legalcardbackphotourl": {
  16151. "description": "法人身份证背面照地址",
  16152. "type": "string"
  16153. },
  16154. "legalcardfrontphotourl": {
  16155. "description": "法人身份证正面照地址",
  16156. "type": "string"
  16157. },
  16158. "legalpersonname": {
  16159. "description": "法人姓名(企业)",
  16160. "type": "string"
  16161. },
  16162. "logincode": {
  16163. "description": "登录帐号 (加密存储)",
  16164. "type": "string"
  16165. },
  16166. "memberareaid": {
  16167. "description": "所属会员ID",
  16168. "type": "integer"
  16169. },
  16170. "mobile2": {
  16171. "description": "手机号码[明文-尚志]",
  16172. "type": "string"
  16173. },
  16174. "mobilephone": {
  16175. "description": "手机号码 (加密存储)",
  16176. "type": "string"
  16177. },
  16178. "modifiedby": {
  16179. "description": "修改人帐号",
  16180. "type": "integer"
  16181. },
  16182. "modifiedtime": {
  16183. "description": "修改时间",
  16184. "type": "string"
  16185. },
  16186. "nickname": {
  16187. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16188. "type": "string"
  16189. },
  16190. "openmode": {
  16191. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16192. "type": "integer"
  16193. },
  16194. "otherurl": {
  16195. "description": "其它图片地址[使用分号分隔]",
  16196. "type": "string"
  16197. },
  16198. "postalcode": {
  16199. "description": "邮政编码",
  16200. "type": "string"
  16201. },
  16202. "provinceid": {
  16203. "description": "省",
  16204. "type": "integer"
  16205. },
  16206. "proxystatementurl": {
  16207. "description": "授权委托书",
  16208. "type": "string"
  16209. },
  16210. "qq": {
  16211. "description": "QQ(加密存储",
  16212. "type": "string"
  16213. },
  16214. "referral": {
  16215. "description": "推荐人编码",
  16216. "type": "string"
  16217. },
  16218. "remark": {
  16219. "description": "备注",
  16220. "type": "string"
  16221. },
  16222. "removebeforestatus": {
  16223. "description": "REMOVEBEFORESTATUS",
  16224. "type": "integer"
  16225. },
  16226. "sex": {
  16227. "description": "性别 - 0:女 1:男",
  16228. "type": "integer"
  16229. },
  16230. "signedstatus": {
  16231. "description": "账户一号签签约状态",
  16232. "type": "integer"
  16233. },
  16234. "signpdfurl": {
  16235. "description": "签约pdf文件",
  16236. "type": "string"
  16237. },
  16238. "subbranch": {
  16239. "description": "开户支行",
  16240. "type": "string"
  16241. },
  16242. "taxpayernum": {
  16243. "description": "纳税人识别号",
  16244. "type": "string"
  16245. },
  16246. "telphone": {
  16247. "description": "联系电话(加密存储)",
  16248. "type": "string"
  16249. },
  16250. "userid": {
  16251. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16252. "type": "integer"
  16253. },
  16254. "userinfotype": {
  16255. "description": "用户信息类型 - 1:个人 2:企业",
  16256. "type": "integer"
  16257. },
  16258. "username": {
  16259. "description": "用户姓名",
  16260. "type": "string"
  16261. },
  16262. "userstate": {
  16263. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16264. "type": "integer"
  16265. },
  16266. "usertype": {
  16267. "description": "用户类型 - 1:投资者 2:机构",
  16268. "type": "integer"
  16269. },
  16270. "videourl": {
  16271. "description": "视频地址",
  16272. "type": "string"
  16273. },
  16274. "wechat": {
  16275. "description": "微信号 (加密存储)",
  16276. "type": "string"
  16277. }
  16278. }
  16279. },
  16280. "erms3.CustomerInfo": {
  16281. "type": "object",
  16282. "required": [
  16283. "userid"
  16284. ],
  16285. "properties": {
  16286. "accountids": {
  16287. "description": "资金账户ID列表",
  16288. "type": "array",
  16289. "items": {
  16290. "type": "integer"
  16291. }
  16292. },
  16293. "customername": {
  16294. "description": "名称(企业名称)",
  16295. "type": "string"
  16296. },
  16297. "mobile": {
  16298. "description": "手机号码",
  16299. "type": "string"
  16300. },
  16301. "userid": {
  16302. "description": "用户ID",
  16303. "type": "integer"
  16304. }
  16305. }
  16306. },
  16307. "erms3.ModifyUserInfoApplyReq": {
  16308. "type": "object",
  16309. "required": [
  16310. "userid"
  16311. ],
  16312. "properties": {
  16313. "accountid": {
  16314. "description": "交易系统帐号Id (加密存储)",
  16315. "type": "integer"
  16316. },
  16317. "areacode": {
  16318. "description": "机构代码",
  16319. "type": "string"
  16320. },
  16321. "areaid": {
  16322. "description": "机构Id",
  16323. "type": "integer"
  16324. },
  16325. "attachment1": {
  16326. "description": "附件1",
  16327. "type": "string"
  16328. },
  16329. "attachment2": {
  16330. "description": "附件2",
  16331. "type": "string"
  16332. },
  16333. "attachment3": {
  16334. "description": "附件3",
  16335. "type": "string"
  16336. },
  16337. "attachment4": {
  16338. "description": "附件4",
  16339. "type": "string"
  16340. },
  16341. "attachment5": {
  16342. "description": "附件5",
  16343. "type": "string"
  16344. },
  16345. "auditedby": {
  16346. "description": "审核人",
  16347. "type": "string"
  16348. },
  16349. "auditime": {
  16350. "description": "审核时间",
  16351. "type": "string"
  16352. },
  16353. "auditsrc": {
  16354. "description": "审核来源 - 1:管理端 2:终端",
  16355. "type": "integer"
  16356. },
  16357. "bankaccount": {
  16358. "description": "银行帐号 (加密存储)",
  16359. "type": "string"
  16360. },
  16361. "bankaccountname": {
  16362. "description": "收款人名称",
  16363. "type": "string"
  16364. },
  16365. "bankcardbackphotourl": {
  16366. "description": "银行卡背面照地址",
  16367. "type": "string"
  16368. },
  16369. "bankcardfrontphotourl": {
  16370. "description": "银行卡正面照地址",
  16371. "type": "string"
  16372. },
  16373. "bankid": {
  16374. "description": "银行编码",
  16375. "type": "string"
  16376. },
  16377. "bankname": {
  16378. "description": "银行名称",
  16379. "type": "string"
  16380. },
  16381. "bankpictureurl": {
  16382. "description": "银行卡正面地址",
  16383. "type": "string"
  16384. },
  16385. "biznature": {
  16386. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16387. "type": "integer"
  16388. },
  16389. "bizscope": {
  16390. "description": "企业经营范围(企业)",
  16391. "type": "string"
  16392. },
  16393. "biztype": {
  16394. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16395. "type": "integer"
  16396. },
  16397. "brokerid": {
  16398. "description": "经纪人ID(加密存储)",
  16399. "type": "string"
  16400. },
  16401. "cardaddress": {
  16402. "description": "证件地址 (加密存储)",
  16403. "type": "string"
  16404. },
  16405. "cardbackphotourl": {
  16406. "description": "背面证件照地址",
  16407. "type": "string"
  16408. },
  16409. "cardfrontphotourl": {
  16410. "description": "正面证件照地址",
  16411. "type": "string"
  16412. },
  16413. "cardnum": {
  16414. "description": "证件号码 (加密存储)",
  16415. "type": "string"
  16416. },
  16417. "cardtype": {
  16418. "description": "证件类型",
  16419. "type": "integer"
  16420. },
  16421. "cityid": {
  16422. "description": "市",
  16423. "type": "integer"
  16424. },
  16425. "company": {
  16426. "description": "公司(个人)",
  16427. "type": "string"
  16428. },
  16429. "contactcardbackphotourl": {
  16430. "description": "联系人证件背面图片地址",
  16431. "type": "string"
  16432. },
  16433. "contactcardfrontphotourl": {
  16434. "description": "联系人证件正面图片地址",
  16435. "type": "string"
  16436. },
  16437. "contactname": {
  16438. "description": "联系人",
  16439. "type": "string"
  16440. },
  16441. "countryid": {
  16442. "description": "国家",
  16443. "type": "integer"
  16444. },
  16445. "createtime": {
  16446. "description": "开户申请时间",
  16447. "type": "string"
  16448. },
  16449. "cusbankid": {
  16450. "description": "签约类型",
  16451. "type": "string"
  16452. },
  16453. "cusbankname": {
  16454. "description": "签约类型名称",
  16455. "type": "string"
  16456. },
  16457. "customername": {
  16458. "description": "客户名称(企业名称)",
  16459. "type": "string"
  16460. },
  16461. "districtid": {
  16462. "description": "地区",
  16463. "type": "integer"
  16464. },
  16465. "email": {
  16466. "description": "Email地址(加密存储)",
  16467. "type": "string"
  16468. },
  16469. "halfbodyphotourl": {
  16470. "description": "半身照地址",
  16471. "type": "string"
  16472. },
  16473. "headurl": {
  16474. "description": "头像地址",
  16475. "type": "string"
  16476. },
  16477. "ipaddress": {
  16478. "description": "IP地址",
  16479. "type": "string"
  16480. },
  16481. "isvalidate": {
  16482. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16483. "type": "string"
  16484. },
  16485. "legalcardbackphotourl": {
  16486. "description": "法人身份证背面照地址",
  16487. "type": "string"
  16488. },
  16489. "legalcardfrontphotourl": {
  16490. "description": "法人身份证正面照地址",
  16491. "type": "string"
  16492. },
  16493. "legalpersonname": {
  16494. "description": "法人姓名(企业)",
  16495. "type": "string"
  16496. },
  16497. "logincode": {
  16498. "description": "登录帐号 (加密存储)",
  16499. "type": "string"
  16500. },
  16501. "memberareaid": {
  16502. "description": "所属会员ID",
  16503. "type": "integer"
  16504. },
  16505. "mobile2": {
  16506. "description": "手机号码[明文-尚志]",
  16507. "type": "string"
  16508. },
  16509. "mobilephone": {
  16510. "description": "手机号码 (加密存储)",
  16511. "type": "string"
  16512. },
  16513. "modifiedby": {
  16514. "description": "修改人帐号",
  16515. "type": "integer"
  16516. },
  16517. "modifiedtime": {
  16518. "description": "修改时间",
  16519. "type": "string"
  16520. },
  16521. "nickname": {
  16522. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16523. "type": "string"
  16524. },
  16525. "openmode": {
  16526. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16527. "type": "integer"
  16528. },
  16529. "otherurl": {
  16530. "description": "其它图片地址[使用分号分隔]",
  16531. "type": "string"
  16532. },
  16533. "postalcode": {
  16534. "description": "邮政编码",
  16535. "type": "string"
  16536. },
  16537. "provinceid": {
  16538. "description": "省",
  16539. "type": "integer"
  16540. },
  16541. "proxystatementurl": {
  16542. "description": "授权委托书",
  16543. "type": "string"
  16544. },
  16545. "qq": {
  16546. "description": "QQ(加密存储",
  16547. "type": "string"
  16548. },
  16549. "referral": {
  16550. "description": "推荐人编码",
  16551. "type": "string"
  16552. },
  16553. "remark": {
  16554. "description": "备注",
  16555. "type": "string"
  16556. },
  16557. "removebeforestatus": {
  16558. "description": "REMOVEBEFORESTATUS",
  16559. "type": "integer"
  16560. },
  16561. "sex": {
  16562. "description": "性别 - 0:女 1:男",
  16563. "type": "integer"
  16564. },
  16565. "signedstatus": {
  16566. "description": "账户一号签签约状态",
  16567. "type": "integer"
  16568. },
  16569. "signpdfurl": {
  16570. "description": "签约pdf文件",
  16571. "type": "string"
  16572. },
  16573. "subbranch": {
  16574. "description": "开户支行",
  16575. "type": "string"
  16576. },
  16577. "taxpayernum": {
  16578. "description": "纳税人识别号",
  16579. "type": "string"
  16580. },
  16581. "telphone": {
  16582. "description": "联系电话(加密存储)",
  16583. "type": "string"
  16584. },
  16585. "userid": {
  16586. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16587. "type": "integer"
  16588. },
  16589. "userinfotype": {
  16590. "description": "用户信息类型 - 1:个人 2:企业",
  16591. "type": "integer"
  16592. },
  16593. "username": {
  16594. "description": "用户姓名",
  16595. "type": "string"
  16596. },
  16597. "userstate": {
  16598. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16599. "type": "integer"
  16600. },
  16601. "usertype": {
  16602. "description": "用户类型 - 1:投资者 2:机构",
  16603. "type": "integer"
  16604. },
  16605. "videourl": {
  16606. "description": "视频地址",
  16607. "type": "string"
  16608. },
  16609. "wechat": {
  16610. "description": "微信号 (加密存储)",
  16611. "type": "string"
  16612. }
  16613. }
  16614. },
  16615. "erms3.QryAuditContractRsp": {
  16616. "type": "object",
  16617. "required": [
  16618. "matchcustomername",
  16619. "spotcontractid"
  16620. ],
  16621. "properties": {
  16622. "accountid": {
  16623. "description": "交易员ID",
  16624. "type": "string"
  16625. },
  16626. "applystatus": {
  16627. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16628. "type": "integer"
  16629. },
  16630. "curdeliveryqty": {
  16631. "description": "未交收量",
  16632. "type": "integer"
  16633. },
  16634. "customername": {
  16635. "description": "采购方ID",
  16636. "type": "string"
  16637. },
  16638. "deliverygoodsid": {
  16639. "description": "品种ID",
  16640. "type": "string"
  16641. },
  16642. "deliveryqty": {
  16643. "description": "交收量",
  16644. "type": "integer"
  16645. },
  16646. "enumdicname": {
  16647. "description": "单位名称",
  16648. "type": "string"
  16649. },
  16650. "matchaccountid": {
  16651. "description": "业务员ID",
  16652. "type": "string"
  16653. },
  16654. "matchcustomername": {
  16655. "description": "销售方ID",
  16656. "type": "string"
  16657. },
  16658. "pricedqty": {
  16659. "description": "定价量",
  16660. "type": "number"
  16661. },
  16662. "signdate": {
  16663. "description": "签订日期",
  16664. "type": "string"
  16665. },
  16666. "spotcontractid": {
  16667. "description": "合同ID",
  16668. "type": "string"
  16669. },
  16670. "totaldqty": {
  16671. "description": "合同量",
  16672. "type": "number"
  16673. },
  16674. "unpricedqty": {
  16675. "description": "未定价量",
  16676. "type": "number"
  16677. },
  16678. "wrstandardname": {
  16679. "description": "商品名称",
  16680. "type": "string"
  16681. }
  16682. }
  16683. },
  16684. "erms3.QryPendingBizRsp": {
  16685. "$ref": "#/definitions/models.PendingAuditBizModel"
  16686. },
  16687. "erms3.QueryBusinessInfoRsp": {
  16688. "type": "object",
  16689. "properties": {
  16690. "businessid": {
  16691. "description": "业务ID.",
  16692. "type": "integer"
  16693. },
  16694. "buyamount": {
  16695. "description": "采购额.",
  16696. "type": "number"
  16697. },
  16698. "buyqty": {
  16699. "description": "采购量.",
  16700. "type": "string"
  16701. },
  16702. "futurepl": {
  16703. "description": "期货盈亏.",
  16704. "type": "number"
  16705. },
  16706. "futureqty": {
  16707. "description": "期货敞口.",
  16708. "type": "string"
  16709. },
  16710. "goodsid": {
  16711. "description": "商品名称/商品代码.",
  16712. "type": "string"
  16713. },
  16714. "hedgingqty": {
  16715. "description": "套保量.",
  16716. "type": "string"
  16717. },
  16718. "sellamount": {
  16719. "description": "销售额.",
  16720. "type": "number"
  16721. },
  16722. "sellqty": {
  16723. "description": "销售量.",
  16724. "type": "string"
  16725. },
  16726. "spotmarketvalue": {
  16727. "description": "现货市值.",
  16728. "type": "number"
  16729. },
  16730. "spotpl": {
  16731. "description": "浮动权益.",
  16732. "type": "number"
  16733. },
  16734. "spotqty": {
  16735. "description": "现货量.",
  16736. "type": "string"
  16737. },
  16738. "statu": {
  16739. "description": "状态,0-未结束 1-已结束.",
  16740. "type": "integer"
  16741. },
  16742. "totalpl": {
  16743. "description": "总盈亏.",
  16744. "type": "number"
  16745. },
  16746. "totalqty": {
  16747. "description": "总敞口.",
  16748. "type": "string"
  16749. },
  16750. "type": {
  16751. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16752. "type": "integer"
  16753. }
  16754. }
  16755. },
  16756. "erms3.QuerySpotContractAppleFormRsp": {
  16757. "type": "object",
  16758. "properties": {
  16759. "goodses": {
  16760. "description": "合约列表",
  16761. "type": "array",
  16762. "items": {
  16763. "$ref": "#/definitions/models.GoodsIDAndName"
  16764. }
  16765. },
  16766. "oppositeusers": {
  16767. "description": "对方账号列表",
  16768. "type": "array",
  16769. "items": {
  16770. "$ref": "#/definitions/erms3.CustomerInfo"
  16771. }
  16772. },
  16773. "ouruser": {
  16774. "description": "我方账号",
  16775. "type": "object",
  16776. "$ref": "#/definitions/erms3.CustomerInfo"
  16777. },
  16778. "warehouseinfos": {
  16779. "description": "仓库信息列表",
  16780. "type": "array",
  16781. "items": {
  16782. "$ref": "#/definitions/models.Warehouseinfo"
  16783. }
  16784. },
  16785. "wrstandards": {
  16786. "description": "仓单标准列表",
  16787. "type": "array",
  16788. "items": {
  16789. "$ref": "#/definitions/models.WRStandardInfo"
  16790. }
  16791. }
  16792. }
  16793. },
  16794. "erms3.QuerySpotContractInfoRsp": {
  16795. "type": "object",
  16796. "properties": {
  16797. "accountid": {
  16798. "description": "表示交易员ID.",
  16799. "type": "integer"
  16800. },
  16801. "curdeliveryqty": {
  16802. "description": "表示未交收量.",
  16803. "type": "number"
  16804. },
  16805. "customername": {
  16806. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16807. "type": "string"
  16808. },
  16809. "deliverygoodsid": {
  16810. "description": "表示品种ID.",
  16811. "type": "string"
  16812. },
  16813. "deliveryqty": {
  16814. "description": "表示交收量.",
  16815. "type": "number"
  16816. },
  16817. "matchaccountid": {
  16818. "description": "表示业务员ID.",
  16819. "type": "integer"
  16820. },
  16821. "matchcustomername": {
  16822. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16823. "type": "string"
  16824. },
  16825. "priceqty": {
  16826. "description": "表示定价量.",
  16827. "type": "number"
  16828. },
  16829. "relatedbizid": {
  16830. "description": "表示业务ID.",
  16831. "type": "string"
  16832. },
  16833. "signdate": {
  16834. "description": "表示签订日期.",
  16835. "type": "string"
  16836. },
  16837. "spotcontractid": {
  16838. "description": "合同ID",
  16839. "type": "string"
  16840. },
  16841. "status": {
  16842. "description": "表示状态,0-履约中 1-已完成.",
  16843. "type": "integer"
  16844. },
  16845. "totalqty": {
  16846. "description": "表示合同量.",
  16847. "type": "number"
  16848. },
  16849. "unpricedqty": {
  16850. "description": "表示未定价量.",
  16851. "type": "number"
  16852. },
  16853. "wrstandardname": {
  16854. "description": "表示商品ID.",
  16855. "type": "string"
  16856. }
  16857. }
  16858. },
  16859. "erms3.QueryUserInfoAppliesRsp": {
  16860. "type": "object",
  16861. "required": [
  16862. "userid"
  16863. ],
  16864. "properties": {
  16865. "biznature": {
  16866. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16867. "type": "integer"
  16868. },
  16869. "contactname": {
  16870. "description": "联系人",
  16871. "type": "string"
  16872. },
  16873. "createtime": {
  16874. "description": "开户申请时间",
  16875. "type": "string"
  16876. },
  16877. "userid": {
  16878. "description": "用户ID(自增ID)",
  16879. "type": "integer"
  16880. },
  16881. "userinfotype": {
  16882. "description": "用户信息类型 - 1:个人 2:企业",
  16883. "type": "integer"
  16884. },
  16885. "username": {
  16886. "description": "用户姓名",
  16887. "type": "string"
  16888. },
  16889. "userstate": {
  16890. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16891. "type": "integer"
  16892. }
  16893. }
  16894. },
  16895. "erms3.QueryUserInfosRsp": {
  16896. "type": "object",
  16897. "required": [
  16898. "userid"
  16899. ],
  16900. "properties": {
  16901. "biznature": {
  16902. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16903. "type": "integer"
  16904. },
  16905. "contactname": {
  16906. "description": "联系人",
  16907. "type": "string"
  16908. },
  16909. "customername": {
  16910. "description": "客户名称(企业名称)",
  16911. "type": "string"
  16912. },
  16913. "userid": {
  16914. "description": "用户ID",
  16915. "type": "integer"
  16916. },
  16917. "userinfotype": {
  16918. "description": "用户信息类型 - 1:个人 2:企业",
  16919. "type": "integer"
  16920. },
  16921. "userstatus": {
  16922. "description": "用户状态 - 1:正常 2:注销",
  16923. "type": "integer"
  16924. }
  16925. }
  16926. },
  16927. "erms3.SoptContractDetail": {
  16928. "type": "object",
  16929. "required": [
  16930. "deliverygoodsid",
  16931. "producttype",
  16932. "unitname",
  16933. "warehouseid",
  16934. "wrstandardid",
  16935. "wrstandardname"
  16936. ],
  16937. "properties": {
  16938. "deliverygoodsdesc": {
  16939. "description": "现货品种说明",
  16940. "type": "string"
  16941. },
  16942. "deliverygoodsid": {
  16943. "description": "现货品种ID",
  16944. "type": "integer"
  16945. },
  16946. "deliverygoodsname": {
  16947. "description": "现货品种名称",
  16948. "type": "string"
  16949. },
  16950. "pointdesc": {
  16951. "description": "点价描述",
  16952. "type": "string"
  16953. },
  16954. "producttype": {
  16955. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16956. "type": "integer"
  16957. },
  16958. "producttypename": {
  16959. "description": "产品类型名称",
  16960. "type": "string"
  16961. },
  16962. "spotPointOrderVoList": {
  16963. "description": "点价列表",
  16964. "type": "array",
  16965. "items": {
  16966. "$ref": "#/definitions/erms3.SpotPointOrder"
  16967. }
  16968. },
  16969. "spotPriceOrderList": {
  16970. "description": "定价列表",
  16971. "type": "array",
  16972. "items": {
  16973. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16974. }
  16975. },
  16976. "unitname": {
  16977. "description": "单位名称",
  16978. "type": "string"
  16979. },
  16980. "warehouseid": {
  16981. "description": "仓库ID",
  16982. "type": "integer"
  16983. },
  16984. "warehousename": {
  16985. "description": "仓库名称",
  16986. "type": "string"
  16987. },
  16988. "wrstandardid": {
  16989. "description": "交易标的ID",
  16990. "type": "integer"
  16991. },
  16992. "wrstandardname": {
  16993. "description": "交易标的名称",
  16994. "type": "string"
  16995. }
  16996. }
  16997. },
  16998. "erms3.SpotPointOrder": {
  16999. "type": "object",
  17000. "required": [
  17001. "basic",
  17002. "goodsid",
  17003. "qty"
  17004. ],
  17005. "properties": {
  17006. "basic": {
  17007. "description": "基差",
  17008. "type": "number"
  17009. },
  17010. "deliveryenddate": {
  17011. "description": "交收结束日期",
  17012. "type": "string"
  17013. },
  17014. "deliverystartdate": {
  17015. "description": "交收开始日期",
  17016. "type": "string"
  17017. },
  17018. "enddate": {
  17019. "description": "点价结束日期",
  17020. "type": "string"
  17021. },
  17022. "goodsid": {
  17023. "description": "商品ID",
  17024. "type": "integer"
  17025. },
  17026. "goodsname": {
  17027. "description": "商品名称",
  17028. "type": "string"
  17029. },
  17030. "qty": {
  17031. "description": "数量",
  17032. "type": "number"
  17033. },
  17034. "startdate": {
  17035. "description": "点价开始日期",
  17036. "type": "string"
  17037. }
  17038. }
  17039. },
  17040. "erms3.SpotPriceOrder": {
  17041. "type": "object",
  17042. "required": [
  17043. "amount",
  17044. "price",
  17045. "qty"
  17046. ],
  17047. "properties": {
  17048. "amount": {
  17049. "description": "金额",
  17050. "type": "number"
  17051. },
  17052. "deliveryenddate": {
  17053. "description": "交收结束日期",
  17054. "type": "string"
  17055. },
  17056. "deliverystartdate": {
  17057. "description": "交收开始日期",
  17058. "type": "string"
  17059. },
  17060. "price": {
  17061. "description": "价格",
  17062. "type": "number"
  17063. },
  17064. "qty": {
  17065. "description": "数量",
  17066. "type": "number"
  17067. }
  17068. }
  17069. },
  17070. "hsby.GetHsbyMyCountRsp": {
  17071. "type": "object",
  17072. "properties": {
  17073. "myCouponCount": {
  17074. "description": "我的优惠卷数量",
  17075. "type": "integer"
  17076. },
  17077. "myOrderDetailListingCount": {
  17078. "description": "我的订单求购中数量",
  17079. "type": "integer"
  17080. },
  17081. "myOrderDetailPreCount": {
  17082. "description": "我的订单抢购中数量",
  17083. "type": "integer"
  17084. },
  17085. "myPackageUnReceiveCount": {
  17086. "description": "我的包裹待收货数量",
  17087. "type": "integer"
  17088. },
  17089. "myPackageUnSendCount": {
  17090. "description": "我的包裹待发货数量",
  17091. "type": "integer"
  17092. },
  17093. "myPayOrderCount": {
  17094. "description": "我的订单待付款数量",
  17095. "type": "integer"
  17096. }
  17097. }
  17098. },
  17099. "hsby.QueryProvincesAndCitiesRsp": {
  17100. "type": "object",
  17101. "properties": {
  17102. "cities": {
  17103. "description": "市",
  17104. "type": "array",
  17105. "items": {
  17106. "$ref": "#/definitions/models.Division"
  17107. }
  17108. },
  17109. "province": {
  17110. "description": "省",
  17111. "type": "object",
  17112. "$ref": "#/definitions/models.Division"
  17113. }
  17114. }
  17115. },
  17116. "models.AreaSpotModel": {
  17117. "type": "object",
  17118. "properties": {
  17119. "areauserid": {
  17120. "description": "所属机构",
  17121. "type": "integer"
  17122. },
  17123. "decreaseqty": {
  17124. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17125. "type": "number"
  17126. },
  17127. "increaseqty": {
  17128. "description": "增加数量=销售计划数量+采购已定价数量",
  17129. "type": "number"
  17130. },
  17131. "oritoalspotqty": {
  17132. "description": "昨日数量",
  17133. "type": "number"
  17134. },
  17135. "totalspotqty": {
  17136. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17137. "type": "number"
  17138. },
  17139. "updatetime": {
  17140. "description": "更新时间",
  17141. "type": "string"
  17142. },
  17143. "wrstandardcode": {
  17144. "description": "现货品种代码",
  17145. "type": "string"
  17146. },
  17147. "wrstandardid": {
  17148. "description": "现货商品ID",
  17149. "type": "integer"
  17150. },
  17151. "wrstandardname": {
  17152. "description": "现货品种",
  17153. "type": "string"
  17154. }
  17155. }
  17156. },
  17157. "models.Arearole": {
  17158. "type": "object",
  17159. "required": [
  17160. "roletype",
  17161. "userid"
  17162. ],
  17163. "properties": {
  17164. "createtime": {
  17165. "description": "创建时间",
  17166. "type": "string"
  17167. },
  17168. "creatorid": {
  17169. "description": "创建人ID",
  17170. "type": "integer"
  17171. },
  17172. "fromuserid": {
  17173. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  17174. "type": "integer"
  17175. },
  17176. "isreturnscore": {
  17177. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  17178. "type": "integer"
  17179. },
  17180. "modifierid": {
  17181. "description": "修改人ID",
  17182. "type": "integer"
  17183. },
  17184. "modifytime": {
  17185. "description": "修改时间",
  17186. "type": "string"
  17187. },
  17188. "orgtype": {
  17189. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  17190. "type": "integer"
  17191. },
  17192. "outuserid": {
  17193. "description": "外部账户[场外期权做市商]",
  17194. "type": "string"
  17195. },
  17196. "parentuserid": {
  17197. "description": "上级组织机构(组织机构)",
  17198. "type": "integer"
  17199. },
  17200. "roletype": {
  17201. "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:门店",
  17202. "type": "integer"
  17203. },
  17204. "rootuserid": {
  17205. "description": "顶级组织机构用户ID(组织机构)",
  17206. "type": "integer"
  17207. },
  17208. "shoppassword": {
  17209. "description": "商城店铺登陆密码(商城店铺角色使用)",
  17210. "type": "string"
  17211. },
  17212. "sublevelpath": {
  17213. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  17214. "type": "string"
  17215. },
  17216. "suborgtype": {
  17217. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  17218. "type": "integer"
  17219. },
  17220. "tradeaccountid": {
  17221. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  17222. "type": "integer"
  17223. },
  17224. "transurl": {
  17225. "description": "物流地址(物流机构)",
  17226. "type": "string"
  17227. },
  17228. "userid": {
  17229. "description": "机构用户ID其他做市关系,都设置为 1",
  17230. "type": "integer"
  17231. }
  17232. }
  17233. },
  17234. "models.Clientfixedadconfig": {
  17235. "type": "object",
  17236. "required": [
  17237. "adsort",
  17238. "adtype"
  17239. ],
  17240. "properties": {
  17241. "adsort": {
  17242. "description": "排序",
  17243. "type": "integer"
  17244. },
  17245. "adtype": {
  17246. "description": "广告位类型 - 1:新品抢购(HSBY)",
  17247. "type": "integer"
  17248. },
  17249. "areauserid": {
  17250. "description": "所属机构ID",
  17251. "type": "integer"
  17252. },
  17253. "createdate": {
  17254. "description": "创建时间",
  17255. "type": "string"
  17256. },
  17257. "creatorid": {
  17258. "description": "创建人",
  17259. "type": "integer"
  17260. },
  17261. "imagepath": {
  17262. "description": "图片",
  17263. "type": "string"
  17264. },
  17265. "isshow": {
  17266. "description": "是否展示 - 0:不展示 1:展示",
  17267. "type": "integer"
  17268. },
  17269. "modifierid": {
  17270. "description": "操作人",
  17271. "type": "integer"
  17272. },
  17273. "recsize": {
  17274. "description": "推荐尺寸",
  17275. "type": "string"
  17276. },
  17277. "title": {
  17278. "description": "标题",
  17279. "type": "string"
  17280. },
  17281. "updatedate": {
  17282. "description": "更新时间",
  17283. "type": "string"
  17284. },
  17285. "urlcontent": {
  17286. "description": "链接(地址或商品ID)",
  17287. "type": "string"
  17288. },
  17289. "urltype": {
  17290. "description": "链接类型 - 1:直接地址 2:商品ID",
  17291. "type": "integer"
  17292. }
  17293. }
  17294. },
  17295. "models.Division": {
  17296. "type": "object",
  17297. "required": [
  17298. "autoid",
  17299. "divisioncode"
  17300. ],
  17301. "properties": {
  17302. "autoid": {
  17303. "description": "自增ID",
  17304. "type": "integer"
  17305. },
  17306. "divisioncode": {
  17307. "description": "行政代码",
  17308. "type": "string"
  17309. },
  17310. "divisionlevel": {
  17311. "description": "行政级别",
  17312. "type": "string"
  17313. },
  17314. "divisionname": {
  17315. "description": "行政名称",
  17316. "type": "string"
  17317. },
  17318. "modifierid": {
  17319. "description": "修改人",
  17320. "type": "integer"
  17321. },
  17322. "modifytime": {
  17323. "description": "修改时间",
  17324. "type": "string"
  17325. },
  17326. "parentcode": {
  17327. "description": "上级行政代码",
  17328. "type": "string"
  17329. },
  17330. "pathname": {
  17331. "description": "路径名称",
  17332. "type": "string"
  17333. },
  17334. "postcode": {
  17335. "description": "邮政编码",
  17336. "type": "string"
  17337. },
  17338. "separablename": {
  17339. "description": "可拆分的全称",
  17340. "type": "string"
  17341. },
  17342. "shortcode": {
  17343. "description": "地区简码",
  17344. "type": "string"
  17345. }
  17346. }
  17347. },
  17348. "models.Enumdicitem": {
  17349. "type": "object",
  17350. "required": [
  17351. "autoid",
  17352. "enumdiccode",
  17353. "enumdicid",
  17354. "enumitemname"
  17355. ],
  17356. "properties": {
  17357. "autoid": {
  17358. "description": "自增ID",
  17359. "type": "integer"
  17360. },
  17361. "bankmappedvalue": {
  17362. "description": "银行服务对应值",
  17363. "type": "string"
  17364. },
  17365. "enumdiccode": {
  17366. "description": "所属枚举代码",
  17367. "type": "string"
  17368. },
  17369. "enumdicid": {
  17370. "description": "所属枚举ID",
  17371. "type": "integer"
  17372. },
  17373. "enumdicname": {
  17374. "description": "枚举项名称",
  17375. "type": "string"
  17376. },
  17377. "enumitemname": {
  17378. "description": "枚举项值",
  17379. "type": "integer"
  17380. },
  17381. "enumitemstatus": {
  17382. "description": "枚举项状态 - 1.启用 2.不启用",
  17383. "type": "integer"
  17384. },
  17385. "enumitemvalue": {
  17386. "description": "通用值 - [币种通用简写]",
  17387. "type": "string"
  17388. },
  17389. "param1": {
  17390. "description": "参数1[币种:币种小数位]",
  17391. "type": "string"
  17392. },
  17393. "param2": {
  17394. "description": "参数1[币种:币种显示单位]",
  17395. "type": "string"
  17396. },
  17397. "remark": {
  17398. "description": "备注",
  17399. "type": "string"
  17400. }
  17401. }
  17402. },
  17403. "models.Ermcp3AreaSpot": {
  17404. "type": "object",
  17405. "properties": {
  17406. "areauserid": {
  17407. "description": "所属机构",
  17408. "type": "integer"
  17409. },
  17410. "decreaseqty": {
  17411. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17412. "type": "number"
  17413. },
  17414. "deliverygoodscode": {
  17415. "description": "现货品种代码",
  17416. "type": "string"
  17417. },
  17418. "deliverygoodsid": {
  17419. "description": "现货品种id",
  17420. "type": "integer"
  17421. },
  17422. "deliverygoodsname": {
  17423. "description": "现货品种名称",
  17424. "type": "string"
  17425. },
  17426. "enumdicname": {
  17427. "description": "单位名称",
  17428. "type": "string"
  17429. },
  17430. "goodsunitid": {
  17431. "description": "现货品种单位id",
  17432. "type": "integer"
  17433. },
  17434. "increaseqty": {
  17435. "description": "增加数量=销售计划数量+采购已定价数量",
  17436. "type": "number"
  17437. },
  17438. "oritoalspotqty": {
  17439. "description": "昨日数量",
  17440. "type": "number"
  17441. },
  17442. "totalspotqty": {
  17443. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17444. "type": "number"
  17445. },
  17446. "updatetime": {
  17447. "description": "更新时间",
  17448. "type": "string"
  17449. }
  17450. }
  17451. },
  17452. "models.Ermcp3AreaSpotDetail": {
  17453. "type": "object",
  17454. "properties": {
  17455. "contracttype": {
  17456. "description": "合同类型 1-采购 -1-销售",
  17457. "type": "integer"
  17458. },
  17459. "createtime": {
  17460. "description": "创建时间",
  17461. "type": "string"
  17462. },
  17463. "deliverygoodscode": {
  17464. "description": "现货品种代码",
  17465. "type": "string"
  17466. },
  17467. "deliverygoodsid": {
  17468. "description": "现货品种id",
  17469. "type": "integer"
  17470. },
  17471. "deliverygoodsname": {
  17472. "description": "现货品种名称",
  17473. "type": "string"
  17474. },
  17475. "enumdicname": {
  17476. "description": "现货商品单位名称",
  17477. "type": "string"
  17478. },
  17479. "logtype": {
  17480. "description": "记录类型 1-套保 2-现货合同",
  17481. "type": "integer"
  17482. },
  17483. "qty": {
  17484. "description": "数量",
  17485. "type": "number"
  17486. },
  17487. "recordname": {
  17488. "description": "类型名称",
  17489. "type": "string"
  17490. },
  17491. "relatedid": {
  17492. "description": "套保计划ID/现货合同ID",
  17493. "type": "string"
  17494. },
  17495. "relatedno": {
  17496. "description": "编号",
  17497. "type": "string"
  17498. },
  17499. "strtime": {
  17500. "description": "时间",
  17501. "type": "string"
  17502. }
  17503. }
  17504. },
  17505. "models.Ermcp3AreaSpotPLReport": {
  17506. "type": "object",
  17507. "properties": {
  17508. "accountid": {
  17509. "description": "期货账户ID (作废, 默认为0)",
  17510. "type": "integer"
  17511. },
  17512. "accountname": {
  17513. "description": "机构名称",
  17514. "type": "string"
  17515. },
  17516. "actualpl": {
  17517. "description": "现货损益",
  17518. "type": "number"
  17519. },
  17520. "areauserid": {
  17521. "description": "所属机构\\交易用户ID",
  17522. "type": "integer"
  17523. },
  17524. "begindate": {
  17525. "description": "开始交易日",
  17526. "type": "string"
  17527. },
  17528. "biztype": {
  17529. "description": "业务类型 - 1:套保 2:套利",
  17530. "type": "integer"
  17531. },
  17532. "brandname": {
  17533. "description": "品牌名称",
  17534. "type": "string"
  17535. },
  17536. "curamount": {
  17537. "description": "期末额",
  17538. "type": "number"
  17539. },
  17540. "curaverageprice": {
  17541. "description": "期末均价",
  17542. "type": "number"
  17543. },
  17544. "curbuyamount": {
  17545. "description": "期末采购总额",
  17546. "type": "number"
  17547. },
  17548. "curbuyqty": {
  17549. "description": "期末采购总量",
  17550. "type": "number"
  17551. },
  17552. "curmarketvalue": {
  17553. "description": "参考市值(期末市值)",
  17554. "type": "number"
  17555. },
  17556. "curqty": {
  17557. "description": "期末量",
  17558. "type": "number"
  17559. },
  17560. "currencyid": {
  17561. "description": "结算币种ID【原值】",
  17562. "type": "integer"
  17563. },
  17564. "currencyname": {
  17565. "description": "币种名称",
  17566. "type": "string"
  17567. },
  17568. "cursellamount": {
  17569. "description": "期末销售总额",
  17570. "type": "number"
  17571. },
  17572. "cursellqty": {
  17573. "description": "期末销售总量",
  17574. "type": "number"
  17575. },
  17576. "curspotprice": {
  17577. "description": "参考市价(最新价)",
  17578. "type": "number"
  17579. },
  17580. "cycletime": {
  17581. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17582. "type": "string"
  17583. },
  17584. "cycletype": {
  17585. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17586. "type": "integer"
  17587. },
  17588. "deliverygoodscode": {
  17589. "description": "现货商品代码",
  17590. "type": "string"
  17591. },
  17592. "deliverygoodsid": {
  17593. "description": "现货品种ID",
  17594. "type": "integer"
  17595. },
  17596. "deliverygoodsname": {
  17597. "description": "现货商品名称",
  17598. "type": "string"
  17599. },
  17600. "enddate": {
  17601. "description": "结束交易日",
  17602. "type": "string"
  17603. },
  17604. "enumdicname": {
  17605. "description": "现货商品单位名称",
  17606. "type": "string"
  17607. },
  17608. "floatpl": {
  17609. "description": "浮动损益",
  17610. "type": "number"
  17611. },
  17612. "goodsunitid": {
  17613. "description": "现货商品单位id",
  17614. "type": "integer"
  17615. },
  17616. "oriamount": {
  17617. "description": "期初额",
  17618. "type": "number"
  17619. },
  17620. "oriaverageprice": {
  17621. "description": "期初均价",
  17622. "type": "number"
  17623. },
  17624. "oribuyamount": {
  17625. "description": "期初采购总额",
  17626. "type": "number"
  17627. },
  17628. "oribuyqty": {
  17629. "description": "期初采购总量",
  17630. "type": "number"
  17631. },
  17632. "oriqty": {
  17633. "description": "期初量",
  17634. "type": "number"
  17635. },
  17636. "orisellamount": {
  17637. "description": "期初销售总额",
  17638. "type": "number"
  17639. },
  17640. "orisellqty": {
  17641. "description": "期初销售总量",
  17642. "type": "number"
  17643. },
  17644. "reckondate": {
  17645. "description": "日照时期(yyyyMMdd)",
  17646. "type": "string"
  17647. },
  17648. "spotgoodsbrandid": {
  17649. "description": "现货品牌ID",
  17650. "type": "integer"
  17651. },
  17652. "todaybuyamount": {
  17653. "description": "今日采购额(今采购额)",
  17654. "type": "number"
  17655. },
  17656. "todaybuyaverageprice": {
  17657. "description": "今日采购均价",
  17658. "type": "number"
  17659. },
  17660. "todaybuyqty": {
  17661. "description": "今日采购量(今采购量)",
  17662. "type": "number"
  17663. },
  17664. "todayinqty": {
  17665. "description": "今日入库量(今入库量)",
  17666. "type": "number"
  17667. },
  17668. "todayoutqty": {
  17669. "description": "今日出库量(今出库量)",
  17670. "type": "number"
  17671. },
  17672. "todaysellamount": {
  17673. "description": "今日销售额(今销售额)",
  17674. "type": "number"
  17675. },
  17676. "todaysellaverageprice": {
  17677. "description": "今日销售均价",
  17678. "type": "number"
  17679. },
  17680. "todaysellqty": {
  17681. "description": "今日销售量(今销售量)",
  17682. "type": "number"
  17683. },
  17684. "unitid": {
  17685. "description": "品类单位id",
  17686. "type": "integer"
  17687. },
  17688. "unitidname": {
  17689. "description": "品类单位名称",
  17690. "type": "string"
  17691. },
  17692. "updatetime": {
  17693. "description": "更新时间",
  17694. "type": "string"
  17695. },
  17696. "wrfactortypeid": {
  17697. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17698. "type": "integer"
  17699. },
  17700. "wrstandardcode": {
  17701. "description": "品类代码",
  17702. "type": "string"
  17703. },
  17704. "wrstandardid": {
  17705. "description": "现货品类ID",
  17706. "type": "integer"
  17707. },
  17708. "wrstandardname": {
  17709. "description": "品类名称",
  17710. "type": "string"
  17711. }
  17712. }
  17713. },
  17714. "models.Ermcp3AreaStock": {
  17715. "type": "object",
  17716. "required": [
  17717. "userid"
  17718. ],
  17719. "properties": {
  17720. "brandname": {
  17721. "description": "品牌名称",
  17722. "type": "string"
  17723. },
  17724. "curstock": {
  17725. "description": "期末库存量(今日量)",
  17726. "type": "number"
  17727. },
  17728. "deliverygoodscode": {
  17729. "description": "现货品种代码",
  17730. "type": "string"
  17731. },
  17732. "deliverygoodsid": {
  17733. "description": "现货品种id",
  17734. "type": "integer"
  17735. },
  17736. "deliverygoodsname": {
  17737. "description": "现货品种名称",
  17738. "type": "string"
  17739. },
  17740. "enumdicname": {
  17741. "description": "单位名称",
  17742. "type": "string"
  17743. },
  17744. "goodsunitid": {
  17745. "description": "现货商品单位id",
  17746. "type": "integer"
  17747. },
  17748. "oristock": {
  17749. "description": "期初库存量(昨日量)",
  17750. "type": "number"
  17751. },
  17752. "spotgoodsbrandid": {
  17753. "description": "现货品牌ID",
  17754. "type": "integer"
  17755. },
  17756. "todaybuyinqty": {
  17757. "description": "今日采购入库量",
  17758. "type": "number"
  17759. },
  17760. "todayproduceinqty": {
  17761. "description": "今日生产入库量",
  17762. "type": "number"
  17763. },
  17764. "todayproduceoutqty": {
  17765. "description": "今日生产出库量",
  17766. "type": "number"
  17767. },
  17768. "todayselloutqty": {
  17769. "description": "今日销售出库量",
  17770. "type": "number"
  17771. },
  17772. "unitid": {
  17773. "description": "单位id",
  17774. "type": "integer"
  17775. },
  17776. "updatetime": {
  17777. "description": "更新时间",
  17778. "type": "string"
  17779. },
  17780. "userid": {
  17781. "description": "机构ID",
  17782. "type": "integer"
  17783. },
  17784. "username": {
  17785. "description": "机构名称",
  17786. "type": "string"
  17787. },
  17788. "warehousecode": {
  17789. "description": "仓库代码",
  17790. "type": "string"
  17791. },
  17792. "warehouseinfoid": {
  17793. "description": "仓库ID",
  17794. "type": "string"
  17795. },
  17796. "warehousename": {
  17797. "description": "仓库名称",
  17798. "type": "string"
  17799. },
  17800. "warehousetype": {
  17801. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17802. "type": "integer"
  17803. },
  17804. "wrstandardcode": {
  17805. "description": "品类代码",
  17806. "type": "string"
  17807. },
  17808. "wrstandardid": {
  17809. "description": "品类ID",
  17810. "type": "string"
  17811. },
  17812. "wrstandardname": {
  17813. "description": "品类名称",
  17814. "type": "string"
  17815. }
  17816. }
  17817. },
  17818. "models.Ermcp3AreaStockApply": {
  17819. "type": "object",
  17820. "properties": {
  17821. "applyid": {
  17822. "description": "申请人",
  17823. "type": "integer"
  17824. },
  17825. "applyname": {
  17826. "description": "申请人名称",
  17827. "type": "string"
  17828. },
  17829. "applyremark": {
  17830. "description": "申请备注",
  17831. "type": "string"
  17832. },
  17833. "applysrc": {
  17834. "description": "申请来源 - 1:管理端 2:终端",
  17835. "type": "integer"
  17836. },
  17837. "applystatus": {
  17838. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17839. "type": "integer"
  17840. },
  17841. "applytime": {
  17842. "description": "申请时间",
  17843. "type": "string"
  17844. },
  17845. "auditid": {
  17846. "description": "审核人",
  17847. "type": "integer"
  17848. },
  17849. "auditname": {
  17850. "description": "审核人名称",
  17851. "type": "string"
  17852. },
  17853. "auditremark": {
  17854. "description": "审核备注",
  17855. "type": "string"
  17856. },
  17857. "auditsrc": {
  17858. "description": "审核来源 - 1:管理端 2:终端",
  17859. "type": "integer"
  17860. },
  17861. "audittime": {
  17862. "description": "审核时间",
  17863. "type": "string"
  17864. },
  17865. "audittradedate": {
  17866. "description": "审核交易日(yyyyMMdd)",
  17867. "type": "string"
  17868. },
  17869. "brandname": {
  17870. "description": "品牌名称",
  17871. "type": "string"
  17872. },
  17873. "buynickname": {
  17874. "description": "采购方昵称",
  17875. "type": "string"
  17876. },
  17877. "buyuserid": {
  17878. "description": "采购方userid",
  17879. "type": "integer"
  17880. },
  17881. "buyusername": {
  17882. "description": "采购方名称",
  17883. "type": "string"
  17884. },
  17885. "contractno": {
  17886. "description": "合同编号",
  17887. "type": "string"
  17888. },
  17889. "contractqty": {
  17890. "description": "合同量",
  17891. "type": "number"
  17892. },
  17893. "contracttype": {
  17894. "description": "现货合同类型 - 1:采购 -1:销售",
  17895. "type": "integer"
  17896. },
  17897. "deliverygoodscode": {
  17898. "description": "现货品种代码",
  17899. "type": "string"
  17900. },
  17901. "deliverygoodsid": {
  17902. "description": "现货品种id",
  17903. "type": "integer"
  17904. },
  17905. "deliverygoodsname": {
  17906. "description": "现货品种名称",
  17907. "type": "string"
  17908. },
  17909. "detailjson": {
  17910. "description": "明细数据",
  17911. "type": "string"
  17912. },
  17913. "enumdicname": {
  17914. "description": "现货商品单位名称",
  17915. "type": "string"
  17916. },
  17917. "inoutapplyid": {
  17918. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17919. "type": "string"
  17920. },
  17921. "inouttype": {
  17922. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17923. "type": "integer"
  17924. },
  17925. "pricetype": {
  17926. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17927. "type": "integer"
  17928. },
  17929. "qty": {
  17930. "description": "数量",
  17931. "type": "number"
  17932. },
  17933. "sellnickname": {
  17934. "description": "销售方昵称",
  17935. "type": "string"
  17936. },
  17937. "selluserid": {
  17938. "description": "销售方userid",
  17939. "type": "integer"
  17940. },
  17941. "sellusername": {
  17942. "description": "销售方名称",
  17943. "type": "string"
  17944. },
  17945. "spotcontractid": {
  17946. "description": "关联现货合同ID",
  17947. "type": "string"
  17948. },
  17949. "spotgoodsbrandid": {
  17950. "description": "现货品牌ID",
  17951. "type": "integer"
  17952. },
  17953. "unitid": {
  17954. "description": "单位id",
  17955. "type": "integer"
  17956. },
  17957. "userid": {
  17958. "description": "机构ID",
  17959. "type": "integer"
  17960. },
  17961. "warehousecode": {
  17962. "description": "仓库代码",
  17963. "type": "string"
  17964. },
  17965. "warehouseinfoid": {
  17966. "description": "现货仓库ID",
  17967. "type": "string"
  17968. },
  17969. "warehousename": {
  17970. "description": "仓库名称",
  17971. "type": "string"
  17972. },
  17973. "warehousetype": {
  17974. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17975. "type": "integer"
  17976. },
  17977. "wrstandardcode": {
  17978. "description": "品类代码",
  17979. "type": "string"
  17980. },
  17981. "wrstandardid": {
  17982. "description": "品类ID",
  17983. "type": "integer"
  17984. },
  17985. "wrstandardname": {
  17986. "description": "品类名称",
  17987. "type": "string"
  17988. }
  17989. }
  17990. },
  17991. "models.Ermcp3AreaStockApplySum": {
  17992. "type": "object",
  17993. "properties": {
  17994. "brandname": {
  17995. "description": "品牌名称",
  17996. "type": "string"
  17997. },
  17998. "inouttype": {
  17999. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  18000. "type": "integer"
  18001. },
  18002. "spotcontractid": {
  18003. "description": "关联现货合同ID",
  18004. "type": "string"
  18005. },
  18006. "spotgoodsbrandid": {
  18007. "description": "品牌id",
  18008. "type": "integer"
  18009. },
  18010. "totalqty": {
  18011. "description": "总数量",
  18012. "type": "number"
  18013. },
  18014. "wrstandardid": {
  18015. "description": "品类id",
  18016. "type": "integer"
  18017. },
  18018. "wrstandardname": {
  18019. "description": "品类名称",
  18020. "type": "string"
  18021. }
  18022. }
  18023. },
  18024. "models.Ermcp3AreaStockReportEx": {
  18025. "type": "object",
  18026. "properties": {
  18027. "begindate": {
  18028. "description": "开始交易日",
  18029. "type": "string"
  18030. },
  18031. "brandname": {
  18032. "description": "品牌名称",
  18033. "type": "string"
  18034. },
  18035. "curstock": {
  18036. "description": "期末库存量",
  18037. "type": "number"
  18038. },
  18039. "cycletime": {
  18040. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18041. "type": "string"
  18042. },
  18043. "cycletype": {
  18044. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18045. "type": "integer"
  18046. },
  18047. "deliverygoodscode": {
  18048. "description": "现货品种代码",
  18049. "type": "string"
  18050. },
  18051. "deliverygoodsid": {
  18052. "description": "现货品种id",
  18053. "type": "integer"
  18054. },
  18055. "deliverygoodsname": {
  18056. "description": "现货品种名称",
  18057. "type": "string"
  18058. },
  18059. "diffqty": {
  18060. "description": "库存变化量 = 期末 - 期初",
  18061. "type": "number"
  18062. },
  18063. "enddate": {
  18064. "description": "结束交易日",
  18065. "type": "string"
  18066. },
  18067. "enumdicname": {
  18068. "description": "单位名称",
  18069. "type": "string"
  18070. },
  18071. "goodsunitid": {
  18072. "description": "现货单位id",
  18073. "type": "integer"
  18074. },
  18075. "oristock": {
  18076. "description": "期初库存量",
  18077. "type": "number"
  18078. },
  18079. "reckondate": {
  18080. "description": "日照时期(yyyyMMdd)",
  18081. "type": "string"
  18082. },
  18083. "spotgoodsbrandid": {
  18084. "description": "现货品牌ID",
  18085. "type": "integer"
  18086. },
  18087. "todaybuyinqty": {
  18088. "description": "今采购入库量",
  18089. "type": "number"
  18090. },
  18091. "todayproduceinqty": {
  18092. "description": "今内部入库量",
  18093. "type": "number"
  18094. },
  18095. "todayproduceoutqty": {
  18096. "description": "今内部出库量",
  18097. "type": "number"
  18098. },
  18099. "todayselloutqty": {
  18100. "description": "今销售出库量",
  18101. "type": "number"
  18102. },
  18103. "unbuyinqty": {
  18104. "description": "采购未入库量(数据库未找到相关字段?)",
  18105. "type": "number"
  18106. },
  18107. "unitid": {
  18108. "description": "品类单位id",
  18109. "type": "integer"
  18110. },
  18111. "unselloutqty": {
  18112. "description": "销售未出库量(数据库未找到相关字段?)",
  18113. "type": "number"
  18114. },
  18115. "updatetime": {
  18116. "description": "更新时间",
  18117. "type": "string"
  18118. },
  18119. "userid": {
  18120. "description": "机构ID",
  18121. "type": "integer"
  18122. },
  18123. "username": {
  18124. "description": "机构名称",
  18125. "type": "string"
  18126. },
  18127. "warehousecode": {
  18128. "description": "仓库代码",
  18129. "type": "string"
  18130. },
  18131. "warehouseinfoid": {
  18132. "description": "仓库ID",
  18133. "type": "string"
  18134. },
  18135. "warehousename": {
  18136. "description": "仓库名称",
  18137. "type": "string"
  18138. },
  18139. "warehousetype": {
  18140. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18141. "type": "integer"
  18142. },
  18143. "wrstandardcode": {
  18144. "description": "品类代码",
  18145. "type": "string"
  18146. },
  18147. "wrstandardid": {
  18148. "description": "品类ID",
  18149. "type": "integer"
  18150. },
  18151. "wrstandardname": {
  18152. "description": "品类名称",
  18153. "type": "string"
  18154. }
  18155. }
  18156. },
  18157. "models.Ermcp3ArealSumPL": {
  18158. "type": "object",
  18159. "properties": {
  18160. "accountname": {
  18161. "description": "机构名称",
  18162. "type": "string"
  18163. },
  18164. "areauserid": {
  18165. "description": "所属机构\\交易用户ID",
  18166. "type": "integer"
  18167. },
  18168. "begindate": {
  18169. "description": "开始交易日",
  18170. "type": "string"
  18171. },
  18172. "currencyid": {
  18173. "description": "结算币种ID",
  18174. "type": "integer"
  18175. },
  18176. "currencyname": {
  18177. "description": "币种名称",
  18178. "type": "string"
  18179. },
  18180. "cycletime": {
  18181. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18182. "type": "string"
  18183. },
  18184. "cycletype": {
  18185. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18186. "type": "integer"
  18187. },
  18188. "enddate": {
  18189. "description": "结束交易日",
  18190. "type": "string"
  18191. },
  18192. "enumdicname": {
  18193. "description": "单位名称(套保品种)",
  18194. "type": "string"
  18195. },
  18196. "futureactualpl": {
  18197. "description": "期货损益",
  18198. "type": "number"
  18199. },
  18200. "futurefloatpl": {
  18201. "description": "期货浮动损益",
  18202. "type": "number"
  18203. },
  18204. "goodsunitid": {
  18205. "description": "套保品种单位id",
  18206. "type": "integer"
  18207. },
  18208. "middlegoodscode": {
  18209. "description": "套保品种代码",
  18210. "type": "string"
  18211. },
  18212. "middlegoodsid": {
  18213. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18214. "type": "integer"
  18215. },
  18216. "middlegoodsname": {
  18217. "description": "套保品种名称",
  18218. "type": "string"
  18219. },
  18220. "reckondate": {
  18221. "description": "日照时期(yyyyMMdd)",
  18222. "type": "string"
  18223. },
  18224. "spotactualpl": {
  18225. "description": "现货损益",
  18226. "type": "number"
  18227. },
  18228. "spotfloatpl": {
  18229. "description": "现货浮动损益",
  18230. "type": "number"
  18231. },
  18232. "sumactualpl": {
  18233. "description": "实际损益 = (ActualPL + FutureActualPL)",
  18234. "type": "number"
  18235. },
  18236. "sumpl": {
  18237. "description": "汇总损益",
  18238. "type": "number"
  18239. },
  18240. "updatetime": {
  18241. "description": "更新时间",
  18242. "type": "string"
  18243. }
  18244. }
  18245. },
  18246. "models.Ermcp3Brand": {
  18247. "type": "object",
  18248. "properties": {
  18249. "areauserid": {
  18250. "description": "用户id",
  18251. "type": "integer"
  18252. },
  18253. "brandid": {
  18254. "description": "品牌id",
  18255. "type": "integer"
  18256. },
  18257. "brandname": {
  18258. "description": "品牌名称",
  18259. "type": "string"
  18260. },
  18261. "deliverygoodsid": {
  18262. "description": "品种ID",
  18263. "type": "integer"
  18264. }
  18265. }
  18266. },
  18267. "models.Ermcp3Contract": {
  18268. "type": "object",
  18269. "properties": {
  18270. "accountid": {
  18271. "description": "期货账户id",
  18272. "type": "string"
  18273. },
  18274. "amount": {
  18275. "description": "金额 [1:一口价、3:暂定价]",
  18276. "type": "number"
  18277. },
  18278. "attachment": {
  18279. "description": "附件",
  18280. "type": "string"
  18281. },
  18282. "auditremark": {
  18283. "description": "审核意见",
  18284. "type": "string"
  18285. },
  18286. "audittime": {
  18287. "description": "审核时间",
  18288. "type": "string"
  18289. },
  18290. "biztype": {
  18291. "description": "业务类型 1-套保 2-套利",
  18292. "type": "integer"
  18293. },
  18294. "brandname": {
  18295. "description": "品牌名称",
  18296. "type": "string"
  18297. },
  18298. "buynickname": {
  18299. "description": "销售方昵称",
  18300. "type": "string"
  18301. },
  18302. "buyuserid": {
  18303. "description": "采购方ID",
  18304. "type": "integer"
  18305. },
  18306. "buyusername": {
  18307. "description": "采购方名称",
  18308. "type": "string"
  18309. },
  18310. "contracctstatus": {
  18311. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18312. "type": "integer"
  18313. },
  18314. "contractmargin": {
  18315. "description": "合同保证金",
  18316. "type": "number"
  18317. },
  18318. "contractno": {
  18319. "description": "现货合同编号",
  18320. "type": "string"
  18321. },
  18322. "contracttype": {
  18323. "description": "现货合同类型 - 1:采购 -1:销售",
  18324. "type": "integer"
  18325. },
  18326. "convertfactor": {
  18327. "description": "标仓系数(品类)",
  18328. "type": "number"
  18329. },
  18330. "createtime": {
  18331. "description": "创建时间",
  18332. "type": "string"
  18333. },
  18334. "currencyid": {
  18335. "description": "币种id",
  18336. "type": "integer"
  18337. },
  18338. "currencyname": {
  18339. "description": "币种名称",
  18340. "type": "string"
  18341. },
  18342. "deliveryenddate": {
  18343. "description": "交收期(结束)",
  18344. "type": "string"
  18345. },
  18346. "deliverygoodscode": {
  18347. "description": "现货品种代码",
  18348. "type": "string"
  18349. },
  18350. "deliverygoodsid": {
  18351. "description": "现货品种ID",
  18352. "type": "integer"
  18353. },
  18354. "deliverygoodsname": {
  18355. "description": "现货品种名称",
  18356. "type": "string"
  18357. },
  18358. "deliverystartdate": {
  18359. "description": "交收期(开始)",
  18360. "type": "string"
  18361. },
  18362. "enddate": {
  18363. "description": "点价结束日期 [2:点价 3:暂定价]",
  18364. "type": "string"
  18365. },
  18366. "enumdicname": {
  18367. "description": "单位名称",
  18368. "type": "string"
  18369. },
  18370. "goodscode": {
  18371. "description": "点价合约代码",
  18372. "type": "string"
  18373. },
  18374. "goodsid": {
  18375. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18376. "type": "integer"
  18377. },
  18378. "goodsname": {
  18379. "description": "点价商品名称",
  18380. "type": "string"
  18381. },
  18382. "margin": {
  18383. "description": "当前保证金",
  18384. "type": "number"
  18385. },
  18386. "meruserid": {
  18387. "description": "跟单员id",
  18388. "type": "integer"
  18389. },
  18390. "meruserlogincode": {
  18391. "description": "跟单员登录代码",
  18392. "type": "string"
  18393. },
  18394. "merusername": {
  18395. "description": "跟单员名称",
  18396. "type": "string"
  18397. },
  18398. "price": {
  18399. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18400. "type": "number"
  18401. },
  18402. "pricemove": {
  18403. "description": "升贴水 [2:点价 3:暂定价]",
  18404. "type": "number"
  18405. },
  18406. "pricetype": {
  18407. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18408. "type": "integer"
  18409. },
  18410. "producttype": {
  18411. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18412. "type": "integer"
  18413. },
  18414. "qty": {
  18415. "description": "数量",
  18416. "type": "number"
  18417. },
  18418. "remark": {
  18419. "description": "备注",
  18420. "type": "string"
  18421. },
  18422. "saleuserid": {
  18423. "description": "业务员id",
  18424. "type": "integer"
  18425. },
  18426. "saleuserlogincode": {
  18427. "description": "业务员登录代码",
  18428. "type": "string"
  18429. },
  18430. "saleusername": {
  18431. "description": "业务员名称",
  18432. "type": "string"
  18433. },
  18434. "sellnickname": {
  18435. "description": "采购方昵称",
  18436. "type": "string"
  18437. },
  18438. "selluserid": {
  18439. "description": "销售方ID",
  18440. "type": "integer"
  18441. },
  18442. "sellusername": {
  18443. "description": "销售方名称",
  18444. "type": "string"
  18445. },
  18446. "spotcontractid": {
  18447. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18448. "type": "string"
  18449. },
  18450. "spotgoodsbrandid": {
  18451. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18452. "type": "integer"
  18453. },
  18454. "spotgoodsdesc": {
  18455. "description": "商品型号",
  18456. "type": "string"
  18457. },
  18458. "startdate": {
  18459. "description": "点价开始日期 [2:点价 3:暂定价]",
  18460. "type": "string"
  18461. },
  18462. "subjectid": {
  18463. "description": "交易主体ID",
  18464. "type": "string"
  18465. },
  18466. "subjectname": {
  18467. "description": "交易主体名称",
  18468. "type": "string"
  18469. },
  18470. "tradeuserid": {
  18471. "description": "交易员id",
  18472. "type": "integer"
  18473. },
  18474. "tradeuserlogincode": {
  18475. "description": "交易员登录代码",
  18476. "type": "string"
  18477. },
  18478. "tradeusername": {
  18479. "description": "交易员名称",
  18480. "type": "string"
  18481. },
  18482. "unitid": {
  18483. "description": "单位id(取品类上的单位id)",
  18484. "type": "integer"
  18485. },
  18486. "updatetime": {
  18487. "description": "更新时间",
  18488. "type": "string"
  18489. },
  18490. "userid": {
  18491. "description": "所属机构ID",
  18492. "type": "integer"
  18493. },
  18494. "wrstandardcode": {
  18495. "description": "品类代码",
  18496. "type": "string"
  18497. },
  18498. "wrstandardid": {
  18499. "description": "品类ID",
  18500. "type": "integer"
  18501. },
  18502. "wrstandardname": {
  18503. "description": "品类名称",
  18504. "type": "string"
  18505. }
  18506. }
  18507. },
  18508. "models.Ermcp3ExposureContractDetail": {
  18509. "type": "object",
  18510. "properties": {
  18511. "biztype": {
  18512. "description": "业务类型 1-套保 2-套利",
  18513. "type": "integer"
  18514. },
  18515. "brandname": {
  18516. "description": "品牌名称",
  18517. "type": "string"
  18518. },
  18519. "buyuserid": {
  18520. "description": "采购方id",
  18521. "type": "integer"
  18522. },
  18523. "buyusername": {
  18524. "description": "采购方名称",
  18525. "type": "string"
  18526. },
  18527. "contractno": {
  18528. "description": "合同编号",
  18529. "type": "string"
  18530. },
  18531. "contracttype": {
  18532. "description": "现货合同类型 - 1:采购 -1:销售",
  18533. "type": "integer"
  18534. },
  18535. "convertfactor": {
  18536. "description": "标仓系数",
  18537. "type": "number"
  18538. },
  18539. "convertratio": {
  18540. "description": "折算系数(套保品种)",
  18541. "type": "number"
  18542. },
  18543. "curqty": {
  18544. "description": "今定价量",
  18545. "type": "number"
  18546. },
  18547. "deliverygoodscode": {
  18548. "description": "现货商品代码",
  18549. "type": "string"
  18550. },
  18551. "deliverygoodsid": {
  18552. "description": "现货商品id",
  18553. "type": "integer"
  18554. },
  18555. "deliverygoodsname": {
  18556. "description": "现货商品名称",
  18557. "type": "string"
  18558. },
  18559. "diffhedgeqty": {
  18560. "description": "套保变动量",
  18561. "type": "number"
  18562. },
  18563. "diffneedhedgeqty": {
  18564. "description": "应套保变动量",
  18565. "type": "number"
  18566. },
  18567. "diffqty": {
  18568. "description": "套保品种今变动量",
  18569. "type": "number"
  18570. },
  18571. "enumdicname": {
  18572. "description": "单位名称",
  18573. "type": "string"
  18574. },
  18575. "mgunitname": {
  18576. "description": "套保品种单位名称",
  18577. "type": "string"
  18578. },
  18579. "middlegoodscode": {
  18580. "description": "套保品种代码",
  18581. "type": "string"
  18582. },
  18583. "middlegoodsid": {
  18584. "description": "套保品种id",
  18585. "type": "integer"
  18586. },
  18587. "middlegoodsname": {
  18588. "description": "套保品种名称",
  18589. "type": "string"
  18590. },
  18591. "needarbitrageratio": {
  18592. "description": "应套利比例",
  18593. "type": "number"
  18594. },
  18595. "needhedgeratio": {
  18596. "description": "应套保比例",
  18597. "type": "number"
  18598. },
  18599. "pricedqty": {
  18600. "description": "已定价量",
  18601. "type": "number"
  18602. },
  18603. "qty": {
  18604. "description": "合同量",
  18605. "type": "number"
  18606. },
  18607. "selluserid": {
  18608. "description": "销售方id",
  18609. "type": "integer"
  18610. },
  18611. "sellusername": {
  18612. "description": "销售方名称",
  18613. "type": "string"
  18614. },
  18615. "spotcontractid": {
  18616. "description": "合同id",
  18617. "type": "string"
  18618. },
  18619. "todaypricedqty": {
  18620. "description": "今定价量",
  18621. "type": "number"
  18622. },
  18623. "tradedate": {
  18624. "description": "交易日",
  18625. "type": "string"
  18626. },
  18627. "unitid": {
  18628. "description": "品类单位id",
  18629. "type": "integer"
  18630. },
  18631. "userid": {
  18632. "description": "机构id",
  18633. "type": "integer"
  18634. },
  18635. "username": {
  18636. "description": "交易用户",
  18637. "type": "string"
  18638. },
  18639. "wrstandardcode": {
  18640. "description": "品类代码",
  18641. "type": "string"
  18642. },
  18643. "wrstandardid": {
  18644. "description": "品类id",
  18645. "type": "integer"
  18646. },
  18647. "wrstandardname": {
  18648. "description": "品类名称",
  18649. "type": "string"
  18650. }
  18651. }
  18652. },
  18653. "models.Ermcp3ExposureDetail": {
  18654. "type": "object",
  18655. "properties": {
  18656. "areauserid": {
  18657. "description": "机构ID",
  18658. "type": "integer"
  18659. },
  18660. "changeQty": {
  18661. "description": "套保变动量",
  18662. "type": "number"
  18663. },
  18664. "contracttype": {
  18665. "description": "现货合同类型 - 1:采购 -1:销售",
  18666. "type": "integer"
  18667. },
  18668. "convertfactor": {
  18669. "description": "标仓系数",
  18670. "type": "number"
  18671. },
  18672. "convertratio": {
  18673. "description": "套保系数",
  18674. "type": "number"
  18675. },
  18676. "createtime": {
  18677. "description": "时间",
  18678. "type": "string"
  18679. },
  18680. "deliverygoodscode": {
  18681. "description": "现货品种代码",
  18682. "type": "string"
  18683. },
  18684. "deliverygoodsid": {
  18685. "description": "现货品种id",
  18686. "type": "integer"
  18687. },
  18688. "deliverygoodsname": {
  18689. "description": "现货品种名称",
  18690. "type": "string"
  18691. },
  18692. "enumdicname": {
  18693. "description": "现货商品单位名称",
  18694. "type": "string"
  18695. },
  18696. "logtype": {
  18697. "description": "类型 - 1:套保计划 2:现货合同",
  18698. "type": "integer"
  18699. },
  18700. "mgunitid": {
  18701. "description": "套保品种单位id",
  18702. "type": "integer"
  18703. },
  18704. "mgunitidname": {
  18705. "description": "套保品种单位名称",
  18706. "type": "string"
  18707. },
  18708. "middlegoodsId": {
  18709. "description": "套保商品id",
  18710. "type": "integer"
  18711. },
  18712. "middlegoodscode": {
  18713. "description": "套保商品代码",
  18714. "type": "string"
  18715. },
  18716. "middlegoodsname": {
  18717. "description": "套保商品名称",
  18718. "type": "string"
  18719. },
  18720. "qty": {
  18721. "description": "数量",
  18722. "type": "number"
  18723. },
  18724. "relateNo": {
  18725. "description": "现货合同/套保计划编号",
  18726. "type": "string"
  18727. }
  18728. }
  18729. },
  18730. "models.Ermcp3ExposureFutuDetail": {
  18731. "type": "object",
  18732. "properties": {
  18733. "accountid": {
  18734. "description": "交易账户id",
  18735. "type": "integer"
  18736. },
  18737. "accountname": {
  18738. "description": "交易账户",
  18739. "type": "string"
  18740. },
  18741. "begindate": {
  18742. "description": "开始交易日",
  18743. "type": "string"
  18744. },
  18745. "buyorsell": {
  18746. "description": "方向 0-买 1-卖",
  18747. "type": "integer"
  18748. },
  18749. "diffmgqty": {
  18750. "description": "套保品种今变化量",
  18751. "type": "number"
  18752. },
  18753. "diffneedqty": {
  18754. "description": "应套保总量变化量",
  18755. "type": "number"
  18756. },
  18757. "difftradeqty": {
  18758. "description": "交易品种今变化量",
  18759. "type": "number"
  18760. },
  18761. "enddate": {
  18762. "description": "结束交易日",
  18763. "type": "string"
  18764. },
  18765. "enumdicname": {
  18766. "description": "单位名称",
  18767. "type": "string"
  18768. },
  18769. "goodscode": {
  18770. "description": "商品代码",
  18771. "type": "string"
  18772. },
  18773. "goodsid": {
  18774. "description": "商品id",
  18775. "type": "integer"
  18776. },
  18777. "goodsname": {
  18778. "description": "商品名称",
  18779. "type": "string"
  18780. },
  18781. "holdqty": {
  18782. "description": "期末持仓量",
  18783. "type": "number"
  18784. },
  18785. "middlegoodscode": {
  18786. "description": "套保商品代码",
  18787. "type": "string"
  18788. },
  18789. "middlegoodsid": {
  18790. "description": "套保商品id",
  18791. "type": "integer"
  18792. },
  18793. "middlegoodsname": {
  18794. "description": "套保商品名称",
  18795. "type": "string"
  18796. },
  18797. "oriholdqty": {
  18798. "description": "期初持仓量",
  18799. "type": "number"
  18800. },
  18801. "todaycloseqty": {
  18802. "description": "今平仓量",
  18803. "type": "number"
  18804. },
  18805. "todayopenqty": {
  18806. "description": "今开仓量",
  18807. "type": "number"
  18808. },
  18809. "tradedate": {
  18810. "description": "交易日",
  18811. "type": "string"
  18812. }
  18813. }
  18814. },
  18815. "models.Ermcp3ExposureHedgeplanDetail": {
  18816. "type": "object",
  18817. "properties": {
  18818. "biztype": {
  18819. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18820. "type": "integer"
  18821. },
  18822. "changqty": {
  18823. "description": "应套保总量变化量",
  18824. "type": "number"
  18825. },
  18826. "contracttype": {
  18827. "description": "计划类型 - 1:采购 -1:销售",
  18828. "type": "integer"
  18829. },
  18830. "convertratio": {
  18831. "description": "折算系数(套保品种)",
  18832. "type": "number"
  18833. },
  18834. "deliverygoodscode": {
  18835. "description": "现货商品代码",
  18836. "type": "string"
  18837. },
  18838. "deliverygoodsid": {
  18839. "description": "现货商品id",
  18840. "type": "integer"
  18841. },
  18842. "deliverygoodsname": {
  18843. "description": "现货商吕名称",
  18844. "type": "string"
  18845. },
  18846. "dgunitid": {
  18847. "description": "现货商品单位id",
  18848. "type": "integer"
  18849. },
  18850. "dgunitidname": {
  18851. "description": "单位名称(现货商品)",
  18852. "type": "string"
  18853. },
  18854. "diffqty": {
  18855. "description": "套保品种今变动量",
  18856. "type": "number"
  18857. },
  18858. "enumdicname": {
  18859. "description": "单位名称(品类)",
  18860. "type": "string"
  18861. },
  18862. "hedgeplanid": {
  18863. "description": "套保计划id",
  18864. "type": "string"
  18865. },
  18866. "hedgeplanno": {
  18867. "description": "套保计划名称",
  18868. "type": "string"
  18869. },
  18870. "hedgeplanstatus": {
  18871. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18872. "type": "integer"
  18873. },
  18874. "mgunitidname": {
  18875. "description": "单位名称(套保商品)",
  18876. "type": "string"
  18877. },
  18878. "middlegoodscode": {
  18879. "description": "套保品种代码",
  18880. "type": "string"
  18881. },
  18882. "middlegoodsid": {
  18883. "description": "套保品种id",
  18884. "type": "integer"
  18885. },
  18886. "middlegoodsname": {
  18887. "description": "套保品种名称",
  18888. "type": "string"
  18889. },
  18890. "needarbitrageratio": {
  18891. "description": "应套利比例",
  18892. "type": "number"
  18893. },
  18894. "needhedgeratio": {
  18895. "description": "应套保比例",
  18896. "type": "number"
  18897. },
  18898. "pricedqty": {
  18899. "description": "已定价量",
  18900. "type": "number"
  18901. },
  18902. "qty": {
  18903. "description": "合同量",
  18904. "type": "number"
  18905. },
  18906. "tradedate": {
  18907. "description": "交易日(登记日)",
  18908. "type": "string"
  18909. },
  18910. "unitid": {
  18911. "description": "品类单位id",
  18912. "type": "integer"
  18913. },
  18914. "userid": {
  18915. "description": "机构id",
  18916. "type": "integer"
  18917. },
  18918. "wrstandardcode": {
  18919. "description": "品类代码",
  18920. "type": "string"
  18921. },
  18922. "wrstandardid": {
  18923. "description": "品类id",
  18924. "type": "integer"
  18925. },
  18926. "wrstandardname": {
  18927. "description": "品类名称",
  18928. "type": "string"
  18929. }
  18930. }
  18931. },
  18932. "models.Ermcp3ExposureParamChLog": {
  18933. "type": "object",
  18934. "properties": {
  18935. "accountid": {
  18936. "description": "期货账户ID (作废, 默认为0)",
  18937. "type": "integer"
  18938. },
  18939. "aftervalue": {
  18940. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18941. "type": "number"
  18942. },
  18943. "areauserid": {
  18944. "description": "所属机构\\交易用户ID",
  18945. "type": "integer"
  18946. },
  18947. "beforevalue": {
  18948. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18949. "type": "number"
  18950. },
  18951. "begindate": {
  18952. "description": "开始交易日",
  18953. "type": "string"
  18954. },
  18955. "changelogtype": {
  18956. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18957. "type": "integer"
  18958. },
  18959. "curvalue": {
  18960. "description": "当前套保\\套利量(套保总量|套利总量)",
  18961. "type": "number"
  18962. },
  18963. "diffvalue": {
  18964. "description": "应套保总量变化量",
  18965. "type": "number"
  18966. },
  18967. "enddate": {
  18968. "description": "结束交易日",
  18969. "type": "string"
  18970. },
  18971. "logdatetime": {
  18972. "description": "流水日期",
  18973. "type": "string"
  18974. },
  18975. "logid": {
  18976. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18977. "type": "string"
  18978. },
  18979. "middlegoodscode": {
  18980. "description": "套保品种代码",
  18981. "type": "string"
  18982. },
  18983. "middlegoodsid": {
  18984. "description": "套保品种",
  18985. "type": "integer"
  18986. },
  18987. "middlegoodsname": {
  18988. "description": "套保品种名称",
  18989. "type": "string"
  18990. },
  18991. "paramaftervalue": {
  18992. "description": "参数变更后(调整后参数值)",
  18993. "type": "number"
  18994. },
  18995. "parambeforevalue": {
  18996. "description": "参数变更前(调整前参数值)",
  18997. "type": "number"
  18998. },
  18999. "tradedate": {
  19000. "description": "交易日(yyyyMMdd)",
  19001. "type": "string"
  19002. }
  19003. }
  19004. },
  19005. "models.Ermcp3ExpourseReport": {
  19006. "type": "object",
  19007. "properties": {
  19008. "accountid": {
  19009. "description": "期货账户ID (作废, 默认为0)",
  19010. "type": "integer"
  19011. },
  19012. "accountname": {
  19013. "description": "机构名称",
  19014. "type": "string"
  19015. },
  19016. "arbitrageqty": {
  19017. "description": "套利量",
  19018. "type": "number"
  19019. },
  19020. "areauserid": {
  19021. "description": "所属机构\\交易用户ID",
  19022. "type": "integer"
  19023. },
  19024. "begindate": {
  19025. "description": "开始交易日",
  19026. "type": "string"
  19027. },
  19028. "buyfutureqty": {
  19029. "description": "买入期货数量",
  19030. "type": "number"
  19031. },
  19032. "buyplanqty": {
  19033. "description": "采购计划数量",
  19034. "type": "number"
  19035. },
  19036. "buypricedqty": {
  19037. "description": "采购合同已定价数量",
  19038. "type": "number"
  19039. },
  19040. "cycletime": {
  19041. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19042. "type": "string"
  19043. },
  19044. "cycletype": {
  19045. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19046. "type": "integer"
  19047. },
  19048. "diffexposure": {
  19049. "description": "变动量(套保敞口)",
  19050. "type": "number"
  19051. },
  19052. "difffutuqty": {
  19053. "description": "变动量(期货)",
  19054. "type": "number"
  19055. },
  19056. "diffhedgeqty": {
  19057. "description": "变动量(现货应套保总量)",
  19058. "type": "number"
  19059. },
  19060. "diffmgqtya": {
  19061. "description": "套保变动量",
  19062. "type": "number"
  19063. },
  19064. "diffmgqtyb": {
  19065. "description": "套利变动量",
  19066. "type": "number"
  19067. },
  19068. "diffqty": {
  19069. "description": "变动量(总敞口)",
  19070. "type": "number"
  19071. },
  19072. "diffspotqty": {
  19073. "description": "变动量(现货)",
  19074. "type": "number"
  19075. },
  19076. "enddate": {
  19077. "description": "结束交易日",
  19078. "type": "string"
  19079. },
  19080. "enumdicname": {
  19081. "description": "单位名称",
  19082. "type": "string"
  19083. },
  19084. "hedgeqty": {
  19085. "description": "套保量",
  19086. "type": "number"
  19087. },
  19088. "mgneedhedgeratio": {
  19089. "description": "套保比例(套保品的)",
  19090. "type": "number"
  19091. },
  19092. "middlegoodsid": {
  19093. "description": "套保品种ID",
  19094. "type": "integer"
  19095. },
  19096. "middlegoodsname": {
  19097. "description": "套保商品名称",
  19098. "type": "string"
  19099. },
  19100. "middlgoodscode": {
  19101. "description": "套保商品代码",
  19102. "type": "string"
  19103. },
  19104. "needarbitrageqty": {
  19105. "description": "应套利量",
  19106. "type": "number"
  19107. },
  19108. "needarbitrageratio": {
  19109. "description": "套利比例(套保品的)",
  19110. "type": "number"
  19111. },
  19112. "needhedgeexposoure": {
  19113. "description": "应套保敞口(套保敞口)",
  19114. "type": "number"
  19115. },
  19116. "needhedgeqty": {
  19117. "description": "应套保量",
  19118. "type": "number"
  19119. },
  19120. "needhedgeratio": {
  19121. "description": "应套保敞口比例",
  19122. "type": "number"
  19123. },
  19124. "oriarbitrageqty": {
  19125. "description": "期初套利量",
  19126. "type": "number"
  19127. },
  19128. "oribuyfutureqty": {
  19129. "description": "期初买入期货数量",
  19130. "type": "number"
  19131. },
  19132. "oribuyplanqty": {
  19133. "description": "期初采购计划数量",
  19134. "type": "number"
  19135. },
  19136. "oribuypricedqty": {
  19137. "description": "期初采购合同已定价数量",
  19138. "type": "number"
  19139. },
  19140. "orihedgeqty": {
  19141. "description": "期初套保量",
  19142. "type": "number"
  19143. },
  19144. "orineedarbitrageqty": {
  19145. "description": "期初应套利量",
  19146. "type": "number"
  19147. },
  19148. "orineedhedgeexposoure": {
  19149. "description": "期初应套保敞口",
  19150. "type": "number"
  19151. },
  19152. "orineedhedgeqty": {
  19153. "description": "期初应套保量",
  19154. "type": "number"
  19155. },
  19156. "orisellfutureqty": {
  19157. "description": "期初卖出期货数量",
  19158. "type": "number"
  19159. },
  19160. "orisellplanqty": {
  19161. "description": "期初销售计划数量",
  19162. "type": "number"
  19163. },
  19164. "orisellpricedqty": {
  19165. "description": "期初销售合同已定价数量",
  19166. "type": "number"
  19167. },
  19168. "oritotalexposure": {
  19169. "description": "期初实时总敞口",
  19170. "type": "number"
  19171. },
  19172. "oritotalfutureqty": {
  19173. "description": "期初期货头寸总量",
  19174. "type": "number"
  19175. },
  19176. "oritotalneedhedgeqty": {
  19177. "description": "期初应套保总量",
  19178. "type": "number"
  19179. },
  19180. "oritotalspotqty": {
  19181. "description": "期初现货头寸总量",
  19182. "type": "number"
  19183. },
  19184. "reckondate": {
  19185. "description": "日照时期(yyyyMMdd)",
  19186. "type": "string"
  19187. },
  19188. "sellfutureqty": {
  19189. "description": "卖出期货数量",
  19190. "type": "number"
  19191. },
  19192. "sellplanqty": {
  19193. "description": "销售计划数量",
  19194. "type": "number"
  19195. },
  19196. "sellpricedqty": {
  19197. "description": "销售合同已定价数量",
  19198. "type": "number"
  19199. },
  19200. "totalexposure": {
  19201. "description": "实时总敞口(总敞口)",
  19202. "type": "number"
  19203. },
  19204. "totalfutureqty": {
  19205. "description": "期货头寸总量(期货总量)",
  19206. "type": "number"
  19207. },
  19208. "totalhedgeratio": {
  19209. "description": "敞口比例",
  19210. "type": "number"
  19211. },
  19212. "totalneedhedgeqty": {
  19213. "description": "应套保总量(现货应套保总量)",
  19214. "type": "number"
  19215. },
  19216. "totalspotqty": {
  19217. "description": "现货头寸总量",
  19218. "type": "number"
  19219. },
  19220. "unitid": {
  19221. "description": "单位id",
  19222. "type": "integer"
  19223. },
  19224. "updatetime": {
  19225. "description": "更新时间",
  19226. "type": "string"
  19227. }
  19228. }
  19229. },
  19230. "models.Ermcp3FinanceReport": {
  19231. "type": "object",
  19232. "properties": {
  19233. "accountname": {
  19234. "description": "机构名称",
  19235. "type": "string"
  19236. },
  19237. "areauserid": {
  19238. "description": "所属机构\\交易用户ID",
  19239. "type": "integer"
  19240. },
  19241. "begindate": {
  19242. "description": "开始交易日",
  19243. "type": "string"
  19244. },
  19245. "biztype": {
  19246. "description": "业务类型 - 1:套保 2:套利",
  19247. "type": "integer"
  19248. },
  19249. "brandname": {
  19250. "description": "品牌名称",
  19251. "type": "string"
  19252. },
  19253. "buypreinvoicedamount": {
  19254. "description": "采购预收票额(预收票额)",
  19255. "type": "number"
  19256. },
  19257. "buyprepaidamount": {
  19258. "description": "采购预付款额(预付货款额)",
  19259. "type": "number"
  19260. },
  19261. "buytodayinvoiceamount": {
  19262. "description": "采购今收票额(今收票额)",
  19263. "type": "number"
  19264. },
  19265. "buytodayrefundamount": {
  19266. "description": "采购今收退款额(今收退款额)",
  19267. "type": "number"
  19268. },
  19269. "buytodaysettleamount": {
  19270. "description": "采购今付款额(今付货款额)",
  19271. "type": "number"
  19272. },
  19273. "buyuninvoicedamount": {
  19274. "description": "采购应收票额(应收票额)",
  19275. "type": "number"
  19276. },
  19277. "buyunpaidamount": {
  19278. "description": "采购应付款额(应付货款额)",
  19279. "type": "number"
  19280. },
  19281. "currencyid": {
  19282. "description": "结算币种ID",
  19283. "type": "integer"
  19284. },
  19285. "currencyname": {
  19286. "description": "币种名称",
  19287. "type": "string"
  19288. },
  19289. "cycletime": {
  19290. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19291. "type": "string"
  19292. },
  19293. "cycletype": {
  19294. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19295. "type": "integer"
  19296. },
  19297. "deliverygoodscode": {
  19298. "description": "现货品种代码",
  19299. "type": "string"
  19300. },
  19301. "deliverygoodsid": {
  19302. "description": "现货品种ID",
  19303. "type": "integer"
  19304. },
  19305. "deliverygoodsname": {
  19306. "description": "现货品种名称",
  19307. "type": "string"
  19308. },
  19309. "enddate": {
  19310. "description": "结束交易日",
  19311. "type": "string"
  19312. },
  19313. "reckondate": {
  19314. "description": "日照时期(yyyyMMdd)",
  19315. "type": "string"
  19316. },
  19317. "sellpreinvoicedamount": {
  19318. "description": "销售预开票额(预开票额)",
  19319. "type": "number"
  19320. },
  19321. "sellprepaidamount": {
  19322. "description": "销售预收款额(预收货款额)",
  19323. "type": "number"
  19324. },
  19325. "selltodayinvoiceamount": {
  19326. "description": "销售今开票额(今开票额)",
  19327. "type": "number"
  19328. },
  19329. "selltodayrefundamount": {
  19330. "description": "销售今付退款额(今付退款额)",
  19331. "type": "number"
  19332. },
  19333. "selltodaysettleamount": {
  19334. "description": "销售今收款额(今收货款额)",
  19335. "type": "number"
  19336. },
  19337. "selluninvoicedamount": {
  19338. "description": "销售应开票额(应开票额)",
  19339. "type": "number"
  19340. },
  19341. "sellunpaidamount": {
  19342. "description": "销售应收款额(应收货款额)",
  19343. "type": "number"
  19344. },
  19345. "spotgoodsbrandid": {
  19346. "description": "现货品牌ID",
  19347. "type": "integer"
  19348. },
  19349. "todaypaysum": {
  19350. "description": "今付款合计",
  19351. "type": "number"
  19352. },
  19353. "todayreceivesum": {
  19354. "description": "今收款合计",
  19355. "type": "number"
  19356. },
  19357. "updatetime": {
  19358. "description": "更新时间",
  19359. "type": "string"
  19360. },
  19361. "wrfactortypeid": {
  19362. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19363. "type": "integer"
  19364. },
  19365. "wrstandardcode": {
  19366. "description": "品类代码",
  19367. "type": "string"
  19368. },
  19369. "wrstandardid": {
  19370. "description": "现货商品ID",
  19371. "type": "integer"
  19372. },
  19373. "wrstandardname": {
  19374. "description": "品类名称",
  19375. "type": "string"
  19376. }
  19377. }
  19378. },
  19379. "models.Ermcp3GoodsGroup": {
  19380. "type": "object",
  19381. "required": [
  19382. "areauserid"
  19383. ],
  19384. "properties": {
  19385. "agreeunit": {
  19386. "description": "合约单位",
  19387. "type": "number"
  19388. },
  19389. "areauserid": {
  19390. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  19391. "type": "integer"
  19392. },
  19393. "canshort": {
  19394. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19395. "type": "integer"
  19396. },
  19397. "closepricemode": {
  19398. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19399. "type": "integer"
  19400. },
  19401. "createtime": {
  19402. "description": "创建时间",
  19403. "type": "string"
  19404. },
  19405. "creatorid": {
  19406. "description": "创建人",
  19407. "type": "integer"
  19408. },
  19409. "currencyid": {
  19410. "description": "报价货币ID",
  19411. "type": "integer"
  19412. },
  19413. "decimalplace": {
  19414. "description": "报价小数位",
  19415. "type": "integer"
  19416. },
  19417. "enumdicname": {
  19418. "description": "单位名称",
  19419. "type": "string"
  19420. },
  19421. "exchangefullname": {
  19422. "description": "交易所全称",
  19423. "type": "string"
  19424. },
  19425. "excludecfg": {
  19426. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  19427. "type": "integer"
  19428. },
  19429. "exexchangecode": {
  19430. "description": "交易所代码",
  19431. "type": "string"
  19432. },
  19433. "exexchangeid": {
  19434. "description": "外部交易所ID[通道交易]",
  19435. "type": "integer"
  19436. },
  19437. "exexchangename": {
  19438. "description": "交易所名称",
  19439. "type": "string"
  19440. },
  19441. "goodsgroupid": {
  19442. "description": "商品组ID(自增ID)",
  19443. "type": "integer"
  19444. },
  19445. "goodsgroupname": {
  19446. "description": "商品组名称",
  19447. "type": "string"
  19448. },
  19449. "goodsgroupstatus": {
  19450. "description": "商品组状态 - 1:正常 2:注销",
  19451. "type": "integer"
  19452. },
  19453. "goodunitid": {
  19454. "description": "报价单位ID",
  19455. "type": "integer"
  19456. },
  19457. "groupcategroyid": {
  19458. "description": "品种分类ID",
  19459. "type": "integer"
  19460. },
  19461. "innerdealmode": {
  19462. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19463. "type": "integer"
  19464. },
  19465. "marketid": {
  19466. "description": "所属市场ID",
  19467. "type": "integer"
  19468. },
  19469. "modifierid": {
  19470. "description": "修改人",
  19471. "type": "integer"
  19472. },
  19473. "modifytime": {
  19474. "description": "修改时间",
  19475. "type": "string"
  19476. },
  19477. "outerdealmode": {
  19478. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19479. "type": "integer"
  19480. },
  19481. "outergroupcode": {
  19482. "description": "外部商品组代码[通道交易]",
  19483. "type": "string"
  19484. },
  19485. "quoteminunit": {
  19486. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19487. "type": "integer"
  19488. },
  19489. "quotesourcegroupid": {
  19490. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19491. "type": "integer"
  19492. },
  19493. "syncgoodsqty": {
  19494. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19495. "type": "integer"
  19496. }
  19497. }
  19498. },
  19499. "models.Ermcp3HedgePlan": {
  19500. "type": "object",
  19501. "properties": {
  19502. "accountid": {
  19503. "description": "资金账号",
  19504. "type": "integer"
  19505. },
  19506. "areauserid": {
  19507. "description": "用户ID",
  19508. "type": "integer"
  19509. },
  19510. "auditid": {
  19511. "description": "审核id",
  19512. "type": "integer"
  19513. },
  19514. "auditname": {
  19515. "description": "审核人名称",
  19516. "type": "string"
  19517. },
  19518. "auditremark": {
  19519. "description": "审核备注",
  19520. "type": "string"
  19521. },
  19522. "auditsrc": {
  19523. "description": "审核来源 1-管理端 2-终端",
  19524. "type": "integer"
  19525. },
  19526. "audittime": {
  19527. "description": "审核时间",
  19528. "type": "string"
  19529. },
  19530. "contracttype": {
  19531. "description": "计划类型 - 1:采购 -1:销售",
  19532. "type": "integer"
  19533. },
  19534. "convertfactor": {
  19535. "description": "标仓系数",
  19536. "type": "number"
  19537. },
  19538. "createtime": {
  19539. "description": "创建时间",
  19540. "type": "string"
  19541. },
  19542. "currencyid": {
  19543. "description": "币种id",
  19544. "type": "integer"
  19545. },
  19546. "currencyname": {
  19547. "description": "币种名称",
  19548. "type": "string"
  19549. },
  19550. "deliverygoodscode": {
  19551. "description": "现货品种代码",
  19552. "type": "string"
  19553. },
  19554. "deliverygoodsid": {
  19555. "description": "现货品种ID",
  19556. "type": "integer"
  19557. },
  19558. "deliverygoodsname": {
  19559. "description": "现货品种名称",
  19560. "type": "string"
  19561. },
  19562. "enumdicname": {
  19563. "description": "单位名称(现货商品)",
  19564. "type": "string"
  19565. },
  19566. "hedgeplanid": {
  19567. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19568. "type": "string"
  19569. },
  19570. "hedgeplanno": {
  19571. "description": "套保计划编号(名称)",
  19572. "type": "string"
  19573. },
  19574. "hedgeplanstatus": {
  19575. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19576. "type": "integer"
  19577. },
  19578. "planqty": {
  19579. "description": "计划数量",
  19580. "type": "number"
  19581. },
  19582. "plantime": {
  19583. "description": "计划时间",
  19584. "type": "string"
  19585. },
  19586. "producttype": {
  19587. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19588. "type": "integer"
  19589. },
  19590. "remark": {
  19591. "description": "备注",
  19592. "type": "string"
  19593. },
  19594. "spotgoodsdesc": {
  19595. "description": "商品型号",
  19596. "type": "string"
  19597. },
  19598. "taaccountname": {
  19599. "description": "资金账号名称",
  19600. "type": "string"
  19601. },
  19602. "tradeuserid": {
  19603. "description": "交易用户id",
  19604. "type": "integer"
  19605. },
  19606. "tradeusername": {
  19607. "description": "交易用户名称",
  19608. "type": "string"
  19609. },
  19610. "unitid": {
  19611. "description": "单位id(现货商品)",
  19612. "type": "integer"
  19613. },
  19614. "updatetime": {
  19615. "description": "更新时间",
  19616. "type": "string"
  19617. },
  19618. "wrstandardcode": {
  19619. "description": "品类代码",
  19620. "type": "string"
  19621. },
  19622. "wrstandardid": {
  19623. "description": "品类id",
  19624. "type": "integer"
  19625. },
  19626. "wrstandardname": {
  19627. "description": "品类名称",
  19628. "type": "string"
  19629. },
  19630. "wrunitid": {
  19631. "description": "品类单位id",
  19632. "type": "integer"
  19633. },
  19634. "wrunitidame": {
  19635. "description": "品类单位名称",
  19636. "type": "string"
  19637. }
  19638. }
  19639. },
  19640. "models.Ermcp3PaAreaAuditCfg": {
  19641. "type": "object",
  19642. "properties": {
  19643. "areauserid": {
  19644. "description": "用户ID",
  19645. "type": "integer"
  19646. },
  19647. "buyinauditflag": {
  19648. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  19649. "type": "integer"
  19650. },
  19651. "customerauditflag": {
  19652. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  19653. "type": "integer"
  19654. },
  19655. "deliveryauditflag": {
  19656. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  19657. "type": "integer"
  19658. },
  19659. "invoiceauditflag": {
  19660. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  19661. "type": "integer"
  19662. },
  19663. "moneyauditflag": {
  19664. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  19665. "type": "integer"
  19666. },
  19667. "operatorid": {
  19668. "description": "操作人",
  19669. "type": "integer"
  19670. },
  19671. "operatorsrc": {
  19672. "description": "操作来源 - 1:管理端 2:终端",
  19673. "type": "integer"
  19674. },
  19675. "pointpriceauditflag": {
  19676. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  19677. "type": "integer"
  19678. },
  19679. "produceinauditflag": {
  19680. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  19681. "type": "integer"
  19682. },
  19683. "produceoutauditflag": {
  19684. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  19685. "type": "integer"
  19686. },
  19687. "selloutauditflag": {
  19688. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  19689. "type": "integer"
  19690. },
  19691. "spotcontractauditflag": {
  19692. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  19693. "type": "integer"
  19694. },
  19695. "updatetime": {
  19696. "description": "更新时间",
  19697. "type": "string"
  19698. }
  19699. }
  19700. },
  19701. "models.Ermcp3PaAreaSubject": {
  19702. "type": "object",
  19703. "properties": {
  19704. "areauserid": {
  19705. "description": "所属机构",
  19706. "type": "integer"
  19707. },
  19708. "canmodify": {
  19709. "description": "是否可修改 - 0:否 1:是",
  19710. "type": "integer"
  19711. },
  19712. "createtime": {
  19713. "description": "创建时间",
  19714. "type": "string"
  19715. },
  19716. "creatorid": {
  19717. "description": "创建人ID",
  19718. "type": "string"
  19719. },
  19720. "creatorsrc": {
  19721. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  19722. "type": "integer"
  19723. },
  19724. "modifierid": {
  19725. "description": "修改人",
  19726. "type": "string"
  19727. },
  19728. "modifiersrc": {
  19729. "description": "修改人来源 - 1:管理端 2:终端",
  19730. "type": "integer"
  19731. },
  19732. "modifytime": {
  19733. "description": "修改时间",
  19734. "type": "string"
  19735. },
  19736. "parentsubjectid": {
  19737. "description": "上级主体ID",
  19738. "type": "string"
  19739. },
  19740. "remark": {
  19741. "description": "备注",
  19742. "type": "string"
  19743. },
  19744. "subjectid": {
  19745. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  19746. "type": "integer"
  19747. },
  19748. "subjectname": {
  19749. "description": "主体名称",
  19750. "type": "string"
  19751. },
  19752. "subjectstatus": {
  19753. "description": "主体状态 - 1:正常 2: 停用",
  19754. "type": "integer"
  19755. },
  19756. "subjecttype": {
  19757. "description": "主体类型 - 1:交易主体 2:业务部门",
  19758. "type": "integer"
  19759. }
  19760. }
  19761. },
  19762. "models.Ermcp3RootUserAccount": {
  19763. "type": "object",
  19764. "properties": {
  19765. "accountname": {
  19766. "description": "账户名称(机构名称)",
  19767. "type": "string"
  19768. },
  19769. "accountstatus": {
  19770. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19771. "type": "integer"
  19772. },
  19773. "applysrc": {
  19774. "description": "申请来源 - 1:管理端 2:终端",
  19775. "type": "integer"
  19776. },
  19777. "auditremark": {
  19778. "description": "审核备注",
  19779. "type": "string"
  19780. },
  19781. "auditsrc": {
  19782. "description": "审核来源 - 1:管理端 2:终端",
  19783. "type": "integer"
  19784. },
  19785. "audittime": {
  19786. "description": "审核时间",
  19787. "type": "string"
  19788. },
  19789. "audituserid": {
  19790. "description": "审核人",
  19791. "type": "integer"
  19792. },
  19793. "broker": {
  19794. "description": "所属经纪人ID",
  19795. "type": "integer"
  19796. },
  19797. "canceltime": {
  19798. "description": "销户时间",
  19799. "type": "string"
  19800. },
  19801. "canceluserid": {
  19802. "description": "销户人",
  19803. "type": "integer"
  19804. },
  19805. "canrecommend": {
  19806. "description": "是否可推荐 - 0:不可 1;可",
  19807. "type": "integer"
  19808. },
  19809. "createtime": {
  19810. "description": "创建时间",
  19811. "type": "string"
  19812. },
  19813. "creatorid": {
  19814. "description": "创建人",
  19815. "type": "integer"
  19816. },
  19817. "hasauth": {
  19818. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19819. "type": "integer"
  19820. },
  19821. "isanonymous": {
  19822. "description": "是否匿名下单 - 0:否 1:是",
  19823. "type": "integer"
  19824. },
  19825. "maxinvestornum": {
  19826. "description": "最大用户数(经纪会员下投资者个数)",
  19827. "type": "integer"
  19828. },
  19829. "memberuserid": {
  19830. "description": "所属会员ID",
  19831. "type": "integer"
  19832. },
  19833. "modifierid": {
  19834. "description": "修改人",
  19835. "type": "integer"
  19836. },
  19837. "modifyremark": {
  19838. "description": "变更备注",
  19839. "type": "string"
  19840. },
  19841. "modifystatus": {
  19842. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19843. "type": "integer"
  19844. },
  19845. "modifytime": {
  19846. "description": "修改时间",
  19847. "type": "string"
  19848. },
  19849. "parenttopuser": {
  19850. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19851. "type": "string"
  19852. },
  19853. "parentuserid": {
  19854. "description": "所属机构ID",
  19855. "type": "integer"
  19856. },
  19857. "reckonaccountid": {
  19858. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19859. "type": "integer"
  19860. },
  19861. "refercount": {
  19862. "description": "推荐总人数",
  19863. "type": "integer"
  19864. },
  19865. "refereeuserid": {
  19866. "description": "推荐人ID",
  19867. "type": "integer"
  19868. },
  19869. "refernum": {
  19870. "description": "推荐码",
  19871. "type": "string"
  19872. },
  19873. "rootuserid": {
  19874. "description": "根用户ID",
  19875. "type": "integer"
  19876. },
  19877. "subaccountlevel": {
  19878. "description": "子账户层数",
  19879. "type": "integer"
  19880. },
  19881. "subarealevelpath": {
  19882. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19883. "type": "string"
  19884. },
  19885. "userid": {
  19886. "description": "用户ID",
  19887. "type": "integer"
  19888. },
  19889. "usertype": {
  19890. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19891. "type": "integer"
  19892. }
  19893. }
  19894. },
  19895. "models.Ermcp3SellBuyContract": {
  19896. "type": "object",
  19897. "properties": {
  19898. "accountid": {
  19899. "description": "期货账户id",
  19900. "type": "string"
  19901. },
  19902. "accountname": {
  19903. "description": "账户名称",
  19904. "type": "string"
  19905. },
  19906. "attachment": {
  19907. "description": "附件",
  19908. "type": "string"
  19909. },
  19910. "audittime": {
  19911. "description": "审核时间",
  19912. "type": "string"
  19913. },
  19914. "biztype": {
  19915. "description": "业务类型 1-套保 2-套利",
  19916. "type": "integer"
  19917. },
  19918. "brandname": {
  19919. "description": "品牌名称",
  19920. "type": "string"
  19921. },
  19922. "contracctstatus": {
  19923. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19924. "type": "integer"
  19925. },
  19926. "contractmargin": {
  19927. "description": "合同保证金",
  19928. "type": "number"
  19929. },
  19930. "contractno": {
  19931. "description": "合同编号",
  19932. "type": "string"
  19933. },
  19934. "contracttype": {
  19935. "description": "合同类型 1-采购, -1-销售",
  19936. "type": "integer"
  19937. },
  19938. "convertfactor": {
  19939. "description": "标仓系数(品类)",
  19940. "type": "number"
  19941. },
  19942. "createtime": {
  19943. "description": "创建时间",
  19944. "type": "string"
  19945. },
  19946. "currencyid": {
  19947. "description": "币种id",
  19948. "type": "integer"
  19949. },
  19950. "currencyname": {
  19951. "description": "币种名称",
  19952. "type": "string"
  19953. },
  19954. "daikaiamount": {
  19955. "description": "应收(开)票额",
  19956. "type": "number"
  19957. },
  19958. "deliveryenddate": {
  19959. "description": "交割结束日",
  19960. "type": "string"
  19961. },
  19962. "deliverygoodscode": {
  19963. "description": "现货品种代码",
  19964. "type": "string"
  19965. },
  19966. "deliverygoodsid": {
  19967. "description": "现货商品ID",
  19968. "type": "integer"
  19969. },
  19970. "deliverygoodsname": {
  19971. "description": "现货品种名称",
  19972. "type": "string"
  19973. },
  19974. "deliverystartdate": {
  19975. "description": "交割开始日",
  19976. "type": "string"
  19977. },
  19978. "enddate": {
  19979. "description": "点价结束日",
  19980. "type": "string"
  19981. },
  19982. "enumdicname": {
  19983. "description": "单位名称",
  19984. "type": "string"
  19985. },
  19986. "goodscode": {
  19987. "description": "点价商品代码",
  19988. "type": "string"
  19989. },
  19990. "goodsid": {
  19991. "description": "点价商品ID",
  19992. "type": "integer"
  19993. },
  19994. "goodsname": {
  19995. "description": "点价商品名称",
  19996. "type": "string"
  19997. },
  19998. "invoiceamount": {
  19999. "description": "已开票额",
  20000. "type": "number"
  20001. },
  20002. "loanamount": {
  20003. "description": "贷款总额=已定价额+调整金额",
  20004. "type": "number"
  20005. },
  20006. "margin": {
  20007. "description": "保证金",
  20008. "type": "number"
  20009. },
  20010. "meruserid": {
  20011. "description": "跟单员id",
  20012. "type": "integer"
  20013. },
  20014. "meruserlogincode": {
  20015. "description": "跟单员登录代码",
  20016. "type": "string"
  20017. },
  20018. "merusername": {
  20019. "description": "跟单员名称",
  20020. "type": "string"
  20021. },
  20022. "nickname": {
  20023. "description": "账户昵称",
  20024. "type": "string"
  20025. },
  20026. "payamount": {
  20027. "description": "已收付额(收款或付款)",
  20028. "type": "number"
  20029. },
  20030. "preinvoiceamount": {
  20031. "description": "预收(开)票额",
  20032. "type": "number"
  20033. },
  20034. "prepayamount": {
  20035. "description": "预收付额",
  20036. "type": "number"
  20037. },
  20038. "price": {
  20039. "description": "价格",
  20040. "type": "number"
  20041. },
  20042. "pricedamount": {
  20043. "description": "已定价额",
  20044. "type": "number"
  20045. },
  20046. "pricedavg": {
  20047. "description": "已点均价",
  20048. "type": "number"
  20049. },
  20050. "pricedqty": {
  20051. "description": "已定价量",
  20052. "type": "number"
  20053. },
  20054. "pricemove": {
  20055. "description": "升贴水",
  20056. "type": "number"
  20057. },
  20058. "pricetype": {
  20059. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20060. "type": "integer"
  20061. },
  20062. "producttype": {
  20063. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20064. "type": "integer"
  20065. },
  20066. "qty": {
  20067. "description": "合同量",
  20068. "type": "number"
  20069. },
  20070. "reckonadjustamount": {
  20071. "description": "调整金额",
  20072. "type": "number"
  20073. },
  20074. "reckonedamount": {
  20075. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  20076. "type": "number"
  20077. },
  20078. "reckonotheramount": {
  20079. "description": "其它费用",
  20080. "type": "number"
  20081. },
  20082. "reckonrealqty": {
  20083. "description": "已确定量",
  20084. "type": "number"
  20085. },
  20086. "remark": {
  20087. "description": "备注",
  20088. "type": "string"
  20089. },
  20090. "saleuserid": {
  20091. "description": "业务员id",
  20092. "type": "integer"
  20093. },
  20094. "saleuserlogincode": {
  20095. "description": "业务员登录代码",
  20096. "type": "string"
  20097. },
  20098. "saleusername": {
  20099. "description": "业务员名称",
  20100. "type": "string"
  20101. },
  20102. "spotcontractid": {
  20103. "description": "合同ID",
  20104. "type": "string"
  20105. },
  20106. "spotgoodsbrandid": {
  20107. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20108. "type": "integer"
  20109. },
  20110. "spotgoodsdesc": {
  20111. "description": "商品型号(商品规格)",
  20112. "type": "string"
  20113. },
  20114. "startdate": {
  20115. "description": "点价开始日",
  20116. "type": "string"
  20117. },
  20118. "subjectid": {
  20119. "description": "交易主体ID",
  20120. "type": "string"
  20121. },
  20122. "subjectname": {
  20123. "description": "交易主体名称",
  20124. "type": "string"
  20125. },
  20126. "totalamount": {
  20127. "description": "合计总额",
  20128. "type": "number"
  20129. },
  20130. "tradeuserid": {
  20131. "description": "交易员id",
  20132. "type": "integer"
  20133. },
  20134. "tradeuserlogincode": {
  20135. "description": "交易员登录代码",
  20136. "type": "string"
  20137. },
  20138. "tradeusername": {
  20139. "description": "交易员名称",
  20140. "type": "string"
  20141. },
  20142. "unpayamount": {
  20143. "description": "应收付款额(应支付或应收款)",
  20144. "type": "number"
  20145. },
  20146. "unpricedqty": {
  20147. "description": "未定价量",
  20148. "type": "number"
  20149. },
  20150. "unsureqty": {
  20151. "description": "未确定量",
  20152. "type": "number"
  20153. },
  20154. "userid": {
  20155. "description": "机构ID",
  20156. "type": "integer"
  20157. },
  20158. "wrstandardcode": {
  20159. "description": "品类代码",
  20160. "type": "string"
  20161. },
  20162. "wrstandardid": {
  20163. "description": "品类ID",
  20164. "type": "integer"
  20165. },
  20166. "wrstandardname": {
  20167. "description": "品类名称",
  20168. "type": "string"
  20169. }
  20170. }
  20171. },
  20172. "models.Ermcp3SpotGoodsPrice": {
  20173. "type": "object",
  20174. "properties": {
  20175. "areauserid": {
  20176. "description": "所属机构id",
  20177. "type": "integer"
  20178. },
  20179. "brandname": {
  20180. "description": "品牌名称",
  20181. "type": "string"
  20182. },
  20183. "currencyid": {
  20184. "description": "报价货币ID",
  20185. "type": "integer"
  20186. },
  20187. "currencyname": {
  20188. "description": "币种名称",
  20189. "type": "string"
  20190. },
  20191. "deliverygoodscode": {
  20192. "description": "现货商品代码",
  20193. "type": "string"
  20194. },
  20195. "deliverygoodsid": {
  20196. "description": "现货商品id",
  20197. "type": "integer"
  20198. },
  20199. "deliverygoodsname": {
  20200. "description": "现货商品名称",
  20201. "type": "string"
  20202. },
  20203. "enumdicname": {
  20204. "description": "现货商品单位名称",
  20205. "type": "string"
  20206. },
  20207. "gbenumdicname": {
  20208. "description": "品类单位名称",
  20209. "type": "string"
  20210. },
  20211. "gmunitid": {
  20212. "description": "品类单位id",
  20213. "type": "integer"
  20214. },
  20215. "isvalid": {
  20216. "description": "是否有效 - 0:无效 1:有效",
  20217. "type": "integer"
  20218. },
  20219. "operateid": {
  20220. "description": "最后操作人",
  20221. "type": "integer"
  20222. },
  20223. "operatesrc": {
  20224. "description": "最后操作来源 - 1:管理端 2:终端",
  20225. "type": "integer"
  20226. },
  20227. "operatetime": {
  20228. "description": "最后操作时间",
  20229. "type": "string"
  20230. },
  20231. "operatorname": {
  20232. "description": "操作人名称",
  20233. "type": "string"
  20234. },
  20235. "spotgoodsbrandid": {
  20236. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20237. "type": "integer"
  20238. },
  20239. "spotgoodsprice": {
  20240. "description": "现货价格",
  20241. "type": "number"
  20242. },
  20243. "tradedate": {
  20244. "description": "交易日(yyyyMMdd)",
  20245. "type": "string"
  20246. },
  20247. "unitid": {
  20248. "description": "现货商品单位id",
  20249. "type": "integer"
  20250. },
  20251. "wrstandardcode": {
  20252. "description": "品类代码",
  20253. "type": "string"
  20254. },
  20255. "wrstandardid": {
  20256. "description": "现货品类ID(通用则为0)",
  20257. "type": "integer"
  20258. },
  20259. "wrstandardname": {
  20260. "description": "品类名称",
  20261. "type": "string"
  20262. }
  20263. }
  20264. },
  20265. "models.Ermcp3SpotGoodsPriceLog": {
  20266. "type": "object",
  20267. "properties": {
  20268. "areauserid": {
  20269. "description": "所属机构id",
  20270. "type": "integer"
  20271. },
  20272. "brandname": {
  20273. "description": "品牌名称",
  20274. "type": "string"
  20275. },
  20276. "currencyid": {
  20277. "description": "报价货币ID",
  20278. "type": "integer"
  20279. },
  20280. "deliverygoodscode": {
  20281. "description": "现货商品代码",
  20282. "type": "string"
  20283. },
  20284. "deliverygoodsid": {
  20285. "description": "现货商品id",
  20286. "type": "integer"
  20287. },
  20288. "deliverygoodsname": {
  20289. "description": "现货商品名称",
  20290. "type": "string"
  20291. },
  20292. "enumdicname": {
  20293. "description": "现货商品单位名称",
  20294. "type": "string"
  20295. },
  20296. "gbenumdicname": {
  20297. "description": "品类单位名称",
  20298. "type": "string"
  20299. },
  20300. "gmunitid": {
  20301. "description": "品类单位id",
  20302. "type": "integer"
  20303. },
  20304. "logid": {
  20305. "description": "日志id",
  20306. "type": "integer"
  20307. },
  20308. "operateid": {
  20309. "description": "最后操作人",
  20310. "type": "integer"
  20311. },
  20312. "operatesrc": {
  20313. "description": "最后操作来源 - 1:管理端 2:终端",
  20314. "type": "integer"
  20315. },
  20316. "operatetime": {
  20317. "description": "最后操作时间",
  20318. "type": "string"
  20319. },
  20320. "operatorname": {
  20321. "description": "操作人名称",
  20322. "type": "string"
  20323. },
  20324. "spotgoodsbrandid": {
  20325. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20326. "type": "integer"
  20327. },
  20328. "spotgoodsprice": {
  20329. "description": "现货价格",
  20330. "type": "number"
  20331. },
  20332. "tradedate": {
  20333. "description": "交易日(yyyyMMdd)",
  20334. "type": "string"
  20335. },
  20336. "unitid": {
  20337. "description": "现货商品单位id",
  20338. "type": "integer"
  20339. },
  20340. "wrstandardcode": {
  20341. "description": "品类代码",
  20342. "type": "string"
  20343. },
  20344. "wrstandardid": {
  20345. "description": "现货品类ID(通用则为0)",
  20346. "type": "integer"
  20347. },
  20348. "wrstandardname": {
  20349. "description": "品类名称",
  20350. "type": "string"
  20351. }
  20352. }
  20353. },
  20354. "models.Ermcp3TaFutuReDataReport": {
  20355. "type": "object",
  20356. "properties": {
  20357. "accountid": {
  20358. "description": "交易账户",
  20359. "type": "integer"
  20360. },
  20361. "accountname": {
  20362. "description": "交易账号名称",
  20363. "type": "string"
  20364. },
  20365. "agreeunit": {
  20366. "description": "商品合约单位",
  20367. "type": "number"
  20368. },
  20369. "begindate": {
  20370. "description": "开始交易日",
  20371. "type": "string"
  20372. },
  20373. "buyorsell": {
  20374. "description": "持仓方向",
  20375. "type": "integer"
  20376. },
  20377. "charge": {
  20378. "description": "手续费",
  20379. "type": "number"
  20380. },
  20381. "closeavgprice": {
  20382. "description": "平仓均价",
  20383. "type": "number"
  20384. },
  20385. "closepl": {
  20386. "description": "平仓损益",
  20387. "type": "number"
  20388. },
  20389. "currencyid": {
  20390. "description": "结算币种ID",
  20391. "type": "integer"
  20392. },
  20393. "currencyname": {
  20394. "description": "币种名称",
  20395. "type": "string"
  20396. },
  20397. "cycletime": {
  20398. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20399. "type": "string"
  20400. },
  20401. "cycletype": {
  20402. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20403. "type": "integer"
  20404. },
  20405. "enddate": {
  20406. "description": "结束交易日",
  20407. "type": "string"
  20408. },
  20409. "enumdicname": {
  20410. "description": "单位名称",
  20411. "type": "string"
  20412. },
  20413. "floatpl": {
  20414. "description": "浮动损益",
  20415. "type": "number"
  20416. },
  20417. "goodscode": {
  20418. "description": "交易合约代码",
  20419. "type": "string"
  20420. },
  20421. "goodsgroupid": {
  20422. "description": "交易品种",
  20423. "type": "integer"
  20424. },
  20425. "goodsgroupname": {
  20426. "description": "交易品种名称",
  20427. "type": "string"
  20428. },
  20429. "goodsgroupspotqty": {
  20430. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  20431. "type": "number"
  20432. },
  20433. "goodsid": {
  20434. "description": "交易合约",
  20435. "type": "integer"
  20436. },
  20437. "goodsname": {
  20438. "description": "交易合约名称",
  20439. "type": "string"
  20440. },
  20441. "goodunitid": {
  20442. "description": "交易合约单位id",
  20443. "type": "integer"
  20444. },
  20445. "holdamount": {
  20446. "description": "期末持仓额",
  20447. "type": "number"
  20448. },
  20449. "holdqty": {
  20450. "description": "期末持仓量",
  20451. "type": "number"
  20452. },
  20453. "lastholdamount": {
  20454. "description": "当前持仓额",
  20455. "type": "number"
  20456. },
  20457. "lastprice": {
  20458. "description": "最新价",
  20459. "type": "number"
  20460. },
  20461. "middlegoodsid": {
  20462. "description": "套保品种id",
  20463. "type": "integer"
  20464. },
  20465. "middlegoodsname": {
  20466. "description": "套保商品名称",
  20467. "type": "string"
  20468. },
  20469. "middlegoodsqty": {
  20470. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  20471. "type": "number"
  20472. },
  20473. "middlgoodscode": {
  20474. "description": "套保商品代码",
  20475. "type": "string"
  20476. },
  20477. "openamount": {
  20478. "description": "期末开仓额",
  20479. "type": "number"
  20480. },
  20481. "openavgprice": {
  20482. "description": "开仓均价",
  20483. "type": "number"
  20484. },
  20485. "oriholdamount": {
  20486. "description": "期初持仓额",
  20487. "type": "number"
  20488. },
  20489. "oriholdqty": {
  20490. "description": "期初持仓量",
  20491. "type": "number"
  20492. },
  20493. "oriopenamount": {
  20494. "description": "期初开仓额",
  20495. "type": "number"
  20496. },
  20497. "outergroupcode": {
  20498. "description": "交易品种代码",
  20499. "type": "string"
  20500. },
  20501. "qtydecimalplace": {
  20502. "description": "成交量小数位",
  20503. "type": "integer"
  20504. },
  20505. "reckondate": {
  20506. "description": "日照时期(yyyyMMdd)",
  20507. "type": "string"
  20508. },
  20509. "reckonholdamount": {
  20510. "description": "结算持仓额",
  20511. "type": "number"
  20512. },
  20513. "reckonpl": {
  20514. "description": "结算损益",
  20515. "type": "number"
  20516. },
  20517. "reckonpl2": {
  20518. "description": "结算逐笔盈亏",
  20519. "type": "number"
  20520. },
  20521. "reckonprice": {
  20522. "description": "结算价",
  20523. "type": "number"
  20524. },
  20525. "relateduserid": {
  20526. "description": "账户关联用户ID",
  20527. "type": "integer"
  20528. },
  20529. "todaycloseamount": {
  20530. "description": "今平仓额",
  20531. "type": "number"
  20532. },
  20533. "todaycloseqty": {
  20534. "description": "今平仓量",
  20535. "type": "number"
  20536. },
  20537. "todaygoodsgroupspotqty": {
  20538. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20539. "type": "number"
  20540. },
  20541. "todaymiddlegoodsqty": {
  20542. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20543. "type": "number"
  20544. },
  20545. "todayopenamount": {
  20546. "description": "今开仓额",
  20547. "type": "number"
  20548. },
  20549. "todayopenqty": {
  20550. "description": "今开仓量",
  20551. "type": "number"
  20552. },
  20553. "userid": {
  20554. "description": "账户所属用户ID",
  20555. "type": "integer"
  20556. }
  20557. }
  20558. },
  20559. "models.Ermcp3Wrstandard": {
  20560. "type": "object",
  20561. "properties": {
  20562. "areauserid": {
  20563. "description": "所属机构",
  20564. "type": "integer"
  20565. },
  20566. "cantrade": {
  20567. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20568. "type": "integer"
  20569. },
  20570. "convertfactor": {
  20571. "description": "标仓系数",
  20572. "type": "number"
  20573. },
  20574. "createtime": {
  20575. "description": "创建时间",
  20576. "type": "string"
  20577. },
  20578. "creatorid": {
  20579. "description": "创建人",
  20580. "type": "integer"
  20581. },
  20582. "deliverygoodsid": {
  20583. "description": "现货品种ID",
  20584. "type": "integer"
  20585. },
  20586. "enumdicname": {
  20587. "description": "品类单位名称",
  20588. "type": "string"
  20589. },
  20590. "isvalid": {
  20591. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20592. "type": "integer"
  20593. },
  20594. "minivalue": {
  20595. "description": "最小变动值",
  20596. "type": "integer"
  20597. },
  20598. "minivaluedp": {
  20599. "description": "最小变动值小数位",
  20600. "type": "integer"
  20601. },
  20602. "realminivalue": {
  20603. "description": "实际最小变动值",
  20604. "type": "integer"
  20605. },
  20606. "realminivaluedp": {
  20607. "description": "实际最小变动值小数位",
  20608. "type": "integer"
  20609. },
  20610. "remark": {
  20611. "description": "备注",
  20612. "type": "string"
  20613. },
  20614. "unitid": {
  20615. "description": "品类单位ID",
  20616. "type": "integer"
  20617. },
  20618. "updatetime": {
  20619. "description": "更新时间",
  20620. "type": "string"
  20621. },
  20622. "wrstandardcode": {
  20623. "description": "品类代码",
  20624. "type": "string"
  20625. },
  20626. "wrstandardid": {
  20627. "description": "品类ID(SEQ_WRSTANDARD)",
  20628. "type": "integer"
  20629. },
  20630. "wrstandardname": {
  20631. "description": "品类名称",
  20632. "type": "string"
  20633. }
  20634. }
  20635. },
  20636. "models.ErmcpAreaSpotDetailModel": {
  20637. "type": "object",
  20638. "properties": {
  20639. "contracttype": {
  20640. "description": "合同类型 1-采购 -1-销售",
  20641. "type": "integer"
  20642. },
  20643. "createtime": {
  20644. "description": "创建时间",
  20645. "type": "string"
  20646. },
  20647. "enumdicname": {
  20648. "description": "现货商品单位名称",
  20649. "type": "string"
  20650. },
  20651. "logtype": {
  20652. "description": "记录类型 1-套保 2-现货合同",
  20653. "type": "integer"
  20654. },
  20655. "qty": {
  20656. "description": "数量",
  20657. "type": "number"
  20658. },
  20659. "recordname": {
  20660. "description": "类型名称",
  20661. "type": "string"
  20662. },
  20663. "relatedid": {
  20664. "description": "套保计划ID/现货合同ID",
  20665. "type": "string"
  20666. },
  20667. "relatedno": {
  20668. "description": "编号",
  20669. "type": "string"
  20670. },
  20671. "strtime": {
  20672. "description": "时间",
  20673. "type": "string"
  20674. },
  20675. "wrstandardcode": {
  20676. "description": "现货商品代码",
  20677. "type": "string"
  20678. },
  20679. "wrstandardname": {
  20680. "description": "现货商品名称",
  20681. "type": "string"
  20682. }
  20683. }
  20684. },
  20685. "models.ErmcpAvalidGoodsGroupModel": {
  20686. "type": "object",
  20687. "properties": {
  20688. "goodsgroupid": {
  20689. "description": "期货品种id",
  20690. "type": "integer"
  20691. },
  20692. "goodsgroupname": {
  20693. "description": "期货品种名称",
  20694. "type": "string"
  20695. },
  20696. "goodunitid": {
  20697. "description": "品种单位id",
  20698. "type": "integer"
  20699. },
  20700. "goodunitname": {
  20701. "description": "品种单位名称",
  20702. "type": "string"
  20703. },
  20704. "outergroupcode": {
  20705. "description": "期货品种代码",
  20706. "type": "string"
  20707. }
  20708. }
  20709. },
  20710. "models.ErmcpBizGroupEx": {
  20711. "type": "object",
  20712. "properties": {
  20713. "acclist": {
  20714. "description": "账号列表",
  20715. "type": "array",
  20716. "items": {
  20717. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20718. }
  20719. },
  20720. "bizgroupid": {
  20721. "description": "业务分组id",
  20722. "type": "integer"
  20723. },
  20724. "biztype": {
  20725. "description": "业务类型 1-套保 2-套利",
  20726. "type": "integer"
  20727. },
  20728. "wrlist": {
  20729. "description": "现货商品表",
  20730. "type": "array",
  20731. "items": {
  20732. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20733. }
  20734. }
  20735. }
  20736. },
  20737. "models.ErmcpBizGroupSpotGoods": {
  20738. "type": "object",
  20739. "properties": {
  20740. "areauserid": {
  20741. "description": "所属机构id",
  20742. "type": "integer"
  20743. },
  20744. "bizgroupid": {
  20745. "description": "分组id",
  20746. "type": "integer"
  20747. },
  20748. "biztype": {
  20749. "description": "业务类型 1-套保 2-套利",
  20750. "type": "integer"
  20751. },
  20752. "deliverygoodscode": {
  20753. "description": "现货商品代码",
  20754. "type": "string"
  20755. },
  20756. "deliverygoodsid": {
  20757. "description": "现货商品id",
  20758. "type": "integer"
  20759. },
  20760. "deliverygoodsname": {
  20761. "description": "现货商品名称",
  20762. "type": "string"
  20763. },
  20764. "unitid": {
  20765. "description": "现货商品单位id",
  20766. "type": "integer"
  20767. }
  20768. }
  20769. },
  20770. "models.ErmcpBizGroupTaAccount": {
  20771. "type": "object",
  20772. "properties": {
  20773. "accountid": {
  20774. "description": "账号id",
  20775. "type": "integer"
  20776. },
  20777. "accountname": {
  20778. "description": "账号名称",
  20779. "type": "string"
  20780. },
  20781. "areauserid": {
  20782. "description": "所属机构id",
  20783. "type": "integer"
  20784. },
  20785. "bizgroupid": {
  20786. "description": "业务分组id",
  20787. "type": "integer"
  20788. },
  20789. "ismain": {
  20790. "description": "是否主账号 1-是 0-否",
  20791. "type": "integer"
  20792. }
  20793. }
  20794. },
  20795. "models.ErmcpDGFactoryItem": {
  20796. "type": "object",
  20797. "properties": {
  20798. "areauserid": {
  20799. "description": "用户id",
  20800. "type": "integer"
  20801. },
  20802. "deliverygoodsid": {
  20803. "description": "现货品种ID",
  20804. "type": "integer"
  20805. },
  20806. "dgfactoryitemid": {
  20807. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20808. "type": "integer"
  20809. },
  20810. "dgfactoryitemtypeid": {
  20811. "description": "要素项类型",
  20812. "type": "integer"
  20813. },
  20814. "dgfactoryitemvalue": {
  20815. "description": "要素项值(类型为仓库时填写仓库名称)",
  20816. "type": "string"
  20817. },
  20818. "isvalid": {
  20819. "description": "是否有效 - 0:无效 1:有效",
  20820. "type": "integer"
  20821. },
  20822. "orderindex": {
  20823. "description": "顺序",
  20824. "type": "integer"
  20825. },
  20826. "warehouseid": {
  20827. "description": "仓库ID(类型为仓库时填写)",
  20828. "type": "integer"
  20829. }
  20830. }
  20831. },
  20832. "models.ErmcpDeliveryGoods": {
  20833. "type": "object",
  20834. "properties": {
  20835. "agreeunit": {
  20836. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20837. "type": "integer"
  20838. },
  20839. "areauserid": {
  20840. "description": "所属机构",
  20841. "type": "integer"
  20842. },
  20843. "auditflag": {
  20844. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20845. "type": "integer"
  20846. },
  20847. "categoryid": {
  20848. "description": "类别ID(SEQ_WRCATEGORY)",
  20849. "type": "integer"
  20850. },
  20851. "deliverygoodscode": {
  20852. "description": "现货品种代码",
  20853. "type": "string"
  20854. },
  20855. "deliverygoodsid": {
  20856. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20857. "type": "integer"
  20858. },
  20859. "deliverygoodsname": {
  20860. "description": "现货品种名称",
  20861. "type": "string"
  20862. },
  20863. "deliverygoodstype": {
  20864. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20865. "type": "integer"
  20866. },
  20867. "dgstatus": {
  20868. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20869. "type": "integer"
  20870. },
  20871. "enumdicname": {
  20872. "description": "现货品种单位名称",
  20873. "type": "string"
  20874. },
  20875. "goodsunitid": {
  20876. "description": "现货品种单位ID",
  20877. "type": "integer"
  20878. },
  20879. "isvalid": {
  20880. "description": "是否有效 - 0:无效 1:有效",
  20881. "type": "integer"
  20882. },
  20883. "qtydecimalplace": {
  20884. "description": "成交量小数位",
  20885. "type": "integer"
  20886. },
  20887. "remark": {
  20888. "description": "备注",
  20889. "type": "string"
  20890. },
  20891. "standardqty": {
  20892. "description": "标准数量(库位数量) [标准品特有]",
  20893. "type": "integer"
  20894. },
  20895. "standardqtyrange": {
  20896. "description": "标准数量偏差范围 [标准品特有]",
  20897. "type": "integer"
  20898. }
  20899. }
  20900. },
  20901. "models.ErmcpExposureDetailModel": {
  20902. "type": "object",
  20903. "properties": {
  20904. "areauserid": {
  20905. "description": "机构ID",
  20906. "type": "integer"
  20907. },
  20908. "changeQty": {
  20909. "description": "套保变动量",
  20910. "type": "number"
  20911. },
  20912. "contracttype": {
  20913. "description": "现货合同类型 - 1:采购 -1:销售",
  20914. "type": "integer"
  20915. },
  20916. "convertfactor": {
  20917. "description": "标仓系数",
  20918. "type": "number"
  20919. },
  20920. "convertratio": {
  20921. "description": "套保系数",
  20922. "type": "number"
  20923. },
  20924. "createtime": {
  20925. "description": "时间",
  20926. "type": "string"
  20927. },
  20928. "enumdicname": {
  20929. "description": "现货商品单位名称",
  20930. "type": "string"
  20931. },
  20932. "logtype": {
  20933. "description": "类型 - 1:套保计划 2:现货合同",
  20934. "type": "integer"
  20935. },
  20936. "middlegoodsId": {
  20937. "description": "套保商品id",
  20938. "type": "integer"
  20939. },
  20940. "middlegoodscode": {
  20941. "description": "套保商品代码",
  20942. "type": "string"
  20943. },
  20944. "middlegoodsname": {
  20945. "description": "套保商品名称",
  20946. "type": "string"
  20947. },
  20948. "qty": {
  20949. "description": "数量",
  20950. "type": "number"
  20951. },
  20952. "relateNo": {
  20953. "description": "现货合同/套保计划编号",
  20954. "type": "string"
  20955. },
  20956. "wrstandardcode": {
  20957. "description": "现货商品代码",
  20958. "type": "string"
  20959. },
  20960. "wrstandardid": {
  20961. "description": "现货商品ID",
  20962. "type": "integer"
  20963. },
  20964. "wrstandardname": {
  20965. "description": "现货商品名称",
  20966. "type": "string"
  20967. }
  20968. }
  20969. },
  20970. "models.ErmcpExposurePostion": {
  20971. "type": "object",
  20972. "properties": {
  20973. "agreeunit": {
  20974. "description": "合约单位",
  20975. "type": "string"
  20976. },
  20977. "areauserid": {
  20978. "description": "所属机构id",
  20979. "type": "integer"
  20980. },
  20981. "convertratio": {
  20982. "description": "期货品种系数(折算系数)",
  20983. "type": "number"
  20984. },
  20985. "curqty": {
  20986. "description": "当前持仓",
  20987. "type": "integer"
  20988. },
  20989. "diffhedgeqty": {
  20990. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20991. "type": "number"
  20992. },
  20993. "diffqty": {
  20994. "description": "持仓变动量=当前持仓-昨日持仓",
  20995. "type": "integer"
  20996. },
  20997. "goodscode": {
  20998. "description": "商品代码",
  20999. "type": "string"
  21000. },
  21001. "goodsid": {
  21002. "description": "商品id",
  21003. "type": "integer"
  21004. },
  21005. "goodsname": {
  21006. "description": "商品名称",
  21007. "type": "string"
  21008. },
  21009. "middlegoodsid": {
  21010. "description": "套保商品id",
  21011. "type": "integer"
  21012. },
  21013. "ydqty": {
  21014. "description": "昨日持仓",
  21015. "type": "integer"
  21016. }
  21017. }
  21018. },
  21019. "models.ErmcpFuturesCompany": {
  21020. "type": "object",
  21021. "properties": {
  21022. "brokerid": {
  21023. "description": "经纪公司代码",
  21024. "type": "string"
  21025. },
  21026. "channeladdress": {
  21027. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  21028. "type": "string"
  21029. },
  21030. "channelid": {
  21031. "description": "对冲渠道ID",
  21032. "type": "string"
  21033. },
  21034. "createtime": {
  21035. "description": "创建时间",
  21036. "type": "string"
  21037. },
  21038. "creatorid": {
  21039. "description": "创建人",
  21040. "type": "string"
  21041. },
  21042. "fcid": {
  21043. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  21044. "type": "integer"
  21045. },
  21046. "fcname": {
  21047. "description": "期货公司名称",
  21048. "type": "string"
  21049. },
  21050. "isvalid": {
  21051. "description": "是否有效 - 0:无效 1:有效",
  21052. "type": "integer"
  21053. },
  21054. "mhpaddress": {
  21055. "description": "MHP服务地址(IP:Port)",
  21056. "type": "string"
  21057. },
  21058. "riskrulegroupid": {
  21059. "description": "风控规则组ID",
  21060. "type": "string"
  21061. },
  21062. "tradefeetmpid": {
  21063. "description": "手续费模板ID[TradeConfigTmpType为2]",
  21064. "type": "string"
  21065. },
  21066. "trademargintmpid": {
  21067. "description": "保证金模板ID [TradeConfigTmpType为1]",
  21068. "type": "string"
  21069. },
  21070. "traderatetmpid": {
  21071. "description": "汇率模板ID[TradeConfigTmpType为3]",
  21072. "type": "string"
  21073. },
  21074. "updatetime": {
  21075. "description": "更新时间",
  21076. "type": "string"
  21077. },
  21078. "updatorid": {
  21079. "description": "更新人",
  21080. "type": "string"
  21081. }
  21082. }
  21083. },
  21084. "models.ErmcpGGConvertCfg": {
  21085. "type": "object",
  21086. "properties": {
  21087. "convertratio": {
  21088. "description": "折算系数",
  21089. "type": "number"
  21090. },
  21091. "destgoodsgroupid": {
  21092. "description": "目标品种ID",
  21093. "type": "integer"
  21094. },
  21095. "dstcode": {
  21096. "description": "目录品种代码",
  21097. "type": "string"
  21098. },
  21099. "dstexchangecode": {
  21100. "description": "目标期货交易所",
  21101. "type": "string"
  21102. },
  21103. "dstname": {
  21104. "description": "目标品种名称",
  21105. "type": "string"
  21106. },
  21107. "dstunitid": {
  21108. "description": "目标品种单位ID",
  21109. "type": "integer"
  21110. },
  21111. "dstunitidname": {
  21112. "description": "目标品种单位名称",
  21113. "type": "string"
  21114. },
  21115. "modifytime": {
  21116. "description": "修改时间",
  21117. "type": "string"
  21118. },
  21119. "srccode": {
  21120. "description": "源品种代码",
  21121. "type": "string"
  21122. },
  21123. "srcexchangecode": {
  21124. "description": "源期货交易所",
  21125. "type": "string"
  21126. },
  21127. "srcgoodsgroupid": {
  21128. "description": "源品种ID",
  21129. "type": "integer"
  21130. },
  21131. "srcname": {
  21132. "description": "源品种名称",
  21133. "type": "string"
  21134. },
  21135. "srcunitid": {
  21136. "description": "源品种单位ID",
  21137. "type": "integer"
  21138. },
  21139. "srcunitidname": {
  21140. "description": "源品种单位名称",
  21141. "type": "string"
  21142. }
  21143. }
  21144. },
  21145. "models.ErmcpGoods": {
  21146. "type": "object",
  21147. "required": [
  21148. "goodscode",
  21149. "goodsid",
  21150. "goodsname",
  21151. "marketid"
  21152. ],
  21153. "properties": {
  21154. "agreeunit": {
  21155. "description": "合约单位",
  21156. "type": "number"
  21157. },
  21158. "areauserid": {
  21159. "description": "所属机构",
  21160. "type": "integer"
  21161. },
  21162. "auditaccountid": {
  21163. "description": "审核操作员账号",
  21164. "type": "integer"
  21165. },
  21166. "audittime": {
  21167. "description": "审核时间",
  21168. "type": "string"
  21169. },
  21170. "cancelaccountid": {
  21171. "description": "注销操作员账号",
  21172. "type": "integer"
  21173. },
  21174. "canceltime": {
  21175. "description": "注销时间",
  21176. "type": "string"
  21177. },
  21178. "closepricemode": {
  21179. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21180. "type": "integer"
  21181. },
  21182. "closepriceparam": {
  21183. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21184. "type": "number"
  21185. },
  21186. "createtime": {
  21187. "description": "创建时间",
  21188. "type": "string"
  21189. },
  21190. "creatorid": {
  21191. "description": "创建人",
  21192. "type": "integer"
  21193. },
  21194. "currencyid": {
  21195. "description": "报价货币ID",
  21196. "type": "integer"
  21197. },
  21198. "cutmode": {
  21199. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21200. "type": "integer"
  21201. },
  21202. "decimalplace": {
  21203. "description": "报价小数位",
  21204. "type": "integer"
  21205. },
  21206. "delistingdate": {
  21207. "description": "商品退市时间(状态:退市) -- 已作废",
  21208. "type": "string"
  21209. },
  21210. "delistingmode": {
  21211. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21212. "type": "integer"
  21213. },
  21214. "deliveryflag": {
  21215. "description": "交割标志 - 0:不可交割 1:可交割",
  21216. "type": "integer"
  21217. },
  21218. "enumdicname": {
  21219. "description": "单位名称",
  21220. "type": "string"
  21221. },
  21222. "forceclosemode": {
  21223. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21224. "type": "integer"
  21225. },
  21226. "forceclosevalue": {
  21227. "description": "定期强平参数 [收益权]",
  21228. "type": "integer"
  21229. },
  21230. "goodscode": {
  21231. "description": "商品代码(内部)",
  21232. "type": "string"
  21233. },
  21234. "goodscurrencyid": {
  21235. "description": "合约货币ID",
  21236. "type": "integer"
  21237. },
  21238. "goodsgroupid": {
  21239. "description": "所属商品组ID",
  21240. "type": "integer"
  21241. },
  21242. "goodsid": {
  21243. "description": "商品ID(自增ID SEQ_GOODS)",
  21244. "type": "integer"
  21245. },
  21246. "goodsname": {
  21247. "description": "商品名称",
  21248. "type": "string"
  21249. },
  21250. "goodsquotetype": {
  21251. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21252. "type": "integer"
  21253. },
  21254. "goodsstatus": {
  21255. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21256. "type": "integer"
  21257. },
  21258. "goodstradetype": {
  21259. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21260. "type": "integer"
  21261. },
  21262. "goodunitid": {
  21263. "description": "报价单位ID",
  21264. "type": "integer"
  21265. },
  21266. "hasquoter": {
  21267. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21268. "type": "integer"
  21269. },
  21270. "hqprotecttime": {
  21271. "description": "行情保护时间(秒)",
  21272. "type": "integer"
  21273. },
  21274. "innerdealmode": {
  21275. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21276. "type": "integer"
  21277. },
  21278. "isbuylimited": {
  21279. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21280. "type": "integer"
  21281. },
  21282. "isvisible": {
  21283. "description": "游客是否可见 - 0:不可见 1:可见",
  21284. "type": "integer"
  21285. },
  21286. "lasttradedate": {
  21287. "description": "最后交易日期(状态:待退市)",
  21288. "type": "string"
  21289. },
  21290. "listingdate": {
  21291. "description": "交易开始日期",
  21292. "type": "string"
  21293. },
  21294. "marketid": {
  21295. "description": "所属市场ID",
  21296. "type": "integer"
  21297. },
  21298. "modifierid": {
  21299. "description": "修改人",
  21300. "type": "integer"
  21301. },
  21302. "modifystatus": {
  21303. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21304. "type": "integer"
  21305. },
  21306. "modifytime": {
  21307. "description": "修改时间",
  21308. "type": "string"
  21309. },
  21310. "outerdealmode": {
  21311. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21312. "type": "integer"
  21313. },
  21314. "outgoodscode": {
  21315. "description": "商品代码(外部)",
  21316. "type": "string"
  21317. },
  21318. "pictureurl": {
  21319. "description": "商品图片",
  21320. "type": "string"
  21321. },
  21322. "qtydecimalplace": {
  21323. "description": "成交量小数位",
  21324. "type": "integer"
  21325. },
  21326. "quotegear": {
  21327. "description": "行情档位(1-10)",
  21328. "type": "integer"
  21329. },
  21330. "quoteminunit": {
  21331. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21332. "type": "integer"
  21333. },
  21334. "quoteshowtype": {
  21335. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21336. "type": "integer"
  21337. },
  21338. "quoteshowtypeinterval": {
  21339. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21340. "type": "integer"
  21341. },
  21342. "relatedgoodsid": {
  21343. "description": "关联参考商品ID",
  21344. "type": "integer"
  21345. },
  21346. "remark": {
  21347. "description": "备注",
  21348. "type": "string"
  21349. },
  21350. "trademode": {
  21351. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21352. "type": "integer"
  21353. }
  21354. }
  21355. },
  21356. "models.ErmcpGoodsBrand": {
  21357. "type": "object",
  21358. "properties": {
  21359. "areauserid": {
  21360. "description": "所属机构",
  21361. "type": "integer"
  21362. },
  21363. "brandid": {
  21364. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  21365. "type": "integer"
  21366. },
  21367. "brandname": {
  21368. "description": "品牌名称",
  21369. "type": "string"
  21370. },
  21371. "createtime": {
  21372. "description": "创建时间",
  21373. "type": "string"
  21374. },
  21375. "creatorid": {
  21376. "description": "创建人",
  21377. "type": "integer"
  21378. },
  21379. "creatorsrc": {
  21380. "description": "创建人来源 - 1:管理端 2:终端",
  21381. "type": "integer"
  21382. },
  21383. "deliverygoodsid": {
  21384. "description": "现货品种ID",
  21385. "type": "integer"
  21386. },
  21387. "isvalid": {
  21388. "description": "是否有效 - 0:无效 1:有效",
  21389. "type": "integer"
  21390. },
  21391. "updatetime": {
  21392. "description": "更新时间",
  21393. "type": "string"
  21394. },
  21395. "updatorid": {
  21396. "description": "更新人",
  21397. "type": "integer"
  21398. },
  21399. "updatorsrc": {
  21400. "description": "更新人来源 - 1:管理端 2:终端",
  21401. "type": "integer"
  21402. },
  21403. "wrstandardid": {
  21404. "description": "现货商品ID",
  21405. "type": "integer"
  21406. }
  21407. }
  21408. },
  21409. "models.ErmcpGoodsModel": {
  21410. "type": "object",
  21411. "properties": {
  21412. "areauserid": {
  21413. "description": "所属机构",
  21414. "type": "integer"
  21415. },
  21416. "convertfactor": {
  21417. "description": "标仓系数",
  21418. "type": "number"
  21419. },
  21420. "createtime": {
  21421. "description": "创建时间",
  21422. "type": "string"
  21423. },
  21424. "creatorid": {
  21425. "description": "创建人",
  21426. "type": "integer"
  21427. },
  21428. "creatorsrc": {
  21429. "description": "创建人来源 - 1:管理端 2:终端",
  21430. "type": "integer"
  21431. },
  21432. "deliverygoodsid": {
  21433. "description": "现货品种ID",
  21434. "type": "integer"
  21435. },
  21436. "isvalid": {
  21437. "description": "是否有效 - 0:无效 1:有效",
  21438. "type": "integer"
  21439. },
  21440. "modelid": {
  21441. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21442. "type": "integer"
  21443. },
  21444. "modelname": {
  21445. "description": "型号名称",
  21446. "type": "string"
  21447. },
  21448. "updatetime": {
  21449. "description": "更新时间",
  21450. "type": "string"
  21451. },
  21452. "updatorid": {
  21453. "description": "更新人",
  21454. "type": "integer"
  21455. },
  21456. "updatorsrc": {
  21457. "description": "更新人来源 - 1:管理端 2:终端",
  21458. "type": "integer"
  21459. },
  21460. "wrstandardid": {
  21461. "description": "现货商品ID",
  21462. "type": "integer"
  21463. }
  21464. }
  21465. },
  21466. "models.ErmcpHedgePosition": {
  21467. "type": "object",
  21468. "properties": {
  21469. "accountid": {
  21470. "description": "资金账号[外部母账户]",
  21471. "type": "integer"
  21472. },
  21473. "curbuyposition": {
  21474. "description": "期末买头寸",
  21475. "type": "integer"
  21476. },
  21477. "cursellposition": {
  21478. "description": "期末卖头寸",
  21479. "type": "integer"
  21480. },
  21481. "curtdbuyposition": {
  21482. "description": "期末今日买头寸",
  21483. "type": "integer"
  21484. },
  21485. "curtdsellposition": {
  21486. "description": "期末今日卖头寸",
  21487. "type": "integer"
  21488. },
  21489. "curydbuyposition": {
  21490. "description": "期末上日买头寸",
  21491. "type": "integer"
  21492. },
  21493. "curydsellposition": {
  21494. "description": "期末上日卖头寸",
  21495. "type": "integer"
  21496. },
  21497. "decreaseqty": {
  21498. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21499. "type": "integer"
  21500. },
  21501. "fretdbuyposition": {
  21502. "description": "冻结今日买头寸",
  21503. "type": "integer"
  21504. },
  21505. "fretdsellposition": {
  21506. "description": "冻结今日卖头寸",
  21507. "type": "integer"
  21508. },
  21509. "freydbuyposition": {
  21510. "description": "冻结上日买头寸",
  21511. "type": "integer"
  21512. },
  21513. "freydsellposition": {
  21514. "description": "冻结上日卖头寸",
  21515. "type": "integer"
  21516. },
  21517. "goodscode": {
  21518. "description": "商品代码",
  21519. "type": "string"
  21520. },
  21521. "goodsid": {
  21522. "description": "商品id",
  21523. "type": "integer"
  21524. },
  21525. "goodsname": {
  21526. "description": "商品名称",
  21527. "type": "string"
  21528. },
  21529. "hedgeaccountcode": {
  21530. "description": "对冲账号",
  21531. "type": "string"
  21532. },
  21533. "hedgegoodsid": {
  21534. "description": "对冲合约ID",
  21535. "type": "integer"
  21536. },
  21537. "increaseqty": {
  21538. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21539. "type": "integer"
  21540. },
  21541. "marketid": {
  21542. "description": "市场ID",
  21543. "type": "integer"
  21544. },
  21545. "relateduserid": {
  21546. "description": "关联用户id",
  21547. "type": "integer"
  21548. },
  21549. "totalcurqty": {
  21550. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21551. "type": "integer"
  21552. },
  21553. "totalydqty": {
  21554. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21555. "type": "integer"
  21556. },
  21557. "tradedate": {
  21558. "description": "交易日(yyyyMMdd)",
  21559. "type": "string"
  21560. },
  21561. "ydbuyposition": {
  21562. "description": "期初买头寸",
  21563. "type": "integer"
  21564. },
  21565. "ydsellposition": {
  21566. "description": "期初卖头寸",
  21567. "type": "integer"
  21568. }
  21569. }
  21570. },
  21571. "models.ErmcpHedgePositionDetail": {
  21572. "type": "object",
  21573. "properties": {
  21574. "buyorsell": {
  21575. "description": "买卖方向 0-买 1-卖",
  21576. "type": "integer"
  21577. },
  21578. "channelbuildtype": {
  21579. "description": "开平方向 1-建仓 2-平仓",
  21580. "type": "integer"
  21581. },
  21582. "goodscode": {
  21583. "description": "商品代码",
  21584. "type": "string"
  21585. },
  21586. "goodsname": {
  21587. "description": "商品名称",
  21588. "type": "string"
  21589. },
  21590. "hedgegoodsid": {
  21591. "description": "商品id",
  21592. "type": "integer"
  21593. },
  21594. "tradeqty": {
  21595. "description": "数量(成交数量)",
  21596. "type": "integer"
  21597. },
  21598. "tradetime": {
  21599. "description": "时间(成交时间)",
  21600. "type": "string"
  21601. }
  21602. }
  21603. },
  21604. "models.ErmcpHisExposure": {
  21605. "type": "object",
  21606. "properties": {
  21607. "needhedgeexposoure": {
  21608. "description": "应套保敞口",
  21609. "type": "number"
  21610. },
  21611. "reckondate": {
  21612. "description": "日照时期(yyyyMMdd)",
  21613. "type": "string"
  21614. },
  21615. "totalexposure": {
  21616. "description": "总敞口",
  21617. "type": "number"
  21618. }
  21619. }
  21620. },
  21621. "models.ErmcpHisExposureS": {
  21622. "type": "object",
  21623. "properties": {
  21624. "data": {
  21625. "description": "历史敞口",
  21626. "type": "array",
  21627. "items": {
  21628. "$ref": "#/definitions/models.ErmcpHisExposure"
  21629. }
  21630. },
  21631. "enumdicname": {
  21632. "description": "单位名称",
  21633. "type": "string"
  21634. },
  21635. "middlegoodscode": {
  21636. "description": "套保品种代码",
  21637. "type": "string"
  21638. },
  21639. "middlegoodsid": {
  21640. "description": "套保品种ID",
  21641. "type": "integer"
  21642. },
  21643. "middlegoodsname": {
  21644. "description": "套保品种名称",
  21645. "type": "string"
  21646. }
  21647. }
  21648. },
  21649. "models.ErmcpLoginTaAccount": {
  21650. "type": "object",
  21651. "properties": {
  21652. "accountid": {
  21653. "description": "账号id",
  21654. "type": "integer"
  21655. },
  21656. "accountname": {
  21657. "description": "账号名称",
  21658. "type": "string"
  21659. }
  21660. }
  21661. },
  21662. "models.ErmcpLoginUser": {
  21663. "type": "object",
  21664. "properties": {
  21665. "acclist": {
  21666. "description": "关联资金账号",
  21667. "type": "array",
  21668. "items": {
  21669. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21670. }
  21671. },
  21672. "accountname": {
  21673. "description": "用户名称",
  21674. "type": "string"
  21675. },
  21676. "clientroleid": {
  21677. "description": "角色id(usertype=2)",
  21678. "type": "integer"
  21679. },
  21680. "createtime": {
  21681. "description": "创建时间",
  21682. "type": "string"
  21683. },
  21684. "logincode": {
  21685. "description": "登录代码",
  21686. "type": "string"
  21687. },
  21688. "loginid": {
  21689. "description": "登录id(LOGINID)",
  21690. "type": "integer"
  21691. },
  21692. "loginname": {
  21693. "description": "登录名称(loginaccount表中的accountname字段)",
  21694. "type": "string"
  21695. },
  21696. "loginstatus": {
  21697. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21698. "type": "integer"
  21699. },
  21700. "memberuserid": {
  21701. "description": "所属会员id",
  21702. "type": "integer"
  21703. },
  21704. "mobile": {
  21705. "description": "手机号",
  21706. "type": "string"
  21707. },
  21708. "modifytime": {
  21709. "description": "修改时间",
  21710. "type": "string"
  21711. },
  21712. "password": {
  21713. "description": "密码(不可解密)",
  21714. "type": "string"
  21715. },
  21716. "rolename": {
  21717. "description": "角色名称",
  21718. "type": "string"
  21719. },
  21720. "rolestatus": {
  21721. "description": "角色状态 1-启用 2-停用",
  21722. "type": "integer"
  21723. },
  21724. "roletype": {
  21725. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21726. "type": "string"
  21727. },
  21728. "userid": {
  21729. "description": "用户id",
  21730. "type": "integer"
  21731. },
  21732. "usertype": {
  21733. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21734. "type": "integer"
  21735. }
  21736. }
  21737. },
  21738. "models.ErmcpLoginUserEx": {
  21739. "type": "object",
  21740. "properties": {
  21741. "accountstatus": {
  21742. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21743. "type": "integer"
  21744. },
  21745. "mobile": {
  21746. "description": "手机号",
  21747. "type": "string"
  21748. },
  21749. "querytype": {
  21750. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21751. "type": "integer"
  21752. },
  21753. "roleid": {
  21754. "description": "角色id(交易账户-\u003e用户id)",
  21755. "type": "integer"
  21756. },
  21757. "rolename": {
  21758. "description": "角色名称(交易账户-\u003e用户名称)",
  21759. "type": "string"
  21760. },
  21761. "userlist": {
  21762. "description": "用户列表",
  21763. "type": "array",
  21764. "items": {
  21765. "$ref": "#/definitions/models.ErmcpLoginUser"
  21766. }
  21767. },
  21768. "usertype": {
  21769. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21770. "type": "integer"
  21771. }
  21772. }
  21773. },
  21774. "models.ErmcpMiddleGoodsChangeLog": {
  21775. "type": "object",
  21776. "properties": {
  21777. "aftervalue": {
  21778. "description": "变更后",
  21779. "type": "number"
  21780. },
  21781. "applyid": {
  21782. "description": "操作人",
  21783. "type": "integer"
  21784. },
  21785. "applyname": {
  21786. "description": "操作人名称",
  21787. "type": "string"
  21788. },
  21789. "applysrc": {
  21790. "description": "操作来源 - 1:管理端 2:终端",
  21791. "type": "integer"
  21792. },
  21793. "beforevalue": {
  21794. "description": "变更前",
  21795. "type": "number"
  21796. },
  21797. "changelogtype": {
  21798. "description": "变更流水类型 - 1:套保比率变更",
  21799. "type": "integer"
  21800. },
  21801. "handlestatus": {
  21802. "description": "处理状态",
  21803. "type": "integer"
  21804. },
  21805. "logdatetime": {
  21806. "description": "流水日期",
  21807. "type": "string"
  21808. },
  21809. "logid": {
  21810. "description": "流水ID",
  21811. "type": "integer"
  21812. },
  21813. "logremark": {
  21814. "description": "流水备注",
  21815. "type": "string"
  21816. },
  21817. "middlegoodsid": {
  21818. "description": "套保品种ID",
  21819. "type": "integer"
  21820. },
  21821. "tradedate": {
  21822. "description": "交易日(yyyyMMdd)",
  21823. "type": "string"
  21824. },
  21825. "updatetime": {
  21826. "description": "更新时间",
  21827. "type": "string"
  21828. }
  21829. }
  21830. },
  21831. "models.ErmcpMiddleGoodsDetail": {
  21832. "type": "object",
  21833. "properties": {
  21834. "cvList": {
  21835. "description": "期货品种折算列表",
  21836. "type": "array",
  21837. "items": {
  21838. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21839. }
  21840. },
  21841. "mg": {
  21842. "description": "套保品种基本信息",
  21843. "type": "object",
  21844. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21845. },
  21846. "wrcList": {
  21847. "description": "现货品种列表(现货商品折算配置)",
  21848. "type": "array",
  21849. "items": {
  21850. "$ref": "#/definitions/models.WRSConverTDetail"
  21851. }
  21852. }
  21853. }
  21854. },
  21855. "models.ErmcpMiddleGoodsModel": {
  21856. "type": "object",
  21857. "properties": {
  21858. "areauserid": {
  21859. "description": "机构用户ID",
  21860. "type": "integer"
  21861. },
  21862. "createtime": {
  21863. "description": "修改时间",
  21864. "type": "string"
  21865. },
  21866. "enumdicname": {
  21867. "description": "单位名称",
  21868. "type": "string"
  21869. },
  21870. "evaluateratio": {
  21871. "description": "估价系数",
  21872. "type": "number"
  21873. },
  21874. "goodsgroupid": {
  21875. "description": "关联期货品种ID",
  21876. "type": "integer"
  21877. },
  21878. "goodsunitid": {
  21879. "description": "单位ID",
  21880. "type": "integer"
  21881. },
  21882. "isvalid": {
  21883. "description": "状态 0-无效(停用) 1-有效(正常)",
  21884. "type": "integer"
  21885. },
  21886. "middlegoodscode": {
  21887. "description": "套保品种代码",
  21888. "type": "string"
  21889. },
  21890. "middlegoodsid": {
  21891. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21892. "type": "integer"
  21893. },
  21894. "middlegoodsname": {
  21895. "description": "套保品种名称",
  21896. "type": "string"
  21897. },
  21898. "modifytime": {
  21899. "description": "修改时间",
  21900. "type": "string"
  21901. },
  21902. "needarbitrageratio": {
  21903. "description": "套利比例",
  21904. "type": "number"
  21905. },
  21906. "needhedgeratio": {
  21907. "description": "套保比率",
  21908. "type": "number"
  21909. },
  21910. "qtydecimalplace": {
  21911. "description": "数量小数位",
  21912. "type": "integer"
  21913. },
  21914. "relatedgoodsid": {
  21915. "description": "关联交易商品ID",
  21916. "type": "integer"
  21917. },
  21918. "relatedgoodstype": {
  21919. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21920. "type": "integer"
  21921. },
  21922. "remark": {
  21923. "description": "备注",
  21924. "type": "string"
  21925. }
  21926. }
  21927. },
  21928. "models.ErmcpMiddlegoodsRelateGoods": {
  21929. "type": "object",
  21930. "properties": {
  21931. "agreeunit": {
  21932. "description": "合约乘数",
  21933. "type": "number"
  21934. },
  21935. "convertratio": {
  21936. "description": "折算系数",
  21937. "type": "number"
  21938. },
  21939. "enumdicname": {
  21940. "description": "单位名称(交易商品)",
  21941. "type": "string"
  21942. },
  21943. "goodscode": {
  21944. "description": "交易商品代码",
  21945. "type": "string"
  21946. },
  21947. "goodsgroupid": {
  21948. "description": "交易品种id",
  21949. "type": "integer"
  21950. },
  21951. "goodsid": {
  21952. "description": "商品Id",
  21953. "type": "integer"
  21954. },
  21955. "goodsname": {
  21956. "description": "交易商品名称",
  21957. "type": "string"
  21958. },
  21959. "goodunitid": {
  21960. "description": "交易商品单位id",
  21961. "type": "integer"
  21962. },
  21963. "middlegoodsid": {
  21964. "description": "套保商品id",
  21965. "type": "integer"
  21966. },
  21967. "middlegoodsname": {
  21968. "description": "套保商品名称",
  21969. "type": "string"
  21970. },
  21971. "middlegoodsswcode": {
  21972. "description": "套保商品代码",
  21973. "type": "string"
  21974. },
  21975. "needarbitrageratio": {
  21976. "description": "应套利比例",
  21977. "type": "number"
  21978. },
  21979. "needhedgeratio": {
  21980. "description": "应套保比例",
  21981. "type": "number"
  21982. }
  21983. }
  21984. },
  21985. "models.ErmcpOPLogModel": {
  21986. "type": "object",
  21987. "properties": {
  21988. "aftervalue": {
  21989. "description": "变更后",
  21990. "type": "number"
  21991. },
  21992. "applyid": {
  21993. "description": "操作人ID",
  21994. "type": "string"
  21995. },
  21996. "applyname": {
  21997. "description": "操作人名称",
  21998. "type": "string"
  21999. },
  22000. "beforevalue": {
  22001. "description": "变更前",
  22002. "type": "number"
  22003. },
  22004. "biztype": {
  22005. "description": "业务类型 - 1:套保计划 2:现货合同",
  22006. "type": "integer"
  22007. },
  22008. "contracttype": {
  22009. "description": "现货合同类型 - 1:采购 -1:销售",
  22010. "type": "integer"
  22011. },
  22012. "logvalue": {
  22013. "description": "数值",
  22014. "type": "number"
  22015. },
  22016. "operatelogtype": {
  22017. "description": "操作流水类型",
  22018. "type": "integer"
  22019. },
  22020. "operatelogtypedesc": {
  22021. "description": "操作流水类型名称",
  22022. "type": "string"
  22023. },
  22024. "relatedid": {
  22025. "description": "现货合同ID\\套保计划",
  22026. "type": "string"
  22027. },
  22028. "updatetime": {
  22029. "description": "更新时间",
  22030. "type": "string"
  22031. }
  22032. }
  22033. },
  22034. "models.ErmcpPendingAudit": {
  22035. "type": "object",
  22036. "properties": {
  22037. "areastockqty": {
  22038. "description": "待审核数量: 库存申请",
  22039. "type": "integer"
  22040. },
  22041. "businessdjqty": {
  22042. "description": "待审核数量: 点价",
  22043. "type": "integer"
  22044. },
  22045. "businessfpqty": {
  22046. "description": "待审核数量: 发票",
  22047. "type": "integer"
  22048. },
  22049. "businessjsqty": {
  22050. "description": "待审核数量: 结算",
  22051. "type": "integer"
  22052. },
  22053. "businesskxqty": {
  22054. "description": "待审核数量: 款项",
  22055. "type": "integer"
  22056. },
  22057. "hedgeplanqty": {
  22058. "description": "待审核数量: 套保计划",
  22059. "type": "integer"
  22060. },
  22061. "spotcontractqty": {
  22062. "description": "待审核数量: 现货合同",
  22063. "type": "integer"
  22064. },
  22065. "userqty": {
  22066. "description": "待审核数量: 用户",
  22067. "type": "integer"
  22068. }
  22069. }
  22070. },
  22071. "models.ErmcpRealExposureModel": {
  22072. "type": "object",
  22073. "properties": {
  22074. "AreaUserID": {
  22075. "description": "所属机构",
  22076. "type": "integer"
  22077. },
  22078. "BuyFutureQty": {
  22079. "description": "买入期货数量",
  22080. "type": "number"
  22081. },
  22082. "BuyPlanQty": {
  22083. "description": "采购计划数量",
  22084. "type": "number"
  22085. },
  22086. "BuyPricedQty": {
  22087. "description": "采购合同已定价数量",
  22088. "type": "number"
  22089. },
  22090. "MiddleGoodsCode": {
  22091. "description": "套保品种代码",
  22092. "type": "string"
  22093. },
  22094. "MiddleGoodsHedgeRatio": {
  22095. "description": "套保比例",
  22096. "type": "number"
  22097. },
  22098. "MiddleGoodsID": {
  22099. "description": "套保品种",
  22100. "type": "integer"
  22101. },
  22102. "MiddleGoodsName": {
  22103. "description": "套保品种名称",
  22104. "type": "string"
  22105. },
  22106. "NeedHedgeExposoure": {
  22107. "description": "应套保敞口(套保敞口)",
  22108. "type": "number"
  22109. },
  22110. "NeedHedgeRatio": {
  22111. "description": "应套保敞口比例",
  22112. "type": "number"
  22113. },
  22114. "OriBuyFutureQty": {
  22115. "description": "期初买入期货数量",
  22116. "type": "number"
  22117. },
  22118. "OriBuyPlanQty": {
  22119. "description": "期初采购计划数量",
  22120. "type": "number"
  22121. },
  22122. "OriBuyPricedQty": {
  22123. "description": "期初采购合同已定价数量",
  22124. "type": "number"
  22125. },
  22126. "OriSellFutureQty": {
  22127. "description": "期初卖出期货数量",
  22128. "type": "number"
  22129. },
  22130. "OriSellPlanQty": {
  22131. "description": "期初销售计划数量",
  22132. "type": "number"
  22133. },
  22134. "OriSellPricedQty": {
  22135. "description": "期初销售合同已定价数量",
  22136. "type": "number"
  22137. },
  22138. "SellFutureQty": {
  22139. "description": "卖出期货数量",
  22140. "type": "number"
  22141. },
  22142. "SellPlanQty": {
  22143. "description": "销售计划数量",
  22144. "type": "number"
  22145. },
  22146. "SellPricedQty": {
  22147. "description": "销售合同已定价数量",
  22148. "type": "number"
  22149. },
  22150. "TotalExposure": {
  22151. "description": "总敞口 平安:净敞口",
  22152. "type": "number"
  22153. },
  22154. "TotalFutureQty": {
  22155. "description": "期货总量 平安:保值净持仓量",
  22156. "type": "number"
  22157. },
  22158. "TotalHedgeRatio": {
  22159. "description": "敞口比例",
  22160. "type": "number"
  22161. },
  22162. "TotalNeedHedgeQty": {
  22163. "description": "应套保总量(现货应套保总量)",
  22164. "type": "number"
  22165. },
  22166. "TotalSpotQty": {
  22167. "description": "现货总量 平安:采销定价净值",
  22168. "type": "number"
  22169. },
  22170. "arbitrageqty": {
  22171. "description": "套利量",
  22172. "type": "number"
  22173. },
  22174. "diffArbitrageQty": {
  22175. "description": "套利变动量",
  22176. "type": "number"
  22177. },
  22178. "diffExposoureQty": {
  22179. "description": "变动量(套保敞口)",
  22180. "type": "number"
  22181. },
  22182. "diffFutuQty": {
  22183. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  22184. "type": "number"
  22185. },
  22186. "diffHedgeQty": {
  22187. "description": "套保变动量",
  22188. "type": "number"
  22189. },
  22190. "diffQty": {
  22191. "description": "变动量(总敞口) 平安:净敞口今日变动",
  22192. "type": "number"
  22193. },
  22194. "diffSpotHedgeQty": {
  22195. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  22196. "type": "number"
  22197. },
  22198. "diffSpotQty": {
  22199. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  22200. "type": "number"
  22201. },
  22202. "enumdicname": {
  22203. "description": "单位名称",
  22204. "type": "string"
  22205. },
  22206. "hedgeqty": {
  22207. "description": "套保量",
  22208. "type": "number"
  22209. },
  22210. "needarbitrageqty": {
  22211. "description": "应套利量",
  22212. "type": "number"
  22213. },
  22214. "needarbitrageratio": {
  22215. "description": "套利比例",
  22216. "type": "number"
  22217. },
  22218. "needhedgeqty": {
  22219. "description": "应套保量",
  22220. "type": "number"
  22221. },
  22222. "oriTotalFutuQty": {
  22223. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  22224. "type": "number"
  22225. },
  22226. "oriTotalSpotQty": {
  22227. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  22228. "type": "number"
  22229. },
  22230. "oriarbitrageqty": {
  22231. "description": "期初套利量",
  22232. "type": "number"
  22233. },
  22234. "orihedgeqty": {
  22235. "description": "期初套保量",
  22236. "type": "number"
  22237. },
  22238. "orineedhedgeexposoure": {
  22239. "description": "期初套保敞口",
  22240. "type": "number"
  22241. },
  22242. "oritotalexposure": {
  22243. "description": "期初总敞口",
  22244. "type": "number"
  22245. },
  22246. "oritotalfutureqty": {
  22247. "description": "期初期货总量",
  22248. "type": "number"
  22249. },
  22250. "oritotalneedhedgeqty": {
  22251. "description": "期初现货应套保量",
  22252. "type": "number"
  22253. }
  22254. }
  22255. },
  22256. "models.ErmcpRole": {
  22257. "type": "object",
  22258. "properties": {
  22259. "areauserid": {
  22260. "description": "所属机构",
  22261. "type": "integer"
  22262. },
  22263. "autoid": {
  22264. "description": "角色ID(自增ID)",
  22265. "type": "integer"
  22266. },
  22267. "modifierid": {
  22268. "description": "修改人(创建人)",
  22269. "type": "integer"
  22270. },
  22271. "modifiername": {
  22272. "description": "修改人名称",
  22273. "type": "string"
  22274. },
  22275. "modifytime": {
  22276. "description": "修改时间(创建时间)",
  22277. "type": "string"
  22278. },
  22279. "rolename": {
  22280. "description": "角色名称",
  22281. "type": "string"
  22282. },
  22283. "rolestatus": {
  22284. "description": "角色状态 - 1:启用 2:停用",
  22285. "type": "integer"
  22286. },
  22287. "roletype": {
  22288. "description": "角色类型 - 1- 管理端 2- 交易端",
  22289. "type": "integer"
  22290. }
  22291. }
  22292. },
  22293. "models.ErmcpRoleMenu": {
  22294. "type": "object",
  22295. "properties": {
  22296. "iconame": {
  22297. "description": "菜单图标",
  22298. "type": "string"
  22299. },
  22300. "ishadrole": {
  22301. "description": "是否有权限",
  22302. "type": "boolean"
  22303. },
  22304. "menutype": {
  22305. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  22306. "type": "integer"
  22307. },
  22308. "parentcode": {
  22309. "description": "上级资源代码",
  22310. "type": "string"
  22311. },
  22312. "remark": {
  22313. "description": "菜单备注",
  22314. "type": "string"
  22315. },
  22316. "resourcecode": {
  22317. "description": "菜单代码",
  22318. "type": "string"
  22319. },
  22320. "resourcelevel": {
  22321. "description": "级别",
  22322. "type": "integer"
  22323. },
  22324. "resourcename": {
  22325. "description": "菜单名称",
  22326. "type": "string"
  22327. },
  22328. "roleid": {
  22329. "description": "角色id",
  22330. "type": "integer"
  22331. },
  22332. "sort": {
  22333. "description": "排序",
  22334. "type": "integer"
  22335. },
  22336. "url": {
  22337. "description": "URL",
  22338. "type": "string"
  22339. },
  22340. "userid": {
  22341. "description": "用户id",
  22342. "type": "integer"
  22343. }
  22344. }
  22345. },
  22346. "models.ErmcpRoleMenuEx": {
  22347. "type": "object",
  22348. "properties": {
  22349. "menu": {
  22350. "description": "父级菜单",
  22351. "type": "object",
  22352. "$ref": "#/definitions/models.ErmcpRoleMenu"
  22353. },
  22354. "subMenu": {
  22355. "description": "子级菜单",
  22356. "type": "array",
  22357. "items": {
  22358. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  22359. }
  22360. }
  22361. }
  22362. },
  22363. "models.ErmcpTaAccount": {
  22364. "type": "object",
  22365. "properties": {
  22366. "accountid": {
  22367. "description": "账户id",
  22368. "type": "integer"
  22369. },
  22370. "accountname": {
  22371. "description": "账户名称",
  22372. "type": "string"
  22373. },
  22374. "currencyid": {
  22375. "description": "币种id",
  22376. "type": "integer"
  22377. },
  22378. "hedgeaccountcode": {
  22379. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22380. "type": "string"
  22381. },
  22382. "ismain": {
  22383. "description": "是否主账户 0-否 1-是",
  22384. "type": "integer"
  22385. },
  22386. "parentaccountid": {
  22387. "description": "父账户id",
  22388. "type": "integer"
  22389. },
  22390. "relateduserid": {
  22391. "description": "关联userid",
  22392. "type": "integer"
  22393. },
  22394. "tradefeetmpid": {
  22395. "description": "手续费模板id",
  22396. "type": "integer"
  22397. },
  22398. "tradefeetmpname": {
  22399. "description": "手续费模板名称",
  22400. "type": "string"
  22401. },
  22402. "trademargintmpid": {
  22403. "description": "保证金模板id",
  22404. "type": "integer"
  22405. },
  22406. "trademargintmpname": {
  22407. "description": "保证金模板名称",
  22408. "type": "string"
  22409. },
  22410. "traderatetmpid": {
  22411. "description": "汇率模板id",
  22412. "type": "integer"
  22413. },
  22414. "traderatetmpname": {
  22415. "description": "汇率模板名称",
  22416. "type": "string"
  22417. },
  22418. "tradestatus": {
  22419. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22420. "type": "integer"
  22421. },
  22422. "userid": {
  22423. "description": "用户id",
  22424. "type": "integer"
  22425. }
  22426. }
  22427. },
  22428. "models.ErmcpTaAccountEx": {
  22429. "type": "object",
  22430. "properties": {
  22431. "mainAcc": {
  22432. "description": "主账号",
  22433. "type": "object",
  22434. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22435. },
  22436. "subacclist": {
  22437. "description": "子账号列表",
  22438. "type": "array",
  22439. "items": {
  22440. "$ref": "#/definitions/models.ErmcpTaAccount"
  22441. }
  22442. }
  22443. }
  22444. },
  22445. "models.ErmcpTaAccountInfo": {
  22446. "type": "object",
  22447. "properties": {
  22448. "accountid": {
  22449. "description": "资金账户ID",
  22450. "type": "integer"
  22451. },
  22452. "accountname": {
  22453. "description": "账户名称",
  22454. "type": "string"
  22455. },
  22456. "balance": {
  22457. "description": "期初余额",
  22458. "type": "number"
  22459. },
  22460. "capitalbalance": {
  22461. "description": "本金余额[外部子账户实际出入金余额]",
  22462. "type": "number"
  22463. },
  22464. "closepl": {
  22465. "description": "今日平仓盈亏",
  22466. "type": "number"
  22467. },
  22468. "creditdecrease": {
  22469. "description": "今日授信减少",
  22470. "type": "number"
  22471. },
  22472. "creditincrease": {
  22473. "description": "今日授信增加",
  22474. "type": "number"
  22475. },
  22476. "curdebt": {
  22477. "description": "期末欠款",
  22478. "type": "number"
  22479. },
  22480. "currencyid": {
  22481. "description": "货币ID",
  22482. "type": "integer"
  22483. },
  22484. "currentbalance": {
  22485. "description": "期末余额",
  22486. "type": "number"
  22487. },
  22488. "freezecharge": {
  22489. "description": "手续费冻结",
  22490. "type": "number"
  22491. },
  22492. "freezemargin": {
  22493. "description": "冻结保证金",
  22494. "type": "number"
  22495. },
  22496. "fromaccountid": {
  22497. "description": "所属上级账户",
  22498. "type": "integer"
  22499. },
  22500. "inamount": {
  22501. "description": "今日入金金额(包括三方入金)",
  22502. "type": "number"
  22503. },
  22504. "ismain": {
  22505. "description": "是否母账号 0:不是母账户 1:是母账户",
  22506. "type": "integer"
  22507. },
  22508. "mortgagecredit": {
  22509. "description": "授信金额",
  22510. "type": "number"
  22511. },
  22512. "oridebt": {
  22513. "description": "期初欠款",
  22514. "type": "number"
  22515. },
  22516. "orifreezecharge": {
  22517. "description": "期初手续费冻结",
  22518. "type": "number"
  22519. },
  22520. "orifreezemargin": {
  22521. "description": "期初冻结保证金",
  22522. "type": "number"
  22523. },
  22524. "orimortgagecredit": {
  22525. "description": "期初授信金额",
  22526. "type": "number"
  22527. },
  22528. "oriothercredit": {
  22529. "description": "期初其它授信金额",
  22530. "type": "number"
  22531. },
  22532. "oriotherfreezemargin": {
  22533. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22534. "type": "number"
  22535. },
  22536. "orioutamountfreeze": {
  22537. "description": "期初出金冻结",
  22538. "type": "number"
  22539. },
  22540. "oriusedmargin": {
  22541. "description": "期初占用保证金",
  22542. "type": "number"
  22543. },
  22544. "othercredit": {
  22545. "description": "其它授信金额",
  22546. "type": "number"
  22547. },
  22548. "othercreditdecrease": {
  22549. "description": "今日其它授信减少",
  22550. "type": "number"
  22551. },
  22552. "othercreditincrease": {
  22553. "description": "今日其它授信增加",
  22554. "type": "number"
  22555. },
  22556. "otherfreezemargin": {
  22557. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22558. "type": "number"
  22559. },
  22560. "outamount": {
  22561. "description": "今日出金金额(包括三方出金)",
  22562. "type": "number"
  22563. },
  22564. "outamountfreeze": {
  22565. "description": "出金冻结",
  22566. "type": "number"
  22567. },
  22568. "outthreshold": {
  22569. "description": "出金阈值",
  22570. "type": "number"
  22571. },
  22572. "parentaccountid": {
  22573. "description": "所属根账号",
  22574. "type": "integer"
  22575. },
  22576. "paycharge": {
  22577. "description": "今日手续费支出",
  22578. "type": "number"
  22579. },
  22580. "relateduserid": {
  22581. "description": "关联用户",
  22582. "type": "integer"
  22583. },
  22584. "signstatus": {
  22585. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22586. "type": "integer"
  22587. },
  22588. "sublevelpath": {
  22589. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22590. "type": "string"
  22591. },
  22592. "taaccounttype": {
  22593. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22594. "type": "integer"
  22595. },
  22596. "thirdinamount": {
  22597. "description": "今日三方入金",
  22598. "type": "number"
  22599. },
  22600. "thirdoutamount": {
  22601. "description": "今日三方出金",
  22602. "type": "number"
  22603. },
  22604. "tradestatus": {
  22605. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22606. "type": "integer"
  22607. },
  22608. "transferamount": {
  22609. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22610. "type": "number"
  22611. },
  22612. "usedmargin": {
  22613. "description": "占用保证金",
  22614. "type": "number"
  22615. },
  22616. "userid": {
  22617. "description": "用户ID",
  22618. "type": "integer"
  22619. }
  22620. }
  22621. },
  22622. "models.ErmcpTaAccountM": {
  22623. "type": "object",
  22624. "properties": {
  22625. "accountid": {
  22626. "description": "账户id",
  22627. "type": "integer"
  22628. },
  22629. "accountname": {
  22630. "description": "账户名称",
  22631. "type": "string"
  22632. },
  22633. "currencyid": {
  22634. "description": "币种id",
  22635. "type": "integer"
  22636. },
  22637. "fcid": {
  22638. "description": "期货公司id",
  22639. "type": "integer"
  22640. },
  22641. "fcname": {
  22642. "description": "期货公司代码",
  22643. "type": "string"
  22644. },
  22645. "hedgeaccountcode": {
  22646. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22647. "type": "string"
  22648. },
  22649. "ismain": {
  22650. "description": "是否主账户 0-否 1-是",
  22651. "type": "integer"
  22652. },
  22653. "parentaccountid": {
  22654. "description": "父账户id",
  22655. "type": "integer"
  22656. },
  22657. "relateduserid": {
  22658. "description": "关联userid",
  22659. "type": "integer"
  22660. },
  22661. "tradefeetmpid": {
  22662. "description": "手续费模板id",
  22663. "type": "integer"
  22664. },
  22665. "tradefeetmpname": {
  22666. "description": "手续费模板名称",
  22667. "type": "string"
  22668. },
  22669. "trademargintmpid": {
  22670. "description": "保证金模板id",
  22671. "type": "integer"
  22672. },
  22673. "trademargintmpname": {
  22674. "description": "保证金模板名称",
  22675. "type": "string"
  22676. },
  22677. "traderatetmpid": {
  22678. "description": "汇率模板id",
  22679. "type": "integer"
  22680. },
  22681. "traderatetmpname": {
  22682. "description": "汇率模板名称",
  22683. "type": "string"
  22684. },
  22685. "tradestatus": {
  22686. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22687. "type": "integer"
  22688. },
  22689. "userid": {
  22690. "description": "用户id",
  22691. "type": "integer"
  22692. }
  22693. }
  22694. },
  22695. "models.ErmcpTradeConfigTMP": {
  22696. "type": "object",
  22697. "properties": {
  22698. "areauserid": {
  22699. "description": "所属机构",
  22700. "type": "integer"
  22701. },
  22702. "basiccurrencyid": {
  22703. "description": "基本币种ID[汇率] - 目标币种",
  22704. "type": "integer"
  22705. },
  22706. "mainaccountid": {
  22707. "description": "主账户ID",
  22708. "type": "integer"
  22709. },
  22710. "modifierid": {
  22711. "description": "修改人",
  22712. "type": "integer"
  22713. },
  22714. "remark": {
  22715. "description": "备注",
  22716. "type": "string"
  22717. },
  22718. "tradeconfigtmpid": {
  22719. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22720. "type": "integer"
  22721. },
  22722. "tradeconfigtmpname": {
  22723. "description": "交易配置模板名称",
  22724. "type": "string"
  22725. },
  22726. "tradeconfigtmptype": {
  22727. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22728. "type": "integer"
  22729. },
  22730. "updatetime": {
  22731. "description": "更新时间",
  22732. "type": "string"
  22733. }
  22734. }
  22735. },
  22736. "models.ErmcpUserModel": {
  22737. "type": "object",
  22738. "properties": {
  22739. "address": {
  22740. "description": "通讯地址",
  22741. "type": "string"
  22742. },
  22743. "attachment1": {
  22744. "description": "附件1",
  22745. "type": "string"
  22746. },
  22747. "audittime": {
  22748. "description": "审核时间",
  22749. "type": "string"
  22750. },
  22751. "cardbackphotourl": {
  22752. "description": "证件反面图片地址",
  22753. "type": "string"
  22754. },
  22755. "cardfrontphotourl": {
  22756. "description": "证件正面图片地址",
  22757. "type": "string"
  22758. },
  22759. "cardnum": {
  22760. "description": "证件号码",
  22761. "type": "string"
  22762. },
  22763. "cardtype": {
  22764. "description": "证件类型",
  22765. "type": "integer"
  22766. },
  22767. "cardtypename": {
  22768. "description": "证件类型名称",
  22769. "type": "string"
  22770. },
  22771. "cityid": {
  22772. "description": "市",
  22773. "type": "integer"
  22774. },
  22775. "contactname": {
  22776. "description": "联系人",
  22777. "type": "string"
  22778. },
  22779. "countryid": {
  22780. "description": "国家",
  22781. "type": "integer"
  22782. },
  22783. "createtime": {
  22784. "description": "创建时间",
  22785. "type": "string"
  22786. },
  22787. "customername": {
  22788. "description": "企业名称",
  22789. "type": "string"
  22790. },
  22791. "districtid": {
  22792. "description": "区域",
  22793. "type": "integer"
  22794. },
  22795. "email": {
  22796. "description": "邮件",
  22797. "type": "string"
  22798. },
  22799. "legalpersonname": {
  22800. "description": "法人姓名(企业)",
  22801. "type": "string"
  22802. },
  22803. "memberuserid": {
  22804. "description": "所属机构ID",
  22805. "type": "integer"
  22806. },
  22807. "mobile": {
  22808. "description": "手机号码",
  22809. "type": "string"
  22810. },
  22811. "modifytime": {
  22812. "description": "修改时间",
  22813. "type": "string"
  22814. },
  22815. "nickname": {
  22816. "description": "昵称",
  22817. "type": "string"
  22818. },
  22819. "provinceid": {
  22820. "description": "省",
  22821. "type": "integer"
  22822. },
  22823. "remark": {
  22824. "description": "备注",
  22825. "type": "string"
  22826. },
  22827. "status": {
  22828. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22829. "type": "integer"
  22830. },
  22831. "statusdesc": {
  22832. "description": "账户状态中文描述",
  22833. "type": "string"
  22834. },
  22835. "taxpayernum": {
  22836. "description": "纳税人识别号",
  22837. "type": "string"
  22838. },
  22839. "telphone": {
  22840. "description": "联系电话",
  22841. "type": "string"
  22842. },
  22843. "userid": {
  22844. "description": "用户ID",
  22845. "type": "integer"
  22846. },
  22847. "userinfotype": {
  22848. "description": "客户类型",
  22849. "type": "string"
  22850. }
  22851. }
  22852. },
  22853. "models.ErmcpWareHouseInfo": {
  22854. "type": "object",
  22855. "properties": {
  22856. "address": {
  22857. "description": "详细地址",
  22858. "type": "string"
  22859. },
  22860. "areauserid": {
  22861. "description": "所属机构",
  22862. "type": "integer"
  22863. },
  22864. "autoid": {
  22865. "description": "自增ID(仓库ID)",
  22866. "type": "integer"
  22867. },
  22868. "cityid": {
  22869. "description": "市",
  22870. "type": "integer"
  22871. },
  22872. "contactname": {
  22873. "description": "联系人",
  22874. "type": "string"
  22875. },
  22876. "contactnum": {
  22877. "description": "联系电话",
  22878. "type": "string"
  22879. },
  22880. "countryid": {
  22881. "description": "国家",
  22882. "type": "integer"
  22883. },
  22884. "createtime": {
  22885. "description": "创建时间",
  22886. "type": "string"
  22887. },
  22888. "districtid": {
  22889. "description": "区",
  22890. "type": "integer"
  22891. },
  22892. "hasvideo": {
  22893. "description": "是否有视频 - 0:无 1:有",
  22894. "type": "integer"
  22895. },
  22896. "provinceid": {
  22897. "description": "省",
  22898. "type": "integer"
  22899. },
  22900. "remark": {
  22901. "description": "审核备注",
  22902. "type": "string"
  22903. },
  22904. "videourl": {
  22905. "description": "视频地址",
  22906. "type": "string"
  22907. },
  22908. "warehousecode": {
  22909. "description": "仓库代码",
  22910. "type": "string"
  22911. },
  22912. "warehousename": {
  22913. "description": "仓库名称",
  22914. "type": "string"
  22915. },
  22916. "warehousestatus": {
  22917. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22918. "type": "integer"
  22919. },
  22920. "warehousetype": {
  22921. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22922. "type": "integer"
  22923. }
  22924. }
  22925. },
  22926. "models.Externalexchange": {
  22927. "type": "object",
  22928. "required": [
  22929. "autoid"
  22930. ],
  22931. "properties": {
  22932. "autoid": {
  22933. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22934. "type": "integer"
  22935. },
  22936. "exchangefullname": {
  22937. "description": "外部交易所全称",
  22938. "type": "string"
  22939. },
  22940. "exexchangecode": {
  22941. "description": "外部交易所代码",
  22942. "type": "string"
  22943. },
  22944. "exexchangename": {
  22945. "description": "外部交易所名称(简称)",
  22946. "type": "string"
  22947. },
  22948. "ismarketprice": {
  22949. "description": "是否支持市价 - 0:不支持 1:支持",
  22950. "type": "integer"
  22951. },
  22952. "quotegear": {
  22953. "description": "行情档位(1-10)",
  22954. "type": "integer"
  22955. },
  22956. "showbrokerflag": {
  22957. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22958. "type": "integer"
  22959. },
  22960. "updatetime": {
  22961. "description": "更新时间",
  22962. "type": "string"
  22963. }
  22964. }
  22965. },
  22966. "models.Funcmenulist": {
  22967. "type": "object",
  22968. "required": [
  22969. "resourcecode"
  22970. ],
  22971. "properties": {
  22972. "iconame": {
  22973. "description": "菜单图标",
  22974. "type": "string"
  22975. },
  22976. "menutype": {
  22977. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22978. "type": "integer"
  22979. },
  22980. "parentcode": {
  22981. "description": "上级资源代码",
  22982. "type": "string"
  22983. },
  22984. "remark": {
  22985. "description": "备注",
  22986. "type": "string"
  22987. },
  22988. "resourcecode": {
  22989. "description": "资源代码",
  22990. "type": "string"
  22991. },
  22992. "resourcelevel": {
  22993. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22994. "type": "integer"
  22995. },
  22996. "resourcename": {
  22997. "description": "资源名",
  22998. "type": "string"
  22999. },
  23000. "sort": {
  23001. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  23002. "type": "integer"
  23003. },
  23004. "url": {
  23005. "description": "URL",
  23006. "type": "string"
  23007. }
  23008. }
  23009. },
  23010. "models.Goods": {
  23011. "type": "object",
  23012. "required": [
  23013. "goodscode",
  23014. "goodsid",
  23015. "goodsname",
  23016. "marketid"
  23017. ],
  23018. "properties": {
  23019. "agreeunit": {
  23020. "description": "合约单位",
  23021. "type": "number"
  23022. },
  23023. "areauserid": {
  23024. "description": "所属机构",
  23025. "type": "integer"
  23026. },
  23027. "auditaccountid": {
  23028. "description": "审核操作员账号",
  23029. "type": "integer"
  23030. },
  23031. "audittime": {
  23032. "description": "审核时间",
  23033. "type": "string"
  23034. },
  23035. "cancelaccountid": {
  23036. "description": "注销操作员账号",
  23037. "type": "integer"
  23038. },
  23039. "canceltime": {
  23040. "description": "注销时间",
  23041. "type": "string"
  23042. },
  23043. "closepricemode": {
  23044. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23045. "type": "integer"
  23046. },
  23047. "closepriceparam": {
  23048. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23049. "type": "number"
  23050. },
  23051. "createtime": {
  23052. "description": "创建时间",
  23053. "type": "string"
  23054. },
  23055. "creatorid": {
  23056. "description": "创建人",
  23057. "type": "integer"
  23058. },
  23059. "currencyid": {
  23060. "description": "报价货币ID",
  23061. "type": "integer"
  23062. },
  23063. "cutmode": {
  23064. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23065. "type": "integer"
  23066. },
  23067. "decimalplace": {
  23068. "description": "报价小数位",
  23069. "type": "integer"
  23070. },
  23071. "delistingdate": {
  23072. "description": "商品退市时间(状态:退市) -- 已作废",
  23073. "type": "string"
  23074. },
  23075. "delistingmode": {
  23076. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23077. "type": "integer"
  23078. },
  23079. "deliveryflag": {
  23080. "description": "交割标志 - 0:不可交割 1:可交割",
  23081. "type": "integer"
  23082. },
  23083. "forceclosemode": {
  23084. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23085. "type": "integer"
  23086. },
  23087. "forceclosevalue": {
  23088. "description": "定期强平参数 [收益权]",
  23089. "type": "integer"
  23090. },
  23091. "goodscode": {
  23092. "description": "商品代码(内部)",
  23093. "type": "string"
  23094. },
  23095. "goodscurrencyid": {
  23096. "description": "合约货币ID",
  23097. "type": "integer"
  23098. },
  23099. "goodsgroupid": {
  23100. "description": "所属商品组ID",
  23101. "type": "integer"
  23102. },
  23103. "goodsid": {
  23104. "description": "商品ID(自增ID SEQ_GOODS)",
  23105. "type": "integer"
  23106. },
  23107. "goodsname": {
  23108. "description": "商品名称",
  23109. "type": "string"
  23110. },
  23111. "goodsquotetype": {
  23112. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23113. "type": "integer"
  23114. },
  23115. "goodsstatus": {
  23116. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23117. "type": "integer"
  23118. },
  23119. "goodstradetype": {
  23120. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23121. "type": "integer"
  23122. },
  23123. "goodunitid": {
  23124. "description": "报价单位ID",
  23125. "type": "integer"
  23126. },
  23127. "hasquoter": {
  23128. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23129. "type": "integer"
  23130. },
  23131. "hqprotecttime": {
  23132. "description": "行情保护时间(秒)",
  23133. "type": "integer"
  23134. },
  23135. "innerdealmode": {
  23136. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23137. "type": "integer"
  23138. },
  23139. "isbuylimited": {
  23140. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23141. "type": "integer"
  23142. },
  23143. "isvisible": {
  23144. "description": "游客是否可见 - 0:不可见 1:可见",
  23145. "type": "integer"
  23146. },
  23147. "lasttradedate": {
  23148. "description": "最后交易日期(状态:待退市)",
  23149. "type": "string"
  23150. },
  23151. "listingdate": {
  23152. "description": "交易开始日期",
  23153. "type": "string"
  23154. },
  23155. "marketid": {
  23156. "description": "所属市场ID",
  23157. "type": "integer"
  23158. },
  23159. "modifierid": {
  23160. "description": "修改人",
  23161. "type": "integer"
  23162. },
  23163. "modifystatus": {
  23164. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23165. "type": "integer"
  23166. },
  23167. "modifytime": {
  23168. "description": "修改时间",
  23169. "type": "string"
  23170. },
  23171. "outerdealmode": {
  23172. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23173. "type": "integer"
  23174. },
  23175. "outgoodscode": {
  23176. "description": "商品代码(外部)",
  23177. "type": "string"
  23178. },
  23179. "pictureurl": {
  23180. "description": "商品图片",
  23181. "type": "string"
  23182. },
  23183. "qtydecimalplace": {
  23184. "description": "成交量小数位",
  23185. "type": "integer"
  23186. },
  23187. "quotegear": {
  23188. "description": "行情档位(1-10)",
  23189. "type": "integer"
  23190. },
  23191. "quoteminunit": {
  23192. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23193. "type": "integer"
  23194. },
  23195. "quoteshowtype": {
  23196. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23197. "type": "integer"
  23198. },
  23199. "quoteshowtypeinterval": {
  23200. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23201. "type": "integer"
  23202. },
  23203. "remark": {
  23204. "description": "备注",
  23205. "type": "string"
  23206. }
  23207. }
  23208. },
  23209. "models.GoodsIDAndName": {
  23210. "type": "object",
  23211. "required": [
  23212. "goodscode",
  23213. "goodsid",
  23214. "goodsname",
  23215. "marketid"
  23216. ],
  23217. "properties": {
  23218. "goodscode": {
  23219. "description": "商品代码(内部)",
  23220. "type": "string"
  23221. },
  23222. "goodsid": {
  23223. "description": "商品ID(自增ID SEQ_GOODS)",
  23224. "type": "integer"
  23225. },
  23226. "goodsname": {
  23227. "description": "商品名称",
  23228. "type": "string"
  23229. },
  23230. "marketid": {
  23231. "description": "所属市场ID",
  23232. "type": "integer"
  23233. }
  23234. }
  23235. },
  23236. "models.Goodsgroup": {
  23237. "type": "object",
  23238. "required": [
  23239. "goodsgroupid",
  23240. "goodsgroupname",
  23241. "goodsgroupstatus",
  23242. "marketid"
  23243. ],
  23244. "properties": {
  23245. "agreeunit": {
  23246. "description": "合约单位",
  23247. "type": "number"
  23248. },
  23249. "canshort": {
  23250. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23251. "type": "integer"
  23252. },
  23253. "closepricemode": {
  23254. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23255. "type": "integer"
  23256. },
  23257. "closepriceparam": {
  23258. "description": "强平最新价浮动比例 - 方式为2时使用",
  23259. "type": "number"
  23260. },
  23261. "createtime": {
  23262. "description": "创建时间",
  23263. "type": "string"
  23264. },
  23265. "creatorid": {
  23266. "description": "创建人",
  23267. "type": "integer"
  23268. },
  23269. "currencyid": {
  23270. "description": "报价货币ID",
  23271. "type": "integer"
  23272. },
  23273. "decimalplace": {
  23274. "description": "报价小数位",
  23275. "type": "integer"
  23276. },
  23277. "exercisetype": {
  23278. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  23279. "type": "integer"
  23280. },
  23281. "exexchangeid": {
  23282. "description": "外部交易所ID[通道交易]",
  23283. "type": "integer"
  23284. },
  23285. "goodsgroupid": {
  23286. "description": "商品组ID(自增ID)",
  23287. "type": "integer"
  23288. },
  23289. "goodsgroupname": {
  23290. "description": "商品组名称",
  23291. "type": "string"
  23292. },
  23293. "goodsgroupstatus": {
  23294. "description": "商品组状态 - 1:正常 2:注销",
  23295. "type": "integer"
  23296. },
  23297. "goodunitid": {
  23298. "description": "报价单位ID",
  23299. "type": "integer"
  23300. },
  23301. "innerdealmode": {
  23302. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23303. "type": "integer"
  23304. },
  23305. "isbuylimited": {
  23306. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23307. "type": "integer"
  23308. },
  23309. "marketid": {
  23310. "description": "所属市场ID",
  23311. "type": "integer"
  23312. },
  23313. "modifierid": {
  23314. "description": "修改人",
  23315. "type": "integer"
  23316. },
  23317. "modifytime": {
  23318. "description": "修改时间",
  23319. "type": "string"
  23320. },
  23321. "outerdealmode": {
  23322. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23323. "type": "integer"
  23324. },
  23325. "outergroupcode": {
  23326. "description": "外部商品组代码[通道交易]",
  23327. "type": "string"
  23328. },
  23329. "premiumdecimalplace": {
  23330. "description": "权利金小数位[场外期权]",
  23331. "type": "integer"
  23332. },
  23333. "premiumspreadalgorithm": {
  23334. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  23335. "type": "integer"
  23336. },
  23337. "premiumspreadvalue": {
  23338. "description": "权利金点差值[场外期权]",
  23339. "type": "number"
  23340. },
  23341. "qtydecimalplace": {
  23342. "description": "成交量小数位",
  23343. "type": "integer"
  23344. },
  23345. "quotegear": {
  23346. "description": "行情档位(1-10)",
  23347. "type": "integer"
  23348. },
  23349. "quoteminunit": {
  23350. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23351. "type": "integer"
  23352. },
  23353. "quoterid": {
  23354. "description": "报价商ID[场外期权]",
  23355. "type": "integer"
  23356. },
  23357. "quotesourcegroupid": {
  23358. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23359. "type": "integer"
  23360. },
  23361. "syncgoodsqty": {
  23362. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23363. "type": "integer"
  23364. }
  23365. }
  23366. },
  23367. "models.Goodssortbypreposition": {
  23368. "type": "object",
  23369. "required": [
  23370. "goodscode",
  23371. "tradedate"
  23372. ],
  23373. "properties": {
  23374. "goodscode": {
  23375. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  23376. "type": "string"
  23377. },
  23378. "goodsgroupcode": {
  23379. "description": "品种代码",
  23380. "type": "string"
  23381. },
  23382. "prepositionqty": {
  23383. "description": "昨持仓量",
  23384. "type": "integer"
  23385. },
  23386. "sortindex": {
  23387. "description": "排序",
  23388. "type": "integer"
  23389. },
  23390. "tradedate": {
  23391. "description": "交易日",
  23392. "type": "string"
  23393. },
  23394. "updatetime": {
  23395. "description": "更新时间",
  23396. "type": "string"
  23397. }
  23398. }
  23399. },
  23400. "models.Hedgeinnerholderdetail": {
  23401. "type": "object",
  23402. "required": [
  23403. "buyorsell",
  23404. "tradeid"
  23405. ],
  23406. "properties": {
  23407. "accountid": {
  23408. "description": "账号ID",
  23409. "type": "integer"
  23410. },
  23411. "buyorsell": {
  23412. "description": "方向 - 0:买 1:卖",
  23413. "type": "integer"
  23414. },
  23415. "freezeqty": {
  23416. "description": "冻结数量 - 按单平使用",
  23417. "type": "integer"
  23418. },
  23419. "goodsid": {
  23420. "description": "商品ID",
  23421. "type": "integer"
  23422. },
  23423. "holderamount": {
  23424. "description": "持仓金额 [商品币种]",
  23425. "type": "number"
  23426. },
  23427. "holderdays": {
  23428. "description": "剩余冻结天数",
  23429. "type": "integer"
  23430. },
  23431. "holderprice": {
  23432. "description": "持仓价格",
  23433. "type": "number"
  23434. },
  23435. "holderqty": {
  23436. "description": "持仓数量",
  23437. "type": "integer"
  23438. },
  23439. "marketid": {
  23440. "description": "市场ID",
  23441. "type": "integer"
  23442. },
  23443. "openprice": {
  23444. "description": "建仓价格",
  23445. "type": "number"
  23446. },
  23447. "openqty": {
  23448. "description": "建仓数量",
  23449. "type": "integer"
  23450. },
  23451. "parentaccountid": {
  23452. "description": "所属母账户",
  23453. "type": "integer"
  23454. },
  23455. "releaseamount": {
  23456. "description": "释放持仓金额[商品币种]",
  23457. "type": "number"
  23458. },
  23459. "tradeamount": {
  23460. "description": "成交金额[账户]",
  23461. "type": "number"
  23462. },
  23463. "tradedate": {
  23464. "description": "交易日(yyyyMMdd)",
  23465. "type": "string"
  23466. },
  23467. "tradeid": {
  23468. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23469. "type": "string"
  23470. },
  23471. "tradetime": {
  23472. "description": "交易时间",
  23473. "type": "string"
  23474. }
  23475. }
  23476. },
  23477. "models.Hedgemarketopenlog": {
  23478. "type": "object",
  23479. "required": [
  23480. "accountid"
  23481. ],
  23482. "properties": {
  23483. "accountid": {
  23484. "description": "资金账号[外部母账户]",
  23485. "type": "integer"
  23486. },
  23487. "fcname": {
  23488. "description": "期货公司名称",
  23489. "type": "string"
  23490. },
  23491. "handlestatus": {
  23492. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23493. "type": "integer"
  23494. },
  23495. "marketid": {
  23496. "description": "市场ID",
  23497. "type": "integer"
  23498. },
  23499. "status": {
  23500. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23501. "type": "integer"
  23502. },
  23503. "tradedate": {
  23504. "description": "交易日(yyyyMMdd)",
  23505. "type": "string"
  23506. },
  23507. "updatetime": {
  23508. "description": "更新时间",
  23509. "type": "string"
  23510. }
  23511. }
  23512. },
  23513. "models.HsbyBuyMyPayOrder": {
  23514. "type": "object",
  23515. "required": [
  23516. "goodscode",
  23517. "goodsname",
  23518. "tradeid",
  23519. "trademode"
  23520. ],
  23521. "properties": {
  23522. "agreeunit": {
  23523. "description": "合约单位",
  23524. "type": "number"
  23525. },
  23526. "buyaccountid": {
  23527. "description": "买方账号ID[报价币种]",
  23528. "type": "integer"
  23529. },
  23530. "buyorderid": {
  23531. "description": "买方委托单号",
  23532. "type": "string"
  23533. },
  23534. "createtime": {
  23535. "description": "创建时间",
  23536. "type": "string"
  23537. },
  23538. "currencysign": {
  23539. "description": "货币符号",
  23540. "type": "string"
  23541. },
  23542. "decimalplace": {
  23543. "description": "报价小数位",
  23544. "type": "integer"
  23545. },
  23546. "goodscode": {
  23547. "description": "商品代码(内部)",
  23548. "type": "string"
  23549. },
  23550. "goodsid": {
  23551. "description": "商品ID",
  23552. "type": "integer"
  23553. },
  23554. "goodsname": {
  23555. "description": "商品名称",
  23556. "type": "string"
  23557. },
  23558. "marketid": {
  23559. "description": "市场ID",
  23560. "type": "integer"
  23561. },
  23562. "offamount": {
  23563. "description": "优惠金额",
  23564. "type": "number"
  23565. },
  23566. "originalamount": {
  23567. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23568. "type": "number"
  23569. },
  23570. "payamount": {
  23571. "description": "支付金额 = TradeAmount + TradeCharge",
  23572. "type": "number"
  23573. },
  23574. "payflag": {
  23575. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23576. "type": "integer"
  23577. },
  23578. "paylimitedtime": {
  23579. "description": "支付期限",
  23580. "type": "string"
  23581. },
  23582. "paytime": {
  23583. "description": "付款时间",
  23584. "type": "string"
  23585. },
  23586. "picurls1": {
  23587. "description": "预售商品介绍图片[多张用逗号分隔]",
  23588. "type": "string"
  23589. },
  23590. "picurls2": {
  23591. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23592. "type": "string"
  23593. },
  23594. "sellaccountid": {
  23595. "description": "卖方账号ID[报价币种]",
  23596. "type": "integer"
  23597. },
  23598. "sellorderid": {
  23599. "description": "卖方委托单号",
  23600. "type": "string"
  23601. },
  23602. "tradeamount": {
  23603. "description": "成交金额",
  23604. "type": "number"
  23605. },
  23606. "tradecharge": {
  23607. "description": "成交手续费(买方)",
  23608. "type": "number"
  23609. },
  23610. "tradedate": {
  23611. "description": "交易日(yyyyMMdd)",
  23612. "type": "string"
  23613. },
  23614. "tradeid": {
  23615. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23616. "type": "string"
  23617. },
  23618. "trademode": {
  23619. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23620. "type": "integer"
  23621. },
  23622. "tradeprice": {
  23623. "description": "成交价格",
  23624. "type": "number"
  23625. },
  23626. "tradeqty": {
  23627. "description": "成交数量",
  23628. "type": "integer"
  23629. },
  23630. "vendorname1": {
  23631. "description": "预售商品供应商名称",
  23632. "type": "string"
  23633. },
  23634. "vendorname2": {
  23635. "description": "挂牌商品供应商名称",
  23636. "type": "string"
  23637. }
  23638. }
  23639. },
  23640. "models.HsbyBuyMyTradeDetail": {
  23641. "type": "object",
  23642. "required": [
  23643. "accountid",
  23644. "buyorsell",
  23645. "goodscode",
  23646. "goodsid",
  23647. "goodsname",
  23648. "marketid",
  23649. "orderid",
  23650. "qty",
  23651. "time",
  23652. "trademode"
  23653. ],
  23654. "properties": {
  23655. "accountid": {
  23656. "description": "账户ID[报价币种]",
  23657. "type": "integer"
  23658. },
  23659. "agreeunit": {
  23660. "description": "合约单位",
  23661. "type": "number"
  23662. },
  23663. "amount": {
  23664. "description": "金额 = 价格 * 数量 * 合约单位",
  23665. "type": "number"
  23666. },
  23667. "buyorsell": {
  23668. "description": "买卖 - 0:买 1:卖",
  23669. "type": "integer"
  23670. },
  23671. "currencysign": {
  23672. "description": "货币符号",
  23673. "type": "string"
  23674. },
  23675. "decimalplace": {
  23676. "description": "报价小数位",
  23677. "type": "integer"
  23678. },
  23679. "goodscode": {
  23680. "description": "商品代码(内部)",
  23681. "type": "string"
  23682. },
  23683. "goodsid": {
  23684. "description": "商品ID",
  23685. "type": "integer"
  23686. },
  23687. "goodsname": {
  23688. "description": "商品名称",
  23689. "type": "string"
  23690. },
  23691. "marketid": {
  23692. "description": "市场ID",
  23693. "type": "integer"
  23694. },
  23695. "orderamount": {
  23696. "description": "委托金额",
  23697. "type": "number"
  23698. },
  23699. "orderid": {
  23700. "description": "单号(成交单号)",
  23701. "type": "string"
  23702. },
  23703. "picurls1": {
  23704. "description": "预售商品介绍图片[多张用逗号分隔]",
  23705. "type": "string"
  23706. },
  23707. "picurls2": {
  23708. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23709. "type": "string"
  23710. },
  23711. "price": {
  23712. "description": "价格",
  23713. "type": "number"
  23714. },
  23715. "qty": {
  23716. "description": "数量",
  23717. "type": "integer"
  23718. },
  23719. "time": {
  23720. "description": "时间",
  23721. "type": "string"
  23722. },
  23723. "trademode": {
  23724. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23725. "type": "integer"
  23726. },
  23727. "vendorname1": {
  23728. "description": "预售商品供应商名称",
  23729. "type": "string"
  23730. },
  23731. "vendorname2": {
  23732. "description": "挂牌商品供应商名称",
  23733. "type": "string"
  23734. }
  23735. }
  23736. },
  23737. "models.HsbyGoodsOrderDetail": {
  23738. "type": "object",
  23739. "required": [
  23740. "buyorsell",
  23741. "orderid",
  23742. "ordertime"
  23743. ],
  23744. "properties": {
  23745. "buyorsell": {
  23746. "description": "买卖 - 0:买 1:卖",
  23747. "type": "integer"
  23748. },
  23749. "currencysign": {
  23750. "description": "货币符号",
  23751. "type": "string"
  23752. },
  23753. "customername": {
  23754. "description": "客户名称(企业名称),已脱敏",
  23755. "type": "string"
  23756. },
  23757. "enableqty": {
  23758. "description": "可用数量",
  23759. "type": "integer"
  23760. },
  23761. "goodunit": {
  23762. "description": "报价单位",
  23763. "type": "string"
  23764. },
  23765. "orderid": {
  23766. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23767. "type": "string"
  23768. },
  23769. "orderprice": {
  23770. "description": "委托价格",
  23771. "type": "number"
  23772. },
  23773. "ordertime": {
  23774. "description": "委托时间",
  23775. "type": "string"
  23776. }
  23777. }
  23778. },
  23779. "models.HsbyListingGoodsDetail": {
  23780. "type": "object",
  23781. "required": [
  23782. "goodscode",
  23783. "goodsid",
  23784. "goodsname",
  23785. "marketid",
  23786. "trademode"
  23787. ],
  23788. "properties": {
  23789. "agreeunit": {
  23790. "description": "合约单位",
  23791. "type": "number"
  23792. },
  23793. "buymaxqty": {
  23794. "description": "购买上限 [71] - 0为不限",
  23795. "type": "integer"
  23796. },
  23797. "currency": {
  23798. "description": "货币",
  23799. "type": "string"
  23800. },
  23801. "currencysign": {
  23802. "description": "货币符号",
  23803. "type": "string"
  23804. },
  23805. "decimalplace": {
  23806. "description": "报价小数位",
  23807. "type": "integer"
  23808. },
  23809. "desccityid": {
  23810. "description": "目的地(市)ID",
  23811. "type": "integer"
  23812. },
  23813. "descprovinceid": {
  23814. "description": "目的地(省)ID",
  23815. "type": "integer"
  23816. },
  23817. "goodscode": {
  23818. "description": "商品代码(内部)",
  23819. "type": "string"
  23820. },
  23821. "goodsdesc": {
  23822. "description": "商品详情",
  23823. "type": "string"
  23824. },
  23825. "goodsid": {
  23826. "description": "商品ID(自增ID SEQ_GOODS)",
  23827. "type": "integer"
  23828. },
  23829. "goodsname": {
  23830. "description": "商品名称",
  23831. "type": "string"
  23832. },
  23833. "goodsprice": {
  23834. "description": "商品价格",
  23835. "type": "number"
  23836. },
  23837. "hotindex": {
  23838. "description": "景点热度",
  23839. "type": "integer"
  23840. },
  23841. "last": {
  23842. "description": "现价",
  23843. "type": "number"
  23844. },
  23845. "limitdown": {
  23846. "description": "跌停价",
  23847. "type": "number"
  23848. },
  23849. "limitup": {
  23850. "description": "涨停价",
  23851. "type": "number"
  23852. },
  23853. "lotsize": {
  23854. "description": "手数最小变动单位",
  23855. "type": "integer"
  23856. },
  23857. "marketid": {
  23858. "description": "所属市场ID",
  23859. "type": "integer"
  23860. },
  23861. "picurls": {
  23862. "description": "介绍图片[多张用逗号分隔]",
  23863. "type": "string"
  23864. },
  23865. "quoteminunit": {
  23866. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23867. "type": "integer"
  23868. },
  23869. "stepvalue": {
  23870. "description": "价格最小变动单位",
  23871. "type": "number"
  23872. },
  23873. "trademode": {
  23874. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23875. "type": "integer"
  23876. },
  23877. "vendorattr": {
  23878. "description": "供应商附件(多张,逗号分隔)",
  23879. "type": "string"
  23880. },
  23881. "vendorname": {
  23882. "description": "供应商名称",
  23883. "type": "string"
  23884. },
  23885. "vendorphone": {
  23886. "description": "供应商客服电话",
  23887. "type": "string"
  23888. },
  23889. "videourls": {
  23890. "description": "介绍视频[多张用逗号分隔]",
  23891. "type": "string"
  23892. }
  23893. }
  23894. },
  23895. "models.HsbyMarketGoods": {
  23896. "type": "object",
  23897. "required": [
  23898. "accountid",
  23899. "buyorsell",
  23900. "goodscode",
  23901. "goodsid",
  23902. "goodsname",
  23903. "marketid",
  23904. "orderid",
  23905. "trademode"
  23906. ],
  23907. "properties": {
  23908. "accountid": {
  23909. "description": "账户ID[报价币种]",
  23910. "type": "integer"
  23911. },
  23912. "agreeunit": {
  23913. "description": "合约单位",
  23914. "type": "number"
  23915. },
  23916. "buyorsell": {
  23917. "description": "买卖 - 0:买 1:卖",
  23918. "type": "integer"
  23919. },
  23920. "categoryid": {
  23921. "description": "类别ID(WRCATEGORY)",
  23922. "type": "integer"
  23923. },
  23924. "currency": {
  23925. "description": "货币",
  23926. "type": "string"
  23927. },
  23928. "currencysign": {
  23929. "description": "货币符号",
  23930. "type": "string"
  23931. },
  23932. "customername": {
  23933. "description": "卖家名称",
  23934. "type": "string"
  23935. },
  23936. "decimalplace": {
  23937. "description": "报价小数位",
  23938. "type": "integer"
  23939. },
  23940. "goodscode": {
  23941. "description": "商品代码(内部)",
  23942. "type": "string"
  23943. },
  23944. "goodsid": {
  23945. "description": "商品ID",
  23946. "type": "integer"
  23947. },
  23948. "goodsname": {
  23949. "description": "商品名称",
  23950. "type": "string"
  23951. },
  23952. "goodsprice": {
  23953. "description": "商品价格",
  23954. "type": "number"
  23955. },
  23956. "hascoupon": {
  23957. "description": "是否可用优惠卷",
  23958. "type": "boolean"
  23959. },
  23960. "hotindex": {
  23961. "description": "景点热度",
  23962. "type": "integer"
  23963. },
  23964. "marketid": {
  23965. "description": "市场ID",
  23966. "type": "integer"
  23967. },
  23968. "orderid": {
  23969. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23970. "type": "string"
  23971. },
  23972. "orderprice": {
  23973. "description": "委托价格",
  23974. "type": "number"
  23975. },
  23976. "orderstatus": {
  23977. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23978. "type": "integer"
  23979. },
  23980. "picurls": {
  23981. "description": "介绍图片[多张用逗号分隔]",
  23982. "type": "string"
  23983. },
  23984. "quoteminunit": {
  23985. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23986. "type": "integer"
  23987. },
  23988. "sellUserID": {
  23989. "description": "卖方UserID",
  23990. "type": "integer"
  23991. },
  23992. "trademode": {
  23993. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23994. "type": "integer"
  23995. },
  23996. "videourls": {
  23997. "description": "介绍视频[多张用逗号分隔]",
  23998. "type": "string"
  23999. }
  24000. }
  24001. },
  24002. "models.HsbyMarketGoodsDetail": {
  24003. "type": "object",
  24004. "required": [
  24005. "accountid",
  24006. "buyorsell",
  24007. "goodscode",
  24008. "goodsid",
  24009. "goodsname",
  24010. "marketid",
  24011. "orderid",
  24012. "orderqty",
  24013. "trademode"
  24014. ],
  24015. "properties": {
  24016. "accountid": {
  24017. "description": "账户ID[报价币种]",
  24018. "type": "integer"
  24019. },
  24020. "agreeunit": {
  24021. "description": "合约单位",
  24022. "type": "number"
  24023. },
  24024. "buymaxqty": {
  24025. "description": "购买上限 [71] - 0为不限",
  24026. "type": "integer"
  24027. },
  24028. "buyorsell": {
  24029. "description": "买卖 - 0:买 1:卖",
  24030. "type": "integer"
  24031. },
  24032. "cancelqty": {
  24033. "description": "撤单数量",
  24034. "type": "integer"
  24035. },
  24036. "categoryid": {
  24037. "description": "类别ID(WRCATEGORY)",
  24038. "type": "integer"
  24039. },
  24040. "currency": {
  24041. "description": "货币",
  24042. "type": "string"
  24043. },
  24044. "currencysign": {
  24045. "description": "货币符号",
  24046. "type": "string"
  24047. },
  24048. "customername": {
  24049. "description": "卖家名称",
  24050. "type": "string"
  24051. },
  24052. "decimalplace": {
  24053. "description": "报价小数位",
  24054. "type": "integer"
  24055. },
  24056. "goodscode": {
  24057. "description": "商品代码(内部)",
  24058. "type": "string"
  24059. },
  24060. "goodsdesc": {
  24061. "description": "商品详情",
  24062. "type": "string"
  24063. },
  24064. "goodsid": {
  24065. "description": "商品ID",
  24066. "type": "integer"
  24067. },
  24068. "goodsname": {
  24069. "description": "商品名称",
  24070. "type": "string"
  24071. },
  24072. "goodsprice": {
  24073. "description": "商品价格",
  24074. "type": "number"
  24075. },
  24076. "hotindex": {
  24077. "description": "景点热度",
  24078. "type": "integer"
  24079. },
  24080. "lotsize": {
  24081. "description": "手数最小变动单位",
  24082. "type": "integer"
  24083. },
  24084. "marketid": {
  24085. "description": "市场ID",
  24086. "type": "integer"
  24087. },
  24088. "orderid": {
  24089. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24090. "type": "string"
  24091. },
  24092. "orderprice": {
  24093. "description": "委托价格",
  24094. "type": "number"
  24095. },
  24096. "orderqty": {
  24097. "description": "委托数量",
  24098. "type": "integer"
  24099. },
  24100. "orderstatus": {
  24101. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24102. "type": "integer"
  24103. },
  24104. "picurls": {
  24105. "description": "介绍图片[多张用逗号分隔]",
  24106. "type": "string"
  24107. },
  24108. "quoteminunit": {
  24109. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24110. "type": "integer"
  24111. },
  24112. "sellUserID": {
  24113. "description": "卖方UserID",
  24114. "type": "integer"
  24115. },
  24116. "trademode": {
  24117. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24118. "type": "integer"
  24119. },
  24120. "tradeqty": {
  24121. "description": "成交数量",
  24122. "type": "integer"
  24123. },
  24124. "vendorattr": {
  24125. "description": "供应商附件(多张,逗号分隔)",
  24126. "type": "string"
  24127. },
  24128. "vendorname": {
  24129. "description": "供应商名称",
  24130. "type": "string"
  24131. },
  24132. "vendorphone": {
  24133. "description": "供应商客服电话",
  24134. "type": "string"
  24135. },
  24136. "videourls": {
  24137. "description": "介绍视频[多张用逗号分隔]",
  24138. "type": "string"
  24139. }
  24140. }
  24141. },
  24142. "models.HsbyMarketInfo": {
  24143. "type": "object",
  24144. "required": [
  24145. "marketid",
  24146. "marketstatus",
  24147. "trademode"
  24148. ],
  24149. "properties": {
  24150. "marketid": {
  24151. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24152. "type": "integer"
  24153. },
  24154. "marketname": {
  24155. "description": "市场名称",
  24156. "type": "string"
  24157. },
  24158. "marketstatus": {
  24159. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24160. "type": "integer"
  24161. },
  24162. "trademode": {
  24163. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24164. "type": "integer"
  24165. }
  24166. }
  24167. },
  24168. "models.HsbyMyGoods": {
  24169. "type": "object",
  24170. "required": [
  24171. "accountid",
  24172. "goodscode",
  24173. "goodsid",
  24174. "goodsname",
  24175. "marketid",
  24176. "trademode"
  24177. ],
  24178. "properties": {
  24179. "accountid": {
  24180. "description": "账号Id",
  24181. "type": "integer"
  24182. },
  24183. "agreeunit": {
  24184. "description": "合约单位",
  24185. "type": "number"
  24186. },
  24187. "buyaverageprice": {
  24188. "description": "持仓均价",
  24189. "type": "number"
  24190. },
  24191. "buycurholderamount": {
  24192. "description": "买当前持仓总金额[商品币种]",
  24193. "type": "number"
  24194. },
  24195. "buycurpositionqty": {
  24196. "description": "买当前持仓总数量",
  24197. "type": "integer"
  24198. },
  24199. "buymaxqty": {
  24200. "description": "购买上限 [71] - 0为不限",
  24201. "type": "integer"
  24202. },
  24203. "currencysign": {
  24204. "description": "货币符号",
  24205. "type": "string"
  24206. },
  24207. "decimalplace": {
  24208. "description": "报价小数位",
  24209. "type": "integer"
  24210. },
  24211. "enableqty": {
  24212. "description": "可用数量",
  24213. "type": "integer"
  24214. },
  24215. "goodscode": {
  24216. "description": "商品代码(内部)",
  24217. "type": "string"
  24218. },
  24219. "goodsid": {
  24220. "description": "商品Id",
  24221. "type": "integer"
  24222. },
  24223. "goodsname": {
  24224. "description": "商品名称",
  24225. "type": "string"
  24226. },
  24227. "goodsprice": {
  24228. "description": "商品价格",
  24229. "type": "number"
  24230. },
  24231. "goodsstatus": {
  24232. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24233. "type": "integer"
  24234. },
  24235. "last": {
  24236. "description": "现价(仅使用于挂牌点选)",
  24237. "type": "number"
  24238. },
  24239. "limitdown": {
  24240. "description": "跌停价(仅使用于挂牌点选)",
  24241. "type": "number"
  24242. },
  24243. "limitup": {
  24244. "description": "涨停价(仅使用于挂牌点选)",
  24245. "type": "number"
  24246. },
  24247. "lotsize": {
  24248. "description": "手数最小变动单位",
  24249. "type": "integer"
  24250. },
  24251. "marketid": {
  24252. "description": "所属市场ID",
  24253. "type": "integer"
  24254. },
  24255. "picurls": {
  24256. "description": "介绍图片[多张用逗号分隔]",
  24257. "type": "string"
  24258. },
  24259. "quoteminunit": {
  24260. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24261. "type": "integer"
  24262. },
  24263. "stepvalue": {
  24264. "description": "价格最小变动单位",
  24265. "type": "number"
  24266. },
  24267. "trademode": {
  24268. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24269. "type": "integer"
  24270. }
  24271. }
  24272. },
  24273. "models.HsbyMyPackage": {
  24274. "type": "object",
  24275. "required": [
  24276. "goodscode",
  24277. "goodsname",
  24278. "takeorderid",
  24279. "trademode"
  24280. ],
  24281. "properties": {
  24282. "accountid": {
  24283. "description": "账户ID",
  24284. "type": "integer"
  24285. },
  24286. "address": {
  24287. "description": "提货人详细地址",
  24288. "type": "string"
  24289. },
  24290. "agreeunit": {
  24291. "description": "合约单位",
  24292. "type": "number"
  24293. },
  24294. "amount": {
  24295. "description": "提货金额",
  24296. "type": "number"
  24297. },
  24298. "auditer": {
  24299. "description": "审核人",
  24300. "type": "integer"
  24301. },
  24302. "audittime": {
  24303. "description": "审核时间",
  24304. "type": "string"
  24305. },
  24306. "averageprice": {
  24307. "description": "均价",
  24308. "type": "number"
  24309. },
  24310. "cardnum": {
  24311. "description": "提货人证件号码",
  24312. "type": "string"
  24313. },
  24314. "cardtypeid": {
  24315. "description": "提货人证件类型",
  24316. "type": "integer"
  24317. },
  24318. "checkremark": {
  24319. "description": "审核备注",
  24320. "type": "string"
  24321. },
  24322. "currencysign": {
  24323. "description": "货币符号",
  24324. "type": "string"
  24325. },
  24326. "decimalplace": {
  24327. "description": "报价小数位",
  24328. "type": "integer"
  24329. },
  24330. "goodscode": {
  24331. "description": "商品代码(内部)",
  24332. "type": "string"
  24333. },
  24334. "goodsid": {
  24335. "description": "商品ID",
  24336. "type": "integer"
  24337. },
  24338. "goodsname": {
  24339. "description": "商品名称",
  24340. "type": "string"
  24341. },
  24342. "handlestatus": {
  24343. "description": "处理状态",
  24344. "type": "integer"
  24345. },
  24346. "marketid": {
  24347. "description": "市场ID",
  24348. "type": "integer"
  24349. },
  24350. "phonenum": {
  24351. "description": "提货人联系方式",
  24352. "type": "string"
  24353. },
  24354. "picurls": {
  24355. "description": "介绍图片[多张用逗号分隔]",
  24356. "type": "string"
  24357. },
  24358. "qty": {
  24359. "description": "提货数量",
  24360. "type": "number"
  24361. },
  24362. "recivername": {
  24363. "description": "提货人姓名",
  24364. "type": "string"
  24365. },
  24366. "reqtime": {
  24367. "description": "更新时间",
  24368. "type": "string"
  24369. },
  24370. "takemode": {
  24371. "description": "提货方式 - 2:自提 3:配送",
  24372. "type": "integer"
  24373. },
  24374. "takeorderid": {
  24375. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24376. "type": "string"
  24377. },
  24378. "takeorderstatus": {
  24379. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24380. "type": "integer"
  24381. },
  24382. "takeremark": {
  24383. "description": "提货备注",
  24384. "type": "string"
  24385. },
  24386. "tradedate": {
  24387. "description": "交易日(yyyyMMdd)",
  24388. "type": "string"
  24389. },
  24390. "trademode": {
  24391. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24392. "type": "integer"
  24393. },
  24394. "userid": {
  24395. "description": "用户ID",
  24396. "type": "integer"
  24397. },
  24398. "vendorname": {
  24399. "description": "供应商名称",
  24400. "type": "string"
  24401. }
  24402. }
  24403. },
  24404. "models.HsbyPreGoods": {
  24405. "type": "object",
  24406. "required": [
  24407. "goodscode",
  24408. "goodsid",
  24409. "goodsname",
  24410. "marketid",
  24411. "trademode"
  24412. ],
  24413. "properties": {
  24414. "agreeunit": {
  24415. "description": "合约单位",
  24416. "type": "number"
  24417. },
  24418. "currency": {
  24419. "description": "货币",
  24420. "type": "string"
  24421. },
  24422. "currencysign": {
  24423. "description": "货币符号",
  24424. "type": "string"
  24425. },
  24426. "decimalplace": {
  24427. "description": "报价小数位",
  24428. "type": "integer"
  24429. },
  24430. "desccityid": {
  24431. "description": "目的地(市)",
  24432. "type": "integer"
  24433. },
  24434. "descprovinceid": {
  24435. "description": "目的地(省)",
  24436. "type": "integer"
  24437. },
  24438. "enableqty": {
  24439. "description": "剩余数量",
  24440. "type": "integer"
  24441. },
  24442. "goodscode": {
  24443. "description": "商品代码(内部)",
  24444. "type": "string"
  24445. },
  24446. "goodsid": {
  24447. "description": "商品ID(自增ID SEQ_GOODS)",
  24448. "type": "integer"
  24449. },
  24450. "goodsname": {
  24451. "description": "商品名称",
  24452. "type": "string"
  24453. },
  24454. "goodsstatus": {
  24455. "description": "商品状态- 2:未上市 3:上市",
  24456. "type": "integer"
  24457. },
  24458. "lasttradedate": {
  24459. "description": "最后交易日期(状态:待退市)",
  24460. "type": "string"
  24461. },
  24462. "listingdate": {
  24463. "description": "交易开始日期",
  24464. "type": "string"
  24465. },
  24466. "marketid": {
  24467. "description": "所属市场ID",
  24468. "type": "integer"
  24469. },
  24470. "picurls": {
  24471. "description": "介绍图片[多张用逗号分隔]",
  24472. "type": "string"
  24473. },
  24474. "presaledqty": {
  24475. "description": "已预售量(预售结束时更新)",
  24476. "type": "integer"
  24477. },
  24478. "presaleqty": {
  24479. "description": "预售数量",
  24480. "type": "integer"
  24481. },
  24482. "quoteminunit": {
  24483. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24484. "type": "integer"
  24485. },
  24486. "refprice": {
  24487. "description": "参考价格[一口价]",
  24488. "type": "number"
  24489. },
  24490. "relatedgoodsid": {
  24491. "description": "关联交易合约ID",
  24492. "type": "integer"
  24493. },
  24494. "trademode": {
  24495. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24496. "type": "integer"
  24497. },
  24498. "videourls": {
  24499. "description": "介绍视频[多张用逗号分隔]",
  24500. "type": "string"
  24501. }
  24502. }
  24503. },
  24504. "models.HsbyPreGoodsDetail": {
  24505. "type": "object",
  24506. "required": [
  24507. "goodscode",
  24508. "goodsid",
  24509. "goodsname",
  24510. "marketid",
  24511. "trademode"
  24512. ],
  24513. "properties": {
  24514. "agreeunit": {
  24515. "description": "合约单位",
  24516. "type": "number"
  24517. },
  24518. "buymaxqty": {
  24519. "description": "购买上限 [71] - 0为不限",
  24520. "type": "integer"
  24521. },
  24522. "currency": {
  24523. "description": "货币",
  24524. "type": "string"
  24525. },
  24526. "currencysign": {
  24527. "description": "货币符号",
  24528. "type": "string"
  24529. },
  24530. "customername": {
  24531. "description": "发行单位",
  24532. "type": "string"
  24533. },
  24534. "decimalplace": {
  24535. "description": "报价小数位",
  24536. "type": "integer"
  24537. },
  24538. "desccityid": {
  24539. "description": "目的地(市)ID",
  24540. "type": "integer"
  24541. },
  24542. "descprovinceid": {
  24543. "description": "目的地(省)ID",
  24544. "type": "integer"
  24545. },
  24546. "enableqty": {
  24547. "description": "剩余数量",
  24548. "type": "integer"
  24549. },
  24550. "goodscode": {
  24551. "description": "商品代码(内部)",
  24552. "type": "string"
  24553. },
  24554. "goodsdesc": {
  24555. "description": "商品详情",
  24556. "type": "string"
  24557. },
  24558. "goodsid": {
  24559. "description": "商品ID(自增ID SEQ_GOODS)",
  24560. "type": "integer"
  24561. },
  24562. "goodsname": {
  24563. "description": "商品名称",
  24564. "type": "string"
  24565. },
  24566. "goodsstatus": {
  24567. "description": "商品状态- 2:未上市 3:上市",
  24568. "type": "integer"
  24569. },
  24570. "goodunit": {
  24571. "description": "报价单位",
  24572. "type": "string"
  24573. },
  24574. "lasttradedate": {
  24575. "description": "最后交易日期(状态:待退市)",
  24576. "type": "string"
  24577. },
  24578. "listingdate": {
  24579. "description": "交易开始日期",
  24580. "type": "string"
  24581. },
  24582. "lotsize": {
  24583. "description": "手数最小变动单位",
  24584. "type": "integer"
  24585. },
  24586. "marketid": {
  24587. "description": "所属市场ID",
  24588. "type": "integer"
  24589. },
  24590. "picurls": {
  24591. "description": "介绍图片[多张用逗号分隔]",
  24592. "type": "string"
  24593. },
  24594. "presaledqty": {
  24595. "description": "已预售量(预售结束时更新)",
  24596. "type": "integer"
  24597. },
  24598. "presaleqty": {
  24599. "description": "预售数量",
  24600. "type": "integer"
  24601. },
  24602. "quoteminunit": {
  24603. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24604. "type": "integer"
  24605. },
  24606. "refprice": {
  24607. "description": "参考价格[一口价]",
  24608. "type": "number"
  24609. },
  24610. "relatedgoodsid": {
  24611. "description": "关联交易合约ID",
  24612. "type": "integer"
  24613. },
  24614. "stepvalue": {
  24615. "description": "价格最小变动单位",
  24616. "type": "number"
  24617. },
  24618. "trademode": {
  24619. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24620. "type": "integer"
  24621. },
  24622. "vendorattr": {
  24623. "description": "供应商附件(多张,逗号分隔)",
  24624. "type": "string"
  24625. },
  24626. "vendorname": {
  24627. "description": "供应商名称",
  24628. "type": "string"
  24629. },
  24630. "vendorphone": {
  24631. "description": "供应商客服电话",
  24632. "type": "string"
  24633. },
  24634. "videourls": {
  24635. "description": "介绍视频[多张用逗号分隔]",
  24636. "type": "string"
  24637. }
  24638. }
  24639. },
  24640. "models.HsbySellCollectionOrder": {
  24641. "type": "object",
  24642. "required": [
  24643. "goodscode",
  24644. "goodsname",
  24645. "tradeid",
  24646. "trademode"
  24647. ],
  24648. "properties": {
  24649. "agreeunit": {
  24650. "description": "合约单位",
  24651. "type": "number"
  24652. },
  24653. "buyaccountid": {
  24654. "description": "买方账号ID[报价币种]",
  24655. "type": "integer"
  24656. },
  24657. "buyorderid": {
  24658. "description": "买方委托单号",
  24659. "type": "string"
  24660. },
  24661. "createtime": {
  24662. "description": "创建时间",
  24663. "type": "string"
  24664. },
  24665. "currencysign": {
  24666. "description": "货币符号",
  24667. "type": "string"
  24668. },
  24669. "decimalplace": {
  24670. "description": "报价小数位",
  24671. "type": "integer"
  24672. },
  24673. "goodscode": {
  24674. "description": "商品代码(内部)",
  24675. "type": "string"
  24676. },
  24677. "goodsid": {
  24678. "description": "商品ID",
  24679. "type": "integer"
  24680. },
  24681. "goodsname": {
  24682. "description": "商品名称",
  24683. "type": "string"
  24684. },
  24685. "marketid": {
  24686. "description": "市场ID",
  24687. "type": "integer"
  24688. },
  24689. "offamount": {
  24690. "description": "优惠金额",
  24691. "type": "number"
  24692. },
  24693. "payamount": {
  24694. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24695. "type": "number"
  24696. },
  24697. "payflag": {
  24698. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24699. "type": "integer"
  24700. },
  24701. "paylimitedtime": {
  24702. "description": "支付期限",
  24703. "type": "string"
  24704. },
  24705. "paytime": {
  24706. "description": "付款时间",
  24707. "type": "string"
  24708. },
  24709. "picurls": {
  24710. "description": "商品介绍图片[多张用逗号分隔]",
  24711. "type": "string"
  24712. },
  24713. "sellaccountid": {
  24714. "description": "卖方账号ID[报价币种]",
  24715. "type": "integer"
  24716. },
  24717. "sellorderid": {
  24718. "description": "卖方委托单号",
  24719. "type": "string"
  24720. },
  24721. "tradeamount": {
  24722. "description": "成交金额",
  24723. "type": "number"
  24724. },
  24725. "tradecharge": {
  24726. "description": "成交手续费(买方)",
  24727. "type": "number"
  24728. },
  24729. "tradedate": {
  24730. "description": "交易日(yyyyMMdd)",
  24731. "type": "string"
  24732. },
  24733. "tradeid": {
  24734. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24735. "type": "string"
  24736. },
  24737. "trademode": {
  24738. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24739. "type": "integer"
  24740. },
  24741. "tradeprice": {
  24742. "description": "成交价格",
  24743. "type": "number"
  24744. },
  24745. "tradeqty": {
  24746. "description": "成交数量",
  24747. "type": "integer"
  24748. }
  24749. }
  24750. },
  24751. "models.HsbySellMyDetail": {
  24752. "type": "object",
  24753. "required": [
  24754. "accountid",
  24755. "buyorsell",
  24756. "goodscode",
  24757. "goodsid",
  24758. "goodsname",
  24759. "marketid",
  24760. "orderid",
  24761. "time",
  24762. "trademode"
  24763. ],
  24764. "properties": {
  24765. "accountid": {
  24766. "description": "账户ID[报价币种]",
  24767. "type": "integer"
  24768. },
  24769. "agreeunit": {
  24770. "description": "合约单位",
  24771. "type": "number"
  24772. },
  24773. "buyorsell": {
  24774. "description": "买卖 - 0:买 1:卖",
  24775. "type": "integer"
  24776. },
  24777. "currencysign": {
  24778. "description": "货币符号",
  24779. "type": "string"
  24780. },
  24781. "decimalplace": {
  24782. "description": "报价小数位",
  24783. "type": "integer"
  24784. },
  24785. "goodscode": {
  24786. "description": "商品代码(内部)",
  24787. "type": "string"
  24788. },
  24789. "goodsid": {
  24790. "description": "商品ID",
  24791. "type": "integer"
  24792. },
  24793. "goodsname": {
  24794. "description": "商品名称",
  24795. "type": "string"
  24796. },
  24797. "marketid": {
  24798. "description": "市场ID",
  24799. "type": "integer"
  24800. },
  24801. "orderid": {
  24802. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24803. "type": "string"
  24804. },
  24805. "ordertype": {
  24806. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24807. "type": "integer"
  24808. },
  24809. "picurls": {
  24810. "description": "介绍图片[多张用逗号分隔]",
  24811. "type": "string"
  24812. },
  24813. "price": {
  24814. "description": "价格",
  24815. "type": "number"
  24816. },
  24817. "qty": {
  24818. "description": "数量",
  24819. "type": "integer"
  24820. },
  24821. "time": {
  24822. "description": "时间",
  24823. "type": "string"
  24824. },
  24825. "trademode": {
  24826. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24827. "type": "integer"
  24828. },
  24829. "vendorname": {
  24830. "description": "供应商名称",
  24831. "type": "string"
  24832. }
  24833. }
  24834. },
  24835. "models.HsbyTopGoods": {
  24836. "type": "object",
  24837. "required": [
  24838. "goodscode",
  24839. "goodsid",
  24840. "goodsname",
  24841. "marketid",
  24842. "trademode"
  24843. ],
  24844. "properties": {
  24845. "agreeunit": {
  24846. "description": "合约单位",
  24847. "type": "number"
  24848. },
  24849. "currency": {
  24850. "description": "货币",
  24851. "type": "string"
  24852. },
  24853. "currencysign": {
  24854. "description": "货币符号",
  24855. "type": "string"
  24856. },
  24857. "decimalplace": {
  24858. "description": "报价小数位",
  24859. "type": "integer"
  24860. },
  24861. "desccityid": {
  24862. "description": "目的地(市)",
  24863. "type": "integer"
  24864. },
  24865. "descprovinceid": {
  24866. "description": "目的地(省)",
  24867. "type": "integer"
  24868. },
  24869. "goodscode": {
  24870. "description": "商品代码(内部)",
  24871. "type": "string"
  24872. },
  24873. "goodsid": {
  24874. "description": "商品ID(自增ID SEQ_GOODS)",
  24875. "type": "integer"
  24876. },
  24877. "goodsname": {
  24878. "description": "商品名称",
  24879. "type": "string"
  24880. },
  24881. "hotindex": {
  24882. "description": "景点热度",
  24883. "type": "integer"
  24884. },
  24885. "last": {
  24886. "description": "现价",
  24887. "type": "number"
  24888. },
  24889. "marketid": {
  24890. "description": "所属市场ID",
  24891. "type": "integer"
  24892. },
  24893. "picurls": {
  24894. "description": "介绍图片[多张用逗号分隔]",
  24895. "type": "string"
  24896. },
  24897. "quoteminunit": {
  24898. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24899. "type": "integer"
  24900. },
  24901. "trademode": {
  24902. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24903. "type": "integer"
  24904. },
  24905. "videourls": {
  24906. "description": "介绍视频[多张用逗号分隔]",
  24907. "type": "string"
  24908. }
  24909. }
  24910. },
  24911. "models.HybsMyBuyOrderDetail": {
  24912. "type": "object",
  24913. "required": [
  24914. "accountid",
  24915. "buyorsell",
  24916. "goodscode",
  24917. "goodsid",
  24918. "goodsname",
  24919. "marketid",
  24920. "orderid",
  24921. "orderqty",
  24922. "ordertime",
  24923. "trademode"
  24924. ],
  24925. "properties": {
  24926. "accountid": {
  24927. "description": "账户ID[报价币种]",
  24928. "type": "integer"
  24929. },
  24930. "agreeunit": {
  24931. "description": "合约单位",
  24932. "type": "number"
  24933. },
  24934. "buyorsell": {
  24935. "description": "买卖 - 0:买 1:卖",
  24936. "type": "integer"
  24937. },
  24938. "cancelqty": {
  24939. "description": "撤单数量",
  24940. "type": "integer"
  24941. },
  24942. "currencysign": {
  24943. "description": "货币符号",
  24944. "type": "string"
  24945. },
  24946. "decimalplace": {
  24947. "description": "报价小数位",
  24948. "type": "integer"
  24949. },
  24950. "goodscode": {
  24951. "description": "商品代码(内部)",
  24952. "type": "string"
  24953. },
  24954. "goodsid": {
  24955. "description": "商品ID",
  24956. "type": "integer"
  24957. },
  24958. "goodsname": {
  24959. "description": "商品名称",
  24960. "type": "string"
  24961. },
  24962. "listingselecttype": {
  24963. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24964. "type": "integer"
  24965. },
  24966. "marketid": {
  24967. "description": "市场ID",
  24968. "type": "integer"
  24969. },
  24970. "mybuystatus": {
  24971. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24972. "type": "integer"
  24973. },
  24974. "orderamount": {
  24975. "description": "委托金额",
  24976. "type": "number"
  24977. },
  24978. "orderid": {
  24979. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24980. "type": "string"
  24981. },
  24982. "orderprice": {
  24983. "description": "委托价格",
  24984. "type": "number"
  24985. },
  24986. "orderqty": {
  24987. "description": "委托数量",
  24988. "type": "integer"
  24989. },
  24990. "orderstatus": {
  24991. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24992. "type": "integer"
  24993. },
  24994. "ordertime": {
  24995. "description": "委托时间",
  24996. "type": "string"
  24997. },
  24998. "picurls1": {
  24999. "description": "预售商品介绍图片[多张用逗号分隔]",
  25000. "type": "string"
  25001. },
  25002. "picurls2": {
  25003. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25004. "type": "string"
  25005. },
  25006. "trademode": {
  25007. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25008. "type": "integer"
  25009. },
  25010. "tradeqty": {
  25011. "description": "成交数量",
  25012. "type": "integer"
  25013. },
  25014. "vendorname1": {
  25015. "description": "预售商品供应商名称",
  25016. "type": "string"
  25017. },
  25018. "vendorname2": {
  25019. "description": "挂牌商品供应商名称",
  25020. "type": "string"
  25021. }
  25022. }
  25023. },
  25024. "models.Loginaccount": {
  25025. "type": "object",
  25026. "required": [
  25027. "loginid"
  25028. ],
  25029. "properties": {
  25030. "accountname": {
  25031. "description": "账户名称",
  25032. "type": "string"
  25033. },
  25034. "canoutin": {
  25035. "description": "是否可出入金 - 0:不可 1:可",
  25036. "type": "integer"
  25037. },
  25038. "clientroleid": {
  25039. "description": "终端角色ID",
  25040. "type": "integer"
  25041. },
  25042. "haslogined": {
  25043. "description": "是否已登录 - 0:未登录 1:已登录",
  25044. "type": "integer"
  25045. },
  25046. "hasupdatedpwd": {
  25047. "description": "是否已更改密码 - 0:未修改 1:已修改",
  25048. "type": "integer"
  25049. },
  25050. "lastloginip": {
  25051. "description": "最新登录地址",
  25052. "type": "string"
  25053. },
  25054. "lastloginmode": {
  25055. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25056. "type": "integer"
  25057. },
  25058. "lastloginremark": {
  25059. "description": "最新登录描述",
  25060. "type": "string"
  25061. },
  25062. "lastlogintime": {
  25063. "description": "最新登录时间",
  25064. "type": "string"
  25065. },
  25066. "logincode": {
  25067. "description": "登录代码",
  25068. "type": "string"
  25069. },
  25070. "loginfailnum": {
  25071. "description": "连续登录失败次数(登录成功时清零)",
  25072. "type": "integer"
  25073. },
  25074. "loginid": {
  25075. "description": "登陆账号",
  25076. "type": "integer"
  25077. },
  25078. "loginport": {
  25079. "description": "最新登录端口",
  25080. "type": "integer"
  25081. },
  25082. "loginstatus": {
  25083. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  25084. "type": "integer"
  25085. },
  25086. "loginusertype": {
  25087. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  25088. "type": "integer"
  25089. },
  25090. "mobile": {
  25091. "description": "手机号码(加密存储)",
  25092. "type": "string"
  25093. },
  25094. "modifierid": {
  25095. "description": "修改人",
  25096. "type": "integer"
  25097. },
  25098. "modifysrc": {
  25099. "description": "审核来源 - 1:管理端 2:终端",
  25100. "type": "integer"
  25101. },
  25102. "modifytime": {
  25103. "description": "修改时间",
  25104. "type": "string"
  25105. },
  25106. "password": {
  25107. "description": "登陆密码",
  25108. "type": "string"
  25109. },
  25110. "pwdwrongcount": {
  25111. "description": "密码错误次数",
  25112. "type": "integer"
  25113. },
  25114. "relateduserid": {
  25115. "description": "关联用户ID(机构)",
  25116. "type": "integer"
  25117. },
  25118. "taaccountrighttype": {
  25119. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  25120. "type": "integer"
  25121. },
  25122. "unfreezetime": {
  25123. "description": "账户解冻时间",
  25124. "type": "string"
  25125. },
  25126. "userid": {
  25127. "description": "用户ID",
  25128. "type": "integer"
  25129. }
  25130. }
  25131. },
  25132. "models.MainAccountInfo": {
  25133. "type": "object",
  25134. "properties": {
  25135. "accountid": {
  25136. "description": "账号id",
  25137. "type": "integer"
  25138. },
  25139. "accountname": {
  25140. "description": "账号名称(taaccount表中的名称)",
  25141. "type": "string"
  25142. },
  25143. "appid": {
  25144. "description": "AppID",
  25145. "type": "string"
  25146. },
  25147. "authcode": {
  25148. "description": "授权码",
  25149. "type": "string"
  25150. },
  25151. "brokerid": {
  25152. "description": "经纪商id",
  25153. "type": "string"
  25154. },
  25155. "fcid": {
  25156. "description": "期货公司id",
  25157. "type": "integer"
  25158. },
  25159. "fcname": {
  25160. "description": "期货公司代码",
  25161. "type": "string"
  25162. },
  25163. "hedgeaccountcode": {
  25164. "description": "外部账号代码(主账号登录代码)",
  25165. "type": "string"
  25166. },
  25167. "hedgeaccountpwd": {
  25168. "description": "密码",
  25169. "type": "string"
  25170. },
  25171. "ismain": {
  25172. "description": "是否主账号",
  25173. "type": "integer"
  25174. },
  25175. "relateduserid": {
  25176. "description": "关联用户id",
  25177. "type": "integer"
  25178. },
  25179. "userid": {
  25180. "description": "关联用户id",
  25181. "type": "integer"
  25182. }
  25183. }
  25184. },
  25185. "models.Market": {
  25186. "type": "object",
  25187. "required": [
  25188. "marketid",
  25189. "marketstatus",
  25190. "openmethod",
  25191. "reckonpricealgorithm",
  25192. "trademode",
  25193. "tradeproperty"
  25194. ],
  25195. "properties": {
  25196. "auctionwrtype": {
  25197. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  25198. "type": "integer"
  25199. },
  25200. "canacceptquote": {
  25201. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  25202. "type": "integer"
  25203. },
  25204. "cangoodsexercise": {
  25205. "description": "[期权]是否可现货行权- 0:否 1:是",
  25206. "type": "integer"
  25207. },
  25208. "cangoodsexercisetype": {
  25209. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  25210. "type": "integer"
  25211. },
  25212. "canmanualquotestrike": {
  25213. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  25214. "type": "integer"
  25215. },
  25216. "canmutistage": {
  25217. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  25218. "type": "integer"
  25219. },
  25220. "canpreexercise": {
  25221. "description": "[期权]是否可预申报- 0:否 1:是",
  25222. "type": "integer"
  25223. },
  25224. "clearinterval": {
  25225. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  25226. "type": "integer"
  25227. },
  25228. "contracttmp": {
  25229. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  25230. "type": "string"
  25231. },
  25232. "exchareaid": {
  25233. "description": "所属交易所,可以没有",
  25234. "type": "integer"
  25235. },
  25236. "goodstype": {
  25237. "description": "商品类型 - 1:交易商品 2:仓单商品",
  25238. "type": "integer"
  25239. },
  25240. "hasrebate": {
  25241. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  25242. "type": "integer"
  25243. },
  25244. "hastradecredit": {
  25245. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  25246. "type": "integer"
  25247. },
  25248. "haswr": {
  25249. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  25250. "type": "integer"
  25251. },
  25252. "isdeductmargin": {
  25253. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  25254. "type": "integer"
  25255. },
  25256. "isrecordsource": {
  25257. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  25258. "type": "integer"
  25259. },
  25260. "isreleasemargin": {
  25261. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  25262. "type": "integer"
  25263. },
  25264. "marginformula": {
  25265. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25266. "type": "integer"
  25267. },
  25268. "marginformula2": {
  25269. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25270. "type": "integer"
  25271. },
  25272. "marketid": {
  25273. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25274. "type": "integer"
  25275. },
  25276. "marketname": {
  25277. "description": "市场名称",
  25278. "type": "string"
  25279. },
  25280. "marketserviceid": {
  25281. "description": "市场服务ID",
  25282. "type": "integer"
  25283. },
  25284. "marketstatus": {
  25285. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25286. "type": "integer"
  25287. },
  25288. "markettype": {
  25289. "description": "市场类型- 1:非交易服务 2:交易服务",
  25290. "type": "integer"
  25291. },
  25292. "matchermode": {
  25293. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  25294. "type": "integer"
  25295. },
  25296. "openmethod": {
  25297. "description": "开盘模式 - 0 自动 1手动",
  25298. "type": "integer"
  25299. },
  25300. "otcuserid": {
  25301. "description": "场外期权做市商[场外期权]",
  25302. "type": "integer"
  25303. },
  25304. "outersynctime": {
  25305. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  25306. "type": "string"
  25307. },
  25308. "pendingflag": {
  25309. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  25310. "type": "integer"
  25311. },
  25312. "pendingtime": {
  25313. "description": "待开市时间[通道交易-对冲](HH:mm)",
  25314. "type": "string"
  25315. },
  25316. "performancetempid": {
  25317. "description": "履约计划模板ID - 作废",
  25318. "type": "integer"
  25319. },
  25320. "premiumquotemode": {
  25321. "description": "权利金报价方式 - 1:自动 2:手动",
  25322. "type": "integer"
  25323. },
  25324. "rebateratio": {
  25325. "description": "返利比率[竞价式]",
  25326. "type": "number"
  25327. },
  25328. "reckonorder": {
  25329. "description": "结算顺序",
  25330. "type": "integer"
  25331. },
  25332. "reckonpricealgorithm": {
  25333. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  25334. "type": "integer"
  25335. },
  25336. "reckonpriceparam": {
  25337. "description": "结算价参数",
  25338. "type": "integer"
  25339. },
  25340. "reckontime": {
  25341. "description": "结算时间[通道交易-对冲](HH:mm)",
  25342. "type": "string"
  25343. },
  25344. "roleprioritytype": {
  25345. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  25346. "type": "integer"
  25347. },
  25348. "selllistingauditflag": {
  25349. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  25350. "type": "integer"
  25351. },
  25352. "trademarkettype": {
  25353. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  25354. "type": "integer"
  25355. },
  25356. "trademode": {
  25357. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25358. "type": "integer"
  25359. },
  25360. "tradeproperty": {
  25361. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  25362. "type": "integer"
  25363. },
  25364. "tradetype": {
  25365. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  25366. "type": "integer"
  25367. }
  25368. }
  25369. },
  25370. "models.Marketrun": {
  25371. "type": "object",
  25372. "required": [
  25373. "marketid",
  25374. "nexttradedate",
  25375. "reckonflag",
  25376. "runstatus",
  25377. "tradedate",
  25378. "tradedate2"
  25379. ],
  25380. "properties": {
  25381. "afternexttradedate": {
  25382. "description": "下下交易日",
  25383. "type": "string"
  25384. },
  25385. "clearquoteflag": {
  25386. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  25387. "type": "integer"
  25388. },
  25389. "lastreckondate": {
  25390. "description": "最新交易日(结算成功)",
  25391. "type": "string"
  25392. },
  25393. "machinedate": {
  25394. "description": "机器时间",
  25395. "type": "string"
  25396. },
  25397. "manualflag": {
  25398. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  25399. "type": "integer"
  25400. },
  25401. "marketid": {
  25402. "description": "市场ID",
  25403. "type": "integer"
  25404. },
  25405. "nexttradedate": {
  25406. "description": "下一交易日",
  25407. "type": "string"
  25408. },
  25409. "pretradedate": {
  25410. "description": "上一交易日",
  25411. "type": "string"
  25412. },
  25413. "reckonflag": {
  25414. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  25415. "type": "integer"
  25416. },
  25417. "runstatus": {
  25418. "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.今日免清算",
  25419. "type": "integer"
  25420. },
  25421. "sectionid": {
  25422. "description": "时间段号[多时段时用]",
  25423. "type": "integer"
  25424. },
  25425. "tradedate": {
  25426. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25427. "type": "string"
  25428. },
  25429. "tradedate2": {
  25430. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25431. "type": "string"
  25432. },
  25433. "updatetime": {
  25434. "description": "更新时间",
  25435. "type": "string"
  25436. }
  25437. }
  25438. },
  25439. "models.Messageboard": {
  25440. "type": "object",
  25441. "required": [
  25442. "messageboardid"
  25443. ],
  25444. "properties": {
  25445. "contactnum": {
  25446. "description": "联系电话",
  25447. "type": "string"
  25448. },
  25449. "createtime": {
  25450. "description": "创建时间",
  25451. "type": "string"
  25452. },
  25453. "message": {
  25454. "description": "留言信息",
  25455. "type": "string"
  25456. },
  25457. "messageboardid": {
  25458. "description": "留言簿ID(SEQ_MessageBoard)",
  25459. "type": "integer"
  25460. },
  25461. "userid": {
  25462. "description": "用户ID",
  25463. "type": "integer"
  25464. }
  25465. }
  25466. },
  25467. "models.MyCoupon": {
  25468. "type": "object",
  25469. "required": [
  25470. "accountid",
  25471. "coupontypeid"
  25472. ],
  25473. "properties": {
  25474. "accountid": {
  25475. "description": "资金账户ID",
  25476. "type": "integer"
  25477. },
  25478. "areauserid": {
  25479. "description": "所属机构",
  25480. "type": "integer"
  25481. },
  25482. "conditionvalue": {
  25483. "description": "条件阈值(可为0)",
  25484. "type": "number"
  25485. },
  25486. "couponcategroy": {
  25487. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25488. "type": "integer"
  25489. },
  25490. "couponname": {
  25491. "description": "优惠券名称",
  25492. "type": "string"
  25493. },
  25494. "coupontypeid": {
  25495. "description": "优惠券类型ID",
  25496. "type": "string"
  25497. },
  25498. "couponvalue": {
  25499. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25500. "type": "number"
  25501. },
  25502. "curfreezeqty": {
  25503. "description": "期末冻结数量",
  25504. "type": "integer"
  25505. },
  25506. "curqty": {
  25507. "description": "期末数量",
  25508. "type": "integer"
  25509. },
  25510. "isgeneral": {
  25511. "description": "是否通用券 - 0:否 1:是",
  25512. "type": "integer"
  25513. },
  25514. "isunusable": {
  25515. "description": "是否不可用",
  25516. "type": "boolean"
  25517. },
  25518. "limitedflag": {
  25519. "description": "是否指定商品 - 0:不限 1:限制",
  25520. "type": "integer"
  25521. },
  25522. "limitedgoodsids": {
  25523. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25524. "type": "string"
  25525. },
  25526. "orifreezeqty": {
  25527. "description": "期初冻结数量",
  25528. "type": "integer"
  25529. },
  25530. "oriqty": {
  25531. "description": "期初数量",
  25532. "type": "integer"
  25533. },
  25534. "reasontype": {
  25535. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25536. "type": "integer"
  25537. },
  25538. "todaydecrease": {
  25539. "description": "今日减少",
  25540. "type": "integer"
  25541. },
  25542. "todayincrease": {
  25543. "description": "今日增加",
  25544. "type": "integer"
  25545. },
  25546. "userid": {
  25547. "description": "用户ID",
  25548. "type": "integer"
  25549. },
  25550. "userscope": {
  25551. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25552. "type": "string"
  25553. }
  25554. }
  25555. },
  25556. "models.MyCouponHold": {
  25557. "type": "object",
  25558. "required": [
  25559. "couponholdid"
  25560. ],
  25561. "properties": {
  25562. "accountid": {
  25563. "description": "资金账户ID",
  25564. "type": "integer"
  25565. },
  25566. "conditionvalue": {
  25567. "description": "条件阈值(可为0)",
  25568. "type": "number"
  25569. },
  25570. "couponcategroy": {
  25571. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25572. "type": "integer"
  25573. },
  25574. "couponholdid": {
  25575. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25576. "type": "string"
  25577. },
  25578. "couponname": {
  25579. "description": "优惠券名称",
  25580. "type": "string"
  25581. },
  25582. "coupontypeid": {
  25583. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25584. "type": "string"
  25585. },
  25586. "couponvalue": {
  25587. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25588. "type": "number"
  25589. },
  25590. "createtime": {
  25591. "description": "创建时间",
  25592. "type": "string"
  25593. },
  25594. "enddate": {
  25595. "description": "结束日期",
  25596. "type": "string"
  25597. },
  25598. "giveapplyid": {
  25599. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25600. "type": "integer"
  25601. },
  25602. "holdstatus": {
  25603. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25604. "type": "integer"
  25605. },
  25606. "isgeneral": {
  25607. "description": "是否通用券 - 0:否 1:是",
  25608. "type": "integer"
  25609. },
  25610. "limitedflag": {
  25611. "description": "是否指定商品 - 0:不限 1:限制",
  25612. "type": "integer"
  25613. },
  25614. "limitedgoodsids": {
  25615. "description": "指定商品IDs[逗号分隔]",
  25616. "type": "string"
  25617. },
  25618. "qty": {
  25619. "description": "数量(按1平铺)",
  25620. "type": "integer"
  25621. },
  25622. "startdate": {
  25623. "description": "开始日期",
  25624. "type": "string"
  25625. },
  25626. "userid": {
  25627. "description": "用户ID",
  25628. "type": "integer"
  25629. },
  25630. "userscope": {
  25631. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25632. "type": "string"
  25633. }
  25634. }
  25635. },
  25636. "models.MyUsedCoupon": {
  25637. "type": "object",
  25638. "required": [
  25639. "coupontypeid",
  25640. "orderid"
  25641. ],
  25642. "properties": {
  25643. "accountid": {
  25644. "description": "资金账户ID(买方)",
  25645. "type": "integer"
  25646. },
  25647. "conditionvalue": {
  25648. "description": "条件阈值(可为0)",
  25649. "type": "number"
  25650. },
  25651. "couponcategroy": {
  25652. "description": "种类 - 1:现金券 2:折扣券",
  25653. "type": "integer"
  25654. },
  25655. "couponname": {
  25656. "description": "优惠券名称",
  25657. "type": "string"
  25658. },
  25659. "coupontypeid": {
  25660. "description": "优惠券类型ID(买方)",
  25661. "type": "string"
  25662. },
  25663. "couponvalue": {
  25664. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25665. "type": "number"
  25666. },
  25667. "createtime": {
  25668. "description": "创建时间",
  25669. "type": "string"
  25670. },
  25671. "goodsid": {
  25672. "description": "商品ID",
  25673. "type": "integer"
  25674. },
  25675. "handlestatus": {
  25676. "description": "处理状态",
  25677. "type": "integer"
  25678. },
  25679. "marketid": {
  25680. "description": "市场ID",
  25681. "type": "integer"
  25682. },
  25683. "offamount": {
  25684. "description": "优惠金额",
  25685. "type": "number"
  25686. },
  25687. "orderid": {
  25688. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25689. "type": "string"
  25690. },
  25691. "sellaccountid": {
  25692. "description": "资金账户ID(卖方)",
  25693. "type": "integer"
  25694. },
  25695. "tradeamount": {
  25696. "description": "成交金额",
  25697. "type": "number"
  25698. },
  25699. "tradeid": {
  25700. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25701. "type": "string"
  25702. },
  25703. "usedqty": {
  25704. "description": "使用数量",
  25705. "type": "integer"
  25706. }
  25707. }
  25708. },
  25709. "models.OperationPrimaryMenu": {
  25710. "type": "object",
  25711. "properties": {
  25712. "Children": {
  25713. "description": "二级功能菜单",
  25714. "type": "array",
  25715. "items": {
  25716. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25717. }
  25718. },
  25719. "Key": {
  25720. "description": "菜单KEY",
  25721. "type": "string"
  25722. },
  25723. "Label": {
  25724. "description": "菜单标题",
  25725. "type": "string"
  25726. }
  25727. }
  25728. },
  25729. "models.OperationSecondaryMenu": {
  25730. "type": "object",
  25731. "properties": {
  25732. "Key": {
  25733. "description": "菜单KEY",
  25734. "type": "string"
  25735. },
  25736. "Label": {
  25737. "description": "菜单标题",
  25738. "type": "string"
  25739. },
  25740. "TabList": {
  25741. "description": "三级功能菜单",
  25742. "type": "array",
  25743. "items": {
  25744. "$ref": "#/definitions/models.OperationTabMenu"
  25745. }
  25746. }
  25747. }
  25748. },
  25749. "models.OperationTabMenu": {
  25750. "type": "object",
  25751. "properties": {
  25752. "Key": {
  25753. "description": "菜单KEY",
  25754. "type": "string"
  25755. },
  25756. "Label": {
  25757. "description": "菜单标题",
  25758. "type": "string"
  25759. }
  25760. }
  25761. },
  25762. "models.PendingAuditBizModel": {
  25763. "type": "object",
  25764. "properties": {
  25765. "accountid": {
  25766. "description": "现货账户",
  25767. "type": "string"
  25768. },
  25769. "areaname": {
  25770. "description": "所属部门",
  25771. "type": "string"
  25772. },
  25773. "bizid": {
  25774. "description": "业务ID",
  25775. "type": "string"
  25776. },
  25777. "bizname": {
  25778. "description": "业务名称",
  25779. "type": "string"
  25780. },
  25781. "status": {
  25782. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25783. "type": "integer"
  25784. },
  25785. "type": {
  25786. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25787. "type": "integer"
  25788. }
  25789. }
  25790. },
  25791. "models.QhjAccountOutInApply": {
  25792. "type": "object",
  25793. "properties": {
  25794. "accountcode": {
  25795. "description": "资金账号",
  25796. "type": "string"
  25797. },
  25798. "accountname": {
  25799. "description": "用户名称(名称)",
  25800. "type": "string"
  25801. },
  25802. "accountpwd": {
  25803. "description": "资金密码",
  25804. "type": "string"
  25805. },
  25806. "accountticket": {
  25807. "description": "最新账户服务流水号",
  25808. "type": "string"
  25809. },
  25810. "amount": {
  25811. "description": "金额",
  25812. "type": "number"
  25813. },
  25814. "applyremark": {
  25815. "description": "申请备注",
  25816. "type": "string"
  25817. },
  25818. "applystatus": {
  25819. "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: 复审通过,账户冻结金额检查中;",
  25820. "type": "integer"
  25821. },
  25822. "auditid": {
  25823. "description": "审核人",
  25824. "type": "integer"
  25825. },
  25826. "audittime": {
  25827. "description": "审核时间",
  25828. "type": "string"
  25829. },
  25830. "bank_apply_ticket": {
  25831. "description": "银行申请流水",
  25832. "type": "string"
  25833. },
  25834. "bankaccountname": {
  25835. "description": "银行账户名",
  25836. "type": "string"
  25837. },
  25838. "bankaccountno": {
  25839. "description": "银行卡号",
  25840. "type": "string"
  25841. },
  25842. "bankid": {
  25843. "description": "银行编号",
  25844. "type": "string"
  25845. },
  25846. "bankticket": {
  25847. "description": "银行流水",
  25848. "type": "string"
  25849. },
  25850. "branchbankid": {
  25851. "description": "银行支行号",
  25852. "type": "string"
  25853. },
  25854. "branchbankname": {
  25855. "description": "银行支行名称",
  25856. "type": "string"
  25857. },
  25858. "capamountout": {
  25859. "description": "出金(劣后本金) - 外部子账户",
  25860. "type": "number"
  25861. },
  25862. "certificatephotourl": {
  25863. "description": "凭证地址",
  25864. "type": "string"
  25865. },
  25866. "charge": {
  25867. "description": "手续费",
  25868. "type": "number"
  25869. },
  25870. "checkerrorflag": {
  25871. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25872. "type": "integer"
  25873. },
  25874. "currency": {
  25875. "description": "币种",
  25876. "type": "string"
  25877. },
  25878. "cusbankid": {
  25879. "description": "托管银行编号",
  25880. "type": "string"
  25881. },
  25882. "exchticket": {
  25883. "description": "银行服务流水号",
  25884. "type": "string"
  25885. },
  25886. "executetype": {
  25887. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25888. "type": "integer"
  25889. },
  25890. "extendinfo": {
  25891. "description": "扩展信息",
  25892. "type": "string"
  25893. },
  25894. "extoperateid": {
  25895. "description": "交易服务流水号",
  25896. "type": "integer"
  25897. },
  25898. "infamount": {
  25899. "description": "劣后金额(自有)",
  25900. "type": "number"
  25901. },
  25902. "logincode": {
  25903. "description": "登录账号(账号)",
  25904. "type": "string"
  25905. },
  25906. "netaddr": {
  25907. "description": "调转网址",
  25908. "type": "string"
  25909. },
  25910. "priamount": {
  25911. "description": "优先金额(授信)",
  25912. "type": "number"
  25913. },
  25914. "reauditid": {
  25915. "description": "复审人",
  25916. "type": "integer"
  25917. },
  25918. "reauditremark": {
  25919. "description": "复审备注",
  25920. "type": "string"
  25921. },
  25922. "reaudittime": {
  25923. "description": "复审时间",
  25924. "type": "string"
  25925. },
  25926. "relatedorderid": {
  25927. "description": "三方关联ID",
  25928. "type": "string"
  25929. },
  25930. "remark": {
  25931. "description": "备注",
  25932. "type": "string"
  25933. },
  25934. "remark2": {
  25935. "description": "备注(失败原因)",
  25936. "type": "string"
  25937. },
  25938. "soucreamount": {
  25939. "description": "原始出入金金额",
  25940. "type": "number"
  25941. },
  25942. "soucrecurrencyid": {
  25943. "description": "原始出入金币种",
  25944. "type": "integer"
  25945. },
  25946. "tradedate": {
  25947. "description": "交易日(yyyyMMdd)",
  25948. "type": "string"
  25949. },
  25950. "updatetime": {
  25951. "description": "更新时间(申请时间)",
  25952. "type": "string"
  25953. },
  25954. "userid": {
  25955. "description": "用户id",
  25956. "type": "integer"
  25957. },
  25958. "userinfotype": {
  25959. "description": "账户类型 1-个人 2-企业",
  25960. "type": "integer"
  25961. }
  25962. }
  25963. },
  25964. "models.QhjAgreementChangeLog": {
  25965. "type": "object",
  25966. "properties": {
  25967. "agreementcontent": {
  25968. "description": "协议内容",
  25969. "type": "string"
  25970. },
  25971. "agreementfrequency": {
  25972. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25973. "type": "integer"
  25974. },
  25975. "agreementid": {
  25976. "description": "协议ID",
  25977. "type": "integer"
  25978. },
  25979. "agreementname": {
  25980. "description": "协议名称",
  25981. "type": "string"
  25982. },
  25983. "agreementno": {
  25984. "description": "协议编号",
  25985. "type": "string"
  25986. },
  25987. "agreementtype": {
  25988. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25989. "type": "integer"
  25990. },
  25991. "agreementversion": {
  25992. "description": "协议版本号",
  25993. "type": "integer"
  25994. },
  25995. "logid": {
  25996. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25997. "type": "integer"
  25998. },
  25999. "reviserid": {
  26000. "description": "修改人",
  26001. "type": "integer"
  26002. },
  26003. "revisersrc": {
  26004. "description": "修改来源 - 1:管理端 2:终端",
  26005. "type": "integer"
  26006. },
  26007. "updatetime": {
  26008. "description": "更新时间",
  26009. "type": "string"
  26010. }
  26011. }
  26012. },
  26013. "models.QhjAgreementConfig": {
  26014. "type": "object",
  26015. "properties": {
  26016. "agreementcontent": {
  26017. "description": "协议内容",
  26018. "type": "string"
  26019. },
  26020. "agreementfrequency": {
  26021. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26022. "type": "integer"
  26023. },
  26024. "agreementid": {
  26025. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  26026. "type": "integer"
  26027. },
  26028. "agreementname": {
  26029. "description": "协议名称",
  26030. "type": "string"
  26031. },
  26032. "agreementno": {
  26033. "description": "协议编号",
  26034. "type": "string"
  26035. },
  26036. "agreementtype": {
  26037. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26038. "type": "integer"
  26039. },
  26040. "agreementversion": {
  26041. "description": "协议版本号(从1开始每次修改加1)",
  26042. "type": "integer"
  26043. },
  26044. "createtime": {
  26045. "description": "创建时间",
  26046. "type": "string"
  26047. },
  26048. "creatorid": {
  26049. "description": "创建人",
  26050. "type": "integer"
  26051. },
  26052. "creatorsrc": {
  26053. "description": "创建来源 - 1:管理端 2:终端",
  26054. "type": "integer"
  26055. },
  26056. "isvalid": {
  26057. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  26058. "type": "integer"
  26059. },
  26060. "reviserid": {
  26061. "description": "修改人",
  26062. "type": "integer"
  26063. },
  26064. "revisersrc": {
  26065. "description": "修改来源 - 1:管理端 2:终端",
  26066. "type": "integer"
  26067. },
  26068. "updatetime": {
  26069. "description": "更新时间",
  26070. "type": "string"
  26071. }
  26072. }
  26073. },
  26074. "models.QhjAreaFinanceConfig": {
  26075. "type": "object",
  26076. "properties": {
  26077. "additionalratio": {
  26078. "description": "追加款比例",
  26079. "type": "number"
  26080. },
  26081. "advanceratio": {
  26082. "description": "预付款比例",
  26083. "type": "number"
  26084. },
  26085. "alarmratio": {
  26086. "description": "告警比例",
  26087. "type": "number"
  26088. },
  26089. "consumptiondirectreward": {
  26090. "description": "消费直推奖励值",
  26091. "type": "number"
  26092. },
  26093. "consumptionenabled": {
  26094. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  26095. "type": "integer"
  26096. },
  26097. "consumptionindirectreward": {
  26098. "description": "消费间推奖励值",
  26099. "type": "number"
  26100. },
  26101. "consumptionmodel": {
  26102. "description": "消费奖励方式 - 1:比率 2:固定",
  26103. "type": "integer"
  26104. },
  26105. "customerservicenum": {
  26106. "description": "客服电话",
  26107. "type": "string"
  26108. },
  26109. "dayinterestrate": {
  26110. "description": "日利率",
  26111. "type": "number"
  26112. },
  26113. "disableconsumptiontips": {
  26114. "description": "关闭消费奖励提示",
  26115. "type": "string"
  26116. },
  26117. "modifierid": {
  26118. "description": "修改人ID",
  26119. "type": "integer"
  26120. },
  26121. "modifysrc": {
  26122. "description": "审核来源 - 1:管理端 2:终端",
  26123. "type": "integer"
  26124. },
  26125. "modifytime": {
  26126. "description": "修改时间",
  26127. "type": "string"
  26128. },
  26129. "promotionvalue": {
  26130. "description": "推广奖励值(固定)",
  26131. "type": "number"
  26132. },
  26133. "scoreconfigvalue1": {
  26134. "description": "提货积分配置1",
  26135. "type": "integer"
  26136. },
  26137. "scoreconfigvalue2": {
  26138. "description": "提货积分配置2",
  26139. "type": "integer"
  26140. },
  26141. "userid": {
  26142. "description": "机构用户ID其他做市关系,都设置为 1",
  26143. "type": "integer"
  26144. },
  26145. "username": {
  26146. "description": "用户名称",
  26147. "type": "string"
  26148. }
  26149. }
  26150. },
  26151. "models.QhjBankAccountSign": {
  26152. "type": "object",
  26153. "properties": {
  26154. "accountcode": {
  26155. "description": "资金账号",
  26156. "type": "string"
  26157. },
  26158. "accountname": {
  26159. "description": "资金账号对应的账号名(UserName)",
  26160. "type": "string"
  26161. },
  26162. "accountname2": {
  26163. "description": "资金账号对应的账号名(UserName) - 密文",
  26164. "type": "string"
  26165. },
  26166. "accounttype": {
  26167. "description": "账户类型(UserType)",
  26168. "type": "integer"
  26169. },
  26170. "applicationtime": {
  26171. "description": "最后一次更新的时间",
  26172. "type": "string"
  26173. },
  26174. "applyexchticket": {
  26175. "description": "申请流水",
  26176. "type": "string"
  26177. },
  26178. "auditid": {
  26179. "description": "审核人",
  26180. "type": "integer"
  26181. },
  26182. "audittime": {
  26183. "description": "审核时间",
  26184. "type": "string"
  26185. },
  26186. "bankaccountname": {
  26187. "description": "签约银行卡账号名",
  26188. "type": "string"
  26189. },
  26190. "bankaccountname2": {
  26191. "description": "签约银行卡账号名 - 密文",
  26192. "type": "string"
  26193. },
  26194. "bankaccountno": {
  26195. "description": "银行卡号",
  26196. "type": "string"
  26197. },
  26198. "bankaccountno2": {
  26199. "description": "银行卡号 - 密文",
  26200. "type": "string"
  26201. },
  26202. "bankaccounttype": {
  26203. "description": "银行账户类型 - 1-对私; 2-对公",
  26204. "type": "integer"
  26205. },
  26206. "bankcardtype": {
  26207. "description": "银行卡类型",
  26208. "type": "integer"
  26209. },
  26210. "bankchildaccount": {
  26211. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  26212. "type": "string"
  26213. },
  26214. "bankcity": {
  26215. "description": "开户行城市",
  26216. "type": "string"
  26217. },
  26218. "bankid": {
  26219. "description": "签约银行ID",
  26220. "type": "string"
  26221. },
  26222. "bankname": {
  26223. "description": "签约银行名称",
  26224. "type": "string"
  26225. },
  26226. "bankprovince": {
  26227. "description": "开户行省份",
  26228. "type": "string"
  26229. },
  26230. "branchbankid": {
  26231. "description": "签约银行支行号",
  26232. "type": "string"
  26233. },
  26234. "branchbankname": {
  26235. "description": "签约银行支行名称",
  26236. "type": "string"
  26237. },
  26238. "cardno": {
  26239. "description": "证件号码",
  26240. "type": "string"
  26241. },
  26242. "cardno2": {
  26243. "description": "证件号码 - 密文",
  26244. "type": "string"
  26245. },
  26246. "cardtype": {
  26247. "description": "证件类型",
  26248. "type": "string"
  26249. },
  26250. "currency": {
  26251. "description": "币种",
  26252. "type": "string"
  26253. },
  26254. "cusbankid": {
  26255. "description": "托管银行编号",
  26256. "type": "string"
  26257. },
  26258. "direct": {
  26259. "description": "方向(可以判断那方先发起的签约)",
  26260. "type": "integer"
  26261. },
  26262. "exchticket": {
  26263. "description": "最后一次签约成功的流水号",
  26264. "type": "string"
  26265. },
  26266. "extendinfo": {
  26267. "description": "扩展信息(JSON字符串)",
  26268. "type": "string"
  26269. },
  26270. "mobilephone": {
  26271. "description": "手机号",
  26272. "type": "string"
  26273. },
  26274. "mobilephone2": {
  26275. "description": "手机号 - 密文",
  26276. "type": "string"
  26277. },
  26278. "netaddr": {
  26279. "description": "调转网址",
  26280. "type": "string"
  26281. },
  26282. "relateduserid": {
  26283. "description": "关联使用者userid",
  26284. "type": "integer"
  26285. },
  26286. "signstatus": {
  26287. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  26288. "type": "integer"
  26289. },
  26290. "updatetime": {
  26291. "description": "更新时间(签解约更新时间)",
  26292. "type": "string"
  26293. }
  26294. }
  26295. },
  26296. "models.QhjBankInfo": {
  26297. "type": "object",
  26298. "properties": {
  26299. "bankid": {
  26300. "description": "银行ID",
  26301. "type": "string"
  26302. },
  26303. "bankname": {
  26304. "description": "银行名称",
  26305. "type": "string"
  26306. },
  26307. "clearbankno": {
  26308. "description": "清算系统银行编号",
  26309. "type": "string"
  26310. },
  26311. "orderindex": {
  26312. "description": "排序顺序",
  26313. "type": "integer"
  26314. },
  26315. "status": {
  26316. "description": "状态 - 0:正常 1:注销",
  26317. "type": "integer"
  26318. }
  26319. }
  26320. },
  26321. "models.QhjBrokerApply": {
  26322. "type": "object",
  26323. "properties": {
  26324. "applicantid": {
  26325. "description": "申请人",
  26326. "type": "integer"
  26327. },
  26328. "applysrc": {
  26329. "description": "申请来源 - 1:管理端 2:终端",
  26330. "type": "integer"
  26331. },
  26332. "applystatus": {
  26333. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26334. "type": "integer"
  26335. },
  26336. "applytime": {
  26337. "description": "申请时间",
  26338. "type": "string"
  26339. },
  26340. "auditorid": {
  26341. "description": "审核人",
  26342. "type": "integer"
  26343. },
  26344. "auditremark": {
  26345. "description": "审核备注",
  26346. "type": "string"
  26347. },
  26348. "auditsrc": {
  26349. "description": "审核来源 - 1:管理端 2:终端",
  26350. "type": "integer"
  26351. },
  26352. "audittime": {
  26353. "description": "审核时间",
  26354. "type": "string"
  26355. },
  26356. "audittradedate": {
  26357. "description": "审核交易日(yyyyMMdd)",
  26358. "type": "string"
  26359. },
  26360. "brokerapplyid": {
  26361. "description": "申请ID(SEQ_BROKERAPPLY)",
  26362. "type": "integer"
  26363. },
  26364. "cardbackphotourl": {
  26365. "description": "证件背面图片地址",
  26366. "type": "string"
  26367. },
  26368. "cardfrontphotourl": {
  26369. "description": "证件正面图片地址",
  26370. "type": "string"
  26371. },
  26372. "cardnum": {
  26373. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26374. "type": "string"
  26375. },
  26376. "customername": {
  26377. "description": "姓名",
  26378. "type": "string"
  26379. },
  26380. "logincode": {
  26381. "description": "登录代码",
  26382. "type": "string"
  26383. },
  26384. "mobile": {
  26385. "description": "手机号码",
  26386. "type": "string"
  26387. },
  26388. "parentuserid": {
  26389. "description": "所属机构id",
  26390. "type": "integer"
  26391. },
  26392. "parentusername": {
  26393. "description": "所属机构名称",
  26394. "type": "string"
  26395. },
  26396. "refereeuserid": {
  26397. "description": "推荐人id(经纪人)",
  26398. "type": "integer"
  26399. },
  26400. "refernum": {
  26401. "description": "推荐码",
  26402. "type": "string"
  26403. },
  26404. "remark": {
  26405. "description": "备注",
  26406. "type": "string"
  26407. },
  26408. "subarealevelpath": {
  26409. "description": "层级路径",
  26410. "type": "string"
  26411. },
  26412. "tradedate": {
  26413. "description": "交易日(yyyyMMdd)",
  26414. "type": "string"
  26415. },
  26416. "userid": {
  26417. "description": "申请人用户ID",
  26418. "type": "integer"
  26419. },
  26420. "userinfotype": {
  26421. "description": "用户类型 1-个人 2-企业",
  26422. "type": "integer"
  26423. },
  26424. "username": {
  26425. "description": "用户名称",
  26426. "type": "string"
  26427. }
  26428. }
  26429. },
  26430. "models.QhjBrokerApplyEx": {
  26431. "type": "object",
  26432. "properties": {
  26433. "applylist": {
  26434. "description": "经纪人申请记录(只返回最新一条)",
  26435. "type": "array",
  26436. "items": {
  26437. "$ref": "#/definitions/models.QhjBrokerApply"
  26438. }
  26439. },
  26440. "canrecommend": {
  26441. "description": "是否经纪人 0-不是 1-是",
  26442. "type": "integer"
  26443. },
  26444. "refernum": {
  26445. "description": "推荐码",
  26446. "type": "string"
  26447. },
  26448. "userid": {
  26449. "description": "用户id",
  26450. "type": "integer"
  26451. },
  26452. "userinfotype": {
  26453. "description": "用户类型 1-个人 2-企业",
  26454. "type": "integer"
  26455. }
  26456. }
  26457. },
  26458. "models.QhjBrokerRewardLog": {
  26459. "type": "object",
  26460. "properties": {
  26461. "accountid": {
  26462. "description": "资金账号ID",
  26463. "type": "integer"
  26464. },
  26465. "createtime": {
  26466. "description": "创建时间(时间)",
  26467. "type": "string"
  26468. },
  26469. "handlestatus": {
  26470. "description": "处理状态",
  26471. "type": "integer"
  26472. },
  26473. "logid": {
  26474. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26475. "type": "string"
  26476. },
  26477. "marketid": {
  26478. "description": "市场ID",
  26479. "type": "integer"
  26480. },
  26481. "mmaccountid": {
  26482. "description": "做市商资金账号ID",
  26483. "type": "string"
  26484. },
  26485. "mmuserid": {
  26486. "description": "做市商用户ID",
  26487. "type": "string"
  26488. },
  26489. "rewardamount": {
  26490. "description": "奖励金额",
  26491. "type": "number"
  26492. },
  26493. "rewardmodel": {
  26494. "description": "消费奖励方式 - 1:比率 2:固定",
  26495. "type": "integer"
  26496. },
  26497. "rewardtype": {
  26498. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26499. "type": "integer"
  26500. },
  26501. "rewardvalue": {
  26502. "description": "配置奖励值",
  26503. "type": "number"
  26504. },
  26505. "srcamount": {
  26506. "description": "成交金额 [消费奖励] (金额)",
  26507. "type": "number"
  26508. },
  26509. "srcgoodsid": {
  26510. "description": "来源商品ID [消费奖励]",
  26511. "type": "string"
  26512. },
  26513. "srctime": {
  26514. "description": "来源时间 (成交时间) [消费奖励]",
  26515. "type": "string"
  26516. },
  26517. "srctradeid": {
  26518. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26519. "type": "string"
  26520. },
  26521. "srcuserid": {
  26522. "description": "来源用户ID(推广账户)",
  26523. "type": "string"
  26524. },
  26525. "srcusername": {
  26526. "description": "推广账户名称",
  26527. "type": "string"
  26528. },
  26529. "tradedate": {
  26530. "description": "交易日(yyyyMMdd)",
  26531. "type": "string"
  26532. },
  26533. "userid": {
  26534. "description": "经纪人用户ID",
  26535. "type": "integer"
  26536. }
  26537. }
  26538. },
  26539. "models.QhjContract": {
  26540. "type": "object",
  26541. "properties": {
  26542. "contractconfirmtime": {
  26543. "description": "合同确认时间(时间)",
  26544. "type": "string"
  26545. },
  26546. "currisklevel": {
  26547. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26548. "type": "integer"
  26549. },
  26550. "decimalplace": {
  26551. "description": "商品报价小数位",
  26552. "type": "integer"
  26553. },
  26554. "enumdicname": {
  26555. "description": "单位名称",
  26556. "type": "string"
  26557. },
  26558. "goodscode": {
  26559. "description": "商品代码",
  26560. "type": "string"
  26561. },
  26562. "goodsid": {
  26563. "description": "商品ID [5:融资单]",
  26564. "type": "integer"
  26565. },
  26566. "goodsname": {
  26567. "description": "商品名称",
  26568. "type": "string"
  26569. },
  26570. "goodunitid": {
  26571. "description": "商品单位id",
  26572. "type": "integer"
  26573. },
  26574. "initmargin": {
  26575. "description": "初始保证金(首付款)",
  26576. "type": "number"
  26577. },
  26578. "lenderamount": {
  26579. "description": "贷款金额(总额|订单总额)",
  26580. "type": "number"
  26581. },
  26582. "marginratio": {
  26583. "description": "保证金比率(首付比例)",
  26584. "type": "number"
  26585. },
  26586. "payamount": {
  26587. "description": "已付(已付货款)",
  26588. "type": "number"
  26589. },
  26590. "reckonrecovermargin": {
  26591. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26592. "type": "number"
  26593. },
  26594. "recoveredmargin": {
  26595. "description": "已追缴保证金",
  26596. "type": "number"
  26597. },
  26598. "remainamount": {
  26599. "description": "合同剩余金额(融资额)",
  26600. "type": "number"
  26601. },
  26602. "scfcontractid": {
  26603. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26604. "type": "string"
  26605. },
  26606. "scfcontractstatus": {
  26607. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26608. "type": "integer"
  26609. },
  26610. "scfcontracttype": {
  26611. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26612. "type": "integer"
  26613. },
  26614. "totalinterest": {
  26615. "description": "已计总利息(利息)",
  26616. "type": "number"
  26617. },
  26618. "tradeprice": {
  26619. "description": "成交价格(成本价格)",
  26620. "type": "number"
  26621. },
  26622. "userid": {
  26623. "description": "用户ID",
  26624. "type": "integer"
  26625. },
  26626. "username": {
  26627. "description": "用户名称",
  26628. "type": "string"
  26629. },
  26630. "wrqty": {
  26631. "description": "仓单数量(数量)",
  26632. "type": "number"
  26633. }
  26634. }
  26635. },
  26636. "models.QhjContractLog": {
  26637. "type": "object",
  26638. "properties": {
  26639. "amount": {
  26640. "description": "支付金额",
  26641. "type": "number"
  26642. },
  26643. "amounttype": {
  26644. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26645. "type": "integer"
  26646. },
  26647. "logid": {
  26648. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26649. "type": "string"
  26650. },
  26651. "remainamount": {
  26652. "description": "剩余货款",
  26653. "type": "number"
  26654. },
  26655. "scfcontractid": {
  26656. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26657. "type": "integer"
  26658. },
  26659. "updatetime": {
  26660. "description": "更新时间",
  26661. "type": "string"
  26662. }
  26663. }
  26664. },
  26665. "models.QhjCusBankSignBankEx": {
  26666. "type": "object",
  26667. "properties": {
  26668. "banklst": {
  26669. "description": "银行列表",
  26670. "type": "array",
  26671. "items": {
  26672. "$ref": "#/definitions/models.QhjBankInfo"
  26673. }
  26674. },
  26675. "canallot": {
  26676. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26677. "type": "integer"
  26678. },
  26679. "canallotquery": {
  26680. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26681. "type": "integer"
  26682. },
  26683. "canbindcard": {
  26684. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26685. "type": "integer"
  26686. },
  26687. "caninamount": {
  26688. "description": "是否可入金 - 0:不可 1:可以",
  26689. "type": "integer"
  26690. },
  26691. "caninamount2": {
  26692. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26693. "type": "integer"
  26694. },
  26695. "canmodifybankcard": {
  26696. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26697. "type": "integer"
  26698. },
  26699. "canmodifyphone": {
  26700. "description": "是否可修改手机号 - 0:不可 1:可以",
  26701. "type": "integer"
  26702. },
  26703. "canmodifysigninfo": {
  26704. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26705. "type": "integer"
  26706. },
  26707. "canoutamount": {
  26708. "description": "是否可出金 - 0:不可 1:可以",
  26709. "type": "integer"
  26710. },
  26711. "canoutamount2": {
  26712. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26713. "type": "integer"
  26714. },
  26715. "canrelease": {
  26716. "description": "是否可解约 - 0:不可 1:可以",
  26717. "type": "integer"
  26718. },
  26719. "canrelease2": {
  26720. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26721. "type": "integer"
  26722. },
  26723. "cansign": {
  26724. "description": "是否可签约 - 0:不可 1:可以",
  26725. "type": "integer"
  26726. },
  26727. "cansign2": {
  26728. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26729. "type": "integer"
  26730. },
  26731. "currency": {
  26732. "description": "币种",
  26733. "type": "string"
  26734. },
  26735. "cusbankid": {
  26736. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26737. "type": "string"
  26738. },
  26739. "cusbankname": {
  26740. "description": "银行业务名称",
  26741. "type": "string"
  26742. },
  26743. "cusbankshortname": {
  26744. "description": "银行业务简称",
  26745. "type": "string"
  26746. },
  26747. "exchbankid": {
  26748. "description": "交易所开户银行ID",
  26749. "type": "string"
  26750. },
  26751. "exchpaybankaccname": {
  26752. "description": "交易所支出结算账户户名",
  26753. "type": "string"
  26754. },
  26755. "exchpaybankaccno": {
  26756. "description": "交易所支出结算账户",
  26757. "type": "string"
  26758. },
  26759. "isneedcheck": {
  26760. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26761. "type": "integer"
  26762. },
  26763. "isneedclear": {
  26764. "description": "是否需要清算 - 0:不需要 1:需要",
  26765. "type": "integer"
  26766. },
  26767. "lastcheckstatus": {
  26768. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26769. "type": "integer"
  26770. },
  26771. "lastchecktime": {
  26772. "description": "最后对账时间",
  26773. "type": "string"
  26774. },
  26775. "lastclearstatus": {
  26776. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26777. "type": "integer"
  26778. },
  26779. "lastcleartime": {
  26780. "description": "最后清算时间",
  26781. "type": "string"
  26782. },
  26783. "lastsignintime": {
  26784. "description": "最后签到时间",
  26785. "type": "string"
  26786. },
  26787. "lastsignouttime": {
  26788. "description": "最后签退时间",
  26789. "type": "string"
  26790. },
  26791. "riskinfo": {
  26792. "description": "签约风险提示书",
  26793. "type": "string"
  26794. },
  26795. "signstatus": {
  26796. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26797. "type": "integer"
  26798. },
  26799. "tradedate": {
  26800. "description": "交易日(yyyyMMdd)",
  26801. "type": "string"
  26802. },
  26803. "updatetime": {
  26804. "description": "当前签到/签退更新时间",
  26805. "type": "string"
  26806. }
  26807. }
  26808. },
  26809. "models.QhjCustomer": {
  26810. "type": "object",
  26811. "properties": {
  26812. "address": {
  26813. "description": "通讯地址",
  26814. "type": "string"
  26815. },
  26816. "attachment1": {
  26817. "description": "附件1",
  26818. "type": "string"
  26819. },
  26820. "audittime": {
  26821. "description": "审核时间",
  26822. "type": "string"
  26823. },
  26824. "cardbackphotourl": {
  26825. "description": "证件反面图片地址",
  26826. "type": "string"
  26827. },
  26828. "cardfrontphotourl": {
  26829. "description": "证件正面图片地址",
  26830. "type": "string"
  26831. },
  26832. "cardnum": {
  26833. "description": "证件号码",
  26834. "type": "string"
  26835. },
  26836. "cardtype": {
  26837. "description": "证件类型",
  26838. "type": "integer"
  26839. },
  26840. "cardtypename": {
  26841. "description": "证件类型名称",
  26842. "type": "string"
  26843. },
  26844. "cityid": {
  26845. "description": "市",
  26846. "type": "integer"
  26847. },
  26848. "cityname": {
  26849. "description": "城市名称",
  26850. "type": "string"
  26851. },
  26852. "contactname": {
  26853. "description": "联系人",
  26854. "type": "string"
  26855. },
  26856. "countryid": {
  26857. "description": "国家",
  26858. "type": "integer"
  26859. },
  26860. "countryname": {
  26861. "description": "国家名称",
  26862. "type": "string"
  26863. },
  26864. "createtime": {
  26865. "description": "创建时间",
  26866. "type": "string"
  26867. },
  26868. "customername": {
  26869. "description": "客户名称",
  26870. "type": "string"
  26871. },
  26872. "districtid": {
  26873. "description": "区域",
  26874. "type": "integer"
  26875. },
  26876. "districtname": {
  26877. "description": "地区名称",
  26878. "type": "string"
  26879. },
  26880. "email": {
  26881. "description": "邮件",
  26882. "type": "string"
  26883. },
  26884. "legalpersonname": {
  26885. "description": "法人姓名(企业)",
  26886. "type": "string"
  26887. },
  26888. "logincode": {
  26889. "description": "登录账号(代码)",
  26890. "type": "string"
  26891. },
  26892. "memberuserid": {
  26893. "description": "所属机构ID(所属会员)",
  26894. "type": "integer"
  26895. },
  26896. "memberusername": {
  26897. "description": "所属会员名称",
  26898. "type": "string"
  26899. },
  26900. "mobile": {
  26901. "description": "手机号码",
  26902. "type": "string"
  26903. },
  26904. "modifytime": {
  26905. "description": "修改时间",
  26906. "type": "string"
  26907. },
  26908. "nickname": {
  26909. "description": "昵称",
  26910. "type": "string"
  26911. },
  26912. "parentuserid": {
  26913. "description": "上级机构(所属机构)",
  26914. "type": "integer"
  26915. },
  26916. "parentusername": {
  26917. "description": "所属机构名称",
  26918. "type": "string"
  26919. },
  26920. "provinceid": {
  26921. "description": "省",
  26922. "type": "integer"
  26923. },
  26924. "provincename": {
  26925. "description": "省名称",
  26926. "type": "string"
  26927. },
  26928. "proxystatementurl": {
  26929. "description": "授权委托书",
  26930. "type": "string"
  26931. },
  26932. "remark": {
  26933. "description": "备注",
  26934. "type": "string"
  26935. },
  26936. "status": {
  26937. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26938. "type": "integer"
  26939. },
  26940. "statusdesc": {
  26941. "description": "账户状态中文描述",
  26942. "type": "string"
  26943. },
  26944. "taxpayernum": {
  26945. "description": "纳税人识别号",
  26946. "type": "string"
  26947. },
  26948. "telphone": {
  26949. "description": "联系电话",
  26950. "type": "string"
  26951. },
  26952. "userid": {
  26953. "description": "用户ID",
  26954. "type": "integer"
  26955. },
  26956. "userinfotype": {
  26957. "description": "客户类型 1-个人 2-企业",
  26958. "type": "integer"
  26959. },
  26960. "username": {
  26961. "description": "用户名称",
  26962. "type": "string"
  26963. }
  26964. }
  26965. },
  26966. "models.QhjCustomerSignLog": {
  26967. "type": "object",
  26968. "properties": {
  26969. "agreementcontent": {
  26970. "description": "协议内容",
  26971. "type": "string"
  26972. },
  26973. "agreementid": {
  26974. "description": "协议ID",
  26975. "type": "integer"
  26976. },
  26977. "agreementname": {
  26978. "description": "协议名称",
  26979. "type": "string"
  26980. },
  26981. "agreementno": {
  26982. "description": "协议编号",
  26983. "type": "string"
  26984. },
  26985. "agreementtype": {
  26986. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26987. "type": "integer"
  26988. },
  26989. "agreementversion": {
  26990. "description": "协议版本号",
  26991. "type": "integer"
  26992. },
  26993. "createtime": {
  26994. "description": "创建时间",
  26995. "type": "string"
  26996. },
  26997. "goodscode": {
  26998. "description": "商品代码",
  26999. "type": "string"
  27000. },
  27001. "goodsid": {
  27002. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27003. "type": "integer"
  27004. },
  27005. "goodsname": {
  27006. "description": "商品名称",
  27007. "type": "string"
  27008. },
  27009. "logid": {
  27010. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  27011. "type": "integer"
  27012. },
  27013. "nodetype": {
  27014. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27015. "type": "integer"
  27016. },
  27017. "signadressurl": {
  27018. "description": "签约文件地址",
  27019. "type": "string"
  27020. },
  27021. "signtimestamp": {
  27022. "description": "签约状态时间戳",
  27023. "type": "string"
  27024. },
  27025. "userid": {
  27026. "description": "客户ID",
  27027. "type": "integer"
  27028. },
  27029. "username": {
  27030. "description": "客户名称",
  27031. "type": "string"
  27032. }
  27033. }
  27034. },
  27035. "models.QhjCustomerSignStatus": {
  27036. "type": "object",
  27037. "properties": {
  27038. "createtime": {
  27039. "description": "创建时间",
  27040. "type": "string"
  27041. },
  27042. "goodscode": {
  27043. "description": "商品代码",
  27044. "type": "string"
  27045. },
  27046. "goodsid": {
  27047. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27048. "type": "integer"
  27049. },
  27050. "goodsname": {
  27051. "description": "商品名称",
  27052. "type": "string"
  27053. },
  27054. "nodetype": {
  27055. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  27056. "type": "integer"
  27057. },
  27058. "signtimestamp": {
  27059. "description": "签约状态时间戳",
  27060. "type": "string"
  27061. },
  27062. "tradedate": {
  27063. "description": "创建交易日(yyyyMMdd)",
  27064. "type": "string"
  27065. },
  27066. "updatetime": {
  27067. "description": "更新时间",
  27068. "type": "string"
  27069. },
  27070. "userid": {
  27071. "description": "客户ID",
  27072. "type": "integer"
  27073. },
  27074. "username": {
  27075. "description": "客户名称",
  27076. "type": "string"
  27077. }
  27078. }
  27079. },
  27080. "models.QhjMgrAccountOutInApply": {
  27081. "type": "object",
  27082. "properties": {
  27083. "accountcode": {
  27084. "description": "资金账号",
  27085. "type": "string"
  27086. },
  27087. "accountname": {
  27088. "description": "用户名称(名称)",
  27089. "type": "string"
  27090. },
  27091. "accountpwd": {
  27092. "description": "资金密码",
  27093. "type": "string"
  27094. },
  27095. "accountticket": {
  27096. "description": "最新账户服务流水号",
  27097. "type": "string"
  27098. },
  27099. "amount": {
  27100. "description": "金额",
  27101. "type": "number"
  27102. },
  27103. "applyremark": {
  27104. "description": "申请备注",
  27105. "type": "string"
  27106. },
  27107. "applystatus": {
  27108. "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: 复审通过,账户冻结金额检查中;",
  27109. "type": "integer"
  27110. },
  27111. "auditid": {
  27112. "description": "审核人",
  27113. "type": "integer"
  27114. },
  27115. "audittime": {
  27116. "description": "审核时间",
  27117. "type": "string"
  27118. },
  27119. "bank_apply_ticket": {
  27120. "description": "银行申请流水",
  27121. "type": "string"
  27122. },
  27123. "bankaccountname": {
  27124. "description": "银行账户名",
  27125. "type": "string"
  27126. },
  27127. "bankaccountno": {
  27128. "description": "银行卡号",
  27129. "type": "string"
  27130. },
  27131. "bankid": {
  27132. "description": "银行编号",
  27133. "type": "string"
  27134. },
  27135. "bankname": {
  27136. "description": "银行名称",
  27137. "type": "string"
  27138. },
  27139. "bankticket": {
  27140. "description": "银行流水",
  27141. "type": "string"
  27142. },
  27143. "branchbankid": {
  27144. "description": "银行支行号",
  27145. "type": "string"
  27146. },
  27147. "branchbankname": {
  27148. "description": "银行支行名称",
  27149. "type": "string"
  27150. },
  27151. "capamountout": {
  27152. "description": "出金(劣后本金) - 外部子账户",
  27153. "type": "number"
  27154. },
  27155. "certificatephotourl": {
  27156. "description": "凭证地址",
  27157. "type": "string"
  27158. },
  27159. "charge": {
  27160. "description": "手续费",
  27161. "type": "number"
  27162. },
  27163. "checkerrorflag": {
  27164. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27165. "type": "integer"
  27166. },
  27167. "currency": {
  27168. "description": "币种",
  27169. "type": "string"
  27170. },
  27171. "cusbankid": {
  27172. "description": "托管银行编号",
  27173. "type": "string"
  27174. },
  27175. "exchticket": {
  27176. "description": "银行服务流水号",
  27177. "type": "string"
  27178. },
  27179. "executetype": {
  27180. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27181. "type": "integer"
  27182. },
  27183. "extendinfo": {
  27184. "description": "扩展信息",
  27185. "type": "string"
  27186. },
  27187. "extoperateid": {
  27188. "description": "交易服务流水号",
  27189. "type": "integer"
  27190. },
  27191. "infamount": {
  27192. "description": "劣后金额(自有)",
  27193. "type": "number"
  27194. },
  27195. "logincode": {
  27196. "description": "登录账号(账号)",
  27197. "type": "string"
  27198. },
  27199. "netaddr": {
  27200. "description": "调转网址",
  27201. "type": "string"
  27202. },
  27203. "priamount": {
  27204. "description": "优先金额(授信)",
  27205. "type": "number"
  27206. },
  27207. "reauditid": {
  27208. "description": "复审人",
  27209. "type": "integer"
  27210. },
  27211. "reauditremark": {
  27212. "description": "复审备注",
  27213. "type": "string"
  27214. },
  27215. "reaudittime": {
  27216. "description": "复审时间",
  27217. "type": "string"
  27218. },
  27219. "relatedorderid": {
  27220. "description": "三方关联ID",
  27221. "type": "string"
  27222. },
  27223. "remark": {
  27224. "description": "备注",
  27225. "type": "string"
  27226. },
  27227. "remark2": {
  27228. "description": "备注(失败原因)",
  27229. "type": "string"
  27230. },
  27231. "soucreamount": {
  27232. "description": "原始出入金金额",
  27233. "type": "number"
  27234. },
  27235. "soucrecurrencyid": {
  27236. "description": "原始出入金币种",
  27237. "type": "integer"
  27238. },
  27239. "tradedate": {
  27240. "description": "交易日(yyyyMMdd)",
  27241. "type": "string"
  27242. },
  27243. "updatetime": {
  27244. "description": "更新时间(申请时间)",
  27245. "type": "string"
  27246. },
  27247. "userid": {
  27248. "description": "用户id",
  27249. "type": "integer"
  27250. },
  27251. "userinfotype": {
  27252. "description": "账户类型 1-个人 2-企业",
  27253. "type": "integer"
  27254. }
  27255. }
  27256. },
  27257. "models.QhjMgrBrokerApply": {
  27258. "type": "object",
  27259. "properties": {
  27260. "applicantid": {
  27261. "description": "申请人",
  27262. "type": "integer"
  27263. },
  27264. "applysrc": {
  27265. "description": "申请来源 - 1:管理端 2:终端",
  27266. "type": "integer"
  27267. },
  27268. "applystatus": {
  27269. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27270. "type": "integer"
  27271. },
  27272. "applytime": {
  27273. "description": "申请时间",
  27274. "type": "string"
  27275. },
  27276. "auditorid": {
  27277. "description": "审核人",
  27278. "type": "integer"
  27279. },
  27280. "auditremark": {
  27281. "description": "审核备注",
  27282. "type": "string"
  27283. },
  27284. "auditsrc": {
  27285. "description": "审核来源 - 1:管理端 2:终端",
  27286. "type": "integer"
  27287. },
  27288. "audittime": {
  27289. "description": "审核时间",
  27290. "type": "string"
  27291. },
  27292. "audittradedate": {
  27293. "description": "审核交易日(yyyyMMdd)",
  27294. "type": "string"
  27295. },
  27296. "brokerapplyid": {
  27297. "description": "申请ID(SEQ_BROKERAPPLY)",
  27298. "type": "integer"
  27299. },
  27300. "cardbackphotourl": {
  27301. "description": "证件背面图片地址",
  27302. "type": "string"
  27303. },
  27304. "cardfrontphotourl": {
  27305. "description": "证件正面图片地址",
  27306. "type": "string"
  27307. },
  27308. "cardnum": {
  27309. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27310. "type": "string"
  27311. },
  27312. "customername": {
  27313. "description": "姓名",
  27314. "type": "string"
  27315. },
  27316. "filterstatus": {
  27317. "description": "筛选条件",
  27318. "type": "string"
  27319. },
  27320. "logincode": {
  27321. "description": "登录代码",
  27322. "type": "string"
  27323. },
  27324. "mobile": {
  27325. "description": "手机号码",
  27326. "type": "string"
  27327. },
  27328. "parentuserid": {
  27329. "description": "所属机构id",
  27330. "type": "integer"
  27331. },
  27332. "parentusername": {
  27333. "description": "所属机构名称",
  27334. "type": "string"
  27335. },
  27336. "refereeuserid": {
  27337. "description": "推荐人id(经纪人)",
  27338. "type": "integer"
  27339. },
  27340. "refernum": {
  27341. "description": "推荐码",
  27342. "type": "string"
  27343. },
  27344. "remark": {
  27345. "description": "备注",
  27346. "type": "string"
  27347. },
  27348. "subarealevelpath": {
  27349. "description": "层级路径",
  27350. "type": "string"
  27351. },
  27352. "tradedate": {
  27353. "description": "交易日(yyyyMMdd)",
  27354. "type": "string"
  27355. },
  27356. "userid": {
  27357. "description": "申请人用户ID",
  27358. "type": "integer"
  27359. },
  27360. "userinfotype": {
  27361. "description": "用户类型 1-个人 2-企业",
  27362. "type": "integer"
  27363. },
  27364. "username": {
  27365. "description": "用户名称",
  27366. "type": "string"
  27367. }
  27368. }
  27369. },
  27370. "models.QhjMgrBrokerRewardReport": {
  27371. "type": "object",
  27372. "properties": {
  27373. "createtime": {
  27374. "description": "创建时间(注册时间)",
  27375. "type": "string"
  27376. },
  27377. "cycletime": {
  27378. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  27379. "type": "string"
  27380. },
  27381. "cycletype": {
  27382. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27383. "type": "integer"
  27384. },
  27385. "directtotalnum": {
  27386. "description": "直推总人数【期末】",
  27387. "type": "integer"
  27388. },
  27389. "indirecttotalnum": {
  27390. "description": "间推总人数【期末】",
  27391. "type": "integer"
  27392. },
  27393. "mobile": {
  27394. "description": "电话号码",
  27395. "type": "string"
  27396. },
  27397. "refereeuserid": {
  27398. "description": "推荐人id(经纪人id)",
  27399. "type": "integer"
  27400. },
  27401. "refereeusername": {
  27402. "description": "推荐人名称(经纪人) 上级经纪人名称",
  27403. "type": "string"
  27404. },
  27405. "refernum": {
  27406. "description": "推荐码",
  27407. "type": "string"
  27408. },
  27409. "subarealevelpath": {
  27410. "description": "用户层级路径",
  27411. "type": "string"
  27412. },
  27413. "todayrewardamount": {
  27414. "description": "奖励总金额【汇总】",
  27415. "type": "number"
  27416. },
  27417. "updatetime": {
  27418. "description": "更新时间",
  27419. "type": "string"
  27420. },
  27421. "userid": {
  27422. "description": "经纪人用户ID",
  27423. "type": "integer"
  27424. },
  27425. "userinfotype": {
  27426. "description": "用户类型 1-个人 2-企业",
  27427. "type": "integer"
  27428. },
  27429. "username": {
  27430. "description": "用户名称",
  27431. "type": "string"
  27432. }
  27433. }
  27434. },
  27435. "models.QhjMgrContract": {
  27436. "type": "object",
  27437. "properties": {
  27438. "contractconfirmtime": {
  27439. "description": "合同确认时间(时间)",
  27440. "type": "string"
  27441. },
  27442. "currisklevel": {
  27443. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27444. "type": "integer"
  27445. },
  27446. "decimalplace": {
  27447. "description": "商品报价小数位",
  27448. "type": "integer"
  27449. },
  27450. "enumdicname": {
  27451. "description": "单位名称",
  27452. "type": "string"
  27453. },
  27454. "goodscode": {
  27455. "description": "商品代码",
  27456. "type": "string"
  27457. },
  27458. "goodsid": {
  27459. "description": "商品ID [5:融资单]",
  27460. "type": "integer"
  27461. },
  27462. "goodsname": {
  27463. "description": "商品名称",
  27464. "type": "string"
  27465. },
  27466. "goodunitid": {
  27467. "description": "商品单位id",
  27468. "type": "integer"
  27469. },
  27470. "initmargin": {
  27471. "description": "初始保证金(首付款)",
  27472. "type": "number"
  27473. },
  27474. "lenderamount": {
  27475. "description": "贷款金额(总额|订单总额)",
  27476. "type": "number"
  27477. },
  27478. "logincode": {
  27479. "description": "账号(登录代码)",
  27480. "type": "string"
  27481. },
  27482. "marginratio": {
  27483. "description": "保证金比率(首付比例)",
  27484. "type": "number"
  27485. },
  27486. "mobile": {
  27487. "description": "电话号码(用户资料里的电话)",
  27488. "type": "string"
  27489. },
  27490. "payamount": {
  27491. "description": "已付(已付货款)",
  27492. "type": "number"
  27493. },
  27494. "reckonrecovermargin": {
  27495. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27496. "type": "number"
  27497. },
  27498. "recoveredmargin": {
  27499. "description": "已追缴保证金",
  27500. "type": "number"
  27501. },
  27502. "remainamount": {
  27503. "description": "合同剩余金额(融资额)",
  27504. "type": "number"
  27505. },
  27506. "scfcontractid": {
  27507. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27508. "type": "string"
  27509. },
  27510. "scfcontractstatus": {
  27511. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27512. "type": "integer"
  27513. },
  27514. "scfcontracttype": {
  27515. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27516. "type": "integer"
  27517. },
  27518. "totalinterest": {
  27519. "description": "已计总利息(利息)",
  27520. "type": "number"
  27521. },
  27522. "tradedate": {
  27523. "description": "交易日",
  27524. "type": "string"
  27525. },
  27526. "tradeprice": {
  27527. "description": "成交价格(成本价格)",
  27528. "type": "number"
  27529. },
  27530. "userid": {
  27531. "description": "用户ID",
  27532. "type": "integer"
  27533. },
  27534. "userinfotype": {
  27535. "description": "用户类型 1-个人 2-企业",
  27536. "type": "integer"
  27537. },
  27538. "username": {
  27539. "description": "用户名称",
  27540. "type": "string"
  27541. },
  27542. "wrqty": {
  27543. "description": "仓单数量(数量)",
  27544. "type": "number"
  27545. }
  27546. }
  27547. },
  27548. "models.QhjMgrCustomer": {
  27549. "type": "object",
  27550. "properties": {
  27551. "address": {
  27552. "description": "通讯地址",
  27553. "type": "string"
  27554. },
  27555. "attachment1": {
  27556. "description": "附件1",
  27557. "type": "string"
  27558. },
  27559. "audittime": {
  27560. "description": "审核时间",
  27561. "type": "string"
  27562. },
  27563. "birthday": {
  27564. "description": "生日",
  27565. "type": "string"
  27566. },
  27567. "brokerid": {
  27568. "description": "所属客户经理id",
  27569. "type": "integer"
  27570. },
  27571. "brokername": {
  27572. "description": "所属客户经理名称",
  27573. "type": "string"
  27574. },
  27575. "cardbackphotourl": {
  27576. "description": "证件反面图片地址",
  27577. "type": "string"
  27578. },
  27579. "cardfrontphotourl": {
  27580. "description": "证件正面图片地址",
  27581. "type": "string"
  27582. },
  27583. "cardnum": {
  27584. "description": "证件号码",
  27585. "type": "string"
  27586. },
  27587. "cardtype": {
  27588. "description": "证件类型",
  27589. "type": "integer"
  27590. },
  27591. "cardtypename": {
  27592. "description": "证件类型名称",
  27593. "type": "string"
  27594. },
  27595. "cityid": {
  27596. "description": "市",
  27597. "type": "integer"
  27598. },
  27599. "cityname": {
  27600. "description": "城市名称",
  27601. "type": "string"
  27602. },
  27603. "contactname": {
  27604. "description": "联系人",
  27605. "type": "string"
  27606. },
  27607. "countryid": {
  27608. "description": "国家",
  27609. "type": "integer"
  27610. },
  27611. "countryname": {
  27612. "description": "国家名称",
  27613. "type": "string"
  27614. },
  27615. "createtime": {
  27616. "description": "创建时间",
  27617. "type": "string"
  27618. },
  27619. "customername": {
  27620. "description": "客户名称",
  27621. "type": "string"
  27622. },
  27623. "districtid": {
  27624. "description": "区域",
  27625. "type": "integer"
  27626. },
  27627. "districtname": {
  27628. "description": "地区名称",
  27629. "type": "string"
  27630. },
  27631. "email": {
  27632. "description": "邮件",
  27633. "type": "string"
  27634. },
  27635. "legalpersonname": {
  27636. "description": "法人姓名(企业)",
  27637. "type": "string"
  27638. },
  27639. "logincode": {
  27640. "description": "登录账号(代码)",
  27641. "type": "string"
  27642. },
  27643. "memberuserid": {
  27644. "description": "所属机构ID(所属会员)",
  27645. "type": "integer"
  27646. },
  27647. "memberusername": {
  27648. "description": "所属会员名称",
  27649. "type": "string"
  27650. },
  27651. "mobile": {
  27652. "description": "手机号码",
  27653. "type": "string"
  27654. },
  27655. "modifytime": {
  27656. "description": "修改时间",
  27657. "type": "string"
  27658. },
  27659. "nickname": {
  27660. "description": "昵称",
  27661. "type": "string"
  27662. },
  27663. "parentuserid": {
  27664. "description": "上级机构(所属机构)",
  27665. "type": "integer"
  27666. },
  27667. "parentusername": {
  27668. "description": "所属机构名称",
  27669. "type": "string"
  27670. },
  27671. "provinceid": {
  27672. "description": "省",
  27673. "type": "integer"
  27674. },
  27675. "provincename": {
  27676. "description": "省名称",
  27677. "type": "string"
  27678. },
  27679. "proxystatementurl": {
  27680. "description": "授权委托书",
  27681. "type": "string"
  27682. },
  27683. "querytype": {
  27684. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27685. "type": "integer"
  27686. },
  27687. "remark": {
  27688. "description": "备注",
  27689. "type": "string"
  27690. },
  27691. "sex": {
  27692. "description": "性别 0-女 1-男",
  27693. "type": "integer"
  27694. },
  27695. "status": {
  27696. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27697. "type": "integer"
  27698. },
  27699. "statusdesc": {
  27700. "description": "账户状态中文描述",
  27701. "type": "string"
  27702. },
  27703. "taxpayernum": {
  27704. "description": "纳税人识别号",
  27705. "type": "string"
  27706. },
  27707. "telphone": {
  27708. "description": "联系电话",
  27709. "type": "string"
  27710. },
  27711. "userid": {
  27712. "description": "用户ID",
  27713. "type": "integer"
  27714. },
  27715. "userinfotype": {
  27716. "description": "客户类型 1-个人 2-企业",
  27717. "type": "integer"
  27718. },
  27719. "username": {
  27720. "description": "用户名称",
  27721. "type": "string"
  27722. }
  27723. }
  27724. },
  27725. "models.QhjMgrPickGoods": {
  27726. "type": "object",
  27727. "properties": {
  27728. "enumdicname": {
  27729. "description": "单位名称(提货商品)",
  27730. "type": "string"
  27731. },
  27732. "goodsid": {
  27733. "description": "商品id",
  27734. "type": "integer"
  27735. },
  27736. "imageaddress": {
  27737. "description": "图片",
  27738. "type": "string"
  27739. },
  27740. "modifierid": {
  27741. "description": "修改人",
  27742. "type": "integer"
  27743. },
  27744. "modifiername": {
  27745. "description": "修改人名称",
  27746. "type": "string"
  27747. },
  27748. "modifysrc": {
  27749. "description": "修改来源 - 1:管理端 2:终端",
  27750. "type": "integer"
  27751. },
  27752. "pickupgoodsagreeunit": {
  27753. "description": "合约乘数",
  27754. "type": "number"
  27755. },
  27756. "pickupgoodsdesc": {
  27757. "description": "描述",
  27758. "type": "string"
  27759. },
  27760. "pickupgoodsid": {
  27761. "description": "提货商品ID",
  27762. "type": "string"
  27763. },
  27764. "pickupgoodsname": {
  27765. "description": "提货商品名称",
  27766. "type": "string"
  27767. },
  27768. "pickupgoodsstatus": {
  27769. "description": "状态 - 1:正常 2:停用 3:注销",
  27770. "type": "integer"
  27771. },
  27772. "pickupgoodsunitid": {
  27773. "description": "单位ID",
  27774. "type": "integer"
  27775. },
  27776. "pickupratio": {
  27777. "description": "提货系数",
  27778. "type": "number"
  27779. },
  27780. "preparedays": {
  27781. "description": "备货期(天)",
  27782. "type": "integer"
  27783. },
  27784. "remark": {
  27785. "description": "备注",
  27786. "type": "string"
  27787. },
  27788. "updatetime": {
  27789. "description": "更新时间",
  27790. "type": "string"
  27791. }
  27792. }
  27793. },
  27794. "models.QhjMgrPositionRsp": {
  27795. "type": "object",
  27796. "properties": {
  27797. "accountid": {
  27798. "description": "账号Id",
  27799. "type": "integer"
  27800. },
  27801. "accountname": {
  27802. "description": "用户名称",
  27803. "type": "string"
  27804. },
  27805. "agreeunit": {
  27806. "description": "合约乘数",
  27807. "type": "number"
  27808. },
  27809. "averageprice": {
  27810. "description": "均价",
  27811. "type": "number"
  27812. },
  27813. "avialqty": {
  27814. "description": "可用数量",
  27815. "type": "number"
  27816. },
  27817. "decimalplace": {
  27818. "description": "报价小数位",
  27819. "type": "integer"
  27820. },
  27821. "enumdicname": {
  27822. "description": "单位名称(商品)",
  27823. "type": "string"
  27824. },
  27825. "frozenqty": {
  27826. "description": "冻结数量",
  27827. "type": "number"
  27828. },
  27829. "goodscode": {
  27830. "description": "商品代码(内部)",
  27831. "type": "string"
  27832. },
  27833. "goodsid": {
  27834. "description": "商品Id",
  27835. "type": "integer"
  27836. },
  27837. "goodsname": {
  27838. "description": "商品名称",
  27839. "type": "string"
  27840. },
  27841. "goodunitid": {
  27842. "description": "报价单位ID",
  27843. "type": "integer"
  27844. },
  27845. "holderamount": {
  27846. "description": "金额",
  27847. "type": "number"
  27848. },
  27849. "holderqty": {
  27850. "description": "持有数量",
  27851. "type": "number"
  27852. },
  27853. "holdertype": {
  27854. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27855. "type": "integer"
  27856. },
  27857. "logincode": {
  27858. "description": "登录代码(账户)",
  27859. "type": "string"
  27860. },
  27861. "marketid": {
  27862. "description": "市场id",
  27863. "type": "integer"
  27864. },
  27865. "qtydecimalplace": {
  27866. "description": "成交量小数位",
  27867. "type": "integer"
  27868. },
  27869. "trademode": {
  27870. "description": "交易模式",
  27871. "type": "integer"
  27872. },
  27873. "userid": {
  27874. "description": "用户id",
  27875. "type": "integer"
  27876. },
  27877. "userinfotype": {
  27878. "description": "账户类型 1-个人 2-企业",
  27879. "type": "integer"
  27880. }
  27881. }
  27882. },
  27883. "models.QhjMgrSubArea": {
  27884. "type": "object",
  27885. "properties": {
  27886. "accountname": {
  27887. "description": "账户名称(机构名称)",
  27888. "type": "string"
  27889. },
  27890. "memberuserid": {
  27891. "description": "所属会员ID",
  27892. "type": "integer"
  27893. },
  27894. "parenttopuser": {
  27895. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27896. "type": "string"
  27897. },
  27898. "parentuserid": {
  27899. "description": "所属机构ID",
  27900. "type": "integer"
  27901. },
  27902. "rootuserid": {
  27903. "description": "根用户ID",
  27904. "type": "string"
  27905. },
  27906. "subaccountlevel": {
  27907. "description": "子账户层数",
  27908. "type": "integer"
  27909. },
  27910. "subarealevelpath": {
  27911. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27912. "type": "string"
  27913. },
  27914. "userid": {
  27915. "description": "用户ID",
  27916. "type": "integer"
  27917. },
  27918. "usertype": {
  27919. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27920. "type": "integer"
  27921. }
  27922. }
  27923. },
  27924. "models.QhjMgrTradeDetailRsp": {
  27925. "type": "object",
  27926. "properties": {
  27927. "accountid": {
  27928. "description": "资金账号",
  27929. "type": "integer"
  27930. },
  27931. "accountname": {
  27932. "description": "用户名称",
  27933. "type": "string"
  27934. },
  27935. "agreeunit": {
  27936. "description": "合约乘数",
  27937. "type": "number"
  27938. },
  27939. "buyorsell": {
  27940. "description": "成交类型(方向) 0:买 1:卖",
  27941. "type": "integer"
  27942. },
  27943. "decimalplace": {
  27944. "description": "报价小数位",
  27945. "type": "integer"
  27946. },
  27947. "enumdicname": {
  27948. "description": "单位名称(商品)",
  27949. "type": "string"
  27950. },
  27951. "goodscode": {
  27952. "description": "商品代码(内部)",
  27953. "type": "string"
  27954. },
  27955. "goodsid": {
  27956. "description": "商品id",
  27957. "type": "integer"
  27958. },
  27959. "goodsname": {
  27960. "description": "商品名称",
  27961. "type": "string"
  27962. },
  27963. "goodunitid": {
  27964. "description": "报价单位ID",
  27965. "type": "integer"
  27966. },
  27967. "logincode": {
  27968. "description": "登录代码(账户)",
  27969. "type": "string"
  27970. },
  27971. "marketid": {
  27972. "description": "市场id",
  27973. "type": "integer"
  27974. },
  27975. "orderid": {
  27976. "description": "关联委托单号",
  27977. "type": "string"
  27978. },
  27979. "qtydecimalplace": {
  27980. "description": "成交量小数位",
  27981. "type": "integer"
  27982. },
  27983. "tradeamount": {
  27984. "description": "金额",
  27985. "type": "number"
  27986. },
  27987. "tradedate": {
  27988. "description": "交易日",
  27989. "type": "string"
  27990. },
  27991. "tradeid": {
  27992. "description": "成交单号",
  27993. "type": "string"
  27994. },
  27995. "trademode": {
  27996. "description": "交易模式",
  27997. "type": "integer"
  27998. },
  27999. "tradeprice": {
  28000. "description": "价格",
  28001. "type": "number"
  28002. },
  28003. "tradeqty": {
  28004. "description": "数量",
  28005. "type": "number"
  28006. },
  28007. "tradetime": {
  28008. "description": "成交时间",
  28009. "type": "string"
  28010. },
  28011. "userid": {
  28012. "description": "用户id",
  28013. "type": "integer"
  28014. },
  28015. "userinfotype": {
  28016. "description": "账户类型 1-个人 2-企业",
  28017. "type": "integer"
  28018. }
  28019. }
  28020. },
  28021. "models.QhjMgrTradeOrderDetailRsp": {
  28022. "type": "object",
  28023. "properties": {
  28024. "accountid": {
  28025. "description": "资金账号",
  28026. "type": "integer"
  28027. },
  28028. "accountname": {
  28029. "description": "用户名称",
  28030. "type": "string"
  28031. },
  28032. "agreeunit": {
  28033. "description": "合约乘数",
  28034. "type": "number"
  28035. },
  28036. "amount": {
  28037. "description": "金额",
  28038. "type": "number"
  28039. },
  28040. "decimalplace": {
  28041. "description": "报价小数位",
  28042. "type": "integer"
  28043. },
  28044. "enumdicname": {
  28045. "description": "单位名称(商品)",
  28046. "type": "string"
  28047. },
  28048. "goodscode": {
  28049. "description": "商品代码(内部)",
  28050. "type": "string"
  28051. },
  28052. "goodsid": {
  28053. "description": "商品id",
  28054. "type": "integer"
  28055. },
  28056. "goodsname": {
  28057. "description": "商品名称",
  28058. "type": "string"
  28059. },
  28060. "goodunitid": {
  28061. "description": "报价单位ID",
  28062. "type": "integer"
  28063. },
  28064. "logincode": {
  28065. "description": "登录代码(账户)",
  28066. "type": "string"
  28067. },
  28068. "marketid": {
  28069. "description": "市场id",
  28070. "type": "integer"
  28071. },
  28072. "orderid": {
  28073. "description": "关联委托单号",
  28074. "type": "string"
  28075. },
  28076. "orderprice": {
  28077. "description": "价格",
  28078. "type": "number"
  28079. },
  28080. "orderqty": {
  28081. "description": "数量",
  28082. "type": "number"
  28083. },
  28084. "orderstatus": {
  28085. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28086. "type": "integer"
  28087. },
  28088. "ordertime": {
  28089. "description": "委托时间",
  28090. "type": "string"
  28091. },
  28092. "qtydecimalplace": {
  28093. "description": "成交量小数位",
  28094. "type": "integer"
  28095. },
  28096. "tradedate": {
  28097. "description": "交易日",
  28098. "type": "string"
  28099. },
  28100. "trademode": {
  28101. "description": "交易模式",
  28102. "type": "integer"
  28103. },
  28104. "userid": {
  28105. "description": "用户id",
  28106. "type": "integer"
  28107. },
  28108. "userinfotype": {
  28109. "description": "账户类型 1-个人 2-企业",
  28110. "type": "integer"
  28111. }
  28112. }
  28113. },
  28114. "models.QhjMgrTradePayOrder": {
  28115. "type": "object",
  28116. "properties": {
  28117. "accountname": {
  28118. "description": "用户名称",
  28119. "type": "string"
  28120. },
  28121. "advanceratio": {
  28122. "description": "首付比率",
  28123. "type": "number"
  28124. },
  28125. "agreeunit": {
  28126. "description": "合约乘数",
  28127. "type": "number"
  28128. },
  28129. "buyaccountid": {
  28130. "description": "买方账号ID[报价币种]",
  28131. "type": "integer"
  28132. },
  28133. "buyorderid": {
  28134. "description": "买方委托单号(关联单号)",
  28135. "type": "string"
  28136. },
  28137. "createtime": {
  28138. "description": "创建时间",
  28139. "type": "string"
  28140. },
  28141. "decimalplace": {
  28142. "description": "报价小数位",
  28143. "type": "integer"
  28144. },
  28145. "enumdicname": {
  28146. "description": "单位名称(商品)",
  28147. "type": "string"
  28148. },
  28149. "goodscode": {
  28150. "description": "商品代码(内部)",
  28151. "type": "string"
  28152. },
  28153. "goodsid": {
  28154. "description": "商品ID",
  28155. "type": "integer"
  28156. },
  28157. "goodsname": {
  28158. "description": "商品名称",
  28159. "type": "string"
  28160. },
  28161. "goodunitid": {
  28162. "description": "报价单位ID",
  28163. "type": "integer"
  28164. },
  28165. "logincode": {
  28166. "description": "登录代码(账户)",
  28167. "type": "string"
  28168. },
  28169. "marketid": {
  28170. "description": "市场id",
  28171. "type": "integer"
  28172. },
  28173. "offamount": {
  28174. "description": "优惠金额",
  28175. "type": "number"
  28176. },
  28177. "operatetype": {
  28178. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28179. "type": "integer"
  28180. },
  28181. "payamount": {
  28182. "description": "支付金额(金额)",
  28183. "type": "number"
  28184. },
  28185. "payflag": {
  28186. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28187. "type": "integer"
  28188. },
  28189. "paylimitedtime": {
  28190. "description": "支付期限",
  28191. "type": "string"
  28192. },
  28193. "paytime": {
  28194. "description": "付款时间",
  28195. "type": "string"
  28196. },
  28197. "qtydecimalplace": {
  28198. "description": "成交量小数位",
  28199. "type": "integer"
  28200. },
  28201. "sellaccountid": {
  28202. "description": "卖方账号ID[报价币种]",
  28203. "type": "integer"
  28204. },
  28205. "sellorderid": {
  28206. "description": "卖方委托单号",
  28207. "type": "string"
  28208. },
  28209. "tradeamount": {
  28210. "description": "成交金额(优惠后金额)",
  28211. "type": "number"
  28212. },
  28213. "tradecharge": {
  28214. "description": "成交手续费(买方)",
  28215. "type": "number"
  28216. },
  28217. "tradedate": {
  28218. "description": "交易日(yyyyMMdd)",
  28219. "type": "string"
  28220. },
  28221. "tradeid": {
  28222. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28223. "type": "string"
  28224. },
  28225. "trademode": {
  28226. "description": "交易模式",
  28227. "type": "integer"
  28228. },
  28229. "tradeprice": {
  28230. "description": "成交价格(价格)",
  28231. "type": "number"
  28232. },
  28233. "tradeqty": {
  28234. "description": "成交数量(数量)",
  28235. "type": "number"
  28236. },
  28237. "tradetime": {
  28238. "description": "成交时间",
  28239. "type": "string"
  28240. },
  28241. "userid": {
  28242. "description": "用户id",
  28243. "type": "integer"
  28244. },
  28245. "userinfotype": {
  28246. "description": "账户类型 1-个人 2-企业",
  28247. "type": "integer"
  28248. }
  28249. }
  28250. },
  28251. "models.QhjMyTeamEx": {
  28252. "type": "object",
  28253. "properties": {
  28254. "accountname": {
  28255. "description": "用户名称",
  28256. "type": "string"
  28257. },
  28258. "accountstatus": {
  28259. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28260. "type": "integer"
  28261. },
  28262. "createtime": {
  28263. "description": "创建时间",
  28264. "type": "string"
  28265. },
  28266. "mobile": {
  28267. "description": "手机号码",
  28268. "type": "string"
  28269. },
  28270. "refereeuserid": {
  28271. "description": "推荐人id",
  28272. "type": "integer"
  28273. },
  28274. "refernum": {
  28275. "description": "推荐码",
  28276. "type": "string"
  28277. },
  28278. "subList": {
  28279. "type": "array",
  28280. "items": {
  28281. "$ref": "#/definitions/models.QhjMyTeamEx"
  28282. }
  28283. },
  28284. "userid": {
  28285. "description": "用户id",
  28286. "type": "integer"
  28287. },
  28288. "userinfotype": {
  28289. "description": "用户类型 1-个人 2-企业",
  28290. "type": "integer"
  28291. }
  28292. }
  28293. },
  28294. "models.QhjNodeAgreementConfig": {
  28295. "type": "object",
  28296. "properties": {
  28297. "agreementcontent": {
  28298. "description": "协议内容",
  28299. "type": "string"
  28300. },
  28301. "agreementid": {
  28302. "description": "协议ID",
  28303. "type": "integer"
  28304. },
  28305. "agreementname": {
  28306. "description": "协议名称",
  28307. "type": "string"
  28308. },
  28309. "agreementno": {
  28310. "description": "协议编号",
  28311. "type": "string"
  28312. },
  28313. "agreementtype": {
  28314. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28315. "type": "integer"
  28316. },
  28317. "agreementversion": {
  28318. "description": "协议版本号",
  28319. "type": "integer"
  28320. },
  28321. "configid": {
  28322. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28323. "type": "integer"
  28324. },
  28325. "createtime": {
  28326. "description": "创建时间",
  28327. "type": "string"
  28328. },
  28329. "goodsid": {
  28330. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28331. "type": "integer"
  28332. },
  28333. "nodetype": {
  28334. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28335. "type": "integer"
  28336. }
  28337. }
  28338. },
  28339. "models.QhjParentAreaList": {
  28340. "type": "object",
  28341. "properties": {
  28342. "accountname": {
  28343. "description": "账户名称(机构名称)",
  28344. "type": "string"
  28345. },
  28346. "userid": {
  28347. "description": "用户ID",
  28348. "type": "integer"
  28349. },
  28350. "usertype": {
  28351. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28352. "type": "integer"
  28353. }
  28354. }
  28355. },
  28356. "models.QhjPayOrder": {
  28357. "type": "object",
  28358. "properties": {
  28359. "advanceratio": {
  28360. "description": "首付比率",
  28361. "type": "number"
  28362. },
  28363. "buyaccountid": {
  28364. "description": "买方账号ID[报价币种]",
  28365. "type": "integer"
  28366. },
  28367. "buyorderid": {
  28368. "description": "买方委托单号",
  28369. "type": "string"
  28370. },
  28371. "createtime": {
  28372. "description": "创建时间",
  28373. "type": "string"
  28374. },
  28375. "decimalplace": {
  28376. "description": "商品报价小数位",
  28377. "type": "integer"
  28378. },
  28379. "enumdicname": {
  28380. "description": "单位名称",
  28381. "type": "string"
  28382. },
  28383. "goodscode": {
  28384. "description": "商品代码",
  28385. "type": "string"
  28386. },
  28387. "goodsid": {
  28388. "description": "商品ID",
  28389. "type": "integer"
  28390. },
  28391. "goodsname": {
  28392. "description": "商品名称",
  28393. "type": "string"
  28394. },
  28395. "goodunitid": {
  28396. "description": "商品单位id",
  28397. "type": "integer"
  28398. },
  28399. "marketid": {
  28400. "description": "市场ID",
  28401. "type": "integer"
  28402. },
  28403. "offamount": {
  28404. "description": "优惠金额",
  28405. "type": "number"
  28406. },
  28407. "operatetype": {
  28408. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28409. "type": "integer"
  28410. },
  28411. "payamount": {
  28412. "description": "支付金额",
  28413. "type": "number"
  28414. },
  28415. "payflag": {
  28416. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28417. "type": "integer"
  28418. },
  28419. "paylimitedtime": {
  28420. "description": "支付期限",
  28421. "type": "string"
  28422. },
  28423. "paytime": {
  28424. "description": "付款时间",
  28425. "type": "string"
  28426. },
  28427. "qtydecimalplace": {
  28428. "description": "成交量小数位",
  28429. "type": "integer"
  28430. },
  28431. "sellaccountid": {
  28432. "description": "卖方账号ID[报价币种]",
  28433. "type": "integer"
  28434. },
  28435. "sellorderid": {
  28436. "description": "卖方委托单号",
  28437. "type": "string"
  28438. },
  28439. "tradeamount": {
  28440. "description": "成交金额(优惠后金额)",
  28441. "type": "number"
  28442. },
  28443. "tradecharge": {
  28444. "description": "成交手续费(买方)",
  28445. "type": "number"
  28446. },
  28447. "tradedate": {
  28448. "description": "交易日(yyyyMMdd)",
  28449. "type": "string"
  28450. },
  28451. "tradeid": {
  28452. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28453. "type": "string"
  28454. },
  28455. "tradeprice": {
  28456. "description": "成交价格",
  28457. "type": "number"
  28458. },
  28459. "tradeqty": {
  28460. "description": "成交数量",
  28461. "type": "number"
  28462. }
  28463. }
  28464. },
  28465. "models.QhjPickArea": {
  28466. "type": "object",
  28467. "properties": {
  28468. "address": {
  28469. "description": "详细地址",
  28470. "type": "string"
  28471. },
  28472. "cityid": {
  28473. "description": "市",
  28474. "type": "integer"
  28475. },
  28476. "cityname": {
  28477. "description": "城市名称",
  28478. "type": "string"
  28479. },
  28480. "countryid": {
  28481. "description": "国家",
  28482. "type": "integer"
  28483. },
  28484. "countryname": {
  28485. "description": "国家名称",
  28486. "type": "string"
  28487. },
  28488. "districtid": {
  28489. "description": "地区",
  28490. "type": "integer"
  28491. },
  28492. "districtname": {
  28493. "description": "地区名称",
  28494. "type": "string"
  28495. },
  28496. "fromuserid": {
  28497. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28498. "type": "integer"
  28499. },
  28500. "fromusername": {
  28501. "description": "所属机构名称",
  28502. "type": "string"
  28503. },
  28504. "provinceid": {
  28505. "description": "省",
  28506. "type": "integer"
  28507. },
  28508. "provincename": {
  28509. "description": "省名称",
  28510. "type": "string"
  28511. },
  28512. "suborgtype": {
  28513. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28514. "type": "integer"
  28515. },
  28516. "userid": {
  28517. "description": "机构用户ID 其他做市关系,都设置为 1",
  28518. "type": "integer"
  28519. },
  28520. "username": {
  28521. "description": "机构用户名称(门店门称)",
  28522. "type": "string"
  28523. }
  28524. }
  28525. },
  28526. "models.QhjPickGoods": {
  28527. "type": "object",
  28528. "properties": {
  28529. "enumdicname": {
  28530. "description": "单位名称(提货商品)",
  28531. "type": "string"
  28532. },
  28533. "goodsid": {
  28534. "description": "商品id",
  28535. "type": "integer"
  28536. },
  28537. "imageaddress": {
  28538. "description": "图片",
  28539. "type": "string"
  28540. },
  28541. "modifierid": {
  28542. "description": "修改人",
  28543. "type": "integer"
  28544. },
  28545. "modifiername": {
  28546. "description": "修改人名称",
  28547. "type": "string"
  28548. },
  28549. "modifysrc": {
  28550. "description": "修改来源 - 1:管理端 2:终端",
  28551. "type": "integer"
  28552. },
  28553. "pickupgoodsagreeunit": {
  28554. "description": "合约乘数",
  28555. "type": "number"
  28556. },
  28557. "pickupgoodsdesc": {
  28558. "description": "描述",
  28559. "type": "string"
  28560. },
  28561. "pickupgoodsid": {
  28562. "description": "提货商品ID",
  28563. "type": "string"
  28564. },
  28565. "pickupgoodsname": {
  28566. "description": "提货商品名称",
  28567. "type": "string"
  28568. },
  28569. "pickupgoodsstatus": {
  28570. "description": "状态 - 1:正常 2:停用 3:注销",
  28571. "type": "integer"
  28572. },
  28573. "pickupgoodsunitid": {
  28574. "description": "单位ID",
  28575. "type": "integer"
  28576. },
  28577. "pickupratio": {
  28578. "description": "提货系数",
  28579. "type": "number"
  28580. },
  28581. "preparedays": {
  28582. "description": "备货期(天)",
  28583. "type": "integer"
  28584. },
  28585. "remark": {
  28586. "description": "备注",
  28587. "type": "string"
  28588. },
  28589. "updatetime": {
  28590. "description": "更新时间",
  28591. "type": "string"
  28592. }
  28593. }
  28594. },
  28595. "models.QhjRSTriggerLog": {
  28596. "type": "object",
  28597. "properties": {
  28598. "accountid": {
  28599. "description": "用户资金账户",
  28600. "type": "integer"
  28601. },
  28602. "accountname": {
  28603. "description": "账号名称(ACCOUNTID对应的名称)",
  28604. "type": "string"
  28605. },
  28606. "currencyid": {
  28607. "description": "币种id",
  28608. "type": "integer"
  28609. },
  28610. "currencyname": {
  28611. "description": "币种名称",
  28612. "type": "string"
  28613. },
  28614. "decimalplace": {
  28615. "description": "商品报价小数位",
  28616. "type": "integer"
  28617. },
  28618. "enumdicname": {
  28619. "description": "单位名称",
  28620. "type": "string"
  28621. },
  28622. "goodscode": {
  28623. "description": "定投商品代码",
  28624. "type": "string"
  28625. },
  28626. "goodsid": {
  28627. "description": "定投商品ID",
  28628. "type": "integer"
  28629. },
  28630. "goodsname": {
  28631. "description": "定投商品名称",
  28632. "type": "string"
  28633. },
  28634. "goodunitid": {
  28635. "description": "定投商品单位id",
  28636. "type": "integer"
  28637. },
  28638. "logid": {
  28639. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28640. "type": "string"
  28641. },
  28642. "logincode": {
  28643. "description": "账号(登录代码)",
  28644. "type": "string"
  28645. },
  28646. "qtydecimalplace": {
  28647. "description": "成交量小数位",
  28648. "type": "integer"
  28649. },
  28650. "regularlycycle": {
  28651. "description": "定投频率 - 1:每周 2:每月",
  28652. "type": "integer"
  28653. },
  28654. "regularlycyclevalue": {
  28655. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28656. "type": "string"
  28657. },
  28658. "regularlymode": {
  28659. "description": "定投方式 - 1:按数量 2:按金额",
  28660. "type": "integer"
  28661. },
  28662. "regularlymodevalue": {
  28663. "description": "定投方式值 - 数量或金额",
  28664. "type": "number"
  28665. },
  28666. "regularlystrategyid": {
  28667. "description": "定投策略ID",
  28668. "type": "integer"
  28669. },
  28670. "retcode": {
  28671. "description": "错误码",
  28672. "type": "string"
  28673. },
  28674. "tradeid": {
  28675. "description": "成交单ID",
  28676. "type": "string"
  28677. },
  28678. "triggeramount": {
  28679. "description": "触发金额",
  28680. "type": "number"
  28681. },
  28682. "triggerqty": {
  28683. "description": "触发数量",
  28684. "type": "number"
  28685. },
  28686. "triggerstatus": {
  28687. "description": "触发状态 - 1:成功 2:失败",
  28688. "type": "integer"
  28689. },
  28690. "triggertime": {
  28691. "description": "触发时间",
  28692. "type": "string"
  28693. },
  28694. "triggertradedate": {
  28695. "description": "触发交易日",
  28696. "type": "string"
  28697. },
  28698. "userid": {
  28699. "description": "所属用户ID",
  28700. "type": "integer"
  28701. },
  28702. "userinfotype": {
  28703. "description": "用户类型 1-个人 2-企业",
  28704. "type": "integer"
  28705. },
  28706. "username": {
  28707. "description": "用户名称(userid对应的名称)",
  28708. "type": "string"
  28709. }
  28710. }
  28711. },
  28712. "models.QhjRStrategy": {
  28713. "type": "object",
  28714. "properties": {
  28715. "accountid": {
  28716. "description": "用户资金账户",
  28717. "type": "integer"
  28718. },
  28719. "accountname": {
  28720. "description": "账号名称(ACCOUNTID对应的名称)",
  28721. "type": "string"
  28722. },
  28723. "currencyid": {
  28724. "description": "币种id",
  28725. "type": "integer"
  28726. },
  28727. "currencyname": {
  28728. "description": "币种名称",
  28729. "type": "string"
  28730. },
  28731. "decimalplace": {
  28732. "description": "商品报价小数位",
  28733. "type": "integer"
  28734. },
  28735. "enumdicname": {
  28736. "description": "单位名称",
  28737. "type": "string"
  28738. },
  28739. "goodscode": {
  28740. "description": "定投商品代码",
  28741. "type": "string"
  28742. },
  28743. "goodsid": {
  28744. "description": "定投商品ID",
  28745. "type": "integer"
  28746. },
  28747. "goodsname": {
  28748. "description": "定投商品名称",
  28749. "type": "string"
  28750. },
  28751. "goodunitid": {
  28752. "description": "定投商品单位id",
  28753. "type": "integer"
  28754. },
  28755. "lasteffecttradedate": {
  28756. "description": "最新生效交易日",
  28757. "type": "string"
  28758. },
  28759. "laststoptradedate": {
  28760. "description": "最新暂停交易日",
  28761. "type": "string"
  28762. },
  28763. "lasttriggertradedate": {
  28764. "description": "最新触发交易日",
  28765. "type": "string"
  28766. },
  28767. "logincode": {
  28768. "description": "账号(登录代码)",
  28769. "type": "string"
  28770. },
  28771. "nexttriggeramount": {
  28772. "description": "下次触发金额",
  28773. "type": "number"
  28774. },
  28775. "nexttriggerdate": {
  28776. "description": "下次触发日期",
  28777. "type": "string"
  28778. },
  28779. "nexttriggerqty": {
  28780. "description": "下次触发数量 [按小数位放大值]",
  28781. "type": "number"
  28782. },
  28783. "qtydecimalplace": {
  28784. "description": "成交量小数位",
  28785. "type": "integer"
  28786. },
  28787. "regularlycycle": {
  28788. "description": "定投频率 - 1:每周 2:每月",
  28789. "type": "integer"
  28790. },
  28791. "regularlycyclevalue": {
  28792. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28793. "type": "string"
  28794. },
  28795. "regularlymode": {
  28796. "description": "定投方式 - 1:按数量 2:按金额",
  28797. "type": "integer"
  28798. },
  28799. "regularlymodevalue": {
  28800. "description": "定投方式值 - 数量或金额",
  28801. "type": "number"
  28802. },
  28803. "regularlystrategyid": {
  28804. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28805. "type": "integer"
  28806. },
  28807. "regularlystrategystatus": {
  28808. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28809. "type": "integer"
  28810. },
  28811. "remark": {
  28812. "description": "备注",
  28813. "type": "string"
  28814. },
  28815. "triggersuccesstimes": {
  28816. "description": "累计定投成功次数",
  28817. "type": "string"
  28818. },
  28819. "triggertotalamount": {
  28820. "description": "累计定投金额(成功)",
  28821. "type": "number"
  28822. },
  28823. "triggertotalqty": {
  28824. "description": "累计定投数量(成功) [按小数位放大值]",
  28825. "type": "number"
  28826. },
  28827. "triggertotaltimes": {
  28828. "description": "累计定投总次数",
  28829. "type": "string"
  28830. },
  28831. "updatesrc": {
  28832. "description": "更新来源 - 1:管理端 2:终端",
  28833. "type": "integer"
  28834. },
  28835. "updatetime": {
  28836. "description": "更新时间",
  28837. "type": "string"
  28838. },
  28839. "updatorid": {
  28840. "description": "更新人",
  28841. "type": "string"
  28842. },
  28843. "userid": {
  28844. "description": "所属用户ID",
  28845. "type": "integer"
  28846. },
  28847. "userinfotype": {
  28848. "description": "用户类型 1-个人 2-企业",
  28849. "type": "integer"
  28850. },
  28851. "username": {
  28852. "description": "用户名称(userid对应的名称)",
  28853. "type": "string"
  28854. }
  28855. }
  28856. },
  28857. "models.QhjReckonPriceLog": {
  28858. "type": "object",
  28859. "properties": {
  28860. "decimalplace": {
  28861. "description": "商品报价小数位",
  28862. "type": "integer"
  28863. },
  28864. "goodscode": {
  28865. "description": "商品代码",
  28866. "type": "string"
  28867. },
  28868. "goodsid": {
  28869. "description": "商品ID",
  28870. "type": "integer"
  28871. },
  28872. "goodsname": {
  28873. "description": "商品名称",
  28874. "type": "string"
  28875. },
  28876. "lastreckonprice": {
  28877. "description": "上日结算价",
  28878. "type": "number"
  28879. },
  28880. "nextdnlimitprice": {
  28881. "description": "下个交易日跌停价",
  28882. "type": "number"
  28883. },
  28884. "nexttrade": {
  28885. "description": "下个交易日",
  28886. "type": "string"
  28887. },
  28888. "nextuplimitprice": {
  28889. "description": "下个交易日涨停价",
  28890. "type": "number"
  28891. },
  28892. "reckonprice": {
  28893. "description": "今日结算价(定投价)",
  28894. "type": "number"
  28895. },
  28896. "reckontime": {
  28897. "description": "结算时间",
  28898. "type": "string"
  28899. },
  28900. "totalholderqty": {
  28901. "description": "总持仓数",
  28902. "type": "integer"
  28903. },
  28904. "totalstock": {
  28905. "description": "总库存",
  28906. "type": "integer"
  28907. },
  28908. "tradedate": {
  28909. "description": "交易日",
  28910. "type": "string"
  28911. },
  28912. "updowncount": {
  28913. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28914. "type": "integer"
  28915. },
  28916. "updownflag": {
  28917. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28918. "type": "integer"
  28919. },
  28920. "updownrate": {
  28921. "description": "今日涨跌幅",
  28922. "type": "number"
  28923. },
  28924. "updownrate_2d": {
  28925. "description": "连续两日涨跌幅",
  28926. "type": "number"
  28927. },
  28928. "updownrate_3d": {
  28929. "description": "连续三日涨跌幅",
  28930. "type": "number"
  28931. }
  28932. }
  28933. },
  28934. "models.QhjScoreLog": {
  28935. "type": "object",
  28936. "properties": {
  28937. "accountid": {
  28938. "description": "账户ID",
  28939. "type": "integer"
  28940. },
  28941. "createtime": {
  28942. "description": "创建时间(时间)",
  28943. "type": "string"
  28944. },
  28945. "goodsid": {
  28946. "description": "商品ID",
  28947. "type": "integer"
  28948. },
  28949. "hasuploaded": {
  28950. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28951. "type": "integer"
  28952. },
  28953. "logid": {
  28954. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28955. "type": "string"
  28956. },
  28957. "marketid": {
  28958. "description": "市场ID",
  28959. "type": "integer"
  28960. },
  28961. "relatedamount": {
  28962. "description": "关联金额",
  28963. "type": "number"
  28964. },
  28965. "relatedorderid": {
  28966. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28967. "type": "string"
  28968. },
  28969. "scoreconfigvalue1": {
  28970. "description": "积分配置1",
  28971. "type": "integer"
  28972. },
  28973. "scoreconfigvalue2": {
  28974. "description": "积分配置1",
  28975. "type": "integer"
  28976. },
  28977. "scoretype": {
  28978. "description": "积分类型 - 1:提货积分",
  28979. "type": "integer"
  28980. },
  28981. "scorevalue": {
  28982. "description": "积分",
  28983. "type": "number"
  28984. },
  28985. "tradedate": {
  28986. "description": "交易日(yyyyMMdd)",
  28987. "type": "string"
  28988. },
  28989. "uploadedtime": {
  28990. "description": "同步时间",
  28991. "type": "string"
  28992. },
  28993. "userid": {
  28994. "description": "用户ID",
  28995. "type": "integer"
  28996. }
  28997. }
  28998. },
  28999. "models.QhjSiteColumnDetail": {
  29000. "type": "object",
  29001. "properties": {
  29002. "author": {
  29003. "description": "作者",
  29004. "type": "string"
  29005. },
  29006. "brief": {
  29007. "description": "简介",
  29008. "type": "string"
  29009. },
  29010. "columnid": {
  29011. "description": "所属栏目",
  29012. "type": "integer"
  29013. },
  29014. "context": {
  29015. "description": "内容",
  29016. "type": "string"
  29017. },
  29018. "coverimage": {
  29019. "description": "封面图片",
  29020. "type": "string"
  29021. },
  29022. "creaedate": {
  29023. "description": "创建时间",
  29024. "type": "string"
  29025. },
  29026. "creatorid": {
  29027. "description": "创建人",
  29028. "type": "integer"
  29029. },
  29030. "hits": {
  29031. "description": "点击数",
  29032. "type": "integer"
  29033. },
  29034. "id": {
  29035. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  29036. "type": "integer"
  29037. },
  29038. "isshow": {
  29039. "description": "是否展示 - 0:不展示 1:展示",
  29040. "type": "integer"
  29041. },
  29042. "istop": {
  29043. "description": "是否置顶 - 0:不置 1:置顶",
  29044. "type": "integer"
  29045. },
  29046. "modifierid": {
  29047. "description": "操作人",
  29048. "type": "integer"
  29049. },
  29050. "publishdate": {
  29051. "description": "发布日期",
  29052. "type": "string"
  29053. },
  29054. "status": {
  29055. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  29056. "type": "integer"
  29057. },
  29058. "title": {
  29059. "description": "标题",
  29060. "type": "string"
  29061. },
  29062. "updatedate": {
  29063. "description": "修改时间",
  29064. "type": "string"
  29065. },
  29066. "userid": {
  29067. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  29068. "type": "integer"
  29069. },
  29070. "username": {
  29071. "description": "用户名称",
  29072. "type": "string"
  29073. }
  29074. }
  29075. },
  29076. "models.QhjTeamOrder": {
  29077. "type": "object",
  29078. "properties": {
  29079. "accountid": {
  29080. "description": "账户ID[报价币种]",
  29081. "type": "integer"
  29082. },
  29083. "accountname": {
  29084. "description": "账户名称",
  29085. "type": "string"
  29086. },
  29087. "agreeunit": {
  29088. "description": "合约乘数",
  29089. "type": "number"
  29090. },
  29091. "buyorsell": {
  29092. "description": "方向 - 0:买 1:卖",
  29093. "type": "integer"
  29094. },
  29095. "decimalplace": {
  29096. "description": "报价小数位",
  29097. "type": "integer"
  29098. },
  29099. "enumdicname": {
  29100. "description": "单位名称",
  29101. "type": "string"
  29102. },
  29103. "goodscode": {
  29104. "description": "商品代码(内部)",
  29105. "type": "string"
  29106. },
  29107. "goodsid": {
  29108. "description": "商品ID",
  29109. "type": "integer"
  29110. },
  29111. "goodsname": {
  29112. "description": "商品名称",
  29113. "type": "string"
  29114. },
  29115. "goodunitid": {
  29116. "description": "报价单位ID",
  29117. "type": "integer"
  29118. },
  29119. "marketid": {
  29120. "description": "市场ID",
  29121. "type": "integer"
  29122. },
  29123. "marketname": {
  29124. "description": "市场名称",
  29125. "type": "string"
  29126. },
  29127. "qtydecimalplace": {
  29128. "description": "成交量小数位",
  29129. "type": "integer"
  29130. },
  29131. "refereeuserid": {
  29132. "description": "推荐人ID",
  29133. "type": "integer"
  29134. },
  29135. "tradeamount": {
  29136. "description": "成交金额[账户币种,用于所有权]",
  29137. "type": "number"
  29138. },
  29139. "tradedate": {
  29140. "description": "交易日(yyyyMMdd)",
  29141. "type": "string"
  29142. },
  29143. "trademode": {
  29144. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29145. "type": "integer"
  29146. },
  29147. "tradeprice": {
  29148. "description": "成交价格",
  29149. "type": "number"
  29150. },
  29151. "tradeqty": {
  29152. "description": "成交数量",
  29153. "type": "number"
  29154. },
  29155. "tradetime": {
  29156. "description": "成交时间",
  29157. "type": "string"
  29158. },
  29159. "userid": {
  29160. "description": "用户ID",
  29161. "type": "integer"
  29162. }
  29163. }
  29164. },
  29165. "models.QhjTradeGoodsPickup": {
  29166. "type": "object",
  29167. "properties": {
  29168. "accountid": {
  29169. "description": "账户ID",
  29170. "type": "integer"
  29171. },
  29172. "address": {
  29173. "description": "提货人详细地址",
  29174. "type": "string"
  29175. },
  29176. "amount": {
  29177. "description": "提货金额",
  29178. "type": "number"
  29179. },
  29180. "artradedate": {
  29181. "description": "自动收货交易日(yyyyMMdd)",
  29182. "type": "string"
  29183. },
  29184. "auditer": {
  29185. "description": "审核人",
  29186. "type": "integer"
  29187. },
  29188. "auditsrc": {
  29189. "description": "更新来源 - 1:管理端 2:终端",
  29190. "type": "integer"
  29191. },
  29192. "audittime": {
  29193. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  29194. "type": "string"
  29195. },
  29196. "audittradedate": {
  29197. "description": "审核交易日(yyyyMMdd)",
  29198. "type": "string"
  29199. },
  29200. "cardnum": {
  29201. "description": "提货人证件号码",
  29202. "type": "string"
  29203. },
  29204. "cardtypeid": {
  29205. "description": "提货人证件类型",
  29206. "type": "integer"
  29207. },
  29208. "checkremark": {
  29209. "description": "审核备注",
  29210. "type": "string"
  29211. },
  29212. "cityid": {
  29213. "description": "市",
  29214. "type": "integer"
  29215. },
  29216. "cityname": {
  29217. "description": "城市名称",
  29218. "type": "string"
  29219. },
  29220. "confirmtime": {
  29221. "description": "取货时间 或 收货时间",
  29222. "type": "string"
  29223. },
  29224. "countryid": {
  29225. "description": "国家",
  29226. "type": "integer"
  29227. },
  29228. "countryname": {
  29229. "description": "国家名称",
  29230. "type": "string"
  29231. },
  29232. "decimalplace": {
  29233. "description": "商品报价小数位",
  29234. "type": "integer"
  29235. },
  29236. "districtid": {
  29237. "description": "地区",
  29238. "type": "integer"
  29239. },
  29240. "districtname": {
  29241. "description": "地区名称",
  29242. "type": "string"
  29243. },
  29244. "enumdicname": {
  29245. "description": "单位名称(提货商品)",
  29246. "type": "string"
  29247. },
  29248. "expresscompany": {
  29249. "description": "物流公司",
  29250. "type": "string"
  29251. },
  29252. "expressnum": {
  29253. "description": "物流单号",
  29254. "type": "string"
  29255. },
  29256. "goodsagreeunit": {
  29257. "description": "交易商品乘数",
  29258. "type": "number"
  29259. },
  29260. "goodscode": {
  29261. "description": "商品代码",
  29262. "type": "string"
  29263. },
  29264. "goodsid": {
  29265. "description": "商品ID",
  29266. "type": "integer"
  29267. },
  29268. "goodsname": {
  29269. "description": "商品名称",
  29270. "type": "string"
  29271. },
  29272. "goodsqty": {
  29273. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  29274. "type": "number"
  29275. },
  29276. "handlestatus": {
  29277. "description": "处理状态",
  29278. "type": "integer"
  29279. },
  29280. "logincode": {
  29281. "description": "账号(登录代码, 有可能为空)",
  29282. "type": "string"
  29283. },
  29284. "marketid": {
  29285. "description": "市场ID",
  29286. "type": "integer"
  29287. },
  29288. "phonenum": {
  29289. "description": "提货人联系方式",
  29290. "type": "string"
  29291. },
  29292. "pickupgoodsagreeunit": {
  29293. "description": "提货商品合约乘数",
  29294. "type": "number"
  29295. },
  29296. "pickupgoodsid": {
  29297. "description": "提货商品ID",
  29298. "type": "string"
  29299. },
  29300. "pickupgoodsname": {
  29301. "description": "提货商品名称",
  29302. "type": "string"
  29303. },
  29304. "pickupgoodsqty": {
  29305. "description": "提货商品手数(数量)",
  29306. "type": "number"
  29307. },
  29308. "pickupgoodsunitid": {
  29309. "description": "单位ID(提货商品)",
  29310. "type": "integer"
  29311. },
  29312. "pickupratio": {
  29313. "description": "提货系数",
  29314. "type": "number"
  29315. },
  29316. "preparedays": {
  29317. "description": "备货期(天)-提货单明细表",
  29318. "type": "integer"
  29319. },
  29320. "provinceid": {
  29321. "description": "省",
  29322. "type": "integer"
  29323. },
  29324. "provincename": {
  29325. "description": "省名称",
  29326. "type": "string"
  29327. },
  29328. "qty": {
  29329. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  29330. "type": "number"
  29331. },
  29332. "qtydecimalplace": {
  29333. "description": "商品数量小数位",
  29334. "type": "integer"
  29335. },
  29336. "recivername": {
  29337. "description": "提货人姓名",
  29338. "type": "string"
  29339. },
  29340. "reqtime": {
  29341. "description": "提货申请时间",
  29342. "type": "string"
  29343. },
  29344. "storeuserid": {
  29345. "description": "门店用户ID (千海金)",
  29346. "type": "integer"
  29347. },
  29348. "storeusername": {
  29349. "description": "门店用户名称",
  29350. "type": "string"
  29351. },
  29352. "takemode": {
  29353. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  29354. "type": "integer"
  29355. },
  29356. "takeorderid": {
  29357. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29358. "type": "string"
  29359. },
  29360. "takeorderstatus": {
  29361. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  29362. "type": "integer"
  29363. },
  29364. "takeremark": {
  29365. "description": "提货备注",
  29366. "type": "string"
  29367. },
  29368. "tradedate": {
  29369. "description": "交易日(yyyyMMdd)",
  29370. "type": "string"
  29371. },
  29372. "updatetime": {
  29373. "description": "更新时间",
  29374. "type": "string"
  29375. },
  29376. "userid": {
  29377. "description": "用户ID",
  29378. "type": "integer"
  29379. },
  29380. "userinfotype": {
  29381. "description": "客户类型 1-个人 2-企业",
  29382. "type": "integer"
  29383. },
  29384. "username": {
  29385. "description": "用户名称",
  29386. "type": "string"
  29387. }
  29388. }
  29389. },
  29390. "models.QhjUserNodeCfgAndStatus": {
  29391. "type": "object",
  29392. "properties": {
  29393. "agreementcontent": {
  29394. "description": "协议内容",
  29395. "type": "string"
  29396. },
  29397. "agreementid": {
  29398. "description": "协议ID",
  29399. "type": "integer"
  29400. },
  29401. "agreementname": {
  29402. "description": "协议名称",
  29403. "type": "string"
  29404. },
  29405. "agreementno": {
  29406. "description": "协议编号",
  29407. "type": "string"
  29408. },
  29409. "agreementtype": {
  29410. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29411. "type": "integer"
  29412. },
  29413. "agreementversion": {
  29414. "description": "协议版本号",
  29415. "type": "integer"
  29416. },
  29417. "configid": {
  29418. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29419. "type": "integer"
  29420. },
  29421. "createtime": {
  29422. "description": "创建时间",
  29423. "type": "string"
  29424. },
  29425. "goodsid": {
  29426. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29427. "type": "integer"
  29428. },
  29429. "nodetype": {
  29430. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29431. "type": "integer"
  29432. },
  29433. "signtimestamp": {
  29434. "description": "签约状态时间戳(最近一次)",
  29435. "type": "string"
  29436. },
  29437. "tradedate": {
  29438. "description": "签约交易日(yyyyMMdd)",
  29439. "type": "string"
  29440. },
  29441. "userid": {
  29442. "description": "客户ID",
  29443. "type": "integer"
  29444. }
  29445. }
  29446. },
  29447. "models.Qhjgoodsex": {
  29448. "type": "object",
  29449. "properties": {
  29450. "canfinance": {
  29451. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29452. "type": "integer"
  29453. },
  29454. "canregularlybuy": {
  29455. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29456. "type": "integer"
  29457. },
  29458. "defaulttradeuserid": {
  29459. "description": "默认交易用户ID",
  29460. "type": "integer"
  29461. },
  29462. "deliverygoodsid": {
  29463. "description": "现货品种ID",
  29464. "type": "integer"
  29465. },
  29466. "goodsid": {
  29467. "description": "商品ID(自增ID SEQ_GOODS)",
  29468. "type": "integer"
  29469. },
  29470. "minamount": {
  29471. "description": "最小购买金额",
  29472. "type": "number"
  29473. },
  29474. "regularlybuyminamount": {
  29475. "description": "定投最小金额",
  29476. "type": "number"
  29477. },
  29478. "regularlybuyminqty": {
  29479. "description": "定投最小数量",
  29480. "type": "number"
  29481. },
  29482. "spotgoodsbrandid": {
  29483. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29484. "type": "integer"
  29485. },
  29486. "visibilityforenterprise": {
  29487. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29488. "type": "integer"
  29489. },
  29490. "visibilityforpersonal": {
  29491. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29492. "type": "integer"
  29493. },
  29494. "wrstandardid": {
  29495. "description": "现货商品ID",
  29496. "type": "integer"
  29497. }
  29498. }
  29499. },
  29500. "models.QueryErrorInfosRsp": {
  29501. "type": "object",
  29502. "required": [
  29503. "errorid"
  29504. ],
  29505. "properties": {
  29506. "description": {
  29507. "description": "异常描述",
  29508. "type": "string"
  29509. },
  29510. "errorcode": {
  29511. "description": "异常代码",
  29512. "type": "string"
  29513. },
  29514. "errorid": {
  29515. "description": "异常ID",
  29516. "type": "integer"
  29517. },
  29518. "modulecode": {
  29519. "description": "所属模块",
  29520. "type": "string"
  29521. },
  29522. "operatecode": {
  29523. "description": "所属操作",
  29524. "type": "string"
  29525. },
  29526. "rownumber": {
  29527. "description": "行号",
  29528. "type": "string"
  29529. }
  29530. }
  29531. },
  29532. "models.QueryHedgeOrderDetailRsp": {
  29533. "type": "object",
  29534. "properties": {
  29535. "accountid": {
  29536. "description": "账户ID",
  29537. "type": "integer"
  29538. },
  29539. "buyorsell": {
  29540. "description": "买卖 - 0:买 1:卖",
  29541. "type": "integer"
  29542. },
  29543. "cancellogincode": {
  29544. "description": "撤单人",
  29545. "type": "string"
  29546. },
  29547. "channelbuildtype": {
  29548. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29549. "type": "integer"
  29550. },
  29551. "channelinnerorderstatus": {
  29552. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29553. "type": "integer"
  29554. },
  29555. "channeloperatetype": {
  29556. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29557. "type": "integer"
  29558. },
  29559. "closetype": {
  29560. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29561. "type": "integer"
  29562. },
  29563. "curexchangerate": {
  29564. "description": "当前汇率",
  29565. "type": "number"
  29566. },
  29567. "exchangefullname": {
  29568. "description": "外部交易所全称",
  29569. "type": "string"
  29570. },
  29571. "goodscode": {
  29572. "description": "商品代码(内部)",
  29573. "type": "string"
  29574. },
  29575. "goodsid": {
  29576. "description": "商品ID",
  29577. "type": "integer"
  29578. },
  29579. "goodsname": {
  29580. "description": "商品名称",
  29581. "type": "string"
  29582. },
  29583. "marketid": {
  29584. "description": "市场ID",
  29585. "type": "integer"
  29586. },
  29587. "openfreezemargin": {
  29588. "description": "冻结保证金(冻结交易金额)",
  29589. "type": "number"
  29590. },
  29591. "orderid": {
  29592. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29593. "type": "string"
  29594. },
  29595. "orderlogincode": {
  29596. "description": "委托人",
  29597. "type": "string"
  29598. },
  29599. "orderprice": {
  29600. "description": "委托价格(账户)",
  29601. "type": "number"
  29602. },
  29603. "orderqty": {
  29604. "description": "委托数量",
  29605. "type": "integer"
  29606. },
  29607. "ordertime": {
  29608. "description": "委托时间",
  29609. "type": "string"
  29610. },
  29611. "pricemode": {
  29612. "description": "取价方式 - 1:市价 2: 限价",
  29613. "type": "integer"
  29614. },
  29615. "tradedate": {
  29616. "description": "交易日(yyyyMMdd)",
  29617. "type": "string"
  29618. },
  29619. "tradeqty": {
  29620. "description": "成交数量",
  29621. "type": "integer"
  29622. }
  29623. }
  29624. },
  29625. "models.QueryHedgeTradeDetailRsp": {
  29626. "type": "object",
  29627. "properties": {
  29628. "accountid": {
  29629. "description": "账号ID",
  29630. "type": "integer"
  29631. },
  29632. "buyorsell": {
  29633. "description": "方向 - 0:买 1:卖",
  29634. "type": "integer"
  29635. },
  29636. "channelbuildtype": {
  29637. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29638. "type": "integer"
  29639. },
  29640. "closecharge": {
  29641. "description": "平仓手续费(账户)",
  29642. "type": "number"
  29643. },
  29644. "closecharge2": {
  29645. "description": "平仓手续费(商品)",
  29646. "type": "number"
  29647. },
  29648. "closepl": {
  29649. "description": "平仓盈亏(账户)",
  29650. "type": "number"
  29651. },
  29652. "closepl2": {
  29653. "description": "平仓盈亏(商品)",
  29654. "type": "number"
  29655. },
  29656. "closepl3": {
  29657. "description": "平仓盈亏(账户)(逐笔)",
  29658. "type": "number"
  29659. },
  29660. "closepl4": {
  29661. "description": "平仓盈亏(商品)(逐笔)",
  29662. "type": "number"
  29663. },
  29664. "closetype": {
  29665. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29666. "type": "integer"
  29667. },
  29668. "curexchangerate": {
  29669. "description": "当前汇率",
  29670. "type": "number"
  29671. },
  29672. "exchangefullname": {
  29673. "description": "外部交易所全称",
  29674. "type": "string"
  29675. },
  29676. "goodscode": {
  29677. "description": "商品代码(内部)",
  29678. "type": "string"
  29679. },
  29680. "goodsid": {
  29681. "description": "商品ID",
  29682. "type": "integer"
  29683. },
  29684. "goodsname": {
  29685. "description": "商品名称",
  29686. "type": "string"
  29687. },
  29688. "marketid": {
  29689. "description": "市场ID",
  29690. "type": "integer"
  29691. },
  29692. "opencharge": {
  29693. "description": "建仓手续费(账户)",
  29694. "type": "number"
  29695. },
  29696. "opencharge2": {
  29697. "description": "建仓手续费(商品)",
  29698. "type": "number"
  29699. },
  29700. "orderid": {
  29701. "description": "委托单号",
  29702. "type": "string"
  29703. },
  29704. "orderlogincode": {
  29705. "description": "委托人",
  29706. "type": "string"
  29707. },
  29708. "tradeamount": {
  29709. "description": "成交金额(账户)",
  29710. "type": "number"
  29711. },
  29712. "tradedate": {
  29713. "description": "交易日(yyyyMMdd)",
  29714. "type": "string"
  29715. },
  29716. "tradeid": {
  29717. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29718. "type": "string"
  29719. },
  29720. "tradeprice": {
  29721. "description": "成交价格",
  29722. "type": "number"
  29723. },
  29724. "tradeqty": {
  29725. "description": "成交数量",
  29726. "type": "integer"
  29727. },
  29728. "tradetime": {
  29729. "description": "成交时间",
  29730. "type": "string"
  29731. },
  29732. "tradetype": {
  29733. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29734. "type": "integer"
  29735. }
  29736. }
  29737. },
  29738. "models.QuotePrimaryMenu": {
  29739. "type": "object",
  29740. "properties": {
  29741. "Index": {
  29742. "description": "序号",
  29743. "type": "integer"
  29744. },
  29745. "Key": {
  29746. "description": "键名",
  29747. "type": "string"
  29748. },
  29749. "Name": {
  29750. "description": "菜单名称",
  29751. "type": "string"
  29752. },
  29753. "SubMenus": {
  29754. "description": "子菜单",
  29755. "type": "array",
  29756. "items": {
  29757. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29758. }
  29759. },
  29760. "SubTitleType": {
  29761. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29762. "type": "integer"
  29763. },
  29764. "TradeModes": {
  29765. "description": "包含市场交易类型",
  29766. "type": "string"
  29767. }
  29768. }
  29769. },
  29770. "models.QuoteSecondaryMenu": {
  29771. "type": "object",
  29772. "properties": {
  29773. "ExExchangeCode": {
  29774. "description": "外部交易所代码",
  29775. "type": "string"
  29776. },
  29777. "ExExchangeID": {
  29778. "description": "外部交易所ID",
  29779. "type": "integer"
  29780. },
  29781. "GoodsGroupIDs": {
  29782. "description": "商品组ID列表",
  29783. "type": "array",
  29784. "items": {
  29785. "type": "integer"
  29786. }
  29787. },
  29788. "Index": {
  29789. "description": "序号",
  29790. "type": "integer"
  29791. },
  29792. "MarketID": {
  29793. "description": "市场ID",
  29794. "type": "integer"
  29795. },
  29796. "MenuTitle": {
  29797. "description": "菜单标题(市场名称或外部交易所名称)",
  29798. "type": "string"
  29799. },
  29800. "TradeMode": {
  29801. "description": "交易模式",
  29802. "type": "integer"
  29803. }
  29804. }
  29805. },
  29806. "models.RoleMenu": {
  29807. "type": "object",
  29808. "properties": {
  29809. "hasright": {
  29810. "description": "是否有权限 0-没有权限 1-有权限",
  29811. "type": "integer"
  29812. },
  29813. "iconame": {
  29814. "description": "菜单图标",
  29815. "type": "string"
  29816. },
  29817. "menutype": {
  29818. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29819. "type": "integer"
  29820. },
  29821. "parentcode": {
  29822. "description": "上级资源代码",
  29823. "type": "string"
  29824. },
  29825. "remark": {
  29826. "description": "菜单备注",
  29827. "type": "string"
  29828. },
  29829. "resourcecode": {
  29830. "description": "菜单代码",
  29831. "type": "string"
  29832. },
  29833. "resourcelevel": {
  29834. "description": "级别",
  29835. "type": "integer"
  29836. },
  29837. "resourcename": {
  29838. "description": "菜单名称",
  29839. "type": "string"
  29840. },
  29841. "roleid": {
  29842. "description": "角色id",
  29843. "type": "integer"
  29844. },
  29845. "sort": {
  29846. "description": "排序",
  29847. "type": "integer"
  29848. },
  29849. "subMenu": {
  29850. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29851. "type": "array",
  29852. "items": {
  29853. "$ref": "#/definitions/models.RoleMenu"
  29854. }
  29855. },
  29856. "url": {
  29857. "description": "URL",
  29858. "type": "string"
  29859. },
  29860. "userid": {
  29861. "description": "用户id",
  29862. "type": "integer"
  29863. }
  29864. }
  29865. },
  29866. "models.SearchGoods": {
  29867. "type": "object",
  29868. "required": [
  29869. "goodscode",
  29870. "goodsid",
  29871. "goodsname",
  29872. "marketid",
  29873. "trademode"
  29874. ],
  29875. "properties": {
  29876. "goodscode": {
  29877. "description": "商品代码(内部)",
  29878. "type": "string"
  29879. },
  29880. "goodsid": {
  29881. "description": "商品ID(自增ID SEQ_GOODS)",
  29882. "type": "integer"
  29883. },
  29884. "goodsname": {
  29885. "description": "商品名称",
  29886. "type": "string"
  29887. },
  29888. "marketid": {
  29889. "description": "所属市场ID",
  29890. "type": "integer"
  29891. },
  29892. "marketname": {
  29893. "description": "市场名称",
  29894. "type": "string"
  29895. },
  29896. "trademode": {
  29897. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29898. "type": "integer"
  29899. }
  29900. }
  29901. },
  29902. "models.Systemparam": {
  29903. "type": "object",
  29904. "required": [
  29905. "paramcode"
  29906. ],
  29907. "properties": {
  29908. "loginid": {
  29909. "description": "更新用户账号,登录账号",
  29910. "type": "string"
  29911. },
  29912. "modifyflag": {
  29913. "description": "修改标志0 不允许修改 1 允许修改",
  29914. "type": "integer"
  29915. },
  29916. "paramcode": {
  29917. "description": "参数代码",
  29918. "type": "string"
  29919. },
  29920. "paramname": {
  29921. "description": "参数名",
  29922. "type": "string"
  29923. },
  29924. "paramtype": {
  29925. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29926. "type": "integer"
  29927. },
  29928. "paramvalue": {
  29929. "description": "参数值",
  29930. "type": "string"
  29931. },
  29932. "paramvalue2": {
  29933. "description": "参数值(CLOB)",
  29934. "type": "string"
  29935. },
  29936. "regexpress": {
  29937. "description": "正则表达式",
  29938. "type": "string"
  29939. },
  29940. "remark": {
  29941. "description": "备注",
  29942. "type": "string"
  29943. },
  29944. "serverip": {
  29945. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29946. "type": "string"
  29947. },
  29948. "showflag": {
  29949. "description": "是否显示0 不显示 1 显示",
  29950. "type": "integer"
  29951. },
  29952. "updatetime": {
  29953. "description": "更新时间",
  29954. "type": "string"
  29955. },
  29956. "userid": {
  29957. "description": "更新用户ID",
  29958. "type": "integer"
  29959. }
  29960. }
  29961. },
  29962. "models.Szdz3convertconfig": {
  29963. "type": "object",
  29964. "required": [
  29965. "converttype",
  29966. "innergoodsid",
  29967. "outergoodscode"
  29968. ],
  29969. "properties": {
  29970. "canin": {
  29971. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29972. "type": "integer"
  29973. },
  29974. "canout": {
  29975. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29976. "type": "integer"
  29977. },
  29978. "converttype": {
  29979. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29980. "type": "integer"
  29981. },
  29982. "createtime": {
  29983. "description": "创建时间",
  29984. "type": "string"
  29985. },
  29986. "creatorid": {
  29987. "description": "创建人",
  29988. "type": "integer"
  29989. },
  29990. "daymaxvalue": {
  29991. "description": "当日最大转入限制",
  29992. "type": "number"
  29993. },
  29994. "freezedays": {
  29995. "description": "冻结天数 [5:花生米转交易]",
  29996. "type": "integer"
  29997. },
  29998. "innergoodsid": {
  29999. "description": "内部商品ID[交易]",
  30000. "type": "integer"
  30001. },
  30002. "inratio": {
  30003. "description": "目标值",
  30004. "type": "integer"
  30005. },
  30006. "modifierid": {
  30007. "description": "修改人",
  30008. "type": "integer"
  30009. },
  30010. "modifytime": {
  30011. "description": "修改时间",
  30012. "type": "string"
  30013. },
  30014. "outergoodscode": {
  30015. "description": "外部商品代码[JD\\PD]",
  30016. "type": "string"
  30017. },
  30018. "outratio": {
  30019. "description": "源值",
  30020. "type": "integer"
  30021. },
  30022. "pddecimalplace": {
  30023. "description": "PD小数位",
  30024. "type": "integer"
  30025. },
  30026. "timemaxvalue": {
  30027. "description": "单次最大转入限制",
  30028. "type": "number"
  30029. },
  30030. "timeminvalue": {
  30031. "description": "单次最小转入限制",
  30032. "type": "number"
  30033. }
  30034. }
  30035. },
  30036. "models.Szdz3searchwhitelist": {
  30037. "type": "object",
  30038. "required": [
  30039. "userid"
  30040. ],
  30041. "properties": {
  30042. "createtime": {
  30043. "description": "创建时间",
  30044. "type": "string"
  30045. },
  30046. "creatorid": {
  30047. "description": "创建人",
  30048. "type": "integer"
  30049. },
  30050. "modifierid": {
  30051. "description": "修改人",
  30052. "type": "integer"
  30053. },
  30054. "modifytime": {
  30055. "description": "修改时间",
  30056. "type": "string"
  30057. },
  30058. "userid": {
  30059. "description": "用户ID",
  30060. "type": "integer"
  30061. }
  30062. }
  30063. },
  30064. "models.TBGoods": {
  30065. "type": "object",
  30066. "properties": {
  30067. "agreeunit": {
  30068. "description": "合约乘数",
  30069. "type": "number"
  30070. },
  30071. "enumdicname": {
  30072. "description": "单位名称",
  30073. "type": "string"
  30074. },
  30075. "goodscode": {
  30076. "description": "商品代码(内部)",
  30077. "type": "string"
  30078. },
  30079. "goodsid": {
  30080. "description": "商品ID(自增ID SEQ_GOODS)",
  30081. "type": "integer"
  30082. },
  30083. "goodsname": {
  30084. "description": "商品名称",
  30085. "type": "string"
  30086. }
  30087. }
  30088. },
  30089. "models.TBGoodsGroup": {
  30090. "type": "object",
  30091. "properties": {
  30092. "convertratio": {
  30093. "description": "折算系数",
  30094. "type": "number"
  30095. },
  30096. "enumdicname": {
  30097. "description": "单位名称",
  30098. "type": "string"
  30099. },
  30100. "exexchangecode": {
  30101. "description": "交易所代码",
  30102. "type": "string"
  30103. },
  30104. "exexchangename": {
  30105. "description": "交易所名称",
  30106. "type": "string"
  30107. },
  30108. "gdlst": {
  30109. "description": "商品列表",
  30110. "type": "array",
  30111. "items": {
  30112. "$ref": "#/definitions/models.TBGoods"
  30113. }
  30114. },
  30115. "goodsgroupid": {
  30116. "description": "商品组ID(自增ID)",
  30117. "type": "integer"
  30118. },
  30119. "goodsgroupname": {
  30120. "description": "商品组名称",
  30121. "type": "string"
  30122. },
  30123. "goodunitid": {
  30124. "description": "报价单位ID",
  30125. "type": "integer"
  30126. }
  30127. }
  30128. },
  30129. "models.TBMiddleGoods": {
  30130. "type": "object",
  30131. "properties": {
  30132. "areauserid": {
  30133. "description": "机构用户ID",
  30134. "type": "integer"
  30135. },
  30136. "enumdicname": {
  30137. "description": "单位名称",
  30138. "type": "string"
  30139. },
  30140. "gplst": {
  30141. "description": "期货品种列表",
  30142. "type": "array",
  30143. "items": {
  30144. "$ref": "#/definitions/models.TBGoodsGroup"
  30145. }
  30146. },
  30147. "middlegoodscode": {
  30148. "description": "套保品种代码",
  30149. "type": "string"
  30150. },
  30151. "middlegoodsid": {
  30152. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  30153. "type": "integer"
  30154. },
  30155. "middlegoodsname": {
  30156. "description": "套保品种名称",
  30157. "type": "string"
  30158. },
  30159. "needarbitrageratio": {
  30160. "description": "套利比率",
  30161. "type": "number"
  30162. },
  30163. "needhedgeratio": {
  30164. "description": "套保比率",
  30165. "type": "number"
  30166. },
  30167. "wdlst": {
  30168. "description": "商品信息列表(现货品类)",
  30169. "type": "array",
  30170. "items": {
  30171. "$ref": "#/definitions/models.TBWrstandard"
  30172. }
  30173. }
  30174. }
  30175. },
  30176. "models.TBWrstandard": {
  30177. "type": "object",
  30178. "properties": {
  30179. "convertratio": {
  30180. "description": "折算系数",
  30181. "type": "number"
  30182. },
  30183. "deliverygoodsname": {
  30184. "description": "品种名称",
  30185. "type": "string"
  30186. },
  30187. "enumdicname": {
  30188. "description": "单位名称",
  30189. "type": "string"
  30190. },
  30191. "vatrate": {
  30192. "description": "增值税率",
  30193. "type": "number"
  30194. },
  30195. "wrstandardcode": {
  30196. "description": "现货商品代码",
  30197. "type": "string"
  30198. },
  30199. "wrstandardid": {
  30200. "description": "现货商品ID(SEQ_WRSTANDARD)",
  30201. "type": "integer"
  30202. },
  30203. "wrstandardname": {
  30204. "description": "现货商品名称",
  30205. "type": "string"
  30206. }
  30207. }
  30208. },
  30209. "models.Taaccount": {
  30210. "type": "object",
  30211. "required": [
  30212. "accountid",
  30213. "userid"
  30214. ],
  30215. "properties": {
  30216. "accountflag": {
  30217. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30218. "type": "integer"
  30219. },
  30220. "accountid": {
  30221. "description": "资金账户ID",
  30222. "type": "integer"
  30223. },
  30224. "accountname": {
  30225. "description": "账户名称",
  30226. "type": "string"
  30227. },
  30228. "balance": {
  30229. "description": "期初余额",
  30230. "type": "number"
  30231. },
  30232. "capitalbalance": {
  30233. "description": "本金余额[外部子账户实际出入金余额]",
  30234. "type": "number"
  30235. },
  30236. "changeflag": {
  30237. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30238. "type": "integer"
  30239. },
  30240. "changetime": {
  30241. "description": "账户状态变更时间",
  30242. "type": "string"
  30243. },
  30244. "closepl": {
  30245. "description": "今日平仓盈亏",
  30246. "type": "number"
  30247. },
  30248. "creditdecrease": {
  30249. "description": "今日授信减少",
  30250. "type": "number"
  30251. },
  30252. "creditincrease": {
  30253. "description": "今日授信增加",
  30254. "type": "number"
  30255. },
  30256. "curamount": {
  30257. "description": "总市值(从持仓中统计)",
  30258. "type": "number"
  30259. },
  30260. "currencyid": {
  30261. "description": "货币ID",
  30262. "type": "integer"
  30263. },
  30264. "currentbalance": {
  30265. "description": "期末余额",
  30266. "type": "number"
  30267. },
  30268. "freezecharge": {
  30269. "description": "手续费冻结",
  30270. "type": "number"
  30271. },
  30272. "freezemargin": {
  30273. "description": "冻结保证金",
  30274. "type": "number"
  30275. },
  30276. "fromaccountid": {
  30277. "description": "所属上级账户",
  30278. "type": "integer"
  30279. },
  30280. "inamount": {
  30281. "description": "今日入金金额(包括三方入金)",
  30282. "type": "number"
  30283. },
  30284. "ismain": {
  30285. "description": "是否母账号 0:不是母账户 1:是母账户",
  30286. "type": "integer"
  30287. },
  30288. "ismarketaccount": {
  30289. "description": "是否机构接单账号 0:不是 1:是",
  30290. "type": "integer"
  30291. },
  30292. "isreckonaccount": {
  30293. "description": "是否机构分润账号 0:不是 1:是",
  30294. "type": "integer"
  30295. },
  30296. "mortgagecredit": {
  30297. "description": "授信金额",
  30298. "type": "number"
  30299. },
  30300. "orifreezecharge": {
  30301. "description": "期初手续费冻结",
  30302. "type": "number"
  30303. },
  30304. "orifreezemargin": {
  30305. "description": "期初冻结保证金",
  30306. "type": "number"
  30307. },
  30308. "orimortgagecredit": {
  30309. "description": "期初授信金额",
  30310. "type": "number"
  30311. },
  30312. "oriothercredit": {
  30313. "description": "期初其它授信金额",
  30314. "type": "number"
  30315. },
  30316. "oriotherfreezemargin": {
  30317. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30318. "type": "number"
  30319. },
  30320. "orioutamountfreeze": {
  30321. "description": "期初出金冻结",
  30322. "type": "number"
  30323. },
  30324. "oriusedmargin": {
  30325. "description": "期初占用保证金",
  30326. "type": "number"
  30327. },
  30328. "othercredit": {
  30329. "description": "其它授信金额",
  30330. "type": "number"
  30331. },
  30332. "othercreditdecrease": {
  30333. "description": "今日其它授信减少",
  30334. "type": "number"
  30335. },
  30336. "othercreditincrease": {
  30337. "description": "今日其它授信增加",
  30338. "type": "number"
  30339. },
  30340. "otherfreezemargin": {
  30341. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30342. "type": "number"
  30343. },
  30344. "otherincome": {
  30345. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30346. "type": "number"
  30347. },
  30348. "otherpay": {
  30349. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30350. "type": "number"
  30351. },
  30352. "outamount": {
  30353. "description": "今日出金金额(包括三方出金)",
  30354. "type": "number"
  30355. },
  30356. "outamountfreeze": {
  30357. "description": "出金冻结",
  30358. "type": "number"
  30359. },
  30360. "outthreshold": {
  30361. "description": "出金阈值",
  30362. "type": "number"
  30363. },
  30364. "parentaccountid": {
  30365. "description": "所属根账号",
  30366. "type": "integer"
  30367. },
  30368. "paycharge": {
  30369. "description": "今日手续费支出",
  30370. "type": "number"
  30371. },
  30372. "relatedaccountstatus": {
  30373. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30374. "type": "integer"
  30375. },
  30376. "relateduserid": {
  30377. "description": "关联用户",
  30378. "type": "integer"
  30379. },
  30380. "remainamount": {
  30381. "description": "融资额(从融资合同中统计)",
  30382. "type": "number"
  30383. },
  30384. "serivcegroup": {
  30385. "description": "服务分组",
  30386. "type": "integer"
  30387. },
  30388. "signstatus": {
  30389. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30390. "type": "integer"
  30391. },
  30392. "sublevelpath": {
  30393. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30394. "type": "string"
  30395. },
  30396. "taaccounttype": {
  30397. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30398. "type": "integer"
  30399. },
  30400. "thirdinamount": {
  30401. "description": "今日三方入金",
  30402. "type": "number"
  30403. },
  30404. "thirdoutamount": {
  30405. "description": "今日三方出金",
  30406. "type": "number"
  30407. },
  30408. "tradestatus": {
  30409. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30410. "type": "integer"
  30411. },
  30412. "tradestatuschangetime": {
  30413. "description": "激活时间",
  30414. "type": "string"
  30415. },
  30416. "transferamount": {
  30417. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30418. "type": "number"
  30419. },
  30420. "usedmargin": {
  30421. "description": "占用保证金",
  30422. "type": "number"
  30423. },
  30424. "userid": {
  30425. "description": "用户ID",
  30426. "type": "integer"
  30427. }
  30428. }
  30429. },
  30430. "models.Tablecolumnconfig": {
  30431. "type": "object",
  30432. "required": [
  30433. "autoid"
  30434. ],
  30435. "properties": {
  30436. "aligntype": {
  30437. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30438. "type": "integer"
  30439. },
  30440. "autoid": {
  30441. "description": "AutoID",
  30442. "type": "integer"
  30443. },
  30444. "columnfield": {
  30445. "description": "列字段",
  30446. "type": "string"
  30447. },
  30448. "columntitle": {
  30449. "description": "列Title",
  30450. "type": "string"
  30451. },
  30452. "columnwidth": {
  30453. "description": "列宽",
  30454. "type": "string"
  30455. },
  30456. "formatterstring": {
  30457. "description": "格式化字符",
  30458. "type": "string"
  30459. },
  30460. "formattertype": {
  30461. "description": "格式化类型",
  30462. "type": "string"
  30463. },
  30464. "groupname": {
  30465. "description": "表头分组名称",
  30466. "type": "string"
  30467. },
  30468. "isshow": {
  30469. "description": "是否显示 - 0:不显示 1:显示",
  30470. "type": "integer"
  30471. },
  30472. "needsummary": {
  30473. "description": "是否需要汇总 - 0:不需要 1:需要",
  30474. "type": "integer"
  30475. },
  30476. "orderindex": {
  30477. "description": "顺序",
  30478. "type": "integer"
  30479. },
  30480. "remark": {
  30481. "description": "备注",
  30482. "type": "string"
  30483. },
  30484. "summarytype": {
  30485. "description": "汇总类型 - 1:加总 2:最后一个",
  30486. "type": "integer"
  30487. },
  30488. "tablekey": {
  30489. "description": "列表Key",
  30490. "type": "string"
  30491. }
  30492. }
  30493. },
  30494. "models.TjmdQuoteGoods": {
  30495. "type": "object",
  30496. "properties": {
  30497. "buyqty": {
  30498. "description": "买量(暂不做, 无值, 保留字段)",
  30499. "type": "number"
  30500. },
  30501. "goodscode": {
  30502. "description": "合约代码",
  30503. "type": "string"
  30504. },
  30505. "goodsgroupid": {
  30506. "description": "商品组ID(自增ID)",
  30507. "type": "integer"
  30508. },
  30509. "goodsgroupname": {
  30510. "description": "商品组名称",
  30511. "type": "string"
  30512. },
  30513. "goodsid": {
  30514. "description": "合约id",
  30515. "type": "integer"
  30516. },
  30517. "goodsname": {
  30518. "description": "合约名称",
  30519. "type": "string"
  30520. },
  30521. "refgoodscode": {
  30522. "description": "标的合约代码",
  30523. "type": "string"
  30524. },
  30525. "refgoodsid": {
  30526. "description": "标的合约id",
  30527. "type": "integer"
  30528. },
  30529. "refgoodsname": {
  30530. "description": "标的合约名称",
  30531. "type": "string"
  30532. },
  30533. "sellqty": {
  30534. "description": "卖量(暂不做, 无值, 保留字段)",
  30535. "type": "number"
  30536. }
  30537. }
  30538. },
  30539. "models.TjmdTodayAccountMargin": {
  30540. "type": "object",
  30541. "properties": {
  30542. "accountid": {
  30543. "description": "账号ID",
  30544. "type": "integer"
  30545. },
  30546. "goodsid": {
  30547. "description": "商品ID",
  30548. "type": "integer"
  30549. },
  30550. "infoc": {
  30551. "description": "配置参数",
  30552. "type": "object",
  30553. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30554. },
  30555. "marketid": {
  30556. "description": "市场ID",
  30557. "type": "integer"
  30558. }
  30559. }
  30560. },
  30561. "models.TjmdTradeOrderDetail": {
  30562. "type": "object",
  30563. "properties": {
  30564. "buyorsell": {
  30565. "description": "买卖方向 0-买 1-卖",
  30566. "type": "integer"
  30567. },
  30568. "goodsid": {
  30569. "description": "商品id",
  30570. "type": "integer"
  30571. },
  30572. "marketmaxsub": {
  30573. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30574. "type": "number"
  30575. },
  30576. "orderid": {
  30577. "description": "委托单号",
  30578. "type": "string"
  30579. },
  30580. "orderprice": {
  30581. "description": "委托价格",
  30582. "type": "number"
  30583. },
  30584. "orderqty": {
  30585. "description": "委托数量",
  30586. "type": "integer"
  30587. },
  30588. "pricemode": {
  30589. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30590. "type": "integer"
  30591. },
  30592. "userid": {
  30593. "description": "用户id",
  30594. "type": "integer"
  30595. },
  30596. "username": {
  30597. "description": "用户名称(已脱敏)",
  30598. "type": "string"
  30599. }
  30600. }
  30601. },
  30602. "models.TjmdTransferApply": {
  30603. "type": "object",
  30604. "properties": {
  30605. "applyid": {
  30606. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30607. "type": "integer"
  30608. },
  30609. "applystatus": {
  30610. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30611. "type": "integer"
  30612. },
  30613. "applytime": {
  30614. "description": "申请时间(时间)",
  30615. "type": "string"
  30616. },
  30617. "auditremark": {
  30618. "description": "审核备注(拒绝原因?)",
  30619. "type": "string"
  30620. },
  30621. "buyorsell": {
  30622. "description": "买卖 - 0:买 1:卖",
  30623. "type": "integer"
  30624. },
  30625. "goodscode": {
  30626. "description": "商品代码",
  30627. "type": "string"
  30628. },
  30629. "goodsid": {
  30630. "description": "商品ID",
  30631. "type": "integer"
  30632. },
  30633. "goodsname": {
  30634. "description": "商品名称",
  30635. "type": "string"
  30636. },
  30637. "marketid": {
  30638. "description": "市场ID",
  30639. "type": "integer"
  30640. },
  30641. "qty": {
  30642. "description": "转让数量(数量)",
  30643. "type": "number"
  30644. },
  30645. "tradeid": {
  30646. "description": "成交单号(关联持仓)",
  30647. "type": "string"
  30648. },
  30649. "transferamount": {
  30650. "description": "转让总金额(金额)",
  30651. "type": "number"
  30652. },
  30653. "transferprice": {
  30654. "description": "转让价格(协议价格)",
  30655. "type": "number"
  30656. }
  30657. }
  30658. },
  30659. "models.TradeHolderDetail": {
  30660. "type": "object",
  30661. "properties": {
  30662. "accountid": {
  30663. "description": "账号ID",
  30664. "type": "integer"
  30665. },
  30666. "agreeunit": {
  30667. "description": "合约乘数",
  30668. "type": "number"
  30669. },
  30670. "buyorsell": {
  30671. "description": "方向 - 0:买 1:卖",
  30672. "type": "integer"
  30673. },
  30674. "currencyid": {
  30675. "description": "商品币种id",
  30676. "type": "integer"
  30677. },
  30678. "currencyname": {
  30679. "description": "币种名称",
  30680. "type": "string"
  30681. },
  30682. "decimalplace": {
  30683. "description": "商品价格小数位",
  30684. "type": "integer"
  30685. },
  30686. "enumdicname": {
  30687. "description": "商品单位名称",
  30688. "type": "string"
  30689. },
  30690. "expirecycle": {
  30691. "description": "行权周期(天) - 1:滚动行权时填写",
  30692. "type": "integer"
  30693. },
  30694. "expiredate": {
  30695. "description": "行权日(yyyyMMdd) - 到期日",
  30696. "type": "string"
  30697. },
  30698. "expiretype": {
  30699. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30700. "type": "integer"
  30701. },
  30702. "freezeqty": {
  30703. "description": "冻结数量",
  30704. "type": "number"
  30705. },
  30706. "goodscode": {
  30707. "description": "商品代码",
  30708. "type": "string"
  30709. },
  30710. "goodsid": {
  30711. "description": "商品ID",
  30712. "type": "integer"
  30713. },
  30714. "goodsname": {
  30715. "description": "商品名称",
  30716. "type": "string"
  30717. },
  30718. "goodunitid": {
  30719. "description": "商品单位id",
  30720. "type": "integer"
  30721. },
  30722. "holderamount": {
  30723. "description": "持仓金额",
  30724. "type": "number"
  30725. },
  30726. "holdercredit": {
  30727. "description": "持仓授信金额",
  30728. "type": "number"
  30729. },
  30730. "holderdays": {
  30731. "description": "剩余冻结天数",
  30732. "type": "integer"
  30733. },
  30734. "holderprice": {
  30735. "description": "持仓价格",
  30736. "type": "number"
  30737. },
  30738. "holderqty": {
  30739. "description": "持仓数量",
  30740. "type": "number"
  30741. },
  30742. "isconfirmexercise": {
  30743. "description": "是否确认行权- 0:否 1:是",
  30744. "type": "integer"
  30745. },
  30746. "ispreexercise": {
  30747. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30748. "type": "integer"
  30749. },
  30750. "marketid": {
  30751. "description": "市场id",
  30752. "type": "integer"
  30753. },
  30754. "marketname": {
  30755. "description": "市场名称",
  30756. "type": "string"
  30757. },
  30758. "openprice": {
  30759. "description": "建仓价格",
  30760. "type": "number"
  30761. },
  30762. "openqty": {
  30763. "description": "建仓数量",
  30764. "type": "number"
  30765. },
  30766. "optiontype": {
  30767. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30768. "type": "integer"
  30769. },
  30770. "preexerciseprice": {
  30771. "description": "预申报价格",
  30772. "type": "number"
  30773. },
  30774. "premium": {
  30775. "description": "权利金",
  30776. "type": "number"
  30777. },
  30778. "qtydecimalplace": {
  30779. "description": "商品成交量小数位",
  30780. "type": "integer"
  30781. },
  30782. "refgoodscode": {
  30783. "description": "标的合约代码",
  30784. "type": "string"
  30785. },
  30786. "refgoodsid": {
  30787. "description": "标的合约id",
  30788. "type": "integer"
  30789. },
  30790. "releaseamount": {
  30791. "description": "释放持仓金额",
  30792. "type": "number"
  30793. },
  30794. "releaseholdercredit": {
  30795. "description": "释放持仓授信金额",
  30796. "type": "number"
  30797. },
  30798. "taname": {
  30799. "description": "资金账号名称",
  30800. "type": "string"
  30801. },
  30802. "tradeamount": {
  30803. "description": "成交金额",
  30804. "type": "number"
  30805. },
  30806. "tradedate": {
  30807. "description": "交易日(yyyyMMdd)",
  30808. "type": "string"
  30809. },
  30810. "tradeid": {
  30811. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30812. "type": "string"
  30813. },
  30814. "trademode": {
  30815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30816. "type": "integer"
  30817. },
  30818. "tradeproperty": {
  30819. "description": "交易属性",
  30820. "type": "integer"
  30821. },
  30822. "tradetime": {
  30823. "description": "交易时间",
  30824. "type": "string"
  30825. },
  30826. "userid": {
  30827. "description": "用户id",
  30828. "type": "integer"
  30829. },
  30830. "username": {
  30831. "description": "用户名称",
  30832. "type": "string"
  30833. }
  30834. }
  30835. },
  30836. "models.UserCollectConfig": {
  30837. "type": "object",
  30838. "properties": {
  30839. "accountstatus": {
  30840. "description": "账户状态 - 1:正常 2:停用 3:注销",
  30841. "type": "integer"
  30842. },
  30843. "collectaccountname": {
  30844. "description": "收款人账户名称",
  30845. "type": "string"
  30846. },
  30847. "collectaccountno": {
  30848. "description": "收款人账户",
  30849. "type": "string"
  30850. },
  30851. "collectbankname": {
  30852. "description": "收款人开户行",
  30853. "type": "string"
  30854. },
  30855. "collectbranchbankname": {
  30856. "description": "收款人开户支行",
  30857. "type": "string"
  30858. },
  30859. "collectconfigid": {
  30860. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  30861. "type": "string"
  30862. },
  30863. "remark": {
  30864. "description": "备注",
  30865. "type": "string"
  30866. },
  30867. "userid": {
  30868. "description": "收款人用户ID",
  30869. "type": "integer"
  30870. }
  30871. }
  30872. },
  30873. "models.UserReceiveInfo": {
  30874. "type": "object",
  30875. "properties": {
  30876. "address": {
  30877. "description": "提货人详细地址",
  30878. "type": "string"
  30879. },
  30880. "autoid": {
  30881. "description": "AutoID",
  30882. "type": "integer"
  30883. },
  30884. "cardnum": {
  30885. "description": "证件号码(加密存储)",
  30886. "type": "string"
  30887. },
  30888. "cardtypeid": {
  30889. "description": "证件类型",
  30890. "type": "integer"
  30891. },
  30892. "cityid": {
  30893. "description": "市",
  30894. "type": "integer"
  30895. },
  30896. "cityname": {
  30897. "description": "城市名称",
  30898. "type": "string"
  30899. },
  30900. "countryid": {
  30901. "description": "国家",
  30902. "type": "integer"
  30903. },
  30904. "countryname": {
  30905. "description": "国家名称",
  30906. "type": "string"
  30907. },
  30908. "districtid": {
  30909. "description": "地区",
  30910. "type": "integer"
  30911. },
  30912. "districtname": {
  30913. "description": "地区名称",
  30914. "type": "string"
  30915. },
  30916. "hasencrypt": {
  30917. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30918. "type": "integer"
  30919. },
  30920. "isdefault": {
  30921. "description": "是否默认地址 - 0:否 1:是",
  30922. "type": "integer"
  30923. },
  30924. "phonenum": {
  30925. "description": "提货人联系方式(加密存储)",
  30926. "type": "string"
  30927. },
  30928. "provinceid": {
  30929. "description": "省",
  30930. "type": "integer"
  30931. },
  30932. "provincename": {
  30933. "description": "省名称",
  30934. "type": "string"
  30935. },
  30936. "receivername": {
  30937. "description": "提货人姓名",
  30938. "type": "string"
  30939. },
  30940. "takeremark": {
  30941. "description": "提货备注",
  30942. "type": "string"
  30943. },
  30944. "userid": {
  30945. "description": "用户ID",
  30946. "type": "integer"
  30947. }
  30948. }
  30949. },
  30950. "models.Useraccount": {
  30951. "type": "object",
  30952. "required": [
  30953. "userid"
  30954. ],
  30955. "properties": {
  30956. "accountname": {
  30957. "description": "账户名称(机构名称)",
  30958. "type": "string"
  30959. },
  30960. "accountstatus": {
  30961. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30962. "type": "integer"
  30963. },
  30964. "applysrc": {
  30965. "description": "申请来源 - 1:管理端 2:终端",
  30966. "type": "integer"
  30967. },
  30968. "auditremark": {
  30969. "description": "审核备注",
  30970. "type": "string"
  30971. },
  30972. "auditsrc": {
  30973. "description": "审核来源 - 1:管理端 2:终端",
  30974. "type": "integer"
  30975. },
  30976. "audittime": {
  30977. "description": "审核时间",
  30978. "type": "string"
  30979. },
  30980. "audituserid": {
  30981. "description": "审核人",
  30982. "type": "integer"
  30983. },
  30984. "broker": {
  30985. "description": "所属经纪人ID",
  30986. "type": "integer"
  30987. },
  30988. "canceltime": {
  30989. "description": "销户时间",
  30990. "type": "string"
  30991. },
  30992. "canceluserid": {
  30993. "description": "销户人",
  30994. "type": "integer"
  30995. },
  30996. "canrecommend": {
  30997. "description": "是否可推荐 - 0:不可 1;可",
  30998. "type": "integer"
  30999. },
  31000. "createtime": {
  31001. "description": "创建时间",
  31002. "type": "string"
  31003. },
  31004. "creatorid": {
  31005. "description": "创建人",
  31006. "type": "integer"
  31007. },
  31008. "hasauth": {
  31009. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  31010. "type": "integer"
  31011. },
  31012. "isanonymous": {
  31013. "description": "是否匿名下单 - 0:否 1:是",
  31014. "type": "integer"
  31015. },
  31016. "maxinvestornum": {
  31017. "description": "最大用户数(经纪会员下投资者个数)",
  31018. "type": "integer"
  31019. },
  31020. "memberuserid": {
  31021. "description": "所属会员ID",
  31022. "type": "integer"
  31023. },
  31024. "modifierid": {
  31025. "description": "修改人",
  31026. "type": "integer"
  31027. },
  31028. "modifyremark": {
  31029. "description": "变更备注",
  31030. "type": "string"
  31031. },
  31032. "modifystatus": {
  31033. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  31034. "type": "integer"
  31035. },
  31036. "modifytime": {
  31037. "description": "修改时间",
  31038. "type": "string"
  31039. },
  31040. "parenttopuser": {
  31041. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31042. "type": "string"
  31043. },
  31044. "parentuserid": {
  31045. "description": "所属机构ID",
  31046. "type": "integer"
  31047. },
  31048. "reckonaccountid": {
  31049. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31050. "type": "integer"
  31051. },
  31052. "refercount": {
  31053. "description": "推荐总人数",
  31054. "type": "integer"
  31055. },
  31056. "refereeuserid": {
  31057. "description": "推荐人ID",
  31058. "type": "integer"
  31059. },
  31060. "refernum": {
  31061. "description": "推荐码",
  31062. "type": "string"
  31063. },
  31064. "rootuserid": {
  31065. "description": "根用户ID",
  31066. "type": "integer"
  31067. },
  31068. "subaccountlevel": {
  31069. "description": "子账户层数",
  31070. "type": "integer"
  31071. },
  31072. "subarealevelpath": {
  31073. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31074. "type": "string"
  31075. },
  31076. "userid": {
  31077. "description": "用户ID",
  31078. "type": "integer"
  31079. },
  31080. "usertype": {
  31081. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31082. "type": "integer"
  31083. }
  31084. }
  31085. },
  31086. "models.Userfavoritegoods": {
  31087. "type": "object",
  31088. "required": [
  31089. "goodsid"
  31090. ],
  31091. "properties": {
  31092. "goodsid": {
  31093. "description": "商品ID",
  31094. "type": "integer"
  31095. }
  31096. }
  31097. },
  31098. "models.Userinfo": {
  31099. "type": "object",
  31100. "required": [
  31101. "userid"
  31102. ],
  31103. "properties": {
  31104. "address": {
  31105. "description": "地址",
  31106. "type": "string"
  31107. },
  31108. "attachment1": {
  31109. "description": "附件1",
  31110. "type": "string"
  31111. },
  31112. "attachment2": {
  31113. "description": "附件2",
  31114. "type": "string"
  31115. },
  31116. "bankaccount": {
  31117. "description": "银行帐号 (加密存储)",
  31118. "type": "string"
  31119. },
  31120. "bankaccountname": {
  31121. "description": "收款人名称",
  31122. "type": "string"
  31123. },
  31124. "bankcardfrontphotourl": {
  31125. "description": "银行卡正面照地址",
  31126. "type": "string"
  31127. },
  31128. "bankid": {
  31129. "description": "银行编码",
  31130. "type": "string"
  31131. },
  31132. "bankname": {
  31133. "description": "银行名称",
  31134. "type": "string"
  31135. },
  31136. "biznature": {
  31137. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31138. "type": "integer"
  31139. },
  31140. "bizscope": {
  31141. "description": "企业经营范围(企业)",
  31142. "type": "string"
  31143. },
  31144. "cardbackphotourl": {
  31145. "description": "证件背面图片地址",
  31146. "type": "string"
  31147. },
  31148. "cardfrontphotourl": {
  31149. "description": "证件正面图片地址",
  31150. "type": "string"
  31151. },
  31152. "cardnum": {
  31153. "description": "证件号码(加密存储)",
  31154. "type": "string"
  31155. },
  31156. "cardtypeid": {
  31157. "description": "证件类型ID",
  31158. "type": "integer"
  31159. },
  31160. "cityid": {
  31161. "description": "市",
  31162. "type": "integer"
  31163. },
  31164. "company": {
  31165. "description": "公司(个人)",
  31166. "type": "string"
  31167. },
  31168. "contactname": {
  31169. "description": "联系人",
  31170. "type": "string"
  31171. },
  31172. "countryid": {
  31173. "description": "国家",
  31174. "type": "integer"
  31175. },
  31176. "createtime": {
  31177. "description": "创建时间",
  31178. "type": "string"
  31179. },
  31180. "creatorid": {
  31181. "description": "创建人",
  31182. "type": "integer"
  31183. },
  31184. "customername": {
  31185. "description": "客户名称(企业名称)",
  31186. "type": "string"
  31187. },
  31188. "districtid": {
  31189. "description": "地区",
  31190. "type": "integer"
  31191. },
  31192. "email": {
  31193. "description": "邮件(加密存储)",
  31194. "type": "string"
  31195. },
  31196. "fax": {
  31197. "description": "传真(加密存储)",
  31198. "type": "string"
  31199. },
  31200. "halfbodyphotourl": {
  31201. "description": "半身照地址",
  31202. "type": "string"
  31203. },
  31204. "hasencrypt": {
  31205. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31206. "type": "integer"
  31207. },
  31208. "headurl": {
  31209. "description": "头像地址",
  31210. "type": "string"
  31211. },
  31212. "legalcardbackphotourl": {
  31213. "description": "法人身份证背面照地址",
  31214. "type": "string"
  31215. },
  31216. "legalcardfrontphotourl": {
  31217. "description": "法人身份证正面照地址",
  31218. "type": "string"
  31219. },
  31220. "legalpersonname": {
  31221. "description": "法人姓名(企业)",
  31222. "type": "string"
  31223. },
  31224. "mobile": {
  31225. "description": "手机号码(加密存储)",
  31226. "type": "string"
  31227. },
  31228. "mobile2": {
  31229. "description": "手机号码[明文-尚志]",
  31230. "type": "string"
  31231. },
  31232. "modifierid": {
  31233. "description": "修改人",
  31234. "type": "integer"
  31235. },
  31236. "modifiertime": {
  31237. "description": "修改时间",
  31238. "type": "string"
  31239. },
  31240. "needinvoice": {
  31241. "description": "是否需要发票 - 0:不需要 1:需要",
  31242. "type": "integer"
  31243. },
  31244. "nickname": {
  31245. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31246. "type": "string"
  31247. },
  31248. "openmode": {
  31249. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31250. "type": "integer"
  31251. },
  31252. "otherurl": {
  31253. "description": "其它图片地址[使用分号分隔]",
  31254. "type": "string"
  31255. },
  31256. "postalcode": {
  31257. "description": "邮政编码",
  31258. "type": "string"
  31259. },
  31260. "provinceid": {
  31261. "description": "省",
  31262. "type": "integer"
  31263. },
  31264. "qq": {
  31265. "description": "QQ(加密存储",
  31266. "type": "string"
  31267. },
  31268. "remark": {
  31269. "description": "备注",
  31270. "type": "string"
  31271. },
  31272. "sex": {
  31273. "description": "用户性别 0: 女 1: 男",
  31274. "type": "integer"
  31275. },
  31276. "signpdfurl": {
  31277. "description": "签约pdf文件",
  31278. "type": "string"
  31279. },
  31280. "telphone": {
  31281. "description": "联系电话(加密存储)",
  31282. "type": "string"
  31283. },
  31284. "userid": {
  31285. "description": "用户ID",
  31286. "type": "integer"
  31287. },
  31288. "userinfotype": {
  31289. "description": "用户信息类型 - 1:个人 2:企业",
  31290. "type": "integer"
  31291. },
  31292. "userstatus": {
  31293. "description": "用户状态 - 1:正常 2:注销",
  31294. "type": "integer"
  31295. },
  31296. "usertype": {
  31297. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31298. "type": "integer"
  31299. },
  31300. "wechat": {
  31301. "description": "微信(加密存储)",
  31302. "type": "string"
  31303. },
  31304. "wskhinfo": {
  31305. "description": "开户申请信息(JSON)",
  31306. "type": "string"
  31307. }
  31308. }
  31309. },
  31310. "models.WRSConverTDetail": {
  31311. "type": "object",
  31312. "properties": {
  31313. "convertratio": {
  31314. "description": "套保系数",
  31315. "type": "number"
  31316. },
  31317. "deliverygoodscode": {
  31318. "description": "现货商品代码",
  31319. "type": "string"
  31320. },
  31321. "deliverygoodsid": {
  31322. "description": "现货品种ID",
  31323. "type": "integer"
  31324. },
  31325. "deliverygoodsname": {
  31326. "description": "现货商品名称",
  31327. "type": "string"
  31328. },
  31329. "enumdicname": {
  31330. "description": "单位名称",
  31331. "type": "string"
  31332. },
  31333. "goodsunitid": {
  31334. "description": "套保品种单位id",
  31335. "type": "integer"
  31336. },
  31337. "middlegoodscode": {
  31338. "description": "套保品种代码",
  31339. "type": "string"
  31340. },
  31341. "middlegoodsid": {
  31342. "description": "套保品种ID",
  31343. "type": "integer"
  31344. },
  31345. "middlegoodsname": {
  31346. "description": "套保品种名称",
  31347. "type": "string"
  31348. },
  31349. "modifytime": {
  31350. "description": "修改时间",
  31351. "type": "string"
  31352. },
  31353. "wrstandardid": {
  31354. "description": "品类ID",
  31355. "type": "integer"
  31356. }
  31357. }
  31358. },
  31359. "models.WRStandardInfo": {
  31360. "type": "object",
  31361. "required": [
  31362. "wrstandardid"
  31363. ],
  31364. "properties": {
  31365. "areauserid": {
  31366. "description": "所属机构",
  31367. "type": "integer"
  31368. },
  31369. "convertfactor": {
  31370. "description": "标仓系数",
  31371. "type": "number"
  31372. },
  31373. "createtime": {
  31374. "description": "创建时间",
  31375. "type": "string"
  31376. },
  31377. "creatorid": {
  31378. "description": "创建人",
  31379. "type": "integer"
  31380. },
  31381. "deliverygoodsid": {
  31382. "description": "品种ID",
  31383. "type": "integer"
  31384. },
  31385. "deliverygoodsname": {
  31386. "description": "交割商品名称",
  31387. "type": "string"
  31388. },
  31389. "factoryitemjson": {
  31390. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31391. "type": "string"
  31392. },
  31393. "isvalid": {
  31394. "description": "是否有效 - 0:无效 1:有效",
  31395. "type": "integer"
  31396. },
  31397. "minivalue": {
  31398. "description": "最小变动值",
  31399. "type": "integer"
  31400. },
  31401. "minivaluedp": {
  31402. "description": "最小变动值小数位",
  31403. "type": "integer"
  31404. },
  31405. "realminivalue": {
  31406. "description": "实际最小变动值",
  31407. "type": "integer"
  31408. },
  31409. "realminivaluedp": {
  31410. "description": "实际最小变动值小数位",
  31411. "type": "integer"
  31412. },
  31413. "remark": {
  31414. "description": "备注",
  31415. "type": "string"
  31416. },
  31417. "unitid": {
  31418. "description": "单位ID",
  31419. "type": "integer"
  31420. },
  31421. "unitname": {
  31422. "description": "单位",
  31423. "type": "string"
  31424. },
  31425. "updatetime": {
  31426. "description": "更新时间",
  31427. "type": "string"
  31428. },
  31429. "updatorid": {
  31430. "description": "更新人",
  31431. "type": "integer"
  31432. },
  31433. "wrsstatus": {
  31434. "description": "状态 - 作废 - 0:未激活 1:正常",
  31435. "type": "integer"
  31436. },
  31437. "wrstandardcode": {
  31438. "description": "现货品类代码",
  31439. "type": "string"
  31440. },
  31441. "wrstandardid": {
  31442. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31443. "type": "integer"
  31444. },
  31445. "wrstandardname": {
  31446. "description": "现货品类名称",
  31447. "type": "string"
  31448. }
  31449. }
  31450. },
  31451. "models.WRTradeBargainApply": {
  31452. "type": "object",
  31453. "properties": {
  31454. "accountid": {
  31455. "description": "摘牌资金账号",
  31456. "type": "integer"
  31457. },
  31458. "applyprice": {
  31459. "description": "申请价格(议价价格)",
  31460. "type": "string"
  31461. },
  31462. "applyqty": {
  31463. "description": "摘牌数量(议价数量)",
  31464. "type": "number"
  31465. },
  31466. "applyremark": {
  31467. "description": "申请备注",
  31468. "type": "string"
  31469. },
  31470. "applystatus": {
  31471. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31472. "type": "integer"
  31473. },
  31474. "applytime": {
  31475. "description": "申请时间(议价时间)",
  31476. "type": "string"
  31477. },
  31478. "buyorsell": {
  31479. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31480. "type": "integer"
  31481. },
  31482. "confirmremark": {
  31483. "description": "确认备注",
  31484. "type": "string"
  31485. },
  31486. "confirmtime": {
  31487. "description": "确认时间",
  31488. "type": "string"
  31489. },
  31490. "confirmuserid": {
  31491. "description": "确认人",
  31492. "type": "integer"
  31493. },
  31494. "deliverygoodscode": {
  31495. "description": "品种代码",
  31496. "type": "string"
  31497. },
  31498. "deliverygoodsid": {
  31499. "description": "品种ID",
  31500. "type": "integer"
  31501. },
  31502. "deliverygoodsname": {
  31503. "description": "品种名称",
  31504. "type": "string"
  31505. },
  31506. "deliverymonth": {
  31507. "description": "交收月",
  31508. "type": "string"
  31509. },
  31510. "enumdicname": {
  31511. "description": "单位名称",
  31512. "type": "string"
  31513. },
  31514. "fixedprice": {
  31515. "description": "挂牌价格",
  31516. "type": "number"
  31517. },
  31518. "handlestatus": {
  31519. "description": "处理状态",
  31520. "type": "integer"
  31521. },
  31522. "marginvalue": {
  31523. "description": "履约保证金比例",
  31524. "type": "number"
  31525. },
  31526. "marketid": {
  31527. "description": "市场ID",
  31528. "type": "integer"
  31529. },
  31530. "matchaccountid": {
  31531. "description": "挂牌方资金账号",
  31532. "type": "integer"
  31533. },
  31534. "matchuserid": {
  31535. "description": "挂牌方用户id",
  31536. "type": "integer"
  31537. },
  31538. "matchusername": {
  31539. "description": "挂牌方用户名称(已脱敏)",
  31540. "type": "string"
  31541. },
  31542. "minivalue": {
  31543. "description": "现货商品最小变动值",
  31544. "type": "integer"
  31545. },
  31546. "optioncompare": {
  31547. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31548. "type": "string"
  31549. },
  31550. "orderqty": {
  31551. "description": "挂牌数量",
  31552. "type": "integer"
  31553. },
  31554. "refprice": {
  31555. "description": "参考价格",
  31556. "type": "string"
  31557. },
  31558. "retcode": {
  31559. "description": "委托返回代码",
  31560. "type": "integer"
  31561. },
  31562. "templatename": {
  31563. "description": "履约方式(履约模板名称)",
  31564. "type": "string"
  31565. },
  31566. "tradedate": {
  31567. "description": "交易日(yyyyMMdd)",
  31568. "type": "string"
  31569. },
  31570. "userid": {
  31571. "description": "摘牌人用户ID(议价人ID)",
  31572. "type": "integer"
  31573. },
  31574. "username": {
  31575. "description": "议价人名字(已脱敏)",
  31576. "type": "string"
  31577. },
  31578. "validtime": {
  31579. "description": "有效期限",
  31580. "type": "string"
  31581. },
  31582. "warehouseid": {
  31583. "description": "仓库ID",
  31584. "type": "integer"
  31585. },
  31586. "warehousename": {
  31587. "description": "仓库名称",
  31588. "type": "string"
  31589. },
  31590. "wrbargainid": {
  31591. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31592. "type": "string"
  31593. },
  31594. "wrfactortypeid": {
  31595. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31596. "type": "string"
  31597. },
  31598. "wrfactortypename": {
  31599. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31600. "type": "string"
  31601. },
  31602. "wrstandardcode": {
  31603. "description": "现货商品代码",
  31604. "type": "string"
  31605. },
  31606. "wrstandardid": {
  31607. "description": "现货商品ID",
  31608. "type": "integer"
  31609. },
  31610. "wrstandardname": {
  31611. "description": "商品名称",
  31612. "type": "string"
  31613. },
  31614. "wrtradeorderid": {
  31615. "description": "关联委托单ID",
  31616. "type": "string"
  31617. },
  31618. "wrtypename": {
  31619. "description": "商品",
  31620. "type": "string"
  31621. }
  31622. }
  31623. },
  31624. "models.Warehouseinfo": {
  31625. "type": "object",
  31626. "required": [
  31627. "autoid",
  31628. "warehousecode"
  31629. ],
  31630. "properties": {
  31631. "address": {
  31632. "description": "详细地址",
  31633. "type": "string"
  31634. },
  31635. "areauserid": {
  31636. "description": "所属机构",
  31637. "type": "integer"
  31638. },
  31639. "autoid": {
  31640. "description": "自增ID",
  31641. "type": "integer"
  31642. },
  31643. "cityid": {
  31644. "description": "市",
  31645. "type": "integer"
  31646. },
  31647. "contactname": {
  31648. "description": "联系人",
  31649. "type": "string"
  31650. },
  31651. "contactnum": {
  31652. "description": "联系电话",
  31653. "type": "string"
  31654. },
  31655. "countryid": {
  31656. "description": "国家",
  31657. "type": "integer"
  31658. },
  31659. "createtime": {
  31660. "description": "创建时间",
  31661. "type": "string"
  31662. },
  31663. "districtid": {
  31664. "description": "区",
  31665. "type": "integer"
  31666. },
  31667. "hasvideo": {
  31668. "description": "是否有视频 - 0:无 1:有",
  31669. "type": "integer"
  31670. },
  31671. "provinceid": {
  31672. "description": "省",
  31673. "type": "integer"
  31674. },
  31675. "remark": {
  31676. "description": "审核备注",
  31677. "type": "string"
  31678. },
  31679. "videourl": {
  31680. "description": "视频地址",
  31681. "type": "string"
  31682. },
  31683. "warehousecode": {
  31684. "description": "仓库代码",
  31685. "type": "string"
  31686. },
  31687. "warehousename": {
  31688. "description": "仓库名称",
  31689. "type": "string"
  31690. },
  31691. "warehousestatus": {
  31692. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31693. "type": "integer"
  31694. },
  31695. "warehousetype": {
  31696. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31697. "type": "integer"
  31698. }
  31699. }
  31700. },
  31701. "models.WrAverageTradePrice": {
  31702. "type": "object",
  31703. "properties": {
  31704. "averageprice": {
  31705. "description": "成交均价",
  31706. "type": "number"
  31707. },
  31708. "tradedate": {
  31709. "description": "交易日yyyymm",
  31710. "type": "string"
  31711. }
  31712. }
  31713. },
  31714. "models.WrBsGoodsInfo": {
  31715. "type": "object",
  31716. "properties": {
  31717. "buyorsell": {
  31718. "description": "买卖方向 0-买 1-卖",
  31719. "type": "integer"
  31720. },
  31721. "goodsid": {
  31722. "description": "交易合约ID",
  31723. "type": "integer"
  31724. },
  31725. "lstitem": {
  31726. "description": "商品信息项",
  31727. "type": "array",
  31728. "items": {
  31729. "$ref": "#/definitions/models.WrTypeItem"
  31730. }
  31731. },
  31732. "lststep": {
  31733. "description": "履约规则",
  31734. "type": "array",
  31735. "items": {
  31736. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31737. }
  31738. }
  31739. }
  31740. },
  31741. "models.WrBuybackDetail": {
  31742. "type": "object",
  31743. "properties": {
  31744. "buybackamount": {
  31745. "description": "回购金额",
  31746. "type": "number"
  31747. },
  31748. "buybackqty": {
  31749. "description": "回购数量",
  31750. "type": "number"
  31751. },
  31752. "buybackreleasemargin": {
  31753. "description": "回购释放保证金",
  31754. "type": "number"
  31755. },
  31756. "buybacktime": {
  31757. "description": "回购时间",
  31758. "type": "string"
  31759. },
  31760. "errordesc": {
  31761. "description": "错误描述",
  31762. "type": "string"
  31763. },
  31764. "handlestatus": {
  31765. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31766. "type": "integer"
  31767. },
  31768. "relatedwrid": {
  31769. "description": "关联仓单ID",
  31770. "type": "integer"
  31771. },
  31772. "scfcontractid": {
  31773. "description": "SCF合同ID",
  31774. "type": "string"
  31775. },
  31776. "scfwrbuybackid": {
  31777. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31778. "type": "integer"
  31779. },
  31780. "tradedate": {
  31781. "description": "交易日(yyyyMMdd)",
  31782. "type": "string"
  31783. }
  31784. }
  31785. },
  31786. "models.WrDeliveryAvalidHoldLB": {
  31787. "type": "object",
  31788. "properties": {
  31789. "accountid": {
  31790. "description": "资金账号",
  31791. "type": "integer"
  31792. },
  31793. "avalidqty": {
  31794. "description": "数量(可点选数量)",
  31795. "type": "number"
  31796. },
  31797. "deliverygoodsid": {
  31798. "description": "品种id",
  31799. "type": "integer"
  31800. },
  31801. "enumdicname": {
  31802. "description": "单位名称",
  31803. "type": "string"
  31804. },
  31805. "goodsid": {
  31806. "description": "x合约商品id",
  31807. "type": "integer"
  31808. },
  31809. "ladingbillid": {
  31810. "description": "提单id",
  31811. "type": "string"
  31812. },
  31813. "pgoodscode": {
  31814. "description": "p商品代码(点价合约)",
  31815. "type": "string"
  31816. },
  31817. "pgoodsid": {
  31818. "description": "p商品id(点价合约)",
  31819. "type": "integer"
  31820. },
  31821. "pgoodsname": {
  31822. "description": "p商品名称(点价合约)",
  31823. "type": "string"
  31824. },
  31825. "pricemove": {
  31826. "description": "升贴水",
  31827. "type": "number"
  31828. },
  31829. "subnum": {
  31830. "description": "提单子id",
  31831. "type": "integer"
  31832. },
  31833. "userid": {
  31834. "description": "用户id",
  31835. "type": "integer"
  31836. },
  31837. "username": {
  31838. "description": "仓单持有人",
  31839. "type": "string"
  31840. },
  31841. "warehousecode": {
  31842. "description": "仓库代码",
  31843. "type": "string"
  31844. },
  31845. "warehouseid": {
  31846. "description": "仓库id",
  31847. "type": "integer"
  31848. },
  31849. "warehousename": {
  31850. "description": "仓库名称",
  31851. "type": "string"
  31852. },
  31853. "wrfactortypeid": {
  31854. "description": "仓单要素id",
  31855. "type": "string"
  31856. },
  31857. "wrstandardcode": {
  31858. "description": "品代码",
  31859. "type": "string"
  31860. },
  31861. "wrstandardid": {
  31862. "description": "品类d",
  31863. "type": "integer"
  31864. },
  31865. "wrstandardname": {
  31866. "description": "品类名称",
  31867. "type": "string"
  31868. },
  31869. "wrtypename": {
  31870. "description": "商品",
  31871. "type": "string"
  31872. },
  31873. "xgoodscode": {
  31874. "description": "x合约代码",
  31875. "type": "string"
  31876. },
  31877. "xgoodsname": {
  31878. "description": "x合约名称",
  31879. "type": "string"
  31880. }
  31881. }
  31882. },
  31883. "models.WrDeliveryDetail": {
  31884. "type": "object",
  31885. "properties": {
  31886. "accountid": {
  31887. "description": "账号ID",
  31888. "type": "integer"
  31889. },
  31890. "averageprice": {
  31891. "description": "交割均价 = 交割金额 / 交割数量",
  31892. "type": "number"
  31893. },
  31894. "buyorsell": {
  31895. "description": "方向 - 0:买 1:卖",
  31896. "type": "integer"
  31897. },
  31898. "deliveryamount": {
  31899. "description": "货款金额(X总货款+P总货款)",
  31900. "type": "number"
  31901. },
  31902. "deliveryid": {
  31903. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31904. "type": "string"
  31905. },
  31906. "deliveryorderid": {
  31907. "description": "申报单号",
  31908. "type": "string"
  31909. },
  31910. "deliverypricemove": {
  31911. "description": "升贴水(升贴水总额)",
  31912. "type": "number"
  31913. },
  31914. "deliveryqty": {
  31915. "description": "交收数量(点选数量)",
  31916. "type": "number"
  31917. },
  31918. "deliverystatus": {
  31919. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31920. "type": "integer"
  31921. },
  31922. "deliverytime": {
  31923. "description": "交割时间",
  31924. "type": "string"
  31925. },
  31926. "deliverytotalamount": {
  31927. "description": "交收金额",
  31928. "type": "number"
  31929. },
  31930. "enumdicname": {
  31931. "description": "单位名称",
  31932. "type": "string"
  31933. },
  31934. "matchaccountid": {
  31935. "description": "对手账号ID",
  31936. "type": "integer"
  31937. },
  31938. "matchusername": {
  31939. "description": "对手方名称(仓单持有人)",
  31940. "type": "string"
  31941. },
  31942. "p1goodsremainamount": {
  31943. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31944. "type": "number"
  31945. },
  31946. "pdeliverycloseqty": {
  31947. "description": "p合约平仓数量",
  31948. "type": "number"
  31949. },
  31950. "pdeliveryprice": {
  31951. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31952. "type": "number"
  31953. },
  31954. "pgoodscode": {
  31955. "description": "商品代码",
  31956. "type": "string"
  31957. },
  31958. "pgoodsid": {
  31959. "description": "p点选合约id",
  31960. "type": "integer"
  31961. },
  31962. "pgoodsname": {
  31963. "description": "商品名称",
  31964. "type": "string"
  31965. },
  31966. "ppricemode": {
  31967. "description": "点价价格方式 - 1:商品价 2:固定值",
  31968. "type": "integer"
  31969. },
  31970. "tradedate": {
  31971. "description": "交易日(yyyymmdd)",
  31972. "type": "string"
  31973. },
  31974. "userid": {
  31975. "description": "用户id",
  31976. "type": "integer"
  31977. },
  31978. "username": {
  31979. "description": "用户名称",
  31980. "type": "string"
  31981. },
  31982. "warehousename": {
  31983. "description": "仓库名称",
  31984. "type": "string"
  31985. },
  31986. "wrfactortypeid": {
  31987. "description": "仓单要素类型ID",
  31988. "type": "string"
  31989. },
  31990. "wrtypename": {
  31991. "description": "商品",
  31992. "type": "string"
  31993. },
  31994. "xdeliverycloseqty": {
  31995. "description": "合约数量",
  31996. "type": "number"
  31997. },
  31998. "xgoodsamount": {
  31999. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  32000. "type": "number"
  32001. },
  32002. "xgoodscode": {
  32003. "description": "商品代码",
  32004. "type": "string"
  32005. },
  32006. "xgoodsid": {
  32007. "description": "x交易合约ID",
  32008. "type": "integer"
  32009. },
  32010. "xgoodsname": {
  32011. "description": "商品名称",
  32012. "type": "string"
  32013. }
  32014. }
  32015. },
  32016. "models.WrFAProductDetail": {
  32017. "type": "object",
  32018. "properties": {
  32019. "accountid": {
  32020. "description": "资金账号",
  32021. "type": "integer"
  32022. },
  32023. "areauserid": {
  32024. "description": "金融机构ID",
  32025. "type": "integer"
  32026. },
  32027. "financingdays": {
  32028. "description": "天数(天)",
  32029. "type": "integer"
  32030. },
  32031. "interestminlen": {
  32032. "description": "最小起息天数",
  32033. "type": "integer"
  32034. },
  32035. "interestrate": {
  32036. "description": "利率",
  32037. "type": "number"
  32038. },
  32039. "interestratemode": {
  32040. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32041. "type": "integer"
  32042. },
  32043. "interestsettlemode": {
  32044. "description": "结息方式 - 1:按日结息 3:按月结息",
  32045. "type": "integer"
  32046. },
  32047. "interestsettlevalue": {
  32048. "description": "结息方式值",
  32049. "type": "integer"
  32050. },
  32051. "isautoloan": {
  32052. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32053. "type": "integer"
  32054. },
  32055. "loantag": {
  32056. "description": "放款标识: \"放款快\" 或者为空",
  32057. "type": "string"
  32058. },
  32059. "marginratio": {
  32060. "description": "保证金比率质押率 - [仓单质押]",
  32061. "type": "number"
  32062. },
  32063. "productdetailid": {
  32064. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32065. "type": "integer"
  32066. },
  32067. "productid": {
  32068. "description": "金融产品ID",
  32069. "type": "integer"
  32070. },
  32071. "productname": {
  32072. "description": "产品名称",
  32073. "type": "string"
  32074. },
  32075. "updatetime": {
  32076. "description": "更新时间",
  32077. "type": "string"
  32078. },
  32079. "username": {
  32080. "description": "融出方",
  32081. "type": "string"
  32082. }
  32083. }
  32084. },
  32085. "models.WrFactorTypeInfo": {
  32086. "type": "object",
  32087. "properties": {
  32088. "deliverygoodscode": {
  32089. "description": "品种代码",
  32090. "type": "string"
  32091. },
  32092. "deliverygoodsname": {
  32093. "description": "品种名称",
  32094. "type": "string"
  32095. },
  32096. "dgfactoryitemid": {
  32097. "description": "选择项id",
  32098. "type": "integer"
  32099. },
  32100. "dgfactoryitemtypeid": {
  32101. "description": "要素选择项ID (1-仓库 2-品牌)",
  32102. "type": "integer"
  32103. },
  32104. "dgfactoryitemvalue": {
  32105. "description": "要素项值",
  32106. "type": "string"
  32107. },
  32108. "itemtypename": {
  32109. "description": "要素项名称",
  32110. "type": "string"
  32111. },
  32112. "optioncompare": {
  32113. "description": "选择比较串",
  32114. "type": "string"
  32115. },
  32116. "warehouseid": {
  32117. "description": "仓库id",
  32118. "type": "integer"
  32119. },
  32120. "wrfactortypeid": {
  32121. "description": "仓单要素ID",
  32122. "type": "string"
  32123. },
  32124. "wrfactortypename": {
  32125. "description": "要素名称",
  32126. "type": "string"
  32127. },
  32128. "wrfactortypename2": {
  32129. "description": "要素名称(不含仓库)",
  32130. "type": "string"
  32131. },
  32132. "wrstandardcode": {
  32133. "description": "品类代码",
  32134. "type": "string"
  32135. },
  32136. "wrstandardid": {
  32137. "description": "品类id",
  32138. "type": "integer"
  32139. },
  32140. "wrstandardname": {
  32141. "description": "品类名称",
  32142. "type": "string"
  32143. }
  32144. }
  32145. },
  32146. "models.WrFilterItem": {
  32147. "type": "object",
  32148. "properties": {
  32149. "itemcode": {
  32150. "description": "代码",
  32151. "type": "string"
  32152. },
  32153. "itemid": {
  32154. "description": "项id",
  32155. "type": "integer"
  32156. },
  32157. "itemname": {
  32158. "description": "名称",
  32159. "type": "string"
  32160. },
  32161. "itemtype": {
  32162. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32163. "type": "integer"
  32164. }
  32165. }
  32166. },
  32167. "models.WrFinanceBuyApply": {
  32168. "type": "object",
  32169. "properties": {
  32170. "applydate": {
  32171. "description": "申请时间",
  32172. "type": "string"
  32173. },
  32174. "applystatus": {
  32175. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32176. "type": "integer"
  32177. },
  32178. "applyuserid": {
  32179. "description": "申请人",
  32180. "type": "integer"
  32181. },
  32182. "auditdate": {
  32183. "description": "审核时间",
  32184. "type": "string"
  32185. },
  32186. "auditremark": {
  32187. "description": "审核备注",
  32188. "type": "string"
  32189. },
  32190. "audituserid": {
  32191. "description": "审核人",
  32192. "type": "integer"
  32193. },
  32194. "buyaccountid": {
  32195. "description": "买方资金账号",
  32196. "type": "integer"
  32197. },
  32198. "buyorsell": {
  32199. "description": "买卖 - 0:买 1:卖",
  32200. "type": "integer"
  32201. },
  32202. "buyuserid": {
  32203. "description": "买方用户ID",
  32204. "type": "integer"
  32205. },
  32206. "buyusername": {
  32207. "description": "买方名称",
  32208. "type": "string"
  32209. },
  32210. "buywrtradeorderid": {
  32211. "description": "融资方买委托单ID",
  32212. "type": "string"
  32213. },
  32214. "deliverygoodscode": {
  32215. "description": "品种代码",
  32216. "type": "string"
  32217. },
  32218. "deliverygoodsid": {
  32219. "description": "品种ID",
  32220. "type": "integer"
  32221. },
  32222. "deliverygoodsname": {
  32223. "description": "品种名称",
  32224. "type": "string"
  32225. },
  32226. "deliverymonth": {
  32227. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32228. "type": "string"
  32229. },
  32230. "enumdicname": {
  32231. "description": "单位名称",
  32232. "type": "string"
  32233. },
  32234. "financeaccountid": {
  32235. "description": "融资方资金帐户ID",
  32236. "type": "integer"
  32237. },
  32238. "financeapplyid": {
  32239. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32240. "type": "string"
  32241. },
  32242. "financeareauserid": {
  32243. "description": "融资方用户ID",
  32244. "type": "string"
  32245. },
  32246. "financename": {
  32247. "description": "融出方名称",
  32248. "type": "string"
  32249. },
  32250. "financetype": {
  32251. "description": "融资类型 1-融资回购",
  32252. "type": "integer"
  32253. },
  32254. "financingdays": {
  32255. "description": "天数(天)",
  32256. "type": "integer"
  32257. },
  32258. "freezebuymargin": {
  32259. "description": "冻结融资保证金(买方)",
  32260. "type": "number"
  32261. },
  32262. "handleremark": {
  32263. "description": "处理备注",
  32264. "type": "string"
  32265. },
  32266. "handlestatus": {
  32267. "description": "处理状态",
  32268. "type": "integer"
  32269. },
  32270. "interestminlen": {
  32271. "description": "最小起息天数",
  32272. "type": "integer"
  32273. },
  32274. "interestrate": {
  32275. "description": "利率",
  32276. "type": "number"
  32277. },
  32278. "interestratemode": {
  32279. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32280. "type": "integer"
  32281. },
  32282. "interestsettlemode": {
  32283. "description": "结息方式 - 1:按日结息 3:按月结息",
  32284. "type": "integer"
  32285. },
  32286. "interestsettlevalue": {
  32287. "description": "结息方式值",
  32288. "type": "integer"
  32289. },
  32290. "isautoloan": {
  32291. "description": "是否自动放款 - 0:手动 1:自动",
  32292. "type": "integer"
  32293. },
  32294. "marginratio": {
  32295. "description": "保证金比率质押率 - [仓单质押]",
  32296. "type": "number"
  32297. },
  32298. "marketid": {
  32299. "description": "市场ID",
  32300. "type": "integer"
  32301. },
  32302. "minivalue": {
  32303. "description": "现货商品最小变动值",
  32304. "type": "integer"
  32305. },
  32306. "optioncompare": {
  32307. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32308. "type": "string"
  32309. },
  32310. "orderqty": {
  32311. "description": "委托数量(商品数量)",
  32312. "type": "number"
  32313. },
  32314. "productdetailid": {
  32315. "description": "产品组合ID",
  32316. "type": "integer"
  32317. },
  32318. "productid": {
  32319. "description": "金融产品ID",
  32320. "type": "integer"
  32321. },
  32322. "productname": {
  32323. "description": "产品名称",
  32324. "type": "string"
  32325. },
  32326. "remark": {
  32327. "description": "备注",
  32328. "type": "string"
  32329. },
  32330. "scfcontractid": {
  32331. "description": "仓单回购合同ID",
  32332. "type": "string"
  32333. },
  32334. "sellaccountid": {
  32335. "description": "卖方资金账号",
  32336. "type": "integer"
  32337. },
  32338. "selluserid": {
  32339. "description": "卖方用户ID",
  32340. "type": "integer"
  32341. },
  32342. "sellwrtradeorderid": {
  32343. "description": "卖方委托单ID",
  32344. "type": "string"
  32345. },
  32346. "tradeamount": {
  32347. "description": "成交金额(借款金额)",
  32348. "type": "number"
  32349. },
  32350. "tradedate": {
  32351. "description": "交易日(yyyyMMdd)",
  32352. "type": "string"
  32353. },
  32354. "tradeprice": {
  32355. "description": "成交价格",
  32356. "type": "number"
  32357. },
  32358. "warehouseid": {
  32359. "description": "仓库ID",
  32360. "type": "integer"
  32361. },
  32362. "warehousename": {
  32363. "description": "仓库名称",
  32364. "type": "string"
  32365. },
  32366. "wrfactortypeid": {
  32367. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32368. "type": "string"
  32369. },
  32370. "wrfactortypename": {
  32371. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32372. "type": "string"
  32373. },
  32374. "wrpricetype": {
  32375. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32376. "type": "integer"
  32377. },
  32378. "wrstandardcode": {
  32379. "description": "现货商品代码",
  32380. "type": "string"
  32381. },
  32382. "wrstandardid": {
  32383. "description": "现货商品ID",
  32384. "type": "integer"
  32385. },
  32386. "wrstandardname": {
  32387. "description": "商品名称",
  32388. "type": "string"
  32389. },
  32390. "wrtypename": {
  32391. "description": "商品",
  32392. "type": "string"
  32393. }
  32394. }
  32395. },
  32396. "models.WrFriendApply": {
  32397. "type": "object",
  32398. "properties": {
  32399. "applicantid": {
  32400. "description": "申请人",
  32401. "type": "integer"
  32402. },
  32403. "applyname": {
  32404. "description": "申请人名称",
  32405. "type": "string"
  32406. },
  32407. "applysrc": {
  32408. "description": "申请来源 - 1:管理端 2:终端",
  32409. "type": "integer"
  32410. },
  32411. "applystatus": {
  32412. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32413. "type": "integer"
  32414. },
  32415. "applytime": {
  32416. "description": "申请时间",
  32417. "type": "string"
  32418. },
  32419. "auditname": {
  32420. "description": "审核人名称",
  32421. "type": "string"
  32422. },
  32423. "auditorid": {
  32424. "description": "审核人",
  32425. "type": "integer"
  32426. },
  32427. "auditremark": {
  32428. "description": "审核备注",
  32429. "type": "string"
  32430. },
  32431. "auditsrc": {
  32432. "description": "审核来源 - 1:管理端 2:终端",
  32433. "type": "integer"
  32434. },
  32435. "audittime": {
  32436. "description": "审核时间",
  32437. "type": "string"
  32438. },
  32439. "friendapplyid": {
  32440. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32441. "type": "string"
  32442. },
  32443. "friendname": {
  32444. "description": "好友名字(已脱敏)",
  32445. "type": "string"
  32446. },
  32447. "frienduserid": {
  32448. "description": "好友用户ID",
  32449. "type": "string"
  32450. },
  32451. "remark": {
  32452. "description": "备注",
  32453. "type": "string"
  32454. },
  32455. "userid": {
  32456. "description": "申请人用户ID",
  32457. "type": "integer"
  32458. }
  32459. }
  32460. },
  32461. "models.WrFtDeliveryGoods": {
  32462. "type": "object",
  32463. "properties": {
  32464. "deliverygoodscode": {
  32465. "description": "品种代码",
  32466. "type": "string"
  32467. },
  32468. "deliverygoodsid": {
  32469. "description": "品种ID",
  32470. "type": "integer"
  32471. },
  32472. "deliverygoodsname": {
  32473. "description": "品种名称",
  32474. "type": "string"
  32475. },
  32476. "wdlst": {
  32477. "description": "商品列表",
  32478. "type": "array",
  32479. "items": {
  32480. "$ref": "#/definitions/models.WrFtWrstandard"
  32481. }
  32482. }
  32483. }
  32484. },
  32485. "models.WrFtWrstandard": {
  32486. "type": "object",
  32487. "properties": {
  32488. "enumdicname": {
  32489. "description": "单位名称",
  32490. "type": "string"
  32491. },
  32492. "minivalue": {
  32493. "description": "最小变动值",
  32494. "type": "integer"
  32495. },
  32496. "wrstandardcode": {
  32497. "description": "现货商品代码",
  32498. "type": "string"
  32499. },
  32500. "wrstandardid": {
  32501. "description": "现货商品ID",
  32502. "type": "integer"
  32503. },
  32504. "wrstandardname": {
  32505. "description": "商品名称",
  32506. "type": "string"
  32507. }
  32508. }
  32509. },
  32510. "models.WrGoodsInfo": {
  32511. "type": "object",
  32512. "properties": {
  32513. "haswr": {
  32514. "description": "0:仓单预售 1:仓单贸易",
  32515. "type": "integer"
  32516. },
  32517. "lstitem": {
  32518. "description": "商品信息项",
  32519. "type": "array",
  32520. "items": {
  32521. "$ref": "#/definitions/models.WrTypeItem"
  32522. }
  32523. },
  32524. "lststep": {
  32525. "description": "履约规则",
  32526. "type": "array",
  32527. "items": {
  32528. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32529. }
  32530. },
  32531. "marketid": {
  32532. "description": "市场id",
  32533. "type": "integer"
  32534. }
  32535. }
  32536. },
  32537. "models.WrGoodsPerformanceStep": {
  32538. "type": "object",
  32539. "properties": {
  32540. "autoid": {
  32541. "description": "AutoID",
  32542. "type": "integer"
  32543. },
  32544. "isauto": {
  32545. "description": "是否自动 - 0:不自动 1:自动",
  32546. "type": "integer"
  32547. },
  32548. "remark": {
  32549. "description": "备注",
  32550. "type": "string"
  32551. },
  32552. "stepdate": {
  32553. "description": "天数信息(T+N)",
  32554. "type": "string"
  32555. },
  32556. "stepdays": {
  32557. "description": "距离上一步天数",
  32558. "type": "integer"
  32559. },
  32560. "stepindex": {
  32561. "description": "步骤序号",
  32562. "type": "integer"
  32563. },
  32564. "stepinfo": {
  32565. "description": "步骤信息(步骤名称+步骤值)",
  32566. "type": "string"
  32567. },
  32568. "steptypeid": {
  32569. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32570. "type": "integer"
  32571. },
  32572. "steptypename": {
  32573. "description": "步骤名称",
  32574. "type": "string"
  32575. },
  32576. "stepvalue": {
  32577. "description": "步骤值",
  32578. "type": "number"
  32579. },
  32580. "templateid": {
  32581. "description": "履约计划模板ID",
  32582. "type": "integer"
  32583. }
  32584. }
  32585. },
  32586. "models.WrHoldLB": {
  32587. "type": "object",
  32588. "properties": {
  32589. "accountid": {
  32590. "description": "持有人帐户ID",
  32591. "type": "integer"
  32592. },
  32593. "createtime": {
  32594. "description": "创建时间(过户时间)",
  32595. "type": "string"
  32596. },
  32597. "deliverygoodscode": {
  32598. "description": "品种代码",
  32599. "type": "string"
  32600. },
  32601. "deliverygoodsid": {
  32602. "description": "品种ID",
  32603. "type": "integer"
  32604. },
  32605. "deliverygoodsname": {
  32606. "description": "品种名称",
  32607. "type": "string"
  32608. },
  32609. "enableqty": {
  32610. "description": "可用数量",
  32611. "type": "number"
  32612. },
  32613. "enumdicname": {
  32614. "description": "单位名称",
  32615. "type": "string"
  32616. },
  32617. "freezerqty": {
  32618. "description": "冻结数量",
  32619. "type": "number"
  32620. },
  32621. "ladingbillid": {
  32622. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32623. "type": "string"
  32624. },
  32625. "minivalue": {
  32626. "description": "现货商品最小变动值",
  32627. "type": "integer"
  32628. },
  32629. "optioncompare": {
  32630. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32631. "type": "string"
  32632. },
  32633. "parentsubnum": {
  32634. "description": "拆分父子单号",
  32635. "type": "integer"
  32636. },
  32637. "pledgeqty": {
  32638. "description": "质押数量",
  32639. "type": "number"
  32640. },
  32641. "qty": {
  32642. "description": "数量",
  32643. "type": "number"
  32644. },
  32645. "subnum": {
  32646. "description": "提单子单号",
  32647. "type": "integer"
  32648. },
  32649. "tradedate": {
  32650. "description": "交易日(yyyyMMdd)",
  32651. "type": "string"
  32652. },
  32653. "userid": {
  32654. "description": "持有人ID",
  32655. "type": "integer"
  32656. },
  32657. "warehouseid": {
  32658. "description": "仓库ID",
  32659. "type": "integer"
  32660. },
  32661. "warehousename": {
  32662. "description": "仓库名称",
  32663. "type": "string"
  32664. },
  32665. "wrfactortypeid": {
  32666. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32667. "type": "string"
  32668. },
  32669. "wrfactortypename": {
  32670. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32671. "type": "string"
  32672. },
  32673. "wrholdeno": {
  32674. "description": "仓单编号",
  32675. "type": "string"
  32676. },
  32677. "wrid": {
  32678. "description": "仓单变更ID",
  32679. "type": "string"
  32680. },
  32681. "wrstandardcode": {
  32682. "description": "现货商品代码",
  32683. "type": "string"
  32684. },
  32685. "wrstandardid": {
  32686. "description": "现货商品ID",
  32687. "type": "integer"
  32688. },
  32689. "wrstandardname": {
  32690. "description": "商品名称",
  32691. "type": "string"
  32692. },
  32693. "wrtypename": {
  32694. "description": "商品",
  32695. "type": "string"
  32696. }
  32697. }
  32698. },
  32699. "models.WrMarketTradeConfig": {
  32700. "type": "object",
  32701. "properties": {
  32702. "basisdownratio": {
  32703. "description": "浮动价基差下限比例(仓单贸易)",
  32704. "type": "number"
  32705. },
  32706. "basisupratio": {
  32707. "description": "浮动价基差上限比例(仓单贸易)",
  32708. "type": "number"
  32709. },
  32710. "buychargealgorithm": {
  32711. "description": "买方手续费收取方式 1:比率 2:固定",
  32712. "type": "integer"
  32713. },
  32714. "buychargealgorithm2": {
  32715. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32716. "type": "integer"
  32717. },
  32718. "buychargealgorithmvalue": {
  32719. "description": "买方手续费设置值(交易所部分)",
  32720. "type": "number"
  32721. },
  32722. "buychargealgorithmvalue2": {
  32723. "description": "买方手续费设置值(会员部分)",
  32724. "type": "number"
  32725. },
  32726. "buychargealgorithmvalue3": {
  32727. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32728. "type": "number"
  32729. },
  32730. "buychargealgorithmvalue4": {
  32731. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32732. "type": "number"
  32733. },
  32734. "buyfirstmarginalgorithm": {
  32735. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32736. "type": "integer"
  32737. },
  32738. "buyfirstmarginvalue": {
  32739. "description": "买方出价保证金设置值 - [竞拍]",
  32740. "type": "number"
  32741. },
  32742. "buymarginalgorithm": {
  32743. "description": "买方保证金方式 - 1:比率 2:固定",
  32744. "type": "integer"
  32745. },
  32746. "buymarginvalue": {
  32747. "description": "买方保证金设置值",
  32748. "type": "number"
  32749. },
  32750. "buyreleaseratio": {
  32751. "description": "买方释放比率[2:分步履约]",
  32752. "type": "number"
  32753. },
  32754. "executemode": {
  32755. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32756. "type": "integer"
  32757. },
  32758. "executeside": {
  32759. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32760. "type": "integer"
  32761. },
  32762. "failedchargealgorithm": {
  32763. "description": "流拍手续费收取方式 1:比率 2:固定",
  32764. "type": "integer"
  32765. },
  32766. "failedchargevalue": {
  32767. "description": "流拍手续费设置值",
  32768. "type": "number"
  32769. },
  32770. "failedchargevalue2": {
  32771. "description": "流拍卖方手续费设置值",
  32772. "type": "number"
  32773. },
  32774. "holddays": {
  32775. "description": "合同期限[2:分步履约]",
  32776. "type": "integer"
  32777. },
  32778. "marketid": {
  32779. "description": "市场ID-仓单贸易、竞拍、预售",
  32780. "type": "integer"
  32781. },
  32782. "minqty": {
  32783. "description": "最小执行量[2:分步履约]",
  32784. "type": "number"
  32785. },
  32786. "modifierid": {
  32787. "description": "修改人",
  32788. "type": "integer"
  32789. },
  32790. "performancetempid": {
  32791. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32792. "type": "integer"
  32793. },
  32794. "performancetempid2": {
  32795. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32796. "type": "integer"
  32797. },
  32798. "performanceway": {
  32799. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32800. "type": "integer"
  32801. },
  32802. "sellchargealgorithm": {
  32803. "description": "卖方手续费收取方式 1:比率 2:固定",
  32804. "type": "integer"
  32805. },
  32806. "sellchargealgorithm2": {
  32807. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32808. "type": "integer"
  32809. },
  32810. "sellchargealgorithmvalue": {
  32811. "description": "卖方手续费设置值(交易所部分)",
  32812. "type": "number"
  32813. },
  32814. "sellchargealgorithmvalue2": {
  32815. "description": "卖方手续费设置值(会员部分)",
  32816. "type": "number"
  32817. },
  32818. "sellchargealgorithmvalue3": {
  32819. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32820. "type": "number"
  32821. },
  32822. "sellchargealgorithmvalue4": {
  32823. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32824. "type": "number"
  32825. },
  32826. "sellmarginalgorithm": {
  32827. "description": "卖方保证金方式 - 1:比率 2:固定",
  32828. "type": "integer"
  32829. },
  32830. "sellmarginvalue": {
  32831. "description": "卖方保证金设置值",
  32832. "type": "number"
  32833. },
  32834. "sellmarginvalue2": {
  32835. "description": "卖方保证金设置值(无仓单)",
  32836. "type": "number"
  32837. },
  32838. "sellreleaseratio": {
  32839. "description": "卖方释放比率[2:分步履约]",
  32840. "type": "number"
  32841. },
  32842. "updatetime": {
  32843. "description": "更新时间",
  32844. "type": "string"
  32845. }
  32846. }
  32847. },
  32848. "models.WrOrderDetail": {
  32849. "type": "object",
  32850. "properties": {
  32851. "accountid": {
  32852. "description": "交易账号(资金账号)",
  32853. "type": "integer"
  32854. },
  32855. "allfriendsflag": {
  32856. "description": "是否全好友可见 - 0:否 1:是",
  32857. "type": "integer"
  32858. },
  32859. "amount": {
  32860. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  32861. "type": "number"
  32862. },
  32863. "buyorsell": {
  32864. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32865. "type": "integer"
  32866. },
  32867. "canbargain": {
  32868. "description": "是否可议价 - 0:不可 1:可",
  32869. "type": "integer"
  32870. },
  32871. "cancelqty": {
  32872. "description": "撤销数量",
  32873. "type": "number"
  32874. },
  32875. "canpart": {
  32876. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  32877. "type": "integer"
  32878. },
  32879. "delistminqty": {
  32880. "description": "起摘数量",
  32881. "type": "integer"
  32882. },
  32883. "deliverygoodscode": {
  32884. "description": "品种代码",
  32885. "type": "string"
  32886. },
  32887. "deliverygoodsid": {
  32888. "description": "品种ID",
  32889. "type": "integer"
  32890. },
  32891. "deliverygoodsname": {
  32892. "description": "品种名称",
  32893. "type": "string"
  32894. },
  32895. "deliverymonth": {
  32896. "description": "交收月",
  32897. "type": "string"
  32898. },
  32899. "enumdicname": {
  32900. "description": "单位名称",
  32901. "type": "string"
  32902. },
  32903. "fixedprice": {
  32904. "description": "固定价格 - [挂牌]",
  32905. "type": "number"
  32906. },
  32907. "freezemargin": {
  32908. "description": "冻结保证金(保证金)",
  32909. "type": "number"
  32910. },
  32911. "futupricemove": {
  32912. "description": "期货升贴水",
  32913. "type": "number"
  32914. },
  32915. "futushow": {
  32916. "description": "期货合约/升贴水",
  32917. "type": "string"
  32918. },
  32919. "goodscode": {
  32920. "description": "期货合约",
  32921. "type": "string"
  32922. },
  32923. "goodsid": {
  32924. "description": "期货商品id",
  32925. "type": "integer"
  32926. },
  32927. "goodsname": {
  32928. "description": "商品名称",
  32929. "type": "string"
  32930. },
  32931. "haswr": {
  32932. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32933. "type": "integer"
  32934. },
  32935. "isspecified": {
  32936. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32937. "type": "integer"
  32938. },
  32939. "ladingbillid": {
  32940. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32941. "type": "string"
  32942. },
  32943. "marginvalue": {
  32944. "description": "保证金设置值(履约保证金)",
  32945. "type": "number"
  32946. },
  32947. "marketid": {
  32948. "description": "市场ID",
  32949. "type": "integer"
  32950. },
  32951. "matchusername": {
  32952. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32953. "type": "string"
  32954. },
  32955. "minivalue": {
  32956. "description": "现货商品最小变动值",
  32957. "type": "integer"
  32958. },
  32959. "optioncompare": {
  32960. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32961. "type": "string"
  32962. },
  32963. "orderqty": {
  32964. "description": "委托数量",
  32965. "type": "number"
  32966. },
  32967. "ordertime": {
  32968. "description": "委托时间(挂牌时间)",
  32969. "type": "string"
  32970. },
  32971. "performancetemplateid": {
  32972. "description": "履约模板id",
  32973. "type": "integer"
  32974. },
  32975. "pricemove": {
  32976. "description": "升贴水(浮动价时填写) - [挂牌]",
  32977. "type": "number"
  32978. },
  32979. "taname": {
  32980. "description": "交易用户名称(资金账号名称)",
  32981. "type": "string"
  32982. },
  32983. "tradedate": {
  32984. "description": "交易日(yyyyMMdd)",
  32985. "type": "string"
  32986. },
  32987. "tradeprice": {
  32988. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32989. "type": "number"
  32990. },
  32991. "tradeqty": {
  32992. "description": "成交数量",
  32993. "type": "number"
  32994. },
  32995. "userid": {
  32996. "description": "用户ID",
  32997. "type": "integer"
  32998. },
  32999. "validtime": {
  33000. "description": "挂牌有效期",
  33001. "type": "string"
  33002. },
  33003. "warehouseid": {
  33004. "description": "仓库ID",
  33005. "type": "integer"
  33006. },
  33007. "warehousename": {
  33008. "description": "仓库名称",
  33009. "type": "string"
  33010. },
  33011. "wrfactortypeid": {
  33012. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33013. "type": "string"
  33014. },
  33015. "wrfactortypename": {
  33016. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33017. "type": "string"
  33018. },
  33019. "wrpricetype": {
  33020. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33021. "type": "integer"
  33022. },
  33023. "wrstandardcode": {
  33024. "description": "现货商品代码",
  33025. "type": "string"
  33026. },
  33027. "wrstandardid": {
  33028. "description": "现货商品ID",
  33029. "type": "integer"
  33030. },
  33031. "wrstandardname": {
  33032. "description": "商品名称",
  33033. "type": "string"
  33034. },
  33035. "wrtradeorderid": {
  33036. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33037. "type": "string"
  33038. },
  33039. "wrtradeorderstatus": {
  33040. "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:撤单解冻贷款失败",
  33041. "type": "integer"
  33042. },
  33043. "wrtradetype": {
  33044. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33045. "type": "integer"
  33046. },
  33047. "wrtypename": {
  33048. "description": "商品",
  33049. "type": "string"
  33050. }
  33051. }
  33052. },
  33053. "models.WrOrderQuote": {
  33054. "type": "object",
  33055. "properties": {
  33056. "buyprice": {
  33057. "description": "买价",
  33058. "type": "number"
  33059. },
  33060. "buypricemove": {
  33061. "description": "买升贴水(基差)",
  33062. "type": "number"
  33063. },
  33064. "buyqty": {
  33065. "description": "买量",
  33066. "type": "number"
  33067. },
  33068. "deliverygoodscode": {
  33069. "description": "品种代码",
  33070. "type": "string"
  33071. },
  33072. "deliverygoodsid": {
  33073. "description": "品种id",
  33074. "type": "integer"
  33075. },
  33076. "deliverygoodsname": {
  33077. "description": "品种名称",
  33078. "type": "string"
  33079. },
  33080. "deliverymonth": {
  33081. "description": "交收月",
  33082. "type": "string"
  33083. },
  33084. "enumdicname": {
  33085. "description": "单位名称",
  33086. "type": "string"
  33087. },
  33088. "goodscode": {
  33089. "description": "商品合约(浮动价列表才有)",
  33090. "type": "string"
  33091. },
  33092. "goodsid": {
  33093. "description": "商品id(浮动价列表才有)",
  33094. "type": "integer"
  33095. },
  33096. "minivalue": {
  33097. "description": "现货商品最小变动值",
  33098. "type": "integer"
  33099. },
  33100. "sellprice": {
  33101. "description": "卖价",
  33102. "type": "number"
  33103. },
  33104. "sellpricemove": {
  33105. "description": "卖升贴水(基差)",
  33106. "type": "number"
  33107. },
  33108. "sellqty": {
  33109. "description": "卖量",
  33110. "type": "number"
  33111. },
  33112. "warehousecode": {
  33113. "description": "仓库代码",
  33114. "type": "string"
  33115. },
  33116. "warehouseid": {
  33117. "description": "仓库id",
  33118. "type": "integer"
  33119. },
  33120. "warehousename": {
  33121. "description": "仓库名称",
  33122. "type": "string"
  33123. },
  33124. "wrfactortypeid": {
  33125. "description": "仓单要素id",
  33126. "type": "string"
  33127. },
  33128. "wrfactortypename": {
  33129. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33130. "type": "string"
  33131. },
  33132. "wrgoodsname": {
  33133. "description": "商品(商品名称+仓库要素名称 拼接)",
  33134. "type": "string"
  33135. },
  33136. "wrstandardcode": {
  33137. "description": "商品代码",
  33138. "type": "string"
  33139. },
  33140. "wrstandardid": {
  33141. "description": "商品id",
  33142. "type": "integer"
  33143. },
  33144. "wrstandardname": {
  33145. "description": "商品名称",
  33146. "type": "string"
  33147. }
  33148. }
  33149. },
  33150. "models.WrOrderQuoteDetail": {
  33151. "type": "object",
  33152. "properties": {
  33153. "buyorsell": {
  33154. "description": "买卖 - 0:买 1:卖",
  33155. "type": "integer"
  33156. },
  33157. "delistminqty": {
  33158. "description": "起摘数量",
  33159. "type": "number"
  33160. },
  33161. "deliverymonth": {
  33162. "description": "交收月",
  33163. "type": "string"
  33164. },
  33165. "enumdicname": {
  33166. "description": "单位名称",
  33167. "type": "string"
  33168. },
  33169. "fixedprice": {
  33170. "description": "买(卖)价",
  33171. "type": "number"
  33172. },
  33173. "minivalue": {
  33174. "description": "现货商品最小变动值",
  33175. "type": "integer"
  33176. },
  33177. "orderqty": {
  33178. "description": "买(卖)量(=委托量-成交量)",
  33179. "type": "number"
  33180. },
  33181. "ordertime": {
  33182. "description": "委托时间",
  33183. "type": "string"
  33184. },
  33185. "pricemove": {
  33186. "description": "买(卖)升贴水- 基差",
  33187. "type": "number"
  33188. },
  33189. "userid": {
  33190. "description": "购买方(销售方)用户ID",
  33191. "type": "integer"
  33192. },
  33193. "username": {
  33194. "description": "购买方(销售方)",
  33195. "type": "string"
  33196. },
  33197. "wrtradeorderid": {
  33198. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33199. "type": "string"
  33200. }
  33201. }
  33202. },
  33203. "models.WrOutInApply": {
  33204. "type": "object",
  33205. "properties": {
  33206. "applyid": {
  33207. "description": "申请单id",
  33208. "type": "string"
  33209. },
  33210. "applystatus": {
  33211. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33212. "type": "integer"
  33213. },
  33214. "applytime": {
  33215. "description": "申请时间",
  33216. "type": "string"
  33217. },
  33218. "applytype": {
  33219. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33220. "type": "integer"
  33221. },
  33222. "deliverygoodscode": {
  33223. "description": "品种代码",
  33224. "type": "string"
  33225. },
  33226. "deliverygoodsid": {
  33227. "description": "品种ID",
  33228. "type": "integer"
  33229. },
  33230. "deliverygoodsname": {
  33231. "description": "品种名称",
  33232. "type": "string"
  33233. },
  33234. "enumdicname": {
  33235. "description": "单位名称",
  33236. "type": "string"
  33237. },
  33238. "expresscompany": {
  33239. "description": "物流公司",
  33240. "type": "string"
  33241. },
  33242. "expressnum": {
  33243. "description": "物流单号",
  33244. "type": "string"
  33245. },
  33246. "minivalue": {
  33247. "description": "现货商品最小变动值",
  33248. "type": "integer"
  33249. },
  33250. "optioncompare": {
  33251. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33252. "type": "string"
  33253. },
  33254. "qty": {
  33255. "description": "数量",
  33256. "type": "integer"
  33257. },
  33258. "userid": {
  33259. "description": "用户id",
  33260. "type": "integer"
  33261. },
  33262. "warehouseid": {
  33263. "description": "仓库ID",
  33264. "type": "integer"
  33265. },
  33266. "warehousename": {
  33267. "description": "仓库名称",
  33268. "type": "string"
  33269. },
  33270. "wrfactortypeid": {
  33271. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33272. "type": "string"
  33273. },
  33274. "wrfactortypename": {
  33275. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33276. "type": "string"
  33277. },
  33278. "wrstandardcode": {
  33279. "description": "现货商品代码",
  33280. "type": "string"
  33281. },
  33282. "wrstandardid": {
  33283. "description": "现货商品ID",
  33284. "type": "integer"
  33285. },
  33286. "wrstandardname": {
  33287. "description": "商品名称",
  33288. "type": "string"
  33289. },
  33290. "wrtypename": {
  33291. "description": "商品",
  33292. "type": "string"
  33293. }
  33294. }
  33295. },
  33296. "models.WrPerformancePlan": {
  33297. "type": "object",
  33298. "required": [
  33299. "userid"
  33300. ],
  33301. "properties": {
  33302. "activatemonth": {
  33303. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33304. "type": "string"
  33305. },
  33306. "amount": {
  33307. "description": "履约金额(总金额)",
  33308. "type": "number"
  33309. },
  33310. "buyaccountid": {
  33311. "description": "买方账号",
  33312. "type": "integer"
  33313. },
  33314. "buyerfreezeamount": {
  33315. "description": "履约冻结(买履约)",
  33316. "type": "number"
  33317. },
  33318. "buyerfreezeamountremain": {
  33319. "description": "履约冻结剩余(买履约)",
  33320. "type": "number"
  33321. },
  33322. "buyorsell": {
  33323. "description": "买卖方向 0-买 1-卖",
  33324. "type": "integer"
  33325. },
  33326. "buypaidamount": {
  33327. "description": "买方已冻/已扣金额 (已付金额)",
  33328. "type": "number"
  33329. },
  33330. "buyusername": {
  33331. "description": "买方名字",
  33332. "type": "string"
  33333. },
  33334. "contractid": {
  33335. "description": "合同ID",
  33336. "type": "integer"
  33337. },
  33338. "createtime": {
  33339. "description": "创建时间",
  33340. "type": "string"
  33341. },
  33342. "creatorid": {
  33343. "description": "创建人",
  33344. "type": "integer"
  33345. },
  33346. "curstepdeadline": {
  33347. "description": "当前步骤到期时间",
  33348. "type": "string"
  33349. },
  33350. "curstepid": {
  33351. "description": "当前步骤ID",
  33352. "type": "string"
  33353. },
  33354. "curstepname": {
  33355. "description": "当前步骤名称",
  33356. "type": "string"
  33357. },
  33358. "deliverygoodscode": {
  33359. "description": "品种代码",
  33360. "type": "string"
  33361. },
  33362. "deliverygoodsid": {
  33363. "description": "品种ID",
  33364. "type": "integer"
  33365. },
  33366. "deliverygoodsname": {
  33367. "description": "品种名称",
  33368. "type": "string"
  33369. },
  33370. "enumdicname": {
  33371. "description": "单位名称",
  33372. "type": "string"
  33373. },
  33374. "expressfee": {
  33375. "description": "运费",
  33376. "type": "number"
  33377. },
  33378. "expressfeeconfirmed": {
  33379. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33380. "type": "integer"
  33381. },
  33382. "hasovershort": {
  33383. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33384. "type": "integer"
  33385. },
  33386. "haswr": {
  33387. "description": "类型 0-仓单预售 1-仓单贸易",
  33388. "type": "integer"
  33389. },
  33390. "marketid": {
  33391. "description": "市场ID",
  33392. "type": "integer"
  33393. },
  33394. "middleaccountid": {
  33395. "description": "中间商资金账号ID",
  33396. "type": "integer"
  33397. },
  33398. "middleuserid": {
  33399. "description": "中间商用户ID",
  33400. "type": "integer"
  33401. },
  33402. "minivalue": {
  33403. "description": "现货商品最小变动值",
  33404. "type": "integer"
  33405. },
  33406. "optioncompare": {
  33407. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33408. "type": "string"
  33409. },
  33410. "overshortamount": {
  33411. "description": "溢短金额",
  33412. "type": "number"
  33413. },
  33414. "overshortqty": {
  33415. "description": "溢短数量",
  33416. "type": "number"
  33417. },
  33418. "paymenttype": {
  33419. "description": "付款方式 - 1:冻结 2:扣款",
  33420. "type": "integer"
  33421. },
  33422. "performanceplanid": {
  33423. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33424. "type": "string"
  33425. },
  33426. "performancestatus": {
  33427. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33428. "type": "integer"
  33429. },
  33430. "performancetype": {
  33431. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33432. "type": "integer"
  33433. },
  33434. "qty": {
  33435. "description": "履约数量",
  33436. "type": "number"
  33437. },
  33438. "relatedorderid": {
  33439. "description": "关联单号(履约类型的关联单号)",
  33440. "type": "string"
  33441. },
  33442. "remark": {
  33443. "description": "备注",
  33444. "type": "string"
  33445. },
  33446. "sellaccountid": {
  33447. "description": "卖方账号",
  33448. "type": "integer"
  33449. },
  33450. "sellerfreezeamount": {
  33451. "description": "履约冻结(卖履约)",
  33452. "type": "number"
  33453. },
  33454. "sellerfreezeamountremain": {
  33455. "description": "履约冻结剩余(卖履约)",
  33456. "type": "number"
  33457. },
  33458. "sellreceivedamount": {
  33459. "description": "卖方已收金额",
  33460. "type": "number"
  33461. },
  33462. "sellusername": {
  33463. "description": "卖方名字",
  33464. "type": "string"
  33465. },
  33466. "shipremark": {
  33467. "description": "发货备注[物流单号]",
  33468. "type": "string"
  33469. },
  33470. "starttime": {
  33471. "description": "开始时间",
  33472. "type": "string"
  33473. },
  33474. "steptypeid": {
  33475. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33476. "type": "integer"
  33477. },
  33478. "typename": {
  33479. "description": "履约类型 名称",
  33480. "type": "string"
  33481. },
  33482. "unpaidamount": {
  33483. "description": "剩余款(待支付金额)",
  33484. "type": "number"
  33485. },
  33486. "userid": {
  33487. "description": "用户id",
  33488. "type": "integer"
  33489. },
  33490. "warehouseid": {
  33491. "description": "仓库ID",
  33492. "type": "integer"
  33493. },
  33494. "warehousename": {
  33495. "description": "仓库名称",
  33496. "type": "string"
  33497. },
  33498. "wrfactortypeid": {
  33499. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33500. "type": "string"
  33501. },
  33502. "wrfactortypename": {
  33503. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33504. "type": "string"
  33505. },
  33506. "wrstandardcode": {
  33507. "description": "现货商品代码",
  33508. "type": "string"
  33509. },
  33510. "wrstandardid": {
  33511. "description": "现货商品ID",
  33512. "type": "integer"
  33513. },
  33514. "wrstandardname": {
  33515. "description": "商品名称",
  33516. "type": "string"
  33517. },
  33518. "wrtransferuserid": {
  33519. "description": "仓单受让用户",
  33520. "type": "integer"
  33521. },
  33522. "wrtypename": {
  33523. "description": "商品",
  33524. "type": "string"
  33525. }
  33526. }
  33527. },
  33528. "models.WrPerformancePlanStep": {
  33529. "type": "object",
  33530. "properties": {
  33531. "delaydays": {
  33532. "description": "延期申请天数",
  33533. "type": "integer"
  33534. },
  33535. "deliverygoodscode": {
  33536. "description": "品种代码",
  33537. "type": "string"
  33538. },
  33539. "deliverygoodsid": {
  33540. "description": "品种ID",
  33541. "type": "integer"
  33542. },
  33543. "deliverygoodsname": {
  33544. "description": "品种名称",
  33545. "type": "string"
  33546. },
  33547. "endtime": {
  33548. "description": "结束日期",
  33549. "type": "string"
  33550. },
  33551. "enumdicname": {
  33552. "description": "单位名称",
  33553. "type": "string"
  33554. },
  33555. "executeside": {
  33556. "description": "步骤执行方 - 1:买方 2:卖方",
  33557. "type": "integer"
  33558. },
  33559. "handlestatus": {
  33560. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33561. "type": "integer"
  33562. },
  33563. "isauto": {
  33564. "description": "是否自动 - 0:不自动 1:自动",
  33565. "type": "integer"
  33566. },
  33567. "islastreceivestep": {
  33568. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33569. "type": "integer"
  33570. },
  33571. "minivalue": {
  33572. "description": "现货商品最小变动值",
  33573. "type": "integer"
  33574. },
  33575. "optioncompare": {
  33576. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33577. "type": "string"
  33578. },
  33579. "overdays": {
  33580. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33581. "type": "integer"
  33582. },
  33583. "performancestepid": {
  33584. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33585. "type": "string"
  33586. },
  33587. "planid": {
  33588. "description": "所属履约计划ID",
  33589. "type": "string"
  33590. },
  33591. "realamount": {
  33592. "description": "实际完成金额",
  33593. "type": "number"
  33594. },
  33595. "relatedorderid": {
  33596. "description": "关联单号",
  33597. "type": "string"
  33598. },
  33599. "remaindays": {
  33600. "description": "剩余天数",
  33601. "type": "integer"
  33602. },
  33603. "remark": {
  33604. "description": "错误备注",
  33605. "type": "string"
  33606. },
  33607. "starttime": {
  33608. "description": "开始日期",
  33609. "type": "string"
  33610. },
  33611. "stepamount": {
  33612. "description": "步骤金额",
  33613. "type": "number"
  33614. },
  33615. "stepdays": {
  33616. "description": "距离上一步天数(分钟)",
  33617. "type": "integer"
  33618. },
  33619. "stepindex": {
  33620. "description": "步骤序号",
  33621. "type": "integer"
  33622. },
  33623. "steplanchtype": {
  33624. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33625. "type": "integer"
  33626. },
  33627. "stepremark": {
  33628. "description": "步骤备注",
  33629. "type": "string"
  33630. },
  33631. "stepstatus": {
  33632. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33633. "type": "integer"
  33634. },
  33635. "steptypeid": {
  33636. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33637. "type": "integer"
  33638. },
  33639. "steptypename": {
  33640. "description": "步骤名称",
  33641. "type": "string"
  33642. },
  33643. "stepvalue": {
  33644. "description": "步骤值",
  33645. "type": "number"
  33646. },
  33647. "warehouseid": {
  33648. "description": "仓库ID",
  33649. "type": "integer"
  33650. },
  33651. "warehousename": {
  33652. "description": "仓库名称",
  33653. "type": "string"
  33654. },
  33655. "wrfactortypeid": {
  33656. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33657. "type": "string"
  33658. },
  33659. "wrfactortypename": {
  33660. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33661. "type": "string"
  33662. },
  33663. "wrstandardcode": {
  33664. "description": "现货商品代码",
  33665. "type": "string"
  33666. },
  33667. "wrstandardid": {
  33668. "description": "现货商品ID",
  33669. "type": "integer"
  33670. },
  33671. "wrstandardname": {
  33672. "description": "商品名称",
  33673. "type": "string"
  33674. },
  33675. "wrtypename": {
  33676. "description": "商品",
  33677. "type": "string"
  33678. }
  33679. }
  33680. },
  33681. "models.WrPerformanceStepType": {
  33682. "type": "object",
  33683. "properties": {
  33684. "canauto": {
  33685. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33686. "type": "integer"
  33687. },
  33688. "steptypeid": {
  33689. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33690. "type": "integer"
  33691. },
  33692. "steptypename": {
  33693. "description": "步骤类型名称",
  33694. "type": "string"
  33695. }
  33696. }
  33697. },
  33698. "models.WrPerformanceTemplateEx": {
  33699. "type": "object",
  33700. "properties": {
  33701. "autoid": {
  33702. "description": "AutoID 模板id",
  33703. "type": "integer"
  33704. },
  33705. "createtime": {
  33706. "description": "创建时间",
  33707. "type": "string"
  33708. },
  33709. "creatorid": {
  33710. "description": "创建人",
  33711. "type": "integer"
  33712. },
  33713. "lstStep": {
  33714. "description": "步骤信息列表",
  33715. "type": "array",
  33716. "items": {
  33717. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33718. }
  33719. },
  33720. "paymenttype": {
  33721. "description": "支付方式 - 1:冻结 2:扣款",
  33722. "type": "integer"
  33723. },
  33724. "takemode": {
  33725. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33726. "type": "integer"
  33727. },
  33728. "templatename": {
  33729. "description": "模板名称",
  33730. "type": "string"
  33731. },
  33732. "templatetype": {
  33733. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33734. "type": "integer"
  33735. },
  33736. "userid": {
  33737. "description": "所属用户",
  33738. "type": "integer"
  33739. }
  33740. }
  33741. },
  33742. "models.WrPosition": {
  33743. "type": "object",
  33744. "properties": {
  33745. "accountid": {
  33746. "description": "帐户ID",
  33747. "type": "integer"
  33748. },
  33749. "buyexcuteqty": {
  33750. "description": "采购履约中数量",
  33751. "type": "number"
  33752. },
  33753. "creditcurqty": {
  33754. "description": "授信当前数量(预售仓单:预售当前量)",
  33755. "type": "number"
  33756. },
  33757. "creditenableqty": {
  33758. "description": "授信可用数量(预售仓单: 可用数量)",
  33759. "type": "number"
  33760. },
  33761. "creditfreezeqty": {
  33762. "description": "授信冻结数量(预售仓单: 当前数量)",
  33763. "type": "number"
  33764. },
  33765. "credittotalqty": {
  33766. "description": "授信总数量(预售仓单:预售总量)",
  33767. "type": "number"
  33768. },
  33769. "credittradeqty": {
  33770. "description": "授信成交数量(预售仓单:成交总量)",
  33771. "type": "number"
  33772. },
  33773. "deliverygoodscode": {
  33774. "description": "品种代码",
  33775. "type": "string"
  33776. },
  33777. "deliverygoodsid": {
  33778. "description": "品种ID",
  33779. "type": "integer"
  33780. },
  33781. "deliverygoodsname": {
  33782. "description": "品种名称",
  33783. "type": "string"
  33784. },
  33785. "enalbeqty": {
  33786. "description": "可用数量",
  33787. "type": "number"
  33788. },
  33789. "enumdicname": {
  33790. "description": "单位名称",
  33791. "type": "string"
  33792. },
  33793. "freezeqty": {
  33794. "description": "总冻结数量",
  33795. "type": "number"
  33796. },
  33797. "haswr": {
  33798. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33799. "type": "integer"
  33800. },
  33801. "minivalue": {
  33802. "description": "现货商品最小变动值",
  33803. "type": "integer"
  33804. },
  33805. "modifytime": {
  33806. "description": "修改时间(过户时间)",
  33807. "type": "string"
  33808. },
  33809. "optioncompare": {
  33810. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33811. "type": "string"
  33812. },
  33813. "pledgeqty": {
  33814. "description": "质押数量",
  33815. "type": "number"
  33816. },
  33817. "querytype": {
  33818. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  33819. "type": "integer"
  33820. },
  33821. "sellexcuteqty": {
  33822. "description": "销售履约中数量",
  33823. "type": "number"
  33824. },
  33825. "totalqty": {
  33826. "description": "总数量(库存数量)",
  33827. "type": "number"
  33828. },
  33829. "warehouseid": {
  33830. "description": "仓库ID",
  33831. "type": "integer"
  33832. },
  33833. "warehousename": {
  33834. "description": "仓库名称",
  33835. "type": "string"
  33836. },
  33837. "wrfactortypeid": {
  33838. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33839. "type": "string"
  33840. },
  33841. "wrfactortypename": {
  33842. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33843. "type": "string"
  33844. },
  33845. "wrpositionid": {
  33846. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  33847. "type": "string"
  33848. },
  33849. "wrpositionno": {
  33850. "description": "仓单编号",
  33851. "type": "string"
  33852. },
  33853. "wrstandardcode": {
  33854. "description": "现货商品代码",
  33855. "type": "string"
  33856. },
  33857. "wrstandardid": {
  33858. "description": "现货商品ID",
  33859. "type": "integer"
  33860. },
  33861. "wrstandardname": {
  33862. "description": "商品名称",
  33863. "type": "string"
  33864. },
  33865. "wrtypename": {
  33866. "description": "商品",
  33867. "type": "string"
  33868. },
  33869. "wruserid": {
  33870. "description": "持有人ID",
  33871. "type": "integer"
  33872. }
  33873. }
  33874. },
  33875. "models.WrQuoteOrderMyq": {
  33876. "type": "object",
  33877. "properties": {
  33878. "buyorsell": {
  33879. "description": "买卖 - 0:买 1:卖",
  33880. "type": "integer"
  33881. },
  33882. "canbargain": {
  33883. "description": "是否可议价 - 0:不可 1:可",
  33884. "type": "integer"
  33885. },
  33886. "canpart": {
  33887. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  33888. "type": "integer"
  33889. },
  33890. "delistminqty": {
  33891. "description": "起摘数量",
  33892. "type": "number"
  33893. },
  33894. "deliverygoodscode": {
  33895. "description": "品种代码",
  33896. "type": "string"
  33897. },
  33898. "deliverygoodsid": {
  33899. "description": "品种ID",
  33900. "type": "integer"
  33901. },
  33902. "deliverygoodsname": {
  33903. "description": "品种名称",
  33904. "type": "string"
  33905. },
  33906. "deliverymonth": {
  33907. "description": "交收月",
  33908. "type": "string"
  33909. },
  33910. "enumdicname": {
  33911. "description": "单位名称",
  33912. "type": "string"
  33913. },
  33914. "fixedprice": {
  33915. "description": "买(卖)价",
  33916. "type": "number"
  33917. },
  33918. "goodscode": {
  33919. "description": "商品合约代码",
  33920. "type": "string"
  33921. },
  33922. "marginflag": {
  33923. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  33924. "type": "integer"
  33925. },
  33926. "marginvalue": {
  33927. "description": "保证金设置值",
  33928. "type": "number"
  33929. },
  33930. "minivalue": {
  33931. "description": "现货商品最小变动值",
  33932. "type": "integer"
  33933. },
  33934. "orderqty": {
  33935. "description": "买(卖)量(=委托量-成交量)",
  33936. "type": "number"
  33937. },
  33938. "ordertime": {
  33939. "description": "委托时间",
  33940. "type": "string"
  33941. },
  33942. "performancetemplateid": {
  33943. "description": "履约模板id",
  33944. "type": "integer"
  33945. },
  33946. "pricemove": {
  33947. "description": "买(卖)升贴水- 基差",
  33948. "type": "number"
  33949. },
  33950. "templatename": {
  33951. "description": "履约模板名称",
  33952. "type": "string"
  33953. },
  33954. "userid": {
  33955. "description": "购买方(销售方)用户ID",
  33956. "type": "integer"
  33957. },
  33958. "username": {
  33959. "description": "购买方(销售方)",
  33960. "type": "string"
  33961. },
  33962. "validtime": {
  33963. "description": "有效期限",
  33964. "type": "string"
  33965. },
  33966. "validtype": {
  33967. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33968. "type": "integer"
  33969. },
  33970. "warehousename": {
  33971. "description": "仓库名称",
  33972. "type": "string"
  33973. },
  33974. "wrfactortypeid": {
  33975. "description": "仓单要素id",
  33976. "type": "string"
  33977. },
  33978. "wrstandardcode": {
  33979. "description": "现货商品代码",
  33980. "type": "string"
  33981. },
  33982. "wrstandardid": {
  33983. "description": "现货商品ID",
  33984. "type": "integer"
  33985. },
  33986. "wrstandardname": {
  33987. "description": "商品名称",
  33988. "type": "string"
  33989. },
  33990. "wrtradeorderid": {
  33991. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33992. "type": "string"
  33993. },
  33994. "wrtypename": {
  33995. "description": "商品",
  33996. "type": "string"
  33997. }
  33998. }
  33999. },
  34000. "models.WrScfContract": {
  34001. "type": "object",
  34002. "properties": {
  34003. "borroweruserid": {
  34004. "description": "借款用户ID",
  34005. "type": "integer"
  34006. },
  34007. "buybackwrpositionqty": {
  34008. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  34009. "type": "number"
  34010. },
  34011. "closeinterest": {
  34012. "description": "已结利息 -\u003e 已结费用",
  34013. "type": "number"
  34014. },
  34015. "currisklevel": {
  34016. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34017. "type": "integer"
  34018. },
  34019. "deadline": {
  34020. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  34021. "type": "string"
  34022. },
  34023. "deliverygoodscode": {
  34024. "description": "品种代码",
  34025. "type": "string"
  34026. },
  34027. "deliverygoodsid": {
  34028. "description": "品种ID",
  34029. "type": "integer"
  34030. },
  34031. "deliverygoodsname": {
  34032. "description": "品种名称",
  34033. "type": "string"
  34034. },
  34035. "enumdicname": {
  34036. "description": "单位名称",
  34037. "type": "string"
  34038. },
  34039. "financingdays": {
  34040. "description": "天数(天)",
  34041. "type": "integer"
  34042. },
  34043. "initmargin": {
  34044. "description": "保证金 - [仓单回购]",
  34045. "type": "number"
  34046. },
  34047. "interestamount": {
  34048. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34049. "type": "number"
  34050. },
  34051. "interestdebt": {
  34052. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34053. "type": "number"
  34054. },
  34055. "interestminlen": {
  34056. "description": "最小起息天数",
  34057. "type": "integer"
  34058. },
  34059. "interestrate": {
  34060. "description": "利率",
  34061. "type": "number"
  34062. },
  34063. "interestratemode": {
  34064. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34065. "type": "integer"
  34066. },
  34067. "interestsettlemode": {
  34068. "description": "结息方式 - 1:按日结息 3:按月结息",
  34069. "type": "integer"
  34070. },
  34071. "interestsettlevalue": {
  34072. "description": "结息方式值",
  34073. "type": "integer"
  34074. },
  34075. "isautoloan": {
  34076. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34077. "type": "integer"
  34078. },
  34079. "lastcloseinterestday": {
  34080. "description": "最近结息日(yyyyMMdd)",
  34081. "type": "string"
  34082. },
  34083. "lenderamount": {
  34084. "description": "贷款金额 -\u003e 借款金额",
  34085. "type": "number"
  34086. },
  34087. "lenderuserid": {
  34088. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34089. "type": "integer"
  34090. },
  34091. "lenderusername": {
  34092. "description": "融出方",
  34093. "type": "string"
  34094. },
  34095. "marginratio": {
  34096. "description": "保证金比率质押率 - [仓单质押]",
  34097. "type": "number"
  34098. },
  34099. "marketid": {
  34100. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34101. "type": "integer"
  34102. },
  34103. "minivalue": {
  34104. "description": "现货商品最小变动值",
  34105. "type": "integer"
  34106. },
  34107. "optioncompare": {
  34108. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34109. "type": "string"
  34110. },
  34111. "pricemove": {
  34112. "description": "估值升贴水值",
  34113. "type": "number"
  34114. },
  34115. "productdetailid": {
  34116. "description": "产品组合ID",
  34117. "type": "integer"
  34118. },
  34119. "productid": {
  34120. "description": "金融产品ID",
  34121. "type": "integer"
  34122. },
  34123. "productname": {
  34124. "description": "产品名称",
  34125. "type": "string"
  34126. },
  34127. "remainamount": {
  34128. "description": "合同剩余金额 -\u003e 剩余金额",
  34129. "type": "number"
  34130. },
  34131. "remainwrpositionqty": {
  34132. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34133. "type": "number"
  34134. },
  34135. "remark": {
  34136. "description": "备注",
  34137. "type": "string"
  34138. },
  34139. "scfcontractid": {
  34140. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34141. "type": "string"
  34142. },
  34143. "scfcontractstatus": {
  34144. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34145. "type": "integer"
  34146. },
  34147. "scfcontracttype": {
  34148. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34149. "type": "integer"
  34150. },
  34151. "startinterestday": {
  34152. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34153. "type": "string"
  34154. },
  34155. "totalinterest": {
  34156. "description": "已计利息 -\u003e 已计费用",
  34157. "type": "number"
  34158. },
  34159. "unpaidinterest": {
  34160. "description": "未结费用",
  34161. "type": "number"
  34162. },
  34163. "updatetime": {
  34164. "description": "更新时间",
  34165. "type": "string"
  34166. },
  34167. "warehouseid": {
  34168. "description": "仓库ID",
  34169. "type": "integer"
  34170. },
  34171. "warehousename": {
  34172. "description": "仓库名称",
  34173. "type": "string"
  34174. },
  34175. "wrfactortypeid": {
  34176. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34177. "type": "string"
  34178. },
  34179. "wrfactortypename": {
  34180. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34181. "type": "string"
  34182. },
  34183. "wrqty": {
  34184. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34185. "type": "number"
  34186. },
  34187. "wrstandardcode": {
  34188. "description": "现货商品代码",
  34189. "type": "string"
  34190. },
  34191. "wrstandardid": {
  34192. "description": "现货商品ID",
  34193. "type": "integer"
  34194. },
  34195. "wrstandardname": {
  34196. "description": "商品名称",
  34197. "type": "string"
  34198. },
  34199. "wrtypename": {
  34200. "description": "商品",
  34201. "type": "string"
  34202. }
  34203. }
  34204. },
  34205. "models.WrScfContractInterest": {
  34206. "type": "object",
  34207. "properties": {
  34208. "closeinterest": {
  34209. "description": "已结利息",
  34210. "type": "number"
  34211. },
  34212. "closeintereststatus": {
  34213. "description": "结息状态 - 1:未结 2:已结",
  34214. "type": "integer"
  34215. },
  34216. "closetime": {
  34217. "description": "结息时间",
  34218. "type": "string"
  34219. },
  34220. "closetradedate": {
  34221. "description": "结息交易日",
  34222. "type": "string"
  34223. },
  34224. "creatorid": {
  34225. "description": "操作人ID",
  34226. "type": "integer"
  34227. },
  34228. "dayrate": {
  34229. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34230. "type": "number"
  34231. },
  34232. "interest": {
  34233. "description": "利息",
  34234. "type": "number"
  34235. },
  34236. "interestamount": {
  34237. "description": "计息金额",
  34238. "type": "number"
  34239. },
  34240. "interestday": {
  34241. "description": "计息日(yyyyMMdd)",
  34242. "type": "string"
  34243. },
  34244. "scfcontractid": {
  34245. "description": "SCF合同ID",
  34246. "type": "string"
  34247. },
  34248. "scfcontractinterestid": {
  34249. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34250. "type": "integer"
  34251. },
  34252. "updatetime": {
  34253. "description": "更新时间",
  34254. "type": "string"
  34255. }
  34256. }
  34257. },
  34258. "models.WrSpecialMatchOrder": {
  34259. "type": "object",
  34260. "properties": {
  34261. "amount": {
  34262. "description": "金额 = 数量 * 价格",
  34263. "type": "number"
  34264. },
  34265. "buyorsell": {
  34266. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34267. "type": "integer"
  34268. },
  34269. "cancelqty": {
  34270. "description": "撤销数量",
  34271. "type": "number"
  34272. },
  34273. "deliverygoodscode": {
  34274. "description": "品种代码",
  34275. "type": "string"
  34276. },
  34277. "deliverygoodsid": {
  34278. "description": "品种ID",
  34279. "type": "integer"
  34280. },
  34281. "deliverygoodsname": {
  34282. "description": "品种名称",
  34283. "type": "string"
  34284. },
  34285. "enumdicname": {
  34286. "description": "单位名称",
  34287. "type": "string"
  34288. },
  34289. "fixedprice": {
  34290. "description": "固定价格(价格)",
  34291. "type": "number"
  34292. },
  34293. "haswr": {
  34294. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34295. "type": "integer"
  34296. },
  34297. "marketid": {
  34298. "description": "市场ID",
  34299. "type": "integer"
  34300. },
  34301. "matchuserid": {
  34302. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34303. "type": "integer"
  34304. },
  34305. "matchusername": {
  34306. "description": "指定方",
  34307. "type": "string"
  34308. },
  34309. "minivalue": {
  34310. "description": "现货商品最小变动值",
  34311. "type": "integer"
  34312. },
  34313. "optioncompare": {
  34314. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34315. "type": "string"
  34316. },
  34317. "orderqty": {
  34318. "description": "委托数量",
  34319. "type": "number"
  34320. },
  34321. "ordertime": {
  34322. "description": "委托时间",
  34323. "type": "string"
  34324. },
  34325. "pricemove": {
  34326. "description": "升贴水(浮动价时填写) - [挂牌]",
  34327. "type": "number"
  34328. },
  34329. "tradedate": {
  34330. "description": "交易日(yyyyMMdd)",
  34331. "type": "string"
  34332. },
  34333. "tradeprice": {
  34334. "description": "成交价格",
  34335. "type": "number"
  34336. },
  34337. "tradeqty": {
  34338. "description": "成交数量",
  34339. "type": "number"
  34340. },
  34341. "userid": {
  34342. "description": "用户ID",
  34343. "type": "integer"
  34344. },
  34345. "username": {
  34346. "description": "发起方",
  34347. "type": "string"
  34348. },
  34349. "warehouseid": {
  34350. "description": "仓库ID",
  34351. "type": "integer"
  34352. },
  34353. "warehousename": {
  34354. "description": "仓库名称",
  34355. "type": "string"
  34356. },
  34357. "wrfactortypeid": {
  34358. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34359. "type": "string"
  34360. },
  34361. "wrfactortypename": {
  34362. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34363. "type": "string"
  34364. },
  34365. "wrpricetype": {
  34366. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34367. "type": "integer"
  34368. },
  34369. "wrstandardcode": {
  34370. "description": "现货商品代码",
  34371. "type": "string"
  34372. },
  34373. "wrstandardid": {
  34374. "description": "现货商品ID",
  34375. "type": "integer"
  34376. },
  34377. "wrstandardname": {
  34378. "description": "商品名称",
  34379. "type": "string"
  34380. },
  34381. "wrtradeorderid": {
  34382. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34383. "type": "string"
  34384. },
  34385. "wrtradeorderstatus": {
  34386. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34387. "type": "integer"
  34388. },
  34389. "wrtradetype": {
  34390. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34391. "type": "integer"
  34392. },
  34393. "wrtypename": {
  34394. "description": "商品",
  34395. "type": "string"
  34396. }
  34397. }
  34398. },
  34399. "models.WrStandardFactoryItem": {
  34400. "type": "object",
  34401. "properties": {
  34402. "dgfactoryitemid": {
  34403. "description": "选择项id",
  34404. "type": "integer"
  34405. },
  34406. "dgfactoryitemvalue": {
  34407. "description": "要素项值",
  34408. "type": "string"
  34409. },
  34410. "warehouseid": {
  34411. "description": "仓库id",
  34412. "type": "integer"
  34413. }
  34414. }
  34415. },
  34416. "models.WrStandardFactoryItemEx": {
  34417. "type": "object",
  34418. "properties": {
  34419. "dgfactoryitemtypeid": {
  34420. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34421. "type": "integer"
  34422. },
  34423. "itemlst": {
  34424. "description": "要素项列表",
  34425. "type": "array",
  34426. "items": {
  34427. "$ref": "#/definitions/models.WrStandardFactoryItem"
  34428. }
  34429. },
  34430. "itemtypename": {
  34431. "description": "要素项类型名称",
  34432. "type": "string"
  34433. },
  34434. "wrstandardid": {
  34435. "description": "品类",
  34436. "type": "integer"
  34437. }
  34438. }
  34439. },
  34440. "models.WrTradeDetail": {
  34441. "type": "object",
  34442. "properties": {
  34443. "accountid": {
  34444. "description": "资金账号",
  34445. "type": "integer"
  34446. },
  34447. "buyorsell": {
  34448. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34449. "type": "integer"
  34450. },
  34451. "chargevalue": {
  34452. "description": "手续费",
  34453. "type": "number"
  34454. },
  34455. "deliverygoodscode": {
  34456. "description": "品种代码",
  34457. "type": "string"
  34458. },
  34459. "deliverygoodsid": {
  34460. "description": "品种ID",
  34461. "type": "integer"
  34462. },
  34463. "deliverygoodsname": {
  34464. "description": "品种名称",
  34465. "type": "string"
  34466. },
  34467. "deliverymonth": {
  34468. "description": "交收月",
  34469. "type": "string"
  34470. },
  34471. "enumdicname": {
  34472. "description": "单位名称",
  34473. "type": "string"
  34474. },
  34475. "haswr": {
  34476. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34477. "type": "integer"
  34478. },
  34479. "marketid": {
  34480. "description": "市场ID",
  34481. "type": "integer"
  34482. },
  34483. "matchaccountid": {
  34484. "description": "对手账号",
  34485. "type": "integer"
  34486. },
  34487. "matchusername": {
  34488. "description": "对手方",
  34489. "type": "string"
  34490. },
  34491. "minivalue": {
  34492. "description": "现货商品最小变动值",
  34493. "type": "integer"
  34494. },
  34495. "optioncompare": {
  34496. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34497. "type": "string"
  34498. },
  34499. "tradedate": {
  34500. "description": "交易日(yyyyMMdd)",
  34501. "type": "string"
  34502. },
  34503. "tradeprice": {
  34504. "description": "成交价格",
  34505. "type": "number"
  34506. },
  34507. "tradeqty": {
  34508. "description": "成交数量",
  34509. "type": "number"
  34510. },
  34511. "tradetime": {
  34512. "description": "成交时间",
  34513. "type": "string"
  34514. },
  34515. "userid": {
  34516. "description": "用户ID",
  34517. "type": "integer"
  34518. },
  34519. "warehouseid": {
  34520. "description": "仓库ID",
  34521. "type": "integer"
  34522. },
  34523. "warehousename": {
  34524. "description": "仓库名称",
  34525. "type": "string"
  34526. },
  34527. "wrfactortypeid": {
  34528. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34529. "type": "string"
  34530. },
  34531. "wrfactortypename": {
  34532. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34533. "type": "string"
  34534. },
  34535. "wrstandardcode": {
  34536. "description": "现货商品代码",
  34537. "type": "string"
  34538. },
  34539. "wrstandardid": {
  34540. "description": "现货商品ID",
  34541. "type": "integer"
  34542. },
  34543. "wrstandardname": {
  34544. "description": "商品名称",
  34545. "type": "string"
  34546. },
  34547. "wrtradedetailid": {
  34548. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34549. "type": "string"
  34550. },
  34551. "wrtradetype": {
  34552. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34553. "type": "integer"
  34554. },
  34555. "wrtypename": {
  34556. "description": "商品",
  34557. "type": "string"
  34558. }
  34559. }
  34560. },
  34561. "models.WrTradeOrderDetail": {
  34562. "type": "object",
  34563. "properties": {
  34564. "buyorsell": {
  34565. "description": "买卖方向 0-买 1-卖",
  34566. "type": "integer"
  34567. },
  34568. "goodsid": {
  34569. "description": "商品id",
  34570. "type": "integer"
  34571. },
  34572. "orderid": {
  34573. "description": "委托单号",
  34574. "type": "string"
  34575. },
  34576. "orderprice": {
  34577. "description": "委托价格",
  34578. "type": "number"
  34579. },
  34580. "orderqty": {
  34581. "description": "委托数量",
  34582. "type": "integer"
  34583. },
  34584. "userid": {
  34585. "description": "用户id",
  34586. "type": "integer"
  34587. },
  34588. "username": {
  34589. "description": "用户名称(已脱敏)",
  34590. "type": "string"
  34591. }
  34592. }
  34593. },
  34594. "models.WrTypeItem": {
  34595. "type": "object",
  34596. "properties": {
  34597. "name": {
  34598. "description": "名称",
  34599. "type": "string"
  34600. },
  34601. "value": {
  34602. "description": "值",
  34603. "type": "string"
  34604. }
  34605. }
  34606. },
  34607. "models.WrUserFriend": {
  34608. "type": "object",
  34609. "properties": {
  34610. "friendname": {
  34611. "description": "朋友名称(已脱敏)",
  34612. "type": "string"
  34613. },
  34614. "frienduserid": {
  34615. "description": "朋友id",
  34616. "type": "integer"
  34617. },
  34618. "isfriend": {
  34619. "description": "是否好友 0-不是 1-是",
  34620. "type": "integer"
  34621. },
  34622. "userid": {
  34623. "description": "用户id",
  34624. "type": "integer"
  34625. }
  34626. }
  34627. },
  34628. "models.XHBRAND": {
  34629. "type": "object",
  34630. "properties": {
  34631. "brandid": {
  34632. "description": "品牌id",
  34633. "type": "integer"
  34634. },
  34635. "brandname": {
  34636. "description": "品牌名称",
  34637. "type": "string"
  34638. }
  34639. }
  34640. },
  34641. "models.XHDeliveryGoods": {
  34642. "type": "object",
  34643. "properties": {
  34644. "areauserid": {
  34645. "description": "所属机构",
  34646. "type": "integer"
  34647. },
  34648. "bdlst": {
  34649. "description": "品牌列表",
  34650. "type": "array",
  34651. "items": {
  34652. "$ref": "#/definitions/models.XHBRAND"
  34653. }
  34654. },
  34655. "deliverygoodscode": {
  34656. "description": "现货品种代码",
  34657. "type": "string"
  34658. },
  34659. "deliverygoodsid": {
  34660. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34661. "type": "integer"
  34662. },
  34663. "deliverygoodsname": {
  34664. "description": "现货品种名称",
  34665. "type": "string"
  34666. },
  34667. "dgstatus": {
  34668. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  34669. "type": "integer"
  34670. },
  34671. "isvalid": {
  34672. "description": "是否有效 - 0:无效 1:有效",
  34673. "type": "integer"
  34674. },
  34675. "remark": {
  34676. "description": "备注",
  34677. "type": "string"
  34678. },
  34679. "wdlst": {
  34680. "description": "品类(现货商品)列表",
  34681. "type": "array",
  34682. "items": {
  34683. "$ref": "#/definitions/models.XHWrstandard"
  34684. }
  34685. }
  34686. }
  34687. },
  34688. "models.XHMiddleGoods": {
  34689. "type": "object",
  34690. "properties": {
  34691. "convertratio": {
  34692. "description": "拆算系数",
  34693. "type": "number"
  34694. },
  34695. "enumdicname": {
  34696. "description": "单位名称",
  34697. "type": "string"
  34698. },
  34699. "middlegoodscode": {
  34700. "description": "套保品种代码",
  34701. "type": "string"
  34702. },
  34703. "middlegoodsid": {
  34704. "description": "套保品种id",
  34705. "type": "integer"
  34706. },
  34707. "middlegoodsname": {
  34708. "description": "套保品种名称",
  34709. "type": "string"
  34710. }
  34711. }
  34712. },
  34713. "models.XHWrstandard": {
  34714. "type": "object",
  34715. "properties": {
  34716. "deliverygoodsid": {
  34717. "description": "品种ID",
  34718. "type": "integer"
  34719. },
  34720. "enumdicname": {
  34721. "description": "单位名称",
  34722. "type": "string"
  34723. },
  34724. "mglst": {
  34725. "description": "套保品列表",
  34726. "type": "array",
  34727. "items": {
  34728. "$ref": "#/definitions/models.XHMiddleGoods"
  34729. }
  34730. },
  34731. "vatrate": {
  34732. "description": "增值税率",
  34733. "type": "number"
  34734. },
  34735. "wrstandardcode": {
  34736. "description": "现货商品代码",
  34737. "type": "string"
  34738. },
  34739. "wrstandardid": {
  34740. "description": "现货商品ID(SEQ_WRSTANDARD)",
  34741. "type": "integer"
  34742. },
  34743. "wrstandardname": {
  34744. "description": "现货商品名称",
  34745. "type": "string"
  34746. }
  34747. }
  34748. },
  34749. "order.QueryHisTradeDetailRsp": {
  34750. "type": "object",
  34751. "required": [
  34752. "accountid",
  34753. "buyorsell",
  34754. "goodsid",
  34755. "histradedate",
  34756. "marketid",
  34757. "memberuserid",
  34758. "orderid",
  34759. "tradeamount",
  34760. "tradedate",
  34761. "tradeid",
  34762. "tradeprice",
  34763. "tradeqty",
  34764. "tradetime"
  34765. ],
  34766. "properties": {
  34767. "accountid": {
  34768. "description": "账户ID[报价币种]",
  34769. "type": "integer"
  34770. },
  34771. "advanceratio": {
  34772. "description": "首付比率",
  34773. "type": "number"
  34774. },
  34775. "buildtype": {
  34776. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34777. "type": "integer"
  34778. },
  34779. "buyorsell": {
  34780. "description": "方向 - 0:买 1:卖",
  34781. "type": "integer"
  34782. },
  34783. "charge": {
  34784. "description": "手续费",
  34785. "type": "number"
  34786. },
  34787. "closecharge": {
  34788. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34789. "type": "number"
  34790. },
  34791. "closeexchagechargevalue": {
  34792. "description": "平仓交易所手续费设置值",
  34793. "type": "number"
  34794. },
  34795. "closefeealgorithm": {
  34796. "description": "平仓手续费收取方式 1:比率 2:固定",
  34797. "type": "integer"
  34798. },
  34799. "closememberchargevalue": {
  34800. "description": "平仓会员手续费设置值",
  34801. "type": "number"
  34802. },
  34803. "closepl": {
  34804. "description": "平仓盈亏",
  34805. "type": "number"
  34806. },
  34807. "closepl2": {
  34808. "description": "平仓盈亏[逐笔]",
  34809. "type": "number"
  34810. },
  34811. "closeqty": {
  34812. "description": "平仓数量(先建后平操作 需要记录)",
  34813. "type": "number"
  34814. },
  34815. "creditamount": {
  34816. "description": "授信金额",
  34817. "type": "number"
  34818. },
  34819. "decimalplace": {
  34820. "description": "商品报价小数位",
  34821. "type": "integer"
  34822. },
  34823. "enumdicname": {
  34824. "description": "单位名称",
  34825. "type": "string"
  34826. },
  34827. "gcaccountid": {
  34828. "description": "账户ID[合约币种]",
  34829. "type": "integer"
  34830. },
  34831. "goodscode": {
  34832. "description": "商品代码",
  34833. "type": "string"
  34834. },
  34835. "goodsid": {
  34836. "description": "商品ID",
  34837. "type": "integer"
  34838. },
  34839. "goodsname": {
  34840. "description": "商品名称",
  34841. "type": "string"
  34842. },
  34843. "goodunitid": {
  34844. "description": "商品单位id",
  34845. "type": "integer"
  34846. },
  34847. "histradedate": {
  34848. "description": "历史交易日",
  34849. "type": "string"
  34850. },
  34851. "intclosepl": {
  34852. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34853. "type": "integer"
  34854. },
  34855. "isconfirmexercise": {
  34856. "description": "是否确认行权- 0:否 1:是",
  34857. "type": "integer"
  34858. },
  34859. "ismain": {
  34860. "description": "是否主单 - 0:不是 1:是",
  34861. "type": "integer"
  34862. },
  34863. "ispreexercise": {
  34864. "description": "是否预申报- 0:否 1:是",
  34865. "type": "integer"
  34866. },
  34867. "isreckoned": {
  34868. "description": "是否结算 - 0:未结算 1:已结算",
  34869. "type": "integer"
  34870. },
  34871. "isvaliddata": {
  34872. "description": "是否有效 - 0:无效 1:有效",
  34873. "type": "integer"
  34874. },
  34875. "listingselecttype": {
  34876. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34877. "type": "integer"
  34878. },
  34879. "marketid": {
  34880. "description": "市场ID",
  34881. "type": "integer"
  34882. },
  34883. "marketname": {
  34884. "description": "市场名称",
  34885. "type": "string"
  34886. },
  34887. "matchaccountid": {
  34888. "description": "对手账号id",
  34889. "type": "integer"
  34890. },
  34891. "memberuserid": {
  34892. "description": "会员id 个人投资者 需要填写",
  34893. "type": "integer"
  34894. },
  34895. "opencharge": {
  34896. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34897. "type": "number"
  34898. },
  34899. "openexchagechargevalue": {
  34900. "description": "建仓交易所手续费设置值",
  34901. "type": "number"
  34902. },
  34903. "openfeealgorithm": {
  34904. "description": "建仓手续费收取方式 1:比率 2:固定",
  34905. "type": "integer"
  34906. },
  34907. "openmemberchargevalue": {
  34908. "description": "建仓会员手续费设置值",
  34909. "type": "number"
  34910. },
  34911. "openqty": {
  34912. "description": "开仓数量(先建后平操作 需要记录)",
  34913. "type": "number"
  34914. },
  34915. "optiontype": {
  34916. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34917. "type": "integer"
  34918. },
  34919. "orderid": {
  34920. "description": "委托单号",
  34921. "type": "string"
  34922. },
  34923. "payamount": {
  34924. "description": "支付金额(付款金额)",
  34925. "type": "number"
  34926. },
  34927. "performanceplanid": {
  34928. "description": "履约计划ID[期权]",
  34929. "type": "integer"
  34930. },
  34931. "performancestatus": {
  34932. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34933. "type": "integer"
  34934. },
  34935. "preexerciseprice": {
  34936. "description": "预申报价格",
  34937. "type": "number"
  34938. },
  34939. "premium": {
  34940. "description": "权利金 - [持仓单的权利金]",
  34941. "type": "number"
  34942. },
  34943. "qtydecimalplace": {
  34944. "description": "商品报价小数位",
  34945. "type": "integer"
  34946. },
  34947. "recvamount": {
  34948. "description": "到账金额 = 成交金额 - 手续费",
  34949. "type": "number"
  34950. },
  34951. "relatedouttradeid": {
  34952. "description": "关联外部成交单ID",
  34953. "type": "integer"
  34954. },
  34955. "status": {
  34956. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34957. "type": "integer"
  34958. },
  34959. "totalamount": {
  34960. "description": "订单总额 = 成交金额 + 手续费",
  34961. "type": "number"
  34962. },
  34963. "tradeamount": {
  34964. "description": "成交金额[账户币种,用于所有权]",
  34965. "type": "number"
  34966. },
  34967. "tradedate": {
  34968. "description": "交易日(yyyyMMdd)",
  34969. "type": "string"
  34970. },
  34971. "tradeid": {
  34972. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34973. "type": "string"
  34974. },
  34975. "trademode": {
  34976. "description": "交易模式",
  34977. "type": "integer"
  34978. },
  34979. "tradeprice": {
  34980. "description": "成交价格",
  34981. "type": "number"
  34982. },
  34983. "tradeproperty": {
  34984. "description": "交易属性",
  34985. "type": "integer"
  34986. },
  34987. "tradeqty": {
  34988. "description": "成交数量",
  34989. "type": "number"
  34990. },
  34991. "tradetime": {
  34992. "description": "成交时间",
  34993. "type": "string"
  34994. },
  34995. "tradetype": {
  34996. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34997. "type": "integer"
  34998. }
  34999. }
  35000. },
  35001. "order.QueryHisTradeOrderDetailRsp": {
  35002. "type": "object",
  35003. "required": [
  35004. "accountid",
  35005. "buildtype",
  35006. "buyorsell",
  35007. "goodsid",
  35008. "histradedate",
  35009. "marketid",
  35010. "memberuserid",
  35011. "operatetype",
  35012. "orderid",
  35013. "orderqty",
  35014. "ordertime",
  35015. "pricemode",
  35016. "tradedate",
  35017. "validtype"
  35018. ],
  35019. "properties": {
  35020. "accountid": {
  35021. "description": "账户ID[报价币种]",
  35022. "type": "integer"
  35023. },
  35024. "buildtype": {
  35025. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35026. "type": "integer"
  35027. },
  35028. "buyorsell": {
  35029. "description": "买卖 - 0:买 1:卖",
  35030. "type": "integer"
  35031. },
  35032. "cancelorderid": {
  35033. "description": "撤单单号(撤单时填写)",
  35034. "type": "string"
  35035. },
  35036. "cancelqty": {
  35037. "description": "撤单数量",
  35038. "type": "number"
  35039. },
  35040. "clientordertime": {
  35041. "description": "客户端委托时间",
  35042. "type": "string"
  35043. },
  35044. "clientticket": {
  35045. "description": "客户端流水号",
  35046. "type": "string"
  35047. },
  35048. "clienttype": {
  35049. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35050. "type": "integer"
  35051. },
  35052. "closeexchagechargevalue": {
  35053. "description": "平仓交易所手续费设置值",
  35054. "type": "number"
  35055. },
  35056. "closefeealgorithm": {
  35057. "description": "平仓手续费收取方式 1:比率 2:固定",
  35058. "type": "integer"
  35059. },
  35060. "closefreezecharge": {
  35061. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35062. "type": "number"
  35063. },
  35064. "closememberchargevalue": {
  35065. "description": "平仓会员手续费设置值",
  35066. "type": "number"
  35067. },
  35068. "closeqty": {
  35069. "description": "平仓数量(先建后平操作 需要记录)",
  35070. "type": "number"
  35071. },
  35072. "closetradeqty": {
  35073. "description": "平仓成交数量(先建后平操作,需要记录)",
  35074. "type": "number"
  35075. },
  35076. "closeunfreezecharge": {
  35077. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35078. "type": "number"
  35079. },
  35080. "decimalplace": {
  35081. "description": "商品报价小数位",
  35082. "type": "integer"
  35083. },
  35084. "delistingtype": {
  35085. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35086. "type": "integer"
  35087. },
  35088. "enumdicname": {
  35089. "description": "单位名称",
  35090. "type": "string"
  35091. },
  35092. "freezecharge": {
  35093. "description": "冻结手续费",
  35094. "type": "number"
  35095. },
  35096. "freezemargin": {
  35097. "description": "冻结保证金(冻结交易金额)",
  35098. "type": "number"
  35099. },
  35100. "gcaccountid": {
  35101. "description": "账户ID[合约币种]",
  35102. "type": "integer"
  35103. },
  35104. "goodscode": {
  35105. "description": "商品代码",
  35106. "type": "string"
  35107. },
  35108. "goodsid": {
  35109. "description": "商品ID",
  35110. "type": "integer"
  35111. },
  35112. "goodsname": {
  35113. "description": "商品名称",
  35114. "type": "string"
  35115. },
  35116. "goodunitid": {
  35117. "description": "商品单位id",
  35118. "type": "integer"
  35119. },
  35120. "histradedate": {
  35121. "description": "历史交易日",
  35122. "type": "string"
  35123. },
  35124. "isconfirmexercise": {
  35125. "description": "是否确认行权- 0:否 1:是",
  35126. "type": "integer"
  35127. },
  35128. "ispreexercise": {
  35129. "description": "是否预申报- 0:否 1:是",
  35130. "type": "integer"
  35131. },
  35132. "isvaliddata": {
  35133. "description": "是否有效 - 0:无效 1:有效",
  35134. "type": "integer"
  35135. },
  35136. "listingselecttype": {
  35137. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35138. "type": "integer"
  35139. },
  35140. "marginalgorithm": {
  35141. "description": "保证金收取方式 1:比率 2:固定",
  35142. "type": "integer"
  35143. },
  35144. "marginvalue": {
  35145. "description": "即市保证金设置值",
  35146. "type": "number"
  35147. },
  35148. "marketid": {
  35149. "description": "市场ID",
  35150. "type": "integer"
  35151. },
  35152. "marketmaxsub": {
  35153. "description": "市价最大偏移范围",
  35154. "type": "number"
  35155. },
  35156. "marketname": {
  35157. "description": "市场名称",
  35158. "type": "string"
  35159. },
  35160. "memberuserid": {
  35161. "description": "所属会员UserID",
  35162. "type": "integer"
  35163. },
  35164. "openexchagechargevalue": {
  35165. "description": "建仓交易所手续费设置值",
  35166. "type": "number"
  35167. },
  35168. "openfeealgorithm": {
  35169. "description": "建仓手续费收取方式 1:比率 2:固定",
  35170. "type": "integer"
  35171. },
  35172. "openfreezecharge": {
  35173. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35174. "type": "number"
  35175. },
  35176. "openmemberchargevalue": {
  35177. "description": "建仓会员手续费设置值",
  35178. "type": "number"
  35179. },
  35180. "openqty": {
  35181. "description": "开仓数量(先建后平操作,需要记录)",
  35182. "type": "number"
  35183. },
  35184. "opentradeqty": {
  35185. "description": "开仓成交数量(先建后平操作,需要记录)",
  35186. "type": "number"
  35187. },
  35188. "openunfreezecharge": {
  35189. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35190. "type": "number"
  35191. },
  35192. "operatetype": {
  35193. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35194. "type": "integer"
  35195. },
  35196. "operatorid": {
  35197. "description": "登录账号(LoginID)",
  35198. "type": "integer"
  35199. },
  35200. "optiontype": {
  35201. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35202. "type": "integer"
  35203. },
  35204. "orderid": {
  35205. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35206. "type": "string"
  35207. },
  35208. "orderprice": {
  35209. "description": "委托价格",
  35210. "type": "number"
  35211. },
  35212. "orderqty": {
  35213. "description": "委托数量",
  35214. "type": "number"
  35215. },
  35216. "ordersrc": {
  35217. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35218. "type": "integer"
  35219. },
  35220. "orderstatus": {
  35221. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35222. "type": "integer"
  35223. },
  35224. "ordertime": {
  35225. "description": "委托时间",
  35226. "type": "string"
  35227. },
  35228. "preexerciseprice": {
  35229. "description": "预申报价格",
  35230. "type": "number"
  35231. },
  35232. "premium": {
  35233. "description": "权利金",
  35234. "type": "number"
  35235. },
  35236. "preorderid": {
  35237. "description": "关联预埋单号(止盈止损单时填写)",
  35238. "type": "string"
  35239. },
  35240. "pricemode": {
  35241. "description": "取价方式 - 1:市价 2: 限价",
  35242. "type": "integer"
  35243. },
  35244. "qtydecimalplace": {
  35245. "description": "成交量小数位",
  35246. "type": "integer"
  35247. },
  35248. "quoteid": {
  35249. "description": "报价单ID",
  35250. "type": "integer"
  35251. },
  35252. "relatedid": {
  35253. "description": "关联单号(交割单)",
  35254. "type": "string"
  35255. },
  35256. "retcode": {
  35257. "description": "错误代码",
  35258. "type": "integer"
  35259. },
  35260. "sessionid": {
  35261. "description": "会话ID",
  35262. "type": "integer"
  35263. },
  35264. "tradedate": {
  35265. "description": "交易日(yyyyMMdd)",
  35266. "type": "string"
  35267. },
  35268. "trademode": {
  35269. "description": "交易模式",
  35270. "type": "integer"
  35271. },
  35272. "tradeproperty": {
  35273. "description": "交易属性",
  35274. "type": "integer"
  35275. },
  35276. "tradeqty": {
  35277. "description": "成交数量",
  35278. "type": "number"
  35279. },
  35280. "unfreezecharge": {
  35281. "description": "解冻手续费",
  35282. "type": "number"
  35283. },
  35284. "unfreezemargin": {
  35285. "description": "解冻保证金",
  35286. "type": "number"
  35287. },
  35288. "updatetime": {
  35289. "description": "更新时间",
  35290. "type": "string"
  35291. },
  35292. "uuid": {
  35293. "description": "发起端唯一id",
  35294. "type": "string"
  35295. },
  35296. "validtime": {
  35297. "description": "有效期限",
  35298. "type": "string"
  35299. },
  35300. "validtype": {
  35301. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35302. "type": "integer"
  35303. },
  35304. "volumetype": {
  35305. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35306. "type": "integer"
  35307. }
  35308. }
  35309. },
  35310. "order.QueryTradeDetailRsp": {
  35311. "type": "object",
  35312. "required": [
  35313. "accountid",
  35314. "buyorsell",
  35315. "goodsid",
  35316. "marketid",
  35317. "memberuserid",
  35318. "orderid",
  35319. "tradeamount",
  35320. "tradedate",
  35321. "tradeid",
  35322. "tradeprice",
  35323. "tradeqty",
  35324. "tradetime"
  35325. ],
  35326. "properties": {
  35327. "accountid": {
  35328. "description": "账户ID[报价币种]",
  35329. "type": "integer"
  35330. },
  35331. "advanceratio": {
  35332. "description": "首付比率",
  35333. "type": "number"
  35334. },
  35335. "buildtype": {
  35336. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35337. "type": "integer"
  35338. },
  35339. "buyorsell": {
  35340. "description": "方向 - 0:买 1:卖",
  35341. "type": "integer"
  35342. },
  35343. "charge": {
  35344. "description": "手续费",
  35345. "type": "number"
  35346. },
  35347. "closecharge": {
  35348. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35349. "type": "number"
  35350. },
  35351. "closeexchagechargevalue": {
  35352. "description": "平仓交易所手续费设置值",
  35353. "type": "number"
  35354. },
  35355. "closefeealgorithm": {
  35356. "description": "平仓手续费收取方式 1:比率 2:固定",
  35357. "type": "integer"
  35358. },
  35359. "closememberchargevalue": {
  35360. "description": "平仓会员手续费设置值",
  35361. "type": "number"
  35362. },
  35363. "closepl": {
  35364. "description": "平仓盈亏",
  35365. "type": "number"
  35366. },
  35367. "closepl2": {
  35368. "description": "平仓盈亏[逐笔]",
  35369. "type": "number"
  35370. },
  35371. "closeqty": {
  35372. "description": "平仓数量(先建后平操作 需要记录)",
  35373. "type": "number"
  35374. },
  35375. "creditamount": {
  35376. "description": "授信金额",
  35377. "type": "number"
  35378. },
  35379. "decimalplace": {
  35380. "description": "商品报价小数位",
  35381. "type": "integer"
  35382. },
  35383. "enumdicname": {
  35384. "description": "单位名称",
  35385. "type": "string"
  35386. },
  35387. "gcaccountid": {
  35388. "description": "账户ID[合约币种]",
  35389. "type": "integer"
  35390. },
  35391. "goodscode": {
  35392. "description": "商品代码",
  35393. "type": "string"
  35394. },
  35395. "goodsid": {
  35396. "description": "商品ID",
  35397. "type": "integer"
  35398. },
  35399. "goodsname": {
  35400. "description": "商品名称",
  35401. "type": "string"
  35402. },
  35403. "goodunitid": {
  35404. "description": "商品单位id",
  35405. "type": "integer"
  35406. },
  35407. "intclosepl": {
  35408. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35409. "type": "integer"
  35410. },
  35411. "isconfirmexercise": {
  35412. "description": "是否确认行权- 0:否 1:是",
  35413. "type": "integer"
  35414. },
  35415. "ismain": {
  35416. "description": "是否主单 - 0:不是 1:是",
  35417. "type": "integer"
  35418. },
  35419. "ispreexercise": {
  35420. "description": "是否预申报- 0:否 1:是",
  35421. "type": "integer"
  35422. },
  35423. "isreckoned": {
  35424. "description": "是否结算 - 0:未结算 1:已结算",
  35425. "type": "integer"
  35426. },
  35427. "listingselecttype": {
  35428. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35429. "type": "integer"
  35430. },
  35431. "marketid": {
  35432. "description": "市场ID",
  35433. "type": "integer"
  35434. },
  35435. "marketname": {
  35436. "description": "市场名称",
  35437. "type": "string"
  35438. },
  35439. "matchaccountid": {
  35440. "description": "对手账号id",
  35441. "type": "integer"
  35442. },
  35443. "memberuserid": {
  35444. "description": "会员id 个人投资者 需要填写",
  35445. "type": "integer"
  35446. },
  35447. "opencharge": {
  35448. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35449. "type": "number"
  35450. },
  35451. "openexchagechargevalue": {
  35452. "description": "建仓交易所手续费设置值",
  35453. "type": "number"
  35454. },
  35455. "openfeealgorithm": {
  35456. "description": "建仓手续费收取方式 1:比率 2:固定",
  35457. "type": "integer"
  35458. },
  35459. "openmemberchargevalue": {
  35460. "description": "建仓会员手续费设置值",
  35461. "type": "number"
  35462. },
  35463. "openqty": {
  35464. "description": "开仓数量(先建后平操作 需要记录)",
  35465. "type": "number"
  35466. },
  35467. "optiontype": {
  35468. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35469. "type": "integer"
  35470. },
  35471. "orderid": {
  35472. "description": "委托单号",
  35473. "type": "string"
  35474. },
  35475. "payamount": {
  35476. "description": "支付金额(付款金额)",
  35477. "type": "number"
  35478. },
  35479. "performanceplanid": {
  35480. "description": "履约计划ID[期权]",
  35481. "type": "integer"
  35482. },
  35483. "performancestatus": {
  35484. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35485. "type": "integer"
  35486. },
  35487. "preexerciseprice": {
  35488. "description": "预申报价格",
  35489. "type": "number"
  35490. },
  35491. "premium": {
  35492. "description": "权利金 - [持仓单的权利金]",
  35493. "type": "number"
  35494. },
  35495. "qtydecimalplace": {
  35496. "description": "商品报价小数位",
  35497. "type": "integer"
  35498. },
  35499. "recvamount": {
  35500. "description": "到账金额 = 成交金额 - 手续费",
  35501. "type": "number"
  35502. },
  35503. "relatedouttradeid": {
  35504. "description": "关联外部成交单ID",
  35505. "type": "integer"
  35506. },
  35507. "status": {
  35508. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35509. "type": "integer"
  35510. },
  35511. "totalamount": {
  35512. "description": "订单总额 = 成交金额 + 手续费",
  35513. "type": "number"
  35514. },
  35515. "tradeamount": {
  35516. "description": "成交金额[账户币种,用于所有权]",
  35517. "type": "number"
  35518. },
  35519. "tradedate": {
  35520. "description": "交易日(yyyyMMdd)",
  35521. "type": "string"
  35522. },
  35523. "tradeid": {
  35524. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35525. "type": "string"
  35526. },
  35527. "trademode": {
  35528. "description": "交易模式",
  35529. "type": "integer"
  35530. },
  35531. "tradeprice": {
  35532. "description": "成交价格",
  35533. "type": "number"
  35534. },
  35535. "tradeproperty": {
  35536. "description": "交易属性",
  35537. "type": "integer"
  35538. },
  35539. "tradeqty": {
  35540. "description": "成交数量",
  35541. "type": "number"
  35542. },
  35543. "tradetime": {
  35544. "description": "成交时间",
  35545. "type": "string"
  35546. },
  35547. "tradetype": {
  35548. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35549. "type": "integer"
  35550. }
  35551. }
  35552. },
  35553. "order.QueryTradeOrderDetailRsp": {
  35554. "type": "object",
  35555. "required": [
  35556. "accountid",
  35557. "buildtype",
  35558. "buyorsell",
  35559. "goodsid",
  35560. "marketid",
  35561. "operatetype",
  35562. "orderqty",
  35563. "ordertime",
  35564. "pricemode",
  35565. "tradedate",
  35566. "validtype"
  35567. ],
  35568. "properties": {
  35569. "accountid": {
  35570. "description": "账户ID[报价币种]",
  35571. "type": "integer"
  35572. },
  35573. "buildtype": {
  35574. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35575. "type": "integer"
  35576. },
  35577. "buyorsell": {
  35578. "description": "买卖 - 0:买 1:卖",
  35579. "type": "integer"
  35580. },
  35581. "cancelorderid": {
  35582. "description": "撤单单号(撤单时填写)",
  35583. "type": "string"
  35584. },
  35585. "cancelqty": {
  35586. "description": "撤单数量",
  35587. "type": "number"
  35588. },
  35589. "clienttype": {
  35590. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35591. "type": "integer"
  35592. },
  35593. "closefreezecharge": {
  35594. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35595. "type": "number"
  35596. },
  35597. "closeqty": {
  35598. "description": "平仓数量(先建后平操作 需要记录)",
  35599. "type": "number"
  35600. },
  35601. "closetradeqty": {
  35602. "description": "平仓成交数量(先建后平操作,需要记录)",
  35603. "type": "number"
  35604. },
  35605. "closeunfreezecharge": {
  35606. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35607. "type": "number"
  35608. },
  35609. "decimalplace": {
  35610. "description": "商品报价小数位",
  35611. "type": "integer"
  35612. },
  35613. "delistingtype": {
  35614. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35615. "type": "integer"
  35616. },
  35617. "enableqty": {
  35618. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  35619. "type": "number"
  35620. },
  35621. "enumdicname": {
  35622. "description": "单位名称",
  35623. "type": "string"
  35624. },
  35625. "freezecharge": {
  35626. "description": "冻结手续费",
  35627. "type": "number"
  35628. },
  35629. "freezemargin": {
  35630. "description": "冻结保证金(冻结交易金额)",
  35631. "type": "number"
  35632. },
  35633. "goodscode": {
  35634. "description": "商品代码",
  35635. "type": "string"
  35636. },
  35637. "goodsid": {
  35638. "description": "商品ID",
  35639. "type": "integer"
  35640. },
  35641. "goodsname": {
  35642. "description": "商品名称",
  35643. "type": "string"
  35644. },
  35645. "goodunitid": {
  35646. "description": "商品单位id",
  35647. "type": "integer"
  35648. },
  35649. "listingselecttype": {
  35650. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35651. "type": "integer"
  35652. },
  35653. "marketid": {
  35654. "description": "市场ID",
  35655. "type": "integer"
  35656. },
  35657. "marketname": {
  35658. "description": "市场名称",
  35659. "type": "string"
  35660. },
  35661. "openfreezecharge": {
  35662. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35663. "type": "number"
  35664. },
  35665. "openqty": {
  35666. "description": "开仓数量(先建后平操作,需要记录)",
  35667. "type": "number"
  35668. },
  35669. "opentradeqty": {
  35670. "description": "开仓成交数量(先建后平操作,需要记录)",
  35671. "type": "number"
  35672. },
  35673. "openunfreezecharge": {
  35674. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35675. "type": "number"
  35676. },
  35677. "operatetype": {
  35678. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35679. "type": "integer"
  35680. },
  35681. "operatorid": {
  35682. "description": "登录账号(LoginID)",
  35683. "type": "integer"
  35684. },
  35685. "orderid": {
  35686. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35687. "type": "string"
  35688. },
  35689. "orderprice": {
  35690. "description": "委托价格",
  35691. "type": "number"
  35692. },
  35693. "orderqty": {
  35694. "description": "委托数量",
  35695. "type": "number"
  35696. },
  35697. "ordersrc": {
  35698. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35699. "type": "integer"
  35700. },
  35701. "orderstatus": {
  35702. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35703. "type": "integer"
  35704. },
  35705. "ordertime": {
  35706. "description": "委托时间",
  35707. "type": "string"
  35708. },
  35709. "preorderid": {
  35710. "description": "关联预埋单号(止盈止损单时填写)",
  35711. "type": "string"
  35712. },
  35713. "pricemode": {
  35714. "description": "取价方式 - 1:市价 2: 限价",
  35715. "type": "integer"
  35716. },
  35717. "qtydecimalplace": {
  35718. "description": "商品报价小数位",
  35719. "type": "integer"
  35720. },
  35721. "relatedid": {
  35722. "description": "关联单号(交割单)",
  35723. "type": "string"
  35724. },
  35725. "tradedate": {
  35726. "description": "交易日(yyyyMMdd)",
  35727. "type": "string"
  35728. },
  35729. "trademode": {
  35730. "description": "交易模式",
  35731. "type": "integer"
  35732. },
  35733. "tradeqty": {
  35734. "description": "成交数量",
  35735. "type": "number"
  35736. },
  35737. "unfreezecharge": {
  35738. "description": "解冻手续费",
  35739. "type": "number"
  35740. },
  35741. "unfreezemargin": {
  35742. "description": "解冻保证金",
  35743. "type": "number"
  35744. },
  35745. "validtime": {
  35746. "description": "有效期限",
  35747. "type": "string"
  35748. },
  35749. "validtype": {
  35750. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35751. "type": "integer"
  35752. },
  35753. "volumetype": {
  35754. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35755. "type": "integer"
  35756. }
  35757. }
  35758. },
  35759. "order.QueryTradePositionRsp": {
  35760. "type": "object",
  35761. "required": [
  35762. "goodsid"
  35763. ],
  35764. "properties": {
  35765. "accountid": {
  35766. "description": "资金账户",
  35767. "type": "integer"
  35768. },
  35769. "agreeunit": {
  35770. "description": "合约单位",
  35771. "type": "number"
  35772. },
  35773. "averageprice": {
  35774. "description": "持仓均价",
  35775. "type": "number"
  35776. },
  35777. "buyorsell": {
  35778. "description": "方向 - 0:买 1:卖",
  35779. "type": "integer"
  35780. },
  35781. "closetotalqty": {
  35782. "description": "平仓总数量",
  35783. "type": "number"
  35784. },
  35785. "curholderamount": {
  35786. "description": "当前持仓总金额[商品币种]",
  35787. "type": "number"
  35788. },
  35789. "curpositionqty": {
  35790. "description": "当前持仓总数量",
  35791. "type": "number"
  35792. },
  35793. "currencyid": {
  35794. "description": "报价货币ID",
  35795. "type": "integer"
  35796. },
  35797. "curtdposition": {
  35798. "description": "期末今日头寸",
  35799. "type": "number"
  35800. },
  35801. "decimalplace": {
  35802. "description": "报价小数位",
  35803. "type": "integer"
  35804. },
  35805. "enableqty": {
  35806. "description": "可用量",
  35807. "type": "number"
  35808. },
  35809. "fretdposition": {
  35810. "description": "冻结今日头寸",
  35811. "type": "number"
  35812. },
  35813. "frozenqty": {
  35814. "description": "持仓冻结数量",
  35815. "type": "number"
  35816. },
  35817. "goodscode": {
  35818. "description": "商品代码",
  35819. "type": "string"
  35820. },
  35821. "goodsid": {
  35822. "description": "商品Id",
  35823. "type": "integer"
  35824. },
  35825. "goodsname": {
  35826. "description": "商品名称",
  35827. "type": "string"
  35828. },
  35829. "goodunit": {
  35830. "description": "报价单位",
  35831. "type": "string"
  35832. },
  35833. "goodunitid": {
  35834. "description": "报价单位ID",
  35835. "type": "integer"
  35836. },
  35837. "holderamount": {
  35838. "description": "期初持仓总金额[商品币种]",
  35839. "type": "number"
  35840. },
  35841. "lastprice": {
  35842. "description": "最新价",
  35843. "type": "number"
  35844. },
  35845. "marketamount": {
  35846. "description": "市值",
  35847. "type": "number"
  35848. },
  35849. "marketid": {
  35850. "description": "所属市场ID",
  35851. "type": "integer"
  35852. },
  35853. "openreqqty": {
  35854. "description": "开仓申请数量(用于比较最大持仓数量)",
  35855. "type": "number"
  35856. },
  35857. "opentotalqty": {
  35858. "description": "开仓总数量",
  35859. "type": "number"
  35860. },
  35861. "otherfrozenqty": {
  35862. "description": "持仓其他冻结数量(交割冻结)",
  35863. "type": "number"
  35864. },
  35865. "positionpl": {
  35866. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  35867. "type": "number"
  35868. },
  35869. "positionplrate": {
  35870. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  35871. "type": "number"
  35872. },
  35873. "positionqty": {
  35874. "description": "期初持仓数量",
  35875. "type": "number"
  35876. },
  35877. "qtydecimalplace": {
  35878. "description": "成交量小数位",
  35879. "type": "integer"
  35880. },
  35881. "tnqty": {
  35882. "description": "T+N冻结总量",
  35883. "type": "number"
  35884. },
  35885. "tnusedqty": {
  35886. "description": "T+N使用量(可以使用T+N的冻结数量)",
  35887. "type": "number"
  35888. },
  35889. "trademode": {
  35890. "description": "交易模式",
  35891. "type": "integer"
  35892. },
  35893. "usedmargin": {
  35894. "description": "占用保证金[商品币种]",
  35895. "type": "number"
  35896. }
  35897. }
  35898. },
  35899. "pb.GoodsMarginCfgStruct": {
  35900. "type": "object",
  35901. "properties": {
  35902. "CustomerTypeID": {
  35903. "description": "投资者客户类型",
  35904. "type": "integer"
  35905. },
  35906. "GoodsID": {
  35907. "description": "商品ID",
  35908. "type": "integer"
  35909. },
  35910. "IsDefault": {
  35911. "description": "是否默认标志位",
  35912. "type": "integer"
  35913. },
  35914. "LockMarginValue": {
  35915. "description": "锁仓保证金",
  35916. "type": "number"
  35917. },
  35918. "MarginAlgorithm": {
  35919. "description": "保证金计算方式",
  35920. "type": "integer"
  35921. },
  35922. "MarketMarginValue": {
  35923. "description": "即市保证金值",
  35924. "type": "number"
  35925. },
  35926. "RealMarginAlgorithm": {
  35927. "description": "实付保证金计算方式",
  35928. "type": "integer"
  35929. },
  35930. "RealMarginValue": {
  35931. "description": "实付比例",
  35932. "type": "number"
  35933. },
  35934. "ReckonMarginValue": {
  35935. "description": "结算保证金值",
  35936. "type": "number"
  35937. }
  35938. }
  35939. },
  35940. "quote.HistoryData": {
  35941. "type": "object",
  35942. "properties": {
  35943. "c": {
  35944. "description": "收盘价",
  35945. "type": "number"
  35946. },
  35947. "f": {
  35948. "description": "是否补充数据",
  35949. "type": "boolean"
  35950. },
  35951. "h": {
  35952. "description": "最高价",
  35953. "type": "number"
  35954. },
  35955. "hv": {
  35956. "description": "持仓量",
  35957. "type": "integer"
  35958. },
  35959. "l": {
  35960. "description": "最低价",
  35961. "type": "number"
  35962. },
  35963. "o": {
  35964. "description": "开盘价",
  35965. "type": "number"
  35966. },
  35967. "s": {
  35968. "description": "结算价,日线周期(包括)以上才有",
  35969. "type": "number"
  35970. },
  35971. "ts": {
  35972. "description": "时间",
  35973. "type": "string"
  35974. },
  35975. "tt": {
  35976. "description": "总金额",
  35977. "type": "number"
  35978. },
  35979. "tv": {
  35980. "description": "总量",
  35981. "type": "integer"
  35982. }
  35983. }
  35984. },
  35985. "quote.HistoryTikData": {
  35986. "type": "object",
  35987. "properties": {
  35988. "AV": {
  35989. "description": "卖量",
  35990. "type": "integer"
  35991. },
  35992. "Ask": {
  35993. "description": "卖价",
  35994. "type": "number"
  35995. },
  35996. "BV": {
  35997. "description": "买量",
  35998. "type": "integer"
  35999. },
  36000. "Bid": {
  36001. "description": "买价",
  36002. "type": "number"
  36003. },
  36004. "HI": {
  36005. "description": "单笔持仓",
  36006. "type": "integer"
  36007. },
  36008. "HV": {
  36009. "description": "持仓量",
  36010. "type": "integer"
  36011. },
  36012. "PE": {
  36013. "description": "现价",
  36014. "type": "number"
  36015. },
  36016. "TDR": {
  36017. "description": "交易方向,0:买 1:卖",
  36018. "type": "integer"
  36019. },
  36020. "TK": {
  36021. "description": "交易类型",
  36022. "type": "integer"
  36023. },
  36024. "TS": {
  36025. "description": "行情时间文本",
  36026. "type": "string"
  36027. },
  36028. "TT": {
  36029. "description": "现金额",
  36030. "type": "number"
  36031. },
  36032. "Vol": {
  36033. "description": "现量",
  36034. "type": "integer"
  36035. }
  36036. }
  36037. },
  36038. "quote.QueryQuoteDayRsp": {
  36039. "type": "object",
  36040. "properties": {
  36041. "ask": {
  36042. "description": "卖1",
  36043. "type": "number"
  36044. },
  36045. "ask10": {
  36046. "description": "卖10",
  36047. "type": "number"
  36048. },
  36049. "ask2": {
  36050. "description": "卖2",
  36051. "type": "number"
  36052. },
  36053. "ask3": {
  36054. "description": "卖3",
  36055. "type": "number"
  36056. },
  36057. "ask4": {
  36058. "description": "卖4",
  36059. "type": "number"
  36060. },
  36061. "ask5": {
  36062. "description": "卖5",
  36063. "type": "number"
  36064. },
  36065. "ask6": {
  36066. "description": "卖6",
  36067. "type": "number"
  36068. },
  36069. "ask7": {
  36070. "description": "卖7",
  36071. "type": "number"
  36072. },
  36073. "ask8": {
  36074. "description": "卖8",
  36075. "type": "number"
  36076. },
  36077. "ask9": {
  36078. "description": "卖9",
  36079. "type": "number"
  36080. },
  36081. "askorderid": {
  36082. "description": "卖单号1",
  36083. "type": "integer"
  36084. },
  36085. "askorderid2": {
  36086. "description": "卖单号2",
  36087. "type": "integer"
  36088. },
  36089. "askorderid3": {
  36090. "description": "卖单号3",
  36091. "type": "integer"
  36092. },
  36093. "askorderid4": {
  36094. "description": "卖单号4",
  36095. "type": "integer"
  36096. },
  36097. "askorderid5": {
  36098. "description": "卖单号5",
  36099. "type": "integer"
  36100. },
  36101. "askordervolume": {
  36102. "description": "卖单量1",
  36103. "type": "integer"
  36104. },
  36105. "askordervolume10": {
  36106. "description": "卖单量10",
  36107. "type": "integer"
  36108. },
  36109. "askordervolume2": {
  36110. "description": "卖单量2",
  36111. "type": "integer"
  36112. },
  36113. "askordervolume3": {
  36114. "description": "卖单量3",
  36115. "type": "integer"
  36116. },
  36117. "askordervolume4": {
  36118. "description": "卖单量4",
  36119. "type": "integer"
  36120. },
  36121. "askordervolume5": {
  36122. "description": "卖单量5",
  36123. "type": "integer"
  36124. },
  36125. "askordervolume6": {
  36126. "description": "卖单量6",
  36127. "type": "integer"
  36128. },
  36129. "askordervolume7": {
  36130. "description": "卖单量7",
  36131. "type": "integer"
  36132. },
  36133. "askordervolume8": {
  36134. "description": "卖单量8",
  36135. "type": "integer"
  36136. },
  36137. "askordervolume9": {
  36138. "description": "卖单量9",
  36139. "type": "integer"
  36140. },
  36141. "askqueueinfo": {
  36142. "description": "大利市卖港股用",
  36143. "type": "string"
  36144. },
  36145. "askvolume": {
  36146. "description": "卖量1",
  36147. "type": "integer"
  36148. },
  36149. "askvolume10": {
  36150. "description": "卖量10",
  36151. "type": "integer"
  36152. },
  36153. "askvolume2": {
  36154. "description": "卖量2",
  36155. "type": "integer"
  36156. },
  36157. "askvolume3": {
  36158. "description": "卖量3",
  36159. "type": "integer"
  36160. },
  36161. "askvolume4": {
  36162. "description": "卖量4",
  36163. "type": "integer"
  36164. },
  36165. "askvolume5": {
  36166. "description": "卖量5",
  36167. "type": "integer"
  36168. },
  36169. "askvolume6": {
  36170. "description": "卖量6",
  36171. "type": "integer"
  36172. },
  36173. "askvolume7": {
  36174. "description": "卖量7",
  36175. "type": "integer"
  36176. },
  36177. "askvolume8": {
  36178. "description": "卖量8",
  36179. "type": "integer"
  36180. },
  36181. "askvolume9": {
  36182. "description": "卖量9",
  36183. "type": "integer"
  36184. },
  36185. "averageprice": {
  36186. "description": "均价",
  36187. "type": "number"
  36188. },
  36189. "bid": {
  36190. "description": "买1",
  36191. "type": "number"
  36192. },
  36193. "bid10": {
  36194. "description": "买10",
  36195. "type": "number"
  36196. },
  36197. "bid2": {
  36198. "description": "买2",
  36199. "type": "number"
  36200. },
  36201. "bid3": {
  36202. "description": "买3",
  36203. "type": "number"
  36204. },
  36205. "bid4": {
  36206. "description": "买4",
  36207. "type": "number"
  36208. },
  36209. "bid5": {
  36210. "description": "买5",
  36211. "type": "number"
  36212. },
  36213. "bid6": {
  36214. "description": "买6",
  36215. "type": "number"
  36216. },
  36217. "bid7": {
  36218. "description": "买7",
  36219. "type": "number"
  36220. },
  36221. "bid8": {
  36222. "description": "买8",
  36223. "type": "number"
  36224. },
  36225. "bid9": {
  36226. "description": "买9",
  36227. "type": "number"
  36228. },
  36229. "bidorderid": {
  36230. "description": "买单号1",
  36231. "type": "integer"
  36232. },
  36233. "bidorderid2": {
  36234. "description": "买单号2",
  36235. "type": "integer"
  36236. },
  36237. "bidorderid3": {
  36238. "description": "买单号3",
  36239. "type": "integer"
  36240. },
  36241. "bidorderid4": {
  36242. "description": "买单号4",
  36243. "type": "integer"
  36244. },
  36245. "bidorderid5": {
  36246. "description": "买单号5",
  36247. "type": "integer"
  36248. },
  36249. "bidordervolume": {
  36250. "description": "买单量1",
  36251. "type": "integer"
  36252. },
  36253. "bidordervolume10": {
  36254. "description": "买单量10",
  36255. "type": "integer"
  36256. },
  36257. "bidordervolume2": {
  36258. "description": "买单量2",
  36259. "type": "integer"
  36260. },
  36261. "bidordervolume3": {
  36262. "description": "买单量3",
  36263. "type": "integer"
  36264. },
  36265. "bidordervolume4": {
  36266. "description": "买单量4",
  36267. "type": "integer"
  36268. },
  36269. "bidordervolume5": {
  36270. "description": "买单量5",
  36271. "type": "integer"
  36272. },
  36273. "bidordervolume6": {
  36274. "description": "买单量6",
  36275. "type": "integer"
  36276. },
  36277. "bidordervolume7": {
  36278. "description": "买单量7",
  36279. "type": "integer"
  36280. },
  36281. "bidordervolume8": {
  36282. "description": "买单量8",
  36283. "type": "integer"
  36284. },
  36285. "bidordervolume9": {
  36286. "description": "买单量9",
  36287. "type": "integer"
  36288. },
  36289. "bidqueueinfo": {
  36290. "description": "大利市买港股用",
  36291. "type": "string"
  36292. },
  36293. "bidvolume": {
  36294. "description": "买量1",
  36295. "type": "integer"
  36296. },
  36297. "bidvolume10": {
  36298. "description": "买量10",
  36299. "type": "integer"
  36300. },
  36301. "bidvolume2": {
  36302. "description": "买量2",
  36303. "type": "integer"
  36304. },
  36305. "bidvolume3": {
  36306. "description": "买量3",
  36307. "type": "integer"
  36308. },
  36309. "bidvolume4": {
  36310. "description": "买量4",
  36311. "type": "integer"
  36312. },
  36313. "bidvolume5": {
  36314. "description": "买量5",
  36315. "type": "integer"
  36316. },
  36317. "bidvolume6": {
  36318. "description": "买量6",
  36319. "type": "integer"
  36320. },
  36321. "bidvolume7": {
  36322. "description": "买量7",
  36323. "type": "integer"
  36324. },
  36325. "bidvolume8": {
  36326. "description": "买量8",
  36327. "type": "integer"
  36328. },
  36329. "bidvolume9": {
  36330. "description": "买量9",
  36331. "type": "integer"
  36332. },
  36333. "calloptionpremiums": {
  36334. "description": "认购期权1",
  36335. "type": "integer"
  36336. },
  36337. "calloptionpremiums2": {
  36338. "description": "认购期权2",
  36339. "type": "integer"
  36340. },
  36341. "calloptionpremiums3": {
  36342. "description": "认购期权3",
  36343. "type": "integer"
  36344. },
  36345. "calloptionpremiums4": {
  36346. "description": "认购期权4",
  36347. "type": "integer"
  36348. },
  36349. "calloptionpremiums5": {
  36350. "description": "认购期权5",
  36351. "type": "integer"
  36352. },
  36353. "cleartime": {
  36354. "description": "清盘时间",
  36355. "type": "integer"
  36356. },
  36357. "exchangecode": {
  36358. "description": "交易所代码",
  36359. "type": "integer"
  36360. },
  36361. "exchangedate": {
  36362. "description": "交易日",
  36363. "type": "integer"
  36364. },
  36365. "goodscode": {
  36366. "description": "商品代码",
  36367. "type": "string"
  36368. },
  36369. "grepmarketprice": {
  36370. "description": "暗盘价 港股专用",
  36371. "type": "number"
  36372. },
  36373. "highest": {
  36374. "description": "最高价",
  36375. "type": "number"
  36376. },
  36377. "holdincrement": {
  36378. "description": "单笔持仓",
  36379. "type": "integer"
  36380. },
  36381. "holdvolume": {
  36382. "description": "持仓",
  36383. "type": "integer"
  36384. },
  36385. "iep": {
  36386. "description": "平衡价 港股专用",
  36387. "type": "number"
  36388. },
  36389. "iev": {
  36390. "description": "平衡量 港股专用",
  36391. "type": "number"
  36392. },
  36393. "inventory": {
  36394. "description": "库存",
  36395. "type": "integer"
  36396. },
  36397. "iscleared": {
  36398. "description": "是否清盘标志",
  36399. "type": "integer"
  36400. },
  36401. "issettled": {
  36402. "description": "是否结算标志",
  36403. "type": "integer"
  36404. },
  36405. "last": {
  36406. "description": "最新价",
  36407. "type": "number"
  36408. },
  36409. "lastlot": {
  36410. "description": "最新成交手数",
  36411. "type": "integer"
  36412. },
  36413. "lasttime": {
  36414. "description": "行情时间(只有现价变化行情时间才变化)",
  36415. "type": "string"
  36416. },
  36417. "lastturnover": {
  36418. "description": "最新成交金额",
  36419. "type": "number"
  36420. },
  36421. "lastvolume": {
  36422. "description": "最新成交量",
  36423. "type": "integer"
  36424. },
  36425. "limitdown": {
  36426. "description": "跌停价",
  36427. "type": "number"
  36428. },
  36429. "limitup": {
  36430. "description": "涨停价",
  36431. "type": "number"
  36432. },
  36433. "lowest": {
  36434. "description": "最低价",
  36435. "type": "number"
  36436. },
  36437. "nontotalholdervolume": {
  36438. "description": "非交易持仓量",
  36439. "type": "integer"
  36440. },
  36441. "nontotallot": {
  36442. "description": "非交易总手数",
  36443. "type": "integer"
  36444. },
  36445. "nontotalturnover": {
  36446. "description": "非交易总金额",
  36447. "type": "integer"
  36448. },
  36449. "nontotalvolume": {
  36450. "description": "非交易总量",
  36451. "type": "integer"
  36452. },
  36453. "opened": {
  36454. "description": "开盘价",
  36455. "type": "number"
  36456. },
  36457. "opentime": {
  36458. "description": "开盘时间",
  36459. "type": "string"
  36460. },
  36461. "orderid": {
  36462. "description": "序号",
  36463. "type": "integer"
  36464. },
  36465. "preclose": {
  36466. "description": "昨收",
  36467. "type": "number"
  36468. },
  36469. "preholdvolume": {
  36470. "description": "昨持仓",
  36471. "type": "integer"
  36472. },
  36473. "presettle": {
  36474. "description": "昨结价",
  36475. "type": "number"
  36476. },
  36477. "publictradetype": {
  36478. "description": "公共交易标志类型 港股专用",
  36479. "type": "string"
  36480. },
  36481. "putoptionpremiums": {
  36482. "description": "认沽期权1",
  36483. "type": "integer"
  36484. },
  36485. "putoptionpremiums2": {
  36486. "description": "认沽期权2",
  36487. "type": "integer"
  36488. },
  36489. "putoptionpremiums3": {
  36490. "description": "认沽期权3",
  36491. "type": "integer"
  36492. },
  36493. "putoptionpremiums4": {
  36494. "description": "认沽期权4",
  36495. "type": "integer"
  36496. },
  36497. "putoptionpremiums5": {
  36498. "description": "认沽期权5",
  36499. "type": "integer"
  36500. },
  36501. "settle": {
  36502. "description": "结算价",
  36503. "type": "number"
  36504. },
  36505. "strikeprice": {
  36506. "description": "发行价",
  36507. "type": "number"
  36508. },
  36509. "totalaskvolume": {
  36510. "description": "内盘",
  36511. "type": "integer"
  36512. },
  36513. "totalbidvolume": {
  36514. "description": "外盘",
  36515. "type": "integer"
  36516. },
  36517. "totallot": {
  36518. "description": "总手数",
  36519. "type": "integer"
  36520. },
  36521. "totalturnover": {
  36522. "description": "总金额",
  36523. "type": "number"
  36524. },
  36525. "totalvolume": {
  36526. "description": "总量",
  36527. "type": "integer"
  36528. },
  36529. "utclasttime": {
  36530. "description": "utc的行情时间",
  36531. "type": "string"
  36532. }
  36533. }
  36534. },
  36535. "quote.QueryTSDataRsp": {
  36536. "type": "object",
  36537. "properties": {
  36538. "Count": {
  36539. "description": "交易日应有数据个数",
  36540. "type": "integer"
  36541. },
  36542. "decimalPlace": {
  36543. "description": "小数位",
  36544. "type": "integer"
  36545. },
  36546. "endTime": {
  36547. "description": "结束时间",
  36548. "type": "string"
  36549. },
  36550. "goodsCode": {
  36551. "description": "商品代码",
  36552. "type": "string"
  36553. },
  36554. "historyDatas": {
  36555. "description": "历史数据",
  36556. "type": "array",
  36557. "items": {
  36558. "$ref": "#/definitions/quote.HistoryData"
  36559. }
  36560. },
  36561. "outGoodsCode": {
  36562. "description": "外部商品代码",
  36563. "type": "string"
  36564. },
  36565. "preSettle": {
  36566. "description": "昨结价",
  36567. "type": "number"
  36568. },
  36569. "runSteps": {
  36570. "description": "交易日开休市计划",
  36571. "type": "array",
  36572. "items": {
  36573. "$ref": "#/definitions/quote.TSDataRunStep"
  36574. }
  36575. },
  36576. "startTime": {
  36577. "description": "开始时间",
  36578. "type": "string"
  36579. },
  36580. "tradeDate": {
  36581. "description": "交易日",
  36582. "type": "string"
  36583. }
  36584. }
  36585. },
  36586. "quote.TSDataRunStep": {
  36587. "type": "object",
  36588. "properties": {
  36589. "end": {
  36590. "description": "真实结束时间",
  36591. "type": "string"
  36592. },
  36593. "endflag": {
  36594. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  36595. "type": "integer"
  36596. },
  36597. "endtime": {
  36598. "description": "结束时间(HH:mm)",
  36599. "type": "string"
  36600. },
  36601. "endweekday": {
  36602. "description": "结束周几",
  36603. "type": "integer"
  36604. },
  36605. "groupid": {
  36606. "description": "分组ID",
  36607. "type": "integer"
  36608. },
  36609. "runstep": {
  36610. "description": "运行阶段 - 2:连续交易",
  36611. "type": "integer"
  36612. },
  36613. "sectionid": {
  36614. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  36615. "type": "integer"
  36616. },
  36617. "start": {
  36618. "description": "真实开始时间",
  36619. "type": "string"
  36620. },
  36621. "startflag": {
  36622. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  36623. "type": "integer"
  36624. },
  36625. "starttime": {
  36626. "description": "起始时间(HH:mm)",
  36627. "type": "string"
  36628. },
  36629. "startweekday": {
  36630. "description": "起始周几",
  36631. "type": "integer"
  36632. },
  36633. "tradeweekday": {
  36634. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  36635. "type": "integer"
  36636. }
  36637. }
  36638. },
  36639. "szdz.QueryConvertLogRsp": {
  36640. "type": "object",
  36641. "required": [
  36642. "logid"
  36643. ],
  36644. "properties": {
  36645. "accountid": {
  36646. "description": "资金账户ID",
  36647. "type": "integer"
  36648. },
  36649. "clientticket": {
  36650. "description": "客户端流水号",
  36651. "type": "string"
  36652. },
  36653. "converttype": {
  36654. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  36655. "type": "integer"
  36656. },
  36657. "createtime": {
  36658. "description": "记账时间",
  36659. "type": "string"
  36660. },
  36661. "daymaxvalue": {
  36662. "description": "配置当日最大转入限制",
  36663. "type": "number"
  36664. },
  36665. "daymaxvalue2": {
  36666. "description": "配置当日最大转入限制(转入)",
  36667. "type": "number"
  36668. },
  36669. "goodscode": {
  36670. "description": "商品代码",
  36671. "type": "string"
  36672. },
  36673. "goodsname": {
  36674. "description": "商品名称",
  36675. "type": "string"
  36676. },
  36677. "handlestatus": {
  36678. "description": "处理状态",
  36679. "type": "integer"
  36680. },
  36681. "innergoodsid": {
  36682. "description": "内部商品ID",
  36683. "type": "integer"
  36684. },
  36685. "inratio": {
  36686. "description": "配置转入比值",
  36687. "type": "integer"
  36688. },
  36689. "invalue": {
  36690. "description": "目标值",
  36691. "type": "number"
  36692. },
  36693. "logid": {
  36694. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36695. "type": "integer"
  36696. },
  36697. "mobile": {
  36698. "description": "手机号码(加密存储)",
  36699. "type": "string"
  36700. },
  36701. "outergoodscode": {
  36702. "description": "外部商品代码[JD\\PD]",
  36703. "type": "string"
  36704. },
  36705. "outratio": {
  36706. "description": "配置转出比值",
  36707. "type": "integer"
  36708. },
  36709. "outvalue": {
  36710. "description": "源值",
  36711. "type": "number"
  36712. },
  36713. "pddecimalplace": {
  36714. "description": "PD小数位",
  36715. "type": "integer"
  36716. },
  36717. "qty": {
  36718. "description": "数量",
  36719. "type": "string"
  36720. },
  36721. "remark": {
  36722. "description": "备注",
  36723. "type": "string"
  36724. },
  36725. "sessionid": {
  36726. "description": "会话ID",
  36727. "type": "integer"
  36728. },
  36729. "timemaxvalue": {
  36730. "description": "配置单次最大转入限制",
  36731. "type": "number"
  36732. },
  36733. "timemaxvalue2": {
  36734. "description": "配置单次最大转入限制(转入)",
  36735. "type": "number"
  36736. },
  36737. "timeminvalue": {
  36738. "description": "配置单次最小数量限制",
  36739. "type": "number"
  36740. },
  36741. "timeminvalue2": {
  36742. "description": "配置单次最小数量限制(转入)",
  36743. "type": "number"
  36744. },
  36745. "tradedate": {
  36746. "description": "交易日(yyyyMMdd)",
  36747. "type": "string"
  36748. },
  36749. "userid": {
  36750. "description": "用户ID",
  36751. "type": "integer"
  36752. }
  36753. }
  36754. },
  36755. "szdz.QueryGoodsPickupRsp": {
  36756. "type": "object",
  36757. "required": [
  36758. "takeorderid"
  36759. ],
  36760. "properties": {
  36761. "accountid": {
  36762. "description": "账户ID",
  36763. "type": "integer"
  36764. },
  36765. "address": {
  36766. "description": "提货人详细地址",
  36767. "type": "string"
  36768. },
  36769. "auditer": {
  36770. "description": "审核人",
  36771. "type": "integer"
  36772. },
  36773. "audittime": {
  36774. "description": "审核时间",
  36775. "type": "string"
  36776. },
  36777. "cardnum": {
  36778. "description": "提货人证件号码",
  36779. "type": "string"
  36780. },
  36781. "cardtypeid": {
  36782. "description": "提货人证件类型",
  36783. "type": "integer"
  36784. },
  36785. "checkremark": {
  36786. "description": "审核备注",
  36787. "type": "string"
  36788. },
  36789. "goodscode": {
  36790. "description": "商品代码",
  36791. "type": "string"
  36792. },
  36793. "goodsid": {
  36794. "description": "商品ID",
  36795. "type": "integer"
  36796. },
  36797. "goodsname": {
  36798. "description": "商品名称",
  36799. "type": "string"
  36800. },
  36801. "handlestatus": {
  36802. "description": "处理状态",
  36803. "type": "integer"
  36804. },
  36805. "marketid": {
  36806. "description": "市场ID",
  36807. "type": "integer"
  36808. },
  36809. "phonenum": {
  36810. "description": "提货人联系方式",
  36811. "type": "string"
  36812. },
  36813. "qty": {
  36814. "description": "提货数量",
  36815. "type": "number"
  36816. },
  36817. "recivername": {
  36818. "description": "提货人姓名",
  36819. "type": "string"
  36820. },
  36821. "reqtime": {
  36822. "description": "更新时间",
  36823. "type": "string"
  36824. },
  36825. "takemode": {
  36826. "description": "提货方式 - 2:自提 3:配送",
  36827. "type": "integer"
  36828. },
  36829. "takeorderid": {
  36830. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36831. "type": "string"
  36832. },
  36833. "takeorderstatus": {
  36834. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  36835. "type": "integer"
  36836. },
  36837. "takeremark": {
  36838. "description": "提货备注",
  36839. "type": "string"
  36840. },
  36841. "tradedate": {
  36842. "description": "交易日(yyyyMMdd)",
  36843. "type": "string"
  36844. },
  36845. "userid": {
  36846. "description": "用户ID",
  36847. "type": "integer"
  36848. }
  36849. }
  36850. },
  36851. "szdz.QueryRecieptOrderRsp": {
  36852. "type": "object",
  36853. "required": [
  36854. "ordertime"
  36855. ],
  36856. "properties": {
  36857. "accountName": {
  36858. "description": "所属账号名称(已脱敏)",
  36859. "type": "string"
  36860. },
  36861. "accountid": {
  36862. "description": "资金账号",
  36863. "type": "integer"
  36864. },
  36865. "buyorsell": {
  36866. "description": "方向 - 0:买 1:卖",
  36867. "type": "integer"
  36868. },
  36869. "enableqty": {
  36870. "description": "可摘数量",
  36871. "type": "integer"
  36872. },
  36873. "goodscode": {
  36874. "description": "商品代码",
  36875. "type": "string"
  36876. },
  36877. "goodsid": {
  36878. "description": "商品ID",
  36879. "type": "integer"
  36880. },
  36881. "goodsname": {
  36882. "description": "商品名称",
  36883. "type": "string"
  36884. },
  36885. "orderid": {
  36886. "description": "委托单号",
  36887. "type": "string"
  36888. },
  36889. "orderprice": {
  36890. "description": "委托价格",
  36891. "type": "number"
  36892. },
  36893. "ordertime": {
  36894. "description": "委托时间",
  36895. "type": "string"
  36896. },
  36897. "tradedate": {
  36898. "description": "交易日(yyyyMMdd)",
  36899. "type": "string"
  36900. }
  36901. }
  36902. },
  36903. "szdz.QuerySZDZTradePositionRsp": {
  36904. "type": "object",
  36905. "properties": {
  36906. "accountid": {
  36907. "description": "账号Id",
  36908. "type": "integer"
  36909. },
  36910. "agreeunit": {
  36911. "description": "合约单位",
  36912. "type": "number"
  36913. },
  36914. "averageprice": {
  36915. "description": "持仓均价",
  36916. "type": "number"
  36917. },
  36918. "buyorsell": {
  36919. "description": "方向 - 0:买 1:卖",
  36920. "type": "integer"
  36921. },
  36922. "closetotalqty": {
  36923. "description": "平仓总数量",
  36924. "type": "integer"
  36925. },
  36926. "curholderamount": {
  36927. "description": "当前持仓总金额",
  36928. "type": "number"
  36929. },
  36930. "curpositionqty": {
  36931. "description": "当前持仓总数量",
  36932. "type": "integer"
  36933. },
  36934. "currencyid": {
  36935. "description": "报价货币ID",
  36936. "type": "integer"
  36937. },
  36938. "curtdposition": {
  36939. "description": "期末今日头寸",
  36940. "type": "integer"
  36941. },
  36942. "decimalplace": {
  36943. "description": "报价小数位",
  36944. "type": "integer"
  36945. },
  36946. "enableqty": {
  36947. "description": "可用量",
  36948. "type": "integer"
  36949. },
  36950. "fretdposition": {
  36951. "description": "冻结今日头寸",
  36952. "type": "integer"
  36953. },
  36954. "frozenqty": {
  36955. "description": "持仓冻结数量",
  36956. "type": "integer"
  36957. },
  36958. "goodscode": {
  36959. "description": "商品代码(内部)",
  36960. "type": "string"
  36961. },
  36962. "goodsid": {
  36963. "description": "商品Id",
  36964. "type": "integer"
  36965. },
  36966. "goodsname": {
  36967. "description": "商品名称",
  36968. "type": "string"
  36969. },
  36970. "goodunit": {
  36971. "description": "报价单位",
  36972. "type": "string"
  36973. },
  36974. "goodunitid": {
  36975. "description": "报价单位ID",
  36976. "type": "integer"
  36977. },
  36978. "holderamount": {
  36979. "description": "期初持仓总金额",
  36980. "type": "number"
  36981. },
  36982. "marketid": {
  36983. "description": "市场ID",
  36984. "type": "integer"
  36985. },
  36986. "openreqqty": {
  36987. "description": "开仓申请数量",
  36988. "type": "integer"
  36989. },
  36990. "opentotalqty": {
  36991. "description": "开仓总数量",
  36992. "type": "integer"
  36993. },
  36994. "otherfrozenqty": {
  36995. "description": "持仓其他冻结数量(交割冻结)",
  36996. "type": "integer"
  36997. },
  36998. "positionqty": {
  36999. "description": "期初持仓数量",
  37000. "type": "integer"
  37001. },
  37002. "szdz3freezqty": {
  37003. "description": "尚志大宗转换冻结总数量",
  37004. "type": "integer"
  37005. },
  37006. "tnqty": {
  37007. "description": "T+N冻结总量",
  37008. "type": "integer"
  37009. },
  37010. "tnusedqty": {
  37011. "description": "T+N使用量",
  37012. "type": "integer"
  37013. },
  37014. "trademode": {
  37015. "description": "交易模式",
  37016. "type": "integer"
  37017. },
  37018. "usedmargin": {
  37019. "description": "占用保证金",
  37020. "type": "number"
  37021. }
  37022. }
  37023. },
  37024. "taaccount.QueryAmountLogRsp": {
  37025. "type": "object",
  37026. "required": [
  37027. "accountid",
  37028. "amount",
  37029. "amountadjusttype",
  37030. "autoid",
  37031. "balance",
  37032. "createtime",
  37033. "currentbalance",
  37034. "operatetype"
  37035. ],
  37036. "properties": {
  37037. "OPERATETYPENAME": {
  37038. "description": "资金操作类型名称",
  37039. "type": "string"
  37040. },
  37041. "accountid": {
  37042. "description": "资金账户ID",
  37043. "type": "integer"
  37044. },
  37045. "agoodscode": {
  37046. "description": "竞拍商品代码",
  37047. "type": "string"
  37048. },
  37049. "agoodsname": {
  37050. "description": "竞拍商品名称",
  37051. "type": "string"
  37052. },
  37053. "amount": {
  37054. "description": "资金金额",
  37055. "type": "number"
  37056. },
  37057. "amountadjusttype": {
  37058. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37059. "type": "integer"
  37060. },
  37061. "autoid": {
  37062. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37063. "type": "integer"
  37064. },
  37065. "balance": {
  37066. "description": "期初余额",
  37067. "type": "number"
  37068. },
  37069. "businesscode": {
  37070. "description": "业务编号",
  37071. "type": "integer"
  37072. },
  37073. "createtime": {
  37074. "description": "发生时间",
  37075. "type": "string"
  37076. },
  37077. "currencyid": {
  37078. "description": "币种ID",
  37079. "type": "integer"
  37080. },
  37081. "currentbalance": {
  37082. "description": "期末余额(变动后金额)",
  37083. "type": "number"
  37084. },
  37085. "dgoodscode": {
  37086. "description": "交割商品代码",
  37087. "type": "string"
  37088. },
  37089. "dgoodsname": {
  37090. "description": "交割商品名称",
  37091. "type": "string"
  37092. },
  37093. "goodscode": {
  37094. "description": "商品代码",
  37095. "type": "string"
  37096. },
  37097. "goodsid": {
  37098. "description": "商品ID",
  37099. "type": "integer"
  37100. },
  37101. "goodsname": {
  37102. "description": "商品名称",
  37103. "type": "string"
  37104. },
  37105. "marketid": {
  37106. "description": "市场ID",
  37107. "type": "integer"
  37108. },
  37109. "marketname": {
  37110. "description": "市场名称",
  37111. "type": "string"
  37112. },
  37113. "moneyticket": {
  37114. "description": "资金流水号:银行端流水号",
  37115. "type": "integer"
  37116. },
  37117. "operatetype": {
  37118. "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:营销收款",
  37119. "type": "integer"
  37120. },
  37121. "relationorderid": {
  37122. "description": "关联单号",
  37123. "type": "string"
  37124. },
  37125. "remark": {
  37126. "description": "备注",
  37127. "type": "string"
  37128. },
  37129. "trademode": {
  37130. "description": "交易模式",
  37131. "type": "integer"
  37132. }
  37133. }
  37134. },
  37135. "taaccount.QueryHisAmountLogRsp": {
  37136. "type": "object",
  37137. "required": [
  37138. "accountid",
  37139. "amount",
  37140. "amountadjusttype",
  37141. "autoid",
  37142. "balance",
  37143. "createtime",
  37144. "currentbalance",
  37145. "histradedate",
  37146. "operatetype"
  37147. ],
  37148. "properties": {
  37149. "OPERATETYPENAME": {
  37150. "description": "资金操作类型名称",
  37151. "type": "string"
  37152. },
  37153. "accountid": {
  37154. "description": "资金账户ID",
  37155. "type": "integer"
  37156. },
  37157. "agoodscode": {
  37158. "description": "竞拍商品代码",
  37159. "type": "string"
  37160. },
  37161. "agoodsname": {
  37162. "description": "竞拍商品名称",
  37163. "type": "string"
  37164. },
  37165. "amount": {
  37166. "description": "资金金额",
  37167. "type": "number"
  37168. },
  37169. "amountadjusttype": {
  37170. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37171. "type": "integer"
  37172. },
  37173. "autoid": {
  37174. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37175. "type": "integer"
  37176. },
  37177. "balance": {
  37178. "description": "期初余额",
  37179. "type": "number"
  37180. },
  37181. "businesscode": {
  37182. "description": "业务编号",
  37183. "type": "integer"
  37184. },
  37185. "createtime": {
  37186. "description": "发生时间",
  37187. "type": "string"
  37188. },
  37189. "currencyid": {
  37190. "description": "币种ID",
  37191. "type": "integer"
  37192. },
  37193. "currentbalance": {
  37194. "description": "期末余额(变动后金额)",
  37195. "type": "number"
  37196. },
  37197. "dgoodscode": {
  37198. "description": "交割商品代码",
  37199. "type": "string"
  37200. },
  37201. "dgoodsname": {
  37202. "description": "交割商品名称",
  37203. "type": "string"
  37204. },
  37205. "goodscode": {
  37206. "description": "商品代码",
  37207. "type": "string"
  37208. },
  37209. "goodsid": {
  37210. "description": "商品ID",
  37211. "type": "integer"
  37212. },
  37213. "goodsname": {
  37214. "description": "商品名称",
  37215. "type": "string"
  37216. },
  37217. "histradedate": {
  37218. "description": "历史交易日",
  37219. "type": "string"
  37220. },
  37221. "isvaliddata": {
  37222. "description": "是否有效 - 0:无效 1:有效",
  37223. "type": "integer"
  37224. },
  37225. "marketid": {
  37226. "description": "市场ID",
  37227. "type": "integer"
  37228. },
  37229. "marketname": {
  37230. "description": "市场名称",
  37231. "type": "string"
  37232. },
  37233. "moneyticket": {
  37234. "description": "资金流水号:银行端流水号",
  37235. "type": "integer"
  37236. },
  37237. "operatetype": {
  37238. "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:营销收款",
  37239. "type": "integer"
  37240. },
  37241. "relationorderid": {
  37242. "description": "关联单号",
  37243. "type": "string"
  37244. },
  37245. "remark": {
  37246. "description": "备注",
  37247. "type": "string"
  37248. },
  37249. "trademode": {
  37250. "description": "交易模式",
  37251. "type": "integer"
  37252. }
  37253. }
  37254. },
  37255. "trade.QueryRecieptOrderRsp": {
  37256. "type": "object",
  37257. "required": [
  37258. "ordertime"
  37259. ],
  37260. "properties": {
  37261. "accountName": {
  37262. "description": "所属账号名称(已脱敏)",
  37263. "type": "string"
  37264. },
  37265. "accountid": {
  37266. "description": "资金账号",
  37267. "type": "integer"
  37268. },
  37269. "buyorsell": {
  37270. "description": "方向 - 0:买 1:卖",
  37271. "type": "integer"
  37272. },
  37273. "enableqty": {
  37274. "description": "可摘数量",
  37275. "type": "integer"
  37276. },
  37277. "goodscode": {
  37278. "description": "商品代码",
  37279. "type": "string"
  37280. },
  37281. "goodsid": {
  37282. "description": "商品ID",
  37283. "type": "integer"
  37284. },
  37285. "goodsname": {
  37286. "description": "商品名称",
  37287. "type": "string"
  37288. },
  37289. "orderid": {
  37290. "description": "委托单号",
  37291. "type": "string"
  37292. },
  37293. "orderprice": {
  37294. "description": "委托价格",
  37295. "type": "number"
  37296. },
  37297. "ordertime": {
  37298. "description": "委托时间",
  37299. "type": "string"
  37300. },
  37301. "tradedate": {
  37302. "description": "交易日(yyyyMMdd)",
  37303. "type": "string"
  37304. }
  37305. }
  37306. },
  37307. "user.LoginQueryRsp": {
  37308. "type": "object",
  37309. "properties": {
  37310. "areaRoles": {
  37311. "description": "所属角色信息",
  37312. "type": "array",
  37313. "items": {
  37314. "$ref": "#/definitions/models.Arearole"
  37315. }
  37316. },
  37317. "externalExchanges": {
  37318. "description": "外部交易所",
  37319. "type": "array",
  37320. "items": {
  37321. "$ref": "#/definitions/models.Externalexchange"
  37322. }
  37323. },
  37324. "goodsgroups": {
  37325. "description": "商品组",
  37326. "type": "array",
  37327. "items": {
  37328. "$ref": "#/definitions/models.Goodsgroup"
  37329. }
  37330. },
  37331. "loginAccount": {
  37332. "description": "登录账号",
  37333. "type": "object",
  37334. "$ref": "#/definitions/models.Loginaccount"
  37335. },
  37336. "markets": {
  37337. "description": "市场",
  37338. "type": "array",
  37339. "items": {
  37340. "$ref": "#/definitions/models.Market"
  37341. }
  37342. },
  37343. "systemParams": {
  37344. "description": "系统参数",
  37345. "type": "array",
  37346. "items": {
  37347. "$ref": "#/definitions/models.Systemparam"
  37348. }
  37349. },
  37350. "userAccount": {
  37351. "description": "用户账号",
  37352. "type": "object",
  37353. "$ref": "#/definitions/models.Useraccount"
  37354. },
  37355. "userInfo": {
  37356. "description": "用户信息",
  37357. "type": "object",
  37358. "$ref": "#/definitions/models.Userinfo"
  37359. },
  37360. "username": {
  37361. "description": "用户姓名",
  37362. "type": "string"
  37363. }
  37364. }
  37365. }
  37366. },
  37367. "securityDefinitions": {
  37368. "ApiKeyAuth": {
  37369. "type": "apiKey",
  37370. "name": "Authorization",
  37371. "in": "header"
  37372. }
  37373. }
  37374. }`
  37375. type swaggerInfo struct {
  37376. Version string
  37377. Host string
  37378. BasePath string
  37379. Schemes []string
  37380. Title string
  37381. Description string
  37382. }
  37383. // SwaggerInfo holds exported Swagger Info so clients can modify it
  37384. var SwaggerInfo = swaggerInfo{
  37385. Version: "1.0",
  37386. Host: "",
  37387. BasePath: "/api",
  37388. Schemes: []string{},
  37389. Title: "MTP2.0 查询服务 API",
  37390. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  37391. }
  37392. type s struct{}
  37393. func (s *s) ReadDoc() string {
  37394. sInfo := SwaggerInfo
  37395. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  37396. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  37397. "marshal": func(v interface{}) string {
  37398. a, _ := json.Marshal(v)
  37399. return string(a)
  37400. },
  37401. }).Parse(doc)
  37402. if err != nil {
  37403. return doc
  37404. }
  37405. var tpl bytes.Buffer
  37406. if err := t.Execute(&tpl, sInfo); err != nil {
  37407. return doc
  37408. }
  37409. return tpl.String()
  37410. }
  37411. func init() {
  37412. swag.Register(swag.Name, &s{})
  37413. }