docs.go 1.5 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "企业风险管理v3(app)"
  3375. ],
  3376. "summary": "查询现货报表",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "用户ID",
  3381. "name": "userid",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "查询类型 1-报表 2-报表明细",
  3388. "name": "querytype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "integer",
  3394. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3395. "name": "cycletype",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3402. "name": "cycletime",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "现货品种id(明细必填)",
  3409. "name": "deliverygoodsid",
  3410. "in": "query"
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "币种id(明细必填)",
  3415. "name": "currencyid",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": "日/周/月报表汇总维度 1:品种+品类",
  3421. "name": "sumflag",
  3422. "in": "query"
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "type": "array",
  3430. "items": {
  3431. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3432. }
  3433. }
  3434. },
  3435. "500": {
  3436. "description": "Internal Server Error",
  3437. "schema": {
  3438. "$ref": "#/definitions/app.Response"
  3439. }
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/Ermcp3/QryAreaStockReport": {
  3445. "get": {
  3446. "security": [
  3447. {
  3448. "ApiKeyAuth": []
  3449. }
  3450. ],
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "企业风险管理v3(app)"
  3456. ],
  3457. "summary": "查询库存报表",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "用户ID",
  3462. "name": "userid",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "查询类型 1-报表 2-报表明细",
  3469. "name": "querytype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3476. "name": "cycletype",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3483. "name": "cycletime",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3490. "name": "sumfields",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品种ID",
  3496. "name": "deliverygoodsid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "品类ID",
  3502. "name": "wrstandardid",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "品牌ID",
  3508. "name": "spotgoodsbrandid",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "仓库ID",
  3514. "name": "warehouseinfoid",
  3515. "in": "query"
  3516. }
  3517. ],
  3518. "responses": {
  3519. "200": {
  3520. "description": "OK",
  3521. "schema": {
  3522. "type": "array",
  3523. "items": {
  3524. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3525. }
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Ermcp3/QryAreaSumPL": {
  3538. "get": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "企业风险管理v3(app)"
  3549. ],
  3550. "summary": "查询汇总损益表",
  3551. "parameters": [
  3552. {
  3553. "type": "integer",
  3554. "description": "用户ID",
  3555. "name": "userid",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "查询类型 1-报表 2-报表明细",
  3562. "name": "querytype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "integer",
  3568. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3569. "name": "cycletype",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "string",
  3575. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3576. "name": "cycletime",
  3577. "in": "query",
  3578. "required": true
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "币种id(明细必填)",
  3583. "name": "currencyid",
  3584. "in": "query"
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "type": "array",
  3592. "items": {
  3593. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3594. }
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/Ermcp3/QryFinanceReport": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "企业风险管理v3(app)"
  3618. ],
  3619. "summary": "查询财务报表",
  3620. "parameters": [
  3621. {
  3622. "type": "integer",
  3623. "description": "用户ID",
  3624. "name": "userid",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "查询类型 1-报表 2-报表明细",
  3631. "name": "querytype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3638. "name": "cycletype",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3645. "name": "cycletime",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "币种id(报表明细必填)",
  3652. "name": "currencyid",
  3653. "in": "query"
  3654. },
  3655. {
  3656. "type": "string",
  3657. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3658. "name": "sumfields",
  3659. "in": "query"
  3660. }
  3661. ],
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "type": "array",
  3667. "items": {
  3668. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3669. }
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "Internal Server Error",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "/Ermcp3/QrySCMiddleGoodsReport": {
  3682. "get": {
  3683. "security": [
  3684. {
  3685. "ApiKeyAuth": []
  3686. }
  3687. ],
  3688. "produces": [
  3689. "application/json"
  3690. ],
  3691. "tags": [
  3692. "企业风险管理v3(app)"
  3693. ],
  3694. "summary": "查询定价报表",
  3695. "parameters": [
  3696. {
  3697. "type": "integer",
  3698. "description": "用户ID",
  3699. "name": "userid",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "integer",
  3705. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3706. "name": "cycletype",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "string",
  3712. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3713. "name": "cycletime",
  3714. "in": "query",
  3715. "required": true
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "合同id",
  3720. "name": "spotcontractid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "套保品种id",
  3726. "name": "middlegoodsid",
  3727. "in": "query"
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "现货品种id",
  3732. "name": "deliverygoodsid",
  3733. "in": "query"
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "现货商品id",
  3738. "name": "wrstandardid",
  3739. "in": "query"
  3740. },
  3741. {
  3742. "type": "string",
  3743. "description": "合同编号(模糊匹配)",
  3744. "name": "contractno",
  3745. "in": "query"
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "type": "array",
  3753. "items": {
  3754. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3755. }
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Ermcp3/QryTaFutureDataReport": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "企业风险管理v3(app)"
  3779. ],
  3780. "summary": "查询期货报表",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "用户ID",
  3785. "name": "userid",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "查询类型 1-报表 2-报表明细",
  3792. "name": "querytype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3799. "name": "cycletype",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "string",
  3805. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3806. "name": "cycletime",
  3807. "in": "query",
  3808. "required": true
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "币种id(查明细必填)",
  3813. "name": "currencyid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "品种id(查明细必填)",
  3819. "name": "goodsgroupid",
  3820. "in": "query"
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "商品id(查明细必填)",
  3825. "name": "goodsid",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "买卖方向(查明细必填)",
  3831. "name": "buyorsell",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp3/QueryAreaStock": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理v3(app)"
  3866. ],
  3867. "summary": "查询机构库存(库存管理/当前库存)",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "用户ID",
  3872. "name": "userid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryAreaStockApply": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询库存申请(出入库记录|库存审核)",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户ID",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "现货商品ID",
  3927. "name": "deliverygoodsid",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "string",
  3932. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3933. "name": "inouttype",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "合同ID",
  3939. "name": "spotcontractid",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "integer",
  3944. "description": "品类ID",
  3945. "name": "wrstandardid",
  3946. "in": "query"
  3947. },
  3948. {
  3949. "type": "integer",
  3950. "description": "品牌ID",
  3951. "name": "spotgoodsbrandid",
  3952. "in": "query"
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "仓库ID",
  3957. "name": "warehouseinfoid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3963. "name": "applystatus",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QueryAreaStockApplySum": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "合同ID",
  4004. "name": "spotcontractid",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "type": "array",
  4014. "items": {
  4015. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4016. }
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/Ermcp3/QueryDGFactoryItem": {
  4029. "get": {
  4030. "security": [
  4031. {
  4032. "ApiKeyAuth": []
  4033. }
  4034. ],
  4035. "produces": [
  4036. "application/json"
  4037. ],
  4038. "tags": [
  4039. "企业风险管理v3(app)"
  4040. ],
  4041. "summary": "查询品种要素定义项",
  4042. "parameters": [
  4043. {
  4044. "type": "integer",
  4045. "description": "用户id",
  4046. "name": "userid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "用户类型 2-机构 7-企业成员",
  4052. "name": "usertype",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4058. "name": "dgfactoryitemid",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "现货品种ID",
  4064. "name": "deliverygoodsid",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "要素项类型",
  4070. "name": "dgfactoryitemtypeid",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "integer",
  4075. "description": "顺序",
  4076. "name": "orderindex",
  4077. "in": "query"
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "type": "array",
  4085. "items": {
  4086. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4087. }
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Ermcp3/QueryDeliveryGoods": {
  4100. "get": {
  4101. "security": [
  4102. {
  4103. "ApiKeyAuth": []
  4104. }
  4105. ],
  4106. "produces": [
  4107. "application/json"
  4108. ],
  4109. "tags": [
  4110. "企业风险管理v3(app)"
  4111. ],
  4112. "summary": "查询现货商品",
  4113. "parameters": [
  4114. {
  4115. "type": "integer",
  4116. "description": "用户id",
  4117. "name": "userid",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "用户类型 2-机构 7-企业成员",
  4124. "name": "usertype",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4130. "name": "excludecfg",
  4131. "in": "query"
  4132. }
  4133. ],
  4134. "responses": {
  4135. "200": {
  4136. "description": "OK",
  4137. "schema": {
  4138. "type": "array",
  4139. "items": {
  4140. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4141. }
  4142. }
  4143. },
  4144. "500": {
  4145. "description": "Internal Server Error",
  4146. "schema": {
  4147. "$ref": "#/definitions/app.Response"
  4148. }
  4149. }
  4150. }
  4151. }
  4152. },
  4153. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4154. "get": {
  4155. "security": [
  4156. {
  4157. "ApiKeyAuth": []
  4158. }
  4159. ],
  4160. "produces": [
  4161. "application/json"
  4162. ],
  4163. "tags": [
  4164. "企业风险管理v3(app)"
  4165. ],
  4166. "summary": "查询现货商品详情",
  4167. "parameters": [
  4168. {
  4169. "type": "integer",
  4170. "description": "用户id",
  4171. "name": "userid",
  4172. "in": "query",
  4173. "required": true
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "用户类型 2-机构 7-企业成员",
  4178. "name": "usertype",
  4179. "in": "query"
  4180. },
  4181. {
  4182. "type": "integer",
  4183. "description": "现货商品id",
  4184. "name": "deliverygoodsid",
  4185. "in": "query"
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4190. "name": "filtersubempty",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.XHDeliveryGoods"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询现货合同期现配置信息",
  4227. "parameters": [
  4228. {
  4229. "type": "string",
  4230. "description": "合同id",
  4231. "name": "spotcontractid",
  4232. "in": "query",
  4233. "required": true
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryExposureDetail": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询敞口现货明细",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "用户类型 2-机构 7-企业成员",
  4280. "name": "usertype",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "套保商品",
  4286. "name": "middlegoodsid",
  4287. "in": "query",
  4288. "required": true
  4289. }
  4290. ],
  4291. "responses": {
  4292. "200": {
  4293. "description": "OK",
  4294. "schema": {
  4295. "type": "array",
  4296. "items": {
  4297. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4298. }
  4299. }
  4300. },
  4301. "500": {
  4302. "description": "Internal Server Error",
  4303. "schema": {
  4304. "$ref": "#/definitions/app.Response"
  4305. }
  4306. }
  4307. }
  4308. }
  4309. },
  4310. "/Ermcp3/QueryExposureSpot": {
  4311. "get": {
  4312. "security": [
  4313. {
  4314. "ApiKeyAuth": []
  4315. }
  4316. ],
  4317. "produces": [
  4318. "application/json"
  4319. ],
  4320. "tags": [
  4321. "企业风险管理v3(app)"
  4322. ],
  4323. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4324. "parameters": [
  4325. {
  4326. "type": "integer",
  4327. "description": "用户id",
  4328. "name": "userid",
  4329. "in": "query",
  4330. "required": true
  4331. },
  4332. {
  4333. "type": "integer",
  4334. "description": "用户类型 2-机构 7-企业成员",
  4335. "name": "usertype",
  4336. "in": "query"
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "type": "array",
  4344. "items": {
  4345. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4346. }
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/Ermcp3/QueryExposureSpotDetail": {
  4359. "get": {
  4360. "security": [
  4361. {
  4362. "ApiKeyAuth": []
  4363. }
  4364. ],
  4365. "produces": [
  4366. "application/json"
  4367. ],
  4368. "tags": [
  4369. "企业风险管理v3(app)"
  4370. ],
  4371. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4372. "parameters": [
  4373. {
  4374. "type": "integer",
  4375. "description": "用户id",
  4376. "name": "userid",
  4377. "in": "query",
  4378. "required": true
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "用户类型 2-机构 7-企业成员",
  4383. "name": "usertype",
  4384. "in": "query"
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "现货商品ID",
  4389. "name": "wrstandardid",
  4390. "in": "query",
  4391. "required": true
  4392. }
  4393. ],
  4394. "responses": {
  4395. "200": {
  4396. "description": "OK",
  4397. "schema": {
  4398. "type": "array",
  4399. "items": {
  4400. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4401. }
  4402. }
  4403. },
  4404. "500": {
  4405. "description": "Internal Server Error",
  4406. "schema": {
  4407. "$ref": "#/definitions/app.Response"
  4408. }
  4409. }
  4410. }
  4411. }
  4412. },
  4413. "/Ermcp3/QueryGoodsGroup": {
  4414. "get": {
  4415. "security": [
  4416. {
  4417. "ApiKeyAuth": []
  4418. }
  4419. ],
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "企业风险管理v3(app)"
  4425. ],
  4426. "summary": "查询期货商品组",
  4427. "parameters": [
  4428. {
  4429. "type": "integer",
  4430. "description": "用户id",
  4431. "name": "userid",
  4432. "in": "query",
  4433. "required": true
  4434. },
  4435. {
  4436. "type": "integer",
  4437. "description": "用户类型 2-机构 7-企业成员",
  4438. "name": "usertype",
  4439. "in": "query"
  4440. },
  4441. {
  4442. "type": "integer",
  4443. "description": "排除套保品中已关联的商品组 1-排除",
  4444. "name": "excludecfg",
  4445. "in": "query"
  4446. }
  4447. ],
  4448. "responses": {
  4449. "200": {
  4450. "description": "OK",
  4451. "schema": {
  4452. "type": "array",
  4453. "items": {
  4454. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4455. }
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/Ermcp3/QueryGoodsWrstandard": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "企业风险管理v3(app)"
  4479. ],
  4480. "summary": "查询商品品类",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "用户id",
  4485. "name": "userid",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "用户类型 2-机构 7-企业成员",
  4492. "name": "usertype",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "integer",
  4497. "description": "现货商品id",
  4498. "name": "deliverygoodsid",
  4499. "in": "query"
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "type": "array",
  4507. "items": {
  4508. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4509. }
  4510. }
  4511. },
  4512. "500": {
  4513. "description": "Internal Server Error",
  4514. "schema": {
  4515. "$ref": "#/definitions/app.Response"
  4516. }
  4517. }
  4518. }
  4519. }
  4520. },
  4521. "/Ermcp3/QueryGoodsbrand": {
  4522. "get": {
  4523. "security": [
  4524. {
  4525. "ApiKeyAuth": []
  4526. }
  4527. ],
  4528. "produces": [
  4529. "application/json"
  4530. ],
  4531. "tags": [
  4532. "企业风险管理v3(app)"
  4533. ],
  4534. "summary": "查询商品品牌",
  4535. "parameters": [
  4536. {
  4537. "type": "integer",
  4538. "description": "用户id",
  4539. "name": "userid",
  4540. "in": "query",
  4541. "required": true
  4542. },
  4543. {
  4544. "type": "integer",
  4545. "description": "用户类型 2-机构 7-企业成员",
  4546. "name": "usertype",
  4547. "in": "query"
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3Brand"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QueryHPMiddleGoods": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "produces": [
  4577. "application/json"
  4578. ],
  4579. "tags": [
  4580. "企业风险管理v3(app)"
  4581. ],
  4582. "summary": "查询可关联套保计划",
  4583. "parameters": [
  4584. {
  4585. "type": "integer",
  4586. "description": "用户ID(填登录用户的userid)",
  4587. "name": "userid",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "买卖方向 0-买 1-卖",
  4594. "name": "buyorsell",
  4595. "in": "query",
  4596. "required": true
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "商品组id",
  4601. "name": "goodsgroupid",
  4602. "in": "query",
  4603. "required": true
  4604. },
  4605. {
  4606. "type": "string",
  4607. "description": "套保计划编号(模糊匹配)",
  4608. "name": "hedgeplanno",
  4609. "in": "query"
  4610. },
  4611. {
  4612. "type": "string",
  4613. "description": "现货商品名称(模糊匹配)",
  4614. "name": "wrstandardname",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "type": "array",
  4623. "items": {
  4624. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4625. }
  4626. }
  4627. },
  4628. "500": {
  4629. "description": "Internal Server Error",
  4630. "schema": {
  4631. "$ref": "#/definitions/app.Response"
  4632. }
  4633. }
  4634. }
  4635. }
  4636. },
  4637. "/Ermcp3/QueryHedgePlan": {
  4638. "get": {
  4639. "security": [
  4640. {
  4641. "ApiKeyAuth": []
  4642. }
  4643. ],
  4644. "produces": [
  4645. "application/json"
  4646. ],
  4647. "tags": [
  4648. "企业风险管理v3(app)"
  4649. ],
  4650. "summary": "查询套保计划",
  4651. "parameters": [
  4652. {
  4653. "type": "integer",
  4654. "description": "用户ID",
  4655. "name": "userid",
  4656. "in": "query",
  4657. "required": true
  4658. },
  4659. {
  4660. "type": "integer",
  4661. "description": "用户类型 2-机构 7-企业成员",
  4662. "name": "usertype",
  4663. "in": "query"
  4664. },
  4665. {
  4666. "type": "string",
  4667. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4668. "name": "hedgeplanstatus",
  4669. "in": "query",
  4670. "required": true
  4671. }
  4672. ],
  4673. "responses": {
  4674. "200": {
  4675. "description": "OK",
  4676. "schema": {
  4677. "type": "array",
  4678. "items": {
  4679. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4680. }
  4681. }
  4682. },
  4683. "500": {
  4684. "description": "Internal Server Error",
  4685. "schema": {
  4686. "$ref": "#/definitions/app.Response"
  4687. }
  4688. }
  4689. }
  4690. }
  4691. },
  4692. "/Ermcp3/QueryInnerTradeLink": {
  4693. "get": {
  4694. "security": [
  4695. {
  4696. "ApiKeyAuth": []
  4697. }
  4698. ],
  4699. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4700. "produces": [
  4701. "application/json"
  4702. ],
  4703. "tags": [
  4704. "企业风险管理v3(app)"
  4705. ],
  4706. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4707. "parameters": [
  4708. {
  4709. "type": "integer",
  4710. "description": "外部成交单号",
  4711. "name": "outtradeid",
  4712. "in": "query",
  4713. "required": true
  4714. }
  4715. ],
  4716. "responses": {
  4717. "200": {
  4718. "description": "OK",
  4719. "schema": {
  4720. "type": "array",
  4721. "items": {
  4722. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4723. }
  4724. }
  4725. },
  4726. "500": {
  4727. "description": "Internal Server Error",
  4728. "schema": {
  4729. "$ref": "#/definitions/app.Response"
  4730. }
  4731. }
  4732. }
  4733. }
  4734. },
  4735. "/Ermcp3/QueryMiddleGoodsDetail": {
  4736. "get": {
  4737. "security": [
  4738. {
  4739. "ApiKeyAuth": []
  4740. }
  4741. ],
  4742. "produces": [
  4743. "application/json"
  4744. ],
  4745. "tags": [
  4746. "企业风险管理v3(app)"
  4747. ],
  4748. "summary": "查询套保品种详情(套保品种/商品详情)",
  4749. "parameters": [
  4750. {
  4751. "type": "integer",
  4752. "description": "用户id",
  4753. "name": "userid",
  4754. "in": "query",
  4755. "required": true
  4756. },
  4757. {
  4758. "type": "integer",
  4759. "description": "用户类型 2-机构 7-企业成员",
  4760. "name": "usertype",
  4761. "in": "query"
  4762. },
  4763. {
  4764. "type": "integer",
  4765. "description": "套保品种id",
  4766. "name": "middlegoodsid",
  4767. "in": "query"
  4768. }
  4769. ],
  4770. "responses": {
  4771. "200": {
  4772. "description": "OK",
  4773. "schema": {
  4774. "type": "array",
  4775. "items": {
  4776. "$ref": "#/definitions/models.TBMiddleGoods"
  4777. }
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/app.Response"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/Ermcp3/QueryOutTradeLink": {
  4790. "get": {
  4791. "security": [
  4792. {
  4793. "ApiKeyAuth": []
  4794. }
  4795. ],
  4796. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4797. "produces": [
  4798. "application/json"
  4799. ],
  4800. "tags": [
  4801. "企业风险管理v3(app)"
  4802. ],
  4803. "summary": "查询外部成交单关联",
  4804. "parameters": [
  4805. {
  4806. "type": "integer",
  4807. "description": "用户ID(填登录用户的userid)",
  4808. "name": "userid",
  4809. "in": "query",
  4810. "required": true
  4811. },
  4812. {
  4813. "type": "string",
  4814. "description": "外部订单号(模糊匹配)",
  4815. "name": "outtradeid",
  4816. "in": "query"
  4817. },
  4818. {
  4819. "type": "string",
  4820. "description": "合约名称/代码(模糊匹配)",
  4821. "name": "goodsname",
  4822. "in": "query"
  4823. },
  4824. {
  4825. "type": "integer",
  4826. "description": "关联状态 0-未关联 1-已关联",
  4827. "name": "hasinnerorder",
  4828. "in": "query"
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "type": "array",
  4836. "items": {
  4837. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4838. }
  4839. }
  4840. },
  4841. "500": {
  4842. "description": "Internal Server Error",
  4843. "schema": {
  4844. "$ref": "#/definitions/app.Response"
  4845. }
  4846. }
  4847. }
  4848. }
  4849. },
  4850. "/Ermcp3/QueryPaAreaAuditCfg": {
  4851. "get": {
  4852. "security": [
  4853. {
  4854. "ApiKeyAuth": []
  4855. }
  4856. ],
  4857. "produces": [
  4858. "application/json"
  4859. ],
  4860. "tags": [
  4861. "企业风险管理v3(app)"
  4862. ],
  4863. "summary": "查询审核设置",
  4864. "parameters": [
  4865. {
  4866. "type": "integer",
  4867. "description": "用户id",
  4868. "name": "userid",
  4869. "in": "query",
  4870. "required": true
  4871. }
  4872. ],
  4873. "responses": {
  4874. "200": {
  4875. "description": "OK",
  4876. "schema": {
  4877. "type": "array",
  4878. "items": {
  4879. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4880. }
  4881. }
  4882. },
  4883. "500": {
  4884. "description": "Internal Server Error",
  4885. "schema": {
  4886. "$ref": "#/definitions/app.Response"
  4887. }
  4888. }
  4889. }
  4890. }
  4891. },
  4892. "/Ermcp3/QueryPaAreaSubject": {
  4893. "get": {
  4894. "security": [
  4895. {
  4896. "ApiKeyAuth": []
  4897. }
  4898. ],
  4899. "produces": [
  4900. "application/json"
  4901. ],
  4902. "tags": [
  4903. "企业风险管理v3(app)"
  4904. ],
  4905. "summary": "查询交易主体",
  4906. "parameters": [
  4907. {
  4908. "type": "integer",
  4909. "description": "用户id",
  4910. "name": "userid",
  4911. "in": "query",
  4912. "required": true
  4913. },
  4914. {
  4915. "type": "integer",
  4916. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4917. "name": "subjectid",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "主体类型 - 1:交易主体 2:业务部门",
  4923. "name": "subjecttype",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "integer",
  4928. "description": "主体状态 - 1:正常 2: 停用",
  4929. "name": "subjectstatus",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryPaTradeLink": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4960. "produces": [
  4961. "application/json"
  4962. ],
  4963. "tags": [
  4964. "企业风险管理v3(app)"
  4965. ],
  4966. "summary": "查询期现单据关联",
  4967. "parameters": [
  4968. {
  4969. "type": "integer",
  4970. "description": "用户ID",
  4971. "name": "userid",
  4972. "in": "query",
  4973. "required": true
  4974. }
  4975. ],
  4976. "responses": {
  4977. "200": {
  4978. "description": "OK",
  4979. "schema": {
  4980. "type": "array",
  4981. "items": {
  4982. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4983. }
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/Ermcp3/QueryPaTradeLinkDetail": {
  4996. "get": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5003. "produces": [
  5004. "application/json"
  5005. ],
  5006. "tags": [
  5007. "企业风险管理v3(app)"
  5008. ],
  5009. "summary": "查询期现关联记录",
  5010. "parameters": [
  5011. {
  5012. "type": "integer",
  5013. "description": "用户ID(填登录用户的userid)",
  5014. "name": "userid",
  5015. "in": "query",
  5016. "required": true
  5017. },
  5018. {
  5019. "type": "integer",
  5020. "description": "关联状态 1:成功 2:失败 3:解绑",
  5021. "name": "linkstatus",
  5022. "in": "query"
  5023. },
  5024. {
  5025. "type": "string",
  5026. "description": "期货订单号(模糊匹配)",
  5027. "name": "tradeid",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "string",
  5032. "description": "现货编号(模糊匹配)",
  5033. "name": "contractno",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "string",
  5038. "description": "期货账户(模糊匹配)",
  5039. "name": "taname",
  5040. "in": "query"
  5041. }
  5042. ],
  5043. "responses": {
  5044. "200": {
  5045. "description": "OK",
  5046. "schema": {
  5047. "type": "array",
  5048. "items": {
  5049. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5050. }
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/Ermcp3/QueryParamChangeApp": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "企业风险管理v3(app)"
  5075. ],
  5076. "summary": "查询现货商品参数变更申请(流水)",
  5077. "parameters": [
  5078. {
  5079. "type": "integer",
  5080. "description": "用户ID",
  5081. "name": "userid",
  5082. "in": "query",
  5083. "required": true
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "现货品种id",
  5088. "name": "deliverygoodsid",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "现货商品id",
  5094. "name": "wrstandardid",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "套保商品id",
  5100. "name": "middlegoodsid",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "操作类型 1:新增 2:修改",
  5106. "name": "operatetype",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5112. "name": "paramchangetype",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5118. "name": "ftstatus",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "type": "array",
  5127. "items": {
  5128. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5129. }
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Ermcp3/QueryRootUserAccount": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "企业风险管理v3(app)"
  5153. ],
  5154. "summary": "查询顶级用户信息",
  5155. "parameters": [
  5156. {
  5157. "type": "integer",
  5158. "description": "用户ID",
  5159. "name": "userid",
  5160. "in": "query",
  5161. "required": true
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "type": "array",
  5169. "items": {
  5170. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5171. }
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/Ermcp3/QuerySCMiddleGoods": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. }
  5189. ],
  5190. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5191. "produces": [
  5192. "application/json"
  5193. ],
  5194. "tags": [
  5195. "企业风险管理v3(app)"
  5196. ],
  5197. "summary": "查询现货订单",
  5198. "parameters": [
  5199. {
  5200. "type": "integer",
  5201. "description": "用户ID(填登录用户的userid)",
  5202. "name": "userid",
  5203. "in": "query",
  5204. "required": true
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "买卖方向 0-买 1-卖",
  5209. "name": "buyorsell",
  5210. "in": "query",
  5211. "required": true
  5212. },
  5213. {
  5214. "type": "integer",
  5215. "description": "商品组id",
  5216. "name": "goodsgroupid",
  5217. "in": "query",
  5218. "required": true
  5219. },
  5220. {
  5221. "type": "integer",
  5222. "description": "业务类型 1:套保 2:套利",
  5223. "name": "biztype",
  5224. "in": "query"
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "现货编号(模糊匹配)",
  5229. "name": "contractno",
  5230. "in": "query"
  5231. },
  5232. {
  5233. "type": "string",
  5234. "description": "对手方(模糊匹配)",
  5235. "name": "customername",
  5236. "in": "query"
  5237. },
  5238. {
  5239. "type": "string",
  5240. "description": "现货商品名称(模糊匹配)",
  5241. "name": "wrstandardname",
  5242. "in": "query"
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QuerySpotContract": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询现货合同",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户id(当指定contractid, userid可不填)",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "用户类型 2-机构 7-企业成员",
  5289. "name": "usertype",
  5290. "in": "query"
  5291. },
  5292. {
  5293. "type": "integer",
  5294. "description": "合同类型 1-采购, -1-销售",
  5295. "name": "contracttype",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "string",
  5300. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5301. "name": "querytype",
  5302. "in": "query"
  5303. },
  5304. {
  5305. "type": "string",
  5306. "description": "合同ID(SpotContractId)",
  5307. "name": "contractid",
  5308. "in": "query"
  5309. },
  5310. {
  5311. "type": "string",
  5312. "description": "合同编号(模糊匹配)",
  5313. "name": "contractno",
  5314. "in": "query"
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "商品名称(模糊匹配)",
  5319. "name": "wrstandardname",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "string",
  5324. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5325. "name": "status",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "是否只查今日的合同 1-查今日合同",
  5331. "name": "istoday",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "type": "array",
  5340. "items": {
  5341. "$ref": "#/definitions/models.Ermcp3Contract"
  5342. }
  5343. }
  5344. },
  5345. "500": {
  5346. "description": "Internal Server Error",
  5347. "schema": {
  5348. "$ref": "#/definitions/app.Response"
  5349. }
  5350. }
  5351. }
  5352. }
  5353. },
  5354. "/Ermcp3/QuerySpotContractBS": {
  5355. "get": {
  5356. "security": [
  5357. {
  5358. "ApiKeyAuth": []
  5359. }
  5360. ],
  5361. "produces": [
  5362. "application/json"
  5363. ],
  5364. "tags": [
  5365. "企业风险管理v3(app)"
  5366. ],
  5367. "summary": "查询合同(采购/销售)",
  5368. "parameters": [
  5369. {
  5370. "type": "integer",
  5371. "description": "用户id",
  5372. "name": "userid",
  5373. "in": "query",
  5374. "required": true
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "用户类型 2-机构 7-企业成员",
  5379. "name": "usertype",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "合同类型 1-采购, -1-销售",
  5385. "name": "contracttype",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5392. "name": "querytype",
  5393. "in": "query"
  5394. },
  5395. {
  5396. "type": "string",
  5397. "description": "合同ID(SpotContractId)",
  5398. "name": "contractid",
  5399. "in": "query"
  5400. },
  5401. {
  5402. "type": "string",
  5403. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5404. "name": "status",
  5405. "in": "query"
  5406. },
  5407. {
  5408. "type": "integer",
  5409. "description": "是否只查今日的合同 1-查今日合同",
  5410. "name": "istoday",
  5411. "in": "query"
  5412. }
  5413. ],
  5414. "responses": {
  5415. "200": {
  5416. "description": "OK",
  5417. "schema": {
  5418. "type": "array",
  5419. "items": {
  5420. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5421. }
  5422. }
  5423. },
  5424. "500": {
  5425. "description": "Internal Server Error",
  5426. "schema": {
  5427. "$ref": "#/definitions/app.Response"
  5428. }
  5429. }
  5430. }
  5431. }
  5432. },
  5433. "/Ermcp3/QuerySpotGoodsPrice": {
  5434. "get": {
  5435. "security": [
  5436. {
  5437. "ApiKeyAuth": []
  5438. }
  5439. ],
  5440. "produces": [
  5441. "application/json"
  5442. ],
  5443. "tags": [
  5444. "企业风险管理v3(app)"
  5445. ],
  5446. "summary": "查询现货市价(现货市价)",
  5447. "parameters": [
  5448. {
  5449. "type": "integer",
  5450. "description": "用户ID",
  5451. "name": "userid",
  5452. "in": "query",
  5453. "required": true
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "type": "array",
  5461. "items": {
  5462. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5463. }
  5464. }
  5465. },
  5466. "500": {
  5467. "description": "Internal Server Error",
  5468. "schema": {
  5469. "$ref": "#/definitions/app.Response"
  5470. }
  5471. }
  5472. }
  5473. }
  5474. },
  5475. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5476. "get": {
  5477. "security": [
  5478. {
  5479. "ApiKeyAuth": []
  5480. }
  5481. ],
  5482. "produces": [
  5483. "application/json"
  5484. ],
  5485. "tags": [
  5486. "企业风险管理v3(app)"
  5487. ],
  5488. "summary": "查询现货市价详情(现货市价/详情)",
  5489. "parameters": [
  5490. {
  5491. "type": "integer",
  5492. "description": "用户ID",
  5493. "name": "userid",
  5494. "in": "query",
  5495. "required": true
  5496. },
  5497. {
  5498. "type": "integer",
  5499. "description": "现货商品ID",
  5500. "name": "deliverygoodsid",
  5501. "in": "query",
  5502. "required": true
  5503. },
  5504. {
  5505. "type": "integer",
  5506. "description": "品牌ID",
  5507. "name": "brandid",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "integer",
  5512. "description": "品类ID",
  5513. "name": "wrstandardid",
  5514. "in": "query"
  5515. }
  5516. ],
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "type": "array",
  5522. "items": {
  5523. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5524. }
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/app.Response"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/Ermcp3/QuerySubTaaccount": {
  5537. "get": {
  5538. "security": [
  5539. {
  5540. "ApiKeyAuth": []
  5541. }
  5542. ],
  5543. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5544. "produces": [
  5545. "application/json"
  5546. ],
  5547. "tags": [
  5548. "企业风险管理v3(app)"
  5549. ],
  5550. "summary": "查询期货子账户",
  5551. "parameters": [
  5552. {
  5553. "type": "integer",
  5554. "description": "母账号id",
  5555. "name": "parentaccountid",
  5556. "in": "query"
  5557. },
  5558. {
  5559. "type": "string",
  5560. "description": "母账号代码",
  5561. "name": "parentaccountcode",
  5562. "in": "query"
  5563. }
  5564. ],
  5565. "responses": {
  5566. "200": {
  5567. "description": "OK",
  5568. "schema": {
  5569. "type": "array",
  5570. "items": {
  5571. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5572. }
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "企业风险管理v8"
  5596. ],
  5597. "summary": "现货成交明细查询",
  5598. "parameters": [
  5599. {
  5600. "type": "integer",
  5601. "description": "套期项目ID",
  5602. "name": "hedgeditemid",
  5603. "in": "query",
  5604. "required": true
  5605. }
  5606. ],
  5607. "responses": {
  5608. "200": {
  5609. "description": "OK",
  5610. "schema": {
  5611. "type": "array",
  5612. "items": {
  5613. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5614. }
  5615. }
  5616. },
  5617. "500": {
  5618. "description": "Internal Server Error",
  5619. "schema": {
  5620. "$ref": "#/definitions/app.Response"
  5621. }
  5622. }
  5623. }
  5624. }
  5625. },
  5626. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5627. "get": {
  5628. "security": [
  5629. {
  5630. "ApiKeyAuth": []
  5631. }
  5632. ],
  5633. "produces": [
  5634. "application/json"
  5635. ],
  5636. "tags": [
  5637. "企业风险管理v8"
  5638. ],
  5639. "summary": "套期计划明细查询",
  5640. "parameters": [
  5641. {
  5642. "type": "integer",
  5643. "description": "套期项目ID",
  5644. "name": "hedgeditemid",
  5645. "in": "query",
  5646. "required": true
  5647. }
  5648. ],
  5649. "responses": {
  5650. "200": {
  5651. "description": "OK",
  5652. "schema": {
  5653. "type": "array",
  5654. "items": {
  5655. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5656. }
  5657. }
  5658. },
  5659. "500": {
  5660. "description": "Internal Server Error",
  5661. "schema": {
  5662. "$ref": "#/definitions/app.Response"
  5663. }
  5664. }
  5665. }
  5666. }
  5667. },
  5668. "/Ermcp8/QueryERMCPJRLinkPos": {
  5669. "get": {
  5670. "security": [
  5671. {
  5672. "ApiKeyAuth": []
  5673. }
  5674. ],
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "企业风险管理v8"
  5680. ],
  5681. "summary": "期货持仓明细查询",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "套期项目ID",
  5686. "name": "hedgeditemid",
  5687. "in": "query",
  5688. "required": true
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "type": "array",
  5696. "items": {
  5697. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5698. }
  5699. }
  5700. },
  5701. "500": {
  5702. "description": "Internal Server Error",
  5703. "schema": {
  5704. "$ref": "#/definitions/app.Response"
  5705. }
  5706. }
  5707. }
  5708. }
  5709. },
  5710. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  5711. "get": {
  5712. "security": [
  5713. {
  5714. "ApiKeyAuth": []
  5715. }
  5716. ],
  5717. "produces": [
  5718. "application/json"
  5719. ],
  5720. "tags": [
  5721. "企业风险管理v8"
  5722. ],
  5723. "summary": "期货成交单明细查询",
  5724. "parameters": [
  5725. {
  5726. "type": "integer",
  5727. "description": "套期项目ID",
  5728. "name": "hedgeditemid",
  5729. "in": "query",
  5730. "required": true
  5731. }
  5732. ],
  5733. "responses": {
  5734. "200": {
  5735. "description": "OK",
  5736. "schema": {
  5737. "type": "array",
  5738. "items": {
  5739. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  5740. }
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/Ermcp8/QueryErmcp2HedgedItem": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  5760. "produces": [
  5761. "application/json"
  5762. ],
  5763. "tags": [
  5764. "企业风险管理v8"
  5765. ],
  5766. "summary": "查询被套期项目信息",
  5767. "parameters": [
  5768. {
  5769. "type": "string",
  5770. "description": "用户ID",
  5771. "name": "userid",
  5772. "in": "query",
  5773. "required": true
  5774. },
  5775. {
  5776. "type": "integer",
  5777. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  5778. "name": "hedgedtype",
  5779. "in": "query"
  5780. },
  5781. {
  5782. "type": "integer",
  5783. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5784. "name": "hedgeditemstatus",
  5785. "in": "query"
  5786. }
  5787. ],
  5788. "responses": {
  5789. "200": {
  5790. "description": "OK",
  5791. "schema": {
  5792. "type": "array",
  5793. "items": {
  5794. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  5795. }
  5796. }
  5797. },
  5798. "500": {
  5799. "description": "Internal Server Error",
  5800. "schema": {
  5801. "$ref": "#/definitions/app.Response"
  5802. }
  5803. }
  5804. }
  5805. }
  5806. },
  5807. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  5808. "get": {
  5809. "security": [
  5810. {
  5811. "ApiKeyAuth": []
  5812. }
  5813. ],
  5814. "produces": [
  5815. "application/json"
  5816. ],
  5817. "tags": [
  5818. "企业风险管理v8"
  5819. ],
  5820. "summary": "内部未关联成交单查询",
  5821. "parameters": [
  5822. {
  5823. "type": "integer",
  5824. "description": "用户编号",
  5825. "name": "userid",
  5826. "in": "query",
  5827. "required": true
  5828. },
  5829. {
  5830. "type": "string",
  5831. "description": "起始日期(格式yyyymmdd)",
  5832. "name": "begindate",
  5833. "in": "query"
  5834. },
  5835. {
  5836. "type": "string",
  5837. "description": "终止日期(格式yyyymmdd)",
  5838. "name": "enddate",
  5839. "in": "query"
  5840. },
  5841. {
  5842. "type": "string",
  5843. "description": "合约代码",
  5844. "name": "goodscode",
  5845. "in": "query"
  5846. },
  5847. {
  5848. "type": "string",
  5849. "description": "合约名称",
  5850. "name": "goodsname",
  5851. "in": "query"
  5852. },
  5853. {
  5854. "type": "integer",
  5855. "description": "成交单号",
  5856. "name": "tradeid",
  5857. "in": "query"
  5858. },
  5859. {
  5860. "type": "integer",
  5861. "description": "方向 - 0:买 1:卖",
  5862. "name": "buyorsell",
  5863. "in": "query"
  5864. },
  5865. {
  5866. "type": "string",
  5867. "description": "套期主体",
  5868. "name": "accountname",
  5869. "in": "query"
  5870. }
  5871. ],
  5872. "responses": {
  5873. "200": {
  5874. "description": "OK",
  5875. "schema": {
  5876. "type": "array",
  5877. "items": {
  5878. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  5879. }
  5880. }
  5881. },
  5882. "500": {
  5883. "description": "Internal Server Error",
  5884. "schema": {
  5885. "$ref": "#/definitions/app.Response"
  5886. }
  5887. }
  5888. }
  5889. }
  5890. },
  5891. "/Erms2/QueryArbitrageStrategy": {
  5892. "get": {
  5893. "security": [
  5894. {
  5895. "ApiKeyAuth": []
  5896. }
  5897. ],
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "风险管理"
  5903. ],
  5904. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5905. "parameters": [
  5906. {
  5907. "type": "integer",
  5908. "description": "账户ID",
  5909. "name": "userid",
  5910. "in": "query",
  5911. "required": true
  5912. },
  5913. {
  5914. "type": "string",
  5915. "description": "商品组ID(品种ID)",
  5916. "name": "goodsgroupid",
  5917. "in": "query"
  5918. }
  5919. ],
  5920. "responses": {
  5921. "200": {
  5922. "description": "OK",
  5923. "schema": {
  5924. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5925. }
  5926. },
  5927. "500": {
  5928. "description": "Internal Server Error",
  5929. "schema": {
  5930. "$ref": "#/definitions/app.Response"
  5931. }
  5932. }
  5933. }
  5934. }
  5935. },
  5936. "/Erms2/QueryInnerTradeDetail": {
  5937. "get": {
  5938. "security": [
  5939. {
  5940. "ApiKeyAuth": []
  5941. }
  5942. ],
  5943. "produces": [
  5944. "application/json"
  5945. ],
  5946. "tags": [
  5947. "风险管理"
  5948. ],
  5949. "summary": "查询内部成交单信息",
  5950. "parameters": [
  5951. {
  5952. "type": "integer",
  5953. "description": "资金账户",
  5954. "name": "accountid",
  5955. "in": "query",
  5956. "required": true
  5957. }
  5958. ],
  5959. "responses": {
  5960. "200": {
  5961. "description": "OK",
  5962. "schema": {
  5963. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5964. }
  5965. },
  5966. "500": {
  5967. "description": "Internal Server Error",
  5968. "schema": {
  5969. "$ref": "#/definitions/app.Response"
  5970. }
  5971. }
  5972. }
  5973. }
  5974. },
  5975. "/Erms2/QuerySpotContract": {
  5976. "get": {
  5977. "security": [
  5978. {
  5979. "ApiKeyAuth": []
  5980. }
  5981. ],
  5982. "produces": [
  5983. "application/json"
  5984. ],
  5985. "tags": [
  5986. "风险管理"
  5987. ],
  5988. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5989. "parameters": [
  5990. {
  5991. "type": "integer",
  5992. "description": "策略申请ID",
  5993. "name": "asapplyid",
  5994. "in": "query",
  5995. "required": true
  5996. },
  5997. {
  5998. "type": "integer",
  5999. "description": "现货合同ID",
  6000. "name": "spotcontractid",
  6001. "in": "query"
  6002. }
  6003. ],
  6004. "responses": {
  6005. "200": {
  6006. "description": "OK",
  6007. "schema": {
  6008. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6009. }
  6010. },
  6011. "500": {
  6012. "description": "Internal Server Error",
  6013. "schema": {
  6014. "$ref": "#/definitions/app.Response"
  6015. }
  6016. }
  6017. }
  6018. }
  6019. },
  6020. "/Erms3/AddErms2ASApply": {
  6021. "post": {
  6022. "security": [
  6023. {
  6024. "ApiKeyAuth": []
  6025. }
  6026. ],
  6027. "produces": [
  6028. "application/json"
  6029. ],
  6030. "tags": [
  6031. "风险管理v3"
  6032. ],
  6033. "summary": "新增期现套利业务申请",
  6034. "parameters": [
  6035. {
  6036. "description": "申请参数",
  6037. "name": "jsonBody",
  6038. "in": "body",
  6039. "required": true,
  6040. "schema": {
  6041. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6042. }
  6043. }
  6044. ],
  6045. "responses": {
  6046. "200": {
  6047. "description": "OK",
  6048. "schema": {
  6049. "$ref": "#/definitions/app.Response"
  6050. }
  6051. },
  6052. "500": {
  6053. "description": "Internal Server Error",
  6054. "schema": {
  6055. "$ref": "#/definitions/app.Response"
  6056. }
  6057. }
  6058. }
  6059. }
  6060. },
  6061. "/Erms3/AddErms2SpotTradeApply": {
  6062. "post": {
  6063. "security": [
  6064. {
  6065. "ApiKeyAuth": []
  6066. }
  6067. ],
  6068. "produces": [
  6069. "application/json"
  6070. ],
  6071. "tags": [
  6072. "风险管理v3"
  6073. ],
  6074. "summary": "新增现货贸易业务申请",
  6075. "parameters": [
  6076. {
  6077. "description": "申请参数",
  6078. "name": "jsonBody",
  6079. "in": "body",
  6080. "required": true,
  6081. "schema": {
  6082. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6083. }
  6084. }
  6085. ],
  6086. "responses": {
  6087. "200": {
  6088. "description": "OK",
  6089. "schema": {
  6090. "$ref": "#/definitions/app.Response"
  6091. }
  6092. },
  6093. "500": {
  6094. "description": "Internal Server Error",
  6095. "schema": {
  6096. "$ref": "#/definitions/app.Response"
  6097. }
  6098. }
  6099. }
  6100. }
  6101. },
  6102. "/Erms3/AddSpotContractApply": {
  6103. "post": {
  6104. "security": [
  6105. {
  6106. "ApiKeyAuth": []
  6107. }
  6108. ],
  6109. "produces": [
  6110. "application/json"
  6111. ],
  6112. "tags": [
  6113. "风险管理v3"
  6114. ],
  6115. "summary": "新增现货合同申请",
  6116. "parameters": [
  6117. {
  6118. "description": "申请参数",
  6119. "name": "jsonBody",
  6120. "in": "body",
  6121. "required": true,
  6122. "schema": {
  6123. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6124. }
  6125. }
  6126. ],
  6127. "responses": {
  6128. "200": {
  6129. "description": "OK",
  6130. "schema": {
  6131. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  6132. }
  6133. },
  6134. "500": {
  6135. "description": "Internal Server Error",
  6136. "schema": {
  6137. "$ref": "#/definitions/app.Response"
  6138. }
  6139. }
  6140. }
  6141. }
  6142. },
  6143. "/Erms3/AddUserInfoApply": {
  6144. "post": {
  6145. "security": [
  6146. {
  6147. "ApiKeyAuth": []
  6148. }
  6149. ],
  6150. "produces": [
  6151. "application/json"
  6152. ],
  6153. "tags": [
  6154. "风险管理v3"
  6155. ],
  6156. "summary": "新增客户申请",
  6157. "parameters": [
  6158. {
  6159. "description": "用户信息",
  6160. "name": "jsonBody",
  6161. "in": "body",
  6162. "required": true,
  6163. "schema": {
  6164. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  6165. }
  6166. }
  6167. ],
  6168. "responses": {
  6169. "200": {
  6170. "description": "OK",
  6171. "schema": {
  6172. "$ref": "#/definitions/app.Response"
  6173. }
  6174. },
  6175. "500": {
  6176. "description": "Internal Server Error",
  6177. "schema": {
  6178. "$ref": "#/definitions/app.Response"
  6179. }
  6180. }
  6181. }
  6182. }
  6183. },
  6184. "/Erms3/DeleteUserInfoApply": {
  6185. "get": {
  6186. "security": [
  6187. {
  6188. "ApiKeyAuth": []
  6189. }
  6190. ],
  6191. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  6192. "produces": [
  6193. "application/json"
  6194. ],
  6195. "tags": [
  6196. "风险管理v3"
  6197. ],
  6198. "summary": "删除客户申请",
  6199. "parameters": [
  6200. {
  6201. "type": "integer",
  6202. "description": "用户ID",
  6203. "name": "userID",
  6204. "in": "query",
  6205. "required": true
  6206. }
  6207. ],
  6208. "responses": {
  6209. "200": {
  6210. "description": "OK",
  6211. "schema": {
  6212. "$ref": "#/definitions/app.Response"
  6213. }
  6214. },
  6215. "500": {
  6216. "description": "Internal Server Error",
  6217. "schema": {
  6218. "$ref": "#/definitions/app.Response"
  6219. }
  6220. }
  6221. }
  6222. }
  6223. },
  6224. "/Erms3/ModifyUserInfoApply": {
  6225. "post": {
  6226. "security": [
  6227. {
  6228. "ApiKeyAuth": []
  6229. }
  6230. ],
  6231. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  6232. "produces": [
  6233. "application/json"
  6234. ],
  6235. "tags": [
  6236. "风险管理v3"
  6237. ],
  6238. "summary": "修改客户申请",
  6239. "parameters": [
  6240. {
  6241. "description": "用户信息",
  6242. "name": "jsonBody",
  6243. "in": "body",
  6244. "required": true,
  6245. "schema": {
  6246. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  6247. }
  6248. }
  6249. ],
  6250. "responses": {
  6251. "200": {
  6252. "description": "OK",
  6253. "schema": {
  6254. "$ref": "#/definitions/app.Response"
  6255. }
  6256. },
  6257. "500": {
  6258. "description": "Internal Server Error",
  6259. "schema": {
  6260. "$ref": "#/definitions/app.Response"
  6261. }
  6262. }
  6263. }
  6264. }
  6265. },
  6266. "/Erms3/QueryBusinessInfo": {
  6267. "get": {
  6268. "security": [
  6269. {
  6270. "ApiKeyAuth": []
  6271. }
  6272. ],
  6273. "produces": [
  6274. "application/json"
  6275. ],
  6276. "tags": [
  6277. "风险管理v3"
  6278. ],
  6279. "summary": "查询业务表单数据",
  6280. "parameters": [
  6281. {
  6282. "type": "string",
  6283. "description": "资金账号ID列表,用逗号分隔",
  6284. "name": "accountids",
  6285. "in": "query",
  6286. "required": true
  6287. },
  6288. {
  6289. "type": "integer",
  6290. "description": "状态,0为未结束 1为已结束",
  6291. "name": "status",
  6292. "in": "query",
  6293. "required": true
  6294. }
  6295. ],
  6296. "responses": {
  6297. "200": {
  6298. "description": "OK",
  6299. "schema": {
  6300. "type": "array",
  6301. "items": {
  6302. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6303. }
  6304. }
  6305. },
  6306. "500": {
  6307. "description": "Internal Server Error",
  6308. "schema": {
  6309. "$ref": "#/definitions/app.Response"
  6310. }
  6311. }
  6312. }
  6313. }
  6314. },
  6315. "/Erms3/QueryPendingAuditContract": {
  6316. "get": {
  6317. "security": [
  6318. {
  6319. "ApiKeyAuth": []
  6320. }
  6321. ],
  6322. "produces": [
  6323. "application/json"
  6324. ],
  6325. "tags": [
  6326. "风险管理v3"
  6327. ],
  6328. "summary": "查询待审核合同",
  6329. "parameters": [
  6330. {
  6331. "type": "string",
  6332. "description": "资金账号ID列表,逗号隔开",
  6333. "name": "accountids",
  6334. "in": "query",
  6335. "required": true
  6336. },
  6337. {
  6338. "type": "integer",
  6339. "description": "合同类型 1-采购 -1-销售",
  6340. "name": "contracttype",
  6341. "in": "query",
  6342. "required": true
  6343. },
  6344. {
  6345. "type": "integer",
  6346. "description": "合同模式 1-普通 2-回购",
  6347. "name": "contractmode",
  6348. "in": "query",
  6349. "required": true
  6350. }
  6351. ],
  6352. "responses": {
  6353. "200": {
  6354. "description": "OK",
  6355. "schema": {
  6356. "type": "array",
  6357. "items": {
  6358. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6359. }
  6360. }
  6361. },
  6362. "500": {
  6363. "description": "Internal Server Error",
  6364. "schema": {
  6365. "$ref": "#/definitions/app.Response"
  6366. }
  6367. }
  6368. }
  6369. }
  6370. },
  6371. "/Erms3/QueryPendingBusiness": {
  6372. "get": {
  6373. "security": [
  6374. {
  6375. "ApiKeyAuth": []
  6376. }
  6377. ],
  6378. "produces": [
  6379. "application/json"
  6380. ],
  6381. "tags": [
  6382. "风险管理v3"
  6383. ],
  6384. "summary": "查询待审核基差贸易业务",
  6385. "parameters": [
  6386. {
  6387. "type": "string",
  6388. "description": "资金账号ID列表,逗号隔开",
  6389. "name": "accountids",
  6390. "in": "query",
  6391. "required": true
  6392. }
  6393. ],
  6394. "responses": {
  6395. "200": {
  6396. "description": "OK",
  6397. "schema": {
  6398. "type": "array",
  6399. "items": {
  6400. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6401. }
  6402. }
  6403. },
  6404. "500": {
  6405. "description": "Internal Server Error",
  6406. "schema": {
  6407. "$ref": "#/definitions/app.Response"
  6408. }
  6409. }
  6410. }
  6411. }
  6412. },
  6413. "/Erms3/QuerySpotContractAppleForm": {
  6414. "get": {
  6415. "security": [
  6416. {
  6417. "ApiKeyAuth": []
  6418. }
  6419. ],
  6420. "produces": [
  6421. "application/json"
  6422. ],
  6423. "tags": [
  6424. "风险管理v3"
  6425. ],
  6426. "summary": "查询合同申请表单数据",
  6427. "parameters": [
  6428. {
  6429. "type": "integer",
  6430. "description": "登录账号",
  6431. "name": "loginID",
  6432. "in": "query",
  6433. "required": true
  6434. }
  6435. ],
  6436. "responses": {
  6437. "200": {
  6438. "description": "OK",
  6439. "schema": {
  6440. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6441. }
  6442. },
  6443. "500": {
  6444. "description": "Internal Server Error",
  6445. "schema": {
  6446. "$ref": "#/definitions/app.Response"
  6447. }
  6448. }
  6449. }
  6450. }
  6451. },
  6452. "/Erms3/QuerySpotContractDetail": {
  6453. "get": {
  6454. "security": [
  6455. {
  6456. "ApiKeyAuth": []
  6457. }
  6458. ],
  6459. "produces": [
  6460. "application/json"
  6461. ],
  6462. "tags": [
  6463. "风险管理v3"
  6464. ],
  6465. "summary": "查询合同详细信息",
  6466. "parameters": [
  6467. {
  6468. "type": "string",
  6469. "description": "资金账号ID列表,用逗号分隔",
  6470. "name": "accountids",
  6471. "in": "query",
  6472. "required": true
  6473. },
  6474. {
  6475. "type": "integer",
  6476. "description": "合同类型,1为采购合同 -1为销售合同",
  6477. "name": "contracttype",
  6478. "in": "query",
  6479. "required": true
  6480. },
  6481. {
  6482. "type": "integer",
  6483. "description": "合同模式,1为普通合同 2为回购销售合同",
  6484. "name": "contractmode",
  6485. "in": "query",
  6486. "required": true
  6487. },
  6488. {
  6489. "type": "integer",
  6490. "description": "状态,0为履约中 1为已完成",
  6491. "name": "status",
  6492. "in": "query",
  6493. "required": true
  6494. }
  6495. ],
  6496. "responses": {
  6497. "200": {
  6498. "description": "OK",
  6499. "schema": {
  6500. "type": "array",
  6501. "items": {
  6502. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6503. }
  6504. }
  6505. },
  6506. "500": {
  6507. "description": "Internal Server Error",
  6508. "schema": {
  6509. "$ref": "#/definitions/app.Response"
  6510. }
  6511. }
  6512. }
  6513. }
  6514. },
  6515. "/Erms3/QueryUserInfoApplies": {
  6516. "get": {
  6517. "security": [
  6518. {
  6519. "ApiKeyAuth": []
  6520. }
  6521. ],
  6522. "produces": [
  6523. "application/json"
  6524. ],
  6525. "tags": [
  6526. "风险管理v3"
  6527. ],
  6528. "summary": "客户申请信息查询",
  6529. "parameters": [
  6530. {
  6531. "type": "integer",
  6532. "description": "页码",
  6533. "name": "page",
  6534. "in": "query"
  6535. },
  6536. {
  6537. "type": "integer",
  6538. "description": "每页条数",
  6539. "name": "pagesize",
  6540. "in": "query"
  6541. },
  6542. {
  6543. "type": "string",
  6544. "description": "客户名称,支持模糊查询",
  6545. "name": "userName",
  6546. "in": "query"
  6547. }
  6548. ],
  6549. "responses": {
  6550. "200": {
  6551. "description": "OK",
  6552. "schema": {
  6553. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6554. }
  6555. },
  6556. "500": {
  6557. "description": "Internal Server Error",
  6558. "schema": {
  6559. "$ref": "#/definitions/app.Response"
  6560. }
  6561. }
  6562. }
  6563. }
  6564. },
  6565. "/Erms3/QueryUserInfos": {
  6566. "get": {
  6567. "security": [
  6568. {
  6569. "ApiKeyAuth": []
  6570. }
  6571. ],
  6572. "produces": [
  6573. "application/json"
  6574. ],
  6575. "tags": [
  6576. "风险管理v3"
  6577. ],
  6578. "summary": "客户信息查询",
  6579. "parameters": [
  6580. {
  6581. "type": "integer",
  6582. "description": "页码",
  6583. "name": "page",
  6584. "in": "query"
  6585. },
  6586. {
  6587. "type": "integer",
  6588. "description": "每页条数",
  6589. "name": "pagesize",
  6590. "in": "query"
  6591. },
  6592. {
  6593. "type": "string",
  6594. "description": "客户名称,支持模糊查询",
  6595. "name": "userName",
  6596. "in": "query"
  6597. }
  6598. ],
  6599. "responses": {
  6600. "200": {
  6601. "description": "OK",
  6602. "schema": {
  6603. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6604. }
  6605. },
  6606. "500": {
  6607. "description": "Internal Server Error",
  6608. "schema": {
  6609. "$ref": "#/definitions/app.Response"
  6610. }
  6611. }
  6612. }
  6613. }
  6614. },
  6615. "/HSBY/GetHsbyMyCount": {
  6616. "get": {
  6617. "security": [
  6618. {
  6619. "ApiKeyAuth": []
  6620. }
  6621. ],
  6622. "description": "说明: 不包括已完成的数量。",
  6623. "produces": [
  6624. "application/json"
  6625. ],
  6626. "tags": [
  6627. "定制【海商报业】"
  6628. ],
  6629. "summary": "获取我的订单与包裹数量",
  6630. "parameters": [
  6631. {
  6632. "type": "string",
  6633. "description": "资金账户列表,格式:1,2,3",
  6634. "name": "accountIDs",
  6635. "in": "query",
  6636. "required": true
  6637. }
  6638. ],
  6639. "responses": {
  6640. "200": {
  6641. "description": "OK",
  6642. "schema": {
  6643. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6644. }
  6645. },
  6646. "500": {
  6647. "description": "Internal Server Error",
  6648. "schema": {
  6649. "$ref": "#/definitions/app.Response"
  6650. }
  6651. }
  6652. }
  6653. }
  6654. },
  6655. "/HSBY/QueryClientFixedADConfigs": {
  6656. "get": {
  6657. "security": [
  6658. {
  6659. "ApiKeyAuth": []
  6660. }
  6661. ],
  6662. "produces": [
  6663. "application/json"
  6664. ],
  6665. "tags": [
  6666. "定制【海商报业】"
  6667. ],
  6668. "summary": "获取终端固定广告配置",
  6669. "responses": {
  6670. "200": {
  6671. "description": "OK",
  6672. "schema": {
  6673. "$ref": "#/definitions/models.Clientfixedadconfig"
  6674. }
  6675. },
  6676. "500": {
  6677. "description": "Internal Server Error",
  6678. "schema": {
  6679. "$ref": "#/definitions/app.Response"
  6680. }
  6681. }
  6682. }
  6683. }
  6684. },
  6685. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6686. "get": {
  6687. "security": [
  6688. {
  6689. "ApiKeyAuth": []
  6690. }
  6691. ],
  6692. "produces": [
  6693. "application/json"
  6694. ],
  6695. "tags": [
  6696. "定制【海商报业】"
  6697. ],
  6698. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6699. "parameters": [
  6700. {
  6701. "type": "integer",
  6702. "description": "页码",
  6703. "name": "page",
  6704. "in": "query"
  6705. },
  6706. {
  6707. "type": "integer",
  6708. "description": "每页条数",
  6709. "name": "pagesize",
  6710. "in": "query"
  6711. },
  6712. {
  6713. "type": "string",
  6714. "description": "资金账户列表,格式:1,2,3",
  6715. "name": "accountIDs",
  6716. "in": "query",
  6717. "required": true
  6718. }
  6719. ],
  6720. "responses": {
  6721. "200": {
  6722. "description": "OK",
  6723. "schema": {
  6724. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6725. }
  6726. },
  6727. "500": {
  6728. "description": "Internal Server Error",
  6729. "schema": {
  6730. "$ref": "#/definitions/app.Response"
  6731. }
  6732. }
  6733. }
  6734. }
  6735. },
  6736. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6737. "get": {
  6738. "security": [
  6739. {
  6740. "ApiKeyAuth": []
  6741. }
  6742. ],
  6743. "description": "说明:查询结果已按委托价格和委托时间排序",
  6744. "produces": [
  6745. "application/json"
  6746. ],
  6747. "tags": [
  6748. "定制【海商报业】"
  6749. ],
  6750. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6751. "parameters": [
  6752. {
  6753. "type": "integer",
  6754. "description": "商品ID",
  6755. "name": "goodsID",
  6756. "in": "query",
  6757. "required": true
  6758. },
  6759. {
  6760. "type": "string",
  6761. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6762. "name": "accountIDs",
  6763. "in": "query"
  6764. },
  6765. {
  6766. "type": "integer",
  6767. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6768. "name": "buyOrSell",
  6769. "in": "query"
  6770. },
  6771. {
  6772. "type": "number",
  6773. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6774. "name": "price",
  6775. "in": "query"
  6776. },
  6777. {
  6778. "type": "integer",
  6779. "description": "档位,不传则默认为3档",
  6780. "name": "speed",
  6781. "in": "query"
  6782. }
  6783. ],
  6784. "responses": {
  6785. "200": {
  6786. "description": "OK",
  6787. "schema": {
  6788. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6789. }
  6790. },
  6791. "500": {
  6792. "description": "Internal Server Error",
  6793. "schema": {
  6794. "$ref": "#/definitions/app.Response"
  6795. }
  6796. }
  6797. }
  6798. }
  6799. },
  6800. "/HSBY/QueryHsbyListingGoodsDetail": {
  6801. "get": {
  6802. "security": [
  6803. {
  6804. "ApiKeyAuth": []
  6805. }
  6806. ],
  6807. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6808. "produces": [
  6809. "application/json"
  6810. ],
  6811. "tags": [
  6812. "定制【海商报业】"
  6813. ],
  6814. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6815. "parameters": [
  6816. {
  6817. "type": "integer",
  6818. "description": "商品ID",
  6819. "name": "goodsID",
  6820. "in": "query",
  6821. "required": true
  6822. },
  6823. {
  6824. "type": "integer",
  6825. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6826. "name": "accountID",
  6827. "in": "query"
  6828. }
  6829. ],
  6830. "responses": {
  6831. "200": {
  6832. "description": "OK",
  6833. "schema": {
  6834. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6835. }
  6836. },
  6837. "500": {
  6838. "description": "Internal Server Error",
  6839. "schema": {
  6840. "$ref": "#/definitions/app.Response"
  6841. }
  6842. }
  6843. }
  6844. }
  6845. },
  6846. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6847. "get": {
  6848. "security": [
  6849. {
  6850. "ApiKeyAuth": []
  6851. }
  6852. ],
  6853. "produces": [
  6854. "application/json"
  6855. ],
  6856. "tags": [
  6857. "定制【海商报业】"
  6858. ],
  6859. "summary": "查询三级市场(商城)商品信息详情",
  6860. "parameters": [
  6861. {
  6862. "type": "integer",
  6863. "description": "委托单号",
  6864. "name": "orderID",
  6865. "in": "query",
  6866. "required": true
  6867. },
  6868. {
  6869. "type": "integer",
  6870. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6871. "name": "accountID",
  6872. "in": "query"
  6873. }
  6874. ],
  6875. "responses": {
  6876. "200": {
  6877. "description": "OK",
  6878. "schema": {
  6879. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6880. }
  6881. },
  6882. "500": {
  6883. "description": "Internal Server Error",
  6884. "schema": {
  6885. "$ref": "#/definitions/app.Response"
  6886. }
  6887. }
  6888. }
  6889. }
  6890. },
  6891. "/HSBY/QueryHsbyMarketGoodses": {
  6892. "get": {
  6893. "security": [
  6894. {
  6895. "ApiKeyAuth": []
  6896. }
  6897. ],
  6898. "produces": [
  6899. "application/json"
  6900. ],
  6901. "tags": [
  6902. "定制【海商报业】"
  6903. ],
  6904. "summary": "查询特卖商品列表(三级商城)",
  6905. "parameters": [
  6906. {
  6907. "type": "integer",
  6908. "description": "页码",
  6909. "name": "page",
  6910. "in": "query"
  6911. },
  6912. {
  6913. "type": "integer",
  6914. "description": "每页条数",
  6915. "name": "pagesize",
  6916. "in": "query"
  6917. },
  6918. {
  6919. "type": "string",
  6920. "description": "市场ID列表,格式:1,2,3",
  6921. "name": "marketIDs",
  6922. "in": "query",
  6923. "required": true
  6924. },
  6925. {
  6926. "type": "integer",
  6927. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6928. "name": "accountID",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "类别ID",
  6935. "name": "categoryID",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "string",
  6940. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6941. "name": "goodsIDs",
  6942. "in": "query"
  6943. },
  6944. {
  6945. "type": "integer",
  6946. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6947. "name": "couponTypeID",
  6948. "in": "query"
  6949. }
  6950. ],
  6951. "responses": {
  6952. "200": {
  6953. "description": "OK",
  6954. "schema": {
  6955. "$ref": "#/definitions/models.HsbyMarketGoods"
  6956. }
  6957. },
  6958. "500": {
  6959. "description": "Internal Server Error",
  6960. "schema": {
  6961. "$ref": "#/definitions/app.Response"
  6962. }
  6963. }
  6964. }
  6965. }
  6966. },
  6967. "/HSBY/QueryHsbyMarkets": {
  6968. "get": {
  6969. "security": [
  6970. {
  6971. "ApiKeyAuth": []
  6972. }
  6973. ],
  6974. "produces": [
  6975. "application/json"
  6976. ],
  6977. "tags": [
  6978. "定制【海商报业】"
  6979. ],
  6980. "summary": "查询海商报业相关市场信息",
  6981. "responses": {
  6982. "200": {
  6983. "description": "OK",
  6984. "schema": {
  6985. "$ref": "#/definitions/models.HsbyMarketInfo"
  6986. }
  6987. },
  6988. "500": {
  6989. "description": "Internal Server Error",
  6990. "schema": {
  6991. "$ref": "#/definitions/app.Response"
  6992. }
  6993. }
  6994. }
  6995. }
  6996. },
  6997. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6998. "get": {
  6999. "security": [
  7000. {
  7001. "ApiKeyAuth": []
  7002. }
  7003. ],
  7004. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  7005. "produces": [
  7006. "application/json"
  7007. ],
  7008. "tags": [
  7009. "定制【海商报业】"
  7010. ],
  7011. "summary": "查询“我的订单”信息",
  7012. "parameters": [
  7013. {
  7014. "type": "string",
  7015. "description": "资金账户列表,格式:1,2,3",
  7016. "name": "accountIDs",
  7017. "in": "query",
  7018. "required": true
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/HSBY/QueryHsbyMyGoods": {
  7038. "get": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  7045. "produces": [
  7046. "application/json"
  7047. ],
  7048. "tags": [
  7049. "定制【海商报业】"
  7050. ],
  7051. "summary": "查询“我的商品”信息",
  7052. "parameters": [
  7053. {
  7054. "type": "string",
  7055. "description": "资金账户列表,格式:1,2,3",
  7056. "name": "accountIDs",
  7057. "in": "query",
  7058. "required": true
  7059. }
  7060. ],
  7061. "responses": {
  7062. "200": {
  7063. "description": "OK",
  7064. "schema": {
  7065. "$ref": "#/definitions/models.HsbyMyGoods"
  7066. }
  7067. },
  7068. "500": {
  7069. "description": "Internal Server Error",
  7070. "schema": {
  7071. "$ref": "#/definitions/app.Response"
  7072. }
  7073. }
  7074. }
  7075. }
  7076. },
  7077. "/HSBY/QueryHsbyMyPackages": {
  7078. "get": {
  7079. "security": [
  7080. {
  7081. "ApiKeyAuth": []
  7082. }
  7083. ],
  7084. "produces": [
  7085. "application/json"
  7086. ],
  7087. "tags": [
  7088. "定制【海商报业】"
  7089. ],
  7090. "summary": "查询我的包裹信息",
  7091. "parameters": [
  7092. {
  7093. "type": "string",
  7094. "description": "资金账户列表,格式:1,2,3",
  7095. "name": "accountIDs",
  7096. "in": "query",
  7097. "required": true
  7098. },
  7099. {
  7100. "type": "integer",
  7101. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7102. "name": "takeOrderStatus",
  7103. "in": "query"
  7104. }
  7105. ],
  7106. "responses": {
  7107. "200": {
  7108. "description": "OK",
  7109. "schema": {
  7110. "$ref": "#/definitions/models.HsbyMyPackage"
  7111. }
  7112. },
  7113. "500": {
  7114. "description": "Internal Server Error",
  7115. "schema": {
  7116. "$ref": "#/definitions/app.Response"
  7117. }
  7118. }
  7119. }
  7120. }
  7121. },
  7122. "/HSBY/QueryHsbyPreGoodsDetail": {
  7123. "get": {
  7124. "security": [
  7125. {
  7126. "ApiKeyAuth": []
  7127. }
  7128. ],
  7129. "produces": [
  7130. "application/json"
  7131. ],
  7132. "tags": [
  7133. "定制【海商报业】"
  7134. ],
  7135. "summary": "查询一级市场(预售)商品信息详情",
  7136. "parameters": [
  7137. {
  7138. "type": "integer",
  7139. "description": "商品ID",
  7140. "name": "goodsID",
  7141. "in": "query",
  7142. "required": true
  7143. },
  7144. {
  7145. "type": "integer",
  7146. "description": "资金账户,主要用于获取预售商品购买上限",
  7147. "name": "accountID",
  7148. "in": "query"
  7149. }
  7150. ],
  7151. "responses": {
  7152. "200": {
  7153. "description": "OK",
  7154. "schema": {
  7155. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  7156. }
  7157. },
  7158. "500": {
  7159. "description": "Internal Server Error",
  7160. "schema": {
  7161. "$ref": "#/definitions/app.Response"
  7162. }
  7163. }
  7164. }
  7165. }
  7166. },
  7167. "/HSBY/QueryHsbyPreGoodses": {
  7168. "get": {
  7169. "security": [
  7170. {
  7171. "ApiKeyAuth": []
  7172. }
  7173. ],
  7174. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  7175. "produces": [
  7176. "application/json"
  7177. ],
  7178. "tags": [
  7179. "定制【海商报业】"
  7180. ],
  7181. "summary": "查询新品上市商品列表(一级市场预售)",
  7182. "parameters": [
  7183. {
  7184. "type": "integer",
  7185. "description": "页码",
  7186. "name": "page",
  7187. "in": "query"
  7188. },
  7189. {
  7190. "type": "integer",
  7191. "description": "每页条数",
  7192. "name": "pagesize",
  7193. "in": "query"
  7194. },
  7195. {
  7196. "type": "string",
  7197. "description": "市场ID列表,格式:1,2,3",
  7198. "name": "marketIDs",
  7199. "in": "query",
  7200. "required": true
  7201. },
  7202. {
  7203. "type": "integer",
  7204. "description": "目的地(省)ID",
  7205. "name": "descProvinceID",
  7206. "in": "query"
  7207. },
  7208. {
  7209. "type": "integer",
  7210. "description": "目的地(市)ID",
  7211. "name": "descCityID",
  7212. "in": "query"
  7213. }
  7214. ],
  7215. "responses": {
  7216. "200": {
  7217. "description": "OK",
  7218. "schema": {
  7219. "$ref": "#/definitions/models.HsbyPreGoods"
  7220. }
  7221. },
  7222. "500": {
  7223. "description": "Internal Server Error",
  7224. "schema": {
  7225. "$ref": "#/definitions/app.Response"
  7226. }
  7227. }
  7228. }
  7229. }
  7230. },
  7231. "/HSBY/QueryHsbySellMyDetails": {
  7232. "get": {
  7233. "security": [
  7234. {
  7235. "ApiKeyAuth": []
  7236. }
  7237. ],
  7238. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  7239. "produces": [
  7240. "application/json"
  7241. ],
  7242. "tags": [
  7243. "定制【海商报业】"
  7244. ],
  7245. "summary": "查询\"我的闲置\"单据信息",
  7246. "parameters": [
  7247. {
  7248. "type": "integer",
  7249. "description": "页码",
  7250. "name": "page",
  7251. "in": "query"
  7252. },
  7253. {
  7254. "type": "integer",
  7255. "description": "每页条数",
  7256. "name": "pagesize",
  7257. "in": "query"
  7258. },
  7259. {
  7260. "type": "string",
  7261. "description": "资金账户列表,格式:1,2,3",
  7262. "name": "accountIDs",
  7263. "in": "query",
  7264. "required": true
  7265. },
  7266. {
  7267. "type": "integer",
  7268. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7269. "name": "orderType",
  7270. "in": "query"
  7271. }
  7272. ],
  7273. "responses": {
  7274. "200": {
  7275. "description": "OK",
  7276. "schema": {
  7277. "$ref": "#/definitions/models.HsbySellMyDetail"
  7278. }
  7279. },
  7280. "500": {
  7281. "description": "Internal Server Error",
  7282. "schema": {
  7283. "$ref": "#/definitions/app.Response"
  7284. }
  7285. }
  7286. }
  7287. }
  7288. },
  7289. "/HSBY/QueryHsbyTopGoodses": {
  7290. "get": {
  7291. "security": [
  7292. {
  7293. "ApiKeyAuth": []
  7294. }
  7295. ],
  7296. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7297. "produces": [
  7298. "application/json"
  7299. ],
  7300. "tags": [
  7301. "定制【海商报业】"
  7302. ],
  7303. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7304. "parameters": [
  7305. {
  7306. "type": "integer",
  7307. "description": "页码",
  7308. "name": "page",
  7309. "in": "query"
  7310. },
  7311. {
  7312. "type": "integer",
  7313. "description": "每页条数",
  7314. "name": "pagesize",
  7315. "in": "query"
  7316. },
  7317. {
  7318. "type": "string",
  7319. "description": "市场ID列表,格式:1,2,3",
  7320. "name": "marketIDs",
  7321. "in": "query",
  7322. "required": true
  7323. },
  7324. {
  7325. "type": "integer",
  7326. "description": "目的地(省)ID",
  7327. "name": "descProvinceID",
  7328. "in": "query"
  7329. },
  7330. {
  7331. "type": "integer",
  7332. "description": "目的地(市)ID",
  7333. "name": "descCityID",
  7334. "in": "query"
  7335. }
  7336. ],
  7337. "responses": {
  7338. "200": {
  7339. "description": "OK",
  7340. "schema": {
  7341. "$ref": "#/definitions/models.HsbyTopGoods"
  7342. }
  7343. },
  7344. "500": {
  7345. "description": "Internal Server Error",
  7346. "schema": {
  7347. "$ref": "#/definitions/app.Response"
  7348. }
  7349. }
  7350. }
  7351. }
  7352. },
  7353. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7354. "get": {
  7355. "security": [
  7356. {
  7357. "ApiKeyAuth": []
  7358. }
  7359. ],
  7360. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7361. "produces": [
  7362. "application/json"
  7363. ],
  7364. "tags": [
  7365. "定制【海商报业】"
  7366. ],
  7367. "summary": "查询游客三级市场(商城)商品信息详情",
  7368. "parameters": [
  7369. {
  7370. "type": "integer",
  7371. "description": "商品ID",
  7372. "name": "goodsID",
  7373. "in": "query",
  7374. "required": true
  7375. }
  7376. ],
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7382. }
  7383. },
  7384. "500": {
  7385. "description": "Internal Server Error",
  7386. "schema": {
  7387. "$ref": "#/definitions/app.Response"
  7388. }
  7389. }
  7390. }
  7391. }
  7392. },
  7393. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7394. "get": {
  7395. "security": [
  7396. {
  7397. "ApiKeyAuth": []
  7398. }
  7399. ],
  7400. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7401. "produces": [
  7402. "application/json"
  7403. ],
  7404. "tags": [
  7405. "定制【海商报业】"
  7406. ],
  7407. "summary": "查询游客特卖商品列表(三级商城)",
  7408. "parameters": [
  7409. {
  7410. "type": "integer",
  7411. "description": "页码",
  7412. "name": "page",
  7413. "in": "query"
  7414. },
  7415. {
  7416. "type": "integer",
  7417. "description": "每页条数",
  7418. "name": "pagesize",
  7419. "in": "query"
  7420. },
  7421. {
  7422. "type": "string",
  7423. "description": "市场ID列表,格式:1,2,3",
  7424. "name": "marketIDs",
  7425. "in": "query",
  7426. "required": true
  7427. },
  7428. {
  7429. "type": "integer",
  7430. "description": "类别ID",
  7431. "name": "categoryID",
  7432. "in": "query"
  7433. },
  7434. {
  7435. "type": "string",
  7436. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7437. "name": "goodsIDs",
  7438. "in": "query"
  7439. }
  7440. ],
  7441. "responses": {
  7442. "200": {
  7443. "description": "OK",
  7444. "schema": {
  7445. "$ref": "#/definitions/models.HsbyMarketGoods"
  7446. }
  7447. },
  7448. "500": {
  7449. "description": "Internal Server Error",
  7450. "schema": {
  7451. "$ref": "#/definitions/app.Response"
  7452. }
  7453. }
  7454. }
  7455. }
  7456. },
  7457. "/HSBY/QueryMyCollectionOrders": {
  7458. "get": {
  7459. "security": [
  7460. {
  7461. "ApiKeyAuth": []
  7462. }
  7463. ],
  7464. "produces": [
  7465. "application/json"
  7466. ],
  7467. "tags": [
  7468. "定制【海商报业】"
  7469. ],
  7470. "summary": "我的闲置中收款信息查询",
  7471. "parameters": [
  7472. {
  7473. "type": "integer",
  7474. "description": "页码",
  7475. "name": "page",
  7476. "in": "query"
  7477. },
  7478. {
  7479. "type": "integer",
  7480. "description": "每页条数",
  7481. "name": "pagesize",
  7482. "in": "query"
  7483. },
  7484. {
  7485. "type": "string",
  7486. "description": "资金账户,格式:1,2,3",
  7487. "name": "accountIDs",
  7488. "in": "query",
  7489. "required": true
  7490. }
  7491. ],
  7492. "responses": {
  7493. "200": {
  7494. "description": "OK",
  7495. "schema": {
  7496. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7497. }
  7498. },
  7499. "500": {
  7500. "description": "Internal Server Error",
  7501. "schema": {
  7502. "$ref": "#/definitions/app.Response"
  7503. }
  7504. }
  7505. }
  7506. }
  7507. },
  7508. "/HSBY/QueryMyCouponHolds": {
  7509. "get": {
  7510. "security": [
  7511. {
  7512. "ApiKeyAuth": []
  7513. }
  7514. ],
  7515. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7516. "produces": [
  7517. "application/json"
  7518. ],
  7519. "tags": [
  7520. "定制【海商报业】"
  7521. ],
  7522. "summary": "我的优惠卷持仓查询",
  7523. "parameters": [
  7524. {
  7525. "type": "string",
  7526. "description": "资金账户列表,格式:1,2,3",
  7527. "name": "accountIDs",
  7528. "in": "query",
  7529. "required": true
  7530. },
  7531. {
  7532. "type": "string",
  7533. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7534. "name": "holdStatus",
  7535. "in": "query"
  7536. }
  7537. ],
  7538. "responses": {
  7539. "200": {
  7540. "description": "OK",
  7541. "schema": {
  7542. "$ref": "#/definitions/models.MyCouponHold"
  7543. }
  7544. },
  7545. "500": {
  7546. "description": "Internal Server Error",
  7547. "schema": {
  7548. "$ref": "#/definitions/app.Response"
  7549. }
  7550. }
  7551. }
  7552. }
  7553. },
  7554. "/HSBY/QueryMyCoupons": {
  7555. "get": {
  7556. "security": [
  7557. {
  7558. "ApiKeyAuth": []
  7559. }
  7560. ],
  7561. "produces": [
  7562. "application/json"
  7563. ],
  7564. "tags": [
  7565. "定制【海商报业】"
  7566. ],
  7567. "summary": "我的优惠卷查询",
  7568. "parameters": [
  7569. {
  7570. "type": "string",
  7571. "description": "资金账户列表,格式:1,2,3",
  7572. "name": "accountIDs",
  7573. "in": "query",
  7574. "required": true
  7575. },
  7576. {
  7577. "type": "integer",
  7578. "description": "商品ID, 一般与sellUserID配套传入",
  7579. "name": "goodsID",
  7580. "in": "query"
  7581. },
  7582. {
  7583. "type": "integer",
  7584. "description": "卖方UserID",
  7585. "name": "sellUserID",
  7586. "in": "query"
  7587. }
  7588. ],
  7589. "responses": {
  7590. "200": {
  7591. "description": "OK",
  7592. "schema": {
  7593. "$ref": "#/definitions/models.MyCoupon"
  7594. }
  7595. },
  7596. "500": {
  7597. "description": "Internal Server Error",
  7598. "schema": {
  7599. "$ref": "#/definitions/app.Response"
  7600. }
  7601. }
  7602. }
  7603. }
  7604. },
  7605. "/HSBY/QueryMyPayOrders": {
  7606. "get": {
  7607. "security": [
  7608. {
  7609. "ApiKeyAuth": []
  7610. }
  7611. ],
  7612. "produces": [
  7613. "application/json"
  7614. ],
  7615. "tags": [
  7616. "定制【海商报业】"
  7617. ],
  7618. "summary": "获取我的订单中待付款信息",
  7619. "parameters": [
  7620. {
  7621. "type": "integer",
  7622. "description": "页码",
  7623. "name": "page",
  7624. "in": "query"
  7625. },
  7626. {
  7627. "type": "integer",
  7628. "description": "每页条数",
  7629. "name": "pagesize",
  7630. "in": "query"
  7631. },
  7632. {
  7633. "type": "string",
  7634. "description": "资金账户列表,格式:1,2,3",
  7635. "name": "accountIDs",
  7636. "in": "query",
  7637. "required": true
  7638. },
  7639. {
  7640. "type": "integer",
  7641. "description": "买方委托单号",
  7642. "name": "buyOrderID",
  7643. "in": "query"
  7644. },
  7645. {
  7646. "type": "integer",
  7647. "description": "卖方委托单号",
  7648. "name": "sellOrderID",
  7649. "in": "query"
  7650. }
  7651. ],
  7652. "responses": {
  7653. "200": {
  7654. "description": "OK",
  7655. "schema": {
  7656. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7657. }
  7658. },
  7659. "500": {
  7660. "description": "Internal Server Error",
  7661. "schema": {
  7662. "$ref": "#/definitions/app.Response"
  7663. }
  7664. }
  7665. }
  7666. }
  7667. },
  7668. "/HSBY/QueryMyUsedCoupon": {
  7669. "get": {
  7670. "security": [
  7671. {
  7672. "ApiKeyAuth": []
  7673. }
  7674. ],
  7675. "produces": [
  7676. "application/json"
  7677. ],
  7678. "tags": [
  7679. "定制【海商报业】"
  7680. ],
  7681. "summary": "已使用优惠卷查询",
  7682. "parameters": [
  7683. {
  7684. "type": "string",
  7685. "description": "资金账户列表,格式:1,2,3",
  7686. "name": "accountIDs",
  7687. "in": "query",
  7688. "required": true
  7689. }
  7690. ],
  7691. "responses": {
  7692. "200": {
  7693. "description": "OK",
  7694. "schema": {
  7695. "$ref": "#/definitions/models.MyUsedCoupon"
  7696. }
  7697. },
  7698. "500": {
  7699. "description": "Internal Server Error",
  7700. "schema": {
  7701. "$ref": "#/definitions/app.Response"
  7702. }
  7703. }
  7704. }
  7705. }
  7706. },
  7707. "/HSBY/QueryProvincesAndCities": {
  7708. "get": {
  7709. "security": [
  7710. {
  7711. "ApiKeyAuth": []
  7712. }
  7713. ],
  7714. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7715. "produces": [
  7716. "application/json"
  7717. ],
  7718. "tags": [
  7719. "定制【海商报业】"
  7720. ],
  7721. "summary": "查询省市信息(不包括区)",
  7722. "parameters": [
  7723. {
  7724. "type": "integer",
  7725. "description": "省ID",
  7726. "name": "provinceID",
  7727. "in": "query"
  7728. }
  7729. ],
  7730. "responses": {
  7731. "200": {
  7732. "description": "OK",
  7733. "schema": {
  7734. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/HSBY/SetHsbyMyPackagesStatus": {
  7747. "post": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. }
  7752. ],
  7753. "produces": [
  7754. "application/json"
  7755. ],
  7756. "tags": [
  7757. "定制【海商报业】"
  7758. ],
  7759. "summary": "设置我的包裹已收货状态",
  7760. "parameters": [
  7761. {
  7762. "type": "string",
  7763. "description": "提货单号",
  7764. "name": "takeOrderID",
  7765. "in": "query",
  7766. "required": true
  7767. },
  7768. {
  7769. "type": "integer",
  7770. "description": "资金账号",
  7771. "name": "accountID",
  7772. "in": "query",
  7773. "required": true
  7774. }
  7775. ],
  7776. "responses": {
  7777. "200": {
  7778. "description": "OK",
  7779. "schema": {
  7780. "$ref": "#/definitions/app.Response"
  7781. }
  7782. },
  7783. "500": {
  7784. "description": "Internal Server Error",
  7785. "schema": {
  7786. "$ref": "#/definitions/app.Response"
  7787. }
  7788. }
  7789. }
  7790. }
  7791. },
  7792. "/Market/GetAllExExchanges": {
  7793. "get": {
  7794. "security": [
  7795. {
  7796. "ApiKeyAuth": []
  7797. }
  7798. ],
  7799. "produces": [
  7800. "application/json"
  7801. ],
  7802. "tags": [
  7803. "通用市场"
  7804. ],
  7805. "summary": "获取所有外部交易所信息",
  7806. "responses": {
  7807. "200": {
  7808. "description": "OK",
  7809. "schema": {
  7810. "$ref": "#/definitions/models.Goods"
  7811. }
  7812. },
  7813. "500": {
  7814. "description": "Internal Server Error",
  7815. "schema": {
  7816. "$ref": "#/definitions/app.Response"
  7817. }
  7818. }
  7819. }
  7820. }
  7821. },
  7822. "/Market/QueryGoodsesByLoginID": {
  7823. "get": {
  7824. "security": [
  7825. {
  7826. "ApiKeyAuth": []
  7827. }
  7828. ],
  7829. "produces": [
  7830. "application/json"
  7831. ],
  7832. "tags": [
  7833. "通用市场"
  7834. ],
  7835. "summary": "获取登录账号有权限的商品信息",
  7836. "parameters": [
  7837. {
  7838. "type": "integer",
  7839. "description": "登录账号",
  7840. "name": "loginID",
  7841. "in": "query",
  7842. "required": true
  7843. },
  7844. {
  7845. "type": "string",
  7846. "description": "市场ID列表,格式:1,2,3",
  7847. "name": "marketIDs",
  7848. "in": "query"
  7849. }
  7850. ],
  7851. "responses": {
  7852. "200": {
  7853. "description": "OK",
  7854. "schema": {
  7855. "$ref": "#/definitions/models.Goods"
  7856. }
  7857. },
  7858. "500": {
  7859. "description": "Internal Server Error",
  7860. "schema": {
  7861. "$ref": "#/definitions/app.Response"
  7862. }
  7863. }
  7864. }
  7865. }
  7866. },
  7867. "/Market/QueryMarketRun": {
  7868. "get": {
  7869. "security": [
  7870. {
  7871. "ApiKeyAuth": []
  7872. }
  7873. ],
  7874. "produces": [
  7875. "application/json"
  7876. ],
  7877. "tags": [
  7878. "通用市场"
  7879. ],
  7880. "summary": "查询市场运行信息",
  7881. "parameters": [
  7882. {
  7883. "type": "integer",
  7884. "description": "市场ID,不传返回所有",
  7885. "name": "marketID",
  7886. "in": "query"
  7887. }
  7888. ],
  7889. "responses": {
  7890. "200": {
  7891. "description": "OK",
  7892. "schema": {
  7893. "$ref": "#/definitions/models.Marketrun"
  7894. }
  7895. },
  7896. "500": {
  7897. "description": "Internal Server Error",
  7898. "schema": {
  7899. "$ref": "#/definitions/app.Response"
  7900. }
  7901. }
  7902. }
  7903. }
  7904. },
  7905. "/Market/QueryMarketsByLoginID": {
  7906. "get": {
  7907. "security": [
  7908. {
  7909. "ApiKeyAuth": []
  7910. }
  7911. ],
  7912. "produces": [
  7913. "application/json"
  7914. ],
  7915. "tags": [
  7916. "通用市场"
  7917. ],
  7918. "summary": "获取登录账号有权限的市场信息",
  7919. "parameters": [
  7920. {
  7921. "type": "integer",
  7922. "description": "登录账号",
  7923. "name": "loginID",
  7924. "in": "query",
  7925. "required": true
  7926. }
  7927. ],
  7928. "responses": {
  7929. "200": {
  7930. "description": "OK",
  7931. "schema": {
  7932. "$ref": "#/definitions/models.Market"
  7933. }
  7934. },
  7935. "500": {
  7936. "description": "Internal Server Error",
  7937. "schema": {
  7938. "$ref": "#/definitions/app.Response"
  7939. }
  7940. }
  7941. }
  7942. }
  7943. },
  7944. "/Order/QueryHisTradeDetail": {
  7945. "get": {
  7946. "security": [
  7947. {
  7948. "ApiKeyAuth": []
  7949. }
  7950. ],
  7951. "produces": [
  7952. "application/json"
  7953. ],
  7954. "tags": [
  7955. "通用单据"
  7956. ],
  7957. "summary": "历史成交单查询(合约市场)",
  7958. "parameters": [
  7959. {
  7960. "type": "string",
  7961. "description": "资金账户 - 格式:1,2,3",
  7962. "name": "accountID",
  7963. "in": "query",
  7964. "required": true
  7965. },
  7966. {
  7967. "type": "integer",
  7968. "description": "成交单号",
  7969. "name": "tradeID",
  7970. "in": "query"
  7971. },
  7972. {
  7973. "type": "integer",
  7974. "description": "委托单号",
  7975. "name": "orderID",
  7976. "in": "query"
  7977. },
  7978. {
  7979. "type": "integer",
  7980. "description": "商品ID",
  7981. "name": "goodsID",
  7982. "in": "query"
  7983. },
  7984. {
  7985. "type": "string",
  7986. "description": "交易模式 - 格式:1,2,3",
  7987. "name": "tradeMode",
  7988. "in": "query"
  7989. },
  7990. {
  7991. "type": "integer",
  7992. "description": "委托单据类型",
  7993. "name": "buildType",
  7994. "in": "query"
  7995. },
  7996. {
  7997. "type": "string",
  7998. "description": "成交类别 - 格式:1,2,3",
  7999. "name": "tradeType",
  8000. "in": "query"
  8001. },
  8002. {
  8003. "type": "string",
  8004. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8005. "name": "startDate",
  8006. "in": "query"
  8007. },
  8008. {
  8009. "type": "string",
  8010. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8011. "name": "endDate",
  8012. "in": "query"
  8013. }
  8014. ],
  8015. "responses": {
  8016. "200": {
  8017. "description": "OK",
  8018. "schema": {
  8019. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8020. }
  8021. },
  8022. "500": {
  8023. "description": "Internal Server Error",
  8024. "schema": {
  8025. "$ref": "#/definitions/app.Response"
  8026. }
  8027. }
  8028. }
  8029. }
  8030. },
  8031. "/Order/QueryHisTradeOrderDetail": {
  8032. "get": {
  8033. "security": [
  8034. {
  8035. "ApiKeyAuth": []
  8036. }
  8037. ],
  8038. "produces": [
  8039. "application/json"
  8040. ],
  8041. "tags": [
  8042. "通用单据"
  8043. ],
  8044. "summary": "历史委托单查询请求(合约市场)",
  8045. "parameters": [
  8046. {
  8047. "type": "string",
  8048. "description": "资金账户 - 格式:1,2,3",
  8049. "name": "accountID",
  8050. "in": "query",
  8051. "required": true
  8052. },
  8053. {
  8054. "type": "string",
  8055. "description": "交易模式 - 格式:1,2,3",
  8056. "name": "tradeMode",
  8057. "in": "query"
  8058. },
  8059. {
  8060. "type": "string",
  8061. "description": "委托状态 - 格式:1,2,3",
  8062. "name": "orderStatus",
  8063. "in": "query"
  8064. },
  8065. {
  8066. "type": "integer",
  8067. "description": "委托单号",
  8068. "name": "orderID",
  8069. "in": "query"
  8070. },
  8071. {
  8072. "type": "string",
  8073. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8074. "name": "startDate",
  8075. "in": "query"
  8076. },
  8077. {
  8078. "type": "string",
  8079. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8080. "name": "endDate",
  8081. "in": "query"
  8082. }
  8083. ],
  8084. "responses": {
  8085. "200": {
  8086. "description": "OK",
  8087. "schema": {
  8088. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8089. }
  8090. },
  8091. "500": {
  8092. "description": "Internal Server Error",
  8093. "schema": {
  8094. "$ref": "#/definitions/app.Response"
  8095. }
  8096. }
  8097. }
  8098. }
  8099. },
  8100. "/Order/QueryTradeDetail": {
  8101. "get": {
  8102. "security": [
  8103. {
  8104. "ApiKeyAuth": []
  8105. }
  8106. ],
  8107. "produces": [
  8108. "application/json"
  8109. ],
  8110. "tags": [
  8111. "通用单据"
  8112. ],
  8113. "summary": "成交单查询(合约市场)",
  8114. "parameters": [
  8115. {
  8116. "type": "string",
  8117. "description": "资金账户 - 格式:1,2,3",
  8118. "name": "accountID",
  8119. "in": "query",
  8120. "required": true
  8121. },
  8122. {
  8123. "type": "integer",
  8124. "description": "成交单号",
  8125. "name": "tradeID",
  8126. "in": "query"
  8127. },
  8128. {
  8129. "type": "integer",
  8130. "description": "委托单号",
  8131. "name": "orderID",
  8132. "in": "query"
  8133. },
  8134. {
  8135. "type": "string",
  8136. "description": "交易模式 - 格式:1,2,3",
  8137. "name": "tradeMode",
  8138. "in": "query"
  8139. },
  8140. {
  8141. "type": "integer",
  8142. "description": "委托单据类型",
  8143. "name": "buildType",
  8144. "in": "query"
  8145. },
  8146. {
  8147. "type": "string",
  8148. "description": "成交类别 - 格式:1,2,3",
  8149. "name": "tradeType",
  8150. "in": "query"
  8151. },
  8152. {
  8153. "type": "integer",
  8154. "description": "商品ID",
  8155. "name": "goodsID",
  8156. "in": "query"
  8157. }
  8158. ],
  8159. "responses": {
  8160. "200": {
  8161. "description": "OK",
  8162. "schema": {
  8163. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8164. }
  8165. },
  8166. "500": {
  8167. "description": "Internal Server Error",
  8168. "schema": {
  8169. "$ref": "#/definitions/app.Response"
  8170. }
  8171. }
  8172. }
  8173. }
  8174. },
  8175. "/Order/QueryTradeHolderDetail": {
  8176. "get": {
  8177. "security": [
  8178. {
  8179. "ApiKeyAuth": []
  8180. }
  8181. ],
  8182. "produces": [
  8183. "application/json"
  8184. ],
  8185. "tags": [
  8186. "通用单据"
  8187. ],
  8188. "summary": "查询持仓明细",
  8189. "parameters": [
  8190. {
  8191. "type": "integer",
  8192. "description": "用户id",
  8193. "name": "userid",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "资金账号, 格式 1,2,3",
  8199. "name": "accids",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "string",
  8204. "description": "交易模式, 格式 1,2,3",
  8205. "name": "trademodes",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "string",
  8210. "description": "市场id, 格式 1,2,3",
  8211. "name": "marketids",
  8212. "in": "query"
  8213. },
  8214. {
  8215. "type": "integer",
  8216. "description": "商品id",
  8217. "name": "goodsid",
  8218. "in": "query"
  8219. },
  8220. {
  8221. "type": "integer",
  8222. "description": "买卖方向 0-买 1-卖",
  8223. "name": "buyorsell",
  8224. "in": "query"
  8225. }
  8226. ],
  8227. "responses": {
  8228. "200": {
  8229. "description": "OK",
  8230. "schema": {
  8231. "type": "array",
  8232. "items": {
  8233. "$ref": "#/definitions/models.TradeHolderDetail"
  8234. }
  8235. }
  8236. },
  8237. "500": {
  8238. "description": "Internal Server Error",
  8239. "schema": {
  8240. "$ref": "#/definitions/app.Response"
  8241. }
  8242. }
  8243. }
  8244. }
  8245. },
  8246. "/Order/QueryTradeOrderDetail": {
  8247. "get": {
  8248. "security": [
  8249. {
  8250. "ApiKeyAuth": []
  8251. }
  8252. ],
  8253. "produces": [
  8254. "application/json"
  8255. ],
  8256. "tags": [
  8257. "通用单据"
  8258. ],
  8259. "summary": "委托单查询请求(合约市场)",
  8260. "parameters": [
  8261. {
  8262. "type": "string",
  8263. "description": "资金账户 - 格式:1,2,3",
  8264. "name": "accountID",
  8265. "in": "query",
  8266. "required": true
  8267. },
  8268. {
  8269. "type": "string",
  8270. "description": "交易模式 - 格式:1,2,3",
  8271. "name": "tradeMode",
  8272. "in": "query"
  8273. },
  8274. {
  8275. "type": "string",
  8276. "description": "委托状态 - 格式:1,2,3",
  8277. "name": "orderStatus",
  8278. "in": "query"
  8279. },
  8280. {
  8281. "type": "integer",
  8282. "description": "委托单号",
  8283. "name": "orderID",
  8284. "in": "query"
  8285. }
  8286. ],
  8287. "responses": {
  8288. "200": {
  8289. "description": "OK",
  8290. "schema": {
  8291. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8292. }
  8293. },
  8294. "500": {
  8295. "description": "Internal Server Error",
  8296. "schema": {
  8297. "$ref": "#/definitions/app.Response"
  8298. }
  8299. }
  8300. }
  8301. }
  8302. },
  8303. "/Order/QueryTradePosition": {
  8304. "get": {
  8305. "security": [
  8306. {
  8307. "ApiKeyAuth": []
  8308. }
  8309. ],
  8310. "produces": [
  8311. "application/json"
  8312. ],
  8313. "tags": [
  8314. "通用单据"
  8315. ],
  8316. "summary": "持仓汇总查询(合约市场)",
  8317. "parameters": [
  8318. {
  8319. "type": "string",
  8320. "description": "资金账户 - 格式:1,2,3",
  8321. "name": "accountID",
  8322. "in": "query",
  8323. "required": true
  8324. },
  8325. {
  8326. "type": "string",
  8327. "description": "交易模式 - 格式:1,2,3",
  8328. "name": "tradeMode",
  8329. "in": "query"
  8330. }
  8331. ],
  8332. "responses": {
  8333. "200": {
  8334. "description": "OK",
  8335. "schema": {
  8336. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8337. }
  8338. },
  8339. "500": {
  8340. "description": "Internal Server Error",
  8341. "schema": {
  8342. "$ref": "#/definitions/app.Response"
  8343. }
  8344. }
  8345. }
  8346. }
  8347. },
  8348. "/Qhj/QueryAccountInOutApply": {
  8349. "get": {
  8350. "security": [
  8351. {
  8352. "ApiKeyAuth": []
  8353. }
  8354. ],
  8355. "produces": [
  8356. "application/json"
  8357. ],
  8358. "tags": [
  8359. "大连千海金"
  8360. ],
  8361. "summary": "查询充值提现",
  8362. "parameters": [
  8363. {
  8364. "type": "integer",
  8365. "description": "用户ID",
  8366. "name": "userid",
  8367. "in": "query",
  8368. "required": true
  8369. },
  8370. {
  8371. "type": "string",
  8372. "description": "申请起始日期(格式yyyymmdd)",
  8373. "name": "begindate",
  8374. "in": "query"
  8375. },
  8376. {
  8377. "type": "string",
  8378. "description": "申请截止日期(格式yyyymmdd)",
  8379. "name": "enddate",
  8380. "in": "query"
  8381. },
  8382. {
  8383. "type": "string",
  8384. "description": "模糊搜索名称",
  8385. "name": "likename",
  8386. "in": "query"
  8387. }
  8388. ],
  8389. "responses": {
  8390. "200": {
  8391. "description": "OK",
  8392. "schema": {
  8393. "type": "array",
  8394. "items": {
  8395. "$ref": "#/definitions/models.QhjAccountOutInApply"
  8396. }
  8397. }
  8398. },
  8399. "500": {
  8400. "description": "Internal Server Error",
  8401. "schema": {
  8402. "$ref": "#/definitions/app.Response"
  8403. }
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "/Qhj/QueryAreaFinanceConfig": {
  8409. "get": {
  8410. "security": [
  8411. {
  8412. "ApiKeyAuth": []
  8413. }
  8414. ],
  8415. "produces": [
  8416. "application/json"
  8417. ],
  8418. "tags": [
  8419. "大连千海金"
  8420. ],
  8421. "summary": "查询企业配置表",
  8422. "parameters": [
  8423. {
  8424. "type": "integer",
  8425. "description": "机构用户ID 其他做市关系,都设置为 1",
  8426. "name": "userid",
  8427. "in": "query"
  8428. }
  8429. ],
  8430. "responses": {
  8431. "200": {
  8432. "description": "OK",
  8433. "schema": {
  8434. "type": "array",
  8435. "items": {
  8436. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8437. }
  8438. }
  8439. },
  8440. "500": {
  8441. "description": "Internal Server Error",
  8442. "schema": {
  8443. "$ref": "#/definitions/app.Response"
  8444. }
  8445. }
  8446. }
  8447. }
  8448. },
  8449. "/Qhj/QueryBankAccountSign": {
  8450. "get": {
  8451. "security": [
  8452. {
  8453. "ApiKeyAuth": []
  8454. }
  8455. ],
  8456. "produces": [
  8457. "application/json"
  8458. ],
  8459. "tags": [
  8460. "大连千海金"
  8461. ],
  8462. "summary": "查询签约银行信息(提现账户管理)",
  8463. "parameters": [
  8464. {
  8465. "type": "integer",
  8466. "description": "用户ID",
  8467. "name": "userid",
  8468. "in": "query",
  8469. "required": true
  8470. }
  8471. ],
  8472. "responses": {
  8473. "200": {
  8474. "description": "OK",
  8475. "schema": {
  8476. "type": "array",
  8477. "items": {
  8478. "$ref": "#/definitions/models.QhjBankAccountSign"
  8479. }
  8480. }
  8481. },
  8482. "500": {
  8483. "description": "Internal Server Error",
  8484. "schema": {
  8485. "$ref": "#/definitions/app.Response"
  8486. }
  8487. }
  8488. }
  8489. }
  8490. },
  8491. "/Qhj/QueryBankInfo": {
  8492. "get": {
  8493. "security": [
  8494. {
  8495. "ApiKeyAuth": []
  8496. }
  8497. ],
  8498. "produces": [
  8499. "application/json"
  8500. ],
  8501. "tags": [
  8502. "大连千海金"
  8503. ],
  8504. "summary": "查询开户行",
  8505. "responses": {
  8506. "200": {
  8507. "description": "OK",
  8508. "schema": {
  8509. "type": "array",
  8510. "items": {
  8511. "$ref": "#/definitions/models.QhjBankInfo"
  8512. }
  8513. }
  8514. },
  8515. "500": {
  8516. "description": "Internal Server Error",
  8517. "schema": {
  8518. "$ref": "#/definitions/app.Response"
  8519. }
  8520. }
  8521. }
  8522. }
  8523. },
  8524. "/Qhj/QueryBrokerApply": {
  8525. "get": {
  8526. "security": [
  8527. {
  8528. "ApiKeyAuth": []
  8529. }
  8530. ],
  8531. "produces": [
  8532. "application/json"
  8533. ],
  8534. "tags": [
  8535. "大连千海金"
  8536. ],
  8537. "summary": "查询经纪人申请",
  8538. "parameters": [
  8539. {
  8540. "type": "integer",
  8541. "description": "所属机构ID",
  8542. "name": "userid",
  8543. "in": "query"
  8544. },
  8545. {
  8546. "type": "string",
  8547. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8548. "name": "filterstatus",
  8549. "in": "query"
  8550. }
  8551. ],
  8552. "responses": {
  8553. "200": {
  8554. "description": "OK",
  8555. "schema": {
  8556. "type": "array",
  8557. "items": {
  8558. "$ref": "#/definitions/models.QhjBrokerApply"
  8559. }
  8560. }
  8561. },
  8562. "500": {
  8563. "description": "Internal Server Error",
  8564. "schema": {
  8565. "$ref": "#/definitions/app.Response"
  8566. }
  8567. }
  8568. }
  8569. }
  8570. },
  8571. "/Qhj/QueryBrokerApplyEx": {
  8572. "get": {
  8573. "security": [
  8574. {
  8575. "ApiKeyAuth": []
  8576. }
  8577. ],
  8578. "produces": [
  8579. "application/json"
  8580. ],
  8581. "tags": [
  8582. "大连千海金"
  8583. ],
  8584. "summary": "查询经纪人信息和申请记录",
  8585. "parameters": [
  8586. {
  8587. "type": "integer",
  8588. "description": "所属机构ID",
  8589. "name": "userid",
  8590. "in": "query"
  8591. }
  8592. ],
  8593. "responses": {
  8594. "200": {
  8595. "description": "OK",
  8596. "schema": {
  8597. "type": "array",
  8598. "items": {
  8599. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8600. }
  8601. }
  8602. },
  8603. "500": {
  8604. "description": "Internal Server Error",
  8605. "schema": {
  8606. "$ref": "#/definitions/app.Response"
  8607. }
  8608. }
  8609. }
  8610. }
  8611. },
  8612. "/Qhj/QueryBrokerRewardLog": {
  8613. "get": {
  8614. "security": [
  8615. {
  8616. "ApiKeyAuth": []
  8617. }
  8618. ],
  8619. "produces": [
  8620. "application/json"
  8621. ],
  8622. "tags": [
  8623. "大连千海金"
  8624. ],
  8625. "summary": "查询奖励流水(我的奖励)",
  8626. "parameters": [
  8627. {
  8628. "type": "integer",
  8629. "description": "用户ID",
  8630. "name": "userid",
  8631. "in": "query",
  8632. "required": true
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "开始交易日(yyyymmdd)",
  8637. "name": "begindate",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "结束交易日(yyyymmdd)",
  8643. "name": "enddate",
  8644. "in": "query"
  8645. }
  8646. ],
  8647. "responses": {
  8648. "200": {
  8649. "description": "OK",
  8650. "schema": {
  8651. "type": "array",
  8652. "items": {
  8653. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8654. }
  8655. }
  8656. },
  8657. "500": {
  8658. "description": "Internal Server Error",
  8659. "schema": {
  8660. "$ref": "#/definitions/app.Response"
  8661. }
  8662. }
  8663. }
  8664. }
  8665. },
  8666. "/Qhj/QueryContract": {
  8667. "get": {
  8668. "security": [
  8669. {
  8670. "ApiKeyAuth": []
  8671. }
  8672. ],
  8673. "produces": [
  8674. "application/json"
  8675. ],
  8676. "tags": [
  8677. "大连千海金"
  8678. ],
  8679. "summary": "查询融资明细(合同)",
  8680. "parameters": [
  8681. {
  8682. "type": "integer",
  8683. "description": "用户ID",
  8684. "name": "userid",
  8685. "in": "query"
  8686. },
  8687. {
  8688. "type": "integer",
  8689. "description": "scf合同id",
  8690. "name": "scfcontractid",
  8691. "in": "query"
  8692. }
  8693. ],
  8694. "responses": {
  8695. "200": {
  8696. "description": "OK",
  8697. "schema": {
  8698. "type": "array",
  8699. "items": {
  8700. "$ref": "#/definitions/models.QhjContract"
  8701. }
  8702. }
  8703. },
  8704. "500": {
  8705. "description": "Internal Server Error",
  8706. "schema": {
  8707. "$ref": "#/definitions/app.Response"
  8708. }
  8709. }
  8710. }
  8711. }
  8712. },
  8713. "/Qhj/QueryContractLog": {
  8714. "get": {
  8715. "security": [
  8716. {
  8717. "ApiKeyAuth": []
  8718. }
  8719. ],
  8720. "produces": [
  8721. "application/json"
  8722. ],
  8723. "tags": [
  8724. "大连千海金"
  8725. ],
  8726. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8727. "parameters": [
  8728. {
  8729. "type": "integer",
  8730. "description": "scf合同id",
  8731. "name": "scfcontractid",
  8732. "in": "query",
  8733. "required": true
  8734. },
  8735. {
  8736. "type": "string",
  8737. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8738. "name": "amounttype",
  8739. "in": "query"
  8740. }
  8741. ],
  8742. "responses": {
  8743. "200": {
  8744. "description": "OK",
  8745. "schema": {
  8746. "type": "array",
  8747. "items": {
  8748. "$ref": "#/definitions/models.QhjContractLog"
  8749. }
  8750. }
  8751. },
  8752. "500": {
  8753. "description": "Internal Server Error",
  8754. "schema": {
  8755. "$ref": "#/definitions/app.Response"
  8756. }
  8757. }
  8758. }
  8759. }
  8760. },
  8761. "/Qhj/QueryCusBankSignBank": {
  8762. "get": {
  8763. "security": [
  8764. {
  8765. "ApiKeyAuth": []
  8766. }
  8767. ],
  8768. "produces": [
  8769. "application/json"
  8770. ],
  8771. "tags": [
  8772. "大连千海金"
  8773. ],
  8774. "summary": "查询托管银行",
  8775. "responses": {
  8776. "200": {
  8777. "description": "OK",
  8778. "schema": {
  8779. "type": "array",
  8780. "items": {
  8781. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8782. }
  8783. }
  8784. },
  8785. "500": {
  8786. "description": "Internal Server Error",
  8787. "schema": {
  8788. "$ref": "#/definitions/app.Response"
  8789. }
  8790. }
  8791. }
  8792. }
  8793. },
  8794. "/Qhj/QueryCustomerInfo": {
  8795. "get": {
  8796. "security": [
  8797. {
  8798. "ApiKeyAuth": []
  8799. }
  8800. ],
  8801. "produces": [
  8802. "application/json"
  8803. ],
  8804. "tags": [
  8805. "大连千海金"
  8806. ],
  8807. "summary": "查询客户资料",
  8808. "parameters": [
  8809. {
  8810. "type": "integer",
  8811. "description": "用户ID",
  8812. "name": "userid",
  8813. "in": "query",
  8814. "required": true
  8815. },
  8816. {
  8817. "type": "integer",
  8818. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8819. "name": "querytype",
  8820. "in": "query",
  8821. "required": true
  8822. },
  8823. {
  8824. "type": "integer",
  8825. "description": "客户类型 1-个人 2-企业",
  8826. "name": "userinfotype",
  8827. "in": "query"
  8828. },
  8829. {
  8830. "type": "string",
  8831. "description": "客户名称(模糊匹配)",
  8832. "name": "customername",
  8833. "in": "query"
  8834. },
  8835. {
  8836. "type": "string",
  8837. "description": "昵称(模糊匹配)",
  8838. "name": "nickname",
  8839. "in": "query"
  8840. },
  8841. {
  8842. "type": "integer",
  8843. "description": "是否包含子级 1-包含",
  8844. "name": "includesub",
  8845. "in": "query"
  8846. }
  8847. ],
  8848. "responses": {
  8849. "200": {
  8850. "description": "OK",
  8851. "schema": {
  8852. "type": "array",
  8853. "items": {
  8854. "$ref": "#/definitions/models.QhjCustomer"
  8855. }
  8856. }
  8857. },
  8858. "500": {
  8859. "description": "Internal Server Error",
  8860. "schema": {
  8861. "$ref": "#/definitions/app.Response"
  8862. }
  8863. }
  8864. }
  8865. }
  8866. },
  8867. "/Qhj/QueryGoodsEx": {
  8868. "get": {
  8869. "security": [
  8870. {
  8871. "ApiKeyAuth": []
  8872. }
  8873. ],
  8874. "produces": [
  8875. "application/json"
  8876. ],
  8877. "tags": [
  8878. "大连千海金"
  8879. ],
  8880. "summary": "交易商品扩展表",
  8881. "parameters": [
  8882. {
  8883. "type": "integer",
  8884. "description": "商品id",
  8885. "name": "goodsid",
  8886. "in": "query"
  8887. }
  8888. ],
  8889. "responses": {
  8890. "200": {
  8891. "description": "OK",
  8892. "schema": {
  8893. "type": "array",
  8894. "items": {
  8895. "$ref": "#/definitions/models.Qhjgoodsex"
  8896. }
  8897. }
  8898. },
  8899. "500": {
  8900. "description": "Internal Server Error",
  8901. "schema": {
  8902. "$ref": "#/definitions/app.Response"
  8903. }
  8904. }
  8905. }
  8906. }
  8907. },
  8908. "/Qhj/QueryMyTeam": {
  8909. "get": {
  8910. "security": [
  8911. {
  8912. "ApiKeyAuth": []
  8913. }
  8914. ],
  8915. "produces": [
  8916. "application/json"
  8917. ],
  8918. "tags": [
  8919. "大连千海金"
  8920. ],
  8921. "summary": "查询我的团队",
  8922. "parameters": [
  8923. {
  8924. "type": "integer",
  8925. "description": "用户ID",
  8926. "name": "userid",
  8927. "in": "query",
  8928. "required": true
  8929. }
  8930. ],
  8931. "responses": {
  8932. "200": {
  8933. "description": "OK",
  8934. "schema": {
  8935. "type": "array",
  8936. "items": {
  8937. "$ref": "#/definitions/models.QhjMyTeamEx"
  8938. }
  8939. }
  8940. },
  8941. "500": {
  8942. "description": "Internal Server Error",
  8943. "schema": {
  8944. "$ref": "#/definitions/app.Response"
  8945. }
  8946. }
  8947. }
  8948. }
  8949. },
  8950. "/Qhj/QueryMyTeamOrder": {
  8951. "get": {
  8952. "security": [
  8953. {
  8954. "ApiKeyAuth": []
  8955. }
  8956. ],
  8957. "produces": [
  8958. "application/json"
  8959. ],
  8960. "tags": [
  8961. "大连千海金"
  8962. ],
  8963. "summary": "查询团队订单(我的团队/团队订单)",
  8964. "parameters": [
  8965. {
  8966. "type": "integer",
  8967. "description": "页码",
  8968. "name": "page",
  8969. "in": "query"
  8970. },
  8971. {
  8972. "type": "integer",
  8973. "description": "每页条数",
  8974. "name": "pagesize",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "integer",
  8979. "description": "用户ID",
  8980. "name": "userid",
  8981. "in": "query",
  8982. "required": true
  8983. },
  8984. {
  8985. "type": "integer",
  8986. "description": "交易模式",
  8987. "name": "trademode",
  8988. "in": "query"
  8989. },
  8990. {
  8991. "type": "string",
  8992. "description": "名称(模糊搜索账户)",
  8993. "name": "filtername",
  8994. "in": "query"
  8995. }
  8996. ],
  8997. "responses": {
  8998. "200": {
  8999. "description": "OK",
  9000. "schema": {
  9001. "type": "array",
  9002. "items": {
  9003. "$ref": "#/definitions/models.QhjTeamOrder"
  9004. }
  9005. }
  9006. },
  9007. "500": {
  9008. "description": "Internal Server Error",
  9009. "schema": {
  9010. "$ref": "#/definitions/app.Response"
  9011. }
  9012. }
  9013. }
  9014. }
  9015. },
  9016. "/Qhj/QueryParentAreaList": {
  9017. "get": {
  9018. "security": [
  9019. {
  9020. "ApiKeyAuth": []
  9021. }
  9022. ],
  9023. "produces": [
  9024. "application/json"
  9025. ],
  9026. "tags": [
  9027. "大连千海金"
  9028. ],
  9029. "summary": "查询所属机构列表",
  9030. "parameters": [
  9031. {
  9032. "type": "integer",
  9033. "description": "用户ID",
  9034. "name": "userid",
  9035. "in": "query",
  9036. "required": true
  9037. }
  9038. ],
  9039. "responses": {
  9040. "200": {
  9041. "description": "OK",
  9042. "schema": {
  9043. "type": "array",
  9044. "items": {
  9045. "$ref": "#/definitions/models.QhjParentAreaList"
  9046. }
  9047. }
  9048. },
  9049. "500": {
  9050. "description": "Internal Server Error",
  9051. "schema": {
  9052. "$ref": "#/definitions/app.Response"
  9053. }
  9054. }
  9055. }
  9056. }
  9057. },
  9058. "/Qhj/QueryPayOrder": {
  9059. "get": {
  9060. "security": [
  9061. {
  9062. "ApiKeyAuth": []
  9063. }
  9064. ],
  9065. "produces": [
  9066. "application/json"
  9067. ],
  9068. "tags": [
  9069. "大连千海金"
  9070. ],
  9071. "summary": "查询待付款单据",
  9072. "parameters": [
  9073. {
  9074. "type": "integer",
  9075. "description": "资金账号id",
  9076. "name": "accountid",
  9077. "in": "query",
  9078. "required": true
  9079. },
  9080. {
  9081. "type": "integer",
  9082. "description": "成交单号",
  9083. "name": "tradeid",
  9084. "in": "query"
  9085. },
  9086. {
  9087. "type": "string",
  9088. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9089. "name": "payflag",
  9090. "in": "query"
  9091. }
  9092. ],
  9093. "responses": {
  9094. "200": {
  9095. "description": "OK",
  9096. "schema": {
  9097. "type": "array",
  9098. "items": {
  9099. "$ref": "#/definitions/models.QhjPayOrder"
  9100. }
  9101. }
  9102. },
  9103. "500": {
  9104. "description": "Internal Server Error",
  9105. "schema": {
  9106. "$ref": "#/definitions/app.Response"
  9107. }
  9108. }
  9109. }
  9110. }
  9111. },
  9112. "/Qhj/QueryPickArea": {
  9113. "get": {
  9114. "security": [
  9115. {
  9116. "ApiKeyAuth": []
  9117. }
  9118. ],
  9119. "produces": [
  9120. "application/json"
  9121. ],
  9122. "tags": [
  9123. "大连千海金"
  9124. ],
  9125. "summary": "查询提货门店",
  9126. "parameters": [
  9127. {
  9128. "type": "integer",
  9129. "description": "用户ID",
  9130. "name": "userid",
  9131. "in": "query"
  9132. }
  9133. ],
  9134. "responses": {
  9135. "200": {
  9136. "description": "OK",
  9137. "schema": {
  9138. "type": "array",
  9139. "items": {
  9140. "$ref": "#/definitions/models.QhjPickArea"
  9141. }
  9142. }
  9143. },
  9144. "500": {
  9145. "description": "Internal Server Error",
  9146. "schema": {
  9147. "$ref": "#/definitions/app.Response"
  9148. }
  9149. }
  9150. }
  9151. }
  9152. },
  9153. "/Qhj/QueryPickGoods": {
  9154. "get": {
  9155. "security": [
  9156. {
  9157. "ApiKeyAuth": []
  9158. }
  9159. ],
  9160. "produces": [
  9161. "application/json"
  9162. ],
  9163. "tags": [
  9164. "大连千海金"
  9165. ],
  9166. "summary": "查询提货商品",
  9167. "parameters": [
  9168. {
  9169. "type": "integer",
  9170. "description": "交易商品id",
  9171. "name": "goodsid",
  9172. "in": "query",
  9173. "required": true
  9174. },
  9175. {
  9176. "type": "string",
  9177. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9178. "name": "status",
  9179. "in": "query"
  9180. }
  9181. ],
  9182. "responses": {
  9183. "200": {
  9184. "description": "OK",
  9185. "schema": {
  9186. "type": "array",
  9187. "items": {
  9188. "$ref": "#/definitions/models.QhjPickGoods"
  9189. }
  9190. }
  9191. },
  9192. "500": {
  9193. "description": "Internal Server Error",
  9194. "schema": {
  9195. "$ref": "#/definitions/app.Response"
  9196. }
  9197. }
  9198. }
  9199. }
  9200. },
  9201. "/Qhj/QueryRSTriggerLog": {
  9202. "get": {
  9203. "security": [
  9204. {
  9205. "ApiKeyAuth": []
  9206. }
  9207. ],
  9208. "produces": [
  9209. "application/json"
  9210. ],
  9211. "tags": [
  9212. "大连千海金"
  9213. ],
  9214. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9215. "parameters": [
  9216. {
  9217. "type": "integer",
  9218. "description": "用户ID",
  9219. "name": "userid",
  9220. "in": "query"
  9221. },
  9222. {
  9223. "type": "integer",
  9224. "description": "定投策略id",
  9225. "name": "regularlystrategyid",
  9226. "in": "query"
  9227. },
  9228. {
  9229. "type": "integer",
  9230. "description": "商品id",
  9231. "name": "goodsid",
  9232. "in": "query"
  9233. },
  9234. {
  9235. "type": "string",
  9236. "description": "开始交易日(yyyymmdd)",
  9237. "name": "begindate",
  9238. "in": "query"
  9239. },
  9240. {
  9241. "type": "string",
  9242. "description": "结束交易日(yyyymmdd)",
  9243. "name": "enddate",
  9244. "in": "query"
  9245. },
  9246. {
  9247. "type": "string",
  9248. "description": "名称(模糊搜索账户)",
  9249. "name": "filtername",
  9250. "in": "query"
  9251. }
  9252. ],
  9253. "responses": {
  9254. "200": {
  9255. "description": "OK",
  9256. "schema": {
  9257. "type": "array",
  9258. "items": {
  9259. "$ref": "#/definitions/models.QhjRSTriggerLog"
  9260. }
  9261. }
  9262. },
  9263. "500": {
  9264. "description": "Internal Server Error",
  9265. "schema": {
  9266. "$ref": "#/definitions/app.Response"
  9267. }
  9268. }
  9269. }
  9270. }
  9271. },
  9272. "/Qhj/QueryRStrategy": {
  9273. "get": {
  9274. "security": [
  9275. {
  9276. "ApiKeyAuth": []
  9277. }
  9278. ],
  9279. "produces": [
  9280. "application/json"
  9281. ],
  9282. "tags": [
  9283. "大连千海金"
  9284. ],
  9285. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  9286. "parameters": [
  9287. {
  9288. "type": "integer",
  9289. "description": "用户ID",
  9290. "name": "userid",
  9291. "in": "query"
  9292. },
  9293. {
  9294. "type": "integer",
  9295. "description": "商品id",
  9296. "name": "goodsid",
  9297. "in": "query"
  9298. },
  9299. {
  9300. "type": "string",
  9301. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  9302. "name": "status",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "string",
  9307. "description": "名称(模糊搜索账户)",
  9308. "name": "filtername",
  9309. "in": "query"
  9310. }
  9311. ],
  9312. "responses": {
  9313. "200": {
  9314. "description": "OK",
  9315. "schema": {
  9316. "type": "array",
  9317. "items": {
  9318. "$ref": "#/definitions/models.QhjRStrategy"
  9319. }
  9320. }
  9321. },
  9322. "500": {
  9323. "description": "Internal Server Error",
  9324. "schema": {
  9325. "$ref": "#/definitions/app.Response"
  9326. }
  9327. }
  9328. }
  9329. }
  9330. },
  9331. "/Qhj/QueryReckonPriceLog": {
  9332. "get": {
  9333. "security": [
  9334. {
  9335. "ApiKeyAuth": []
  9336. }
  9337. ],
  9338. "produces": [
  9339. "application/json"
  9340. ],
  9341. "tags": [
  9342. "大连千海金"
  9343. ],
  9344. "summary": "查询定投价(结算价)",
  9345. "parameters": [
  9346. {
  9347. "type": "integer",
  9348. "description": "商品ID",
  9349. "name": "goodsid",
  9350. "in": "query"
  9351. },
  9352. {
  9353. "type": "string",
  9354. "description": "交易日 格式(yyyymmdd)",
  9355. "name": "tradedate",
  9356. "in": "query"
  9357. }
  9358. ],
  9359. "responses": {
  9360. "200": {
  9361. "description": "OK",
  9362. "schema": {
  9363. "type": "array",
  9364. "items": {
  9365. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9366. }
  9367. }
  9368. },
  9369. "500": {
  9370. "description": "Internal Server Error",
  9371. "schema": {
  9372. "$ref": "#/definitions/app.Response"
  9373. }
  9374. }
  9375. }
  9376. }
  9377. },
  9378. "/Qhj/QueryScoreLog": {
  9379. "get": {
  9380. "security": [
  9381. {
  9382. "ApiKeyAuth": []
  9383. }
  9384. ],
  9385. "produces": [
  9386. "application/json"
  9387. ],
  9388. "tags": [
  9389. "大连千海金"
  9390. ],
  9391. "summary": "查询积分流水(我的积分)",
  9392. "parameters": [
  9393. {
  9394. "type": "integer",
  9395. "description": "用户ID",
  9396. "name": "userid",
  9397. "in": "query",
  9398. "required": true
  9399. },
  9400. {
  9401. "type": "string",
  9402. "description": "开始交易日(yyyymmdd)",
  9403. "name": "begindate",
  9404. "in": "query"
  9405. },
  9406. {
  9407. "type": "string",
  9408. "description": "结束交易日(yyyymmdd)",
  9409. "name": "enddate",
  9410. "in": "query"
  9411. },
  9412. {
  9413. "type": "integer",
  9414. "description": "最近多少条",
  9415. "name": "lastnum",
  9416. "in": "query"
  9417. }
  9418. ],
  9419. "responses": {
  9420. "200": {
  9421. "description": "OK",
  9422. "schema": {
  9423. "type": "array",
  9424. "items": {
  9425. "$ref": "#/definitions/models.QhjScoreLog"
  9426. }
  9427. }
  9428. },
  9429. "500": {
  9430. "description": "Internal Server Error",
  9431. "schema": {
  9432. "$ref": "#/definitions/app.Response"
  9433. }
  9434. }
  9435. }
  9436. }
  9437. },
  9438. "/Qhj/QuerySiteColumnDetail": {
  9439. "get": {
  9440. "security": [
  9441. {
  9442. "ApiKeyAuth": []
  9443. }
  9444. ],
  9445. "produces": [
  9446. "application/json"
  9447. ],
  9448. "tags": [
  9449. "大连千海金"
  9450. ],
  9451. "summary": "查询资讯",
  9452. "parameters": [
  9453. {
  9454. "type": "integer",
  9455. "description": "用户ID",
  9456. "name": "userid",
  9457. "in": "query",
  9458. "required": true
  9459. }
  9460. ],
  9461. "responses": {
  9462. "200": {
  9463. "description": "OK",
  9464. "schema": {
  9465. "type": "array",
  9466. "items": {
  9467. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9468. }
  9469. }
  9470. },
  9471. "500": {
  9472. "description": "Internal Server Error",
  9473. "schema": {
  9474. "$ref": "#/definitions/app.Response"
  9475. }
  9476. }
  9477. }
  9478. }
  9479. },
  9480. "/Qhj/QueryTradeGoodsPickup": {
  9481. "get": {
  9482. "security": [
  9483. {
  9484. "ApiKeyAuth": []
  9485. }
  9486. ],
  9487. "produces": [
  9488. "application/json"
  9489. ],
  9490. "tags": [
  9491. "大连千海金"
  9492. ],
  9493. "summary": "查询提货",
  9494. "parameters": [
  9495. {
  9496. "type": "integer",
  9497. "description": "用户ID",
  9498. "name": "userid",
  9499. "in": "query",
  9500. "required": true
  9501. },
  9502. {
  9503. "type": "integer",
  9504. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9505. "name": "takeorderstatus",
  9506. "in": "query"
  9507. }
  9508. ],
  9509. "responses": {
  9510. "200": {
  9511. "description": "OK",
  9512. "schema": {
  9513. "type": "array",
  9514. "items": {
  9515. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9516. }
  9517. }
  9518. },
  9519. "500": {
  9520. "description": "Internal Server Error",
  9521. "schema": {
  9522. "$ref": "#/definitions/app.Response"
  9523. }
  9524. }
  9525. }
  9526. }
  9527. },
  9528. "/Qhj/QueryUserCollectConfig": {
  9529. "get": {
  9530. "security": [
  9531. {
  9532. "ApiKeyAuth": []
  9533. }
  9534. ],
  9535. "produces": [
  9536. "application/json"
  9537. ],
  9538. "tags": [
  9539. "大连千海金"
  9540. ],
  9541. "summary": "查询提现账户设置",
  9542. "parameters": [
  9543. {
  9544. "type": "integer",
  9545. "description": "用户ID",
  9546. "name": "userid",
  9547. "in": "query",
  9548. "required": true
  9549. }
  9550. ],
  9551. "responses": {
  9552. "200": {
  9553. "description": "OK",
  9554. "schema": {
  9555. "type": "array",
  9556. "items": {
  9557. "$ref": "#/definitions/models.UserCollectConfig"
  9558. }
  9559. }
  9560. },
  9561. "500": {
  9562. "description": "Internal Server Error",
  9563. "schema": {
  9564. "$ref": "#/definitions/app.Response"
  9565. }
  9566. }
  9567. }
  9568. }
  9569. },
  9570. "/Qhj/QueryUserReceiveInfo": {
  9571. "get": {
  9572. "security": [
  9573. {
  9574. "ApiKeyAuth": []
  9575. }
  9576. ],
  9577. "produces": [
  9578. "application/json"
  9579. ],
  9580. "tags": [
  9581. "大连千海金"
  9582. ],
  9583. "summary": "查询收货地址信息",
  9584. "parameters": [
  9585. {
  9586. "type": "integer",
  9587. "description": "用户ID",
  9588. "name": "userid",
  9589. "in": "query",
  9590. "required": true
  9591. }
  9592. ],
  9593. "responses": {
  9594. "200": {
  9595. "description": "OK",
  9596. "schema": {
  9597. "type": "array",
  9598. "items": {
  9599. "$ref": "#/definitions/models.UserReceiveInfo"
  9600. }
  9601. }
  9602. },
  9603. "500": {
  9604. "description": "Internal Server Error",
  9605. "schema": {
  9606. "$ref": "#/definitions/app.Response"
  9607. }
  9608. }
  9609. }
  9610. }
  9611. },
  9612. "/QhjMgr/QueryAccountInOutApply": {
  9613. "get": {
  9614. "security": [
  9615. {
  9616. "ApiKeyAuth": []
  9617. }
  9618. ],
  9619. "produces": [
  9620. "application/json"
  9621. ],
  9622. "tags": [
  9623. "大连千海金(PCWeb)"
  9624. ],
  9625. "summary": "查询充值提现",
  9626. "parameters": [
  9627. {
  9628. "type": "integer",
  9629. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9630. "name": "querytype",
  9631. "in": "query",
  9632. "required": true
  9633. },
  9634. {
  9635. "type": "integer",
  9636. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9637. "name": "applystatus",
  9638. "in": "query"
  9639. },
  9640. {
  9641. "type": "string",
  9642. "description": "申请起始日期(格式yyyymmdd)",
  9643. "name": "begindate",
  9644. "in": "query"
  9645. },
  9646. {
  9647. "type": "string",
  9648. "description": "申请截止日期(格式yyyymmdd)",
  9649. "name": "enddate",
  9650. "in": "query"
  9651. },
  9652. {
  9653. "type": "string",
  9654. "description": "模糊搜索名称",
  9655. "name": "likename",
  9656. "in": "query"
  9657. }
  9658. ],
  9659. "responses": {
  9660. "200": {
  9661. "description": "OK",
  9662. "schema": {
  9663. "type": "array",
  9664. "items": {
  9665. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9666. }
  9667. }
  9668. },
  9669. "500": {
  9670. "description": "Internal Server Error",
  9671. "schema": {
  9672. "$ref": "#/definitions/app.Response"
  9673. }
  9674. }
  9675. }
  9676. }
  9677. },
  9678. "/QhjMgr/QueryBrokerApply": {
  9679. "get": {
  9680. "security": [
  9681. {
  9682. "ApiKeyAuth": []
  9683. }
  9684. ],
  9685. "produces": [
  9686. "application/json"
  9687. ],
  9688. "tags": [
  9689. "大连千海金(PCWeb)"
  9690. ],
  9691. "summary": "查询经纪人申请",
  9692. "parameters": [
  9693. {
  9694. "type": "integer",
  9695. "description": "所属机构ID",
  9696. "name": "userid",
  9697. "in": "query"
  9698. },
  9699. {
  9700. "type": "string",
  9701. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9702. "name": "filterstatus",
  9703. "in": "query"
  9704. },
  9705. {
  9706. "type": "string",
  9707. "description": "名称(模糊匹配)",
  9708. "name": "filtername",
  9709. "in": "query"
  9710. },
  9711. {
  9712. "type": "integer",
  9713. "description": "是否包含子级 1-包含",
  9714. "name": "includesub",
  9715. "in": "query"
  9716. }
  9717. ],
  9718. "responses": {
  9719. "200": {
  9720. "description": "OK",
  9721. "schema": {
  9722. "type": "array",
  9723. "items": {
  9724. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9725. }
  9726. }
  9727. },
  9728. "500": {
  9729. "description": "Internal Server Error",
  9730. "schema": {
  9731. "$ref": "#/definitions/app.Response"
  9732. }
  9733. }
  9734. }
  9735. }
  9736. },
  9737. "/QhjMgr/QueryBrokerRewardReport": {
  9738. "get": {
  9739. "security": [
  9740. {
  9741. "ApiKeyAuth": []
  9742. }
  9743. ],
  9744. "produces": [
  9745. "application/json"
  9746. ],
  9747. "tags": [
  9748. "大连千海金(PCWeb)"
  9749. ],
  9750. "summary": "查询经纪人奖励报表(废弃)",
  9751. "parameters": [
  9752. {
  9753. "type": "integer",
  9754. "description": "所属机构ID",
  9755. "name": "userid",
  9756. "in": "query",
  9757. "required": true
  9758. },
  9759. {
  9760. "type": "integer",
  9761. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9762. "name": "cycletype",
  9763. "in": "query",
  9764. "required": true
  9765. },
  9766. {
  9767. "type": "string",
  9768. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9769. "name": "cycletime",
  9770. "in": "query",
  9771. "required": true
  9772. },
  9773. {
  9774. "type": "string",
  9775. "description": "名称(模糊匹配)",
  9776. "name": "filtername",
  9777. "in": "query"
  9778. },
  9779. {
  9780. "type": "integer",
  9781. "description": "是否包含子级 1-包含",
  9782. "name": "includesub",
  9783. "in": "query"
  9784. }
  9785. ],
  9786. "responses": {
  9787. "200": {
  9788. "description": "OK",
  9789. "schema": {
  9790. "type": "array",
  9791. "items": {
  9792. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9793. }
  9794. }
  9795. },
  9796. "500": {
  9797. "description": "Internal Server Error",
  9798. "schema": {
  9799. "$ref": "#/definitions/app.Response"
  9800. }
  9801. }
  9802. }
  9803. }
  9804. },
  9805. "/QhjMgr/QueryContract": {
  9806. "get": {
  9807. "security": [
  9808. {
  9809. "ApiKeyAuth": []
  9810. }
  9811. ],
  9812. "produces": [
  9813. "application/json"
  9814. ],
  9815. "tags": [
  9816. "大连千海金(PCWeb)"
  9817. ],
  9818. "summary": "查询融资信息(合同)",
  9819. "parameters": [
  9820. {
  9821. "type": "integer",
  9822. "description": "用户ID",
  9823. "name": "userid",
  9824. "in": "query"
  9825. },
  9826. {
  9827. "type": "integer",
  9828. "description": "商品id",
  9829. "name": "goodsid",
  9830. "in": "query"
  9831. },
  9832. {
  9833. "type": "string",
  9834. "description": "名称(模糊搜索账户)",
  9835. "name": "filtername",
  9836. "in": "query"
  9837. },
  9838. {
  9839. "type": "string",
  9840. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9841. "name": "risklevel",
  9842. "in": "query"
  9843. },
  9844. {
  9845. "type": "string",
  9846. "description": "开始交易日(yyyymmdd)",
  9847. "name": "begindate",
  9848. "in": "query"
  9849. },
  9850. {
  9851. "type": "string",
  9852. "description": "结束交易日(yyyymmdd)",
  9853. "name": "enddate",
  9854. "in": "query"
  9855. }
  9856. ],
  9857. "responses": {
  9858. "200": {
  9859. "description": "OK",
  9860. "schema": {
  9861. "type": "array",
  9862. "items": {
  9863. "$ref": "#/definitions/models.QhjMgrContract"
  9864. }
  9865. }
  9866. },
  9867. "500": {
  9868. "description": "Internal Server Error",
  9869. "schema": {
  9870. "$ref": "#/definitions/app.Response"
  9871. }
  9872. }
  9873. }
  9874. }
  9875. },
  9876. "/QhjMgr/QueryCustomerInfo": {
  9877. "get": {
  9878. "security": [
  9879. {
  9880. "ApiKeyAuth": []
  9881. }
  9882. ],
  9883. "produces": [
  9884. "application/json"
  9885. ],
  9886. "tags": [
  9887. "大连千海金(PCWeb)"
  9888. ],
  9889. "summary": "查询客户资料",
  9890. "parameters": [
  9891. {
  9892. "type": "integer",
  9893. "description": "用户ID",
  9894. "name": "userid",
  9895. "in": "query",
  9896. "required": true
  9897. },
  9898. {
  9899. "type": "integer",
  9900. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9901. "name": "querytype",
  9902. "in": "query",
  9903. "required": true
  9904. },
  9905. {
  9906. "type": "integer",
  9907. "description": "客户类型 1-个人 2-企业",
  9908. "name": "userinfotype",
  9909. "in": "query"
  9910. },
  9911. {
  9912. "type": "string",
  9913. "description": "客户名称(模糊匹配)",
  9914. "name": "customername",
  9915. "in": "query"
  9916. },
  9917. {
  9918. "type": "string",
  9919. "description": "昵称(模糊匹配)",
  9920. "name": "nickname",
  9921. "in": "query"
  9922. },
  9923. {
  9924. "type": "string",
  9925. "description": "所属客户经理(模糊匹配)",
  9926. "name": "brokername",
  9927. "in": "query"
  9928. },
  9929. {
  9930. "type": "string",
  9931. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9932. "name": "birthday",
  9933. "in": "query"
  9934. },
  9935. {
  9936. "type": "integer",
  9937. "description": "是否包含子级 1-包含",
  9938. "name": "includesub",
  9939. "in": "query"
  9940. }
  9941. ],
  9942. "responses": {
  9943. "200": {
  9944. "description": "OK",
  9945. "schema": {
  9946. "type": "array",
  9947. "items": {
  9948. "$ref": "#/definitions/models.QhjMgrCustomer"
  9949. }
  9950. }
  9951. },
  9952. "500": {
  9953. "description": "Internal Server Error",
  9954. "schema": {
  9955. "$ref": "#/definitions/app.Response"
  9956. }
  9957. }
  9958. }
  9959. }
  9960. },
  9961. "/QhjMgr/QueryPickGoods": {
  9962. "get": {
  9963. "security": [
  9964. {
  9965. "ApiKeyAuth": []
  9966. }
  9967. ],
  9968. "produces": [
  9969. "application/json"
  9970. ],
  9971. "tags": [
  9972. "大连千海金(PCWeb)"
  9973. ],
  9974. "summary": "查询提货商品",
  9975. "parameters": [
  9976. {
  9977. "type": "string",
  9978. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9979. "name": "status",
  9980. "in": "query"
  9981. }
  9982. ],
  9983. "responses": {
  9984. "200": {
  9985. "description": "OK",
  9986. "schema": {
  9987. "type": "array",
  9988. "items": {
  9989. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9990. }
  9991. }
  9992. },
  9993. "500": {
  9994. "description": "Internal Server Error",
  9995. "schema": {
  9996. "$ref": "#/definitions/app.Response"
  9997. }
  9998. }
  9999. }
  10000. }
  10001. },
  10002. "/QhjMgr/QuerySubArea": {
  10003. "get": {
  10004. "security": [
  10005. {
  10006. "ApiKeyAuth": []
  10007. }
  10008. ],
  10009. "produces": [
  10010. "application/json"
  10011. ],
  10012. "tags": [
  10013. "大连千海金(PCWeb)"
  10014. ],
  10015. "summary": "查询子机构列表",
  10016. "parameters": [
  10017. {
  10018. "type": "integer",
  10019. "description": "用户ID",
  10020. "name": "userid",
  10021. "in": "query",
  10022. "required": true
  10023. }
  10024. ],
  10025. "responses": {
  10026. "200": {
  10027. "description": "OK",
  10028. "schema": {
  10029. "type": "array",
  10030. "items": {
  10031. "$ref": "#/definitions/models.QhjMgrSubArea"
  10032. }
  10033. }
  10034. },
  10035. "500": {
  10036. "description": "Internal Server Error",
  10037. "schema": {
  10038. "$ref": "#/definitions/app.Response"
  10039. }
  10040. }
  10041. }
  10042. }
  10043. },
  10044. "/QhjMgr/QueryTradeDetail": {
  10045. "get": {
  10046. "security": [
  10047. {
  10048. "ApiKeyAuth": []
  10049. }
  10050. ],
  10051. "produces": [
  10052. "application/json"
  10053. ],
  10054. "tags": [
  10055. "大连千海金(PCWeb)"
  10056. ],
  10057. "summary": "查询成交明细",
  10058. "parameters": [
  10059. {
  10060. "type": "integer",
  10061. "description": "用户ID",
  10062. "name": "userid",
  10063. "in": "query",
  10064. "required": true
  10065. },
  10066. {
  10067. "type": "integer",
  10068. "description": "用户类型 1-个人 2-企业",
  10069. "name": "userinfotype",
  10070. "in": "query"
  10071. },
  10072. {
  10073. "type": "integer",
  10074. "description": "交易模式",
  10075. "name": "trademode",
  10076. "in": "query"
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "商品id",
  10081. "name": "goodsid",
  10082. "in": "query"
  10083. },
  10084. {
  10085. "type": "string",
  10086. "description": "名称(模糊搜索账户)",
  10087. "name": "filtername",
  10088. "in": "query"
  10089. },
  10090. {
  10091. "type": "string",
  10092. "description": "开始交易日(yyyymmdd)",
  10093. "name": "begindate",
  10094. "in": "query"
  10095. },
  10096. {
  10097. "type": "string",
  10098. "description": "结束交易日(yyyymmdd)",
  10099. "name": "enddate",
  10100. "in": "query"
  10101. },
  10102. {
  10103. "type": "integer",
  10104. "description": "是否包含子级 1-包含",
  10105. "name": "includesub",
  10106. "in": "query"
  10107. }
  10108. ],
  10109. "responses": {
  10110. "200": {
  10111. "description": "OK",
  10112. "schema": {
  10113. "type": "array",
  10114. "items": {
  10115. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10116. }
  10117. }
  10118. },
  10119. "500": {
  10120. "description": "Internal Server Error",
  10121. "schema": {
  10122. "$ref": "#/definitions/app.Response"
  10123. }
  10124. }
  10125. }
  10126. }
  10127. },
  10128. "/QhjMgr/QueryTradeOrderDetail": {
  10129. "get": {
  10130. "security": [
  10131. {
  10132. "ApiKeyAuth": []
  10133. }
  10134. ],
  10135. "produces": [
  10136. "application/json"
  10137. ],
  10138. "tags": [
  10139. "大连千海金(PCWeb)"
  10140. ],
  10141. "summary": "查询委托明细",
  10142. "parameters": [
  10143. {
  10144. "type": "integer",
  10145. "description": "用户ID",
  10146. "name": "userid",
  10147. "in": "query",
  10148. "required": true
  10149. },
  10150. {
  10151. "type": "integer",
  10152. "description": "用户类型 1-个人 2-企业",
  10153. "name": "userinfotype",
  10154. "in": "query"
  10155. },
  10156. {
  10157. "type": "integer",
  10158. "description": "交易模式",
  10159. "name": "trademode",
  10160. "in": "query"
  10161. },
  10162. {
  10163. "type": "integer",
  10164. "description": "商品id",
  10165. "name": "goodsid",
  10166. "in": "query"
  10167. },
  10168. {
  10169. "type": "string",
  10170. "description": "名称(模糊搜索账户)",
  10171. "name": "filtername",
  10172. "in": "query"
  10173. },
  10174. {
  10175. "type": "string",
  10176. "description": "开始交易日(yyyymmdd)",
  10177. "name": "begindate",
  10178. "in": "query"
  10179. },
  10180. {
  10181. "type": "string",
  10182. "description": "结束交易日(yyyymmdd)",
  10183. "name": "enddate",
  10184. "in": "query"
  10185. },
  10186. {
  10187. "type": "integer",
  10188. "description": "是否包含子级 1-包含",
  10189. "name": "includesub",
  10190. "in": "query"
  10191. }
  10192. ],
  10193. "responses": {
  10194. "200": {
  10195. "description": "OK",
  10196. "schema": {
  10197. "type": "array",
  10198. "items": {
  10199. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10200. }
  10201. }
  10202. },
  10203. "500": {
  10204. "description": "Internal Server Error",
  10205. "schema": {
  10206. "$ref": "#/definitions/app.Response"
  10207. }
  10208. }
  10209. }
  10210. }
  10211. },
  10212. "/QhjMgr/QueryTradePayOrder": {
  10213. "get": {
  10214. "security": [
  10215. {
  10216. "ApiKeyAuth": []
  10217. }
  10218. ],
  10219. "produces": [
  10220. "application/json"
  10221. ],
  10222. "tags": [
  10223. "大连千海金(PCWeb)"
  10224. ],
  10225. "summary": "查询待付款单",
  10226. "parameters": [
  10227. {
  10228. "type": "integer",
  10229. "description": "用户ID",
  10230. "name": "userid",
  10231. "in": "query",
  10232. "required": true
  10233. },
  10234. {
  10235. "type": "string",
  10236. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10237. "name": "payflag",
  10238. "in": "query"
  10239. },
  10240. {
  10241. "type": "integer",
  10242. "description": "用户类型 1-个人 2-企业",
  10243. "name": "userinfotype",
  10244. "in": "query"
  10245. },
  10246. {
  10247. "type": "integer",
  10248. "description": "交易模式",
  10249. "name": "trademode",
  10250. "in": "query"
  10251. },
  10252. {
  10253. "type": "integer",
  10254. "description": "商品id",
  10255. "name": "goodsid",
  10256. "in": "query"
  10257. },
  10258. {
  10259. "type": "string",
  10260. "description": "名称(模糊搜索账户)",
  10261. "name": "filtername",
  10262. "in": "query"
  10263. },
  10264. {
  10265. "type": "string",
  10266. "description": "开始交易日(yyyymmdd)",
  10267. "name": "begindate",
  10268. "in": "query"
  10269. },
  10270. {
  10271. "type": "string",
  10272. "description": "结束交易日(yyyymmdd)",
  10273. "name": "enddate",
  10274. "in": "query"
  10275. },
  10276. {
  10277. "type": "integer",
  10278. "description": "是否包含子级 1-包含",
  10279. "name": "includesub",
  10280. "in": "query"
  10281. }
  10282. ],
  10283. "responses": {
  10284. "200": {
  10285. "description": "OK",
  10286. "schema": {
  10287. "type": "array",
  10288. "items": {
  10289. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  10290. }
  10291. }
  10292. },
  10293. "500": {
  10294. "description": "Internal Server Error",
  10295. "schema": {
  10296. "$ref": "#/definitions/app.Response"
  10297. }
  10298. }
  10299. }
  10300. }
  10301. },
  10302. "/QhjMgr/QueryTradePosition": {
  10303. "get": {
  10304. "security": [
  10305. {
  10306. "ApiKeyAuth": []
  10307. }
  10308. ],
  10309. "produces": [
  10310. "application/json"
  10311. ],
  10312. "tags": [
  10313. "大连千海金(PCWeb)"
  10314. ],
  10315. "summary": "查询持仓汇总",
  10316. "parameters": [
  10317. {
  10318. "type": "integer",
  10319. "description": "用户ID",
  10320. "name": "userid",
  10321. "in": "query",
  10322. "required": true
  10323. },
  10324. {
  10325. "type": "integer",
  10326. "description": "用户类型 1-个人 2-企业",
  10327. "name": "userinfotype",
  10328. "in": "query"
  10329. },
  10330. {
  10331. "type": "integer",
  10332. "description": "交易模式",
  10333. "name": "trademode",
  10334. "in": "query"
  10335. },
  10336. {
  10337. "type": "integer",
  10338. "description": "商品id",
  10339. "name": "goodsid",
  10340. "in": "query"
  10341. },
  10342. {
  10343. "type": "string",
  10344. "description": "名称(模糊搜索账户)",
  10345. "name": "filtername",
  10346. "in": "query"
  10347. },
  10348. {
  10349. "type": "integer",
  10350. "description": "是否包含子级 1-包含",
  10351. "name": "includesub",
  10352. "in": "query"
  10353. }
  10354. ],
  10355. "responses": {
  10356. "200": {
  10357. "description": "OK",
  10358. "schema": {
  10359. "type": "array",
  10360. "items": {
  10361. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10362. }
  10363. }
  10364. },
  10365. "500": {
  10366. "description": "Internal Server Error",
  10367. "schema": {
  10368. "$ref": "#/definitions/app.Response"
  10369. }
  10370. }
  10371. }
  10372. }
  10373. },
  10374. "/QhjSys/QueryAgreementChangeLog": {
  10375. "get": {
  10376. "security": [
  10377. {
  10378. "ApiKeyAuth": []
  10379. }
  10380. ],
  10381. "produces": [
  10382. "application/json"
  10383. ],
  10384. "tags": [
  10385. "大连千海金(协议和签约信息)"
  10386. ],
  10387. "summary": "查询协议配置变更流水",
  10388. "parameters": [
  10389. {
  10390. "type": "integer",
  10391. "description": "协议ID",
  10392. "name": "agreementid",
  10393. "in": "query"
  10394. },
  10395. {
  10396. "type": "integer",
  10397. "description": "协议版本号",
  10398. "name": "agreementversion",
  10399. "in": "query"
  10400. },
  10401. {
  10402. "type": "integer",
  10403. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10404. "name": "agreementtype",
  10405. "in": "query"
  10406. },
  10407. {
  10408. "type": "string",
  10409. "description": "协议编号(模糊匹配)",
  10410. "name": "agreementno",
  10411. "in": "query"
  10412. },
  10413. {
  10414. "type": "string",
  10415. "description": "协议名称(模糊匹配)",
  10416. "name": "agreementname",
  10417. "in": "query"
  10418. }
  10419. ],
  10420. "responses": {
  10421. "200": {
  10422. "description": "OK",
  10423. "schema": {
  10424. "type": "array",
  10425. "items": {
  10426. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10427. }
  10428. }
  10429. },
  10430. "500": {
  10431. "description": "Internal Server Error",
  10432. "schema": {
  10433. "$ref": "#/definitions/app.Response"
  10434. }
  10435. }
  10436. }
  10437. }
  10438. },
  10439. "/QhjSys/QueryAgreementConfig": {
  10440. "get": {
  10441. "security": [
  10442. {
  10443. "ApiKeyAuth": []
  10444. }
  10445. ],
  10446. "produces": [
  10447. "application/json"
  10448. ],
  10449. "tags": [
  10450. "大连千海金(协议和签约信息)"
  10451. ],
  10452. "summary": "查询协议配置",
  10453. "parameters": [
  10454. {
  10455. "type": "integer",
  10456. "description": "协议ID",
  10457. "name": "agreementid",
  10458. "in": "query"
  10459. },
  10460. {
  10461. "type": "integer",
  10462. "description": "协议版本号",
  10463. "name": "agreementversion",
  10464. "in": "query"
  10465. },
  10466. {
  10467. "type": "integer",
  10468. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10469. "name": "agreementtype",
  10470. "in": "query"
  10471. },
  10472. {
  10473. "type": "integer",
  10474. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10475. "name": "isvalid",
  10476. "in": "query"
  10477. },
  10478. {
  10479. "type": "string",
  10480. "description": "协议编号(模糊匹配)",
  10481. "name": "agreementno",
  10482. "in": "query"
  10483. },
  10484. {
  10485. "type": "string",
  10486. "description": "协议名称(模糊匹配)",
  10487. "name": "agreementname",
  10488. "in": "query"
  10489. }
  10490. ],
  10491. "responses": {
  10492. "200": {
  10493. "description": "OK",
  10494. "schema": {
  10495. "type": "array",
  10496. "items": {
  10497. "$ref": "#/definitions/models.QhjAgreementConfig"
  10498. }
  10499. }
  10500. },
  10501. "500": {
  10502. "description": "Internal Server Error",
  10503. "schema": {
  10504. "$ref": "#/definitions/app.Response"
  10505. }
  10506. }
  10507. }
  10508. }
  10509. },
  10510. "/QhjSys/QueryCustomerSignStatus": {
  10511. "get": {
  10512. "security": [
  10513. {
  10514. "ApiKeyAuth": []
  10515. }
  10516. ],
  10517. "produces": [
  10518. "application/json"
  10519. ],
  10520. "tags": [
  10521. "大连千海金(协议和签约信息)"
  10522. ],
  10523. "summary": "查询客户协议签约状态",
  10524. "parameters": [
  10525. {
  10526. "type": "integer",
  10527. "description": "客户ID",
  10528. "name": "userid",
  10529. "in": "query"
  10530. },
  10531. {
  10532. "type": "integer",
  10533. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10534. "name": "nodetype",
  10535. "in": "query"
  10536. },
  10537. {
  10538. "type": "integer",
  10539. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10540. "name": "goodsid",
  10541. "in": "query"
  10542. },
  10543. {
  10544. "type": "string",
  10545. "description": "创建交易日(yyyyMMdd)",
  10546. "name": "tradedate",
  10547. "in": "query"
  10548. },
  10549. {
  10550. "type": "string",
  10551. "description": "用户名称(模糊匹配)",
  10552. "name": "username",
  10553. "in": "query"
  10554. }
  10555. ],
  10556. "responses": {
  10557. "200": {
  10558. "description": "OK",
  10559. "schema": {
  10560. "type": "array",
  10561. "items": {
  10562. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10563. }
  10564. }
  10565. },
  10566. "500": {
  10567. "description": "Internal Server Error",
  10568. "schema": {
  10569. "$ref": "#/definitions/app.Response"
  10570. }
  10571. }
  10572. }
  10573. }
  10574. },
  10575. "/QhjSys/QueryNodeAgreementConfig": {
  10576. "get": {
  10577. "security": [
  10578. {
  10579. "ApiKeyAuth": []
  10580. }
  10581. ],
  10582. "produces": [
  10583. "application/json"
  10584. ],
  10585. "tags": [
  10586. "大连千海金(协议和签约信息)"
  10587. ],
  10588. "summary": "查询协议节点配置",
  10589. "parameters": [
  10590. {
  10591. "type": "integer",
  10592. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10593. "name": "configid",
  10594. "in": "query"
  10595. },
  10596. {
  10597. "type": "integer",
  10598. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10599. "name": "nodetype",
  10600. "in": "query"
  10601. },
  10602. {
  10603. "type": "integer",
  10604. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10605. "name": "goodsid",
  10606. "in": "query"
  10607. },
  10608. {
  10609. "type": "integer",
  10610. "description": "协议ID",
  10611. "name": "agreementid",
  10612. "in": "query"
  10613. },
  10614. {
  10615. "type": "integer",
  10616. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10617. "name": "agreementtype",
  10618. "in": "query"
  10619. },
  10620. {
  10621. "type": "integer",
  10622. "description": "协议版本号",
  10623. "name": "agreementversion",
  10624. "in": "query"
  10625. },
  10626. {
  10627. "type": "string",
  10628. "description": "协议编号(模糊匹配)",
  10629. "name": "agreementno",
  10630. "in": "query"
  10631. },
  10632. {
  10633. "type": "string",
  10634. "description": "协议名称(模糊匹配)",
  10635. "name": "agreementname",
  10636. "in": "query"
  10637. }
  10638. ],
  10639. "responses": {
  10640. "200": {
  10641. "description": "OK",
  10642. "schema": {
  10643. "type": "array",
  10644. "items": {
  10645. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10646. }
  10647. }
  10648. },
  10649. "500": {
  10650. "description": "Internal Server Error",
  10651. "schema": {
  10652. "$ref": "#/definitions/app.Response"
  10653. }
  10654. }
  10655. }
  10656. }
  10657. },
  10658. "/QhjSys/QueryQhjCustomerSignLog": {
  10659. "get": {
  10660. "security": [
  10661. {
  10662. "ApiKeyAuth": []
  10663. }
  10664. ],
  10665. "produces": [
  10666. "application/json"
  10667. ],
  10668. "tags": [
  10669. "大连千海金(协议和签约信息)"
  10670. ],
  10671. "summary": "查询客户协议签约流水",
  10672. "parameters": [
  10673. {
  10674. "type": "integer",
  10675. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10676. "name": "logid",
  10677. "in": "query"
  10678. },
  10679. {
  10680. "type": "integer",
  10681. "description": "客户ID",
  10682. "name": "userid",
  10683. "in": "query"
  10684. },
  10685. {
  10686. "type": "integer",
  10687. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10688. "name": "nodetype",
  10689. "in": "query"
  10690. },
  10691. {
  10692. "type": "integer",
  10693. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10694. "name": "goodsid",
  10695. "in": "query"
  10696. },
  10697. {
  10698. "type": "integer",
  10699. "description": "协议ID",
  10700. "name": "agreementid",
  10701. "in": "query"
  10702. },
  10703. {
  10704. "type": "string",
  10705. "description": "用户名称(模糊匹配)",
  10706. "name": "username",
  10707. "in": "query"
  10708. },
  10709. {
  10710. "type": "string",
  10711. "description": "协议编号(模糊匹配)",
  10712. "name": "agreementno",
  10713. "in": "query"
  10714. },
  10715. {
  10716. "type": "string",
  10717. "description": "协议名称(模糊匹配)",
  10718. "name": "agreementname",
  10719. "in": "query"
  10720. }
  10721. ],
  10722. "responses": {
  10723. "200": {
  10724. "description": "OK",
  10725. "schema": {
  10726. "type": "array",
  10727. "items": {
  10728. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10729. }
  10730. }
  10731. },
  10732. "500": {
  10733. "description": "Internal Server Error",
  10734. "schema": {
  10735. "$ref": "#/definitions/app.Response"
  10736. }
  10737. }
  10738. }
  10739. }
  10740. },
  10741. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10742. "get": {
  10743. "security": [
  10744. {
  10745. "ApiKeyAuth": []
  10746. }
  10747. ],
  10748. "produces": [
  10749. "application/json"
  10750. ],
  10751. "tags": [
  10752. "大连千海金(协议和签约信息)"
  10753. ],
  10754. "summary": "查询用户协议节点配置和状态",
  10755. "parameters": [
  10756. {
  10757. "type": "integer",
  10758. "description": "客户ID",
  10759. "name": "userid",
  10760. "in": "query"
  10761. },
  10762. {
  10763. "type": "integer",
  10764. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10765. "name": "configid",
  10766. "in": "query"
  10767. },
  10768. {
  10769. "type": "string",
  10770. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10771. "name": "nodetype",
  10772. "in": "query"
  10773. },
  10774. {
  10775. "type": "integer",
  10776. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10777. "name": "goodsid",
  10778. "in": "query"
  10779. },
  10780. {
  10781. "type": "integer",
  10782. "description": "协议ID",
  10783. "name": "agreementid",
  10784. "in": "query"
  10785. },
  10786. {
  10787. "type": "integer",
  10788. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10789. "name": "agreementtype",
  10790. "in": "query"
  10791. },
  10792. {
  10793. "type": "integer",
  10794. "description": "协议版本号",
  10795. "name": "agreementversion",
  10796. "in": "query"
  10797. },
  10798. {
  10799. "type": "string",
  10800. "description": "协议编号(模糊匹配)",
  10801. "name": "agreementno",
  10802. "in": "query"
  10803. },
  10804. {
  10805. "type": "string",
  10806. "description": "协议名称(模糊匹配)",
  10807. "name": "agreementname",
  10808. "in": "query"
  10809. }
  10810. ],
  10811. "responses": {
  10812. "200": {
  10813. "description": "OK",
  10814. "schema": {
  10815. "type": "array",
  10816. "items": {
  10817. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10818. }
  10819. }
  10820. },
  10821. "500": {
  10822. "description": "Internal Server Error",
  10823. "schema": {
  10824. "$ref": "#/definitions/app.Response"
  10825. }
  10826. }
  10827. }
  10828. }
  10829. },
  10830. "/Quote/QueryHistoryDatas": {
  10831. "get": {
  10832. "security": [
  10833. {
  10834. "ApiKeyAuth": []
  10835. }
  10836. ],
  10837. "produces": [
  10838. "application/json"
  10839. ],
  10840. "tags": [
  10841. "行情服务"
  10842. ],
  10843. "summary": "查询行情历史数据",
  10844. "parameters": [
  10845. {
  10846. "type": "integer",
  10847. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  10848. "name": "cycleType",
  10849. "in": "query",
  10850. "required": true
  10851. },
  10852. {
  10853. "type": "string",
  10854. "description": "商品代码",
  10855. "name": "goodsCode",
  10856. "in": "query",
  10857. "required": true
  10858. },
  10859. {
  10860. "type": "string",
  10861. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10862. "name": "startTime",
  10863. "in": "query"
  10864. },
  10865. {
  10866. "type": "string",
  10867. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10868. "name": "endTime",
  10869. "in": "query"
  10870. },
  10871. {
  10872. "type": "integer",
  10873. "description": "条数",
  10874. "name": "count",
  10875. "in": "query"
  10876. },
  10877. {
  10878. "type": "boolean",
  10879. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10880. "name": "isAsc",
  10881. "in": "query"
  10882. }
  10883. ],
  10884. "responses": {
  10885. "200": {
  10886. "description": "OK",
  10887. "schema": {
  10888. "$ref": "#/definitions/quote.HistoryData"
  10889. }
  10890. },
  10891. "500": {
  10892. "description": "Internal Server Error",
  10893. "schema": {
  10894. "$ref": "#/definitions/app.Response"
  10895. }
  10896. }
  10897. }
  10898. }
  10899. },
  10900. "/Quote/QueryHistoryTikDatas": {
  10901. "get": {
  10902. "security": [
  10903. {
  10904. "ApiKeyAuth": []
  10905. }
  10906. ],
  10907. "produces": [
  10908. "application/json"
  10909. ],
  10910. "tags": [
  10911. "行情服务"
  10912. ],
  10913. "summary": "查询行情Tik数据",
  10914. "parameters": [
  10915. {
  10916. "type": "string",
  10917. "description": "商品代码",
  10918. "name": "goodsCode",
  10919. "in": "query",
  10920. "required": true
  10921. },
  10922. {
  10923. "type": "string",
  10924. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10925. "name": "startTime",
  10926. "in": "query"
  10927. },
  10928. {
  10929. "type": "string",
  10930. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10931. "name": "endTime",
  10932. "in": "query"
  10933. },
  10934. {
  10935. "type": "integer",
  10936. "description": "条数",
  10937. "name": "count",
  10938. "in": "query"
  10939. },
  10940. {
  10941. "type": "boolean",
  10942. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10943. "name": "isAsc",
  10944. "in": "query"
  10945. }
  10946. ],
  10947. "responses": {
  10948. "200": {
  10949. "description": "OK",
  10950. "schema": {
  10951. "$ref": "#/definitions/quote.HistoryTikData"
  10952. }
  10953. },
  10954. "500": {
  10955. "description": "Internal Server Error",
  10956. "schema": {
  10957. "$ref": "#/definitions/app.Response"
  10958. }
  10959. }
  10960. }
  10961. }
  10962. },
  10963. "/Quote/QueryQuoteDay": {
  10964. "get": {
  10965. "security": [
  10966. {
  10967. "ApiKeyAuth": []
  10968. }
  10969. ],
  10970. "produces": [
  10971. "application/json"
  10972. ],
  10973. "tags": [
  10974. "行情服务"
  10975. ],
  10976. "summary": "获取商品盘面信息",
  10977. "parameters": [
  10978. {
  10979. "type": "string",
  10980. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10981. "name": "goodsCodes",
  10982. "in": "query"
  10983. }
  10984. ],
  10985. "responses": {
  10986. "200": {
  10987. "description": "OK",
  10988. "schema": {
  10989. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10990. }
  10991. },
  10992. "500": {
  10993. "description": "Internal Server Error",
  10994. "schema": {
  10995. "$ref": "#/definitions/app.Response"
  10996. }
  10997. }
  10998. }
  10999. }
  11000. },
  11001. "/Quote/QueryTSData": {
  11002. "get": {
  11003. "security": [
  11004. {
  11005. "ApiKeyAuth": []
  11006. }
  11007. ],
  11008. "produces": [
  11009. "application/json"
  11010. ],
  11011. "tags": [
  11012. "行情服务"
  11013. ],
  11014. "summary": "分时图数据查询",
  11015. "parameters": [
  11016. {
  11017. "type": "string",
  11018. "description": "商品代码",
  11019. "name": "goodsCode",
  11020. "in": "query",
  11021. "required": true
  11022. }
  11023. ],
  11024. "responses": {
  11025. "200": {
  11026. "description": "OK",
  11027. "schema": {
  11028. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11029. }
  11030. },
  11031. "500": {
  11032. "description": "Internal Server Error",
  11033. "schema": {
  11034. "$ref": "#/definitions/app.Response"
  11035. }
  11036. }
  11037. }
  11038. }
  11039. },
  11040. "/SZDZ/QueryConvertConfig": {
  11041. "get": {
  11042. "security": [
  11043. {
  11044. "ApiKeyAuth": []
  11045. }
  11046. ],
  11047. "produces": [
  11048. "application/json"
  11049. ],
  11050. "tags": [
  11051. "定制【尚志大宗】"
  11052. ],
  11053. "summary": "查询交易系统转换设置",
  11054. "parameters": [
  11055. {
  11056. "type": "integer",
  11057. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11058. "name": "convertType",
  11059. "in": "query"
  11060. },
  11061. {
  11062. "type": "string",
  11063. "description": "外部商品代码[JD\\PD]",
  11064. "name": "outerGoodsCode",
  11065. "in": "query"
  11066. },
  11067. {
  11068. "type": "string",
  11069. "description": "内部商品ID列表[交易],格式:1,2,3",
  11070. "name": "innerGoodsIDs",
  11071. "in": "query"
  11072. }
  11073. ],
  11074. "responses": {
  11075. "200": {
  11076. "description": "OK",
  11077. "schema": {
  11078. "$ref": "#/definitions/models.Szdz3convertconfig"
  11079. }
  11080. },
  11081. "500": {
  11082. "description": "Internal Server Error",
  11083. "schema": {
  11084. "$ref": "#/definitions/app.Response"
  11085. }
  11086. }
  11087. }
  11088. }
  11089. },
  11090. "/SZDZ/QueryConvertLog": {
  11091. "get": {
  11092. "security": [
  11093. {
  11094. "ApiKeyAuth": []
  11095. }
  11096. ],
  11097. "produces": [
  11098. "application/json"
  11099. ],
  11100. "tags": [
  11101. "定制【尚志大宗】"
  11102. ],
  11103. "summary": "交易系统转换流水查询",
  11104. "parameters": [
  11105. {
  11106. "type": "string",
  11107. "description": "资金账户 - 格式:1,2,3",
  11108. "name": "accountID",
  11109. "in": "query",
  11110. "required": true
  11111. },
  11112. {
  11113. "type": "string",
  11114. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11115. "name": "startDate",
  11116. "in": "query"
  11117. },
  11118. {
  11119. "type": "string",
  11120. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11121. "name": "endDate",
  11122. "in": "query"
  11123. }
  11124. ],
  11125. "responses": {
  11126. "200": {
  11127. "description": "OK",
  11128. "schema": {
  11129. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11130. }
  11131. },
  11132. "500": {
  11133. "description": "Internal Server Error",
  11134. "schema": {
  11135. "$ref": "#/definitions/app.Response"
  11136. }
  11137. }
  11138. }
  11139. }
  11140. },
  11141. "/SZDZ/QueryGoodsPickup": {
  11142. "get": {
  11143. "security": [
  11144. {
  11145. "ApiKeyAuth": []
  11146. }
  11147. ],
  11148. "produces": [
  11149. "application/json"
  11150. ],
  11151. "tags": [
  11152. "定制【尚志大宗】"
  11153. ],
  11154. "summary": "商品提货单查询",
  11155. "parameters": [
  11156. {
  11157. "type": "string",
  11158. "description": "资金账户 - 格式:1,2,3",
  11159. "name": "accountID",
  11160. "in": "query",
  11161. "required": true
  11162. },
  11163. {
  11164. "type": "integer",
  11165. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11166. "name": "takeOrderStatus",
  11167. "in": "query"
  11168. }
  11169. ],
  11170. "responses": {
  11171. "200": {
  11172. "description": "OK",
  11173. "schema": {
  11174. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11175. }
  11176. },
  11177. "500": {
  11178. "description": "Internal Server Error",
  11179. "schema": {
  11180. "$ref": "#/definitions/app.Response"
  11181. }
  11182. }
  11183. }
  11184. }
  11185. },
  11186. "/SZDZ/QueryRecieptOrder": {
  11187. "get": {
  11188. "security": [
  11189. {
  11190. "ApiKeyAuth": []
  11191. }
  11192. ],
  11193. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11194. "produces": [
  11195. "application/json"
  11196. ],
  11197. "tags": [
  11198. "定制【尚志大宗】"
  11199. ],
  11200. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11201. "parameters": [
  11202. {
  11203. "type": "integer",
  11204. "description": "页码",
  11205. "name": "page",
  11206. "in": "query"
  11207. },
  11208. {
  11209. "type": "integer",
  11210. "description": "每页条数",
  11211. "name": "pagesize",
  11212. "in": "query"
  11213. },
  11214. {
  11215. "type": "integer",
  11216. "description": "商品ID",
  11217. "name": "goodsID",
  11218. "in": "query",
  11219. "required": true
  11220. },
  11221. {
  11222. "type": "string",
  11223. "description": "所属账户名称",
  11224. "name": "accountName",
  11225. "in": "query"
  11226. },
  11227. {
  11228. "type": "integer",
  11229. "description": "市场ID",
  11230. "name": "marketID",
  11231. "in": "query"
  11232. },
  11233. {
  11234. "type": "integer",
  11235. "description": "方向 - 0:买 1:卖",
  11236. "name": "buyorsell",
  11237. "in": "query",
  11238. "required": true
  11239. }
  11240. ],
  11241. "responses": {
  11242. "200": {
  11243. "description": "OK",
  11244. "schema": {
  11245. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  11246. }
  11247. },
  11248. "500": {
  11249. "description": "Internal Server Error",
  11250. "schema": {
  11251. "$ref": "#/definitions/app.Response"
  11252. }
  11253. }
  11254. }
  11255. }
  11256. },
  11257. "/SZDZ/QuerySZDZTradePosition": {
  11258. "get": {
  11259. "security": [
  11260. {
  11261. "ApiKeyAuth": []
  11262. }
  11263. ],
  11264. "produces": [
  11265. "application/json"
  11266. ],
  11267. "tags": [
  11268. "定制【尚志大宗】"
  11269. ],
  11270. "summary": "持仓汇总查询(尚志大宗)",
  11271. "parameters": [
  11272. {
  11273. "type": "integer",
  11274. "description": "资金账户",
  11275. "name": "accountID",
  11276. "in": "query",
  11277. "required": true
  11278. }
  11279. ],
  11280. "responses": {
  11281. "200": {
  11282. "description": "OK",
  11283. "schema": {
  11284. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  11285. }
  11286. },
  11287. "500": {
  11288. "description": "Internal Server Error",
  11289. "schema": {
  11290. "$ref": "#/definitions/app.Response"
  11291. }
  11292. }
  11293. }
  11294. }
  11295. },
  11296. "/SZDZ/SearchWhite": {
  11297. "get": {
  11298. "security": [
  11299. {
  11300. "ApiKeyAuth": []
  11301. }
  11302. ],
  11303. "produces": [
  11304. "application/json"
  11305. ],
  11306. "tags": [
  11307. "定制【尚志大宗】"
  11308. ],
  11309. "summary": "搜索白名单",
  11310. "parameters": [
  11311. {
  11312. "type": "integer",
  11313. "description": "用户ID",
  11314. "name": "userID",
  11315. "in": "query",
  11316. "required": true
  11317. }
  11318. ],
  11319. "responses": {
  11320. "200": {
  11321. "description": "OK",
  11322. "schema": {
  11323. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11324. }
  11325. },
  11326. "500": {
  11327. "description": "Internal Server Error",
  11328. "schema": {
  11329. "$ref": "#/definitions/app.Response"
  11330. }
  11331. }
  11332. }
  11333. }
  11334. },
  11335. "/Search/SearchGoodses": {
  11336. "get": {
  11337. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11338. "produces": [
  11339. "application/json"
  11340. ],
  11341. "tags": [
  11342. "检索服务"
  11343. ],
  11344. "summary": "检索商品信息",
  11345. "parameters": [
  11346. {
  11347. "type": "string",
  11348. "description": "检索内容",
  11349. "name": "content",
  11350. "in": "query",
  11351. "required": true
  11352. },
  11353. {
  11354. "type": "string",
  11355. "description": "交易模式,格式:1,2,3",
  11356. "name": "tradeModes",
  11357. "in": "query"
  11358. }
  11359. ],
  11360. "responses": {
  11361. "200": {
  11362. "description": "OK",
  11363. "schema": {
  11364. "$ref": "#/definitions/models.SearchGoods"
  11365. }
  11366. },
  11367. "500": {
  11368. "description": "Internal Server Error",
  11369. "schema": {
  11370. "$ref": "#/definitions/app.Response"
  11371. }
  11372. }
  11373. }
  11374. }
  11375. },
  11376. "/TaAccount/GetTaAccounts": {
  11377. "get": {
  11378. "security": [
  11379. {
  11380. "ApiKeyAuth": []
  11381. }
  11382. ],
  11383. "produces": [
  11384. "application/json"
  11385. ],
  11386. "tags": [
  11387. "资金账户"
  11388. ],
  11389. "summary": "获取资金账户信息",
  11390. "parameters": [
  11391. {
  11392. "type": "integer",
  11393. "description": "登录账户",
  11394. "name": "loginID",
  11395. "in": "query",
  11396. "required": true
  11397. },
  11398. {
  11399. "type": "integer",
  11400. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  11401. "name": "taAccountType",
  11402. "in": "query"
  11403. }
  11404. ],
  11405. "responses": {
  11406. "200": {
  11407. "description": "OK",
  11408. "schema": {
  11409. "$ref": "#/definitions/models.Taaccount"
  11410. }
  11411. },
  11412. "500": {
  11413. "description": "Internal Server Error",
  11414. "schema": {
  11415. "$ref": "#/definitions/app.Response"
  11416. }
  11417. }
  11418. }
  11419. }
  11420. },
  11421. "/TaAccount/QueryAmountLog": {
  11422. "get": {
  11423. "security": [
  11424. {
  11425. "ApiKeyAuth": []
  11426. }
  11427. ],
  11428. "produces": [
  11429. "application/json"
  11430. ],
  11431. "tags": [
  11432. "资金账户"
  11433. ],
  11434. "summary": "资金流水查询(当前)",
  11435. "parameters": [
  11436. {
  11437. "type": "integer",
  11438. "description": "页码",
  11439. "name": "page",
  11440. "in": "query"
  11441. },
  11442. {
  11443. "type": "integer",
  11444. "description": "每页条数",
  11445. "name": "pagesize",
  11446. "in": "query"
  11447. },
  11448. {
  11449. "type": "string",
  11450. "description": "资金账户 - 格式:1,2,3",
  11451. "name": "accountID",
  11452. "in": "query",
  11453. "required": true
  11454. },
  11455. {
  11456. "type": "string",
  11457. "description": "资金操作类型 - 格式:1,2,3",
  11458. "name": "OperateType",
  11459. "in": "query"
  11460. }
  11461. ],
  11462. "responses": {
  11463. "200": {
  11464. "description": "OK",
  11465. "schema": {
  11466. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11467. }
  11468. },
  11469. "500": {
  11470. "description": "Internal Server Error",
  11471. "schema": {
  11472. "$ref": "#/definitions/app.Response"
  11473. }
  11474. }
  11475. }
  11476. }
  11477. },
  11478. "/TaAccount/QueryHisAmountLog": {
  11479. "get": {
  11480. "security": [
  11481. {
  11482. "ApiKeyAuth": []
  11483. }
  11484. ],
  11485. "produces": [
  11486. "application/json"
  11487. ],
  11488. "tags": [
  11489. "资金账户"
  11490. ],
  11491. "summary": "资金流水查询(历史)",
  11492. "parameters": [
  11493. {
  11494. "type": "integer",
  11495. "description": "页码",
  11496. "name": "page",
  11497. "in": "query"
  11498. },
  11499. {
  11500. "type": "integer",
  11501. "description": "每页条数",
  11502. "name": "pagesize",
  11503. "in": "query"
  11504. },
  11505. {
  11506. "type": "string",
  11507. "description": "资金账户 - 格式:1,2,3",
  11508. "name": "accountID",
  11509. "in": "query",
  11510. "required": true
  11511. },
  11512. {
  11513. "type": "string",
  11514. "description": "资金操作类型 - 格式:1,2,3",
  11515. "name": "OperateType",
  11516. "in": "query"
  11517. },
  11518. {
  11519. "type": "string",
  11520. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11521. "name": "startDate",
  11522. "in": "query"
  11523. },
  11524. {
  11525. "type": "string",
  11526. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11527. "name": "endDate",
  11528. "in": "query"
  11529. }
  11530. ],
  11531. "responses": {
  11532. "200": {
  11533. "description": "OK",
  11534. "schema": {
  11535. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11536. }
  11537. },
  11538. "500": {
  11539. "description": "Internal Server Error",
  11540. "schema": {
  11541. "$ref": "#/definitions/app.Response"
  11542. }
  11543. }
  11544. }
  11545. }
  11546. },
  11547. "/TaAccount/QueryRelatedTaAccount": {
  11548. "get": {
  11549. "security": [
  11550. {
  11551. "ApiKeyAuth": []
  11552. }
  11553. ],
  11554. "produces": [
  11555. "application/json"
  11556. ],
  11557. "tags": [
  11558. "资金账户"
  11559. ],
  11560. "summary": "查询关联资金账户信息",
  11561. "parameters": [
  11562. {
  11563. "type": "integer",
  11564. "description": "关联UserID",
  11565. "name": "relateduserid",
  11566. "in": "query",
  11567. "required": true
  11568. }
  11569. ],
  11570. "responses": {
  11571. "200": {
  11572. "description": "OK",
  11573. "schema": {
  11574. "type": "array",
  11575. "items": {
  11576. "$ref": "#/definitions/models.RelatedTaAccount"
  11577. }
  11578. }
  11579. },
  11580. "500": {
  11581. "description": "Internal Server Error",
  11582. "schema": {
  11583. "$ref": "#/definitions/app.Response"
  11584. }
  11585. }
  11586. }
  11587. }
  11588. },
  11589. "/Tjmd/QueryQuoteGoodsList": {
  11590. "get": {
  11591. "security": [
  11592. {
  11593. "ApiKeyAuth": []
  11594. }
  11595. ],
  11596. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11597. "produces": [
  11598. "application/json"
  11599. ],
  11600. "tags": [
  11601. "天津麦顿"
  11602. ],
  11603. "summary": "查询掉期报价列表",
  11604. "parameters": [
  11605. {
  11606. "type": "integer",
  11607. "description": "用户类型",
  11608. "name": "usertype",
  11609. "in": "query",
  11610. "required": true
  11611. },
  11612. {
  11613. "type": "string",
  11614. "description": "市场id, 格式 1,2,3",
  11615. "name": "marketids",
  11616. "in": "query"
  11617. },
  11618. {
  11619. "type": "integer",
  11620. "description": "商品组id",
  11621. "name": "goodsgroupid",
  11622. "in": "query"
  11623. },
  11624. {
  11625. "type": "integer",
  11626. "description": "商品id",
  11627. "name": "goodsid",
  11628. "in": "query"
  11629. }
  11630. ],
  11631. "responses": {
  11632. "200": {
  11633. "description": "OK",
  11634. "schema": {
  11635. "type": "array",
  11636. "items": {
  11637. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11638. }
  11639. }
  11640. },
  11641. "500": {
  11642. "description": "Internal Server Error",
  11643. "schema": {
  11644. "$ref": "#/definitions/app.Response"
  11645. }
  11646. }
  11647. }
  11648. }
  11649. },
  11650. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  11651. "get": {
  11652. "security": [
  11653. {
  11654. "ApiKeyAuth": []
  11655. }
  11656. ],
  11657. "produces": [
  11658. "application/json"
  11659. ],
  11660. "tags": [
  11661. "天津麦顿"
  11662. ],
  11663. "summary": "掉期商品订单详情(交易确认书)",
  11664. "parameters": [
  11665. {
  11666. "type": "string",
  11667. "description": "成交单号",
  11668. "name": "tradeid",
  11669. "in": "query",
  11670. "required": true
  11671. }
  11672. ],
  11673. "responses": {
  11674. "200": {
  11675. "description": "OK",
  11676. "schema": {
  11677. "type": "array",
  11678. "items": {
  11679. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  11680. }
  11681. }
  11682. },
  11683. "500": {
  11684. "description": "Internal Server Error",
  11685. "schema": {
  11686. "$ref": "#/definitions/app.Response"
  11687. }
  11688. }
  11689. }
  11690. }
  11691. },
  11692. "/Tjmd/QueryTjmdMarketSection": {
  11693. "get": {
  11694. "security": [
  11695. {
  11696. "ApiKeyAuth": []
  11697. }
  11698. ],
  11699. "produces": [
  11700. "application/json"
  11701. ],
  11702. "tags": [
  11703. "天津麦顿"
  11704. ],
  11705. "summary": "查询市场板块",
  11706. "responses": {
  11707. "200": {
  11708. "description": "OK",
  11709. "schema": {
  11710. "type": "array",
  11711. "items": {
  11712. "$ref": "#/definitions/models.TjmdMarketSection"
  11713. }
  11714. }
  11715. },
  11716. "500": {
  11717. "description": "Internal Server Error",
  11718. "schema": {
  11719. "$ref": "#/definitions/app.Response"
  11720. }
  11721. }
  11722. }
  11723. }
  11724. },
  11725. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11726. "get": {
  11727. "security": [
  11728. {
  11729. "ApiKeyAuth": []
  11730. }
  11731. ],
  11732. "produces": [
  11733. "application/json"
  11734. ],
  11735. "tags": [
  11736. "天津麦顿"
  11737. ],
  11738. "summary": "查询今日账户保证金配置",
  11739. "parameters": [
  11740. {
  11741. "type": "string",
  11742. "description": "市场id",
  11743. "name": "marketid",
  11744. "in": "query"
  11745. },
  11746. {
  11747. "type": "string",
  11748. "description": "商品id",
  11749. "name": "goodsid",
  11750. "in": "query"
  11751. },
  11752. {
  11753. "type": "string",
  11754. "description": "资金账号",
  11755. "name": "accountid",
  11756. "in": "query"
  11757. }
  11758. ],
  11759. "responses": {
  11760. "200": {
  11761. "description": "OK",
  11762. "schema": {
  11763. "type": "array",
  11764. "items": {
  11765. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11766. }
  11767. }
  11768. },
  11769. "500": {
  11770. "description": "Internal Server Error",
  11771. "schema": {
  11772. "$ref": "#/definitions/app.Response"
  11773. }
  11774. }
  11775. }
  11776. }
  11777. },
  11778. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11779. "get": {
  11780. "security": [
  11781. {
  11782. "ApiKeyAuth": []
  11783. }
  11784. ],
  11785. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11786. "produces": [
  11787. "application/json"
  11788. ],
  11789. "tags": [
  11790. "天津麦顿"
  11791. ],
  11792. "summary": "查询掉期买卖大厅",
  11793. "parameters": [
  11794. {
  11795. "type": "integer",
  11796. "description": "页码",
  11797. "name": "page",
  11798. "in": "query"
  11799. },
  11800. {
  11801. "type": "integer",
  11802. "description": "每页条数",
  11803. "name": "pagesize",
  11804. "in": "query"
  11805. },
  11806. {
  11807. "type": "integer",
  11808. "description": "用户id",
  11809. "name": "userid",
  11810. "in": "query",
  11811. "required": true
  11812. },
  11813. {
  11814. "type": "integer",
  11815. "description": "用户类型",
  11816. "name": "usertype",
  11817. "in": "query",
  11818. "required": true
  11819. },
  11820. {
  11821. "type": "string",
  11822. "description": "市场id, 格式 1,2,3",
  11823. "name": "marketids",
  11824. "in": "query"
  11825. },
  11826. {
  11827. "type": "integer",
  11828. "description": "商品id",
  11829. "name": "goodsid",
  11830. "in": "query",
  11831. "required": true
  11832. },
  11833. {
  11834. "type": "integer",
  11835. "description": "买卖方向 0-买 1-卖",
  11836. "name": "buyorsell",
  11837. "in": "query",
  11838. "required": true
  11839. }
  11840. ],
  11841. "responses": {
  11842. "200": {
  11843. "description": "OK",
  11844. "schema": {
  11845. "type": "array",
  11846. "items": {
  11847. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11848. }
  11849. }
  11850. },
  11851. "500": {
  11852. "description": "Internal Server Error",
  11853. "schema": {
  11854. "$ref": "#/definitions/app.Response"
  11855. }
  11856. }
  11857. }
  11858. }
  11859. },
  11860. "/Tjmd/QueryTjmdTransferApply": {
  11861. "get": {
  11862. "security": [
  11863. {
  11864. "ApiKeyAuth": []
  11865. }
  11866. ],
  11867. "produces": [
  11868. "application/json"
  11869. ],
  11870. "tags": [
  11871. "天津麦顿"
  11872. ],
  11873. "summary": "查询掉期协议单",
  11874. "parameters": [
  11875. {
  11876. "type": "integer",
  11877. "description": "类型 1-我的申请 2-对方申请",
  11878. "name": "applytype",
  11879. "in": "query",
  11880. "required": true
  11881. },
  11882. {
  11883. "type": "string",
  11884. "description": "市场id, 格式 1,2,3",
  11885. "name": "marketids",
  11886. "in": "query"
  11887. },
  11888. {
  11889. "type": "string",
  11890. "description": "资金账号, 格式 25000000001,25000000003",
  11891. "name": "accountids",
  11892. "in": "query"
  11893. },
  11894. {
  11895. "type": "string",
  11896. "description": "开始交易日(yyyymmdd)",
  11897. "name": "begindate",
  11898. "in": "query"
  11899. },
  11900. {
  11901. "type": "string",
  11902. "description": "结束交易日(yyyymmdd)",
  11903. "name": "enddate",
  11904. "in": "query"
  11905. }
  11906. ],
  11907. "responses": {
  11908. "200": {
  11909. "description": "OK",
  11910. "schema": {
  11911. "type": "array",
  11912. "items": {
  11913. "$ref": "#/definitions/models.TjmdTransferApply"
  11914. }
  11915. }
  11916. },
  11917. "500": {
  11918. "description": "Internal Server Error",
  11919. "schema": {
  11920. "$ref": "#/definitions/app.Response"
  11921. }
  11922. }
  11923. }
  11924. }
  11925. },
  11926. "/Trade/QueryRecieptOrder": {
  11927. "get": {
  11928. "security": [
  11929. {
  11930. "ApiKeyAuth": []
  11931. }
  11932. ],
  11933. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11934. "produces": [
  11935. "application/json"
  11936. ],
  11937. "tags": [
  11938. "通用交易"
  11939. ],
  11940. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11941. "parameters": [
  11942. {
  11943. "type": "integer",
  11944. "description": "页码",
  11945. "name": "page",
  11946. "in": "query"
  11947. },
  11948. {
  11949. "type": "integer",
  11950. "description": "每页条数",
  11951. "name": "pagesize",
  11952. "in": "query"
  11953. },
  11954. {
  11955. "type": "integer",
  11956. "description": "商品ID",
  11957. "name": "goodsID",
  11958. "in": "query",
  11959. "required": true
  11960. },
  11961. {
  11962. "type": "string",
  11963. "description": "所属账户名称",
  11964. "name": "accountName",
  11965. "in": "query"
  11966. },
  11967. {
  11968. "type": "integer",
  11969. "description": "市场ID",
  11970. "name": "marketID",
  11971. "in": "query"
  11972. },
  11973. {
  11974. "type": "integer",
  11975. "description": "方向 - 0:买 1:卖",
  11976. "name": "buyorsell",
  11977. "in": "query",
  11978. "required": true
  11979. }
  11980. ],
  11981. "responses": {
  11982. "200": {
  11983. "description": "OK",
  11984. "schema": {
  11985. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11986. }
  11987. },
  11988. "500": {
  11989. "description": "Internal Server Error",
  11990. "schema": {
  11991. "$ref": "#/definitions/app.Response"
  11992. }
  11993. }
  11994. }
  11995. }
  11996. },
  11997. "/User/AddMessageBoard": {
  11998. "post": {
  11999. "security": [
  12000. {
  12001. "ApiKeyAuth": []
  12002. }
  12003. ],
  12004. "produces": [
  12005. "application/json"
  12006. ],
  12007. "tags": [
  12008. "用户信息"
  12009. ],
  12010. "summary": "添加用户留言板信息",
  12011. "parameters": [
  12012. {
  12013. "type": "integer",
  12014. "description": "用户ID",
  12015. "name": "userID",
  12016. "in": "query",
  12017. "required": true
  12018. },
  12019. {
  12020. "type": "string",
  12021. "description": "留言信息",
  12022. "name": "message",
  12023. "in": "query",
  12024. "required": true
  12025. },
  12026. {
  12027. "type": "string",
  12028. "description": "联系电话",
  12029. "name": "contactNum",
  12030. "in": "query",
  12031. "required": true
  12032. }
  12033. ],
  12034. "responses": {
  12035. "200": {
  12036. "description": "OK",
  12037. "schema": {
  12038. "$ref": "#/definitions/app.Response"
  12039. }
  12040. },
  12041. "500": {
  12042. "description": "Internal Server Error",
  12043. "schema": {
  12044. "$ref": "#/definitions/app.Response"
  12045. }
  12046. }
  12047. }
  12048. }
  12049. },
  12050. "/User/AddUserFavoriteGoods": {
  12051. "post": {
  12052. "security": [
  12053. {
  12054. "ApiKeyAuth": []
  12055. }
  12056. ],
  12057. "produces": [
  12058. "application/json"
  12059. ],
  12060. "tags": [
  12061. "用户信息"
  12062. ],
  12063. "summary": "添加用户商品收藏信息",
  12064. "parameters": [
  12065. {
  12066. "type": "integer",
  12067. "description": "用户ID",
  12068. "name": "userID",
  12069. "in": "query",
  12070. "required": true
  12071. },
  12072. {
  12073. "type": "integer",
  12074. "description": "商品ID",
  12075. "name": "goodsID",
  12076. "in": "query",
  12077. "required": true
  12078. }
  12079. ],
  12080. "responses": {
  12081. "200": {
  12082. "description": "OK",
  12083. "schema": {
  12084. "$ref": "#/definitions/app.Response"
  12085. }
  12086. },
  12087. "500": {
  12088. "description": "Internal Server Error",
  12089. "schema": {
  12090. "$ref": "#/definitions/app.Response"
  12091. }
  12092. }
  12093. }
  12094. }
  12095. },
  12096. "/User/GetLoginID": {
  12097. "get": {
  12098. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12099. "produces": [
  12100. "application/json"
  12101. ],
  12102. "tags": [
  12103. "用户信息"
  12104. ],
  12105. "summary": "获取登录ID",
  12106. "parameters": [
  12107. {
  12108. "type": "string",
  12109. "description": "登录代码",
  12110. "name": "username",
  12111. "in": "query",
  12112. "required": true
  12113. }
  12114. ],
  12115. "responses": {
  12116. "200": {
  12117. "description": "OK",
  12118. "schema": {
  12119. "$ref": "#/definitions/app.Response"
  12120. }
  12121. },
  12122. "500": {
  12123. "description": "Internal Server Error",
  12124. "schema": {
  12125. "$ref": "#/definitions/app.Response"
  12126. }
  12127. }
  12128. }
  12129. }
  12130. },
  12131. "/User/GetUserAccount": {
  12132. "get": {
  12133. "security": [
  12134. {
  12135. "ApiKeyAuth": []
  12136. }
  12137. ],
  12138. "produces": [
  12139. "application/json"
  12140. ],
  12141. "tags": [
  12142. "用户信息"
  12143. ],
  12144. "summary": "获取用户账号信息",
  12145. "parameters": [
  12146. {
  12147. "type": "integer",
  12148. "description": "用户ID",
  12149. "name": "userID",
  12150. "in": "query",
  12151. "required": true
  12152. }
  12153. ],
  12154. "responses": {
  12155. "200": {
  12156. "description": "OK",
  12157. "schema": {
  12158. "$ref": "#/definitions/models.Useraccount"
  12159. }
  12160. },
  12161. "500": {
  12162. "description": "Internal Server Error",
  12163. "schema": {
  12164. "$ref": "#/definitions/app.Response"
  12165. }
  12166. }
  12167. }
  12168. }
  12169. },
  12170. "/User/GetUserAuthStatus": {
  12171. "get": {
  12172. "security": [
  12173. {
  12174. "ApiKeyAuth": []
  12175. }
  12176. ],
  12177. "produces": [
  12178. "application/json"
  12179. ],
  12180. "tags": [
  12181. "用户信息"
  12182. ],
  12183. "summary": "获取用户实名认证状态",
  12184. "parameters": [
  12185. {
  12186. "type": "integer",
  12187. "description": "用户ID",
  12188. "name": "userID",
  12189. "in": "query",
  12190. "required": true
  12191. }
  12192. ],
  12193. "responses": {
  12194. "200": {
  12195. "description": "OK",
  12196. "schema": {
  12197. "$ref": "#/definitions/app.Response"
  12198. }
  12199. },
  12200. "500": {
  12201. "description": "Internal Server Error",
  12202. "schema": {
  12203. "$ref": "#/definitions/app.Response"
  12204. }
  12205. }
  12206. }
  12207. }
  12208. },
  12209. "/User/LoginQuery": {
  12210. "get": {
  12211. "security": [
  12212. {
  12213. "ApiKeyAuth": []
  12214. }
  12215. ],
  12216. "produces": [
  12217. "application/json"
  12218. ],
  12219. "tags": [
  12220. "用户信息"
  12221. ],
  12222. "summary": "账户登录后信息查询",
  12223. "parameters": [
  12224. {
  12225. "type": "integer",
  12226. "description": "登录账号",
  12227. "name": "loginID",
  12228. "in": "query",
  12229. "required": true
  12230. }
  12231. ],
  12232. "responses": {
  12233. "200": {
  12234. "description": "OK",
  12235. "schema": {
  12236. "$ref": "#/definitions/user.LoginQueryRsp"
  12237. }
  12238. },
  12239. "500": {
  12240. "description": "Internal Server Error",
  12241. "schema": {
  12242. "$ref": "#/definitions/app.Response"
  12243. }
  12244. }
  12245. }
  12246. }
  12247. },
  12248. "/User/QueryMessageBoard": {
  12249. "get": {
  12250. "security": [
  12251. {
  12252. "ApiKeyAuth": []
  12253. }
  12254. ],
  12255. "produces": [
  12256. "application/json"
  12257. ],
  12258. "tags": [
  12259. "用户信息"
  12260. ],
  12261. "summary": "获取用户留言板信息",
  12262. "parameters": [
  12263. {
  12264. "type": "integer",
  12265. "description": "用户ID",
  12266. "name": "userID",
  12267. "in": "query",
  12268. "required": true
  12269. }
  12270. ],
  12271. "responses": {
  12272. "200": {
  12273. "description": "OK",
  12274. "schema": {
  12275. "$ref": "#/definitions/models.Messageboard"
  12276. }
  12277. },
  12278. "500": {
  12279. "description": "Internal Server Error",
  12280. "schema": {
  12281. "$ref": "#/definitions/app.Response"
  12282. }
  12283. }
  12284. }
  12285. }
  12286. },
  12287. "/User/QueryUserFavoriteGoodses": {
  12288. "get": {
  12289. "security": [
  12290. {
  12291. "ApiKeyAuth": []
  12292. }
  12293. ],
  12294. "produces": [
  12295. "application/json"
  12296. ],
  12297. "tags": [
  12298. "用户信息"
  12299. ],
  12300. "summary": "获取用户商品收藏信息",
  12301. "parameters": [
  12302. {
  12303. "type": "integer",
  12304. "description": "用户ID",
  12305. "name": "userID",
  12306. "in": "query",
  12307. "required": true
  12308. }
  12309. ],
  12310. "responses": {
  12311. "200": {
  12312. "description": "OK",
  12313. "schema": {
  12314. "$ref": "#/definitions/models.Userfavoritegoods"
  12315. }
  12316. },
  12317. "500": {
  12318. "description": "Internal Server Error",
  12319. "schema": {
  12320. "$ref": "#/definitions/app.Response"
  12321. }
  12322. }
  12323. }
  12324. }
  12325. },
  12326. "/User/QueryUserInfo": {
  12327. "get": {
  12328. "security": [
  12329. {
  12330. "ApiKeyAuth": []
  12331. }
  12332. ],
  12333. "produces": [
  12334. "application/json"
  12335. ],
  12336. "tags": [
  12337. "用户信息"
  12338. ],
  12339. "summary": "获取用户信息",
  12340. "parameters": [
  12341. {
  12342. "type": "integer",
  12343. "description": "用户ID",
  12344. "name": "userID",
  12345. "in": "query",
  12346. "required": true
  12347. },
  12348. {
  12349. "type": "boolean",
  12350. "description": "是否解密",
  12351. "name": "isDecrypt",
  12352. "in": "query"
  12353. }
  12354. ],
  12355. "responses": {
  12356. "200": {
  12357. "description": "OK",
  12358. "schema": {
  12359. "$ref": "#/definitions/models.Userinfo"
  12360. }
  12361. },
  12362. "500": {
  12363. "description": "Internal Server Error",
  12364. "schema": {
  12365. "$ref": "#/definitions/app.Response"
  12366. }
  12367. }
  12368. }
  12369. }
  12370. },
  12371. "/User/QueryUserReferNum": {
  12372. "get": {
  12373. "produces": [
  12374. "application/json"
  12375. ],
  12376. "tags": [
  12377. "用户信息"
  12378. ],
  12379. "summary": "获取用户邀请码",
  12380. "parameters": [
  12381. {
  12382. "type": "integer",
  12383. "description": "用户ID",
  12384. "name": "userID",
  12385. "in": "query",
  12386. "required": true
  12387. }
  12388. ],
  12389. "responses": {
  12390. "200": {
  12391. "description": "OK",
  12392. "schema": {
  12393. "$ref": "#/definitions/app.Response"
  12394. }
  12395. },
  12396. "500": {
  12397. "description": "Internal Server Error",
  12398. "schema": {
  12399. "$ref": "#/definitions/app.Response"
  12400. }
  12401. }
  12402. }
  12403. }
  12404. },
  12405. "/User/RemoveUserFavoriteGoods": {
  12406. "post": {
  12407. "security": [
  12408. {
  12409. "ApiKeyAuth": []
  12410. }
  12411. ],
  12412. "produces": [
  12413. "application/json"
  12414. ],
  12415. "tags": [
  12416. "用户信息"
  12417. ],
  12418. "summary": "移除用户商品收藏信息",
  12419. "parameters": [
  12420. {
  12421. "type": "integer",
  12422. "description": "用户ID",
  12423. "name": "userID",
  12424. "in": "query",
  12425. "required": true
  12426. },
  12427. {
  12428. "type": "integer",
  12429. "description": "商品ID",
  12430. "name": "goodsID",
  12431. "in": "query",
  12432. "required": true
  12433. }
  12434. ],
  12435. "responses": {
  12436. "200": {
  12437. "description": "OK",
  12438. "schema": {
  12439. "$ref": "#/definitions/app.Response"
  12440. }
  12441. },
  12442. "500": {
  12443. "description": "Internal Server Error",
  12444. "schema": {
  12445. "$ref": "#/definitions/app.Response"
  12446. }
  12447. }
  12448. }
  12449. }
  12450. },
  12451. "/User/UpdateUserAccountStatus": {
  12452. "post": {
  12453. "security": [
  12454. {
  12455. "ApiKeyAuth": []
  12456. }
  12457. ],
  12458. "produces": [
  12459. "application/json"
  12460. ],
  12461. "tags": [
  12462. "用户信息"
  12463. ],
  12464. "summary": "更新用户状态",
  12465. "parameters": [
  12466. {
  12467. "type": "integer",
  12468. "description": "用户ID",
  12469. "name": "userID",
  12470. "in": "query",
  12471. "required": true
  12472. },
  12473. {
  12474. "type": "integer",
  12475. "description": "账户状态 - 4:正常 6:注销(停用)",
  12476. "name": "accountStatus",
  12477. "in": "query",
  12478. "required": true
  12479. }
  12480. ],
  12481. "responses": {
  12482. "200": {
  12483. "description": "OK",
  12484. "schema": {
  12485. "$ref": "#/definitions/app.Response"
  12486. }
  12487. },
  12488. "500": {
  12489. "description": "Internal Server Error",
  12490. "schema": {
  12491. "$ref": "#/definitions/app.Response"
  12492. }
  12493. }
  12494. }
  12495. }
  12496. },
  12497. "/WRTrade/GetAllDeliveryGoods": {
  12498. "get": {
  12499. "security": [
  12500. {
  12501. "ApiKeyAuth": []
  12502. }
  12503. ],
  12504. "produces": [
  12505. "application/json"
  12506. ],
  12507. "tags": [
  12508. "仓单贸易",
  12509. "仓单贸易"
  12510. ],
  12511. "summary": "获取带仓单分类的种类信息",
  12512. "responses": {
  12513. "200": {
  12514. "description": "OK",
  12515. "schema": {
  12516. "$ref": "#/definitions/app.Response"
  12517. }
  12518. },
  12519. "500": {
  12520. "description": "Internal Server Error",
  12521. "schema": {
  12522. "$ref": "#/definitions/app.Response"
  12523. }
  12524. }
  12525. }
  12526. }
  12527. },
  12528. "/WrTrade2/InsertXhcpSellBackApply": {
  12529. "post": {
  12530. "security": [
  12531. {
  12532. "ApiKeyAuth": []
  12533. }
  12534. ],
  12535. "produces": [
  12536. "application/json"
  12537. ],
  12538. "tags": [
  12539. "仓单贸易v2"
  12540. ],
  12541. "summary": "新增回收申请(新会陈皮)",
  12542. "parameters": [
  12543. {
  12544. "description": "回收申请",
  12545. "name": "jsonBody",
  12546. "in": "body",
  12547. "required": true,
  12548. "schema": {
  12549. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  12550. }
  12551. }
  12552. ],
  12553. "responses": {
  12554. "200": {
  12555. "description": "OK",
  12556. "schema": {
  12557. "$ref": "#/definitions/app.Response"
  12558. }
  12559. },
  12560. "500": {
  12561. "description": "Internal Server Error",
  12562. "schema": {
  12563. "$ref": "#/definitions/app.Response"
  12564. }
  12565. }
  12566. }
  12567. }
  12568. },
  12569. "/WrTrade2/QueryDeliveryGoodsSection": {
  12570. "get": {
  12571. "security": [
  12572. {
  12573. "ApiKeyAuth": []
  12574. }
  12575. ],
  12576. "produces": [
  12577. "application/json"
  12578. ],
  12579. "tags": [
  12580. "仓单贸易v2"
  12581. ],
  12582. "summary": "查询板块(分类)",
  12583. "responses": {
  12584. "200": {
  12585. "description": "OK",
  12586. "schema": {
  12587. "type": "array",
  12588. "items": {
  12589. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12590. }
  12591. }
  12592. },
  12593. "500": {
  12594. "description": "Internal Server Error",
  12595. "schema": {
  12596. "$ref": "#/definitions/app.Response"
  12597. }
  12598. }
  12599. }
  12600. }
  12601. },
  12602. "/WrTrade2/QueryFaProductDetail": {
  12603. "get": {
  12604. "security": [
  12605. {
  12606. "ApiKeyAuth": []
  12607. }
  12608. ],
  12609. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12610. "produces": [
  12611. "application/json"
  12612. ],
  12613. "tags": [
  12614. "仓单贸易v2"
  12615. ],
  12616. "summary": "查询融资产品列表",
  12617. "parameters": [
  12618. {
  12619. "type": "integer",
  12620. "description": "仓单要素id",
  12621. "name": "wrfactortypeid",
  12622. "in": "query",
  12623. "required": true
  12624. }
  12625. ],
  12626. "responses": {
  12627. "200": {
  12628. "description": "OK",
  12629. "schema": {
  12630. "type": "array",
  12631. "items": {
  12632. "$ref": "#/definitions/models.WrFAProductDetail"
  12633. }
  12634. }
  12635. },
  12636. "500": {
  12637. "description": "Internal Server Error",
  12638. "schema": {
  12639. "$ref": "#/definitions/app.Response"
  12640. }
  12641. }
  12642. }
  12643. }
  12644. },
  12645. "/WrTrade2/QueryFilterItem": {
  12646. "get": {
  12647. "security": [
  12648. {
  12649. "ApiKeyAuth": []
  12650. }
  12651. ],
  12652. "produces": [
  12653. "application/json"
  12654. ],
  12655. "tags": [
  12656. "仓单贸易v2"
  12657. ],
  12658. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12659. "parameters": [
  12660. {
  12661. "type": "string",
  12662. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12663. "name": "itype",
  12664. "in": "query",
  12665. "required": true
  12666. }
  12667. ],
  12668. "responses": {
  12669. "200": {
  12670. "description": "OK",
  12671. "schema": {
  12672. "type": "array",
  12673. "items": {
  12674. "$ref": "#/definitions/models.WrFilterItem"
  12675. }
  12676. }
  12677. },
  12678. "500": {
  12679. "description": "Internal Server Error",
  12680. "schema": {
  12681. "$ref": "#/definitions/app.Response"
  12682. }
  12683. }
  12684. }
  12685. }
  12686. },
  12687. "/WrTrade2/QueryFtDeliveryGoods": {
  12688. "get": {
  12689. "security": [
  12690. {
  12691. "ApiKeyAuth": []
  12692. }
  12693. ],
  12694. "produces": [
  12695. "application/json"
  12696. ],
  12697. "tags": [
  12698. "仓单贸易v2"
  12699. ],
  12700. "summary": "查询品种品类筛选框列表",
  12701. "responses": {
  12702. "200": {
  12703. "description": "OK",
  12704. "schema": {
  12705. "type": "array",
  12706. "items": {
  12707. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12708. }
  12709. }
  12710. },
  12711. "500": {
  12712. "description": "Internal Server Error",
  12713. "schema": {
  12714. "$ref": "#/definitions/app.Response"
  12715. }
  12716. }
  12717. }
  12718. }
  12719. },
  12720. "/WrTrade2/QueryHoldLB": {
  12721. "get": {
  12722. "security": [
  12723. {
  12724. "ApiKeyAuth": []
  12725. }
  12726. ],
  12727. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12728. "produces": [
  12729. "application/json"
  12730. ],
  12731. "tags": [
  12732. "仓单贸易v2"
  12733. ],
  12734. "summary": "查询仓单持有记录",
  12735. "parameters": [
  12736. {
  12737. "type": "integer",
  12738. "description": "资金账号",
  12739. "name": "accountid",
  12740. "in": "query",
  12741. "required": true
  12742. },
  12743. {
  12744. "type": "integer",
  12745. "description": "仓库id",
  12746. "name": "warehouseid",
  12747. "in": "query"
  12748. },
  12749. {
  12750. "type": "integer",
  12751. "description": "品种id",
  12752. "name": "deliverygoodsid",
  12753. "in": "query"
  12754. },
  12755. {
  12756. "type": "integer",
  12757. "description": "品类id",
  12758. "name": "wrstandardid",
  12759. "in": "query"
  12760. },
  12761. {
  12762. "type": "integer",
  12763. "description": "仓单要素id",
  12764. "name": "wrfactortypeid",
  12765. "in": "query"
  12766. },
  12767. {
  12768. "type": "string",
  12769. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12770. "name": "dgitemname",
  12771. "in": "query"
  12772. }
  12773. ],
  12774. "responses": {
  12775. "200": {
  12776. "description": "OK",
  12777. "schema": {
  12778. "type": "array",
  12779. "items": {
  12780. "$ref": "#/definitions/models.WrHoldLB"
  12781. }
  12782. }
  12783. },
  12784. "500": {
  12785. "description": "Internal Server Error",
  12786. "schema": {
  12787. "$ref": "#/definitions/app.Response"
  12788. }
  12789. }
  12790. }
  12791. }
  12792. },
  12793. "/WrTrade2/QueryOrderQuote": {
  12794. "get": {
  12795. "security": [
  12796. {
  12797. "ApiKeyAuth": []
  12798. }
  12799. ],
  12800. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12801. "produces": [
  12802. "application/json"
  12803. ],
  12804. "tags": [
  12805. "仓单贸易v2"
  12806. ],
  12807. "summary": "查询大厅行情列表",
  12808. "parameters": [
  12809. {
  12810. "type": "integer",
  12811. "description": "页码",
  12812. "name": "page",
  12813. "in": "query"
  12814. },
  12815. {
  12816. "type": "integer",
  12817. "description": "每页条数",
  12818. "name": "pagesize",
  12819. "in": "query"
  12820. },
  12821. {
  12822. "type": "integer",
  12823. "description": "仓单贸易市场id",
  12824. "name": "marketid",
  12825. "in": "query"
  12826. },
  12827. {
  12828. "type": "integer",
  12829. "description": "价格方式 - 1:固定价 2-浮动价",
  12830. "name": "wrpricetype",
  12831. "in": "query",
  12832. "required": true
  12833. },
  12834. {
  12835. "type": "integer",
  12836. "description": "0:仓单预售 1:仓单贸易",
  12837. "name": "haswr",
  12838. "in": "query"
  12839. },
  12840. {
  12841. "type": "string",
  12842. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12843. "name": "dgitemname",
  12844. "in": "query"
  12845. },
  12846. {
  12847. "type": "integer",
  12848. "description": "仓库id(筛选条件)",
  12849. "name": "warehouseid",
  12850. "in": "query"
  12851. },
  12852. {
  12853. "type": "integer",
  12854. "description": "品种id",
  12855. "name": "deliverygoodsid",
  12856. "in": "query"
  12857. },
  12858. {
  12859. "type": "integer",
  12860. "description": "品类id",
  12861. "name": "wrstandardid",
  12862. "in": "query"
  12863. },
  12864. {
  12865. "type": "integer",
  12866. "description": "品牌id(dgfactoryitemid)",
  12867. "name": "brandid",
  12868. "in": "query"
  12869. },
  12870. {
  12871. "type": "integer",
  12872. "description": "年份id(dgfactoryitemid)",
  12873. "name": "yearsid",
  12874. "in": "query"
  12875. },
  12876. {
  12877. "type": "integer",
  12878. "description": "仓单要素id",
  12879. "name": "wrfactortypeid",
  12880. "in": "query"
  12881. },
  12882. {
  12883. "type": "string",
  12884. "description": "交收月(yyyy-mm) 仓单预售填写",
  12885. "name": "deliverymonth",
  12886. "in": "query"
  12887. }
  12888. ],
  12889. "responses": {
  12890. "200": {
  12891. "description": "OK",
  12892. "schema": {
  12893. "type": "array",
  12894. "items": {
  12895. "$ref": "#/definitions/models.WrOrderQuote"
  12896. }
  12897. }
  12898. },
  12899. "500": {
  12900. "description": "Internal Server Error",
  12901. "schema": {
  12902. "$ref": "#/definitions/app.Response"
  12903. }
  12904. }
  12905. }
  12906. }
  12907. },
  12908. "/WrTrade2/QueryOrderQuoteDetail": {
  12909. "get": {
  12910. "security": [
  12911. {
  12912. "ApiKeyAuth": []
  12913. }
  12914. ],
  12915. "produces": [
  12916. "application/json"
  12917. ],
  12918. "tags": [
  12919. "仓单贸易v2"
  12920. ],
  12921. "summary": "查询买卖大厅",
  12922. "parameters": [
  12923. {
  12924. "type": "integer",
  12925. "description": "页码",
  12926. "name": "page",
  12927. "in": "query"
  12928. },
  12929. {
  12930. "type": "integer",
  12931. "description": "每页条数",
  12932. "name": "pagesize",
  12933. "in": "query"
  12934. },
  12935. {
  12936. "type": "integer",
  12937. "description": "仓单贸易市场id",
  12938. "name": "marketid",
  12939. "in": "query"
  12940. },
  12941. {
  12942. "type": "integer",
  12943. "description": "价格方式 - 1:固定价 2-浮动价",
  12944. "name": "wrpricetype",
  12945. "in": "query",
  12946. "required": true
  12947. },
  12948. {
  12949. "type": "integer",
  12950. "description": "0:仓单预售 1:仓单贸易",
  12951. "name": "haswr",
  12952. "in": "query"
  12953. },
  12954. {
  12955. "type": "integer",
  12956. "description": "仓单要素id",
  12957. "name": "wrfactortypeid",
  12958. "in": "query",
  12959. "required": true
  12960. },
  12961. {
  12962. "type": "integer",
  12963. "description": "期货商品id(浮动价方式时填)",
  12964. "name": "goodsid",
  12965. "in": "query"
  12966. },
  12967. {
  12968. "type": "integer",
  12969. "description": "买卖方向 0-买 1-卖",
  12970. "name": "buyorsell",
  12971. "in": "query",
  12972. "required": true
  12973. },
  12974. {
  12975. "type": "string",
  12976. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12977. "name": "deliverymonth",
  12978. "in": "query"
  12979. }
  12980. ],
  12981. "responses": {
  12982. "200": {
  12983. "description": "OK",
  12984. "schema": {
  12985. "type": "array",
  12986. "items": {
  12987. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12988. }
  12989. }
  12990. },
  12991. "500": {
  12992. "description": "Internal Server Error",
  12993. "schema": {
  12994. "$ref": "#/definitions/app.Response"
  12995. }
  12996. }
  12997. }
  12998. }
  12999. },
  13000. "/WrTrade2/QueryOrderQuoteMyq": {
  13001. "get": {
  13002. "security": [
  13003. {
  13004. "ApiKeyAuth": []
  13005. }
  13006. ],
  13007. "produces": [
  13008. "application/json"
  13009. ],
  13010. "tags": [
  13011. "仓单贸易v2"
  13012. ],
  13013. "summary": "查询贸易圈挂牌大厅",
  13014. "parameters": [
  13015. {
  13016. "type": "integer",
  13017. "description": "页码",
  13018. "name": "page",
  13019. "in": "query"
  13020. },
  13021. {
  13022. "type": "integer",
  13023. "description": "每页条数",
  13024. "name": "pagesize",
  13025. "in": "query"
  13026. },
  13027. {
  13028. "type": "integer",
  13029. "description": "用户id",
  13030. "name": "userid",
  13031. "in": "query",
  13032. "required": true
  13033. },
  13034. {
  13035. "type": "integer",
  13036. "description": "仓单贸易市场id",
  13037. "name": "marketid",
  13038. "in": "query"
  13039. },
  13040. {
  13041. "type": "integer",
  13042. "description": "0:仓单预售 1:仓单贸易",
  13043. "name": "haswr",
  13044. "in": "query"
  13045. },
  13046. {
  13047. "type": "integer",
  13048. "description": "买卖方向 0-买 1-卖",
  13049. "name": "buyorsell",
  13050. "in": "query",
  13051. "required": true
  13052. },
  13053. {
  13054. "type": "integer",
  13055. "description": "品种id",
  13056. "name": "deliverygoodsid",
  13057. "in": "query"
  13058. },
  13059. {
  13060. "type": "integer",
  13061. "description": "品类id",
  13062. "name": "wrstandardid",
  13063. "in": "query"
  13064. },
  13065. {
  13066. "type": "string",
  13067. "description": "交收月(yyyy-mm) 仓单预售填写",
  13068. "name": "deliverymonth",
  13069. "in": "query"
  13070. },
  13071. {
  13072. "type": "string",
  13073. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13074. "name": "dgitemname",
  13075. "in": "query"
  13076. }
  13077. ],
  13078. "responses": {
  13079. "200": {
  13080. "description": "OK",
  13081. "schema": {
  13082. "type": "array",
  13083. "items": {
  13084. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13085. }
  13086. }
  13087. },
  13088. "500": {
  13089. "description": "Internal Server Error",
  13090. "schema": {
  13091. "$ref": "#/definitions/app.Response"
  13092. }
  13093. }
  13094. }
  13095. }
  13096. },
  13097. "/WrTrade2/QueryPerformancePlan": {
  13098. "get": {
  13099. "security": [
  13100. {
  13101. "ApiKeyAuth": []
  13102. }
  13103. ],
  13104. "produces": [
  13105. "application/json"
  13106. ],
  13107. "tags": [
  13108. "仓单贸易v2"
  13109. ],
  13110. "summary": "查询履约信息",
  13111. "parameters": [
  13112. {
  13113. "type": "integer",
  13114. "description": "用户id",
  13115. "name": "userid",
  13116. "in": "query",
  13117. "required": true
  13118. },
  13119. {
  13120. "type": "integer",
  13121. "description": "买卖方向 0-买 1-卖",
  13122. "name": "buyorsell",
  13123. "in": "query",
  13124. "required": true
  13125. },
  13126. {
  13127. "type": "string",
  13128. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13129. "name": "status",
  13130. "in": "query"
  13131. },
  13132. {
  13133. "type": "string",
  13134. "description": "开始交易日(yyyymmdd)",
  13135. "name": "begindate",
  13136. "in": "query"
  13137. },
  13138. {
  13139. "type": "string",
  13140. "description": "结束交易日(yyyymmdd)",
  13141. "name": "enddate",
  13142. "in": "query"
  13143. }
  13144. ],
  13145. "responses": {
  13146. "200": {
  13147. "description": "OK",
  13148. "schema": {
  13149. "type": "array",
  13150. "items": {
  13151. "$ref": "#/definitions/models.WrPerformancePlan"
  13152. }
  13153. }
  13154. },
  13155. "500": {
  13156. "description": "Internal Server Error",
  13157. "schema": {
  13158. "$ref": "#/definitions/app.Response"
  13159. }
  13160. }
  13161. }
  13162. }
  13163. },
  13164. "/WrTrade2/QueryPermancePlanTmp": {
  13165. "get": {
  13166. "security": [
  13167. {
  13168. "ApiKeyAuth": []
  13169. }
  13170. ],
  13171. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13172. "produces": [
  13173. "application/json"
  13174. ],
  13175. "tags": [
  13176. "仓单贸易v2"
  13177. ],
  13178. "summary": "查询履约模板",
  13179. "parameters": [
  13180. {
  13181. "type": "integer",
  13182. "description": "用户id",
  13183. "name": "userid",
  13184. "in": "query"
  13185. },
  13186. {
  13187. "type": "string",
  13188. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13189. "name": "tmptype",
  13190. "in": "query"
  13191. },
  13192. {
  13193. "type": "integer",
  13194. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13195. "name": "includepub",
  13196. "in": "query"
  13197. },
  13198. {
  13199. "type": "integer",
  13200. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13201. "name": "marketid",
  13202. "in": "query"
  13203. }
  13204. ],
  13205. "responses": {
  13206. "200": {
  13207. "description": "OK",
  13208. "schema": {
  13209. "type": "array",
  13210. "items": {
  13211. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13212. }
  13213. }
  13214. },
  13215. "500": {
  13216. "description": "Internal Server Error",
  13217. "schema": {
  13218. "$ref": "#/definitions/app.Response"
  13219. }
  13220. }
  13221. }
  13222. }
  13223. },
  13224. "/WrTrade2/QuerySiteColumnDetail": {
  13225. "get": {
  13226. "security": [
  13227. {
  13228. "ApiKeyAuth": []
  13229. }
  13230. ],
  13231. "produces": [
  13232. "application/json"
  13233. ],
  13234. "tags": [
  13235. "仓单贸易v2"
  13236. ],
  13237. "summary": "查询资讯",
  13238. "parameters": [
  13239. {
  13240. "type": "integer",
  13241. "description": "页码",
  13242. "name": "page",
  13243. "in": "query"
  13244. },
  13245. {
  13246. "type": "integer",
  13247. "description": "每页条数",
  13248. "name": "pagesize",
  13249. "in": "query"
  13250. },
  13251. {
  13252. "type": "integer",
  13253. "description": "所属栏目id",
  13254. "name": "columnid",
  13255. "in": "query"
  13256. }
  13257. ],
  13258. "responses": {
  13259. "200": {
  13260. "description": "OK",
  13261. "schema": {
  13262. "type": "array",
  13263. "items": {
  13264. "$ref": "#/definitions/models.WrSiteColumnDetail"
  13265. }
  13266. }
  13267. },
  13268. "500": {
  13269. "description": "Internal Server Error",
  13270. "schema": {
  13271. "$ref": "#/definitions/app.Response"
  13272. }
  13273. }
  13274. }
  13275. }
  13276. },
  13277. "/WrTrade2/QuerySpotGroupTradeSum": {
  13278. "get": {
  13279. "security": [
  13280. {
  13281. "ApiKeyAuth": []
  13282. }
  13283. ],
  13284. "produces": [
  13285. "application/json"
  13286. ],
  13287. "tags": [
  13288. "仓单贸易v2"
  13289. ],
  13290. "summary": "查询指数",
  13291. "responses": {
  13292. "200": {
  13293. "description": "OK",
  13294. "schema": {
  13295. "type": "array",
  13296. "items": {
  13297. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  13298. }
  13299. }
  13300. },
  13301. "500": {
  13302. "description": "Internal Server Error",
  13303. "schema": {
  13304. "$ref": "#/definitions/app.Response"
  13305. }
  13306. }
  13307. }
  13308. }
  13309. },
  13310. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  13311. "get": {
  13312. "security": [
  13313. {
  13314. "ApiKeyAuth": []
  13315. }
  13316. ],
  13317. "description": "查询的结果将会按日期 从小到大 排序",
  13318. "produces": [
  13319. "application/json"
  13320. ],
  13321. "tags": [
  13322. "仓单贸易v2"
  13323. ],
  13324. "summary": "查询指数详细(价格走势图)",
  13325. "parameters": [
  13326. {
  13327. "type": "integer",
  13328. "description": "现货商品id",
  13329. "name": "deliverygoodsid",
  13330. "in": "query",
  13331. "required": true
  13332. },
  13333. {
  13334. "type": "integer",
  13335. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  13336. "name": "lastnum",
  13337. "in": "query"
  13338. }
  13339. ],
  13340. "responses": {
  13341. "200": {
  13342. "description": "OK",
  13343. "schema": {
  13344. "type": "array",
  13345. "items": {
  13346. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  13347. }
  13348. }
  13349. },
  13350. "500": {
  13351. "description": "Internal Server Error",
  13352. "schema": {
  13353. "$ref": "#/definitions/app.Response"
  13354. }
  13355. }
  13356. }
  13357. }
  13358. },
  13359. "/WrTrade2/QueryWrAverageTradePrice": {
  13360. "get": {
  13361. "security": [
  13362. {
  13363. "ApiKeyAuth": []
  13364. }
  13365. ],
  13366. "produces": [
  13367. "application/json"
  13368. ],
  13369. "tags": [
  13370. "仓单贸易v2"
  13371. ],
  13372. "summary": "查询成交价(历史走势)",
  13373. "parameters": [
  13374. {
  13375. "type": "integer",
  13376. "description": "页码",
  13377. "name": "page",
  13378. "in": "query"
  13379. },
  13380. {
  13381. "type": "integer",
  13382. "description": "每页条数",
  13383. "name": "pagesize",
  13384. "in": "query"
  13385. },
  13386. {
  13387. "type": "integer",
  13388. "description": "0:仓单预售 1:仓单贸易",
  13389. "name": "haswr",
  13390. "in": "query",
  13391. "required": true
  13392. },
  13393. {
  13394. "type": "integer",
  13395. "description": "仓单要素id",
  13396. "name": "wrfactortypeid",
  13397. "in": "query",
  13398. "required": true
  13399. }
  13400. ],
  13401. "responses": {
  13402. "200": {
  13403. "description": "OK",
  13404. "schema": {
  13405. "type": "array",
  13406. "items": {
  13407. "$ref": "#/definitions/models.WrAverageTradePrice"
  13408. }
  13409. }
  13410. },
  13411. "500": {
  13412. "description": "Internal Server Error",
  13413. "schema": {
  13414. "$ref": "#/definitions/app.Response"
  13415. }
  13416. }
  13417. }
  13418. }
  13419. },
  13420. "/WrTrade2/QueryWrBrandAndYears": {
  13421. "get": {
  13422. "security": [
  13423. {
  13424. "ApiKeyAuth": []
  13425. }
  13426. ],
  13427. "produces": [
  13428. "application/json"
  13429. ],
  13430. "tags": [
  13431. "仓单贸易v2"
  13432. ],
  13433. "summary": "查询品牌和年份",
  13434. "responses": {
  13435. "200": {
  13436. "description": "OK",
  13437. "schema": {
  13438. "type": "array",
  13439. "items": {
  13440. "$ref": "#/definitions/models.WrBrandAndYears"
  13441. }
  13442. }
  13443. },
  13444. "500": {
  13445. "description": "Internal Server Error",
  13446. "schema": {
  13447. "$ref": "#/definitions/app.Response"
  13448. }
  13449. }
  13450. }
  13451. }
  13452. },
  13453. "/WrTrade2/QueryWrBsGoodsInfo": {
  13454. "get": {
  13455. "security": [
  13456. {
  13457. "ApiKeyAuth": []
  13458. }
  13459. ],
  13460. "description": "合约交易/买卖大厅/详情",
  13461. "produces": [
  13462. "application/json"
  13463. ],
  13464. "tags": [
  13465. "仓单贸易v2"
  13466. ],
  13467. "summary": "查询合约交易买卖大厅详情",
  13468. "parameters": [
  13469. {
  13470. "type": "integer",
  13471. "description": "商品id",
  13472. "name": "goodsid",
  13473. "in": "query",
  13474. "required": true
  13475. }
  13476. ],
  13477. "responses": {
  13478. "200": {
  13479. "description": "OK",
  13480. "schema": {
  13481. "type": "array",
  13482. "items": {
  13483. "$ref": "#/definitions/models.WrBsGoodsInfo"
  13484. }
  13485. }
  13486. },
  13487. "500": {
  13488. "description": "Internal Server Error",
  13489. "schema": {
  13490. "$ref": "#/definitions/app.Response"
  13491. }
  13492. }
  13493. }
  13494. }
  13495. },
  13496. "/WrTrade2/QueryWrBuybackDetail": {
  13497. "get": {
  13498. "security": [
  13499. {
  13500. "ApiKeyAuth": []
  13501. }
  13502. ],
  13503. "produces": [
  13504. "application/json"
  13505. ],
  13506. "tags": [
  13507. "仓单贸易v2"
  13508. ],
  13509. "summary": "查询仓单回购明细",
  13510. "parameters": [
  13511. {
  13512. "type": "integer",
  13513. "description": "融资合同id",
  13514. "name": "scfcontractid",
  13515. "in": "query"
  13516. }
  13517. ],
  13518. "responses": {
  13519. "200": {
  13520. "description": "OK",
  13521. "schema": {
  13522. "type": "array",
  13523. "items": {
  13524. "$ref": "#/definitions/models.WrBuybackDetail"
  13525. }
  13526. }
  13527. },
  13528. "500": {
  13529. "description": "Internal Server Error",
  13530. "schema": {
  13531. "$ref": "#/definitions/app.Response"
  13532. }
  13533. }
  13534. }
  13535. }
  13536. },
  13537. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  13538. "get": {
  13539. "security": [
  13540. {
  13541. "ApiKeyAuth": []
  13542. }
  13543. ],
  13544. "produces": [
  13545. "application/json"
  13546. ],
  13547. "tags": [
  13548. "仓单贸易v2"
  13549. ],
  13550. "summary": "查询固定广告配置",
  13551. "responses": {
  13552. "200": {
  13553. "description": "OK",
  13554. "schema": {
  13555. "type": "array",
  13556. "items": {
  13557. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  13558. }
  13559. }
  13560. },
  13561. "500": {
  13562. "description": "Internal Server Error",
  13563. "schema": {
  13564. "$ref": "#/definitions/app.Response"
  13565. }
  13566. }
  13567. }
  13568. }
  13569. },
  13570. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  13571. "get": {
  13572. "security": [
  13573. {
  13574. "ApiKeyAuth": []
  13575. }
  13576. ],
  13577. "produces": [
  13578. "application/json"
  13579. ],
  13580. "tags": [
  13581. "仓单贸易v2"
  13582. ],
  13583. "summary": "查询合约交收可点选仓单",
  13584. "parameters": [
  13585. {
  13586. "type": "integer",
  13587. "description": "资金账号",
  13588. "name": "accountid",
  13589. "in": "query",
  13590. "required": true
  13591. },
  13592. {
  13593. "type": "integer",
  13594. "description": "商品id",
  13595. "name": "goodsid",
  13596. "in": "query",
  13597. "required": true
  13598. }
  13599. ],
  13600. "responses": {
  13601. "200": {
  13602. "description": "OK",
  13603. "schema": {
  13604. "type": "array",
  13605. "items": {
  13606. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  13607. }
  13608. }
  13609. },
  13610. "500": {
  13611. "description": "Internal Server Error",
  13612. "schema": {
  13613. "$ref": "#/definitions/app.Response"
  13614. }
  13615. }
  13616. }
  13617. }
  13618. },
  13619. "/WrTrade2/QueryWrDeliveryDetail": {
  13620. "get": {
  13621. "security": [
  13622. {
  13623. "ApiKeyAuth": []
  13624. }
  13625. ],
  13626. "produces": [
  13627. "application/json"
  13628. ],
  13629. "tags": [
  13630. "仓单贸易v2"
  13631. ],
  13632. "summary": "查询交收",
  13633. "parameters": [
  13634. {
  13635. "type": "integer",
  13636. "description": "用户id",
  13637. "name": "userid",
  13638. "in": "query",
  13639. "required": true
  13640. },
  13641. {
  13642. "type": "integer",
  13643. "description": "资金账号id",
  13644. "name": "accountid",
  13645. "in": "query"
  13646. },
  13647. {
  13648. "type": "string",
  13649. "description": "开始交易日(yyyymmdd)",
  13650. "name": "begindate",
  13651. "in": "query"
  13652. },
  13653. {
  13654. "type": "string",
  13655. "description": "结束交易日(yyyymmdd)",
  13656. "name": "enddate",
  13657. "in": "query"
  13658. }
  13659. ],
  13660. "responses": {
  13661. "200": {
  13662. "description": "OK",
  13663. "schema": {
  13664. "type": "array",
  13665. "items": {
  13666. "$ref": "#/definitions/models.WrDeliveryDetail"
  13667. }
  13668. }
  13669. },
  13670. "500": {
  13671. "description": "Internal Server Error",
  13672. "schema": {
  13673. "$ref": "#/definitions/app.Response"
  13674. }
  13675. }
  13676. }
  13677. }
  13678. },
  13679. "/WrTrade2/QueryWrDraftUserInfo": {
  13680. "get": {
  13681. "security": [
  13682. {
  13683. "ApiKeyAuth": []
  13684. }
  13685. ],
  13686. "produces": [
  13687. "application/json"
  13688. ],
  13689. "tags": [
  13690. "仓单贸易v2"
  13691. ],
  13692. "summary": "查询实名认证信息",
  13693. "parameters": [
  13694. {
  13695. "type": "integer",
  13696. "description": "用户ID",
  13697. "name": "userid",
  13698. "in": "query",
  13699. "required": true
  13700. },
  13701. {
  13702. "type": "integer",
  13703. "description": "用户状态 1:正常 2:注销",
  13704. "name": "userstatus",
  13705. "in": "query"
  13706. }
  13707. ],
  13708. "responses": {
  13709. "200": {
  13710. "description": "OK",
  13711. "schema": {
  13712. "type": "array",
  13713. "items": {
  13714. "$ref": "#/definitions/models.WrDraftUserInfo"
  13715. }
  13716. }
  13717. },
  13718. "500": {
  13719. "description": "Internal Server Error",
  13720. "schema": {
  13721. "$ref": "#/definitions/app.Response"
  13722. }
  13723. }
  13724. }
  13725. }
  13726. },
  13727. "/WrTrade2/QueryWrFactorTypeInfo": {
  13728. "get": {
  13729. "security": [
  13730. {
  13731. "ApiKeyAuth": []
  13732. }
  13733. ],
  13734. "produces": [
  13735. "application/json"
  13736. ],
  13737. "tags": [
  13738. "仓单贸易v2"
  13739. ],
  13740. "summary": "查询仓单要素详细信息",
  13741. "parameters": [
  13742. {
  13743. "type": "integer",
  13744. "description": "仓单要素id",
  13745. "name": "wrfactortypeid",
  13746. "in": "query",
  13747. "required": true
  13748. }
  13749. ],
  13750. "responses": {
  13751. "200": {
  13752. "description": "OK",
  13753. "schema": {
  13754. "type": "array",
  13755. "items": {
  13756. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13757. }
  13758. }
  13759. },
  13760. "500": {
  13761. "description": "Internal Server Error",
  13762. "schema": {
  13763. "$ref": "#/definitions/app.Response"
  13764. }
  13765. }
  13766. }
  13767. }
  13768. },
  13769. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13770. "get": {
  13771. "security": [
  13772. {
  13773. "ApiKeyAuth": []
  13774. }
  13775. ],
  13776. "produces": [
  13777. "application/json"
  13778. ],
  13779. "tags": [
  13780. "仓单贸易v2"
  13781. ],
  13782. "summary": "查询仓单要素详细信息列表项",
  13783. "parameters": [
  13784. {
  13785. "type": "integer",
  13786. "description": "仓单要素id",
  13787. "name": "wrfactortypeid",
  13788. "in": "query",
  13789. "required": true
  13790. }
  13791. ],
  13792. "responses": {
  13793. "200": {
  13794. "description": "OK",
  13795. "schema": {
  13796. "type": "array",
  13797. "items": {
  13798. "$ref": "#/definitions/models.WrTypeItem"
  13799. }
  13800. }
  13801. },
  13802. "500": {
  13803. "description": "Internal Server Error",
  13804. "schema": {
  13805. "$ref": "#/definitions/app.Response"
  13806. }
  13807. }
  13808. }
  13809. }
  13810. },
  13811. "/WrTrade2/QueryWrFinanceBuyApply": {
  13812. "get": {
  13813. "security": [
  13814. {
  13815. "ApiKeyAuth": []
  13816. }
  13817. ],
  13818. "description": "页面 融资信息+ / 申请单",
  13819. "produces": [
  13820. "application/json"
  13821. ],
  13822. "tags": [
  13823. "仓单贸易v2"
  13824. ],
  13825. "summary": "查询融资购买申请",
  13826. "parameters": [
  13827. {
  13828. "type": "integer",
  13829. "description": "用户id",
  13830. "name": "userid",
  13831. "in": "query",
  13832. "required": true
  13833. }
  13834. ],
  13835. "responses": {
  13836. "200": {
  13837. "description": "OK",
  13838. "schema": {
  13839. "type": "array",
  13840. "items": {
  13841. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13842. }
  13843. }
  13844. },
  13845. "500": {
  13846. "description": "Internal Server Error",
  13847. "schema": {
  13848. "$ref": "#/definitions/app.Response"
  13849. }
  13850. }
  13851. }
  13852. }
  13853. },
  13854. "/WrTrade2/QueryWrFriendApply": {
  13855. "get": {
  13856. "security": [
  13857. {
  13858. "ApiKeyAuth": []
  13859. }
  13860. ],
  13861. "produces": [
  13862. "application/json"
  13863. ],
  13864. "tags": [
  13865. "仓单贸易v2"
  13866. ],
  13867. "summary": "查询好友申请记录",
  13868. "parameters": [
  13869. {
  13870. "type": "integer",
  13871. "description": "用户id",
  13872. "name": "userid",
  13873. "in": "query",
  13874. "required": true
  13875. }
  13876. ],
  13877. "responses": {
  13878. "200": {
  13879. "description": "OK",
  13880. "schema": {
  13881. "type": "array",
  13882. "items": {
  13883. "$ref": "#/definitions/models.WrFriendApply"
  13884. }
  13885. }
  13886. },
  13887. "500": {
  13888. "description": "Internal Server Error",
  13889. "schema": {
  13890. "$ref": "#/definitions/app.Response"
  13891. }
  13892. }
  13893. }
  13894. }
  13895. },
  13896. "/WrTrade2/QueryWrGoodsInfo": {
  13897. "get": {
  13898. "security": [
  13899. {
  13900. "ApiKeyAuth": []
  13901. }
  13902. ],
  13903. "produces": [
  13904. "application/json"
  13905. ],
  13906. "tags": [
  13907. "仓单贸易v2"
  13908. ],
  13909. "summary": "查询仓单商品信息",
  13910. "parameters": [
  13911. {
  13912. "type": "integer",
  13913. "description": "仓单贸易市场id",
  13914. "name": "marketid",
  13915. "in": "query"
  13916. },
  13917. {
  13918. "type": "integer",
  13919. "description": "0:仓单预售 1:仓单贸易",
  13920. "name": "haswr",
  13921. "in": "query",
  13922. "required": true
  13923. },
  13924. {
  13925. "type": "integer",
  13926. "description": "仓单要素id",
  13927. "name": "wrfactortypeid",
  13928. "in": "query",
  13929. "required": true
  13930. },
  13931. {
  13932. "type": "integer",
  13933. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13934. "name": "tmplateid",
  13935. "in": "query"
  13936. }
  13937. ],
  13938. "responses": {
  13939. "200": {
  13940. "description": "OK",
  13941. "schema": {
  13942. "type": "array",
  13943. "items": {
  13944. "$ref": "#/definitions/models.WrGoodsInfo"
  13945. }
  13946. }
  13947. },
  13948. "500": {
  13949. "description": "Internal Server Error",
  13950. "schema": {
  13951. "$ref": "#/definitions/app.Response"
  13952. }
  13953. }
  13954. }
  13955. }
  13956. },
  13957. "/WrTrade2/QueryWrMarketTradeConfig": {
  13958. "get": {
  13959. "security": [
  13960. {
  13961. "ApiKeyAuth": []
  13962. }
  13963. ],
  13964. "produces": [
  13965. "application/json"
  13966. ],
  13967. "tags": [
  13968. "仓单贸易v2"
  13969. ],
  13970. "summary": "查询市场交易参数配置",
  13971. "parameters": [
  13972. {
  13973. "type": "integer",
  13974. "description": "市场id",
  13975. "name": "marketid",
  13976. "in": "query"
  13977. }
  13978. ],
  13979. "responses": {
  13980. "200": {
  13981. "description": "OK",
  13982. "schema": {
  13983. "type": "array",
  13984. "items": {
  13985. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13986. }
  13987. }
  13988. },
  13989. "500": {
  13990. "description": "Internal Server Error",
  13991. "schema": {
  13992. "$ref": "#/definitions/app.Response"
  13993. }
  13994. }
  13995. }
  13996. }
  13997. },
  13998. "/WrTrade2/QueryWrOrderDetail": {
  13999. "get": {
  14000. "security": [
  14001. {
  14002. "ApiKeyAuth": []
  14003. }
  14004. ],
  14005. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14006. "produces": [
  14007. "application/json"
  14008. ],
  14009. "tags": [
  14010. "仓单贸易v2"
  14011. ],
  14012. "summary": "查询仓单委托单",
  14013. "parameters": [
  14014. {
  14015. "type": "integer",
  14016. "description": "页码",
  14017. "name": "page",
  14018. "in": "query"
  14019. },
  14020. {
  14021. "type": "integer",
  14022. "description": "每页条数",
  14023. "name": "pagesize",
  14024. "in": "query"
  14025. },
  14026. {
  14027. "type": "integer",
  14028. "description": "用户id",
  14029. "name": "userid",
  14030. "in": "query",
  14031. "required": true
  14032. },
  14033. {
  14034. "type": "integer",
  14035. "description": "仓单贸易市场id",
  14036. "name": "marketid",
  14037. "in": "query"
  14038. },
  14039. {
  14040. "type": "integer",
  14041. "description": "0:仓单预售 1:仓单贸易",
  14042. "name": "haswr",
  14043. "in": "query",
  14044. "required": true
  14045. },
  14046. {
  14047. "type": "integer",
  14048. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14049. "name": "bcancel",
  14050. "in": "query"
  14051. },
  14052. {
  14053. "type": "integer",
  14054. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14055. "name": "wrtradetype",
  14056. "in": "query"
  14057. },
  14058. {
  14059. "type": "string",
  14060. "description": "开始交易日(yyyymmdd)",
  14061. "name": "begindate",
  14062. "in": "query"
  14063. },
  14064. {
  14065. "type": "string",
  14066. "description": "结束交易日(yyyymmdd)",
  14067. "name": "enddate",
  14068. "in": "query"
  14069. }
  14070. ],
  14071. "responses": {
  14072. "200": {
  14073. "description": "OK",
  14074. "schema": {
  14075. "type": "array",
  14076. "items": {
  14077. "$ref": "#/definitions/models.WrOrderDetail"
  14078. }
  14079. }
  14080. },
  14081. "500": {
  14082. "description": "Internal Server Error",
  14083. "schema": {
  14084. "$ref": "#/definitions/app.Response"
  14085. }
  14086. }
  14087. }
  14088. }
  14089. },
  14090. "/WrTrade2/QueryWrOutInApply": {
  14091. "get": {
  14092. "security": [
  14093. {
  14094. "ApiKeyAuth": []
  14095. }
  14096. ],
  14097. "produces": [
  14098. "application/json"
  14099. ],
  14100. "tags": [
  14101. "仓单贸易v2"
  14102. ],
  14103. "summary": "查询提货申请",
  14104. "parameters": [
  14105. {
  14106. "type": "integer",
  14107. "description": "用户id",
  14108. "name": "userid",
  14109. "in": "query",
  14110. "required": true
  14111. },
  14112. {
  14113. "type": "string",
  14114. "description": "开始交易日(yyyymmdd)",
  14115. "name": "begindate",
  14116. "in": "query"
  14117. },
  14118. {
  14119. "type": "string",
  14120. "description": "结束交易日(yyyymmdd)",
  14121. "name": "enddate",
  14122. "in": "query"
  14123. }
  14124. ],
  14125. "responses": {
  14126. "200": {
  14127. "description": "OK",
  14128. "schema": {
  14129. "type": "array",
  14130. "items": {
  14131. "$ref": "#/definitions/models.WrOutInApply"
  14132. }
  14133. }
  14134. },
  14135. "500": {
  14136. "description": "Internal Server Error",
  14137. "schema": {
  14138. "$ref": "#/definitions/app.Response"
  14139. }
  14140. }
  14141. }
  14142. }
  14143. },
  14144. "/WrTrade2/QueryWrPerformancePlanStep": {
  14145. "get": {
  14146. "security": [
  14147. {
  14148. "ApiKeyAuth": []
  14149. }
  14150. ],
  14151. "produces": [
  14152. "application/json"
  14153. ],
  14154. "tags": [
  14155. "仓单贸易v2"
  14156. ],
  14157. "summary": "查询履约信息详情",
  14158. "parameters": [
  14159. {
  14160. "type": "integer",
  14161. "description": "履约计划id(performanceplanid)",
  14162. "name": "planid",
  14163. "in": "query",
  14164. "required": true
  14165. },
  14166. {
  14167. "type": "integer",
  14168. "description": "当前步骤id",
  14169. "name": "curstepid",
  14170. "in": "query"
  14171. }
  14172. ],
  14173. "responses": {
  14174. "200": {
  14175. "description": "OK",
  14176. "schema": {
  14177. "type": "array",
  14178. "items": {
  14179. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14180. }
  14181. }
  14182. },
  14183. "500": {
  14184. "description": "Internal Server Error",
  14185. "schema": {
  14186. "$ref": "#/definitions/app.Response"
  14187. }
  14188. }
  14189. }
  14190. }
  14191. },
  14192. "/WrTrade2/QueryWrPerformanceStepType": {
  14193. "get": {
  14194. "security": [
  14195. {
  14196. "ApiKeyAuth": []
  14197. }
  14198. ],
  14199. "produces": [
  14200. "application/json"
  14201. ],
  14202. "tags": [
  14203. "仓单贸易v2"
  14204. ],
  14205. "summary": "查询履约步骤枚举",
  14206. "responses": {
  14207. "200": {
  14208. "description": "OK",
  14209. "schema": {
  14210. "type": "array",
  14211. "items": {
  14212. "$ref": "#/definitions/models.WrPerformanceStepType"
  14213. }
  14214. }
  14215. },
  14216. "500": {
  14217. "description": "Internal Server Error",
  14218. "schema": {
  14219. "$ref": "#/definitions/app.Response"
  14220. }
  14221. }
  14222. }
  14223. }
  14224. },
  14225. "/WrTrade2/QueryWrPosition": {
  14226. "get": {
  14227. "security": [
  14228. {
  14229. "ApiKeyAuth": []
  14230. }
  14231. ],
  14232. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  14233. "produces": [
  14234. "application/json"
  14235. ],
  14236. "tags": [
  14237. "仓单贸易v2"
  14238. ],
  14239. "summary": "查询现货(预售)仓单持仓",
  14240. "parameters": [
  14241. {
  14242. "type": "integer",
  14243. "description": "用户id",
  14244. "name": "userid",
  14245. "in": "query",
  14246. "required": true
  14247. },
  14248. {
  14249. "type": "integer",
  14250. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  14251. "name": "querytype",
  14252. "in": "query",
  14253. "required": true
  14254. },
  14255. {
  14256. "type": "integer",
  14257. "description": "0:仓单预售 1:仓单贸易",
  14258. "name": "haswr",
  14259. "in": "query",
  14260. "required": true
  14261. },
  14262. {
  14263. "type": "string",
  14264. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14265. "name": "dgitemname",
  14266. "in": "query"
  14267. },
  14268. {
  14269. "type": "integer",
  14270. "description": "仓库id(筛选条件)",
  14271. "name": "warehouseid",
  14272. "in": "query"
  14273. },
  14274. {
  14275. "type": "integer",
  14276. "description": "品种id",
  14277. "name": "deliverygoodsid",
  14278. "in": "query"
  14279. },
  14280. {
  14281. "type": "integer",
  14282. "description": "品类id",
  14283. "name": "wrstandardid",
  14284. "in": "query"
  14285. }
  14286. ],
  14287. "responses": {
  14288. "200": {
  14289. "description": "OK",
  14290. "schema": {
  14291. "type": "array",
  14292. "items": {
  14293. "$ref": "#/definitions/models.WrPosition"
  14294. }
  14295. }
  14296. },
  14297. "500": {
  14298. "description": "Internal Server Error",
  14299. "schema": {
  14300. "$ref": "#/definitions/app.Response"
  14301. }
  14302. }
  14303. }
  14304. }
  14305. },
  14306. "/WrTrade2/QueryWrPreSaleInfo": {
  14307. "get": {
  14308. "security": [
  14309. {
  14310. "ApiKeyAuth": []
  14311. }
  14312. ],
  14313. "produces": [
  14314. "application/json"
  14315. ],
  14316. "tags": [
  14317. "仓单贸易v2"
  14318. ],
  14319. "summary": "查询新品发布",
  14320. "parameters": [
  14321. {
  14322. "type": "integer",
  14323. "description": "市场id",
  14324. "name": "marketid",
  14325. "in": "query"
  14326. },
  14327. {
  14328. "type": "string",
  14329. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  14330. "name": "presalestatus",
  14331. "in": "query"
  14332. },
  14333. {
  14334. "type": "integer",
  14335. "description": "摇号标识 - 0:未摇号 1:已摇号",
  14336. "name": "lotteryflag",
  14337. "in": "query"
  14338. },
  14339. {
  14340. "type": "integer",
  14341. "description": "最近多少条记录(按创建时间倒序)",
  14342. "name": "lastnum",
  14343. "in": "query"
  14344. }
  14345. ],
  14346. "responses": {
  14347. "200": {
  14348. "description": "OK",
  14349. "schema": {
  14350. "type": "array",
  14351. "items": {
  14352. "$ref": "#/definitions/models.WrPreSaleInfo"
  14353. }
  14354. }
  14355. },
  14356. "500": {
  14357. "description": "Internal Server Error",
  14358. "schema": {
  14359. "$ref": "#/definitions/app.Response"
  14360. }
  14361. }
  14362. }
  14363. }
  14364. },
  14365. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  14366. "get": {
  14367. "security": [
  14368. {
  14369. "ApiKeyAuth": []
  14370. }
  14371. ],
  14372. "produces": [
  14373. "application/json"
  14374. ],
  14375. "tags": [
  14376. "仓单贸易v2"
  14377. ],
  14378. "summary": "查询价格走势",
  14379. "parameters": [
  14380. {
  14381. "type": "integer",
  14382. "description": "市场id",
  14383. "name": "marketid",
  14384. "in": "query",
  14385. "required": true
  14386. },
  14387. {
  14388. "type": "integer",
  14389. "description": "现货商品id",
  14390. "name": "wrstandardid",
  14391. "in": "query",
  14392. "required": true
  14393. },
  14394. {
  14395. "type": "string",
  14396. "description": "开始交易日(yyyymmdd)",
  14397. "name": "begindate",
  14398. "in": "query"
  14399. },
  14400. {
  14401. "type": "string",
  14402. "description": "结束交易日(yyyymmdd)",
  14403. "name": "enddate",
  14404. "in": "query"
  14405. },
  14406. {
  14407. "type": "integer",
  14408. "description": "最近多少条记录(按交易日倒序)",
  14409. "name": "lastnum",
  14410. "in": "query"
  14411. },
  14412. {
  14413. "type": "boolean",
  14414. "description": "是否今日",
  14415. "name": "istoday",
  14416. "in": "query"
  14417. }
  14418. ],
  14419. "responses": {
  14420. "200": {
  14421. "description": "OK",
  14422. "schema": {
  14423. "type": "array",
  14424. "items": {
  14425. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  14426. }
  14427. }
  14428. },
  14429. "500": {
  14430. "description": "Internal Server Error",
  14431. "schema": {
  14432. "$ref": "#/definitions/app.Response"
  14433. }
  14434. }
  14435. }
  14436. }
  14437. },
  14438. "/WrTrade2/QueryWrScfContract": {
  14439. "get": {
  14440. "security": [
  14441. {
  14442. "ApiKeyAuth": []
  14443. }
  14444. ],
  14445. "produces": [
  14446. "application/json"
  14447. ],
  14448. "tags": [
  14449. "仓单贸易v2"
  14450. ],
  14451. "summary": "查询仓单贸易融资合同",
  14452. "parameters": [
  14453. {
  14454. "type": "integer",
  14455. "description": "用户id",
  14456. "name": "userid",
  14457. "in": "query",
  14458. "required": true
  14459. },
  14460. {
  14461. "type": "integer",
  14462. "description": "融资合同id",
  14463. "name": "scfcontractid",
  14464. "in": "query"
  14465. }
  14466. ],
  14467. "responses": {
  14468. "200": {
  14469. "description": "OK",
  14470. "schema": {
  14471. "type": "array",
  14472. "items": {
  14473. "$ref": "#/definitions/models.WrScfContract"
  14474. }
  14475. }
  14476. },
  14477. "500": {
  14478. "description": "Internal Server Error",
  14479. "schema": {
  14480. "$ref": "#/definitions/app.Response"
  14481. }
  14482. }
  14483. }
  14484. }
  14485. },
  14486. "/WrTrade2/QueryWrScfContractInterest": {
  14487. "get": {
  14488. "security": [
  14489. {
  14490. "ApiKeyAuth": []
  14491. }
  14492. ],
  14493. "produces": [
  14494. "application/json"
  14495. ],
  14496. "tags": [
  14497. "仓单贸易v2"
  14498. ],
  14499. "summary": "查询融资合同费用明细",
  14500. "parameters": [
  14501. {
  14502. "type": "integer",
  14503. "description": "融资合同id",
  14504. "name": "scfcontractid",
  14505. "in": "query"
  14506. }
  14507. ],
  14508. "responses": {
  14509. "200": {
  14510. "description": "OK",
  14511. "schema": {
  14512. "type": "array",
  14513. "items": {
  14514. "$ref": "#/definitions/models.WrScfContractInterest"
  14515. }
  14516. }
  14517. },
  14518. "500": {
  14519. "description": "Internal Server Error",
  14520. "schema": {
  14521. "$ref": "#/definitions/app.Response"
  14522. }
  14523. }
  14524. }
  14525. }
  14526. },
  14527. "/WrTrade2/QueryWrSearchUser": {
  14528. "get": {
  14529. "security": [
  14530. {
  14531. "ApiKeyAuth": []
  14532. }
  14533. ],
  14534. "produces": [
  14535. "application/json"
  14536. ],
  14537. "tags": [
  14538. "仓单贸易v2"
  14539. ],
  14540. "summary": "查询用户",
  14541. "parameters": [
  14542. {
  14543. "type": "string",
  14544. "description": "用户名称(模糊匹配)",
  14545. "name": "username",
  14546. "in": "query",
  14547. "required": true
  14548. }
  14549. ],
  14550. "responses": {
  14551. "200": {
  14552. "description": "OK",
  14553. "schema": {
  14554. "type": "array",
  14555. "items": {
  14556. "$ref": "#/definitions/models.WrSearchUser"
  14557. }
  14558. }
  14559. },
  14560. "500": {
  14561. "description": "Internal Server Error",
  14562. "schema": {
  14563. "$ref": "#/definitions/app.Response"
  14564. }
  14565. }
  14566. }
  14567. }
  14568. },
  14569. "/WrTrade2/QueryWrSpecialMatchOrder": {
  14570. "get": {
  14571. "security": [
  14572. {
  14573. "ApiKeyAuth": []
  14574. }
  14575. ],
  14576. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  14577. "produces": [
  14578. "application/json"
  14579. ],
  14580. "tags": [
  14581. "仓单贸易v2"
  14582. ],
  14583. "summary": "查询指定成交",
  14584. "parameters": [
  14585. {
  14586. "type": "integer",
  14587. "description": "页码",
  14588. "name": "page",
  14589. "in": "query"
  14590. },
  14591. {
  14592. "type": "integer",
  14593. "description": "每页条数",
  14594. "name": "pagesize",
  14595. "in": "query"
  14596. },
  14597. {
  14598. "type": "integer",
  14599. "description": "用户id",
  14600. "name": "userid",
  14601. "in": "query",
  14602. "required": true
  14603. },
  14604. {
  14605. "type": "integer",
  14606. "description": "仓单贸易市场id",
  14607. "name": "marketid",
  14608. "in": "query"
  14609. },
  14610. {
  14611. "type": "integer",
  14612. "description": "0:仓单预售 1:仓单贸易",
  14613. "name": "haswr",
  14614. "in": "query",
  14615. "required": true
  14616. },
  14617. {
  14618. "type": "integer",
  14619. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  14620. "name": "isspecified",
  14621. "in": "query"
  14622. }
  14623. ],
  14624. "responses": {
  14625. "200": {
  14626. "description": "OK",
  14627. "schema": {
  14628. "type": "array",
  14629. "items": {
  14630. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  14631. }
  14632. }
  14633. },
  14634. "500": {
  14635. "description": "Internal Server Error",
  14636. "schema": {
  14637. "$ref": "#/definitions/app.Response"
  14638. }
  14639. }
  14640. }
  14641. }
  14642. },
  14643. "/WrTrade2/QueryWrStandardFactoryItem": {
  14644. "get": {
  14645. "security": [
  14646. {
  14647. "ApiKeyAuth": []
  14648. }
  14649. ],
  14650. "produces": [
  14651. "application/json"
  14652. ],
  14653. "tags": [
  14654. "仓单贸易v2"
  14655. ],
  14656. "summary": "查询品类要素定义项",
  14657. "parameters": [
  14658. {
  14659. "type": "integer",
  14660. "description": "品类id",
  14661. "name": "wrstandardid",
  14662. "in": "query",
  14663. "required": true
  14664. }
  14665. ],
  14666. "responses": {
  14667. "200": {
  14668. "description": "OK",
  14669. "schema": {
  14670. "type": "array",
  14671. "items": {
  14672. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  14673. }
  14674. }
  14675. },
  14676. "500": {
  14677. "description": "Internal Server Error",
  14678. "schema": {
  14679. "$ref": "#/definitions/app.Response"
  14680. }
  14681. }
  14682. }
  14683. }
  14684. },
  14685. "/WrTrade2/QueryWrTradeBargainApply": {
  14686. "get": {
  14687. "security": [
  14688. {
  14689. "ApiKeyAuth": []
  14690. }
  14691. ],
  14692. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  14693. "produces": [
  14694. "application/json"
  14695. ],
  14696. "tags": [
  14697. "仓单贸易v2"
  14698. ],
  14699. "summary": "查询议价单",
  14700. "parameters": [
  14701. {
  14702. "type": "integer",
  14703. "description": "议价人id(摘牌方)",
  14704. "name": "userid",
  14705. "in": "query"
  14706. },
  14707. {
  14708. "type": "integer",
  14709. "description": "挂牌方id(查对方议价时,填写此项)",
  14710. "name": "matchuserid",
  14711. "in": "query"
  14712. },
  14713. {
  14714. "type": "integer",
  14715. "description": "关联委托单id",
  14716. "name": "wrtradeorderid",
  14717. "in": "query"
  14718. },
  14719. {
  14720. "type": "integer",
  14721. "description": "0:仓单预售 1:仓单贸易",
  14722. "name": "haswr",
  14723. "in": "query",
  14724. "required": true
  14725. },
  14726. {
  14727. "type": "string",
  14728. "description": "开始交易日(yyyymmdd)",
  14729. "name": "begindate",
  14730. "in": "query"
  14731. },
  14732. {
  14733. "type": "string",
  14734. "description": "结束交易日(yyyymmdd)",
  14735. "name": "enddate",
  14736. "in": "query"
  14737. }
  14738. ],
  14739. "responses": {
  14740. "200": {
  14741. "description": "OK",
  14742. "schema": {
  14743. "type": "array",
  14744. "items": {
  14745. "$ref": "#/definitions/models.WRTradeBargainApply"
  14746. }
  14747. }
  14748. },
  14749. "500": {
  14750. "description": "Internal Server Error",
  14751. "schema": {
  14752. "$ref": "#/definitions/app.Response"
  14753. }
  14754. }
  14755. }
  14756. }
  14757. },
  14758. "/WrTrade2/QueryWrTradeDetail": {
  14759. "get": {
  14760. "security": [
  14761. {
  14762. "ApiKeyAuth": []
  14763. }
  14764. ],
  14765. "produces": [
  14766. "application/json"
  14767. ],
  14768. "tags": [
  14769. "仓单贸易v2"
  14770. ],
  14771. "summary": "查询仓单成交明细",
  14772. "parameters": [
  14773. {
  14774. "type": "integer",
  14775. "description": "页码",
  14776. "name": "page",
  14777. "in": "query"
  14778. },
  14779. {
  14780. "type": "integer",
  14781. "description": "每页条数",
  14782. "name": "pagesize",
  14783. "in": "query"
  14784. },
  14785. {
  14786. "type": "integer",
  14787. "description": "用户id",
  14788. "name": "userid",
  14789. "in": "query",
  14790. "required": true
  14791. },
  14792. {
  14793. "type": "integer",
  14794. "description": "仓单贸易市场id",
  14795. "name": "marketid",
  14796. "in": "query"
  14797. },
  14798. {
  14799. "type": "integer",
  14800. "description": "0:仓单预售 1:仓单贸易",
  14801. "name": "haswr",
  14802. "in": "query",
  14803. "required": true
  14804. },
  14805. {
  14806. "type": "string",
  14807. "description": "开始交易日(yyyymmdd)",
  14808. "name": "begindate",
  14809. "in": "query"
  14810. },
  14811. {
  14812. "type": "string",
  14813. "description": "结束交易日(yyyymmdd)",
  14814. "name": "enddate",
  14815. "in": "query"
  14816. }
  14817. ],
  14818. "responses": {
  14819. "200": {
  14820. "description": "OK",
  14821. "schema": {
  14822. "type": "array",
  14823. "items": {
  14824. "$ref": "#/definitions/models.WrTradeDetail"
  14825. }
  14826. }
  14827. },
  14828. "500": {
  14829. "description": "Internal Server Error",
  14830. "schema": {
  14831. "$ref": "#/definitions/app.Response"
  14832. }
  14833. }
  14834. }
  14835. }
  14836. },
  14837. "/WrTrade2/QueryWrTradeOrderDetail": {
  14838. "get": {
  14839. "security": [
  14840. {
  14841. "ApiKeyAuth": []
  14842. }
  14843. ],
  14844. "produces": [
  14845. "application/json"
  14846. ],
  14847. "tags": [
  14848. "仓单贸易v2"
  14849. ],
  14850. "summary": "查询合约交易买卖大厅",
  14851. "parameters": [
  14852. {
  14853. "type": "integer",
  14854. "description": "页码",
  14855. "name": "page",
  14856. "in": "query"
  14857. },
  14858. {
  14859. "type": "integer",
  14860. "description": "每页条数",
  14861. "name": "pagesize",
  14862. "in": "query"
  14863. },
  14864. {
  14865. "type": "integer",
  14866. "description": "商品id",
  14867. "name": "goodsid",
  14868. "in": "query",
  14869. "required": true
  14870. },
  14871. {
  14872. "type": "integer",
  14873. "description": "买卖方向 0-买 1-卖",
  14874. "name": "buyorsell",
  14875. "in": "query",
  14876. "required": true
  14877. }
  14878. ],
  14879. "responses": {
  14880. "200": {
  14881. "description": "OK",
  14882. "schema": {
  14883. "type": "array",
  14884. "items": {
  14885. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14886. }
  14887. }
  14888. },
  14889. "500": {
  14890. "description": "Internal Server Error",
  14891. "schema": {
  14892. "$ref": "#/definitions/app.Response"
  14893. }
  14894. }
  14895. }
  14896. }
  14897. },
  14898. "/WrTrade2/QueryWrUserFriend": {
  14899. "get": {
  14900. "security": [
  14901. {
  14902. "ApiKeyAuth": []
  14903. }
  14904. ],
  14905. "produces": [
  14906. "application/json"
  14907. ],
  14908. "tags": [
  14909. "仓单贸易v2"
  14910. ],
  14911. "summary": "查询我的朋友",
  14912. "parameters": [
  14913. {
  14914. "type": "integer",
  14915. "description": "用户id",
  14916. "name": "userid",
  14917. "in": "query",
  14918. "required": true
  14919. },
  14920. {
  14921. "type": "integer",
  14922. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14923. "name": "newuserid",
  14924. "in": "query"
  14925. }
  14926. ],
  14927. "responses": {
  14928. "200": {
  14929. "description": "OK",
  14930. "schema": {
  14931. "type": "array",
  14932. "items": {
  14933. "$ref": "#/definitions/models.WrUserFriend"
  14934. }
  14935. }
  14936. },
  14937. "500": {
  14938. "description": "Internal Server Error",
  14939. "schema": {
  14940. "$ref": "#/definitions/app.Response"
  14941. }
  14942. }
  14943. }
  14944. }
  14945. },
  14946. "/WrTrade2/QueryWrUserReceiptInfo": {
  14947. "get": {
  14948. "security": [
  14949. {
  14950. "ApiKeyAuth": []
  14951. }
  14952. ],
  14953. "produces": [
  14954. "application/json"
  14955. ],
  14956. "tags": [
  14957. "仓单贸易v2"
  14958. ],
  14959. "summary": "查询发票信息",
  14960. "parameters": [
  14961. {
  14962. "type": "integer",
  14963. "description": "用户id",
  14964. "name": "userid",
  14965. "in": "query"
  14966. },
  14967. {
  14968. "type": "integer",
  14969. "description": "发票类型 - 1:个人 2:企业",
  14970. "name": "receipttype",
  14971. "in": "query"
  14972. }
  14973. ],
  14974. "responses": {
  14975. "200": {
  14976. "description": "OK",
  14977. "schema": {
  14978. "type": "array",
  14979. "items": {
  14980. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14981. }
  14982. }
  14983. },
  14984. "500": {
  14985. "description": "Internal Server Error",
  14986. "schema": {
  14987. "$ref": "#/definitions/app.Response"
  14988. }
  14989. }
  14990. }
  14991. }
  14992. },
  14993. "/WrTrade2/QueryXhcpSellBackApply": {
  14994. "get": {
  14995. "security": [
  14996. {
  14997. "ApiKeyAuth": []
  14998. }
  14999. ],
  15000. "produces": [
  15001. "application/json"
  15002. ],
  15003. "tags": [
  15004. "仓单贸易v2"
  15005. ],
  15006. "summary": "查询我的回收申请(新会陈皮)",
  15007. "parameters": [
  15008. {
  15009. "type": "integer",
  15010. "description": "用户ID",
  15011. "name": "userid",
  15012. "in": "query",
  15013. "required": true
  15014. }
  15015. ],
  15016. "responses": {
  15017. "200": {
  15018. "description": "OK",
  15019. "schema": {
  15020. "type": "array",
  15021. "items": {
  15022. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15023. }
  15024. }
  15025. },
  15026. "500": {
  15027. "description": "Internal Server Error",
  15028. "schema": {
  15029. "$ref": "#/definitions/app.Response"
  15030. }
  15031. }
  15032. }
  15033. }
  15034. },
  15035. "/ZJ/GetBankTip": {
  15036. "get": {
  15037. "produces": [
  15038. "application/json"
  15039. ],
  15040. "tags": [
  15041. "中江"
  15042. ],
  15043. "summary": "获取中江网银端出入金提示信息",
  15044. "responses": {
  15045. "200": {
  15046. "description": "OK",
  15047. "schema": {
  15048. "type": "string"
  15049. }
  15050. },
  15051. "500": {
  15052. "description": "Internal Server Error",
  15053. "schema": {
  15054. "$ref": "#/definitions/app.Response"
  15055. }
  15056. }
  15057. }
  15058. }
  15059. },
  15060. "/ZJ/GetCusBankChannels": {
  15061. "get": {
  15062. "produces": [
  15063. "application/json"
  15064. ],
  15065. "tags": [
  15066. "中江"
  15067. ],
  15068. "summary": "获取中江出入金渠道显示列表",
  15069. "responses": {
  15070. "200": {
  15071. "description": "OK",
  15072. "schema": {
  15073. "type": "array",
  15074. "items": {
  15075. "type": "string"
  15076. }
  15077. }
  15078. },
  15079. "500": {
  15080. "description": "Internal Server Error",
  15081. "schema": {
  15082. "$ref": "#/definitions/app.Response"
  15083. }
  15084. }
  15085. }
  15086. }
  15087. }
  15088. },
  15089. "definitions": {
  15090. "app.Response": {
  15091. "type": "object",
  15092. "properties": {
  15093. "code": {
  15094. "type": "integer"
  15095. },
  15096. "data": {
  15097. "type": "object"
  15098. },
  15099. "msg": {
  15100. "type": "string"
  15101. },
  15102. "page": {
  15103. "description": "页码",
  15104. "type": "integer"
  15105. },
  15106. "pagesize": {
  15107. "description": "每页条数",
  15108. "type": "integer"
  15109. },
  15110. "total": {
  15111. "description": "总条数",
  15112. "type": "integer"
  15113. }
  15114. }
  15115. },
  15116. "common.ClientMenu": {
  15117. "type": "object",
  15118. "properties": {
  15119. "children": {
  15120. "description": "子菜单列表",
  15121. "type": "array",
  15122. "items": {
  15123. "$ref": "#/definitions/common.ClientMenu"
  15124. }
  15125. },
  15126. "code": {
  15127. "description": "ID",
  15128. "type": "string"
  15129. },
  15130. "isshow": {
  15131. "description": "是否显示",
  15132. "type": "boolean"
  15133. },
  15134. "remark": {
  15135. "description": "备注",
  15136. "type": "string"
  15137. },
  15138. "rulekey": {
  15139. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15140. "type": "string"
  15141. },
  15142. "sort": {
  15143. "description": "排序",
  15144. "type": "integer"
  15145. },
  15146. "title": {
  15147. "description": "标题",
  15148. "type": "string"
  15149. },
  15150. "type": {
  15151. "description": "类型,1:菜单 2:按钮",
  15152. "type": "integer"
  15153. },
  15154. "url": {
  15155. "description": "URL",
  15156. "type": "string"
  15157. }
  15158. }
  15159. },
  15160. "common.PCWebMenu": {
  15161. "type": "object",
  15162. "properties": {
  15163. "auth": {
  15164. "description": "页面权限列表",
  15165. "type": "array",
  15166. "items": {
  15167. "$ref": "#/definitions/common.PCWebMenuAuth"
  15168. }
  15169. },
  15170. "children": {
  15171. "description": "子菜单列表",
  15172. "type": "array",
  15173. "items": {
  15174. "$ref": "#/definitions/common.PCWebMenu"
  15175. }
  15176. },
  15177. "code": {
  15178. "description": "ID,新版本中权限KEY也是这个字段",
  15179. "type": "string"
  15180. },
  15181. "component": {
  15182. "description": "路由组件",
  15183. "type": "string"
  15184. },
  15185. "isshow": {
  15186. "description": "是否显示",
  15187. "type": "boolean"
  15188. },
  15189. "path": {
  15190. "description": "路由路径",
  15191. "type": "string"
  15192. },
  15193. "remark": {
  15194. "description": "备注",
  15195. "type": "string"
  15196. },
  15197. "rulekey": {
  15198. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15199. "type": "string"
  15200. },
  15201. "sort": {
  15202. "description": "排序",
  15203. "type": "integer"
  15204. },
  15205. "title": {
  15206. "description": "标题",
  15207. "type": "string"
  15208. },
  15209. "url": {
  15210. "description": "URL",
  15211. "type": "string"
  15212. }
  15213. }
  15214. },
  15215. "common.PCWebMenuAuth": {
  15216. "type": "object",
  15217. "properties": {
  15218. "code": {
  15219. "description": "ID,新版本中权限KEY也是这个字段",
  15220. "type": "string"
  15221. },
  15222. "isshow": {
  15223. "description": "是否显示",
  15224. "type": "boolean"
  15225. },
  15226. "label": {
  15227. "description": "标题",
  15228. "type": "string"
  15229. },
  15230. "remark": {
  15231. "description": "备注",
  15232. "type": "string"
  15233. },
  15234. "rulekey": {
  15235. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15236. "type": "string"
  15237. }
  15238. }
  15239. },
  15240. "common.QueryImageConfigsRsp": {
  15241. "type": "object",
  15242. "required": [
  15243. "configid"
  15244. ],
  15245. "properties": {
  15246. "areauserid": {
  15247. "description": "所属机构ID",
  15248. "type": "integer"
  15249. },
  15250. "configid": {
  15251. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  15252. "type": "integer"
  15253. },
  15254. "createdate": {
  15255. "description": "创建时间",
  15256. "type": "string"
  15257. },
  15258. "creatorid": {
  15259. "description": "创建人",
  15260. "type": "integer"
  15261. },
  15262. "imagedetailpath": {
  15263. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  15264. "type": "string"
  15265. },
  15266. "imagepath": {
  15267. "description": "图片",
  15268. "type": "string"
  15269. },
  15270. "imagetype": {
  15271. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  15272. "type": "integer"
  15273. },
  15274. "isshow": {
  15275. "description": "是否展示 - 0:不展示 1:展示",
  15276. "type": "integer"
  15277. },
  15278. "marketid": {
  15279. "description": "市场ID",
  15280. "type": "integer"
  15281. },
  15282. "modifierid": {
  15283. "description": "操作人",
  15284. "type": "integer"
  15285. },
  15286. "sort": {
  15287. "description": "排序",
  15288. "type": "integer"
  15289. },
  15290. "title": {
  15291. "description": "标题",
  15292. "type": "string"
  15293. },
  15294. "trademode": {
  15295. "description": "交易模式",
  15296. "type": "integer"
  15297. },
  15298. "updatedate": {
  15299. "description": "修改时间",
  15300. "type": "string"
  15301. },
  15302. "url": {
  15303. "description": "链接(地址或商品ID)",
  15304. "type": "string"
  15305. },
  15306. "urltype": {
  15307. "description": "链接类型 - 1:直接地址 2:商品ID",
  15308. "type": "integer"
  15309. }
  15310. }
  15311. },
  15312. "common.QueryNoticeRsp": {
  15313. "type": "object",
  15314. "required": [
  15315. "autoid"
  15316. ],
  15317. "properties": {
  15318. "auditoruserid": {
  15319. "description": "审核人",
  15320. "type": "integer"
  15321. },
  15322. "auditremark": {
  15323. "description": "审核备注",
  15324. "type": "string"
  15325. },
  15326. "audittime": {
  15327. "description": "审核日期",
  15328. "type": "string"
  15329. },
  15330. "autoid": {
  15331. "description": "自增ID",
  15332. "type": "integer"
  15333. },
  15334. "content": {
  15335. "description": "内容",
  15336. "type": "string"
  15337. },
  15338. "createtime": {
  15339. "description": "创建时间",
  15340. "type": "string"
  15341. },
  15342. "creatorid": {
  15343. "description": "建仓人",
  15344. "type": "integer"
  15345. },
  15346. "endtime": {
  15347. "description": "结束时间",
  15348. "type": "string"
  15349. },
  15350. "istop": {
  15351. "description": "是否置顶 - 0:不置顶 1:置顶",
  15352. "type": "integer"
  15353. },
  15354. "msgiconurl": {
  15355. "description": "消息图标Url",
  15356. "type": "string"
  15357. },
  15358. "msgtype": {
  15359. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  15360. "type": "integer"
  15361. },
  15362. "publisher": {
  15363. "description": "消息发布者",
  15364. "type": "string"
  15365. },
  15366. "readed": {
  15367. "description": "是否已读",
  15368. "type": "boolean"
  15369. },
  15370. "scheduletime": {
  15371. "description": "计划发送时间",
  15372. "type": "string"
  15373. },
  15374. "sendtype": {
  15375. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  15376. "type": "integer"
  15377. },
  15378. "sentstatus": {
  15379. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  15380. "type": "integer"
  15381. },
  15382. "title": {
  15383. "description": "标题",
  15384. "type": "string"
  15385. },
  15386. "userid": {
  15387. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  15388. "type": "integer"
  15389. }
  15390. }
  15391. },
  15392. "common.QueryProvincesAndCitiesRsp": {
  15393. "type": "object",
  15394. "properties": {
  15395. "cities": {
  15396. "description": "市",
  15397. "type": "array",
  15398. "items": {
  15399. "$ref": "#/definitions/models.Division"
  15400. }
  15401. },
  15402. "province": {
  15403. "description": "省",
  15404. "$ref": "#/definitions/models.Division"
  15405. }
  15406. }
  15407. },
  15408. "common.QueryTableDefineRsp": {
  15409. "type": "object",
  15410. "required": [
  15411. "tablekey"
  15412. ],
  15413. "properties": {
  15414. "columns": {
  15415. "description": "列头信息数组",
  15416. "type": "array",
  15417. "items": {
  15418. "$ref": "#/definitions/models.Tablecolumnconfig"
  15419. }
  15420. },
  15421. "remark": {
  15422. "description": "Remark",
  15423. "type": "string"
  15424. },
  15425. "tabelmenu": {
  15426. "description": "列表菜单",
  15427. "type": "string"
  15428. },
  15429. "tablekey": {
  15430. "description": "列表Key",
  15431. "type": "string"
  15432. },
  15433. "tablename": {
  15434. "description": "列表名称",
  15435. "type": "string"
  15436. },
  15437. "tabletype": {
  15438. "description": "列表类型 - 1:管理端 2:终端",
  15439. "type": "integer"
  15440. }
  15441. }
  15442. },
  15443. "common.QueryTraderMenuRsp": {
  15444. "type": "object",
  15445. "properties": {
  15446. "OperationMenu": {
  15447. "description": "功能菜单",
  15448. "type": "array",
  15449. "items": {
  15450. "$ref": "#/definitions/models.OperationPrimaryMenu"
  15451. }
  15452. },
  15453. "QuoteMenu": {
  15454. "description": "报价牌分类菜单",
  15455. "type": "array",
  15456. "items": {
  15457. "$ref": "#/definitions/models.QuotePrimaryMenu"
  15458. }
  15459. }
  15460. }
  15461. },
  15462. "cptrade.Cptradepositioncancel": {
  15463. "type": "object",
  15464. "required": [
  15465. "cancelid"
  15466. ],
  15467. "properties": {
  15468. "accountid": {
  15469. "description": "申请人账户ID",
  15470. "type": "integer"
  15471. },
  15472. "applystatus": {
  15473. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15474. "type": "integer"
  15475. },
  15476. "applytime": {
  15477. "description": "申请时间",
  15478. "type": "string"
  15479. },
  15480. "cancelid": {
  15481. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  15482. "type": "integer"
  15483. },
  15484. "cancelqty": {
  15485. "description": "注销数量",
  15486. "type": "integer"
  15487. },
  15488. "createtime": {
  15489. "description": "创建时间",
  15490. "type": "string"
  15491. },
  15492. "creatorid": {
  15493. "description": "创建人ID",
  15494. "type": "integer"
  15495. },
  15496. "creatorname": {
  15497. "description": "创建人",
  15498. "type": "string"
  15499. },
  15500. "goodscode": {
  15501. "description": "订单商品代码",
  15502. "type": "string"
  15503. },
  15504. "goodsid": {
  15505. "description": "商品ID",
  15506. "type": "integer"
  15507. },
  15508. "goodsname": {
  15509. "description": "订单商品名称",
  15510. "type": "string"
  15511. },
  15512. "goodunit": {
  15513. "description": "报价单位",
  15514. "type": "string"
  15515. },
  15516. "handlestatus": {
  15517. "description": "处理状态",
  15518. "type": "integer"
  15519. },
  15520. "marketid": {
  15521. "description": "市场ID",
  15522. "type": "integer"
  15523. },
  15524. "marketname": {
  15525. "description": "市场名称",
  15526. "type": "string"
  15527. },
  15528. "tradedate": {
  15529. "description": "交易日(yyyyMMdd)",
  15530. "type": "string"
  15531. },
  15532. "userid": {
  15533. "description": "申请人ID",
  15534. "type": "integer"
  15535. }
  15536. }
  15537. },
  15538. "cptrade.Cptradepresaleapply": {
  15539. "type": "object",
  15540. "required": [
  15541. "applyid"
  15542. ],
  15543. "properties": {
  15544. "accountid": {
  15545. "description": "申请人账户ID",
  15546. "type": "integer"
  15547. },
  15548. "applyid": {
  15549. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  15550. "type": "integer"
  15551. },
  15552. "applyremark": {
  15553. "description": "申请备注",
  15554. "type": "string"
  15555. },
  15556. "applystatus": {
  15557. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15558. "type": "integer"
  15559. },
  15560. "applytime": {
  15561. "description": "申请时间",
  15562. "type": "string"
  15563. },
  15564. "attachmenturl": {
  15565. "description": "附件地址",
  15566. "type": "string"
  15567. },
  15568. "endtime": {
  15569. "description": "预售结束时间",
  15570. "type": "string"
  15571. },
  15572. "goodscode": {
  15573. "description": "商品代码",
  15574. "type": "string"
  15575. },
  15576. "goodsid": {
  15577. "description": "商品ID",
  15578. "type": "integer"
  15579. },
  15580. "goodsname": {
  15581. "description": "商品名称",
  15582. "type": "string"
  15583. },
  15584. "goodunit": {
  15585. "description": "报价单位",
  15586. "type": "string"
  15587. },
  15588. "handlestatus": {
  15589. "description": "处理状态",
  15590. "type": "integer"
  15591. },
  15592. "marketid": {
  15593. "description": "预售市场ID",
  15594. "type": "integer"
  15595. },
  15596. "marketname": {
  15597. "description": "预售市场名称",
  15598. "type": "string"
  15599. },
  15600. "presaleqty": {
  15601. "description": "预售数量",
  15602. "type": "integer"
  15603. },
  15604. "relatedgoodscode": {
  15605. "description": "关联交易合约代码",
  15606. "type": "string"
  15607. },
  15608. "relatedgoodsid": {
  15609. "description": "关联交易合约ID",
  15610. "type": "integer"
  15611. },
  15612. "relatedgoodsname": {
  15613. "description": "关联交易合约名称",
  15614. "type": "string"
  15615. },
  15616. "starttime": {
  15617. "description": "预售开始时间",
  15618. "type": "string"
  15619. },
  15620. "tradedate": {
  15621. "description": "交易日(yyyyMMdd)",
  15622. "type": "string"
  15623. },
  15624. "trademode": {
  15625. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  15626. "type": "integer"
  15627. },
  15628. "userid": {
  15629. "description": "申请人ID",
  15630. "type": "integer"
  15631. }
  15632. }
  15633. },
  15634. "cptrade.Cptradeusergoodsdata": {
  15635. "type": "object",
  15636. "required": [
  15637. "accountid",
  15638. "goodsid"
  15639. ],
  15640. "properties": {
  15641. "EnabledQty": {
  15642. "description": "可用量",
  15643. "type": "integer"
  15644. },
  15645. "GoodsCode": {
  15646. "description": "订单商品代码",
  15647. "type": "string"
  15648. },
  15649. "GoodsName": {
  15650. "description": "订单商品名称",
  15651. "type": "string"
  15652. },
  15653. "WRStandardCode": {
  15654. "description": "仓单标准代码",
  15655. "type": "string"
  15656. },
  15657. "WRStandardName": {
  15658. "description": "仓单标准名称",
  15659. "type": "string"
  15660. },
  15661. "accountid": {
  15662. "description": "账户ID",
  15663. "type": "integer"
  15664. },
  15665. "cancelqty": {
  15666. "description": "注销量",
  15667. "type": "integer"
  15668. },
  15669. "curpresaleqty": {
  15670. "description": "当前预售量",
  15671. "type": "integer"
  15672. },
  15673. "deliveryqty": {
  15674. "description": "交割量",
  15675. "type": "integer"
  15676. },
  15677. "freezeamount": {
  15678. "description": "冻结金额",
  15679. "type": "number"
  15680. },
  15681. "goodsid": {
  15682. "description": "商品ID",
  15683. "type": "integer"
  15684. },
  15685. "goodunit": {
  15686. "description": "报价单位",
  15687. "type": "string"
  15688. },
  15689. "hasspotfreeze": {
  15690. "description": "是否有现货冻结 - 0:否 1:有",
  15691. "type": "integer"
  15692. },
  15693. "inqty": {
  15694. "description": "转入量(总数量)",
  15695. "type": "integer"
  15696. },
  15697. "marketid": {
  15698. "description": "市场ID",
  15699. "type": "integer"
  15700. },
  15701. "presaledamount": {
  15702. "description": "已预售总金额",
  15703. "type": "integer"
  15704. },
  15705. "presaledqty": {
  15706. "description": "已预售量",
  15707. "type": "integer"
  15708. },
  15709. "userid": {
  15710. "description": "用户ID",
  15711. "type": "integer"
  15712. },
  15713. "wrstandardid": {
  15714. "description": "仓单标准ID",
  15715. "type": "integer"
  15716. }
  15717. }
  15718. },
  15719. "cptrade.QueryCPTradeMyBidRsp": {
  15720. "type": "object",
  15721. "required": [
  15722. "accountid",
  15723. "goodsid",
  15724. "marketid",
  15725. "orderid",
  15726. "orderqty",
  15727. "ordertime",
  15728. "tradeprice",
  15729. "tradeqty"
  15730. ],
  15731. "properties": {
  15732. "accountid": {
  15733. "description": "账户ID[报价币种]",
  15734. "type": "integer"
  15735. },
  15736. "goodsid": {
  15737. "description": "商品ID",
  15738. "type": "integer"
  15739. },
  15740. "goodunit": {
  15741. "description": "报价单位",
  15742. "type": "string"
  15743. },
  15744. "marketid": {
  15745. "description": "市场ID",
  15746. "type": "integer"
  15747. },
  15748. "orderid": {
  15749. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15750. "type": "integer"
  15751. },
  15752. "orderprice": {
  15753. "description": "委托价格",
  15754. "type": "number"
  15755. },
  15756. "orderqty": {
  15757. "description": "委托数量",
  15758. "type": "integer"
  15759. },
  15760. "ordertime": {
  15761. "description": "委托时间",
  15762. "type": "string"
  15763. },
  15764. "ordertotalprice": {
  15765. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  15766. "type": "number"
  15767. },
  15768. "ordertotalweight": {
  15769. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  15770. "type": "integer"
  15771. },
  15772. "totaltotalprice": {
  15773. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  15774. "type": "number"
  15775. },
  15776. "tradeprice": {
  15777. "description": "成交价格",
  15778. "type": "number"
  15779. },
  15780. "tradeqty": {
  15781. "description": "成交数量",
  15782. "type": "integer"
  15783. }
  15784. }
  15785. },
  15786. "cptrade.QueryCPTradeOrderDetailRsq": {
  15787. "type": "object",
  15788. "required": [
  15789. "accountid",
  15790. "buildtype",
  15791. "buyorsell",
  15792. "goodsid",
  15793. "marketid",
  15794. "memberuserid",
  15795. "operatetype",
  15796. "orderqty",
  15797. "ordertime",
  15798. "pricemode",
  15799. "strorderid",
  15800. "tradedate",
  15801. "validtype"
  15802. ],
  15803. "properties": {
  15804. "accountid": {
  15805. "description": "账户ID[报价币种]",
  15806. "type": "integer"
  15807. },
  15808. "buildtype": {
  15809. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15810. "type": "integer"
  15811. },
  15812. "buyorsell": {
  15813. "description": "买卖 - 0:买 1:卖",
  15814. "type": "integer"
  15815. },
  15816. "cancelorderid": {
  15817. "description": "撤单单号(撤单时填写)",
  15818. "type": "integer"
  15819. },
  15820. "cancelqty": {
  15821. "description": "撤单数量",
  15822. "type": "integer"
  15823. },
  15824. "clientordertime": {
  15825. "description": "客户端委托时间",
  15826. "type": "string"
  15827. },
  15828. "clientticket": {
  15829. "description": "客户端流水号",
  15830. "type": "string"
  15831. },
  15832. "clienttype": {
  15833. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15834. "type": "integer"
  15835. },
  15836. "closeexchagechargevalue": {
  15837. "description": "平仓交易所手续费设置值",
  15838. "type": "number"
  15839. },
  15840. "closefeealgorithm": {
  15841. "description": "平仓手续费收取方式 1:比率 2:固定",
  15842. "type": "integer"
  15843. },
  15844. "closefreezecharge": {
  15845. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15846. "type": "number"
  15847. },
  15848. "closememberchargevalue": {
  15849. "description": "平仓会员手续费设置值",
  15850. "type": "number"
  15851. },
  15852. "closeqty": {
  15853. "description": "平仓数量(先建后平操作 需要记录)",
  15854. "type": "integer"
  15855. },
  15856. "closetradeqty": {
  15857. "description": "平仓成交数量(先建后平操作,需要记录)",
  15858. "type": "integer"
  15859. },
  15860. "closeunfreezecharge": {
  15861. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15862. "type": "number"
  15863. },
  15864. "delistingtype": {
  15865. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15866. "type": "integer"
  15867. },
  15868. "freezecharge": {
  15869. "description": "冻结手续费",
  15870. "type": "number"
  15871. },
  15872. "freezemargin": {
  15873. "description": "冻结保证金(冻结交易金额)",
  15874. "type": "number"
  15875. },
  15876. "gcaccountid": {
  15877. "description": "账户ID[合约币种]",
  15878. "type": "integer"
  15879. },
  15880. "goodsid": {
  15881. "description": "商品ID",
  15882. "type": "integer"
  15883. },
  15884. "isconfirmexercise": {
  15885. "description": "是否确认行权- 0:否 1:是",
  15886. "type": "integer"
  15887. },
  15888. "ispreexercise": {
  15889. "description": "是否预申报- 0:否 1:是",
  15890. "type": "integer"
  15891. },
  15892. "listingselecttype": {
  15893. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15894. "type": "integer"
  15895. },
  15896. "marginalgorithm": {
  15897. "description": "保证金收取方式 1:比率 2:固定",
  15898. "type": "integer"
  15899. },
  15900. "marginvalue": {
  15901. "description": "即市保证金设置值",
  15902. "type": "number"
  15903. },
  15904. "marketid": {
  15905. "description": "市场ID",
  15906. "type": "integer"
  15907. },
  15908. "marketmaxsub": {
  15909. "description": "市价最大偏移范围",
  15910. "type": "number"
  15911. },
  15912. "memberuserid": {
  15913. "description": "所属会员UserID",
  15914. "type": "integer"
  15915. },
  15916. "openexchagechargevalue": {
  15917. "description": "建仓交易所手续费设置值",
  15918. "type": "number"
  15919. },
  15920. "openfeealgorithm": {
  15921. "description": "建仓手续费收取方式 1:比率 2:固定",
  15922. "type": "integer"
  15923. },
  15924. "openfreezecharge": {
  15925. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15926. "type": "number"
  15927. },
  15928. "openmemberchargevalue": {
  15929. "description": "建仓会员手续费设置值",
  15930. "type": "number"
  15931. },
  15932. "openqty": {
  15933. "description": "开仓数量(先建后平操作,需要记录)",
  15934. "type": "integer"
  15935. },
  15936. "opentradeqty": {
  15937. "description": "开仓成交数量(先建后平操作,需要记录)",
  15938. "type": "integer"
  15939. },
  15940. "openunfreezecharge": {
  15941. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15942. "type": "number"
  15943. },
  15944. "operatetype": {
  15945. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15946. "type": "integer"
  15947. },
  15948. "operatorid": {
  15949. "description": "登录账号(LoginID)",
  15950. "type": "integer"
  15951. },
  15952. "optiontype": {
  15953. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15954. "type": "integer"
  15955. },
  15956. "orderprice": {
  15957. "description": "委托价格",
  15958. "type": "number"
  15959. },
  15960. "orderqty": {
  15961. "description": "委托数量",
  15962. "type": "integer"
  15963. },
  15964. "ordersrc": {
  15965. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15966. "type": "integer"
  15967. },
  15968. "orderstatus": {
  15969. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15970. "type": "integer"
  15971. },
  15972. "ordertime": {
  15973. "description": "委托时间",
  15974. "type": "string"
  15975. },
  15976. "preexerciseprice": {
  15977. "description": "预申报价格",
  15978. "type": "number"
  15979. },
  15980. "premium": {
  15981. "description": "权利金",
  15982. "type": "number"
  15983. },
  15984. "preorderid": {
  15985. "description": "关联预埋单号(止盈止损单时填写)",
  15986. "type": "integer"
  15987. },
  15988. "pricemode": {
  15989. "description": "取价方式 - 1:市价 2: 限价",
  15990. "type": "integer"
  15991. },
  15992. "quoteid": {
  15993. "description": "报价单ID",
  15994. "type": "integer"
  15995. },
  15996. "relatedid": {
  15997. "description": "关联单号(交割单)",
  15998. "type": "integer"
  15999. },
  16000. "retcode": {
  16001. "description": "错误代码",
  16002. "type": "integer"
  16003. },
  16004. "sessionid": {
  16005. "description": "会话ID",
  16006. "type": "integer"
  16007. },
  16008. "strorderid": {
  16009. "description": "委托单号",
  16010. "type": "string"
  16011. },
  16012. "tradedate": {
  16013. "description": "交易日(yyyyMMdd)",
  16014. "type": "string"
  16015. },
  16016. "tradeproperty": {
  16017. "description": "交易属性",
  16018. "type": "integer"
  16019. },
  16020. "tradeqty": {
  16021. "description": "成交数量",
  16022. "type": "integer"
  16023. },
  16024. "unfreezecharge": {
  16025. "description": "解冻手续费",
  16026. "type": "number"
  16027. },
  16028. "unfreezemargin": {
  16029. "description": "解冻保证金",
  16030. "type": "number"
  16031. },
  16032. "updatetime": {
  16033. "description": "更新时间",
  16034. "type": "string"
  16035. },
  16036. "uuid": {
  16037. "description": "发起端唯一id",
  16038. "type": "string"
  16039. },
  16040. "validtime": {
  16041. "description": "有效期限",
  16042. "type": "string"
  16043. },
  16044. "validtype": {
  16045. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16046. "type": "integer"
  16047. },
  16048. "volumetype": {
  16049. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16050. "type": "integer"
  16051. }
  16052. }
  16053. },
  16054. "cptrade.QueryMyCPTradeGoodsRsp": {
  16055. "type": "object",
  16056. "required": [
  16057. "goodscode",
  16058. "goodsid",
  16059. "goodsname",
  16060. "marketid",
  16061. "relatedgoodscode",
  16062. "relatedgoodsname"
  16063. ],
  16064. "properties": {
  16065. "accountid": {
  16066. "description": "卖方账户ID",
  16067. "type": "integer"
  16068. },
  16069. "agreeunit": {
  16070. "description": "合约单位",
  16071. "type": "number"
  16072. },
  16073. "applyid": {
  16074. "description": "关联申请ID",
  16075. "type": "integer"
  16076. },
  16077. "attachmenturl": {
  16078. "description": "附件地址",
  16079. "type": "string"
  16080. },
  16081. "createtime": {
  16082. "description": "创建时间",
  16083. "type": "string"
  16084. },
  16085. "currencyid": {
  16086. "description": "报价货币ID",
  16087. "type": "integer"
  16088. },
  16089. "decimalplace": {
  16090. "description": "报价小数位",
  16091. "type": "integer"
  16092. },
  16093. "endtime": {
  16094. "description": "预售结束时间",
  16095. "type": "string"
  16096. },
  16097. "floorprice": {
  16098. "description": "底价[大宗式竞拍]",
  16099. "type": "number"
  16100. },
  16101. "goodscode": {
  16102. "description": "商品代码(预售)",
  16103. "type": "string"
  16104. },
  16105. "goodsdetail": {
  16106. "description": "详情[大宗]",
  16107. "type": "string"
  16108. },
  16109. "goodsid": {
  16110. "description": "商品ID(自增ID SEQ_GOODS)",
  16111. "type": "integer"
  16112. },
  16113. "goodsname": {
  16114. "description": "商品名称(预售)",
  16115. "type": "string"
  16116. },
  16117. "goodunit": {
  16118. "description": "报价单位",
  16119. "type": "string"
  16120. },
  16121. "goodunitid": {
  16122. "description": "报价单位ID",
  16123. "type": "integer"
  16124. },
  16125. "marketid": {
  16126. "description": "所属市场ID",
  16127. "type": "integer"
  16128. },
  16129. "marketname": {
  16130. "description": "预售市场名称",
  16131. "type": "string"
  16132. },
  16133. "presaledamount": {
  16134. "description": "已预售总金额(预售结束时更新)",
  16135. "type": "number"
  16136. },
  16137. "presaledqty": {
  16138. "description": "已预售量(预售结束时更新)",
  16139. "type": "integer"
  16140. },
  16141. "presalemode": {
  16142. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16143. "type": "integer"
  16144. },
  16145. "presaleqty": {
  16146. "description": "预售数量",
  16147. "type": "integer"
  16148. },
  16149. "refprice": {
  16150. "description": "参考价格[一口价]",
  16151. "type": "number"
  16152. },
  16153. "relatedgoodscode": {
  16154. "description": "商品代码(订单)",
  16155. "type": "string"
  16156. },
  16157. "relatedgoodsid": {
  16158. "description": "关联交易合约ID",
  16159. "type": "integer"
  16160. },
  16161. "relatedgoodsname": {
  16162. "description": "商品名称(订单)",
  16163. "type": "string"
  16164. },
  16165. "relatedmarketid": {
  16166. "description": "关联交易合约市场ID",
  16167. "type": "integer"
  16168. },
  16169. "sellstatus": {
  16170. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16171. "type": "integer"
  16172. },
  16173. "startprice": {
  16174. "description": "起拍价[大宗式竞拍]",
  16175. "type": "number"
  16176. },
  16177. "starttime": {
  16178. "description": "预售开始时间",
  16179. "type": "string"
  16180. },
  16181. "tradedate": {
  16182. "description": "交易日(yyyyMMdd)",
  16183. "type": "string"
  16184. },
  16185. "tradeprice": {
  16186. "description": "成交价[大宗]",
  16187. "type": "number"
  16188. },
  16189. "userid": {
  16190. "description": "卖方用户ID",
  16191. "type": "integer"
  16192. }
  16193. }
  16194. },
  16195. "cptrade.QueryPresaleGoodsExRsp": {
  16196. "type": "object",
  16197. "required": [
  16198. "goodsid"
  16199. ],
  16200. "properties": {
  16201. "attachmenturl": {
  16202. "description": "附件地址",
  16203. "type": "string"
  16204. },
  16205. "createtime": {
  16206. "description": "创建时间",
  16207. "type": "string"
  16208. },
  16209. "endtime": {
  16210. "description": "预售结束时间",
  16211. "type": "string"
  16212. },
  16213. "floorprice": {
  16214. "description": "底价[大宗式竞拍]",
  16215. "type": "number"
  16216. },
  16217. "goodsdetail": {
  16218. "description": "详情[大宗]",
  16219. "type": "string"
  16220. },
  16221. "goodsid": {
  16222. "description": "商品ID(预售)",
  16223. "type": "integer"
  16224. },
  16225. "goodunit": {
  16226. "description": "报价单位",
  16227. "type": "string"
  16228. },
  16229. "marketid": {
  16230. "description": "预售市场ID - 根据预售模式选择市场",
  16231. "type": "integer"
  16232. },
  16233. "presaledamount": {
  16234. "description": "已预售总金额(预售结束时更新)",
  16235. "type": "number"
  16236. },
  16237. "presaledqty": {
  16238. "description": "已预售量(预售结束时更新)",
  16239. "type": "integer"
  16240. },
  16241. "presalemode": {
  16242. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16243. "type": "integer"
  16244. },
  16245. "presaleqty": {
  16246. "description": "预售数量",
  16247. "type": "integer"
  16248. },
  16249. "refprice": {
  16250. "description": "参考价格[一口价]",
  16251. "type": "number"
  16252. },
  16253. "relatedgoodsid": {
  16254. "description": "关联交易合约ID",
  16255. "type": "integer"
  16256. },
  16257. "relatedmarketid": {
  16258. "description": "关联交易合约市场ID",
  16259. "type": "integer"
  16260. },
  16261. "sellstatus": {
  16262. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16263. "type": "integer"
  16264. },
  16265. "startprice": {
  16266. "description": "起拍价[大宗式竞拍]",
  16267. "type": "number"
  16268. },
  16269. "starttime": {
  16270. "description": "预售开始时间",
  16271. "type": "string"
  16272. },
  16273. "tradedate": {
  16274. "description": "交易日(yyyyMMdd)",
  16275. "type": "string"
  16276. },
  16277. "tradeprice": {
  16278. "description": "成交价[大宗]",
  16279. "type": "number"
  16280. }
  16281. }
  16282. },
  16283. "delivery.QueryDeliveryRelationRsp": {
  16284. "type": "object",
  16285. "required": [
  16286. "begindate",
  16287. "enddate",
  16288. "goodsid",
  16289. "mindeliveryqty",
  16290. "xdeliveryratio"
  16291. ],
  16292. "properties": {
  16293. "begindate": {
  16294. "description": "起始日期(yyyyMMdd)",
  16295. "type": "string"
  16296. },
  16297. "buytemplateid": {
  16298. "description": "买履约计划模板ID",
  16299. "type": "integer"
  16300. },
  16301. "deliverygoodscode": {
  16302. "description": "品种代码",
  16303. "type": "string"
  16304. },
  16305. "deliverygoodsid": {
  16306. "description": "交割商品",
  16307. "type": "integer"
  16308. },
  16309. "deliverygoodsname": {
  16310. "description": "品种名称",
  16311. "type": "string"
  16312. },
  16313. "deliverymode": {
  16314. "description": "交割方式 - 1:点选式 2:申报式",
  16315. "type": "integer"
  16316. },
  16317. "deliverypricerule": {
  16318. "description": "交割价规则- 1:行情价 2:建仓价",
  16319. "type": "integer"
  16320. },
  16321. "deliverytype": {
  16322. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  16323. "type": "integer"
  16324. },
  16325. "enddate": {
  16326. "description": "结束日期(yyyyMMdd)",
  16327. "type": "string"
  16328. },
  16329. "enumdicname": {
  16330. "description": "品类单位名称",
  16331. "type": "string"
  16332. },
  16333. "goodscode": {
  16334. "description": "商品代码",
  16335. "type": "string"
  16336. },
  16337. "goodsid": {
  16338. "description": "交易合约ID",
  16339. "type": "integer"
  16340. },
  16341. "goodsname": {
  16342. "description": "商品名称",
  16343. "type": "string"
  16344. },
  16345. "marketid": {
  16346. "description": "市场ID",
  16347. "type": "integer"
  16348. },
  16349. "mindeliveryqty": {
  16350. "description": "最小交割系数(K)",
  16351. "type": "integer"
  16352. },
  16353. "p2deliveryprice": {
  16354. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  16355. "type": "number"
  16356. },
  16357. "p2deliveryratio": {
  16358. "description": "P2合约系数(p)",
  16359. "type": "integer"
  16360. },
  16361. "p2goodsid": {
  16362. "description": "P2合约ID",
  16363. "type": "integer"
  16364. },
  16365. "p2pricemode": {
  16366. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  16367. "type": "integer"
  16368. },
  16369. "pdeliveryprice": {
  16370. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  16371. "type": "number"
  16372. },
  16373. "pdeliveryratio": {
  16374. "description": "P合约系数(n)",
  16375. "type": "integer"
  16376. },
  16377. "pgoodscode": {
  16378. "description": "p合约代码",
  16379. "type": "string"
  16380. },
  16381. "pgoodsid": {
  16382. "description": "P合约ID",
  16383. "type": "integer"
  16384. },
  16385. "ppricemode": {
  16386. "description": "P合约价格方式 - 1:商品价 2:固定值",
  16387. "type": "integer"
  16388. },
  16389. "rratio": {
  16390. "description": "兑换系数(R)",
  16391. "type": "integer"
  16392. },
  16393. "rratio1": {
  16394. "description": "兑换系数(交易合约)(R1)",
  16395. "type": "integer"
  16396. },
  16397. "rratio2": {
  16398. "description": "兑换系数(仓单标准)(R2)",
  16399. "type": "integer"
  16400. },
  16401. "selltemplateid": {
  16402. "description": "卖履约计划模板ID",
  16403. "type": "integer"
  16404. },
  16405. "wrstandardid": {
  16406. "description": "仓单标准ID",
  16407. "type": "integer"
  16408. },
  16409. "xdeliveryratio": {
  16410. "description": "交易合约系数(m)",
  16411. "type": "integer"
  16412. }
  16413. }
  16414. },
  16415. "ermcp.ExposureDetailRsp": {
  16416. "type": "object",
  16417. "properties": {
  16418. "areauserid": {
  16419. "description": "机构ID",
  16420. "type": "integer"
  16421. },
  16422. "changeQty": {
  16423. "description": "套保变动量",
  16424. "type": "number"
  16425. },
  16426. "contracttype": {
  16427. "description": "现货合同类型 - 1:采购 -1:销售",
  16428. "type": "integer"
  16429. },
  16430. "convertfactor": {
  16431. "description": "标仓系数",
  16432. "type": "number"
  16433. },
  16434. "convertratio": {
  16435. "description": "套保系数",
  16436. "type": "number"
  16437. },
  16438. "createtime": {
  16439. "description": "时间",
  16440. "type": "string"
  16441. },
  16442. "enumdicname": {
  16443. "description": "现货商品单位名称",
  16444. "type": "string"
  16445. },
  16446. "logtype": {
  16447. "description": "类型 - 1:套保计划 2:现货合同",
  16448. "type": "integer"
  16449. },
  16450. "middlegoodsId": {
  16451. "description": "套保商品id",
  16452. "type": "integer"
  16453. },
  16454. "middlegoodscode": {
  16455. "description": "套保商品代码",
  16456. "type": "string"
  16457. },
  16458. "middlegoodsname": {
  16459. "description": "套保商品名称",
  16460. "type": "string"
  16461. },
  16462. "qty": {
  16463. "description": "数量",
  16464. "type": "number"
  16465. },
  16466. "relateNo": {
  16467. "description": "现货合同/套保计划编号",
  16468. "type": "string"
  16469. },
  16470. "wrstandardcode": {
  16471. "description": "现货商品代码",
  16472. "type": "string"
  16473. },
  16474. "wrstandardid": {
  16475. "description": "现货商品ID",
  16476. "type": "integer"
  16477. },
  16478. "wrstandardname": {
  16479. "description": "现货商品名称",
  16480. "type": "string"
  16481. }
  16482. }
  16483. },
  16484. "ermcp.ExposureHedgePosDetailRsp": {
  16485. "type": "object",
  16486. "properties": {
  16487. "buyorsell": {
  16488. "description": "买卖方向 0-买 1-卖",
  16489. "type": "integer"
  16490. },
  16491. "channelbuildtype": {
  16492. "description": "开平方向 1-建仓 2-平仓",
  16493. "type": "integer"
  16494. },
  16495. "goodscode": {
  16496. "description": "商品代码",
  16497. "type": "string"
  16498. },
  16499. "goodsname": {
  16500. "description": "商品名称",
  16501. "type": "string"
  16502. },
  16503. "hedgegoodsid": {
  16504. "description": "商品id",
  16505. "type": "integer"
  16506. },
  16507. "tradeqty": {
  16508. "description": "数量(成交数量)",
  16509. "type": "integer"
  16510. },
  16511. "tradetime": {
  16512. "description": "时间(成交时间)",
  16513. "type": "string"
  16514. }
  16515. }
  16516. },
  16517. "ermcp.ExposureHedgePositionRsp": {
  16518. "type": "object",
  16519. "properties": {
  16520. "accountid": {
  16521. "description": "资金账号[外部母账户]",
  16522. "type": "integer"
  16523. },
  16524. "curbuyposition": {
  16525. "description": "期末买头寸",
  16526. "type": "integer"
  16527. },
  16528. "cursellposition": {
  16529. "description": "期末卖头寸",
  16530. "type": "integer"
  16531. },
  16532. "curtdbuyposition": {
  16533. "description": "期末今日买头寸",
  16534. "type": "integer"
  16535. },
  16536. "curtdsellposition": {
  16537. "description": "期末今日卖头寸",
  16538. "type": "integer"
  16539. },
  16540. "curydbuyposition": {
  16541. "description": "期末上日买头寸",
  16542. "type": "integer"
  16543. },
  16544. "curydsellposition": {
  16545. "description": "期末上日卖头寸",
  16546. "type": "integer"
  16547. },
  16548. "decreaseqty": {
  16549. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16550. "type": "integer"
  16551. },
  16552. "fretdbuyposition": {
  16553. "description": "冻结今日买头寸",
  16554. "type": "integer"
  16555. },
  16556. "fretdsellposition": {
  16557. "description": "冻结今日卖头寸",
  16558. "type": "integer"
  16559. },
  16560. "freydbuyposition": {
  16561. "description": "冻结上日买头寸",
  16562. "type": "integer"
  16563. },
  16564. "freydsellposition": {
  16565. "description": "冻结上日卖头寸",
  16566. "type": "integer"
  16567. },
  16568. "goodscode": {
  16569. "description": "商品代码",
  16570. "type": "string"
  16571. },
  16572. "goodsid": {
  16573. "description": "商品id",
  16574. "type": "integer"
  16575. },
  16576. "goodsname": {
  16577. "description": "商品名称",
  16578. "type": "string"
  16579. },
  16580. "hedgeaccountcode": {
  16581. "description": "对冲账号",
  16582. "type": "string"
  16583. },
  16584. "hedgegoodsid": {
  16585. "description": "对冲合约ID",
  16586. "type": "integer"
  16587. },
  16588. "increaseqty": {
  16589. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16590. "type": "integer"
  16591. },
  16592. "marketid": {
  16593. "description": "市场ID",
  16594. "type": "integer"
  16595. },
  16596. "relateduserid": {
  16597. "description": "关联用户id",
  16598. "type": "integer"
  16599. },
  16600. "totalcurqty": {
  16601. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16602. "type": "integer"
  16603. },
  16604. "totalydqty": {
  16605. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16606. "type": "integer"
  16607. },
  16608. "tradedate": {
  16609. "description": "交易日(yyyyMMdd)",
  16610. "type": "string"
  16611. },
  16612. "ydbuyposition": {
  16613. "description": "期初买头寸",
  16614. "type": "integer"
  16615. },
  16616. "ydsellposition": {
  16617. "description": "期初卖头寸",
  16618. "type": "integer"
  16619. }
  16620. }
  16621. },
  16622. "ermcp.ExposureSpotDetailRsp": {
  16623. "type": "object",
  16624. "properties": {
  16625. "contracttype": {
  16626. "description": "合同类型 1-采购 -1-销售",
  16627. "type": "integer"
  16628. },
  16629. "createtime": {
  16630. "description": "创建时间",
  16631. "type": "string"
  16632. },
  16633. "enumdicname": {
  16634. "description": "现货商品单位名称",
  16635. "type": "string"
  16636. },
  16637. "logtype": {
  16638. "description": "记录类型 1-套保 2-现货合同",
  16639. "type": "integer"
  16640. },
  16641. "qty": {
  16642. "description": "数量",
  16643. "type": "number"
  16644. },
  16645. "recordname": {
  16646. "description": "类型名称",
  16647. "type": "string"
  16648. },
  16649. "relatedid": {
  16650. "description": "套保计划ID/现货合同ID",
  16651. "type": "string"
  16652. },
  16653. "relatedno": {
  16654. "description": "编号",
  16655. "type": "string"
  16656. },
  16657. "strtime": {
  16658. "description": "时间",
  16659. "type": "string"
  16660. },
  16661. "wrstandardcode": {
  16662. "description": "现货商品代码",
  16663. "type": "string"
  16664. },
  16665. "wrstandardname": {
  16666. "description": "现货商品名称",
  16667. "type": "string"
  16668. }
  16669. }
  16670. },
  16671. "ermcp.ExposureSpotRsp": {
  16672. "type": "object",
  16673. "properties": {
  16674. "areauserid": {
  16675. "description": "所属机构",
  16676. "type": "integer"
  16677. },
  16678. "decreaseqty": {
  16679. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16680. "type": "number"
  16681. },
  16682. "increaseqty": {
  16683. "description": "增加数量=销售计划数量+采购已定价数量",
  16684. "type": "number"
  16685. },
  16686. "oritoalspotqty": {
  16687. "description": "昨日数量",
  16688. "type": "number"
  16689. },
  16690. "totalspotqty": {
  16691. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16692. "type": "number"
  16693. },
  16694. "updatetime": {
  16695. "description": "更新时间",
  16696. "type": "string"
  16697. },
  16698. "wrstandardcode": {
  16699. "description": "现货品种代码",
  16700. "type": "string"
  16701. },
  16702. "wrstandardid": {
  16703. "description": "现货商品ID",
  16704. "type": "integer"
  16705. },
  16706. "wrstandardname": {
  16707. "description": "现货品种",
  16708. "type": "string"
  16709. }
  16710. }
  16711. },
  16712. "ermcp.HisExposureRsp": {
  16713. "type": "object",
  16714. "properties": {
  16715. "data": {
  16716. "description": "历史敞口",
  16717. "type": "array",
  16718. "items": {
  16719. "$ref": "#/definitions/models.ErmcpHisExposure"
  16720. }
  16721. },
  16722. "enumdicname": {
  16723. "description": "单位名称",
  16724. "type": "string"
  16725. },
  16726. "middlegoodscode": {
  16727. "description": "套保品种代码",
  16728. "type": "string"
  16729. },
  16730. "middlegoodsid": {
  16731. "description": "套保品种ID",
  16732. "type": "integer"
  16733. },
  16734. "middlegoodsname": {
  16735. "description": "套保品种名称",
  16736. "type": "string"
  16737. }
  16738. }
  16739. },
  16740. "ermcp.PendingAuditCntRsp": {
  16741. "type": "object",
  16742. "properties": {
  16743. "areastockqty": {
  16744. "description": "待审核数量: 库存申请",
  16745. "type": "integer"
  16746. },
  16747. "businessdjqty": {
  16748. "description": "待审核数量: 点价",
  16749. "type": "integer"
  16750. },
  16751. "businessfpqty": {
  16752. "description": "待审核数量: 发票",
  16753. "type": "integer"
  16754. },
  16755. "businessjsqty": {
  16756. "description": "待审核数量: 结算",
  16757. "type": "integer"
  16758. },
  16759. "businesskxqty": {
  16760. "description": "待审核数量: 款项",
  16761. "type": "integer"
  16762. },
  16763. "hedgeplanqty": {
  16764. "description": "待审核数量: 套保计划",
  16765. "type": "integer"
  16766. },
  16767. "spotcontractqty": {
  16768. "description": "待审核数量: 现货合同",
  16769. "type": "integer"
  16770. },
  16771. "userqty": {
  16772. "description": "待审核数量: 用户",
  16773. "type": "integer"
  16774. }
  16775. }
  16776. },
  16777. "ermcp.QryAvalidGPRsp": {
  16778. "type": "object",
  16779. "properties": {
  16780. "goodsgroupid": {
  16781. "description": "期货品种id",
  16782. "type": "integer"
  16783. },
  16784. "goodsgroupname": {
  16785. "description": "期货品种名称",
  16786. "type": "string"
  16787. },
  16788. "goodunitid": {
  16789. "description": "品种单位id",
  16790. "type": "integer"
  16791. },
  16792. "goodunitname": {
  16793. "description": "品种单位名称",
  16794. "type": "string"
  16795. },
  16796. "outergroupcode": {
  16797. "description": "期货品种代码",
  16798. "type": "string"
  16799. }
  16800. }
  16801. },
  16802. "ermcp.QryBusinessDjRsp": {
  16803. "type": "object",
  16804. "properties": {
  16805. "amount": {
  16806. "description": "点价金额=(点价价格+升贴水)*点价数量",
  16807. "type": "number"
  16808. },
  16809. "applyid": {
  16810. "description": "申请人",
  16811. "type": "string"
  16812. },
  16813. "applyname": {
  16814. "description": "申请人名称",
  16815. "type": "string"
  16816. },
  16817. "applystatus": {
  16818. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16819. "type": "integer"
  16820. },
  16821. "applytime": {
  16822. "description": "申请时间",
  16823. "type": "string"
  16824. },
  16825. "attachurl": {
  16826. "description": "附件",
  16827. "type": "string"
  16828. },
  16829. "auditid": {
  16830. "description": "审核人ID",
  16831. "type": "string"
  16832. },
  16833. "auditname": {
  16834. "description": "审核人名称",
  16835. "type": "string"
  16836. },
  16837. "auditremark": {
  16838. "description": "审核备注",
  16839. "type": "string"
  16840. },
  16841. "audittime": {
  16842. "description": "审核时间",
  16843. "type": "string"
  16844. },
  16845. "buyusername": {
  16846. "description": "采购方名称",
  16847. "type": "string"
  16848. },
  16849. "contractno": {
  16850. "description": "合同编号",
  16851. "type": "string"
  16852. },
  16853. "contractstatus": {
  16854. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16855. "type": "integer"
  16856. },
  16857. "contracttype": {
  16858. "description": "现货合同类型 - 1:采购 -1:销售",
  16859. "type": "integer"
  16860. },
  16861. "deliverygoodscode": {
  16862. "description": "现货品种代码",
  16863. "type": "string"
  16864. },
  16865. "deliverygoodsid": {
  16866. "description": "现货商品ID",
  16867. "type": "integer"
  16868. },
  16869. "deliverygoodsname": {
  16870. "description": "现货品种名称",
  16871. "type": "string"
  16872. },
  16873. "enumdicname": {
  16874. "description": "单位名称",
  16875. "type": "string"
  16876. },
  16877. "goodscode": {
  16878. "description": "点价合约",
  16879. "type": "string"
  16880. },
  16881. "goodsname": {
  16882. "description": "商品名称",
  16883. "type": "string"
  16884. },
  16885. "operateapplyid": {
  16886. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16887. "type": "string"
  16888. },
  16889. "operateapplytype": {
  16890. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16891. "type": "integer"
  16892. },
  16893. "pricedPrice": {
  16894. "description": "点价价格(非必填)",
  16895. "type": "number"
  16896. },
  16897. "pricedQty": {
  16898. "description": "点价数量(非必填)",
  16899. "type": "number"
  16900. },
  16901. "pricemove": {
  16902. "description": "升贴水",
  16903. "type": "number"
  16904. },
  16905. "pricetype": {
  16906. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16907. "type": "integer"
  16908. },
  16909. "relatedid": {
  16910. "description": "现货合同ID",
  16911. "type": "string"
  16912. },
  16913. "sellusername": {
  16914. "description": "销售方名字",
  16915. "type": "string"
  16916. },
  16917. "userid": {
  16918. "description": "用户ID",
  16919. "type": "integer"
  16920. },
  16921. "wrstandardcode": {
  16922. "description": "品类代码",
  16923. "type": "string"
  16924. },
  16925. "wrstandardid": {
  16926. "description": "品类id",
  16927. "type": "integer"
  16928. },
  16929. "wrstandardname": {
  16930. "description": "品类名称",
  16931. "type": "string"
  16932. }
  16933. }
  16934. },
  16935. "ermcp.QryBussinessFpRsp": {
  16936. "type": "object",
  16937. "properties": {
  16938. "applyid": {
  16939. "description": "申请人",
  16940. "type": "string"
  16941. },
  16942. "applyname": {
  16943. "description": "申请人名称",
  16944. "type": "string"
  16945. },
  16946. "applystatus": {
  16947. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16948. "type": "integer"
  16949. },
  16950. "applytime": {
  16951. "description": "申请时间",
  16952. "type": "string"
  16953. },
  16954. "attachurl": {
  16955. "description": "附件",
  16956. "type": "string"
  16957. },
  16958. "auditid": {
  16959. "description": "审核人ID",
  16960. "type": "string"
  16961. },
  16962. "auditname": {
  16963. "description": "审核人名称",
  16964. "type": "string"
  16965. },
  16966. "auditremark": {
  16967. "description": "审核备注",
  16968. "type": "string"
  16969. },
  16970. "audittime": {
  16971. "description": "审核时间",
  16972. "type": "string"
  16973. },
  16974. "buyusername": {
  16975. "description": "采购方名称",
  16976. "type": "string"
  16977. },
  16978. "contractno": {
  16979. "description": "合同编号",
  16980. "type": "string"
  16981. },
  16982. "contractstatus": {
  16983. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16984. "type": "integer"
  16985. },
  16986. "contracttype": {
  16987. "description": "现货合同类型 - 1:采购 -1:销售",
  16988. "type": "integer"
  16989. },
  16990. "deliverygoodscode": {
  16991. "description": "现货品种代码",
  16992. "type": "string"
  16993. },
  16994. "deliverygoodsid": {
  16995. "description": "现货商品ID",
  16996. "type": "integer"
  16997. },
  16998. "deliverygoodsname": {
  16999. "description": "现货品种名称",
  17000. "type": "string"
  17001. },
  17002. "enumdicname": {
  17003. "description": "单位名称",
  17004. "type": "string"
  17005. },
  17006. "goodscode": {
  17007. "description": "点价合约",
  17008. "type": "string"
  17009. },
  17010. "goodsname": {
  17011. "description": "商品名称",
  17012. "type": "string"
  17013. },
  17014. "invoiceamount": {
  17015. "description": "已开收票金额(销售为开票,采购为收票)",
  17016. "type": "number"
  17017. },
  17018. "operateapplyid": {
  17019. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17020. "type": "string"
  17021. },
  17022. "operateapplytype": {
  17023. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17024. "type": "integer"
  17025. },
  17026. "pricemove": {
  17027. "description": "升贴水",
  17028. "type": "number"
  17029. },
  17030. "pricetype": {
  17031. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17032. "type": "integer"
  17033. },
  17034. "relatedid": {
  17035. "description": "现货合同ID",
  17036. "type": "string"
  17037. },
  17038. "sellusername": {
  17039. "description": "销售方名字",
  17040. "type": "string"
  17041. },
  17042. "userid": {
  17043. "description": "用户ID",
  17044. "type": "integer"
  17045. },
  17046. "wrstandardcode": {
  17047. "description": "品类代码",
  17048. "type": "string"
  17049. },
  17050. "wrstandardid": {
  17051. "description": "品类id",
  17052. "type": "integer"
  17053. },
  17054. "wrstandardname": {
  17055. "description": "品类名称",
  17056. "type": "string"
  17057. }
  17058. }
  17059. },
  17060. "ermcp.QryBussinessJsExRsp": {
  17061. "type": "object",
  17062. "properties": {
  17063. "applyid": {
  17064. "description": "申请人",
  17065. "type": "string"
  17066. },
  17067. "applyname": {
  17068. "description": "申请人名称",
  17069. "type": "string"
  17070. },
  17071. "applystatus": {
  17072. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17073. "type": "integer"
  17074. },
  17075. "applytime": {
  17076. "description": "申请时间",
  17077. "type": "string"
  17078. },
  17079. "attachurl": {
  17080. "description": "附件",
  17081. "type": "string"
  17082. },
  17083. "auditid": {
  17084. "description": "审核人ID",
  17085. "type": "string"
  17086. },
  17087. "auditname": {
  17088. "description": "审核人名称",
  17089. "type": "string"
  17090. },
  17091. "auditremark": {
  17092. "description": "审核备注",
  17093. "type": "string"
  17094. },
  17095. "audittime": {
  17096. "description": "审核时间",
  17097. "type": "string"
  17098. },
  17099. "buyusername": {
  17100. "description": "采购方名称",
  17101. "type": "string"
  17102. },
  17103. "contractno": {
  17104. "description": "合同编号",
  17105. "type": "string"
  17106. },
  17107. "contractstatus": {
  17108. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17109. "type": "integer"
  17110. },
  17111. "contracttype": {
  17112. "description": "现货合同类型 - 1:采购 -1:销售",
  17113. "type": "integer"
  17114. },
  17115. "deliverygoodscode": {
  17116. "description": "现货品种代码",
  17117. "type": "string"
  17118. },
  17119. "deliverygoodsid": {
  17120. "description": "现货商品ID",
  17121. "type": "integer"
  17122. },
  17123. "deliverygoodsname": {
  17124. "description": "现货品种名称",
  17125. "type": "string"
  17126. },
  17127. "enumdicname": {
  17128. "description": "单位名称",
  17129. "type": "string"
  17130. },
  17131. "goodscode": {
  17132. "description": "点价合约",
  17133. "type": "string"
  17134. },
  17135. "goodsname": {
  17136. "description": "商品名称",
  17137. "type": "string"
  17138. },
  17139. "operateapplyid": {
  17140. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17141. "type": "string"
  17142. },
  17143. "operateapplytype": {
  17144. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17145. "type": "integer"
  17146. },
  17147. "pricemove": {
  17148. "description": "升贴水",
  17149. "type": "number"
  17150. },
  17151. "pricetype": {
  17152. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17153. "type": "integer"
  17154. },
  17155. "reckontype": {
  17156. "description": "结算类型",
  17157. "type": "string"
  17158. },
  17159. "reckonvalue": {
  17160. "description": "值",
  17161. "type": "number"
  17162. },
  17163. "relatedid": {
  17164. "description": "现货合同ID",
  17165. "type": "string"
  17166. },
  17167. "sellusername": {
  17168. "description": "销售方名字",
  17169. "type": "string"
  17170. },
  17171. "userid": {
  17172. "description": "用户ID",
  17173. "type": "integer"
  17174. },
  17175. "wrstandardcode": {
  17176. "description": "品类代码",
  17177. "type": "string"
  17178. },
  17179. "wrstandardid": {
  17180. "description": "品类id",
  17181. "type": "integer"
  17182. },
  17183. "wrstandardname": {
  17184. "description": "品类名称",
  17185. "type": "string"
  17186. }
  17187. }
  17188. },
  17189. "ermcp.QryBussinessJsRsp": {
  17190. "type": "object",
  17191. "properties": {
  17192. "addmargin": {
  17193. "description": "追加保证金(非必填)",
  17194. "type": "number"
  17195. },
  17196. "applyid": {
  17197. "description": "申请人",
  17198. "type": "string"
  17199. },
  17200. "applyname": {
  17201. "description": "申请人名称",
  17202. "type": "string"
  17203. },
  17204. "applystatus": {
  17205. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17206. "type": "integer"
  17207. },
  17208. "applytime": {
  17209. "description": "申请时间",
  17210. "type": "string"
  17211. },
  17212. "attachurl": {
  17213. "description": "附件",
  17214. "type": "string"
  17215. },
  17216. "auditid": {
  17217. "description": "审核人ID",
  17218. "type": "string"
  17219. },
  17220. "auditname": {
  17221. "description": "审核人名称",
  17222. "type": "string"
  17223. },
  17224. "auditremark": {
  17225. "description": "审核备注",
  17226. "type": "string"
  17227. },
  17228. "audittime": {
  17229. "description": "审核时间",
  17230. "type": "string"
  17231. },
  17232. "buyusername": {
  17233. "description": "采购方名称",
  17234. "type": "string"
  17235. },
  17236. "contractno": {
  17237. "description": "合同编号",
  17238. "type": "string"
  17239. },
  17240. "contractstatus": {
  17241. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17242. "type": "integer"
  17243. },
  17244. "contracttype": {
  17245. "description": "现货合同类型 - 1:采购 -1:销售",
  17246. "type": "integer"
  17247. },
  17248. "decmargin": {
  17249. "description": "减少保证金(非必填)",
  17250. "type": "number"
  17251. },
  17252. "deliverygoodscode": {
  17253. "description": "现货品种代码",
  17254. "type": "string"
  17255. },
  17256. "deliverygoodsid": {
  17257. "description": "现货商品ID",
  17258. "type": "integer"
  17259. },
  17260. "deliverygoodsname": {
  17261. "description": "现货品种名称",
  17262. "type": "string"
  17263. },
  17264. "enumdicname": {
  17265. "description": "单位名称",
  17266. "type": "string"
  17267. },
  17268. "goodscode": {
  17269. "description": "点价合约",
  17270. "type": "string"
  17271. },
  17272. "goodsname": {
  17273. "description": "商品名称",
  17274. "type": "string"
  17275. },
  17276. "operateapplyid": {
  17277. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17278. "type": "string"
  17279. },
  17280. "operateapplytype": {
  17281. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17282. "type": "integer"
  17283. },
  17284. "pricemove": {
  17285. "description": "升贴水",
  17286. "type": "number"
  17287. },
  17288. "pricetype": {
  17289. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17290. "type": "integer"
  17291. },
  17292. "reckonadjustamount": {
  17293. "description": "结算调整金额(非必填)",
  17294. "type": "number"
  17295. },
  17296. "reckonosamount": {
  17297. "description": "结算溢短金额(非必填)",
  17298. "type": "number"
  17299. },
  17300. "reckonotheramount": {
  17301. "description": "结算其他费用(非必填)",
  17302. "type": "number"
  17303. },
  17304. "reckonrealqty": {
  17305. "description": "结算实际数量(非必填)",
  17306. "type": "number"
  17307. },
  17308. "relatedid": {
  17309. "description": "现货合同ID",
  17310. "type": "string"
  17311. },
  17312. "sellusername": {
  17313. "description": "销售方名字",
  17314. "type": "string"
  17315. },
  17316. "userid": {
  17317. "description": "用户ID",
  17318. "type": "integer"
  17319. },
  17320. "wrstandardcode": {
  17321. "description": "品类代码",
  17322. "type": "string"
  17323. },
  17324. "wrstandardid": {
  17325. "description": "品类id",
  17326. "type": "integer"
  17327. },
  17328. "wrstandardname": {
  17329. "description": "品类名称",
  17330. "type": "string"
  17331. }
  17332. }
  17333. },
  17334. "ermcp.QryBussinessKxRsp": {
  17335. "type": "object",
  17336. "properties": {
  17337. "applyid": {
  17338. "description": "申请人",
  17339. "type": "string"
  17340. },
  17341. "applyname": {
  17342. "description": "申请人名称",
  17343. "type": "string"
  17344. },
  17345. "applystatus": {
  17346. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17347. "type": "integer"
  17348. },
  17349. "applytime": {
  17350. "description": "申请时间",
  17351. "type": "string"
  17352. },
  17353. "attachurl": {
  17354. "description": "附件",
  17355. "type": "string"
  17356. },
  17357. "auditid": {
  17358. "description": "审核人ID",
  17359. "type": "string"
  17360. },
  17361. "auditname": {
  17362. "description": "审核人名称",
  17363. "type": "string"
  17364. },
  17365. "auditremark": {
  17366. "description": "审核备注",
  17367. "type": "string"
  17368. },
  17369. "audittime": {
  17370. "description": "审核时间",
  17371. "type": "string"
  17372. },
  17373. "buyusername": {
  17374. "description": "采购方名称",
  17375. "type": "string"
  17376. },
  17377. "contractno": {
  17378. "description": "合同编号",
  17379. "type": "string"
  17380. },
  17381. "contractstatus": {
  17382. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17383. "type": "integer"
  17384. },
  17385. "contracttype": {
  17386. "description": "现货合同类型 - 1:采购 -1:销售",
  17387. "type": "integer"
  17388. },
  17389. "deductamount": {
  17390. "description": "退款(非必填)",
  17391. "type": "number"
  17392. },
  17393. "deliverygoodscode": {
  17394. "description": "现货品种代码",
  17395. "type": "string"
  17396. },
  17397. "deliverygoodsid": {
  17398. "description": "现货商品ID",
  17399. "type": "integer"
  17400. },
  17401. "deliverygoodsname": {
  17402. "description": "现货品种名称",
  17403. "type": "string"
  17404. },
  17405. "enumdicname": {
  17406. "description": "单位名称",
  17407. "type": "string"
  17408. },
  17409. "goodscode": {
  17410. "description": "点价合约",
  17411. "type": "string"
  17412. },
  17413. "goodsname": {
  17414. "description": "商品名称",
  17415. "type": "string"
  17416. },
  17417. "kxtype": {
  17418. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  17419. "type": "integer"
  17420. },
  17421. "operateapplyid": {
  17422. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17423. "type": "string"
  17424. },
  17425. "operateapplytype": {
  17426. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17427. "type": "integer"
  17428. },
  17429. "payamount": {
  17430. "description": "收付款(非必填)",
  17431. "type": "number"
  17432. },
  17433. "pricemove": {
  17434. "description": "升贴水",
  17435. "type": "number"
  17436. },
  17437. "pricetype": {
  17438. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17439. "type": "integer"
  17440. },
  17441. "relatedid": {
  17442. "description": "现货合同ID",
  17443. "type": "string"
  17444. },
  17445. "sellusername": {
  17446. "description": "销售方名字",
  17447. "type": "string"
  17448. },
  17449. "userid": {
  17450. "description": "用户ID",
  17451. "type": "integer"
  17452. },
  17453. "wrstandardcode": {
  17454. "description": "品类代码",
  17455. "type": "string"
  17456. },
  17457. "wrstandardid": {
  17458. "description": "品类id",
  17459. "type": "integer"
  17460. },
  17461. "wrstandardname": {
  17462. "description": "品类名称",
  17463. "type": "string"
  17464. }
  17465. }
  17466. },
  17467. "ermcp.QryGGCovertCfgRsp": {
  17468. "type": "object",
  17469. "properties": {
  17470. "convertratio": {
  17471. "description": "折算系数",
  17472. "type": "number"
  17473. },
  17474. "destgoodsgroupid": {
  17475. "description": "目标品种ID",
  17476. "type": "integer"
  17477. },
  17478. "dstcode": {
  17479. "description": "目录品种代码",
  17480. "type": "string"
  17481. },
  17482. "dstexchangecode": {
  17483. "description": "目标期货交易所",
  17484. "type": "string"
  17485. },
  17486. "dstname": {
  17487. "description": "目标品种名称",
  17488. "type": "string"
  17489. },
  17490. "dstunitid": {
  17491. "description": "目标品种单位ID",
  17492. "type": "integer"
  17493. },
  17494. "dstunitidname": {
  17495. "description": "目标品种单位名称",
  17496. "type": "string"
  17497. },
  17498. "modifytime": {
  17499. "description": "修改时间",
  17500. "type": "string"
  17501. },
  17502. "srccode": {
  17503. "description": "源品种代码",
  17504. "type": "string"
  17505. },
  17506. "srcexchangecode": {
  17507. "description": "源期货交易所",
  17508. "type": "string"
  17509. },
  17510. "srcgoodsgroupid": {
  17511. "description": "源品种ID",
  17512. "type": "integer"
  17513. },
  17514. "srcname": {
  17515. "description": "源品种名称",
  17516. "type": "string"
  17517. },
  17518. "srcunitid": {
  17519. "description": "源品种单位ID",
  17520. "type": "integer"
  17521. },
  17522. "srcunitidname": {
  17523. "description": "源品种单位名称",
  17524. "type": "string"
  17525. }
  17526. }
  17527. },
  17528. "ermcp.QryMGChangeLogRsp": {
  17529. "type": "object",
  17530. "properties": {
  17531. "aftervalue": {
  17532. "description": "变更后",
  17533. "type": "number"
  17534. },
  17535. "applyid": {
  17536. "description": "操作人",
  17537. "type": "integer"
  17538. },
  17539. "applyname": {
  17540. "description": "操作人名称",
  17541. "type": "string"
  17542. },
  17543. "applysrc": {
  17544. "description": "操作来源 - 1:管理端 2:终端",
  17545. "type": "integer"
  17546. },
  17547. "beforevalue": {
  17548. "description": "变更前",
  17549. "type": "number"
  17550. },
  17551. "changelogtype": {
  17552. "description": "变更流水类型 - 1:套保比率变更",
  17553. "type": "integer"
  17554. },
  17555. "handlestatus": {
  17556. "description": "处理状态",
  17557. "type": "integer"
  17558. },
  17559. "logdatetime": {
  17560. "description": "流水日期",
  17561. "type": "string"
  17562. },
  17563. "logid": {
  17564. "description": "流水ID",
  17565. "type": "integer"
  17566. },
  17567. "logremark": {
  17568. "description": "流水备注",
  17569. "type": "string"
  17570. },
  17571. "middlegoodsid": {
  17572. "description": "套保品种ID",
  17573. "type": "integer"
  17574. },
  17575. "tradedate": {
  17576. "description": "交易日(yyyyMMdd)",
  17577. "type": "string"
  17578. },
  17579. "updatetime": {
  17580. "description": "更新时间",
  17581. "type": "string"
  17582. }
  17583. }
  17584. },
  17585. "ermcp.QryMiddleGoodsDetailRsp": {
  17586. "type": "object",
  17587. "properties": {
  17588. "cvList": {
  17589. "description": "期货品种折算列表",
  17590. "type": "array",
  17591. "items": {
  17592. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17593. }
  17594. },
  17595. "mg": {
  17596. "description": "套保品种基本信息",
  17597. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17598. },
  17599. "wrcList": {
  17600. "description": "现货品种列表(现货商品折算配置)",
  17601. "type": "array",
  17602. "items": {
  17603. "$ref": "#/definitions/models.WRSConverTDetail"
  17604. }
  17605. }
  17606. }
  17607. },
  17608. "ermcp.QryMiddleGoodsRsp": {
  17609. "type": "object",
  17610. "properties": {
  17611. "areauserid": {
  17612. "description": "机构用户ID",
  17613. "type": "integer"
  17614. },
  17615. "createtime": {
  17616. "description": "修改时间",
  17617. "type": "string"
  17618. },
  17619. "enumdicname": {
  17620. "description": "单位名称",
  17621. "type": "string"
  17622. },
  17623. "evaluateratio": {
  17624. "description": "估价系数",
  17625. "type": "number"
  17626. },
  17627. "goodsgroupid": {
  17628. "description": "关联期货品种ID",
  17629. "type": "integer"
  17630. },
  17631. "goodsunitid": {
  17632. "description": "单位ID",
  17633. "type": "integer"
  17634. },
  17635. "isvalid": {
  17636. "description": "状态 0-无效(停用) 1-有效(正常)",
  17637. "type": "integer"
  17638. },
  17639. "middlegoodscode": {
  17640. "description": "套保品种代码",
  17641. "type": "string"
  17642. },
  17643. "middlegoodsid": {
  17644. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17645. "type": "integer"
  17646. },
  17647. "middlegoodsname": {
  17648. "description": "套保品种名称",
  17649. "type": "string"
  17650. },
  17651. "modifytime": {
  17652. "description": "修改时间",
  17653. "type": "string"
  17654. },
  17655. "needarbitrageratio": {
  17656. "description": "套利比例",
  17657. "type": "number"
  17658. },
  17659. "needhedgeratio": {
  17660. "description": "套保比率",
  17661. "type": "number"
  17662. },
  17663. "qtydecimalplace": {
  17664. "description": "数量小数位",
  17665. "type": "integer"
  17666. },
  17667. "relatedgoodsid": {
  17668. "description": "关联交易商品ID",
  17669. "type": "integer"
  17670. },
  17671. "relatedgoodstype": {
  17672. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17673. "type": "integer"
  17674. },
  17675. "remark": {
  17676. "description": "备注",
  17677. "type": "string"
  17678. }
  17679. }
  17680. },
  17681. "ermcp.QryOPLogRsp": {
  17682. "type": "object",
  17683. "properties": {
  17684. "aftervalue": {
  17685. "description": "变更后",
  17686. "type": "number"
  17687. },
  17688. "applyid": {
  17689. "description": "操作人ID",
  17690. "type": "string"
  17691. },
  17692. "applyname": {
  17693. "description": "操作人名称",
  17694. "type": "string"
  17695. },
  17696. "beforevalue": {
  17697. "description": "变更前",
  17698. "type": "number"
  17699. },
  17700. "biztype": {
  17701. "description": "业务类型 - 1:套保计划 2:现货合同",
  17702. "type": "integer"
  17703. },
  17704. "contracttype": {
  17705. "description": "现货合同类型 - 1:采购 -1:销售",
  17706. "type": "integer"
  17707. },
  17708. "logvalue": {
  17709. "description": "数值",
  17710. "type": "number"
  17711. },
  17712. "operatelogtype": {
  17713. "description": "操作流水类型",
  17714. "type": "integer"
  17715. },
  17716. "operatelogtypedesc": {
  17717. "description": "操作流水类型名称",
  17718. "type": "string"
  17719. },
  17720. "relatedid": {
  17721. "description": "现货合同ID\\套保计划",
  17722. "type": "string"
  17723. },
  17724. "updatetime": {
  17725. "description": "更新时间",
  17726. "type": "string"
  17727. }
  17728. }
  17729. },
  17730. "ermcp.QryUserInfoRsp": {
  17731. "type": "object",
  17732. "properties": {
  17733. "address": {
  17734. "description": "通讯地址",
  17735. "type": "string"
  17736. },
  17737. "attachment1": {
  17738. "description": "附件1",
  17739. "type": "string"
  17740. },
  17741. "audittime": {
  17742. "description": "审核时间",
  17743. "type": "string"
  17744. },
  17745. "cardbackphotourl": {
  17746. "description": "证件反面图片地址",
  17747. "type": "string"
  17748. },
  17749. "cardfrontphotourl": {
  17750. "description": "证件正面图片地址",
  17751. "type": "string"
  17752. },
  17753. "cardnum": {
  17754. "description": "证件号码",
  17755. "type": "string"
  17756. },
  17757. "cardtype": {
  17758. "description": "证件类型",
  17759. "type": "integer"
  17760. },
  17761. "cardtypename": {
  17762. "description": "证件类型名称",
  17763. "type": "string"
  17764. },
  17765. "cityid": {
  17766. "description": "市",
  17767. "type": "integer"
  17768. },
  17769. "contactname": {
  17770. "description": "联系人",
  17771. "type": "string"
  17772. },
  17773. "countryid": {
  17774. "description": "国家",
  17775. "type": "integer"
  17776. },
  17777. "createtime": {
  17778. "description": "创建时间",
  17779. "type": "string"
  17780. },
  17781. "customername": {
  17782. "description": "企业名称",
  17783. "type": "string"
  17784. },
  17785. "districtid": {
  17786. "description": "区域",
  17787. "type": "integer"
  17788. },
  17789. "email": {
  17790. "description": "邮件",
  17791. "type": "string"
  17792. },
  17793. "legalpersonname": {
  17794. "description": "法人姓名(企业)",
  17795. "type": "string"
  17796. },
  17797. "memberuserid": {
  17798. "description": "所属机构ID",
  17799. "type": "integer"
  17800. },
  17801. "mobile": {
  17802. "description": "手机号码",
  17803. "type": "string"
  17804. },
  17805. "modifytime": {
  17806. "description": "修改时间",
  17807. "type": "string"
  17808. },
  17809. "nickname": {
  17810. "description": "昵称",
  17811. "type": "string"
  17812. },
  17813. "provinceid": {
  17814. "description": "省",
  17815. "type": "integer"
  17816. },
  17817. "remark": {
  17818. "description": "备注",
  17819. "type": "string"
  17820. },
  17821. "status": {
  17822. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17823. "type": "integer"
  17824. },
  17825. "statusdesc": {
  17826. "description": "账户状态中文描述",
  17827. "type": "string"
  17828. },
  17829. "taxpayernum": {
  17830. "description": "纳税人识别号",
  17831. "type": "string"
  17832. },
  17833. "telphone": {
  17834. "description": "联系电话",
  17835. "type": "string"
  17836. },
  17837. "userid": {
  17838. "description": "用户ID",
  17839. "type": "integer"
  17840. },
  17841. "userinfotype": {
  17842. "description": "客户类型",
  17843. "type": "string"
  17844. }
  17845. }
  17846. },
  17847. "ermcp.QryWarehouseRsp": {
  17848. "type": "object",
  17849. "properties": {
  17850. "address": {
  17851. "description": "详细地址",
  17852. "type": "string"
  17853. },
  17854. "areauserid": {
  17855. "description": "所属机构",
  17856. "type": "integer"
  17857. },
  17858. "autoid": {
  17859. "description": "自增ID(仓库ID)",
  17860. "type": "integer"
  17861. },
  17862. "cityid": {
  17863. "description": "市",
  17864. "type": "integer"
  17865. },
  17866. "contactname": {
  17867. "description": "联系人",
  17868. "type": "string"
  17869. },
  17870. "contactnum": {
  17871. "description": "联系电话",
  17872. "type": "string"
  17873. },
  17874. "countryid": {
  17875. "description": "国家",
  17876. "type": "integer"
  17877. },
  17878. "createtime": {
  17879. "description": "创建时间",
  17880. "type": "string"
  17881. },
  17882. "districtid": {
  17883. "description": "区",
  17884. "type": "integer"
  17885. },
  17886. "hasvideo": {
  17887. "description": "是否有视频 - 0:无 1:有",
  17888. "type": "integer"
  17889. },
  17890. "provinceid": {
  17891. "description": "省",
  17892. "type": "integer"
  17893. },
  17894. "remark": {
  17895. "description": "审核备注",
  17896. "type": "string"
  17897. },
  17898. "videourl": {
  17899. "description": "视频地址",
  17900. "type": "string"
  17901. },
  17902. "warehousecode": {
  17903. "description": "仓库代码",
  17904. "type": "string"
  17905. },
  17906. "warehousename": {
  17907. "description": "仓库名称",
  17908. "type": "string"
  17909. },
  17910. "warehousestatus": {
  17911. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17912. "type": "integer"
  17913. },
  17914. "warehousetype": {
  17915. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17916. "type": "integer"
  17917. }
  17918. }
  17919. },
  17920. "ermcp.QueryErmcpTradePositionRsp": {
  17921. "type": "object",
  17922. "properties": {
  17923. "agreeunit": {
  17924. "description": "合约单位",
  17925. "type": "number"
  17926. },
  17927. "buyorsell": {
  17928. "description": "方向 - 0:买 1:卖",
  17929. "type": "integer"
  17930. },
  17931. "curpositionqty": {
  17932. "description": "持仓(总仓数量, 期末头寸)",
  17933. "type": "integer"
  17934. },
  17935. "curtdposition": {
  17936. "description": "今仓数量(期末今日头寸)",
  17937. "type": "integer"
  17938. },
  17939. "curtdpositionenabled": {
  17940. "description": "今仓可用",
  17941. "type": "integer"
  17942. },
  17943. "decimalplace": {
  17944. "description": "报价小数位",
  17945. "type": "integer"
  17946. },
  17947. "enableqty": {
  17948. "description": "可用(总仓可用)",
  17949. "type": "integer"
  17950. },
  17951. "exexchangename": {
  17952. "description": "外部交易所名称",
  17953. "type": "string"
  17954. },
  17955. "exexehangecode": {
  17956. "description": "外部交易所代码",
  17957. "type": "string"
  17958. },
  17959. "exexehangeid": {
  17960. "description": "外部交易所id",
  17961. "type": "integer"
  17962. },
  17963. "goodscode": {
  17964. "description": "商品代码(内部)",
  17965. "type": "string"
  17966. },
  17967. "goodsid": {
  17968. "description": "商品ID(自增ID SEQ_GOODS)",
  17969. "type": "integer"
  17970. },
  17971. "goodsname": {
  17972. "description": "商品名称",
  17973. "type": "string"
  17974. },
  17975. "last": {
  17976. "description": "现价",
  17977. "type": "number"
  17978. },
  17979. "marketid": {
  17980. "description": "所属市场ID",
  17981. "type": "integer"
  17982. },
  17983. "openaverageprice": {
  17984. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17985. "type": "number"
  17986. },
  17987. "opencost": {
  17988. "description": "开仓成本",
  17989. "type": "number"
  17990. },
  17991. "openpl": {
  17992. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17993. "type": "number"
  17994. },
  17995. "outgoodscode": {
  17996. "description": "商品代码(外部)",
  17997. "type": "string"
  17998. },
  17999. "positionaverageprice": {
  18000. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18001. "type": "number"
  18002. },
  18003. "positioncost": {
  18004. "description": "持仓成本",
  18005. "type": "number"
  18006. },
  18007. "positionpl": {
  18008. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18009. "type": "number"
  18010. },
  18011. "positionplrate": {
  18012. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18013. "type": "number"
  18014. },
  18015. "usedmargin": {
  18016. "description": "占用保证金",
  18017. "type": "number"
  18018. }
  18019. }
  18020. },
  18021. "ermcp.RealtimeExposurePositionRsp": {
  18022. "type": "object",
  18023. "properties": {
  18024. "accountid": {
  18025. "description": "资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)",
  18026. "type": "integer"
  18027. },
  18028. "agreeunit": {
  18029. "description": "合约单位",
  18030. "type": "string"
  18031. },
  18032. "areauserid": {
  18033. "description": "所属机构id",
  18034. "type": "integer"
  18035. },
  18036. "convertratio": {
  18037. "description": "期货品种系数(折算系数)",
  18038. "type": "number"
  18039. },
  18040. "curqty": {
  18041. "description": "当前持仓",
  18042. "type": "integer"
  18043. },
  18044. "diffhedgeqty": {
  18045. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18046. "type": "number"
  18047. },
  18048. "diffqty": {
  18049. "description": "持仓变动量=当前持仓-昨日持仓",
  18050. "type": "integer"
  18051. },
  18052. "goodscode": {
  18053. "description": "商品代码",
  18054. "type": "string"
  18055. },
  18056. "goodsid": {
  18057. "description": "商品id",
  18058. "type": "integer"
  18059. },
  18060. "goodsname": {
  18061. "description": "商品名称",
  18062. "type": "string"
  18063. },
  18064. "hedgeaccountcode": {
  18065. "description": "对冲账号(只有外部账号才有值)",
  18066. "type": "string"
  18067. },
  18068. "middlegoodsid": {
  18069. "description": "套保商品id",
  18070. "type": "integer"
  18071. },
  18072. "ydqty": {
  18073. "description": "昨日持仓",
  18074. "type": "integer"
  18075. }
  18076. }
  18077. },
  18078. "ermcp.RealtimeExposureRsp": {
  18079. "type": "object",
  18080. "properties": {
  18081. "AreaUserID": {
  18082. "description": "所属机构",
  18083. "type": "integer"
  18084. },
  18085. "BuyFutureQty": {
  18086. "description": "买入期货数量",
  18087. "type": "number"
  18088. },
  18089. "BuyPlanQty": {
  18090. "description": "采购计划数量",
  18091. "type": "number"
  18092. },
  18093. "BuyPricedQty": {
  18094. "description": "采购合同已定价数量",
  18095. "type": "number"
  18096. },
  18097. "MiddleGoodsCode": {
  18098. "description": "套保品种代码",
  18099. "type": "string"
  18100. },
  18101. "MiddleGoodsHedgeRatio": {
  18102. "description": "套保比例",
  18103. "type": "number"
  18104. },
  18105. "MiddleGoodsID": {
  18106. "description": "套保品种",
  18107. "type": "integer"
  18108. },
  18109. "MiddleGoodsName": {
  18110. "description": "套保品种名称",
  18111. "type": "string"
  18112. },
  18113. "NeedHedgeExposoure": {
  18114. "description": "应套保敞口(套保敞口)",
  18115. "type": "number"
  18116. },
  18117. "NeedHedgeRatio": {
  18118. "description": "应套保敞口比例",
  18119. "type": "number"
  18120. },
  18121. "OriBuyFutureQty": {
  18122. "description": "期初买入期货数量",
  18123. "type": "number"
  18124. },
  18125. "OriBuyPlanQty": {
  18126. "description": "期初采购计划数量",
  18127. "type": "number"
  18128. },
  18129. "OriBuyPricedQty": {
  18130. "description": "期初采购合同已定价数量",
  18131. "type": "number"
  18132. },
  18133. "OriSellFutureQty": {
  18134. "description": "期初卖出期货数量",
  18135. "type": "number"
  18136. },
  18137. "OriSellPlanQty": {
  18138. "description": "期初销售计划数量",
  18139. "type": "number"
  18140. },
  18141. "OriSellPricedQty": {
  18142. "description": "期初销售合同已定价数量",
  18143. "type": "number"
  18144. },
  18145. "OriTotalSpotQty": {
  18146. "description": "期初现货总量",
  18147. "type": "number"
  18148. },
  18149. "SellFutureQty": {
  18150. "description": "卖出期货数量",
  18151. "type": "number"
  18152. },
  18153. "SellPlanQty": {
  18154. "description": "销售计划数量",
  18155. "type": "number"
  18156. },
  18157. "SellPricedQty": {
  18158. "description": "销售合同已定价数量",
  18159. "type": "number"
  18160. },
  18161. "TotalExposure": {
  18162. "description": "总敞口 平安:净敞口",
  18163. "type": "number"
  18164. },
  18165. "TotalFutureQty": {
  18166. "description": "期货总量 平安:保值净持仓量",
  18167. "type": "number"
  18168. },
  18169. "TotalHedgeRatio": {
  18170. "description": "敞口比例",
  18171. "type": "number"
  18172. },
  18173. "TotalNeedHedgeQty": {
  18174. "description": "应套保总量(现货应套保总量)",
  18175. "type": "number"
  18176. },
  18177. "TotalSpotQty": {
  18178. "description": "现货总量 平安:采销定价净值",
  18179. "type": "number"
  18180. },
  18181. "arbitrageqty": {
  18182. "description": "套利量",
  18183. "type": "number"
  18184. },
  18185. "diffArbitrageQty": {
  18186. "description": "套利变动量",
  18187. "type": "number"
  18188. },
  18189. "diffExposoureQty": {
  18190. "description": "变动量(套保敞口)",
  18191. "type": "number"
  18192. },
  18193. "diffFutuQty": {
  18194. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  18195. "type": "number"
  18196. },
  18197. "diffHedgeQty": {
  18198. "description": "套保变动量",
  18199. "type": "number"
  18200. },
  18201. "diffQty": {
  18202. "description": "变动量(总敞口) 平安:净敞口今日变动",
  18203. "type": "number"
  18204. },
  18205. "diffSpotHedgeQty": {
  18206. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  18207. "type": "number"
  18208. },
  18209. "diffSpotQty": {
  18210. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  18211. "type": "number"
  18212. },
  18213. "enumdicname": {
  18214. "description": "单位名称",
  18215. "type": "string"
  18216. },
  18217. "hedgeqty": {
  18218. "description": "套保量",
  18219. "type": "number"
  18220. },
  18221. "needarbitrageqty": {
  18222. "description": "应套利量",
  18223. "type": "number"
  18224. },
  18225. "needarbitrageratio": {
  18226. "description": "套利比例",
  18227. "type": "number"
  18228. },
  18229. "needhedgeqty": {
  18230. "description": "应套保量",
  18231. "type": "number"
  18232. },
  18233. "oriarbitrageqty": {
  18234. "description": "期初套利量",
  18235. "type": "number"
  18236. },
  18237. "orihedgeqty": {
  18238. "description": "期初套保量",
  18239. "type": "number"
  18240. },
  18241. "orineedhedgeexposoure": {
  18242. "description": "期初套保敞口",
  18243. "type": "number"
  18244. },
  18245. "oritotalexposure": {
  18246. "description": "期初总敞口",
  18247. "type": "number"
  18248. },
  18249. "oritotalfutureqty": {
  18250. "description": "期初期货总量",
  18251. "type": "number"
  18252. },
  18253. "oritotalneedhedgeqty": {
  18254. "description": "期初现货应套保量",
  18255. "type": "number"
  18256. }
  18257. }
  18258. },
  18259. "erms2.QueryArbitrageStrategyRsp": {
  18260. "type": "object",
  18261. "required": [
  18262. "asapplyid"
  18263. ],
  18264. "properties": {
  18265. "applybasis": {
  18266. "description": "申请基差",
  18267. "type": "number"
  18268. },
  18269. "asapplyid": {
  18270. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  18271. "type": "string"
  18272. },
  18273. "asname": {
  18274. "description": "策略名称",
  18275. "type": "string"
  18276. },
  18277. "asno": {
  18278. "description": "策略编号",
  18279. "type": "string"
  18280. },
  18281. "basischangepl": {
  18282. "description": "基差变动损益[结算更新]",
  18283. "type": "number"
  18284. },
  18285. "biztype": {
  18286. "description": "业务类型 - 1:正向套利 -1:反向套利",
  18287. "type": "integer"
  18288. },
  18289. "closetradedate": {
  18290. "description": "完结交易日(yyyyMMdd)",
  18291. "type": "string"
  18292. },
  18293. "curbasis": {
  18294. "description": "当前基差[结算更新]",
  18295. "type": "number"
  18296. },
  18297. "deliverygoodsid": {
  18298. "description": "现货品种ID",
  18299. "type": "integer"
  18300. },
  18301. "futureavgprice": {
  18302. "description": "期货建仓均价",
  18303. "type": "number"
  18304. },
  18305. "futurecloseamount": {
  18306. "description": "期货平仓金额",
  18307. "type": "number"
  18308. },
  18309. "futurecloseqty": {
  18310. "description": "期货平仓数量",
  18311. "type": "number"
  18312. },
  18313. "futureopenamount": {
  18314. "description": "期货开仓金额",
  18315. "type": "number"
  18316. },
  18317. "futureopenqty": {
  18318. "description": "期货开仓数量",
  18319. "type": "number"
  18320. },
  18321. "futurepl": {
  18322. "description": "期货总盈亏[结算更新]",
  18323. "type": "number"
  18324. },
  18325. "futureqty": {
  18326. "description": "期货持仓数量",
  18327. "type": "number"
  18328. },
  18329. "futurequote": {
  18330. "description": "期货额度",
  18331. "type": "number"
  18332. },
  18333. "goodsgroupid": {
  18334. "description": "期货品种ID",
  18335. "type": "integer"
  18336. },
  18337. "marketid": {
  18338. "description": "市场ID",
  18339. "type": "integer"
  18340. },
  18341. "netexposure": {
  18342. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  18343. "type": "number"
  18344. },
  18345. "netexposurepl": {
  18346. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  18347. "type": "number"
  18348. },
  18349. "netexposurerate": {
  18350. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  18351. "type": "number"
  18352. },
  18353. "openbasis": {
  18354. "description": "建仓基差",
  18355. "type": "number"
  18356. },
  18357. "pricedspotqty": {
  18358. "description": "已定价现货数量",
  18359. "type": "number"
  18360. },
  18361. "pricedspotqtynotax": {
  18362. "description": "已定价现货不含税数量",
  18363. "type": "number"
  18364. },
  18365. "remark": {
  18366. "description": "备注",
  18367. "type": "string"
  18368. },
  18369. "spotavgprice": {
  18370. "description": "现货均价",
  18371. "type": "number"
  18372. },
  18373. "spotbuyamount": {
  18374. "description": "现货采购金额",
  18375. "type": "number"
  18376. },
  18377. "spotbuyqty": {
  18378. "description": "现货采购数量",
  18379. "type": "number"
  18380. },
  18381. "spotpl": {
  18382. "description": "现货总盈亏[结算更新]",
  18383. "type": "number"
  18384. },
  18385. "spotquota": {
  18386. "description": "现货额度",
  18387. "type": "number"
  18388. },
  18389. "spotsellamount": {
  18390. "description": "现货销售金额",
  18391. "type": "number"
  18392. },
  18393. "spotsellqty": {
  18394. "description": "现货销售数量",
  18395. "type": "number"
  18396. },
  18397. "spotusedquota": {
  18398. "description": "现货占用资金",
  18399. "type": "number"
  18400. },
  18401. "strategystatus": {
  18402. "description": "策略状态 - 0:未结束 1:已结束",
  18403. "type": "integer"
  18404. },
  18405. "totalpl": {
  18406. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  18407. "type": "number"
  18408. },
  18409. "tradedate": {
  18410. "description": "交易日(yyyyMMdd)",
  18411. "type": "string"
  18412. },
  18413. "updatetime": {
  18414. "description": "更新时间",
  18415. "type": "string"
  18416. },
  18417. "usedquota": {
  18418. "description": "已占用资金",
  18419. "type": "number"
  18420. },
  18421. "userid": {
  18422. "description": "所属机构",
  18423. "type": "integer"
  18424. }
  18425. }
  18426. },
  18427. "erms2.QueryInnerTradeDetailRsp": {
  18428. "type": "object",
  18429. "required": [
  18430. "asapplyid",
  18431. "buyorsell",
  18432. "goodscode",
  18433. "goodsgroupid",
  18434. "goodsgroupname",
  18435. "goodsname",
  18436. "tradeid"
  18437. ],
  18438. "properties": {
  18439. "accountid": {
  18440. "description": "账号ID",
  18441. "type": "integer"
  18442. },
  18443. "agreeunit": {
  18444. "description": "合约单位",
  18445. "type": "number"
  18446. },
  18447. "asapplyid": {
  18448. "description": "策略申请ID",
  18449. "type": "integer"
  18450. },
  18451. "asname": {
  18452. "description": "策略名称",
  18453. "type": "string"
  18454. },
  18455. "asno": {
  18456. "description": "策略编号",
  18457. "type": "string"
  18458. },
  18459. "buyorsell": {
  18460. "description": "方向 - 0:买 1:卖",
  18461. "type": "integer"
  18462. },
  18463. "channelbuildtype": {
  18464. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18465. "type": "integer"
  18466. },
  18467. "closetype": {
  18468. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18469. "type": "integer"
  18470. },
  18471. "decimalplace": {
  18472. "description": "报价小数位",
  18473. "type": "integer"
  18474. },
  18475. "detailtype": {
  18476. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  18477. "type": "integer"
  18478. },
  18479. "exexchangecode": {
  18480. "description": "外部交易所代码",
  18481. "type": "string"
  18482. },
  18483. "exexchangename": {
  18484. "description": "外部交易所名称",
  18485. "type": "string"
  18486. },
  18487. "goodscode": {
  18488. "description": "商品代码(合约)",
  18489. "type": "string"
  18490. },
  18491. "goodsgroupid": {
  18492. "description": "商品组ID(品种ID)",
  18493. "type": "integer"
  18494. },
  18495. "goodsgroupname": {
  18496. "description": "商品组名称(品种)",
  18497. "type": "string"
  18498. },
  18499. "goodsid": {
  18500. "description": "商品ID",
  18501. "type": "integer"
  18502. },
  18503. "goodsname": {
  18504. "description": "商品名称(合约)",
  18505. "type": "string"
  18506. },
  18507. "goodunit": {
  18508. "description": "报价单位",
  18509. "type": "string"
  18510. },
  18511. "marketid": {
  18512. "description": "市场ID",
  18513. "type": "integer"
  18514. },
  18515. "orderid": {
  18516. "description": "委托单号",
  18517. "type": "string"
  18518. },
  18519. "outgoodscode": {
  18520. "description": "商品代码(外部)",
  18521. "type": "string"
  18522. },
  18523. "relatedouttradeid": {
  18524. "description": "关联外部成交单ID",
  18525. "type": "string"
  18526. },
  18527. "remark": {
  18528. "description": "备注",
  18529. "type": "string"
  18530. },
  18531. "spotcontractid": {
  18532. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  18533. "type": "integer"
  18534. },
  18535. "spotcontractno": {
  18536. "description": "现货合同编号",
  18537. "type": "string"
  18538. },
  18539. "tradeid": {
  18540. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18541. "type": "string"
  18542. },
  18543. "tradeprice": {
  18544. "description": "成交价格",
  18545. "type": "number"
  18546. },
  18547. "tradeqty": {
  18548. "description": "成交数量",
  18549. "type": "integer"
  18550. },
  18551. "tradetime": {
  18552. "description": "成交时间",
  18553. "type": "string"
  18554. },
  18555. "updatetime": {
  18556. "description": "更新时间",
  18557. "type": "string"
  18558. }
  18559. }
  18560. },
  18561. "erms2.QuerySpotContractRsp": {
  18562. "type": "object",
  18563. "required": [
  18564. "spotcontractid"
  18565. ],
  18566. "properties": {
  18567. "accountid": {
  18568. "description": "资金账户ID",
  18569. "type": "integer"
  18570. },
  18571. "areauserid": {
  18572. "description": "所属机构",
  18573. "type": "integer"
  18574. },
  18575. "closedate": {
  18576. "description": "终止日期",
  18577. "type": "string"
  18578. },
  18579. "closeremark": {
  18580. "description": "结束备注",
  18581. "type": "string"
  18582. },
  18583. "closetradedate": {
  18584. "description": "完结交易日(yyyyMMdd)",
  18585. "type": "string"
  18586. },
  18587. "closetype": {
  18588. "description": "终止类型 - 1:违约 2:提前终止",
  18589. "type": "integer"
  18590. },
  18591. "contractamount": {
  18592. "description": "合同金额",
  18593. "type": "number"
  18594. },
  18595. "contractattachment": {
  18596. "description": "合同附件",
  18597. "type": "string"
  18598. },
  18599. "contractno": {
  18600. "description": "现货合同编号",
  18601. "type": "string"
  18602. },
  18603. "contractqty": {
  18604. "description": "合同数量(数值) (用于计算)",
  18605. "type": "number"
  18606. },
  18607. "contractqtychar": {
  18608. "description": "合同数量\\已订价数量 (用于显示)",
  18609. "type": "string"
  18610. },
  18611. "contractstatus": {
  18612. "description": "合同状态 - 0:未结束 1:已结束",
  18613. "type": "integer"
  18614. },
  18615. "contracttype": {
  18616. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  18617. "type": "integer"
  18618. },
  18619. "customeraccountid": {
  18620. "description": "客户资金账户ID",
  18621. "type": "integer"
  18622. },
  18623. "customeruserid": {
  18624. "description": "客户ID",
  18625. "type": "integer"
  18626. },
  18627. "deliverygoodsdesc": {
  18628. "description": "品种说明",
  18629. "type": "string"
  18630. },
  18631. "deliverygoodsid": {
  18632. "description": "现货品种ID",
  18633. "type": "integer"
  18634. },
  18635. "handlestatus": {
  18636. "description": "处理状态",
  18637. "type": "integer"
  18638. },
  18639. "invoiceatt": {
  18640. "description": "发票附件",
  18641. "type": "string"
  18642. },
  18643. "invoicedatetime": {
  18644. "description": "开收票更新时间",
  18645. "type": "string"
  18646. },
  18647. "invoiceopentime": {
  18648. "description": "开票时间",
  18649. "type": "string"
  18650. },
  18651. "invoiceremark": {
  18652. "description": "发票备注",
  18653. "type": "string"
  18654. },
  18655. "invoicestatus": {
  18656. "description": "开收票状态 - 0:未开票 1:已开票",
  18657. "type": "integer"
  18658. },
  18659. "lastdate": {
  18660. "description": "交货时间",
  18661. "type": "string"
  18662. },
  18663. "marketid": {
  18664. "description": "市场ID",
  18665. "type": "integer"
  18666. },
  18667. "paydatetime": {
  18668. "description": "收付款更新时间",
  18669. "type": "string"
  18670. },
  18671. "payremark": {
  18672. "description": "收付款备注",
  18673. "type": "string"
  18674. },
  18675. "paystatus": {
  18676. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  18677. "type": "integer"
  18678. },
  18679. "positionqty": {
  18680. "description": "头寸数量 - 合同数量去小数部分",
  18681. "type": "integer"
  18682. },
  18683. "producttype": {
  18684. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18685. "type": "integer"
  18686. },
  18687. "relatedqty": {
  18688. "description": "已关联数量",
  18689. "type": "number"
  18690. },
  18691. "relatedstatus": {
  18692. "description": "关联完结状态 - 0:未结束 1:已结束",
  18693. "type": "integer"
  18694. },
  18695. "remark": {
  18696. "description": "备注",
  18697. "type": "string"
  18698. },
  18699. "signdate": {
  18700. "description": "签订日期",
  18701. "type": "string"
  18702. },
  18703. "spotcontractid": {
  18704. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  18705. "type": "string"
  18706. },
  18707. "spotdatetime": {
  18708. "description": "收发货更新时间",
  18709. "type": "string"
  18710. },
  18711. "spotprice": {
  18712. "description": "价格",
  18713. "type": "number"
  18714. },
  18715. "spotremark": {
  18716. "description": "收发货备注",
  18717. "type": "string"
  18718. },
  18719. "spotstatus": {
  18720. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  18721. "type": "integer"
  18722. },
  18723. "tradedate": {
  18724. "description": "交易日(yyyyMMdd)",
  18725. "type": "string"
  18726. },
  18727. "userid": {
  18728. "description": "业务员用户ID",
  18729. "type": "integer"
  18730. },
  18731. "warehouseid": {
  18732. "description": "仓库ID",
  18733. "type": "integer"
  18734. },
  18735. "wrfactortypeid": {
  18736. "description": "仓单要素类型ID",
  18737. "type": "integer"
  18738. },
  18739. "wrstandardid": {
  18740. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  18741. "type": "integer"
  18742. }
  18743. }
  18744. },
  18745. "erms3.AddErms2ASApplyReq": {
  18746. "type": "object",
  18747. "required": [
  18748. "asapplyid"
  18749. ],
  18750. "properties": {
  18751. "applybasis": {
  18752. "description": "申请基差",
  18753. "type": "number"
  18754. },
  18755. "applystatus": {
  18756. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18757. "type": "integer"
  18758. },
  18759. "asapplyid": {
  18760. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  18761. "type": "integer"
  18762. },
  18763. "asname": {
  18764. "description": "策略名称",
  18765. "type": "string"
  18766. },
  18767. "asno": {
  18768. "description": "策略编号",
  18769. "type": "string"
  18770. },
  18771. "auditid": {
  18772. "description": "审核人",
  18773. "type": "integer"
  18774. },
  18775. "auditremark": {
  18776. "description": "审核备注",
  18777. "type": "string"
  18778. },
  18779. "audittime": {
  18780. "description": "审核时间",
  18781. "type": "string"
  18782. },
  18783. "biztype": {
  18784. "description": "业务类型 - 1:正向套利 2:反向套利",
  18785. "type": "integer"
  18786. },
  18787. "createtime": {
  18788. "description": "创建时间",
  18789. "type": "string"
  18790. },
  18791. "creatorid": {
  18792. "description": "创建人",
  18793. "type": "integer"
  18794. },
  18795. "deliverygoodsid": {
  18796. "description": "现货品种ID",
  18797. "type": "integer"
  18798. },
  18799. "futurequote": {
  18800. "description": "期货额度",
  18801. "type": "number"
  18802. },
  18803. "goodsgroupid": {
  18804. "description": "期货品种ID",
  18805. "type": "integer"
  18806. },
  18807. "marketid": {
  18808. "description": "市场ID",
  18809. "type": "integer"
  18810. },
  18811. "remark": {
  18812. "description": "备注",
  18813. "type": "string"
  18814. },
  18815. "spotquota": {
  18816. "description": "现货额度",
  18817. "type": "number"
  18818. },
  18819. "tradedate": {
  18820. "description": "交易日(yyyyMMdd)",
  18821. "type": "string"
  18822. },
  18823. "userid": {
  18824. "description": "所属机构",
  18825. "type": "integer"
  18826. }
  18827. }
  18828. },
  18829. "erms3.AddErms2SpotTradeApplyReq": {
  18830. "type": "object",
  18831. "required": [
  18832. "spottradeid"
  18833. ],
  18834. "properties": {
  18835. "applyjsondetail": {
  18836. "description": "申请明细(JSON)",
  18837. "type": "string"
  18838. },
  18839. "applystatus": {
  18840. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18841. "type": "integer"
  18842. },
  18843. "areauserid": {
  18844. "description": "所属机构",
  18845. "type": "integer"
  18846. },
  18847. "auditid": {
  18848. "description": "审核人",
  18849. "type": "integer"
  18850. },
  18851. "auditremark": {
  18852. "description": "审核备注",
  18853. "type": "string"
  18854. },
  18855. "audittime": {
  18856. "description": "审核时间",
  18857. "type": "string"
  18858. },
  18859. "createtime": {
  18860. "description": "创建时间",
  18861. "type": "string"
  18862. },
  18863. "creatorid": {
  18864. "description": "创建人",
  18865. "type": "integer"
  18866. },
  18867. "deliverygoodsid": {
  18868. "description": "现货品种ID",
  18869. "type": "integer"
  18870. },
  18871. "futureaccountid": {
  18872. "description": "期货资金账户",
  18873. "type": "integer"
  18874. },
  18875. "goodsgroupid": {
  18876. "description": "期货品种",
  18877. "type": "integer"
  18878. },
  18879. "marketid": {
  18880. "description": "市场ID",
  18881. "type": "integer"
  18882. },
  18883. "remark": {
  18884. "description": "备注",
  18885. "type": "string"
  18886. },
  18887. "spotaccountid": {
  18888. "description": "现货资金账户",
  18889. "type": "integer"
  18890. },
  18891. "spottradeid": {
  18892. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  18893. "type": "integer"
  18894. },
  18895. "spottradename": {
  18896. "description": "业务名称",
  18897. "type": "string"
  18898. },
  18899. "spottradeno": {
  18900. "description": "业务编号",
  18901. "type": "string"
  18902. },
  18903. "tradedate": {
  18904. "description": "交易日(yyyyMMdd)",
  18905. "type": "string"
  18906. },
  18907. "wrstandardid": {
  18908. "description": "仓单标准ID",
  18909. "type": "integer"
  18910. }
  18911. }
  18912. },
  18913. "erms3.AddSpotContractApplyReq": {
  18914. "type": "object",
  18915. "required": [
  18916. "accountid",
  18917. "areauserid",
  18918. "contractno",
  18919. "contracttype",
  18920. "customeraccountid",
  18921. "customeruserid",
  18922. "details",
  18923. "orimargin",
  18924. "signdate"
  18925. ],
  18926. "properties": {
  18927. "accountid": {
  18928. "description": "资金账户ID",
  18929. "type": "integer"
  18930. },
  18931. "areauserid": {
  18932. "description": "所属机构",
  18933. "type": "integer"
  18934. },
  18935. "contractattachment": {
  18936. "description": "合同附件",
  18937. "type": "string"
  18938. },
  18939. "contractno": {
  18940. "description": "现货合同编号",
  18941. "type": "string"
  18942. },
  18943. "contracttype": {
  18944. "description": "现货合同类型 - 1:采购 -1:销售",
  18945. "type": "integer"
  18946. },
  18947. "creatorid": {
  18948. "description": "申请人",
  18949. "type": "integer"
  18950. },
  18951. "customeraccountid": {
  18952. "description": "客户资金账户ID",
  18953. "type": "integer"
  18954. },
  18955. "customeruserid": {
  18956. "description": "客户ID",
  18957. "type": "integer"
  18958. },
  18959. "details": {
  18960. "description": "明细",
  18961. "type": "array",
  18962. "items": {
  18963. "$ref": "#/definitions/erms3.SoptContractDetail"
  18964. }
  18965. },
  18966. "orimargin": {
  18967. "description": "初始保证金",
  18968. "type": "number"
  18969. },
  18970. "remark": {
  18971. "description": "备注",
  18972. "type": "string"
  18973. },
  18974. "signdate": {
  18975. "description": "签订日期",
  18976. "type": "string"
  18977. }
  18978. }
  18979. },
  18980. "erms3.AddSpotContractApplyRsp": {
  18981. "type": "object",
  18982. "required": [
  18983. "contractno"
  18984. ],
  18985. "properties": {
  18986. "contractno": {
  18987. "description": "现货合同编号",
  18988. "type": "string"
  18989. },
  18990. "spotcontractid": {
  18991. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18992. "type": "integer"
  18993. }
  18994. }
  18995. },
  18996. "erms3.AddUserInfoApplyReq": {
  18997. "type": "object",
  18998. "required": [
  18999. "userid"
  19000. ],
  19001. "properties": {
  19002. "accountid": {
  19003. "description": "交易系统帐号Id (加密存储)",
  19004. "type": "integer"
  19005. },
  19006. "areacode": {
  19007. "description": "机构代码",
  19008. "type": "string"
  19009. },
  19010. "areaid": {
  19011. "description": "机构Id",
  19012. "type": "integer"
  19013. },
  19014. "attachment1": {
  19015. "description": "附件1",
  19016. "type": "string"
  19017. },
  19018. "attachment2": {
  19019. "description": "附件2",
  19020. "type": "string"
  19021. },
  19022. "attachment3": {
  19023. "description": "附件3",
  19024. "type": "string"
  19025. },
  19026. "attachment4": {
  19027. "description": "附件4",
  19028. "type": "string"
  19029. },
  19030. "attachment5": {
  19031. "description": "附件5",
  19032. "type": "string"
  19033. },
  19034. "auditedby": {
  19035. "description": "审核人",
  19036. "type": "string"
  19037. },
  19038. "auditime": {
  19039. "description": "审核时间",
  19040. "type": "string"
  19041. },
  19042. "auditsrc": {
  19043. "description": "审核来源 - 1:管理端 2:终端",
  19044. "type": "integer"
  19045. },
  19046. "bankaccount": {
  19047. "description": "银行帐号 (加密存储)",
  19048. "type": "string"
  19049. },
  19050. "bankaccountname": {
  19051. "description": "收款人名称",
  19052. "type": "string"
  19053. },
  19054. "bankcardbackphotourl": {
  19055. "description": "银行卡背面照地址",
  19056. "type": "string"
  19057. },
  19058. "bankcardfrontphotourl": {
  19059. "description": "银行卡正面照地址",
  19060. "type": "string"
  19061. },
  19062. "bankid": {
  19063. "description": "银行编码",
  19064. "type": "string"
  19065. },
  19066. "bankname": {
  19067. "description": "银行名称",
  19068. "type": "string"
  19069. },
  19070. "bankpictureurl": {
  19071. "description": "银行卡正面地址",
  19072. "type": "string"
  19073. },
  19074. "biznature": {
  19075. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19076. "type": "integer"
  19077. },
  19078. "bizscope": {
  19079. "description": "企业经营范围(企业)",
  19080. "type": "string"
  19081. },
  19082. "biztype": {
  19083. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19084. "type": "integer"
  19085. },
  19086. "brokerid": {
  19087. "description": "经纪人ID(加密存储)",
  19088. "type": "string"
  19089. },
  19090. "cardaddress": {
  19091. "description": "证件地址 (加密存储)",
  19092. "type": "string"
  19093. },
  19094. "cardbackphotourl": {
  19095. "description": "背面证件照地址",
  19096. "type": "string"
  19097. },
  19098. "cardfrontphotourl": {
  19099. "description": "正面证件照地址",
  19100. "type": "string"
  19101. },
  19102. "cardnum": {
  19103. "description": "证件号码 (加密存储)",
  19104. "type": "string"
  19105. },
  19106. "cardtype": {
  19107. "description": "证件类型",
  19108. "type": "integer"
  19109. },
  19110. "cityid": {
  19111. "description": "市",
  19112. "type": "integer"
  19113. },
  19114. "company": {
  19115. "description": "公司(个人)",
  19116. "type": "string"
  19117. },
  19118. "contactcardbackphotourl": {
  19119. "description": "联系人证件背面图片地址",
  19120. "type": "string"
  19121. },
  19122. "contactcardfrontphotourl": {
  19123. "description": "联系人证件正面图片地址",
  19124. "type": "string"
  19125. },
  19126. "contactname": {
  19127. "description": "联系人",
  19128. "type": "string"
  19129. },
  19130. "countryid": {
  19131. "description": "国家",
  19132. "type": "integer"
  19133. },
  19134. "createtime": {
  19135. "description": "开户申请时间",
  19136. "type": "string"
  19137. },
  19138. "cusbankid": {
  19139. "description": "签约类型",
  19140. "type": "string"
  19141. },
  19142. "cusbankname": {
  19143. "description": "签约类型名称",
  19144. "type": "string"
  19145. },
  19146. "customername": {
  19147. "description": "客户名称(企业名称)",
  19148. "type": "string"
  19149. },
  19150. "districtid": {
  19151. "description": "地区",
  19152. "type": "integer"
  19153. },
  19154. "email": {
  19155. "description": "Email地址(加密存储)",
  19156. "type": "string"
  19157. },
  19158. "halfbodyphotourl": {
  19159. "description": "半身照地址",
  19160. "type": "string"
  19161. },
  19162. "headurl": {
  19163. "description": "头像地址",
  19164. "type": "string"
  19165. },
  19166. "ipaddress": {
  19167. "description": "IP地址",
  19168. "type": "string"
  19169. },
  19170. "isvalidate": {
  19171. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19172. "type": "string"
  19173. },
  19174. "legalcardbackphotourl": {
  19175. "description": "法人身份证背面照地址",
  19176. "type": "string"
  19177. },
  19178. "legalcardfrontphotourl": {
  19179. "description": "法人身份证正面照地址",
  19180. "type": "string"
  19181. },
  19182. "legalpersonname": {
  19183. "description": "法人姓名(企业)",
  19184. "type": "string"
  19185. },
  19186. "logincode": {
  19187. "description": "登录帐号 (加密存储)",
  19188. "type": "string"
  19189. },
  19190. "memberareaid": {
  19191. "description": "所属会员ID",
  19192. "type": "integer"
  19193. },
  19194. "mobile2": {
  19195. "description": "手机号码[明文-尚志]",
  19196. "type": "string"
  19197. },
  19198. "mobilephone": {
  19199. "description": "手机号码 (加密存储)",
  19200. "type": "string"
  19201. },
  19202. "modifiedby": {
  19203. "description": "修改人帐号",
  19204. "type": "integer"
  19205. },
  19206. "modifiedtime": {
  19207. "description": "修改时间",
  19208. "type": "string"
  19209. },
  19210. "nickname": {
  19211. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19212. "type": "string"
  19213. },
  19214. "openmode": {
  19215. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19216. "type": "integer"
  19217. },
  19218. "otherurl": {
  19219. "description": "其它图片地址[使用分号分隔]",
  19220. "type": "string"
  19221. },
  19222. "postalcode": {
  19223. "description": "邮政编码",
  19224. "type": "string"
  19225. },
  19226. "provinceid": {
  19227. "description": "省",
  19228. "type": "integer"
  19229. },
  19230. "proxystatementurl": {
  19231. "description": "授权委托书",
  19232. "type": "string"
  19233. },
  19234. "qq": {
  19235. "description": "QQ(加密存储",
  19236. "type": "string"
  19237. },
  19238. "referral": {
  19239. "description": "推荐人编码",
  19240. "type": "string"
  19241. },
  19242. "remark": {
  19243. "description": "备注",
  19244. "type": "string"
  19245. },
  19246. "removebeforestatus": {
  19247. "description": "REMOVEBEFORESTATUS",
  19248. "type": "integer"
  19249. },
  19250. "sex": {
  19251. "description": "性别 - 0:女 1:男",
  19252. "type": "integer"
  19253. },
  19254. "signedstatus": {
  19255. "description": "账户一号签签约状态",
  19256. "type": "integer"
  19257. },
  19258. "signpdfurl": {
  19259. "description": "签约pdf文件",
  19260. "type": "string"
  19261. },
  19262. "subbranch": {
  19263. "description": "开户支行",
  19264. "type": "string"
  19265. },
  19266. "taxpayernum": {
  19267. "description": "纳税人识别号",
  19268. "type": "string"
  19269. },
  19270. "telphone": {
  19271. "description": "联系电话(加密存储)",
  19272. "type": "string"
  19273. },
  19274. "userid": {
  19275. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19276. "type": "integer"
  19277. },
  19278. "userinfotype": {
  19279. "description": "用户信息类型 - 1:个人 2:企业",
  19280. "type": "integer"
  19281. },
  19282. "username": {
  19283. "description": "用户姓名",
  19284. "type": "string"
  19285. },
  19286. "userstate": {
  19287. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19288. "type": "integer"
  19289. },
  19290. "usertype": {
  19291. "description": "用户类型 - 1:投资者 2:机构",
  19292. "type": "integer"
  19293. },
  19294. "videourl": {
  19295. "description": "视频地址",
  19296. "type": "string"
  19297. },
  19298. "wechat": {
  19299. "description": "微信号 (加密存储)",
  19300. "type": "string"
  19301. }
  19302. }
  19303. },
  19304. "erms3.CustomerInfo": {
  19305. "type": "object",
  19306. "required": [
  19307. "userid"
  19308. ],
  19309. "properties": {
  19310. "accountids": {
  19311. "description": "资金账户ID列表",
  19312. "type": "array",
  19313. "items": {
  19314. "type": "integer"
  19315. }
  19316. },
  19317. "customername": {
  19318. "description": "名称(企业名称)",
  19319. "type": "string"
  19320. },
  19321. "mobile": {
  19322. "description": "手机号码",
  19323. "type": "string"
  19324. },
  19325. "userid": {
  19326. "description": "用户ID",
  19327. "type": "integer"
  19328. }
  19329. }
  19330. },
  19331. "erms3.ModifyUserInfoApplyReq": {
  19332. "type": "object",
  19333. "required": [
  19334. "userid"
  19335. ],
  19336. "properties": {
  19337. "accountid": {
  19338. "description": "交易系统帐号Id (加密存储)",
  19339. "type": "integer"
  19340. },
  19341. "areacode": {
  19342. "description": "机构代码",
  19343. "type": "string"
  19344. },
  19345. "areaid": {
  19346. "description": "机构Id",
  19347. "type": "integer"
  19348. },
  19349. "attachment1": {
  19350. "description": "附件1",
  19351. "type": "string"
  19352. },
  19353. "attachment2": {
  19354. "description": "附件2",
  19355. "type": "string"
  19356. },
  19357. "attachment3": {
  19358. "description": "附件3",
  19359. "type": "string"
  19360. },
  19361. "attachment4": {
  19362. "description": "附件4",
  19363. "type": "string"
  19364. },
  19365. "attachment5": {
  19366. "description": "附件5",
  19367. "type": "string"
  19368. },
  19369. "auditedby": {
  19370. "description": "审核人",
  19371. "type": "string"
  19372. },
  19373. "auditime": {
  19374. "description": "审核时间",
  19375. "type": "string"
  19376. },
  19377. "auditsrc": {
  19378. "description": "审核来源 - 1:管理端 2:终端",
  19379. "type": "integer"
  19380. },
  19381. "bankaccount": {
  19382. "description": "银行帐号 (加密存储)",
  19383. "type": "string"
  19384. },
  19385. "bankaccountname": {
  19386. "description": "收款人名称",
  19387. "type": "string"
  19388. },
  19389. "bankcardbackphotourl": {
  19390. "description": "银行卡背面照地址",
  19391. "type": "string"
  19392. },
  19393. "bankcardfrontphotourl": {
  19394. "description": "银行卡正面照地址",
  19395. "type": "string"
  19396. },
  19397. "bankid": {
  19398. "description": "银行编码",
  19399. "type": "string"
  19400. },
  19401. "bankname": {
  19402. "description": "银行名称",
  19403. "type": "string"
  19404. },
  19405. "bankpictureurl": {
  19406. "description": "银行卡正面地址",
  19407. "type": "string"
  19408. },
  19409. "biznature": {
  19410. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19411. "type": "integer"
  19412. },
  19413. "bizscope": {
  19414. "description": "企业经营范围(企业)",
  19415. "type": "string"
  19416. },
  19417. "biztype": {
  19418. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19419. "type": "integer"
  19420. },
  19421. "brokerid": {
  19422. "description": "经纪人ID(加密存储)",
  19423. "type": "string"
  19424. },
  19425. "cardaddress": {
  19426. "description": "证件地址 (加密存储)",
  19427. "type": "string"
  19428. },
  19429. "cardbackphotourl": {
  19430. "description": "背面证件照地址",
  19431. "type": "string"
  19432. },
  19433. "cardfrontphotourl": {
  19434. "description": "正面证件照地址",
  19435. "type": "string"
  19436. },
  19437. "cardnum": {
  19438. "description": "证件号码 (加密存储)",
  19439. "type": "string"
  19440. },
  19441. "cardtype": {
  19442. "description": "证件类型",
  19443. "type": "integer"
  19444. },
  19445. "cityid": {
  19446. "description": "市",
  19447. "type": "integer"
  19448. },
  19449. "company": {
  19450. "description": "公司(个人)",
  19451. "type": "string"
  19452. },
  19453. "contactcardbackphotourl": {
  19454. "description": "联系人证件背面图片地址",
  19455. "type": "string"
  19456. },
  19457. "contactcardfrontphotourl": {
  19458. "description": "联系人证件正面图片地址",
  19459. "type": "string"
  19460. },
  19461. "contactname": {
  19462. "description": "联系人",
  19463. "type": "string"
  19464. },
  19465. "countryid": {
  19466. "description": "国家",
  19467. "type": "integer"
  19468. },
  19469. "createtime": {
  19470. "description": "开户申请时间",
  19471. "type": "string"
  19472. },
  19473. "cusbankid": {
  19474. "description": "签约类型",
  19475. "type": "string"
  19476. },
  19477. "cusbankname": {
  19478. "description": "签约类型名称",
  19479. "type": "string"
  19480. },
  19481. "customername": {
  19482. "description": "客户名称(企业名称)",
  19483. "type": "string"
  19484. },
  19485. "districtid": {
  19486. "description": "地区",
  19487. "type": "integer"
  19488. },
  19489. "email": {
  19490. "description": "Email地址(加密存储)",
  19491. "type": "string"
  19492. },
  19493. "halfbodyphotourl": {
  19494. "description": "半身照地址",
  19495. "type": "string"
  19496. },
  19497. "headurl": {
  19498. "description": "头像地址",
  19499. "type": "string"
  19500. },
  19501. "ipaddress": {
  19502. "description": "IP地址",
  19503. "type": "string"
  19504. },
  19505. "isvalidate": {
  19506. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19507. "type": "string"
  19508. },
  19509. "legalcardbackphotourl": {
  19510. "description": "法人身份证背面照地址",
  19511. "type": "string"
  19512. },
  19513. "legalcardfrontphotourl": {
  19514. "description": "法人身份证正面照地址",
  19515. "type": "string"
  19516. },
  19517. "legalpersonname": {
  19518. "description": "法人姓名(企业)",
  19519. "type": "string"
  19520. },
  19521. "logincode": {
  19522. "description": "登录帐号 (加密存储)",
  19523. "type": "string"
  19524. },
  19525. "memberareaid": {
  19526. "description": "所属会员ID",
  19527. "type": "integer"
  19528. },
  19529. "mobile2": {
  19530. "description": "手机号码[明文-尚志]",
  19531. "type": "string"
  19532. },
  19533. "mobilephone": {
  19534. "description": "手机号码 (加密存储)",
  19535. "type": "string"
  19536. },
  19537. "modifiedby": {
  19538. "description": "修改人帐号",
  19539. "type": "integer"
  19540. },
  19541. "modifiedtime": {
  19542. "description": "修改时间",
  19543. "type": "string"
  19544. },
  19545. "nickname": {
  19546. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19547. "type": "string"
  19548. },
  19549. "openmode": {
  19550. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19551. "type": "integer"
  19552. },
  19553. "otherurl": {
  19554. "description": "其它图片地址[使用分号分隔]",
  19555. "type": "string"
  19556. },
  19557. "postalcode": {
  19558. "description": "邮政编码",
  19559. "type": "string"
  19560. },
  19561. "provinceid": {
  19562. "description": "省",
  19563. "type": "integer"
  19564. },
  19565. "proxystatementurl": {
  19566. "description": "授权委托书",
  19567. "type": "string"
  19568. },
  19569. "qq": {
  19570. "description": "QQ(加密存储",
  19571. "type": "string"
  19572. },
  19573. "referral": {
  19574. "description": "推荐人编码",
  19575. "type": "string"
  19576. },
  19577. "remark": {
  19578. "description": "备注",
  19579. "type": "string"
  19580. },
  19581. "removebeforestatus": {
  19582. "description": "REMOVEBEFORESTATUS",
  19583. "type": "integer"
  19584. },
  19585. "sex": {
  19586. "description": "性别 - 0:女 1:男",
  19587. "type": "integer"
  19588. },
  19589. "signedstatus": {
  19590. "description": "账户一号签签约状态",
  19591. "type": "integer"
  19592. },
  19593. "signpdfurl": {
  19594. "description": "签约pdf文件",
  19595. "type": "string"
  19596. },
  19597. "subbranch": {
  19598. "description": "开户支行",
  19599. "type": "string"
  19600. },
  19601. "taxpayernum": {
  19602. "description": "纳税人识别号",
  19603. "type": "string"
  19604. },
  19605. "telphone": {
  19606. "description": "联系电话(加密存储)",
  19607. "type": "string"
  19608. },
  19609. "userid": {
  19610. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19611. "type": "integer"
  19612. },
  19613. "userinfotype": {
  19614. "description": "用户信息类型 - 1:个人 2:企业",
  19615. "type": "integer"
  19616. },
  19617. "username": {
  19618. "description": "用户姓名",
  19619. "type": "string"
  19620. },
  19621. "userstate": {
  19622. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19623. "type": "integer"
  19624. },
  19625. "usertype": {
  19626. "description": "用户类型 - 1:投资者 2:机构",
  19627. "type": "integer"
  19628. },
  19629. "videourl": {
  19630. "description": "视频地址",
  19631. "type": "string"
  19632. },
  19633. "wechat": {
  19634. "description": "微信号 (加密存储)",
  19635. "type": "string"
  19636. }
  19637. }
  19638. },
  19639. "erms3.QryAuditContractRsp": {
  19640. "type": "object",
  19641. "required": [
  19642. "matchcustomername",
  19643. "spotcontractid"
  19644. ],
  19645. "properties": {
  19646. "accountid": {
  19647. "description": "交易员ID",
  19648. "type": "string"
  19649. },
  19650. "applystatus": {
  19651. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19652. "type": "integer"
  19653. },
  19654. "curdeliveryqty": {
  19655. "description": "未交收量",
  19656. "type": "integer"
  19657. },
  19658. "customername": {
  19659. "description": "采购方ID",
  19660. "type": "string"
  19661. },
  19662. "deliverygoodsid": {
  19663. "description": "品种ID",
  19664. "type": "string"
  19665. },
  19666. "deliveryqty": {
  19667. "description": "交收量",
  19668. "type": "integer"
  19669. },
  19670. "enumdicname": {
  19671. "description": "单位名称",
  19672. "type": "string"
  19673. },
  19674. "matchaccountid": {
  19675. "description": "业务员ID",
  19676. "type": "string"
  19677. },
  19678. "matchcustomername": {
  19679. "description": "销售方ID",
  19680. "type": "string"
  19681. },
  19682. "pricedqty": {
  19683. "description": "定价量",
  19684. "type": "number"
  19685. },
  19686. "signdate": {
  19687. "description": "签订日期",
  19688. "type": "string"
  19689. },
  19690. "spotcontractid": {
  19691. "description": "合同ID",
  19692. "type": "string"
  19693. },
  19694. "totaldqty": {
  19695. "description": "合同量",
  19696. "type": "number"
  19697. },
  19698. "unpricedqty": {
  19699. "description": "未定价量",
  19700. "type": "number"
  19701. },
  19702. "wrstandardname": {
  19703. "description": "商品名称",
  19704. "type": "string"
  19705. }
  19706. }
  19707. },
  19708. "erms3.QryPendingBizRsp": {
  19709. "type": "object",
  19710. "properties": {
  19711. "accountid": {
  19712. "description": "现货账户",
  19713. "type": "string"
  19714. },
  19715. "areaname": {
  19716. "description": "所属部门",
  19717. "type": "string"
  19718. },
  19719. "bizid": {
  19720. "description": "业务ID",
  19721. "type": "string"
  19722. },
  19723. "bizname": {
  19724. "description": "业务名称",
  19725. "type": "string"
  19726. },
  19727. "status": {
  19728. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19729. "type": "integer"
  19730. },
  19731. "type": {
  19732. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19733. "type": "integer"
  19734. }
  19735. }
  19736. },
  19737. "erms3.QueryBusinessInfoRsp": {
  19738. "type": "object",
  19739. "properties": {
  19740. "businessid": {
  19741. "description": "业务ID.",
  19742. "type": "integer"
  19743. },
  19744. "buyamount": {
  19745. "description": "采购额.",
  19746. "type": "number"
  19747. },
  19748. "buyqty": {
  19749. "description": "采购量.",
  19750. "type": "string"
  19751. },
  19752. "futurepl": {
  19753. "description": "期货盈亏.",
  19754. "type": "number"
  19755. },
  19756. "futureqty": {
  19757. "description": "期货敞口.",
  19758. "type": "string"
  19759. },
  19760. "goodsid": {
  19761. "description": "商品名称/商品代码.",
  19762. "type": "string"
  19763. },
  19764. "hedgingqty": {
  19765. "description": "套保量.",
  19766. "type": "string"
  19767. },
  19768. "sellamount": {
  19769. "description": "销售额.",
  19770. "type": "number"
  19771. },
  19772. "sellqty": {
  19773. "description": "销售量.",
  19774. "type": "string"
  19775. },
  19776. "spotmarketvalue": {
  19777. "description": "现货市值.",
  19778. "type": "number"
  19779. },
  19780. "spotpl": {
  19781. "description": "浮动权益.",
  19782. "type": "number"
  19783. },
  19784. "spotqty": {
  19785. "description": "现货量.",
  19786. "type": "string"
  19787. },
  19788. "statu": {
  19789. "description": "状态,0-未结束 1-已结束.",
  19790. "type": "integer"
  19791. },
  19792. "totalpl": {
  19793. "description": "总盈亏.",
  19794. "type": "number"
  19795. },
  19796. "totalqty": {
  19797. "description": "总敞口.",
  19798. "type": "string"
  19799. },
  19800. "type": {
  19801. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  19802. "type": "integer"
  19803. }
  19804. }
  19805. },
  19806. "erms3.QuerySpotContractAppleFormRsp": {
  19807. "type": "object",
  19808. "properties": {
  19809. "goodses": {
  19810. "description": "合约列表",
  19811. "type": "array",
  19812. "items": {
  19813. "$ref": "#/definitions/models.GoodsIDAndName"
  19814. }
  19815. },
  19816. "oppositeusers": {
  19817. "description": "对方账号列表",
  19818. "type": "array",
  19819. "items": {
  19820. "$ref": "#/definitions/erms3.CustomerInfo"
  19821. }
  19822. },
  19823. "ouruser": {
  19824. "description": "我方账号",
  19825. "$ref": "#/definitions/erms3.CustomerInfo"
  19826. },
  19827. "warehouseinfos": {
  19828. "description": "仓库信息列表",
  19829. "type": "array",
  19830. "items": {
  19831. "$ref": "#/definitions/models.Warehouseinfo"
  19832. }
  19833. },
  19834. "wrstandards": {
  19835. "description": "仓单标准列表",
  19836. "type": "array",
  19837. "items": {
  19838. "$ref": "#/definitions/models.WRStandardInfo"
  19839. }
  19840. }
  19841. }
  19842. },
  19843. "erms3.QuerySpotContractInfoRsp": {
  19844. "type": "object",
  19845. "properties": {
  19846. "accountid": {
  19847. "description": "表示交易员ID.",
  19848. "type": "integer"
  19849. },
  19850. "curdeliveryqty": {
  19851. "description": "表示未交收量.",
  19852. "type": "number"
  19853. },
  19854. "customername": {
  19855. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  19856. "type": "string"
  19857. },
  19858. "deliverygoodsid": {
  19859. "description": "表示品种ID.",
  19860. "type": "string"
  19861. },
  19862. "deliveryqty": {
  19863. "description": "表示交收量.",
  19864. "type": "number"
  19865. },
  19866. "matchaccountid": {
  19867. "description": "表示业务员ID.",
  19868. "type": "integer"
  19869. },
  19870. "matchcustomername": {
  19871. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  19872. "type": "string"
  19873. },
  19874. "priceqty": {
  19875. "description": "表示定价量.",
  19876. "type": "number"
  19877. },
  19878. "relatedbizid": {
  19879. "description": "表示业务ID.",
  19880. "type": "string"
  19881. },
  19882. "signdate": {
  19883. "description": "表示签订日期.",
  19884. "type": "string"
  19885. },
  19886. "spotcontractid": {
  19887. "description": "合同ID",
  19888. "type": "string"
  19889. },
  19890. "status": {
  19891. "description": "表示状态,0-履约中 1-已完成.",
  19892. "type": "integer"
  19893. },
  19894. "totalqty": {
  19895. "description": "表示合同量.",
  19896. "type": "number"
  19897. },
  19898. "unpricedqty": {
  19899. "description": "表示未定价量.",
  19900. "type": "number"
  19901. },
  19902. "wrstandardname": {
  19903. "description": "表示商品ID.",
  19904. "type": "string"
  19905. }
  19906. }
  19907. },
  19908. "erms3.QueryUserInfoAppliesRsp": {
  19909. "type": "object",
  19910. "required": [
  19911. "userid"
  19912. ],
  19913. "properties": {
  19914. "biznature": {
  19915. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19916. "type": "integer"
  19917. },
  19918. "contactname": {
  19919. "description": "联系人",
  19920. "type": "string"
  19921. },
  19922. "createtime": {
  19923. "description": "开户申请时间",
  19924. "type": "string"
  19925. },
  19926. "userid": {
  19927. "description": "用户ID(自增ID)",
  19928. "type": "integer"
  19929. },
  19930. "userinfotype": {
  19931. "description": "用户信息类型 - 1:个人 2:企业",
  19932. "type": "integer"
  19933. },
  19934. "username": {
  19935. "description": "用户姓名",
  19936. "type": "string"
  19937. },
  19938. "userstate": {
  19939. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19940. "type": "integer"
  19941. }
  19942. }
  19943. },
  19944. "erms3.QueryUserInfosRsp": {
  19945. "type": "object",
  19946. "required": [
  19947. "userid"
  19948. ],
  19949. "properties": {
  19950. "biznature": {
  19951. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19952. "type": "integer"
  19953. },
  19954. "contactname": {
  19955. "description": "联系人",
  19956. "type": "string"
  19957. },
  19958. "customername": {
  19959. "description": "客户名称(企业名称)",
  19960. "type": "string"
  19961. },
  19962. "userid": {
  19963. "description": "用户ID",
  19964. "type": "integer"
  19965. },
  19966. "userinfotype": {
  19967. "description": "用户信息类型 - 1:个人 2:企业",
  19968. "type": "integer"
  19969. },
  19970. "userstatus": {
  19971. "description": "用户状态 - 1:正常 2:注销",
  19972. "type": "integer"
  19973. }
  19974. }
  19975. },
  19976. "erms3.SoptContractDetail": {
  19977. "type": "object",
  19978. "required": [
  19979. "deliverygoodsid",
  19980. "producttype",
  19981. "unitname",
  19982. "warehouseid",
  19983. "wrstandardid",
  19984. "wrstandardname"
  19985. ],
  19986. "properties": {
  19987. "deliverygoodsdesc": {
  19988. "description": "现货品种说明",
  19989. "type": "string"
  19990. },
  19991. "deliverygoodsid": {
  19992. "description": "现货品种ID",
  19993. "type": "integer"
  19994. },
  19995. "deliverygoodsname": {
  19996. "description": "现货品种名称",
  19997. "type": "string"
  19998. },
  19999. "pointdesc": {
  20000. "description": "点价描述",
  20001. "type": "string"
  20002. },
  20003. "producttype": {
  20004. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20005. "type": "integer"
  20006. },
  20007. "producttypename": {
  20008. "description": "产品类型名称",
  20009. "type": "string"
  20010. },
  20011. "spotPointOrderVoList": {
  20012. "description": "点价列表",
  20013. "type": "array",
  20014. "items": {
  20015. "$ref": "#/definitions/erms3.SpotPointOrder"
  20016. }
  20017. },
  20018. "spotPriceOrderList": {
  20019. "description": "定价列表",
  20020. "type": "array",
  20021. "items": {
  20022. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20023. }
  20024. },
  20025. "unitname": {
  20026. "description": "单位名称",
  20027. "type": "string"
  20028. },
  20029. "warehouseid": {
  20030. "description": "仓库ID",
  20031. "type": "integer"
  20032. },
  20033. "warehousename": {
  20034. "description": "仓库名称",
  20035. "type": "string"
  20036. },
  20037. "wrstandardid": {
  20038. "description": "交易标的ID",
  20039. "type": "integer"
  20040. },
  20041. "wrstandardname": {
  20042. "description": "交易标的名称",
  20043. "type": "string"
  20044. }
  20045. }
  20046. },
  20047. "erms3.SpotPointOrder": {
  20048. "type": "object",
  20049. "required": [
  20050. "basic",
  20051. "goodsid",
  20052. "qty"
  20053. ],
  20054. "properties": {
  20055. "basic": {
  20056. "description": "基差",
  20057. "type": "number"
  20058. },
  20059. "deliveryenddate": {
  20060. "description": "交收结束日期",
  20061. "type": "string"
  20062. },
  20063. "deliverystartdate": {
  20064. "description": "交收开始日期",
  20065. "type": "string"
  20066. },
  20067. "enddate": {
  20068. "description": "点价结束日期",
  20069. "type": "string"
  20070. },
  20071. "goodsid": {
  20072. "description": "商品ID",
  20073. "type": "integer"
  20074. },
  20075. "goodsname": {
  20076. "description": "商品名称",
  20077. "type": "string"
  20078. },
  20079. "qty": {
  20080. "description": "数量",
  20081. "type": "number"
  20082. },
  20083. "startdate": {
  20084. "description": "点价开始日期",
  20085. "type": "string"
  20086. }
  20087. }
  20088. },
  20089. "erms3.SpotPriceOrder": {
  20090. "type": "object",
  20091. "required": [
  20092. "amount",
  20093. "price",
  20094. "qty"
  20095. ],
  20096. "properties": {
  20097. "amount": {
  20098. "description": "金额",
  20099. "type": "number"
  20100. },
  20101. "deliveryenddate": {
  20102. "description": "交收结束日期",
  20103. "type": "string"
  20104. },
  20105. "deliverystartdate": {
  20106. "description": "交收开始日期",
  20107. "type": "string"
  20108. },
  20109. "price": {
  20110. "description": "价格",
  20111. "type": "number"
  20112. },
  20113. "qty": {
  20114. "description": "数量",
  20115. "type": "number"
  20116. }
  20117. }
  20118. },
  20119. "hsby.GetHsbyMyCountRsp": {
  20120. "type": "object",
  20121. "properties": {
  20122. "myCouponCount": {
  20123. "description": "我的优惠卷数量",
  20124. "type": "integer"
  20125. },
  20126. "myOrderDetailListingCount": {
  20127. "description": "我的订单求购中数量",
  20128. "type": "integer"
  20129. },
  20130. "myOrderDetailPreCount": {
  20131. "description": "我的订单抢购中数量",
  20132. "type": "integer"
  20133. },
  20134. "myPackageUnReceiveCount": {
  20135. "description": "我的包裹待收货数量",
  20136. "type": "integer"
  20137. },
  20138. "myPackageUnSendCount": {
  20139. "description": "我的包裹待发货数量",
  20140. "type": "integer"
  20141. },
  20142. "myPayOrderCount": {
  20143. "description": "我的订单待付款数量",
  20144. "type": "integer"
  20145. }
  20146. }
  20147. },
  20148. "hsby.QueryProvincesAndCitiesRsp": {
  20149. "type": "object",
  20150. "properties": {
  20151. "cities": {
  20152. "description": "市",
  20153. "type": "array",
  20154. "items": {
  20155. "$ref": "#/definitions/models.Division"
  20156. }
  20157. },
  20158. "province": {
  20159. "description": "省",
  20160. "$ref": "#/definitions/models.Division"
  20161. }
  20162. }
  20163. },
  20164. "models.Arearole": {
  20165. "type": "object",
  20166. "required": [
  20167. "roletype",
  20168. "userid"
  20169. ],
  20170. "properties": {
  20171. "createtime": {
  20172. "description": "创建时间",
  20173. "type": "string"
  20174. },
  20175. "creatorid": {
  20176. "description": "创建人ID",
  20177. "type": "integer"
  20178. },
  20179. "fromuserid": {
  20180. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20181. "type": "integer"
  20182. },
  20183. "isreturnscore": {
  20184. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20185. "type": "integer"
  20186. },
  20187. "modifierid": {
  20188. "description": "修改人ID",
  20189. "type": "integer"
  20190. },
  20191. "modifytime": {
  20192. "description": "修改时间",
  20193. "type": "string"
  20194. },
  20195. "orgtype": {
  20196. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  20197. "type": "integer"
  20198. },
  20199. "outuserid": {
  20200. "description": "外部账户[场外期权做市商]",
  20201. "type": "string"
  20202. },
  20203. "parentuserid": {
  20204. "description": "上级组织机构(组织机构)",
  20205. "type": "integer"
  20206. },
  20207. "roletype": {
  20208. "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:门店",
  20209. "type": "integer"
  20210. },
  20211. "rootuserid": {
  20212. "description": "顶级组织机构用户ID(组织机构)",
  20213. "type": "integer"
  20214. },
  20215. "shoppassword": {
  20216. "description": "商城店铺登陆密码(商城店铺角色使用)",
  20217. "type": "string"
  20218. },
  20219. "sublevelpath": {
  20220. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  20221. "type": "string"
  20222. },
  20223. "suborgtype": {
  20224. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20225. "type": "integer"
  20226. },
  20227. "tradeaccountid": {
  20228. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  20229. "type": "integer"
  20230. },
  20231. "transurl": {
  20232. "description": "物流地址(物流机构)",
  20233. "type": "string"
  20234. },
  20235. "userid": {
  20236. "description": "机构用户ID其他做市关系,都设置为 1",
  20237. "type": "integer"
  20238. }
  20239. }
  20240. },
  20241. "models.Clientfixedadconfig": {
  20242. "type": "object",
  20243. "required": [
  20244. "adsort",
  20245. "adtype"
  20246. ],
  20247. "properties": {
  20248. "adsort": {
  20249. "description": "排序",
  20250. "type": "integer"
  20251. },
  20252. "adtype": {
  20253. "description": "广告位类型 - 1:新品抢购(HSBY)",
  20254. "type": "integer"
  20255. },
  20256. "areauserid": {
  20257. "description": "所属机构ID",
  20258. "type": "integer"
  20259. },
  20260. "createdate": {
  20261. "description": "创建时间",
  20262. "type": "string"
  20263. },
  20264. "creatorid": {
  20265. "description": "创建人",
  20266. "type": "integer"
  20267. },
  20268. "imagepath": {
  20269. "description": "图片",
  20270. "type": "string"
  20271. },
  20272. "isshow": {
  20273. "description": "是否展示 - 0:不展示 1:展示",
  20274. "type": "integer"
  20275. },
  20276. "modifierid": {
  20277. "description": "操作人",
  20278. "type": "integer"
  20279. },
  20280. "recsize": {
  20281. "description": "推荐尺寸",
  20282. "type": "string"
  20283. },
  20284. "title": {
  20285. "description": "标题",
  20286. "type": "string"
  20287. },
  20288. "updatedate": {
  20289. "description": "更新时间",
  20290. "type": "string"
  20291. },
  20292. "urlcontent": {
  20293. "description": "链接(地址或商品ID)",
  20294. "type": "string"
  20295. },
  20296. "urltype": {
  20297. "description": "链接类型 - 1:直接地址 2:商品ID",
  20298. "type": "integer"
  20299. }
  20300. }
  20301. },
  20302. "models.DgFactoryItem": {
  20303. "type": "object",
  20304. "properties": {
  20305. "dgfactoryitemid": {
  20306. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20307. "type": "integer"
  20308. },
  20309. "dgfactoryitemtypeid": {
  20310. "description": "要素项类型",
  20311. "type": "integer"
  20312. },
  20313. "dgfactoryitemvalue": {
  20314. "description": "要素项值(类型为仓库时填写仓库名称)",
  20315. "type": "string"
  20316. },
  20317. "orderindex": {
  20318. "description": "顺序",
  20319. "type": "integer"
  20320. }
  20321. }
  20322. },
  20323. "models.Division": {
  20324. "type": "object",
  20325. "required": [
  20326. "autoid",
  20327. "divisioncode"
  20328. ],
  20329. "properties": {
  20330. "autoid": {
  20331. "description": "自增ID",
  20332. "type": "integer"
  20333. },
  20334. "divisioncode": {
  20335. "description": "行政代码",
  20336. "type": "string"
  20337. },
  20338. "divisionlevel": {
  20339. "description": "行政级别",
  20340. "type": "string"
  20341. },
  20342. "divisionname": {
  20343. "description": "行政名称",
  20344. "type": "string"
  20345. },
  20346. "modifierid": {
  20347. "description": "修改人",
  20348. "type": "integer"
  20349. },
  20350. "modifytime": {
  20351. "description": "修改时间",
  20352. "type": "string"
  20353. },
  20354. "parentcode": {
  20355. "description": "上级行政代码",
  20356. "type": "string"
  20357. },
  20358. "pathname": {
  20359. "description": "路径名称",
  20360. "type": "string"
  20361. },
  20362. "postcode": {
  20363. "description": "邮政编码",
  20364. "type": "string"
  20365. },
  20366. "separablename": {
  20367. "description": "可拆分的全称",
  20368. "type": "string"
  20369. },
  20370. "shortcode": {
  20371. "description": "地区简码",
  20372. "type": "string"
  20373. }
  20374. }
  20375. },
  20376. "models.Enumdicitem": {
  20377. "type": "object",
  20378. "required": [
  20379. "autoid",
  20380. "enumdiccode",
  20381. "enumdicid",
  20382. "enumitemname"
  20383. ],
  20384. "properties": {
  20385. "autoid": {
  20386. "description": "自增ID",
  20387. "type": "integer"
  20388. },
  20389. "bankmappedvalue": {
  20390. "description": "银行服务对应值",
  20391. "type": "string"
  20392. },
  20393. "enumdiccode": {
  20394. "description": "所属枚举代码",
  20395. "type": "string"
  20396. },
  20397. "enumdicid": {
  20398. "description": "所属枚举ID",
  20399. "type": "integer"
  20400. },
  20401. "enumdicname": {
  20402. "description": "枚举项名称",
  20403. "type": "string"
  20404. },
  20405. "enumitemname": {
  20406. "description": "枚举项值",
  20407. "type": "integer"
  20408. },
  20409. "enumitemstatus": {
  20410. "description": "枚举项状态 - 1.启用 2.不启用",
  20411. "type": "integer"
  20412. },
  20413. "enumitemvalue": {
  20414. "description": "通用值 - [币种通用简写]",
  20415. "type": "string"
  20416. },
  20417. "param1": {
  20418. "description": "参数1[币种:币种小数位]",
  20419. "type": "string"
  20420. },
  20421. "param2": {
  20422. "description": "参数1[币种:币种显示单位]",
  20423. "type": "string"
  20424. },
  20425. "remark": {
  20426. "description": "备注",
  20427. "type": "string"
  20428. }
  20429. }
  20430. },
  20431. "models.Ermcp2hedgeditem": {
  20432. "type": "object",
  20433. "properties": {
  20434. "accountName": {
  20435. "description": "套期主体",
  20436. "type": "string"
  20437. },
  20438. "applyid": {
  20439. "description": "申请人",
  20440. "type": "integer"
  20441. },
  20442. "applysrc": {
  20443. "description": "申请来源 - 1:管理端 2:终端",
  20444. "type": "integer"
  20445. },
  20446. "areauserid": {
  20447. "description": "企业ID",
  20448. "type": "integer"
  20449. },
  20450. "auditid": {
  20451. "description": "审核人",
  20452. "type": "integer"
  20453. },
  20454. "auditremark": {
  20455. "description": "审核备注",
  20456. "type": "string"
  20457. },
  20458. "auditsrc": {
  20459. "description": "审核来源 - 1:管理端 2:终端",
  20460. "type": "integer"
  20461. },
  20462. "audittime": {
  20463. "description": "审核时间",
  20464. "type": "string"
  20465. },
  20466. "audittradedate": {
  20467. "description": "审核交易日(yyyyMMdd)",
  20468. "type": "string"
  20469. },
  20470. "createtime": {
  20471. "description": "申请时间",
  20472. "type": "string"
  20473. },
  20474. "curprice": {
  20475. "description": "当前市场价",
  20476. "type": "number"
  20477. },
  20478. "curstock": {
  20479. "description": "期末库存量 = 采购总量 - 销售总量",
  20480. "type": "number"
  20481. },
  20482. "deliverygoodsid": {
  20483. "description": "现货品种ID",
  20484. "type": "integer"
  20485. },
  20486. "enddate": {
  20487. "description": "完成日期",
  20488. "type": "string"
  20489. },
  20490. "endtradedate": {
  20491. "description": "完成交易日",
  20492. "type": "string"
  20493. },
  20494. "enumdicname": {
  20495. "description": "单位",
  20496. "type": "string"
  20497. },
  20498. "exeamount": {
  20499. "description": "执行市价总额",
  20500. "type": "number"
  20501. },
  20502. "exeavgprice": {
  20503. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  20504. "type": "number"
  20505. },
  20506. "execontractamount": {
  20507. "description": "执行定价总额",
  20508. "type": "number"
  20509. },
  20510. "exeqty": {
  20511. "description": "执行现货量",
  20512. "type": "number"
  20513. },
  20514. "exerestamount": {
  20515. "description": "执行剩余市价总额【现货贸易】",
  20516. "type": "number"
  20517. },
  20518. "futurefloatpl": {
  20519. "description": "期货浮动损益",
  20520. "type": "number"
  20521. },
  20522. "futurehedgepl": {
  20523. "description": "期货实际损益",
  20524. "type": "number"
  20525. },
  20526. "futurehedgeplchange": {
  20527. "description": "期货实际损益变动",
  20528. "type": "number"
  20529. },
  20530. "futurepl": {
  20531. "description": "期货套期损益",
  20532. "type": "number"
  20533. },
  20534. "futureplchange": {
  20535. "description": "期货套期损益变动",
  20536. "type": "number"
  20537. },
  20538. "hedgeamount": {
  20539. "description": "套期市价总额",
  20540. "type": "number"
  20541. },
  20542. "hedgecontractamount": {
  20543. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  20544. "type": "number"
  20545. },
  20546. "hedgeditemid": {
  20547. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  20548. "type": "string"
  20549. },
  20550. "hedgeditemname": {
  20551. "description": "项目名称",
  20552. "type": "string"
  20553. },
  20554. "hedgeditemnum": {
  20555. "description": "项目编号",
  20556. "type": "string"
  20557. },
  20558. "hedgeditemstatus": {
  20559. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20560. "type": "integer"
  20561. },
  20562. "hedgedtype": {
  20563. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  20564. "type": "integer"
  20565. },
  20566. "hedgeqty": {
  20567. "description": "套期现货量",
  20568. "type": "number"
  20569. },
  20570. "hedgerate": {
  20571. "description": "套保比率",
  20572. "type": "number"
  20573. },
  20574. "hedgerestamount": {
  20575. "description": "套期剩余市价总额【现货贸易】",
  20576. "type": "number"
  20577. },
  20578. "hedgesumpl": {
  20579. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  20580. "type": "number"
  20581. },
  20582. "middlegoodslist": {
  20583. "description": "套期商品列表",
  20584. "type": "array",
  20585. "items": {
  20586. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  20587. }
  20588. },
  20589. "oriavgprice": {
  20590. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  20591. "type": "number"
  20592. },
  20593. "orifuturehedgepl": {
  20594. "description": "期初期货实际损益",
  20595. "type": "number"
  20596. },
  20597. "orifuturepl": {
  20598. "description": "期初期货套期损益",
  20599. "type": "number"
  20600. },
  20601. "orispothedgepl": {
  20602. "description": "期初现货实际损益",
  20603. "type": "number"
  20604. },
  20605. "orispotpl": {
  20606. "description": "期初现货套期损益",
  20607. "type": "number"
  20608. },
  20609. "planenddate": {
  20610. "description": "计划结束日期",
  20611. "type": "string"
  20612. },
  20613. "planstartdate": {
  20614. "description": "计划开始日期",
  20615. "type": "string"
  20616. },
  20617. "remark": {
  20618. "description": "备注",
  20619. "type": "string"
  20620. },
  20621. "spotbookamount": {
  20622. "description": "现货账面总额",
  20623. "type": "number"
  20624. },
  20625. "spotfloatpl": {
  20626. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  20627. "type": "number"
  20628. },
  20629. "spothedgepl": {
  20630. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  20631. "type": "number"
  20632. },
  20633. "spothedgeplchange": {
  20634. "description": "现货实际损益变动",
  20635. "type": "number"
  20636. },
  20637. "spotpl": {
  20638. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  20639. "type": "number"
  20640. },
  20641. "spotplchange": {
  20642. "description": "现货套期损益变动",
  20643. "type": "number"
  20644. },
  20645. "spottradepl": {
  20646. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  20647. "type": "number"
  20648. },
  20649. "sumobspl": {
  20650. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  20651. "type": "number"
  20652. },
  20653. "tradeuserid": {
  20654. "description": "交易用户ID",
  20655. "type": "integer"
  20656. },
  20657. "unexeqty": {
  20658. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  20659. "type": "number"
  20660. },
  20661. "updatetime": {
  20662. "description": "更新时间",
  20663. "type": "string"
  20664. },
  20665. "vatpl": {
  20666. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  20667. "type": "number"
  20668. },
  20669. "vatrate": {
  20670. "description": "增值税",
  20671. "type": "number"
  20672. },
  20673. "wrstandardid": {
  20674. "description": "现货商品ID",
  20675. "type": "integer"
  20676. },
  20677. "wrstandardname": {
  20678. "description": "商品名称",
  20679. "type": "string"
  20680. }
  20681. }
  20682. },
  20683. "models.Ermcp2hedgeditemspot": {
  20684. "type": "object",
  20685. "required": [
  20686. "hedgeditemid"
  20687. ],
  20688. "properties": {
  20689. "areauserid": {
  20690. "description": "企业ID",
  20691. "type": "integer"
  20692. },
  20693. "createtime": {
  20694. "description": "创建时间",
  20695. "type": "string"
  20696. },
  20697. "customeruserid": {
  20698. "description": "对手方 【3:采购合同 4:销售合同】",
  20699. "type": "integer"
  20700. },
  20701. "deliverygoodsid": {
  20702. "description": "现货品种ID",
  20703. "type": "integer"
  20704. },
  20705. "enumdicname": {
  20706. "description": "单位",
  20707. "type": "string"
  20708. },
  20709. "hedgeditemid": {
  20710. "description": "被套期项目ID",
  20711. "type": "string"
  20712. },
  20713. "hedgeditemspotid": {
  20714. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  20715. "type": "string"
  20716. },
  20717. "hedgedtype": {
  20718. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  20719. "type": "integer"
  20720. },
  20721. "hedgeplanno": {
  20722. "description": "计划编号",
  20723. "type": "string"
  20724. },
  20725. "oriavgprice": {
  20726. "description": "期初市场价[当初市场价]",
  20727. "type": "number"
  20728. },
  20729. "relatedamount": {
  20730. "description": "市价总额 = 关联数量 * 期初市场价",
  20731. "type": "number"
  20732. },
  20733. "relatedhedgeplanid": {
  20734. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  20735. "type": "integer"
  20736. },
  20737. "relatedqty": {
  20738. "description": "关联数量[数量]",
  20739. "type": "number"
  20740. },
  20741. "relatedspotcontractid": {
  20742. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  20743. "type": "integer"
  20744. },
  20745. "relatedtype": {
  20746. "description": "关联类型 - 1:套期关联 2:执行关联",
  20747. "type": "integer"
  20748. },
  20749. "spotgoodsbrandid": {
  20750. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  20751. "type": "integer"
  20752. },
  20753. "spotpricedamount": {
  20754. "description": "定价总额",
  20755. "type": "number"
  20756. },
  20757. "spotpricedavgprice": {
  20758. "description": "现货均价 = 定价总额 / 关联数量",
  20759. "type": "number"
  20760. },
  20761. "spottype": {
  20762. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  20763. "type": "integer"
  20764. },
  20765. "tradeuserid": {
  20766. "description": "交易用户ID",
  20767. "type": "integer"
  20768. },
  20769. "wrstandardid": {
  20770. "description": "现货商品ID",
  20771. "type": "integer"
  20772. },
  20773. "wrstandardname": {
  20774. "description": "现货商品",
  20775. "type": "string"
  20776. }
  20777. }
  20778. },
  20779. "models.Ermcp2hedgeditemspotDetail": {
  20780. "type": "object",
  20781. "required": [
  20782. "hedgeditemid"
  20783. ],
  20784. "properties": {
  20785. "accountName": {
  20786. "description": "对手方",
  20787. "type": "string"
  20788. },
  20789. "areauserid": {
  20790. "description": "企业ID",
  20791. "type": "integer"
  20792. },
  20793. "brandname": {
  20794. "description": "品牌",
  20795. "type": "string"
  20796. },
  20797. "contractno": {
  20798. "description": "合同编号",
  20799. "type": "string"
  20800. },
  20801. "createtime": {
  20802. "description": "创建时间",
  20803. "type": "string"
  20804. },
  20805. "customeruserid": {
  20806. "description": "对手方 【3:采购合同 4:销售合同】",
  20807. "type": "integer"
  20808. },
  20809. "deliverygoodsid": {
  20810. "description": "现货品种ID",
  20811. "type": "integer"
  20812. },
  20813. "enumdicname": {
  20814. "description": "单位",
  20815. "type": "string"
  20816. },
  20817. "hedgeditemid": {
  20818. "description": "被套期项目ID",
  20819. "type": "string"
  20820. },
  20821. "hedgeditemspotid": {
  20822. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  20823. "type": "string"
  20824. },
  20825. "hedgedtype": {
  20826. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  20827. "type": "integer"
  20828. },
  20829. "oriavgprice": {
  20830. "description": "期初市场价[当初市场价]",
  20831. "type": "number"
  20832. },
  20833. "relatedamount": {
  20834. "description": "市价总额 = 关联数量 * 期初市场价",
  20835. "type": "number"
  20836. },
  20837. "relatedhedgeplanid": {
  20838. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  20839. "type": "integer"
  20840. },
  20841. "relatedqty": {
  20842. "description": "关联数量[数量]",
  20843. "type": "number"
  20844. },
  20845. "relatedspotcontractid": {
  20846. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  20847. "type": "integer"
  20848. },
  20849. "relatedtype": {
  20850. "description": "关联类型 - 1:套期关联 2:执行关联",
  20851. "type": "integer"
  20852. },
  20853. "spotgoodsbrandid": {
  20854. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  20855. "type": "integer"
  20856. },
  20857. "spotpricedamount": {
  20858. "description": "定价总额[金额]",
  20859. "type": "number"
  20860. },
  20861. "spotpricedavgprice": {
  20862. "description": "现货均价 = 定价总额 / 关联数量",
  20863. "type": "number"
  20864. },
  20865. "spottype": {
  20866. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  20867. "type": "integer"
  20868. },
  20869. "tradeuserid": {
  20870. "description": "交易用户ID",
  20871. "type": "integer"
  20872. },
  20873. "wrstandardid": {
  20874. "description": "现货商品ID",
  20875. "type": "integer"
  20876. },
  20877. "wrstandardname": {
  20878. "description": "现货商品",
  20879. "type": "string"
  20880. }
  20881. }
  20882. },
  20883. "models.Ermcp2himiddlegoods": {
  20884. "type": "object",
  20885. "required": [
  20886. "hedgeditemid",
  20887. "middlegoodsid"
  20888. ],
  20889. "properties": {
  20890. "futurehedgeqty": {
  20891. "description": "期货持仓套期量",
  20892. "type": "number"
  20893. },
  20894. "hedgeditemid": {
  20895. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  20896. "type": "integer"
  20897. },
  20898. "hiexpsoure": {
  20899. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  20900. "type": "number"
  20901. },
  20902. "middlegoodscode": {
  20903. "description": "套保商品代码",
  20904. "type": "string"
  20905. },
  20906. "middlegoodsid": {
  20907. "description": "套保品种ID",
  20908. "type": "integer"
  20909. },
  20910. "middlegoodsname": {
  20911. "description": "套保商品名称",
  20912. "type": "string"
  20913. },
  20914. "unexehedgeqty": {
  20915. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  20916. "type": "number"
  20917. }
  20918. }
  20919. },
  20920. "models.Ermcp3AreaSpot": {
  20921. "type": "object",
  20922. "properties": {
  20923. "areauserid": {
  20924. "description": "所属机构",
  20925. "type": "integer"
  20926. },
  20927. "convertratio": {
  20928. "description": "套保系数",
  20929. "type": "number"
  20930. },
  20931. "decreaseqty": {
  20932. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  20933. "type": "number"
  20934. },
  20935. "enumdicname": {
  20936. "description": "单位名称",
  20937. "type": "string"
  20938. },
  20939. "increaseqty": {
  20940. "description": "增加数量=销售计划数量+采购已定价数量",
  20941. "type": "number"
  20942. },
  20943. "oritoalspotqty": {
  20944. "description": "昨日数量",
  20945. "type": "number"
  20946. },
  20947. "totalspotqty": {
  20948. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  20949. "type": "number"
  20950. },
  20951. "unitid": {
  20952. "description": "现货商品单位id",
  20953. "type": "integer"
  20954. },
  20955. "updatetime": {
  20956. "description": "更新时间",
  20957. "type": "string"
  20958. },
  20959. "wrstandardcode": {
  20960. "description": "现货商品代码",
  20961. "type": "string"
  20962. },
  20963. "wrstandardid": {
  20964. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20965. "type": "integer"
  20966. },
  20967. "wrstandardname": {
  20968. "description": "现货商品名称",
  20969. "type": "string"
  20970. }
  20971. }
  20972. },
  20973. "models.Ermcp3AreaSpotDetail": {
  20974. "type": "object",
  20975. "properties": {
  20976. "contracttype": {
  20977. "description": "合同类型 1-采购 -1-销售",
  20978. "type": "integer"
  20979. },
  20980. "createtime": {
  20981. "description": "创建时间",
  20982. "type": "string"
  20983. },
  20984. "enumdicname": {
  20985. "description": "现货商品单位名称",
  20986. "type": "string"
  20987. },
  20988. "logtype": {
  20989. "description": "记录类型 1-套保 2-现货合同",
  20990. "type": "integer"
  20991. },
  20992. "qty": {
  20993. "description": "数量",
  20994. "type": "number"
  20995. },
  20996. "recordname": {
  20997. "description": "类型名称",
  20998. "type": "string"
  20999. },
  21000. "relatedid": {
  21001. "description": "套保计划ID/现货合同ID",
  21002. "type": "string"
  21003. },
  21004. "relatedno": {
  21005. "description": "编号",
  21006. "type": "string"
  21007. },
  21008. "strtime": {
  21009. "description": "时间",
  21010. "type": "string"
  21011. },
  21012. "wrstandardcode": {
  21013. "description": "现货商品代码",
  21014. "type": "string"
  21015. },
  21016. "wrstandardid": {
  21017. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21018. "type": "integer"
  21019. },
  21020. "wrstandardname": {
  21021. "description": "现货商品名称",
  21022. "type": "string"
  21023. }
  21024. }
  21025. },
  21026. "models.Ermcp3AreaSpotPLReport": {
  21027. "type": "object",
  21028. "properties": {
  21029. "accountid": {
  21030. "description": "期货账户ID (作废, 默认为0)",
  21031. "type": "integer"
  21032. },
  21033. "accountname": {
  21034. "description": "机构名称",
  21035. "type": "string"
  21036. },
  21037. "actualpl": {
  21038. "description": "现货损益",
  21039. "type": "number"
  21040. },
  21041. "areauserid": {
  21042. "description": "所属机构\\交易用户ID",
  21043. "type": "integer"
  21044. },
  21045. "begindate": {
  21046. "description": "开始交易日",
  21047. "type": "string"
  21048. },
  21049. "biztype": {
  21050. "description": "业务类型 - 1:套保 2:套利",
  21051. "type": "integer"
  21052. },
  21053. "brandname": {
  21054. "description": "品牌名称",
  21055. "type": "string"
  21056. },
  21057. "curamount": {
  21058. "description": "期末额",
  21059. "type": "number"
  21060. },
  21061. "curaverageprice": {
  21062. "description": "期末均价",
  21063. "type": "number"
  21064. },
  21065. "curbuyamount": {
  21066. "description": "期末采购总额",
  21067. "type": "number"
  21068. },
  21069. "curbuyqty": {
  21070. "description": "期末采购总量",
  21071. "type": "number"
  21072. },
  21073. "curmarketvalue": {
  21074. "description": "参考市值(期末市值)",
  21075. "type": "number"
  21076. },
  21077. "curqty": {
  21078. "description": "期末量",
  21079. "type": "number"
  21080. },
  21081. "currencyid": {
  21082. "description": "结算币种ID【原值】",
  21083. "type": "integer"
  21084. },
  21085. "currencyname": {
  21086. "description": "币种名称",
  21087. "type": "string"
  21088. },
  21089. "cursellamount": {
  21090. "description": "期末销售总额",
  21091. "type": "number"
  21092. },
  21093. "cursellqty": {
  21094. "description": "期末销售总量",
  21095. "type": "number"
  21096. },
  21097. "curspotprice": {
  21098. "description": "参考市价(最新价)",
  21099. "type": "number"
  21100. },
  21101. "cycletime": {
  21102. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21103. "type": "string"
  21104. },
  21105. "cycletype": {
  21106. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21107. "type": "integer"
  21108. },
  21109. "deliverygoodscode": {
  21110. "description": "现货品种代码",
  21111. "type": "string"
  21112. },
  21113. "deliverygoodsid": {
  21114. "description": "现货品种ID",
  21115. "type": "integer"
  21116. },
  21117. "deliverygoodsname": {
  21118. "description": "现货品种名称",
  21119. "type": "string"
  21120. },
  21121. "enddate": {
  21122. "description": "结束交易日",
  21123. "type": "string"
  21124. },
  21125. "enumdicname": {
  21126. "description": "现货品种单位名称(作废)",
  21127. "type": "string"
  21128. },
  21129. "floatpl": {
  21130. "description": "浮动损益",
  21131. "type": "number"
  21132. },
  21133. "goodsunitid": {
  21134. "description": "现货品种单位id(作废)",
  21135. "type": "integer"
  21136. },
  21137. "oriamount": {
  21138. "description": "期初额",
  21139. "type": "number"
  21140. },
  21141. "oriaverageprice": {
  21142. "description": "期初均价",
  21143. "type": "number"
  21144. },
  21145. "oribuyamount": {
  21146. "description": "期初采购总额",
  21147. "type": "number"
  21148. },
  21149. "oribuyqty": {
  21150. "description": "期初采购总量",
  21151. "type": "number"
  21152. },
  21153. "oriqty": {
  21154. "description": "期初量",
  21155. "type": "number"
  21156. },
  21157. "orisellamount": {
  21158. "description": "期初销售总额",
  21159. "type": "number"
  21160. },
  21161. "orisellqty": {
  21162. "description": "期初销售总量",
  21163. "type": "number"
  21164. },
  21165. "reckondate": {
  21166. "description": "日照时期(yyyyMMdd)",
  21167. "type": "string"
  21168. },
  21169. "spotgoodsbrandid": {
  21170. "description": "现货品牌ID",
  21171. "type": "integer"
  21172. },
  21173. "todaybuyamount": {
  21174. "description": "今日采购额(今采购额)",
  21175. "type": "number"
  21176. },
  21177. "todaybuyaverageprice": {
  21178. "description": "今日采购均价",
  21179. "type": "number"
  21180. },
  21181. "todaybuyqty": {
  21182. "description": "今日采购量(今采购量)",
  21183. "type": "number"
  21184. },
  21185. "todayinqty": {
  21186. "description": "今日入库量(今入库量)",
  21187. "type": "number"
  21188. },
  21189. "todayoutqty": {
  21190. "description": "今日出库量(今出库量)",
  21191. "type": "number"
  21192. },
  21193. "todaysellamount": {
  21194. "description": "今日销售额(今销售额)",
  21195. "type": "number"
  21196. },
  21197. "todaysellaverageprice": {
  21198. "description": "今日销售均价",
  21199. "type": "number"
  21200. },
  21201. "todaysellqty": {
  21202. "description": "今日销售量(今销售量)",
  21203. "type": "number"
  21204. },
  21205. "unitid": {
  21206. "description": "品类单位id",
  21207. "type": "integer"
  21208. },
  21209. "unitidname": {
  21210. "description": "品类单位名称",
  21211. "type": "string"
  21212. },
  21213. "updatetime": {
  21214. "description": "更新时间",
  21215. "type": "string"
  21216. },
  21217. "wrfactortypeid": {
  21218. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21219. "type": "integer"
  21220. },
  21221. "wrstandardcode": {
  21222. "description": "现货商品(品类)代码",
  21223. "type": "string"
  21224. },
  21225. "wrstandardid": {
  21226. "description": "现货品类ID",
  21227. "type": "integer"
  21228. },
  21229. "wrstandardname": {
  21230. "description": "现货商品(品类)名称",
  21231. "type": "string"
  21232. }
  21233. }
  21234. },
  21235. "models.Ermcp3AreaStock": {
  21236. "type": "object",
  21237. "required": [
  21238. "userid"
  21239. ],
  21240. "properties": {
  21241. "brandname": {
  21242. "description": "品牌名称",
  21243. "type": "string"
  21244. },
  21245. "curstock": {
  21246. "description": "期末库存量(今日量)",
  21247. "type": "number"
  21248. },
  21249. "deliverygoodscode": {
  21250. "description": "现货品种代码",
  21251. "type": "string"
  21252. },
  21253. "deliverygoodsid": {
  21254. "description": "现货品种id",
  21255. "type": "integer"
  21256. },
  21257. "deliverygoodsname": {
  21258. "description": "现货品种名称",
  21259. "type": "string"
  21260. },
  21261. "enumdicname": {
  21262. "description": "单位名称",
  21263. "type": "string"
  21264. },
  21265. "goodsunitid": {
  21266. "description": "现货商品单位id",
  21267. "type": "integer"
  21268. },
  21269. "oristock": {
  21270. "description": "期初库存量(昨日量)",
  21271. "type": "number"
  21272. },
  21273. "spotgoodsbrandid": {
  21274. "description": "现货品牌ID",
  21275. "type": "integer"
  21276. },
  21277. "todaybuyinqty": {
  21278. "description": "今日采购入库量",
  21279. "type": "number"
  21280. },
  21281. "todayproduceinqty": {
  21282. "description": "今日生产入库量",
  21283. "type": "number"
  21284. },
  21285. "todayproduceoutqty": {
  21286. "description": "今日生产出库量",
  21287. "type": "number"
  21288. },
  21289. "todayselloutqty": {
  21290. "description": "今日销售出库量",
  21291. "type": "number"
  21292. },
  21293. "unitid": {
  21294. "description": "单位id",
  21295. "type": "integer"
  21296. },
  21297. "updatetime": {
  21298. "description": "更新时间",
  21299. "type": "string"
  21300. },
  21301. "userid": {
  21302. "description": "机构ID",
  21303. "type": "integer"
  21304. },
  21305. "username": {
  21306. "description": "机构名称",
  21307. "type": "string"
  21308. },
  21309. "warehousecode": {
  21310. "description": "仓库代码",
  21311. "type": "string"
  21312. },
  21313. "warehouseinfoid": {
  21314. "description": "仓库ID",
  21315. "type": "string"
  21316. },
  21317. "warehousename": {
  21318. "description": "仓库名称",
  21319. "type": "string"
  21320. },
  21321. "warehousetype": {
  21322. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21323. "type": "integer"
  21324. },
  21325. "wrstandardcode": {
  21326. "description": "品类代码",
  21327. "type": "string"
  21328. },
  21329. "wrstandardid": {
  21330. "description": "品类ID",
  21331. "type": "string"
  21332. },
  21333. "wrstandardname": {
  21334. "description": "品类名称",
  21335. "type": "string"
  21336. }
  21337. }
  21338. },
  21339. "models.Ermcp3AreaStockApply": {
  21340. "type": "object",
  21341. "properties": {
  21342. "applyid": {
  21343. "description": "申请人",
  21344. "type": "integer"
  21345. },
  21346. "applyname": {
  21347. "description": "申请人名称",
  21348. "type": "string"
  21349. },
  21350. "applyremark": {
  21351. "description": "申请备注",
  21352. "type": "string"
  21353. },
  21354. "applysrc": {
  21355. "description": "申请来源 - 1:管理端 2:终端",
  21356. "type": "integer"
  21357. },
  21358. "applystatus": {
  21359. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21360. "type": "integer"
  21361. },
  21362. "applytime": {
  21363. "description": "申请时间",
  21364. "type": "string"
  21365. },
  21366. "auditid": {
  21367. "description": "审核人",
  21368. "type": "integer"
  21369. },
  21370. "auditname": {
  21371. "description": "审核人名称",
  21372. "type": "string"
  21373. },
  21374. "auditremark": {
  21375. "description": "审核备注",
  21376. "type": "string"
  21377. },
  21378. "auditsrc": {
  21379. "description": "审核来源 - 1:管理端 2:终端",
  21380. "type": "integer"
  21381. },
  21382. "audittime": {
  21383. "description": "审核时间",
  21384. "type": "string"
  21385. },
  21386. "audittradedate": {
  21387. "description": "审核交易日(yyyyMMdd)",
  21388. "type": "string"
  21389. },
  21390. "brandname": {
  21391. "description": "品牌名称",
  21392. "type": "string"
  21393. },
  21394. "buynickname": {
  21395. "description": "采购方昵称",
  21396. "type": "string"
  21397. },
  21398. "buyuserid": {
  21399. "description": "采购方userid",
  21400. "type": "integer"
  21401. },
  21402. "buyusername": {
  21403. "description": "采购方名称",
  21404. "type": "string"
  21405. },
  21406. "contractno": {
  21407. "description": "合同编号",
  21408. "type": "string"
  21409. },
  21410. "contractqty": {
  21411. "description": "合同量",
  21412. "type": "number"
  21413. },
  21414. "contracttype": {
  21415. "description": "现货合同类型 - 1:采购 -1:销售",
  21416. "type": "integer"
  21417. },
  21418. "deliverygoodscode": {
  21419. "description": "现货品种代码",
  21420. "type": "string"
  21421. },
  21422. "deliverygoodsid": {
  21423. "description": "现货品种id",
  21424. "type": "integer"
  21425. },
  21426. "deliverygoodsname": {
  21427. "description": "现货品种名称",
  21428. "type": "string"
  21429. },
  21430. "detailjson": {
  21431. "description": "明细数据",
  21432. "type": "string"
  21433. },
  21434. "enumdicname": {
  21435. "description": "现货商品单位名称",
  21436. "type": "string"
  21437. },
  21438. "inoutapplyid": {
  21439. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  21440. "type": "string"
  21441. },
  21442. "inouttype": {
  21443. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  21444. "type": "integer"
  21445. },
  21446. "pricetype": {
  21447. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21448. "type": "integer"
  21449. },
  21450. "qty": {
  21451. "description": "数量",
  21452. "type": "number"
  21453. },
  21454. "sellnickname": {
  21455. "description": "销售方昵称",
  21456. "type": "string"
  21457. },
  21458. "selluserid": {
  21459. "description": "销售方userid",
  21460. "type": "integer"
  21461. },
  21462. "sellusername": {
  21463. "description": "销售方名称",
  21464. "type": "string"
  21465. },
  21466. "spotcontractid": {
  21467. "description": "关联现货合同ID",
  21468. "type": "string"
  21469. },
  21470. "spotgoodsbrandid": {
  21471. "description": "现货品牌ID",
  21472. "type": "integer"
  21473. },
  21474. "unitid": {
  21475. "description": "单位id",
  21476. "type": "integer"
  21477. },
  21478. "userid": {
  21479. "description": "机构ID",
  21480. "type": "integer"
  21481. },
  21482. "warehousecode": {
  21483. "description": "仓库代码",
  21484. "type": "string"
  21485. },
  21486. "warehouseinfoid": {
  21487. "description": "现货仓库ID",
  21488. "type": "string"
  21489. },
  21490. "warehousename": {
  21491. "description": "仓库名称",
  21492. "type": "string"
  21493. },
  21494. "warehousetype": {
  21495. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21496. "type": "integer"
  21497. },
  21498. "wrstandardcode": {
  21499. "description": "品类代码",
  21500. "type": "string"
  21501. },
  21502. "wrstandardid": {
  21503. "description": "品类ID",
  21504. "type": "integer"
  21505. },
  21506. "wrstandardname": {
  21507. "description": "品类名称",
  21508. "type": "string"
  21509. }
  21510. }
  21511. },
  21512. "models.Ermcp3AreaStockApplySum": {
  21513. "type": "object",
  21514. "properties": {
  21515. "brandname": {
  21516. "description": "品牌名称",
  21517. "type": "string"
  21518. },
  21519. "inouttype": {
  21520. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  21521. "type": "integer"
  21522. },
  21523. "spotcontractid": {
  21524. "description": "关联现货合同ID",
  21525. "type": "string"
  21526. },
  21527. "spotgoodsbrandid": {
  21528. "description": "品牌id",
  21529. "type": "integer"
  21530. },
  21531. "totalqty": {
  21532. "description": "总数量",
  21533. "type": "number"
  21534. },
  21535. "wrstandardid": {
  21536. "description": "品类id",
  21537. "type": "integer"
  21538. },
  21539. "wrstandardname": {
  21540. "description": "品类名称",
  21541. "type": "string"
  21542. }
  21543. }
  21544. },
  21545. "models.Ermcp3AreaStockReportEx": {
  21546. "type": "object",
  21547. "properties": {
  21548. "begindate": {
  21549. "description": "开始交易日",
  21550. "type": "string"
  21551. },
  21552. "brandname": {
  21553. "description": "品牌名称",
  21554. "type": "string"
  21555. },
  21556. "curstock": {
  21557. "description": "期末库存量",
  21558. "type": "number"
  21559. },
  21560. "cycletime": {
  21561. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21562. "type": "string"
  21563. },
  21564. "cycletype": {
  21565. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21566. "type": "integer"
  21567. },
  21568. "deliverygoodscode": {
  21569. "description": "现货品种代码",
  21570. "type": "string"
  21571. },
  21572. "deliverygoodsid": {
  21573. "description": "现货品种id",
  21574. "type": "integer"
  21575. },
  21576. "deliverygoodsname": {
  21577. "description": "现货品种名称",
  21578. "type": "string"
  21579. },
  21580. "diffqty": {
  21581. "description": "库存变化量 = 期末 - 期初",
  21582. "type": "number"
  21583. },
  21584. "enddate": {
  21585. "description": "结束交易日",
  21586. "type": "string"
  21587. },
  21588. "enumdicname": {
  21589. "description": "单位名称",
  21590. "type": "string"
  21591. },
  21592. "goodsunitid": {
  21593. "description": "现货单位id",
  21594. "type": "integer"
  21595. },
  21596. "oristock": {
  21597. "description": "期初库存量",
  21598. "type": "number"
  21599. },
  21600. "reckondate": {
  21601. "description": "日照时期(yyyyMMdd)",
  21602. "type": "string"
  21603. },
  21604. "spotgoodsbrandid": {
  21605. "description": "现货品牌ID",
  21606. "type": "integer"
  21607. },
  21608. "todaybuyinqty": {
  21609. "description": "今采购入库量",
  21610. "type": "number"
  21611. },
  21612. "todayproduceinqty": {
  21613. "description": "今内部入库量",
  21614. "type": "number"
  21615. },
  21616. "todayproduceoutqty": {
  21617. "description": "今内部出库量",
  21618. "type": "number"
  21619. },
  21620. "todayselloutqty": {
  21621. "description": "今销售出库量",
  21622. "type": "number"
  21623. },
  21624. "unbuyinqty": {
  21625. "description": "采购未入库量(数据库未找到相关字段?)",
  21626. "type": "number"
  21627. },
  21628. "unitid": {
  21629. "description": "品类单位id",
  21630. "type": "integer"
  21631. },
  21632. "unselloutqty": {
  21633. "description": "销售未出库量(数据库未找到相关字段?)",
  21634. "type": "number"
  21635. },
  21636. "updatetime": {
  21637. "description": "更新时间",
  21638. "type": "string"
  21639. },
  21640. "userid": {
  21641. "description": "机构ID",
  21642. "type": "integer"
  21643. },
  21644. "username": {
  21645. "description": "机构名称",
  21646. "type": "string"
  21647. },
  21648. "warehousecode": {
  21649. "description": "仓库代码",
  21650. "type": "string"
  21651. },
  21652. "warehouseinfoid": {
  21653. "description": "仓库ID",
  21654. "type": "string"
  21655. },
  21656. "warehousename": {
  21657. "description": "仓库名称",
  21658. "type": "string"
  21659. },
  21660. "warehousetype": {
  21661. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21662. "type": "integer"
  21663. },
  21664. "wrstandardcode": {
  21665. "description": "品类代码",
  21666. "type": "string"
  21667. },
  21668. "wrstandardid": {
  21669. "description": "品类ID",
  21670. "type": "integer"
  21671. },
  21672. "wrstandardname": {
  21673. "description": "品类名称",
  21674. "type": "string"
  21675. }
  21676. }
  21677. },
  21678. "models.Ermcp3ArealSumPL": {
  21679. "type": "object",
  21680. "properties": {
  21681. "accountname": {
  21682. "description": "机构名称",
  21683. "type": "string"
  21684. },
  21685. "areauserid": {
  21686. "description": "所属机构\\交易用户ID",
  21687. "type": "integer"
  21688. },
  21689. "begindate": {
  21690. "description": "开始交易日",
  21691. "type": "string"
  21692. },
  21693. "currencyid": {
  21694. "description": "结算币种ID",
  21695. "type": "integer"
  21696. },
  21697. "currencyname": {
  21698. "description": "币种名称",
  21699. "type": "string"
  21700. },
  21701. "cycletime": {
  21702. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21703. "type": "string"
  21704. },
  21705. "cycletype": {
  21706. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21707. "type": "integer"
  21708. },
  21709. "enddate": {
  21710. "description": "结束交易日",
  21711. "type": "string"
  21712. },
  21713. "enumdicname": {
  21714. "description": "单位名称(套保品种)",
  21715. "type": "string"
  21716. },
  21717. "futureactualpl": {
  21718. "description": "期货损益",
  21719. "type": "number"
  21720. },
  21721. "futurefloatpl": {
  21722. "description": "期货浮动损益",
  21723. "type": "number"
  21724. },
  21725. "futurespotratio": {
  21726. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  21727. "type": "number"
  21728. },
  21729. "goodsunitid": {
  21730. "description": "套保品种单位id",
  21731. "type": "integer"
  21732. },
  21733. "hedgeexposurepl": {
  21734. "description": "套保敞口损益",
  21735. "type": "number"
  21736. },
  21737. "middlegoodscode": {
  21738. "description": "套保品种代码",
  21739. "type": "string"
  21740. },
  21741. "middlegoodsid": {
  21742. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21743. "type": "integer"
  21744. },
  21745. "middlegoodsname": {
  21746. "description": "套保品种名称",
  21747. "type": "string"
  21748. },
  21749. "reckondate": {
  21750. "description": "日照时期(yyyyMMdd)",
  21751. "type": "string"
  21752. },
  21753. "spotactualpl": {
  21754. "description": "现货损益",
  21755. "type": "number"
  21756. },
  21757. "spotfloatpl": {
  21758. "description": "现货浮动损益",
  21759. "type": "number"
  21760. },
  21761. "sumactualpl": {
  21762. "description": "实际损益 = (ActualPL + FutureActualPL)",
  21763. "type": "number"
  21764. },
  21765. "sumpl": {
  21766. "description": "总敞口损益 | 汇总损益",
  21767. "type": "number"
  21768. },
  21769. "totalfutureqty": {
  21770. "description": "期货头寸总量",
  21771. "type": "number"
  21772. },
  21773. "totalneedhedgeqty": {
  21774. "description": "应套保总量",
  21775. "type": "number"
  21776. },
  21777. "totalspotqty": {
  21778. "description": "现货头寸总量",
  21779. "type": "number"
  21780. },
  21781. "updatetime": {
  21782. "description": "更新时间",
  21783. "type": "string"
  21784. }
  21785. }
  21786. },
  21787. "models.Ermcp3Brand": {
  21788. "type": "object",
  21789. "properties": {
  21790. "areauserid": {
  21791. "description": "用户id",
  21792. "type": "integer"
  21793. },
  21794. "brandid": {
  21795. "description": "品牌id",
  21796. "type": "integer"
  21797. },
  21798. "brandname": {
  21799. "description": "品牌名称",
  21800. "type": "string"
  21801. },
  21802. "deliverygoodsid": {
  21803. "description": "品种ID",
  21804. "type": "integer"
  21805. },
  21806. "isvalid": {
  21807. "description": "是否有效",
  21808. "type": "integer"
  21809. }
  21810. }
  21811. },
  21812. "models.Ermcp3Contract": {
  21813. "type": "object",
  21814. "properties": {
  21815. "accountid": {
  21816. "description": "期货账户id",
  21817. "type": "string"
  21818. },
  21819. "amount": {
  21820. "description": "金额 [1:一口价、3:暂定价]",
  21821. "type": "number"
  21822. },
  21823. "attachment": {
  21824. "description": "附件",
  21825. "type": "string"
  21826. },
  21827. "auditremark": {
  21828. "description": "审核意见",
  21829. "type": "string"
  21830. },
  21831. "audittime": {
  21832. "description": "审核时间",
  21833. "type": "string"
  21834. },
  21835. "biztype": {
  21836. "description": "业务类型 1-套保 2-套利",
  21837. "type": "integer"
  21838. },
  21839. "brandname": {
  21840. "description": "品牌名称",
  21841. "type": "string"
  21842. },
  21843. "buynickname": {
  21844. "description": "销售方昵称",
  21845. "type": "string"
  21846. },
  21847. "buyuserid": {
  21848. "description": "采购方ID",
  21849. "type": "integer"
  21850. },
  21851. "buyusername": {
  21852. "description": "采购方名称",
  21853. "type": "string"
  21854. },
  21855. "contracctstatus": {
  21856. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21857. "type": "integer"
  21858. },
  21859. "contractmargin": {
  21860. "description": "合同保证金",
  21861. "type": "number"
  21862. },
  21863. "contractno": {
  21864. "description": "现货合同编号",
  21865. "type": "string"
  21866. },
  21867. "contracttype": {
  21868. "description": "现货合同类型 - 1:采购 -1:销售",
  21869. "type": "integer"
  21870. },
  21871. "convertfactor": {
  21872. "description": "标仓系数(品类)",
  21873. "type": "number"
  21874. },
  21875. "createtime": {
  21876. "description": "创建时间",
  21877. "type": "string"
  21878. },
  21879. "currencyid": {
  21880. "description": "币种id",
  21881. "type": "integer"
  21882. },
  21883. "currencyname": {
  21884. "description": "币种名称",
  21885. "type": "string"
  21886. },
  21887. "deliveryenddate": {
  21888. "description": "交收期(结束)",
  21889. "type": "string"
  21890. },
  21891. "deliverygoodscode": {
  21892. "description": "现货品种代码",
  21893. "type": "string"
  21894. },
  21895. "deliverygoodsid": {
  21896. "description": "现货品种ID",
  21897. "type": "integer"
  21898. },
  21899. "deliverygoodsname": {
  21900. "description": "现货品种名称",
  21901. "type": "string"
  21902. },
  21903. "deliverystartdate": {
  21904. "description": "交收期(开始)",
  21905. "type": "string"
  21906. },
  21907. "enddate": {
  21908. "description": "点价结束日期 [2:点价 3:暂定价]",
  21909. "type": "string"
  21910. },
  21911. "enumdicname": {
  21912. "description": "单位名称",
  21913. "type": "string"
  21914. },
  21915. "goodscode": {
  21916. "description": "点价合约代码",
  21917. "type": "string"
  21918. },
  21919. "goodsid": {
  21920. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  21921. "type": "integer"
  21922. },
  21923. "goodsname": {
  21924. "description": "点价商品名称",
  21925. "type": "string"
  21926. },
  21927. "margin": {
  21928. "description": "当前保证金",
  21929. "type": "number"
  21930. },
  21931. "meruserid": {
  21932. "description": "跟单员id",
  21933. "type": "integer"
  21934. },
  21935. "meruserlogincode": {
  21936. "description": "跟单员登录代码",
  21937. "type": "string"
  21938. },
  21939. "merusername": {
  21940. "description": "跟单员名称",
  21941. "type": "string"
  21942. },
  21943. "pointdesc": {
  21944. "description": "点价备注",
  21945. "type": "string"
  21946. },
  21947. "price": {
  21948. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  21949. "type": "number"
  21950. },
  21951. "pricemove": {
  21952. "description": "升贴水 [2:点价 3:暂定价]",
  21953. "type": "number"
  21954. },
  21955. "pricetype": {
  21956. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21957. "type": "integer"
  21958. },
  21959. "producttype": {
  21960. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21961. "type": "integer"
  21962. },
  21963. "qty": {
  21964. "description": "数量",
  21965. "type": "number"
  21966. },
  21967. "remark": {
  21968. "description": "备注",
  21969. "type": "string"
  21970. },
  21971. "saleuserid": {
  21972. "description": "业务员id",
  21973. "type": "integer"
  21974. },
  21975. "saleuserlogincode": {
  21976. "description": "业务员登录代码",
  21977. "type": "string"
  21978. },
  21979. "saleusername": {
  21980. "description": "业务员名称",
  21981. "type": "string"
  21982. },
  21983. "sellnickname": {
  21984. "description": "采购方昵称",
  21985. "type": "string"
  21986. },
  21987. "selluserid": {
  21988. "description": "销售方ID",
  21989. "type": "integer"
  21990. },
  21991. "sellusername": {
  21992. "description": "销售方名称",
  21993. "type": "string"
  21994. },
  21995. "spotcontractid": {
  21996. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21997. "type": "string"
  21998. },
  21999. "spotgoodsbrandid": {
  22000. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22001. "type": "integer"
  22002. },
  22003. "spotgoodsdesc": {
  22004. "description": "商品型号",
  22005. "type": "string"
  22006. },
  22007. "startdate": {
  22008. "description": "点价开始日期 [2:点价 3:暂定价]",
  22009. "type": "string"
  22010. },
  22011. "subjectid": {
  22012. "description": "交易主体ID",
  22013. "type": "integer"
  22014. },
  22015. "subjectname": {
  22016. "description": "交易主体名称",
  22017. "type": "string"
  22018. },
  22019. "tradeuserid": {
  22020. "description": "交易员id",
  22021. "type": "integer"
  22022. },
  22023. "tradeuserlogincode": {
  22024. "description": "交易员登录代码",
  22025. "type": "string"
  22026. },
  22027. "tradeusername": {
  22028. "description": "交易员名称",
  22029. "type": "string"
  22030. },
  22031. "unitid": {
  22032. "description": "单位id(取品类上的单位id)",
  22033. "type": "integer"
  22034. },
  22035. "updatetime": {
  22036. "description": "更新时间",
  22037. "type": "string"
  22038. },
  22039. "userid": {
  22040. "description": "所属机构ID",
  22041. "type": "integer"
  22042. },
  22043. "vatrate": {
  22044. "description": "增值税率",
  22045. "type": "number"
  22046. },
  22047. "wrstandardcode": {
  22048. "description": "品类代码",
  22049. "type": "string"
  22050. },
  22051. "wrstandardid": {
  22052. "description": "品类ID",
  22053. "type": "integer"
  22054. },
  22055. "wrstandardname": {
  22056. "description": "品类名称",
  22057. "type": "string"
  22058. }
  22059. }
  22060. },
  22061. "models.Ermcp3ContractMiddleGoodsCfg": {
  22062. "type": "object",
  22063. "properties": {
  22064. "agreeunit": {
  22065. "description": "合约乘数",
  22066. "type": "number"
  22067. },
  22068. "convertratio": {
  22069. "description": "期货品种系数",
  22070. "type": "number"
  22071. },
  22072. "covertqty": {
  22073. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  22074. "type": "integer"
  22075. },
  22076. "middlegoodsid": {
  22077. "description": "套保品种ID",
  22078. "type": "integer"
  22079. },
  22080. "middlegoodspricedqty3": {
  22081. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22082. "type": "string",
  22083. "example": "0"
  22084. },
  22085. "pendingpricedqty": {
  22086. "description": "待点价量",
  22087. "type": "string",
  22088. "example": "0"
  22089. },
  22090. "relatedmiddlegoodsqty": {
  22091. "description": "已关联量(套保品种-期货)",
  22092. "type": "string",
  22093. "example": "0"
  22094. },
  22095. "spotcontractid": {
  22096. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22097. "type": "string"
  22098. }
  22099. }
  22100. },
  22101. "models.Ermcp3ExposureContractDetail": {
  22102. "type": "object",
  22103. "properties": {
  22104. "biztype": {
  22105. "description": "业务类型 1-套保 2-套利",
  22106. "type": "integer"
  22107. },
  22108. "brandname": {
  22109. "description": "品牌名称",
  22110. "type": "string"
  22111. },
  22112. "buyuserid": {
  22113. "description": "采购方id",
  22114. "type": "integer"
  22115. },
  22116. "buyusername": {
  22117. "description": "采购方名称",
  22118. "type": "string"
  22119. },
  22120. "contractno": {
  22121. "description": "合同编号",
  22122. "type": "string"
  22123. },
  22124. "contracttype": {
  22125. "description": "现货合同类型 - 1:采购 -1:销售",
  22126. "type": "integer"
  22127. },
  22128. "convertfactor": {
  22129. "description": "标仓系数",
  22130. "type": "number"
  22131. },
  22132. "convertratio": {
  22133. "description": "折算系数(套保品种)",
  22134. "type": "number"
  22135. },
  22136. "curqty": {
  22137. "description": "今定价量",
  22138. "type": "number"
  22139. },
  22140. "deliverygoodscode": {
  22141. "description": "现货品种代码",
  22142. "type": "string"
  22143. },
  22144. "deliverygoodsid": {
  22145. "description": "现货品种id",
  22146. "type": "integer"
  22147. },
  22148. "deliverygoodsname": {
  22149. "description": "现货品种名称",
  22150. "type": "string"
  22151. },
  22152. "diffhedgeqty": {
  22153. "description": "套保变动量",
  22154. "type": "number"
  22155. },
  22156. "diffneedhedgeqty": {
  22157. "description": "应套保变动量",
  22158. "type": "number"
  22159. },
  22160. "diffqty": {
  22161. "description": "套保品种今变动量",
  22162. "type": "number"
  22163. },
  22164. "enumdicname": {
  22165. "description": "单位名称",
  22166. "type": "string"
  22167. },
  22168. "mgunitname": {
  22169. "description": "套保品种单位名称",
  22170. "type": "string"
  22171. },
  22172. "middlegoodscode": {
  22173. "description": "套保品种代码",
  22174. "type": "string"
  22175. },
  22176. "middlegoodsid": {
  22177. "description": "套保品种id",
  22178. "type": "integer"
  22179. },
  22180. "middlegoodsname": {
  22181. "description": "套保品种名称",
  22182. "type": "string"
  22183. },
  22184. "needarbitrageratio": {
  22185. "description": "应套利比例",
  22186. "type": "number"
  22187. },
  22188. "needhedgeratio": {
  22189. "description": "应套保比例",
  22190. "type": "number"
  22191. },
  22192. "pricedqty": {
  22193. "description": "已定价量",
  22194. "type": "number"
  22195. },
  22196. "qty": {
  22197. "description": "合同量",
  22198. "type": "number"
  22199. },
  22200. "reckondate": {
  22201. "description": "交易日(reckondate)",
  22202. "type": "string"
  22203. },
  22204. "selluserid": {
  22205. "description": "销售方id",
  22206. "type": "integer"
  22207. },
  22208. "sellusername": {
  22209. "description": "销售方名称",
  22210. "type": "string"
  22211. },
  22212. "spotcontractid": {
  22213. "description": "合同id",
  22214. "type": "string"
  22215. },
  22216. "todaypricedqty": {
  22217. "description": "今定价量",
  22218. "type": "number"
  22219. },
  22220. "tradedate": {
  22221. "description": "交易日",
  22222. "type": "string"
  22223. },
  22224. "unitid": {
  22225. "description": "品类单位id",
  22226. "type": "integer"
  22227. },
  22228. "userid": {
  22229. "description": "机构id",
  22230. "type": "integer"
  22231. },
  22232. "username": {
  22233. "description": "交易用户",
  22234. "type": "string"
  22235. },
  22236. "wrstandardcode": {
  22237. "description": "现货商品代码",
  22238. "type": "string"
  22239. },
  22240. "wrstandardid": {
  22241. "description": "现货商品id",
  22242. "type": "integer"
  22243. },
  22244. "wrstandardname": {
  22245. "description": "现货商品名称",
  22246. "type": "string"
  22247. }
  22248. }
  22249. },
  22250. "models.Ermcp3ExposureDetail": {
  22251. "type": "object",
  22252. "properties": {
  22253. "areauserid": {
  22254. "description": "机构ID",
  22255. "type": "integer"
  22256. },
  22257. "changeQty": {
  22258. "description": "套保变动量",
  22259. "type": "number"
  22260. },
  22261. "contracttype": {
  22262. "description": "现货合同类型 - 1:采购 -1:销售",
  22263. "type": "integer"
  22264. },
  22265. "convertfactor": {
  22266. "description": "标仓系数",
  22267. "type": "number"
  22268. },
  22269. "convertratio": {
  22270. "description": "折算系数",
  22271. "type": "number"
  22272. },
  22273. "createtime": {
  22274. "description": "时间",
  22275. "type": "string"
  22276. },
  22277. "enumdicname": {
  22278. "description": "现货商品单位名称",
  22279. "type": "string"
  22280. },
  22281. "logtype": {
  22282. "description": "类型 - 1:套保计划 2:现货合同",
  22283. "type": "integer"
  22284. },
  22285. "mgunitid": {
  22286. "description": "套保品种单位id",
  22287. "type": "integer"
  22288. },
  22289. "mgunitidname": {
  22290. "description": "套保品种单位名称",
  22291. "type": "string"
  22292. },
  22293. "middlegoodsId": {
  22294. "description": "套保商品id",
  22295. "type": "integer"
  22296. },
  22297. "middlegoodscode": {
  22298. "description": "套保商品代码",
  22299. "type": "string"
  22300. },
  22301. "middlegoodsname": {
  22302. "description": "套保商品名称",
  22303. "type": "string"
  22304. },
  22305. "qty": {
  22306. "description": "数量",
  22307. "type": "number"
  22308. },
  22309. "relateNo": {
  22310. "description": "现货合同/套保计划编号",
  22311. "type": "string"
  22312. },
  22313. "unitid": {
  22314. "description": "现货商品单位id",
  22315. "type": "integer"
  22316. },
  22317. "wrstandardcode": {
  22318. "description": "现货商品代码",
  22319. "type": "string"
  22320. },
  22321. "wrstandardid": {
  22322. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22323. "type": "integer"
  22324. },
  22325. "wrstandardname": {
  22326. "description": "现货商品名称",
  22327. "type": "string"
  22328. }
  22329. }
  22330. },
  22331. "models.Ermcp3ExposureFutuDetail": {
  22332. "type": "object",
  22333. "properties": {
  22334. "accountid": {
  22335. "description": "交易账户id",
  22336. "type": "integer"
  22337. },
  22338. "accountname": {
  22339. "description": "交易账户",
  22340. "type": "string"
  22341. },
  22342. "begindate": {
  22343. "description": "开始交易日",
  22344. "type": "string"
  22345. },
  22346. "buyorsell": {
  22347. "description": "方向 0-买 1-卖",
  22348. "type": "integer"
  22349. },
  22350. "diffmgqty": {
  22351. "description": "套保品种今变化量",
  22352. "type": "number"
  22353. },
  22354. "diffneedqty": {
  22355. "description": "应套保总量变化量",
  22356. "type": "number"
  22357. },
  22358. "difftradeqty": {
  22359. "description": "交易品种今变化量",
  22360. "type": "number"
  22361. },
  22362. "enddate": {
  22363. "description": "结束交易日",
  22364. "type": "string"
  22365. },
  22366. "enumdicname": {
  22367. "description": "单位名称",
  22368. "type": "string"
  22369. },
  22370. "goodscode": {
  22371. "description": "商品代码",
  22372. "type": "string"
  22373. },
  22374. "goodsid": {
  22375. "description": "商品id",
  22376. "type": "integer"
  22377. },
  22378. "goodsname": {
  22379. "description": "商品名称",
  22380. "type": "string"
  22381. },
  22382. "holdqty": {
  22383. "description": "期末持仓量",
  22384. "type": "number"
  22385. },
  22386. "middlegoodscode": {
  22387. "description": "套保商品代码",
  22388. "type": "string"
  22389. },
  22390. "middlegoodsid": {
  22391. "description": "套保商品id",
  22392. "type": "integer"
  22393. },
  22394. "middlegoodsname": {
  22395. "description": "套保商品名称",
  22396. "type": "string"
  22397. },
  22398. "oriholdqty": {
  22399. "description": "期初持仓量",
  22400. "type": "number"
  22401. },
  22402. "reckondate": {
  22403. "description": "交易日(RECKONDATE)",
  22404. "type": "string"
  22405. },
  22406. "todaycloseqty": {
  22407. "description": "今平仓量",
  22408. "type": "number"
  22409. },
  22410. "todayopenqty": {
  22411. "description": "今开仓量",
  22412. "type": "number"
  22413. },
  22414. "tradedate": {
  22415. "description": "交易日(RECKONDATE)",
  22416. "type": "string"
  22417. },
  22418. "username": {
  22419. "description": "用户名称(交易用户)",
  22420. "type": "string"
  22421. }
  22422. }
  22423. },
  22424. "models.Ermcp3ExposureHedgeplanDetail": {
  22425. "type": "object",
  22426. "properties": {
  22427. "biztype": {
  22428. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  22429. "type": "integer"
  22430. },
  22431. "changqty": {
  22432. "description": "应套保总量变化量",
  22433. "type": "number"
  22434. },
  22435. "contracttype": {
  22436. "description": "计划类型 - 1:采购 -1:销售",
  22437. "type": "integer"
  22438. },
  22439. "convertratio": {
  22440. "description": "折算系数(套保品种)",
  22441. "type": "number"
  22442. },
  22443. "deliverygoodscode": {
  22444. "description": "现货商品代码",
  22445. "type": "string"
  22446. },
  22447. "deliverygoodsid": {
  22448. "description": "现货商品id",
  22449. "type": "integer"
  22450. },
  22451. "deliverygoodsname": {
  22452. "description": "现货商吕名称",
  22453. "type": "string"
  22454. },
  22455. "dgunitid": {
  22456. "description": "现货商品单位id",
  22457. "type": "integer"
  22458. },
  22459. "dgunitidname": {
  22460. "description": "单位名称(现货商品)",
  22461. "type": "string"
  22462. },
  22463. "diffqty": {
  22464. "description": "套保品种今变动量",
  22465. "type": "number"
  22466. },
  22467. "enumdicname": {
  22468. "description": "单位名称(品类)",
  22469. "type": "string"
  22470. },
  22471. "hedgeplanid": {
  22472. "description": "套保计划id",
  22473. "type": "string"
  22474. },
  22475. "hedgeplanno": {
  22476. "description": "套保计划名称",
  22477. "type": "string"
  22478. },
  22479. "hedgeplanstatus": {
  22480. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22481. "type": "integer"
  22482. },
  22483. "mgunitidname": {
  22484. "description": "单位名称(套保商品)",
  22485. "type": "string"
  22486. },
  22487. "middlegoodscode": {
  22488. "description": "套保品种代码",
  22489. "type": "string"
  22490. },
  22491. "middlegoodsid": {
  22492. "description": "套保品种id",
  22493. "type": "integer"
  22494. },
  22495. "middlegoodsname": {
  22496. "description": "套保品种名称",
  22497. "type": "string"
  22498. },
  22499. "needarbitrageratio": {
  22500. "description": "应套利比例",
  22501. "type": "number"
  22502. },
  22503. "needhedgeratio": {
  22504. "description": "应套保比例",
  22505. "type": "number"
  22506. },
  22507. "pricedqty": {
  22508. "description": "已定价量",
  22509. "type": "number"
  22510. },
  22511. "qty": {
  22512. "description": "合同量",
  22513. "type": "number"
  22514. },
  22515. "reckondate": {
  22516. "description": "交易日(reckondate)",
  22517. "type": "string"
  22518. },
  22519. "tradedate": {
  22520. "description": "交易日(登记日)",
  22521. "type": "string"
  22522. },
  22523. "unitid": {
  22524. "description": "品类单位id",
  22525. "type": "integer"
  22526. },
  22527. "userid": {
  22528. "description": "机构id",
  22529. "type": "integer"
  22530. },
  22531. "wrstandardcode": {
  22532. "description": "品类代码",
  22533. "type": "string"
  22534. },
  22535. "wrstandardid": {
  22536. "description": "品类id",
  22537. "type": "integer"
  22538. },
  22539. "wrstandardname": {
  22540. "description": "品类名称",
  22541. "type": "string"
  22542. }
  22543. }
  22544. },
  22545. "models.Ermcp3ExposureParamChLog": {
  22546. "type": "object",
  22547. "properties": {
  22548. "accountid": {
  22549. "description": "期货账户ID (作废, 默认为0)",
  22550. "type": "integer"
  22551. },
  22552. "aftervalue": {
  22553. "description": "应套保\\套利量变更后(调整后应套保总量)",
  22554. "type": "number"
  22555. },
  22556. "areauserid": {
  22557. "description": "所属机构\\交易用户ID",
  22558. "type": "integer"
  22559. },
  22560. "beforevalue": {
  22561. "description": "应套保\\套利量变更前(调整前应套保总量)",
  22562. "type": "number"
  22563. },
  22564. "begindate": {
  22565. "description": "开始交易日",
  22566. "type": "string"
  22567. },
  22568. "changelogtype": {
  22569. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  22570. "type": "integer"
  22571. },
  22572. "curvalue": {
  22573. "description": "当前套保\\套利量(套保总量|套利总量)",
  22574. "type": "number"
  22575. },
  22576. "diffvalue": {
  22577. "description": "应套保总量变化量",
  22578. "type": "number"
  22579. },
  22580. "enddate": {
  22581. "description": "结束交易日",
  22582. "type": "string"
  22583. },
  22584. "logdatetime": {
  22585. "description": "流水日期",
  22586. "type": "string"
  22587. },
  22588. "logid": {
  22589. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  22590. "type": "string"
  22591. },
  22592. "middlegoodscode": {
  22593. "description": "套保品种代码",
  22594. "type": "string"
  22595. },
  22596. "middlegoodsid": {
  22597. "description": "套保品种",
  22598. "type": "integer"
  22599. },
  22600. "middlegoodsname": {
  22601. "description": "套保品种名称",
  22602. "type": "string"
  22603. },
  22604. "paramaftervalue": {
  22605. "description": "参数变更后(调整后参数值)",
  22606. "type": "number"
  22607. },
  22608. "parambeforevalue": {
  22609. "description": "参数变更前(调整前参数值)",
  22610. "type": "number"
  22611. },
  22612. "reckondate": {
  22613. "description": "交易日(reckondate)",
  22614. "type": "string"
  22615. },
  22616. "tradedate": {
  22617. "description": "交易日(yyyyMMdd)",
  22618. "type": "string"
  22619. }
  22620. }
  22621. },
  22622. "models.Ermcp3ExpourseReport": {
  22623. "type": "object",
  22624. "properties": {
  22625. "accountid": {
  22626. "description": "期货账户ID (作废, 默认为0)",
  22627. "type": "integer"
  22628. },
  22629. "accountname": {
  22630. "description": "机构名称",
  22631. "type": "string"
  22632. },
  22633. "arbitrageqty": {
  22634. "description": "套利量",
  22635. "type": "number"
  22636. },
  22637. "areauserid": {
  22638. "description": "所属机构\\交易用户ID",
  22639. "type": "integer"
  22640. },
  22641. "begindate": {
  22642. "description": "开始交易日",
  22643. "type": "string"
  22644. },
  22645. "buyfutureqty": {
  22646. "description": "买入期货数量",
  22647. "type": "number"
  22648. },
  22649. "buyplanqty": {
  22650. "description": "采购计划数量",
  22651. "type": "number"
  22652. },
  22653. "buypricedqty": {
  22654. "description": "采购合同已定价数量",
  22655. "type": "number"
  22656. },
  22657. "cycletime": {
  22658. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22659. "type": "string"
  22660. },
  22661. "cycletype": {
  22662. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22663. "type": "integer"
  22664. },
  22665. "diffexposure": {
  22666. "description": "变动量(套保敞口)",
  22667. "type": "number"
  22668. },
  22669. "difffutuqty": {
  22670. "description": "变动量(期货)",
  22671. "type": "number"
  22672. },
  22673. "diffhedgeqty": {
  22674. "description": "变动量(现货应套保总量)",
  22675. "type": "number"
  22676. },
  22677. "diffmgqtya": {
  22678. "description": "套保变动量",
  22679. "type": "number"
  22680. },
  22681. "diffmgqtyb": {
  22682. "description": "套利变动量",
  22683. "type": "number"
  22684. },
  22685. "diffneedqty": {
  22686. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  22687. "type": "number"
  22688. },
  22689. "diffqty": {
  22690. "description": "变动量(总敞口)",
  22691. "type": "number"
  22692. },
  22693. "diffspotqty": {
  22694. "description": "变动量(现货) | 除税变动量",
  22695. "type": "number"
  22696. },
  22697. "enddate": {
  22698. "description": "结束交易日",
  22699. "type": "string"
  22700. },
  22701. "enumdicname": {
  22702. "description": "单位名称",
  22703. "type": "string"
  22704. },
  22705. "hedgeqty": {
  22706. "description": "套保量",
  22707. "type": "number"
  22708. },
  22709. "mgneedhedgeratio": {
  22710. "description": "套保比例(套保品的)",
  22711. "type": "number"
  22712. },
  22713. "middlegoodsid": {
  22714. "description": "套保品种ID",
  22715. "type": "integer"
  22716. },
  22717. "middlegoodsname": {
  22718. "description": "套保商品名称",
  22719. "type": "string"
  22720. },
  22721. "middlgoodscode": {
  22722. "description": "套保商品代码",
  22723. "type": "string"
  22724. },
  22725. "needarbitrageqty": {
  22726. "description": "应套利量",
  22727. "type": "number"
  22728. },
  22729. "needarbitrageratio": {
  22730. "description": "套利比例(套保品的)",
  22731. "type": "number"
  22732. },
  22733. "needhedgeexposoure": {
  22734. "description": "应套保敞口(套保敞口)",
  22735. "type": "number"
  22736. },
  22737. "needhedgeqty": {
  22738. "description": "应套保量",
  22739. "type": "number"
  22740. },
  22741. "needhedgeratio": {
  22742. "description": "应套保敞口比例",
  22743. "type": "number"
  22744. },
  22745. "needqty": {
  22746. "description": "应套总量 = 应套保量 + 应套利量",
  22747. "type": "number"
  22748. },
  22749. "oriarbitrageqty": {
  22750. "description": "期初套利量",
  22751. "type": "number"
  22752. },
  22753. "oribuyfutureqty": {
  22754. "description": "期初买入期货数量",
  22755. "type": "number"
  22756. },
  22757. "oribuyplanqty": {
  22758. "description": "期初采购计划数量",
  22759. "type": "number"
  22760. },
  22761. "oribuypricedqty": {
  22762. "description": "期初采购合同已定价数量",
  22763. "type": "number"
  22764. },
  22765. "orihedgeqty": {
  22766. "description": "期初套保量",
  22767. "type": "number"
  22768. },
  22769. "orineedarbitrageqty": {
  22770. "description": "期初应套利量",
  22771. "type": "number"
  22772. },
  22773. "orineedhedgeexposoure": {
  22774. "description": "期初应套保敞口",
  22775. "type": "number"
  22776. },
  22777. "orineedhedgeqty": {
  22778. "description": "期初应套保量",
  22779. "type": "number"
  22780. },
  22781. "orisellfutureqty": {
  22782. "description": "期初卖出期货数量",
  22783. "type": "number"
  22784. },
  22785. "orisellplanqty": {
  22786. "description": "期初销售计划数量",
  22787. "type": "number"
  22788. },
  22789. "orisellpricedqty": {
  22790. "description": "期初销售合同已定价数量",
  22791. "type": "number"
  22792. },
  22793. "oritotalexposure": {
  22794. "description": "期初实时总敞口",
  22795. "type": "number"
  22796. },
  22797. "oritotalfutureqty": {
  22798. "description": "期初期货头寸总量",
  22799. "type": "number"
  22800. },
  22801. "oritotalneedhedgeqty": {
  22802. "description": "期初应套保总量",
  22803. "type": "number"
  22804. },
  22805. "oritotalspotqty": {
  22806. "description": "期初现货头寸总量",
  22807. "type": "number"
  22808. },
  22809. "reckondate": {
  22810. "description": "日照时期(yyyyMMdd)",
  22811. "type": "string"
  22812. },
  22813. "sellfutureqty": {
  22814. "description": "卖出期货数量",
  22815. "type": "number"
  22816. },
  22817. "sellplanqty": {
  22818. "description": "销售计划数量",
  22819. "type": "number"
  22820. },
  22821. "sellpricedqty": {
  22822. "description": "销售合同已定价数量",
  22823. "type": "number"
  22824. },
  22825. "totalexposure": {
  22826. "description": "实时总敞口(总敞口)",
  22827. "type": "number"
  22828. },
  22829. "totalfutureqty": {
  22830. "description": "期货头寸总量(期货总量)",
  22831. "type": "number"
  22832. },
  22833. "totalhedgeratio": {
  22834. "description": "敞口比例",
  22835. "type": "number"
  22836. },
  22837. "totalneedhedgeqty": {
  22838. "description": "应套保总量(现货应套保总量)",
  22839. "type": "number"
  22840. },
  22841. "totalspotqty": {
  22842. "description": "现货头寸总量 | 除税总量",
  22843. "type": "number"
  22844. },
  22845. "unitid": {
  22846. "description": "单位id",
  22847. "type": "integer"
  22848. },
  22849. "updatetime": {
  22850. "description": "更新时间",
  22851. "type": "string"
  22852. }
  22853. }
  22854. },
  22855. "models.Ermcp3FinanceReport": {
  22856. "type": "object",
  22857. "properties": {
  22858. "accountname": {
  22859. "description": "机构名称",
  22860. "type": "string"
  22861. },
  22862. "areauserid": {
  22863. "description": "所属机构\\交易用户ID",
  22864. "type": "integer"
  22865. },
  22866. "begindate": {
  22867. "description": "开始交易日",
  22868. "type": "string"
  22869. },
  22870. "biztype": {
  22871. "description": "业务类型 - 1:套保 2:套利",
  22872. "type": "integer"
  22873. },
  22874. "brandname": {
  22875. "description": "品牌名称",
  22876. "type": "string"
  22877. },
  22878. "buypreinvoicedamount": {
  22879. "description": "采购预收票额(预收票额)",
  22880. "type": "number"
  22881. },
  22882. "buyprepaidamount": {
  22883. "description": "采购预付款额(预付货款额)",
  22884. "type": "number"
  22885. },
  22886. "buytodayinvoiceamount": {
  22887. "description": "采购今收票额(今收票额)",
  22888. "type": "number"
  22889. },
  22890. "buytodayrefundamount": {
  22891. "description": "采购今收退款额(今收退款额)",
  22892. "type": "number"
  22893. },
  22894. "buytodaysettleamount": {
  22895. "description": "采购今付款额(今付货款额)",
  22896. "type": "number"
  22897. },
  22898. "buyuninvoicedamount": {
  22899. "description": "采购应收票额(应收票额)",
  22900. "type": "number"
  22901. },
  22902. "buyunpaidamount": {
  22903. "description": "采购应付款额(应付货款额)",
  22904. "type": "number"
  22905. },
  22906. "currencyid": {
  22907. "description": "结算币种ID",
  22908. "type": "integer"
  22909. },
  22910. "currencyname": {
  22911. "description": "币种名称",
  22912. "type": "string"
  22913. },
  22914. "cycletime": {
  22915. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22916. "type": "string"
  22917. },
  22918. "cycletype": {
  22919. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22920. "type": "integer"
  22921. },
  22922. "deliverygoodscode": {
  22923. "description": "现货品种代码",
  22924. "type": "string"
  22925. },
  22926. "deliverygoodsid": {
  22927. "description": "现货品种ID",
  22928. "type": "integer"
  22929. },
  22930. "deliverygoodsname": {
  22931. "description": "现货品种名称",
  22932. "type": "string"
  22933. },
  22934. "enddate": {
  22935. "description": "结束交易日",
  22936. "type": "string"
  22937. },
  22938. "reckondate": {
  22939. "description": "日照时期(yyyyMMdd)",
  22940. "type": "string"
  22941. },
  22942. "sellpreinvoicedamount": {
  22943. "description": "销售预开票额(预开票额)",
  22944. "type": "number"
  22945. },
  22946. "sellprepaidamount": {
  22947. "description": "销售预收款额(预收货款额)",
  22948. "type": "number"
  22949. },
  22950. "selltodayinvoiceamount": {
  22951. "description": "销售今开票额(今开票额)",
  22952. "type": "number"
  22953. },
  22954. "selltodayrefundamount": {
  22955. "description": "销售今付退款额(今付退款额)",
  22956. "type": "number"
  22957. },
  22958. "selltodaysettleamount": {
  22959. "description": "销售今收款额(今收货款额)",
  22960. "type": "number"
  22961. },
  22962. "selluninvoicedamount": {
  22963. "description": "销售应开票额(应开票额)",
  22964. "type": "number"
  22965. },
  22966. "sellunpaidamount": {
  22967. "description": "销售应收款额(应收货款额)",
  22968. "type": "number"
  22969. },
  22970. "spotgoodsbrandid": {
  22971. "description": "现货品牌ID",
  22972. "type": "integer"
  22973. },
  22974. "todaypaysum": {
  22975. "description": "今付款合计",
  22976. "type": "number"
  22977. },
  22978. "todayreceivesum": {
  22979. "description": "今收款合计",
  22980. "type": "number"
  22981. },
  22982. "updatetime": {
  22983. "description": "更新时间",
  22984. "type": "string"
  22985. },
  22986. "wrfactortypeid": {
  22987. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22988. "type": "integer"
  22989. },
  22990. "wrstandardcode": {
  22991. "description": "品类代码",
  22992. "type": "string"
  22993. },
  22994. "wrstandardid": {
  22995. "description": "现货商品ID",
  22996. "type": "integer"
  22997. },
  22998. "wrstandardname": {
  22999. "description": "品类名称",
  23000. "type": "string"
  23001. }
  23002. }
  23003. },
  23004. "models.Ermcp3GoodsGroup": {
  23005. "type": "object",
  23006. "required": [
  23007. "areauserid"
  23008. ],
  23009. "properties": {
  23010. "agreeunit": {
  23011. "description": "合约单位",
  23012. "type": "number"
  23013. },
  23014. "areauserid": {
  23015. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  23016. "type": "integer"
  23017. },
  23018. "canshort": {
  23019. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23020. "type": "integer"
  23021. },
  23022. "closepricemode": {
  23023. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23024. "type": "integer"
  23025. },
  23026. "createtime": {
  23027. "description": "创建时间",
  23028. "type": "string"
  23029. },
  23030. "creatorid": {
  23031. "description": "创建人",
  23032. "type": "integer"
  23033. },
  23034. "currencyid": {
  23035. "description": "报价货币ID",
  23036. "type": "integer"
  23037. },
  23038. "decimalplace": {
  23039. "description": "报价小数位",
  23040. "type": "integer"
  23041. },
  23042. "enumdicname": {
  23043. "description": "单位名称",
  23044. "type": "string"
  23045. },
  23046. "exchangefullname": {
  23047. "description": "交易所全称",
  23048. "type": "string"
  23049. },
  23050. "excludecfg": {
  23051. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  23052. "type": "integer"
  23053. },
  23054. "exexchangecode": {
  23055. "description": "交易所代码",
  23056. "type": "string"
  23057. },
  23058. "exexchangeid": {
  23059. "description": "外部交易所ID[通道交易]",
  23060. "type": "integer"
  23061. },
  23062. "exexchangename": {
  23063. "description": "交易所名称",
  23064. "type": "string"
  23065. },
  23066. "goodsgroupid": {
  23067. "description": "商品组ID(自增ID)",
  23068. "type": "integer"
  23069. },
  23070. "goodsgroupname": {
  23071. "description": "商品组名称",
  23072. "type": "string"
  23073. },
  23074. "goodsgroupstatus": {
  23075. "description": "商品组状态 - 1:正常 2:注销",
  23076. "type": "integer"
  23077. },
  23078. "goodunitid": {
  23079. "description": "报价单位ID",
  23080. "type": "integer"
  23081. },
  23082. "groupcategroyid": {
  23083. "description": "品种分类ID",
  23084. "type": "integer"
  23085. },
  23086. "innerdealmode": {
  23087. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23088. "type": "integer"
  23089. },
  23090. "marketid": {
  23091. "description": "所属市场ID",
  23092. "type": "integer"
  23093. },
  23094. "modifierid": {
  23095. "description": "修改人",
  23096. "type": "integer"
  23097. },
  23098. "modifytime": {
  23099. "description": "修改时间",
  23100. "type": "string"
  23101. },
  23102. "outerdealmode": {
  23103. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23104. "type": "integer"
  23105. },
  23106. "outergroupcode": {
  23107. "description": "外部商品组代码[通道交易]",
  23108. "type": "string"
  23109. },
  23110. "quoteminunit": {
  23111. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23112. "type": "integer"
  23113. },
  23114. "quotesourcegroupid": {
  23115. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23116. "type": "integer"
  23117. },
  23118. "syncgoodsqty": {
  23119. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23120. "type": "integer"
  23121. }
  23122. }
  23123. },
  23124. "models.Ermcp3HPMiddleGoods": {
  23125. "type": "object",
  23126. "properties": {
  23127. "biztype": {
  23128. "description": "业务类型 1:套保 2:套利",
  23129. "type": "integer"
  23130. },
  23131. "contracttype": {
  23132. "description": "合同类型 1:采购 -1:销售",
  23133. "type": "integer"
  23134. },
  23135. "convertratio": {
  23136. "description": "折算系数",
  23137. "type": "number"
  23138. },
  23139. "customername": {
  23140. "description": "对手手名称",
  23141. "type": "string"
  23142. },
  23143. "customeruserid": {
  23144. "description": "对手id",
  23145. "type": "integer"
  23146. },
  23147. "enumdicname": {
  23148. "description": "现货单位名称",
  23149. "type": "string"
  23150. },
  23151. "hedgeplanid": {
  23152. "description": "计划id",
  23153. "type": "string"
  23154. },
  23155. "hedgeplanno": {
  23156. "description": "计划编号",
  23157. "type": "string"
  23158. },
  23159. "middlegoodsid": {
  23160. "description": "套保品种ID",
  23161. "type": "integer"
  23162. },
  23163. "middlegoodsplanqty3": {
  23164. "description": "应套保计划量",
  23165. "type": "number"
  23166. },
  23167. "needhedgeratio": {
  23168. "description": "套保比例",
  23169. "type": "number"
  23170. },
  23171. "pricedqty": {
  23172. "description": "已定价量",
  23173. "type": "number"
  23174. },
  23175. "relatedmiddlegoodsqty": {
  23176. "description": "已关联量(套保品种)(期货)",
  23177. "type": "number"
  23178. },
  23179. "unitid": {
  23180. "description": "现货单位id",
  23181. "type": "integer"
  23182. },
  23183. "userid": {
  23184. "description": "用户id",
  23185. "type": "integer"
  23186. },
  23187. "vatrate": {
  23188. "description": "增值税率",
  23189. "type": "number"
  23190. },
  23191. "wrstandardcode": {
  23192. "description": "现货商品代码",
  23193. "type": "string"
  23194. },
  23195. "wrstandardid": {
  23196. "description": "现货商品id",
  23197. "type": "integer"
  23198. },
  23199. "wrstandardname": {
  23200. "description": "现货商品名称",
  23201. "type": "string"
  23202. }
  23203. }
  23204. },
  23205. "models.Ermcp3HedgePlan": {
  23206. "type": "object",
  23207. "properties": {
  23208. "accountid": {
  23209. "description": "资金账号",
  23210. "type": "integer"
  23211. },
  23212. "areauserid": {
  23213. "description": "用户ID",
  23214. "type": "integer"
  23215. },
  23216. "auditid": {
  23217. "description": "审核id",
  23218. "type": "integer"
  23219. },
  23220. "auditname": {
  23221. "description": "审核人名称",
  23222. "type": "string"
  23223. },
  23224. "auditremark": {
  23225. "description": "审核备注",
  23226. "type": "string"
  23227. },
  23228. "auditsrc": {
  23229. "description": "审核来源 1-管理端 2-终端",
  23230. "type": "integer"
  23231. },
  23232. "audittime": {
  23233. "description": "审核时间",
  23234. "type": "string"
  23235. },
  23236. "contracttype": {
  23237. "description": "计划类型 - 1:采购 -1:销售",
  23238. "type": "integer"
  23239. },
  23240. "convertfactor": {
  23241. "description": "标仓系数",
  23242. "type": "number"
  23243. },
  23244. "createtime": {
  23245. "description": "创建时间",
  23246. "type": "string"
  23247. },
  23248. "currencyid": {
  23249. "description": "币种id",
  23250. "type": "integer"
  23251. },
  23252. "currencyname": {
  23253. "description": "币种名称",
  23254. "type": "string"
  23255. },
  23256. "deliverygoodscode": {
  23257. "description": "现货品种代码",
  23258. "type": "string"
  23259. },
  23260. "deliverygoodsid": {
  23261. "description": "现货品种ID",
  23262. "type": "integer"
  23263. },
  23264. "deliverygoodsname": {
  23265. "description": "现货品种名称",
  23266. "type": "string"
  23267. },
  23268. "enumdicname": {
  23269. "description": "单位名称(现货商品)",
  23270. "type": "string"
  23271. },
  23272. "hedgeplanid": {
  23273. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  23274. "type": "string"
  23275. },
  23276. "hedgeplanno": {
  23277. "description": "套保计划编号(名称)",
  23278. "type": "string"
  23279. },
  23280. "hedgeplanstatus": {
  23281. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23282. "type": "integer"
  23283. },
  23284. "planqty": {
  23285. "description": "计划数量",
  23286. "type": "number"
  23287. },
  23288. "plantime": {
  23289. "description": "计划时间",
  23290. "type": "string"
  23291. },
  23292. "producttype": {
  23293. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23294. "type": "integer"
  23295. },
  23296. "remark": {
  23297. "description": "备注",
  23298. "type": "string"
  23299. },
  23300. "spotgoodsdesc": {
  23301. "description": "商品型号",
  23302. "type": "string"
  23303. },
  23304. "taaccountname": {
  23305. "description": "资金账号名称",
  23306. "type": "string"
  23307. },
  23308. "tradeuserid": {
  23309. "description": "交易用户id",
  23310. "type": "integer"
  23311. },
  23312. "tradeusername": {
  23313. "description": "交易用户名称",
  23314. "type": "string"
  23315. },
  23316. "unitid": {
  23317. "description": "单位id(现货商品)",
  23318. "type": "integer"
  23319. },
  23320. "updatetime": {
  23321. "description": "更新时间",
  23322. "type": "string"
  23323. },
  23324. "vatrate": {
  23325. "description": "增值税率",
  23326. "type": "number"
  23327. },
  23328. "wrstandardcode": {
  23329. "description": "品类代码",
  23330. "type": "string"
  23331. },
  23332. "wrstandardid": {
  23333. "description": "品类id",
  23334. "type": "integer"
  23335. },
  23336. "wrstandardname": {
  23337. "description": "品类名称",
  23338. "type": "string"
  23339. },
  23340. "wrunitid": {
  23341. "description": "品类单位id",
  23342. "type": "integer"
  23343. },
  23344. "wrunitidame": {
  23345. "description": "品类单位名称",
  23346. "type": "string"
  23347. }
  23348. }
  23349. },
  23350. "models.Ermcp3InnerTradeLink": {
  23351. "type": "object",
  23352. "properties": {
  23353. "accountid": {
  23354. "description": "期货账号代码 | 资金账号ID",
  23355. "type": "integer"
  23356. },
  23357. "buyorsell": {
  23358. "description": "方向 - 0:买 1:卖",
  23359. "type": "integer"
  23360. },
  23361. "channelbuildtype": {
  23362. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23363. "type": "integer"
  23364. },
  23365. "currencyid": {
  23366. "description": "币种id",
  23367. "type": "integer"
  23368. },
  23369. "currencyname": {
  23370. "description": "结算币种 名称",
  23371. "type": "string"
  23372. },
  23373. "goodscode": {
  23374. "description": "商品代码",
  23375. "type": "string"
  23376. },
  23377. "goodsid": {
  23378. "description": "商品ID",
  23379. "type": "integer"
  23380. },
  23381. "goodsname": {
  23382. "description": "商品名称",
  23383. "type": "string"
  23384. },
  23385. "outtradeid": {
  23386. "description": "外部成交单号",
  23387. "type": "string"
  23388. },
  23389. "taname": {
  23390. "description": "期货账户名称",
  23391. "type": "string"
  23392. },
  23393. "tradeid": {
  23394. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23395. "type": "string"
  23396. },
  23397. "tradeprice": {
  23398. "description": "成交价格",
  23399. "type": "number"
  23400. },
  23401. "tradeqty": {
  23402. "description": "期货成交数量",
  23403. "type": "integer"
  23404. },
  23405. "tradetime": {
  23406. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  23407. "type": "string"
  23408. },
  23409. "username": {
  23410. "description": "用户名称",
  23411. "type": "string"
  23412. }
  23413. }
  23414. },
  23415. "models.Ermcp3OutTradeLink": {
  23416. "type": "object",
  23417. "properties": {
  23418. "buyorsell": {
  23419. "description": "买卖方向 - 0:买 1:卖",
  23420. "type": "integer"
  23421. },
  23422. "channelbuildtype": {
  23423. "description": "开平标志- 0:无 1:建仓 2:平仓",
  23424. "type": "integer"
  23425. },
  23426. "currencyname": {
  23427. "description": "币种名称",
  23428. "type": "string"
  23429. },
  23430. "exexchangecode": {
  23431. "description": "交易所代码",
  23432. "type": "string"
  23433. },
  23434. "exexchangename": {
  23435. "description": "交易所名称",
  23436. "type": "string"
  23437. },
  23438. "goodscode": {
  23439. "description": "合约代码",
  23440. "type": "string"
  23441. },
  23442. "goodsid": {
  23443. "description": "合约id",
  23444. "type": "integer"
  23445. },
  23446. "goodsname": {
  23447. "description": "合约名称",
  23448. "type": "string"
  23449. },
  23450. "hasinnerorder": {
  23451. "description": "是否有内部单关联 - 0:无 1:有",
  23452. "type": "integer"
  23453. },
  23454. "hedgeaccountcode": {
  23455. "description": "外部账号 | 对冲账号",
  23456. "type": "string"
  23457. },
  23458. "outtradeid": {
  23459. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23460. "type": "string"
  23461. },
  23462. "tradeprice": {
  23463. "description": "成交价格",
  23464. "type": "number"
  23465. },
  23466. "tradeqty": {
  23467. "description": "成交数量",
  23468. "type": "integer"
  23469. },
  23470. "tradetime": {
  23471. "description": "成交时间",
  23472. "type": "string"
  23473. }
  23474. }
  23475. },
  23476. "models.Ermcp3PaAreaAuditCfg": {
  23477. "type": "object",
  23478. "properties": {
  23479. "areauserid": {
  23480. "description": "用户ID",
  23481. "type": "integer"
  23482. },
  23483. "buyinauditflag": {
  23484. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  23485. "type": "integer"
  23486. },
  23487. "costratioauditflag": {
  23488. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  23489. "type": "integer"
  23490. },
  23491. "customerauditflag": {
  23492. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  23493. "type": "integer"
  23494. },
  23495. "deliveryauditflag": {
  23496. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  23497. "type": "integer"
  23498. },
  23499. "invoiceauditflag": {
  23500. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  23501. "type": "integer"
  23502. },
  23503. "mgneedhedgeratioauditflag": {
  23504. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  23505. "type": "integer"
  23506. },
  23507. "moneyauditflag": {
  23508. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  23509. "type": "integer"
  23510. },
  23511. "operatorid": {
  23512. "description": "操作人",
  23513. "type": "integer"
  23514. },
  23515. "operatorsrc": {
  23516. "description": "操作来源 - 1:管理端 2:终端",
  23517. "type": "integer"
  23518. },
  23519. "pointpriceauditflag": {
  23520. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  23521. "type": "integer"
  23522. },
  23523. "produceinauditflag": {
  23524. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  23525. "type": "integer"
  23526. },
  23527. "produceoutauditflag": {
  23528. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  23529. "type": "integer"
  23530. },
  23531. "selloutauditflag": {
  23532. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  23533. "type": "integer"
  23534. },
  23535. "sgconvertratioauditflag": {
  23536. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  23537. "type": "integer"
  23538. },
  23539. "sgvtaratioauditflag": {
  23540. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  23541. "type": "integer"
  23542. },
  23543. "spotcontractauditflag": {
  23544. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  23545. "type": "integer"
  23546. },
  23547. "updatetime": {
  23548. "description": "更新时间",
  23549. "type": "string"
  23550. }
  23551. }
  23552. },
  23553. "models.Ermcp3PaAreaSubject": {
  23554. "type": "object",
  23555. "properties": {
  23556. "areauserid": {
  23557. "description": "所属机构",
  23558. "type": "integer"
  23559. },
  23560. "canmodify": {
  23561. "description": "是否可修改 - 0:否 1:是",
  23562. "type": "integer"
  23563. },
  23564. "createtime": {
  23565. "description": "创建时间",
  23566. "type": "string"
  23567. },
  23568. "creatorid": {
  23569. "description": "创建人ID",
  23570. "type": "string"
  23571. },
  23572. "creatorsrc": {
  23573. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23574. "type": "integer"
  23575. },
  23576. "modifierid": {
  23577. "description": "修改人",
  23578. "type": "string"
  23579. },
  23580. "modifiersrc": {
  23581. "description": "修改人来源 - 1:管理端 2:终端",
  23582. "type": "integer"
  23583. },
  23584. "modifytime": {
  23585. "description": "修改时间",
  23586. "type": "string"
  23587. },
  23588. "parentsubjectid": {
  23589. "description": "上级主体ID",
  23590. "type": "string"
  23591. },
  23592. "remark": {
  23593. "description": "备注",
  23594. "type": "string"
  23595. },
  23596. "subjectid": {
  23597. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  23598. "type": "integer"
  23599. },
  23600. "subjectname": {
  23601. "description": "主体名称",
  23602. "type": "string"
  23603. },
  23604. "subjectstatus": {
  23605. "description": "主体状态 - 1:正常 2: 停用",
  23606. "type": "integer"
  23607. },
  23608. "subjecttype": {
  23609. "description": "主体类型 - 1:交易主体 2:业务部门",
  23610. "type": "integer"
  23611. }
  23612. }
  23613. },
  23614. "models.Ermcp3PaTradeLink": {
  23615. "type": "object",
  23616. "properties": {
  23617. "accountid": {
  23618. "description": "期货账户代码 | 账号ID",
  23619. "type": "integer"
  23620. },
  23621. "agreeunit": {
  23622. "description": "合约乘数",
  23623. "type": "number"
  23624. },
  23625. "buyorsell": {
  23626. "description": "方向 - 0:买 1:卖",
  23627. "type": "integer"
  23628. },
  23629. "channelbuildtype": {
  23630. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23631. "type": "integer"
  23632. },
  23633. "charge": {
  23634. "description": "手续费",
  23635. "type": "number"
  23636. },
  23637. "closepl": {
  23638. "description": "平仓盈亏",
  23639. "type": "number"
  23640. },
  23641. "closetype": {
  23642. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23643. "type": "integer"
  23644. },
  23645. "convertratio": {
  23646. "description": "折算系数",
  23647. "type": "number"
  23648. },
  23649. "enumdicname": {
  23650. "description": "单位名称",
  23651. "type": "string"
  23652. },
  23653. "executeprice": {
  23654. "description": "执行价 [期权]",
  23655. "type": "integer"
  23656. },
  23657. "goodscode": {
  23658. "description": "合约代码",
  23659. "type": "string"
  23660. },
  23661. "goodsgroupid": {
  23662. "description": "对冲品种ID[期货合约商品组ID]",
  23663. "type": "integer"
  23664. },
  23665. "goodsid": {
  23666. "description": "商品ID",
  23667. "type": "integer"
  23668. },
  23669. "goodsname": {
  23670. "description": "合约名称",
  23671. "type": "string"
  23672. },
  23673. "goodunitid": {
  23674. "description": "单位id",
  23675. "type": "integer"
  23676. },
  23677. "hedgeflag": {
  23678. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23679. "type": "integer"
  23680. },
  23681. "marketid": {
  23682. "description": "市场ID",
  23683. "type": "integer"
  23684. },
  23685. "middlegoodsid": {
  23686. "description": "套保品种ID",
  23687. "type": "integer"
  23688. },
  23689. "middlegoodsqty": {
  23690. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  23691. "type": "number"
  23692. },
  23693. "optioncode": {
  23694. "description": "期权代码 [期权]",
  23695. "type": "string"
  23696. },
  23697. "ordertype": {
  23698. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  23699. "type": "integer"
  23700. },
  23701. "ordertypename": {
  23702. "description": "订单类型",
  23703. "type": "string"
  23704. },
  23705. "parentaccountid": {
  23706. "description": "所属母账户",
  23707. "type": "integer"
  23708. },
  23709. "premium": {
  23710. "description": "权利金 [期权]",
  23711. "type": "number"
  23712. },
  23713. "relatedlot": {
  23714. "description": "已关联数量(已关联数量手) | db:关联手数",
  23715. "type": "number"
  23716. },
  23717. "relatedouttradeid": {
  23718. "description": "关联外部成交单ID",
  23719. "type": "string"
  23720. },
  23721. "relatedqty": {
  23722. "description": "关联数量",
  23723. "type": "number"
  23724. },
  23725. "spotcontractid": {
  23726. "description": "现货合同ID [4:套期保值\\10\\11]",
  23727. "type": "string"
  23728. },
  23729. "taname": {
  23730. "description": "期货账户名称",
  23731. "type": "string"
  23732. },
  23733. "tradeamount": {
  23734. "description": "成交金额(账户)",
  23735. "type": "number"
  23736. },
  23737. "tradedate": {
  23738. "description": "交易日(yyyyMMdd)",
  23739. "type": "string"
  23740. },
  23741. "tradeid": {
  23742. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23743. "type": "string"
  23744. },
  23745. "tradelot": {
  23746. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  23747. "type": "integer"
  23748. },
  23749. "tradeprice": {
  23750. "description": "成交价格",
  23751. "type": "number"
  23752. },
  23753. "tradetime": {
  23754. "description": "时间 | db:成交时间",
  23755. "type": "string"
  23756. },
  23757. "tradetype": {
  23758. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  23759. "type": "integer"
  23760. },
  23761. "userid": {
  23762. "description": "所属机构 - 所属母账户的UserID",
  23763. "type": "string"
  23764. },
  23765. "username": {
  23766. "description": "用户名称",
  23767. "type": "string"
  23768. }
  23769. }
  23770. },
  23771. "models.Ermcp3ParamChangeApp": {
  23772. "type": "object",
  23773. "properties": {
  23774. "aftervalue": {
  23775. "description": "变更后",
  23776. "type": "number"
  23777. },
  23778. "applicationid": {
  23779. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  23780. "type": "string"
  23781. },
  23782. "applyid": {
  23783. "description": "申请人",
  23784. "type": "string"
  23785. },
  23786. "applyname": {
  23787. "description": "申请人名称(代码)",
  23788. "type": "string"
  23789. },
  23790. "applyremark": {
  23791. "description": "申请备注",
  23792. "type": "string"
  23793. },
  23794. "applysrc": {
  23795. "description": "申请来源 - 1:管理端 2:终端",
  23796. "type": "integer"
  23797. },
  23798. "applystatus": {
  23799. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23800. "type": "integer"
  23801. },
  23802. "applytime": {
  23803. "description": "申请时间",
  23804. "type": "string"
  23805. },
  23806. "areauserid": {
  23807. "description": "所属机构用户ID",
  23808. "type": "integer"
  23809. },
  23810. "auditid": {
  23811. "description": "审核人",
  23812. "type": "string"
  23813. },
  23814. "auditname": {
  23815. "description": "审核人名称(代码)",
  23816. "type": "string"
  23817. },
  23818. "auditremark": {
  23819. "description": "审核备注",
  23820. "type": "string"
  23821. },
  23822. "auditsrc": {
  23823. "description": "审核来源 - 1:管理端 2:终端",
  23824. "type": "integer"
  23825. },
  23826. "audittime": {
  23827. "description": "审核时间",
  23828. "type": "string"
  23829. },
  23830. "audittradedate": {
  23831. "description": "审核交易日(yyyyMMdd)",
  23832. "type": "string"
  23833. },
  23834. "beforevalue": {
  23835. "description": "变更前",
  23836. "type": "number"
  23837. },
  23838. "deliverygoodscode": {
  23839. "description": "品种代码",
  23840. "type": "string"
  23841. },
  23842. "deliverygoodsid": {
  23843. "description": "品种id",
  23844. "type": "integer"
  23845. },
  23846. "deliverygoodsname": {
  23847. "description": "品种名称",
  23848. "type": "string"
  23849. },
  23850. "middlegoodscode": {
  23851. "description": "套保品种代码",
  23852. "type": "string"
  23853. },
  23854. "middlegoodsid": {
  23855. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  23856. "type": "integer"
  23857. },
  23858. "middlegoodsname": {
  23859. "description": "套保品种名称",
  23860. "type": "string"
  23861. },
  23862. "operatetype": {
  23863. "description": "操作类型 - 1:新增 2:修改",
  23864. "type": "integer"
  23865. },
  23866. "paramchangetype": {
  23867. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  23868. "type": "integer"
  23869. },
  23870. "wrstandardcode": {
  23871. "description": "现货商品代码",
  23872. "type": "string"
  23873. },
  23874. "wrstandardid": {
  23875. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  23876. "type": "integer"
  23877. },
  23878. "wrstandardname": {
  23879. "description": "现货商品名称",
  23880. "type": "string"
  23881. }
  23882. }
  23883. },
  23884. "models.Ermcp3RootUserAccount": {
  23885. "type": "object",
  23886. "properties": {
  23887. "accountname": {
  23888. "description": "账户名称(机构名称)",
  23889. "type": "string"
  23890. },
  23891. "accountstatus": {
  23892. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23893. "type": "integer"
  23894. },
  23895. "applysrc": {
  23896. "description": "申请来源 - 1:管理端 2:终端",
  23897. "type": "integer"
  23898. },
  23899. "auditremark": {
  23900. "description": "审核备注",
  23901. "type": "string"
  23902. },
  23903. "auditsrc": {
  23904. "description": "审核来源 - 1:管理端 2:终端",
  23905. "type": "integer"
  23906. },
  23907. "audittime": {
  23908. "description": "审核时间",
  23909. "type": "string"
  23910. },
  23911. "audituserid": {
  23912. "description": "审核人",
  23913. "type": "integer"
  23914. },
  23915. "broker": {
  23916. "description": "所属经纪人ID",
  23917. "type": "integer"
  23918. },
  23919. "canceltime": {
  23920. "description": "销户时间",
  23921. "type": "string"
  23922. },
  23923. "canceluserid": {
  23924. "description": "销户人",
  23925. "type": "integer"
  23926. },
  23927. "canrecommend": {
  23928. "description": "是否可推荐 - 0:不可 1;可",
  23929. "type": "integer"
  23930. },
  23931. "createtime": {
  23932. "description": "创建时间",
  23933. "type": "string"
  23934. },
  23935. "creatorid": {
  23936. "description": "创建人",
  23937. "type": "integer"
  23938. },
  23939. "hasauth": {
  23940. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23941. "type": "integer"
  23942. },
  23943. "isanonymous": {
  23944. "description": "是否匿名下单 - 0:否 1:是",
  23945. "type": "integer"
  23946. },
  23947. "maxinvestornum": {
  23948. "description": "最大用户数(经纪会员下投资者个数)",
  23949. "type": "integer"
  23950. },
  23951. "memberuserid": {
  23952. "description": "所属会员ID",
  23953. "type": "integer"
  23954. },
  23955. "modifierid": {
  23956. "description": "修改人",
  23957. "type": "integer"
  23958. },
  23959. "modifyremark": {
  23960. "description": "变更备注",
  23961. "type": "string"
  23962. },
  23963. "modifystatus": {
  23964. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23965. "type": "integer"
  23966. },
  23967. "modifytime": {
  23968. "description": "修改时间",
  23969. "type": "string"
  23970. },
  23971. "nickname": {
  23972. "description": "昵称",
  23973. "type": "string"
  23974. },
  23975. "parenttopuser": {
  23976. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23977. "type": "string"
  23978. },
  23979. "parentuserid": {
  23980. "description": "所属机构ID",
  23981. "type": "integer"
  23982. },
  23983. "reckonaccountid": {
  23984. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23985. "type": "integer"
  23986. },
  23987. "refercount": {
  23988. "description": "推荐总人数",
  23989. "type": "integer"
  23990. },
  23991. "refereeuserid": {
  23992. "description": "推荐人ID",
  23993. "type": "integer"
  23994. },
  23995. "refernum": {
  23996. "description": "推荐码",
  23997. "type": "string"
  23998. },
  23999. "rootuserid": {
  24000. "description": "根用户ID",
  24001. "type": "integer"
  24002. },
  24003. "subaccountlevel": {
  24004. "description": "子账户层数",
  24005. "type": "integer"
  24006. },
  24007. "subarealevelpath": {
  24008. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24009. "type": "string"
  24010. },
  24011. "userid": {
  24012. "description": "用户ID",
  24013. "type": "integer"
  24014. },
  24015. "usertype": {
  24016. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24017. "type": "integer"
  24018. }
  24019. }
  24020. },
  24021. "models.Ermcp3SCMiddleGoods": {
  24022. "type": "object",
  24023. "properties": {
  24024. "biztype": {
  24025. "description": "业务类型 1:套保 2:套利",
  24026. "type": "integer"
  24027. },
  24028. "contractno": {
  24029. "description": "合同编号",
  24030. "type": "string"
  24031. },
  24032. "contracttype": {
  24033. "description": "合同类型 1:采购 -1:销售",
  24034. "type": "integer"
  24035. },
  24036. "convertratio": {
  24037. "description": "折算系数",
  24038. "type": "number"
  24039. },
  24040. "customername": {
  24041. "description": "对手手名称",
  24042. "type": "string"
  24043. },
  24044. "customeruserid": {
  24045. "description": "对手id",
  24046. "type": "integer"
  24047. },
  24048. "deliverygoodscode": {
  24049. "description": "现货品种代码",
  24050. "type": "string"
  24051. },
  24052. "deliverygoodsid": {
  24053. "description": "现货品种ID",
  24054. "type": "integer"
  24055. },
  24056. "deliverygoodsname": {
  24057. "description": "现货品种名称",
  24058. "type": "string"
  24059. },
  24060. "enumdicname": {
  24061. "description": "现货单位名称",
  24062. "type": "string"
  24063. },
  24064. "middlegoodsid": {
  24065. "description": "套保品种ID",
  24066. "type": "integer"
  24067. },
  24068. "middlegoodspricedqty3": {
  24069. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  24070. "type": "number"
  24071. },
  24072. "needhedgeratio": {
  24073. "description": "套保比例",
  24074. "type": "number"
  24075. },
  24076. "pricedqty": {
  24077. "description": "已定价量",
  24078. "type": "number"
  24079. },
  24080. "relatedmiddlegoodsqty": {
  24081. "description": "已关联量(套保品种)(期货)",
  24082. "type": "number"
  24083. },
  24084. "spotcontractid": {
  24085. "description": "合同编号",
  24086. "type": "string"
  24087. },
  24088. "unitid": {
  24089. "description": "现货单位id",
  24090. "type": "integer"
  24091. },
  24092. "userid": {
  24093. "description": "用户id",
  24094. "type": "integer"
  24095. },
  24096. "vatrate": {
  24097. "description": "增值税率",
  24098. "type": "number"
  24099. },
  24100. "wrstandardcode": {
  24101. "description": "现货商品代码",
  24102. "type": "string"
  24103. },
  24104. "wrstandardid": {
  24105. "description": "现货商品id",
  24106. "type": "integer"
  24107. },
  24108. "wrstandardname": {
  24109. "description": "现货商品名称",
  24110. "type": "string"
  24111. }
  24112. }
  24113. },
  24114. "models.Ermcp3SCMiddleGoodsReport": {
  24115. "type": "object",
  24116. "properties": {
  24117. "begindate": {
  24118. "description": "开始交易日",
  24119. "type": "string"
  24120. },
  24121. "contractno": {
  24122. "description": "合同编号",
  24123. "type": "string"
  24124. },
  24125. "contracttype": {
  24126. "description": "合同类型 1:采购 -1:销售",
  24127. "type": "integer"
  24128. },
  24129. "convertratio": {
  24130. "description": "折算系数",
  24131. "type": "number"
  24132. },
  24133. "cycletime": {
  24134. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24135. "type": "string"
  24136. },
  24137. "cycletype": {
  24138. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24139. "type": "integer"
  24140. },
  24141. "deliverygoodscode": {
  24142. "description": "品种代码",
  24143. "type": "string"
  24144. },
  24145. "deliverygoodsid": {
  24146. "description": "现货品种ID",
  24147. "type": "integer"
  24148. },
  24149. "deliverygoodsname": {
  24150. "description": "品种名称",
  24151. "type": "string"
  24152. },
  24153. "diffprice": {
  24154. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  24155. "type": "number"
  24156. },
  24157. "diffqty": {
  24158. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  24159. "type": "number"
  24160. },
  24161. "enddate": {
  24162. "description": "结束交易日",
  24163. "type": "string"
  24164. },
  24165. "hedgeplanqty": {
  24166. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  24167. "type": "number"
  24168. },
  24169. "matchname": {
  24170. "description": "交易对手方(个人:用户名称 企业:简称)",
  24171. "type": "string"
  24172. },
  24173. "matchnickname": {
  24174. "description": "交易对手方昵称",
  24175. "type": "string"
  24176. },
  24177. "middlegoodscode": {
  24178. "description": "套保品种代码",
  24179. "type": "string"
  24180. },
  24181. "middlegoodsid": {
  24182. "description": "套保品种ID",
  24183. "type": "integer"
  24184. },
  24185. "middlegoodsname": {
  24186. "description": "套保品种名称",
  24187. "type": "string"
  24188. },
  24189. "middlegoodspricedqty": {
  24190. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  24191. "type": "number"
  24192. },
  24193. "middlegoodspricedqty2": {
  24194. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  24195. "type": "number"
  24196. },
  24197. "middlegoodspricedqty3": {
  24198. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  24199. "type": "number"
  24200. },
  24201. "needhedgeratio": {
  24202. "description": "套保系数",
  24203. "type": "number"
  24204. },
  24205. "pricedamount": {
  24206. "description": "已定价额(现货)",
  24207. "type": "number"
  24208. },
  24209. "pricedamount2": {
  24210. "description": "已定价额(现货-基价额)",
  24211. "type": "number"
  24212. },
  24213. "pricedqty": {
  24214. "description": "已定价量(现货)",
  24215. "type": "number"
  24216. },
  24217. "reckondate": {
  24218. "description": "日照时期(yyyyMMdd)",
  24219. "type": "string"
  24220. },
  24221. "relatedmiddlegoodsamount": {
  24222. "description": "已关联额(期货)",
  24223. "type": "number"
  24224. },
  24225. "relatedmiddlegoodsqty": {
  24226. "description": "已关联量(套保品种)(期货)",
  24227. "type": "number"
  24228. },
  24229. "spotcontractid": {
  24230. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24231. "type": "string"
  24232. },
  24233. "todayavgfutuprice": {
  24234. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  24235. "type": "number"
  24236. },
  24237. "todayavgprice": {
  24238. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  24239. "type": "number"
  24240. },
  24241. "todayavgprice2": {
  24242. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  24243. "type": "number"
  24244. },
  24245. "todaypricedamount": {
  24246. "description": "今日定价额(现货)",
  24247. "type": "number"
  24248. },
  24249. "todaypricedamount2": {
  24250. "description": "今日定价额(现货-基价额)",
  24251. "type": "number"
  24252. },
  24253. "todaypricedqty": {
  24254. "description": "今日定价量(现货)",
  24255. "type": "number"
  24256. },
  24257. "todayrelatedfutureqty": {
  24258. "description": "今日关联量(期货)",
  24259. "type": "number"
  24260. },
  24261. "todayrelatedmiddlegoodsamount": {
  24262. "description": "今日关联额(期货)",
  24263. "type": "number"
  24264. },
  24265. "todayrelatedmiddlegoodsqty": {
  24266. "description": "今日关联量(套保品-期货)",
  24267. "type": "number"
  24268. },
  24269. "updatetime": {
  24270. "description": "更新时间",
  24271. "type": "string"
  24272. },
  24273. "userid": {
  24274. "description": "合同所属用户id",
  24275. "type": "integer"
  24276. },
  24277. "vatrate": {
  24278. "description": "增值税率",
  24279. "type": "number"
  24280. },
  24281. "wrstandardcode": {
  24282. "description": "商品(品类) 代码",
  24283. "type": "string"
  24284. },
  24285. "wrstandardid": {
  24286. "description": "现货商品ID",
  24287. "type": "integer"
  24288. },
  24289. "wrstandardname": {
  24290. "description": "商品(品类) 名称",
  24291. "type": "string"
  24292. }
  24293. }
  24294. },
  24295. "models.Ermcp3SellBuyContract": {
  24296. "type": "object",
  24297. "properties": {
  24298. "accountid": {
  24299. "description": "期货账户id",
  24300. "type": "string"
  24301. },
  24302. "accountname": {
  24303. "description": "账户名称",
  24304. "type": "string"
  24305. },
  24306. "attachment": {
  24307. "description": "附件",
  24308. "type": "string"
  24309. },
  24310. "audittime": {
  24311. "description": "审核时间",
  24312. "type": "string"
  24313. },
  24314. "bizsubjectid": {
  24315. "description": "归属业务部门ID - SubjectID",
  24316. "type": "integer"
  24317. },
  24318. "biztype": {
  24319. "description": "业务类型 1-套保 2-套利",
  24320. "type": "integer"
  24321. },
  24322. "brandname": {
  24323. "description": "品牌名称",
  24324. "type": "string"
  24325. },
  24326. "contracctstatus": {
  24327. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24328. "type": "integer"
  24329. },
  24330. "contractmargin": {
  24331. "description": "合同保证金",
  24332. "type": "number"
  24333. },
  24334. "contractno": {
  24335. "description": "合同编号",
  24336. "type": "string"
  24337. },
  24338. "contracttype": {
  24339. "description": "合同类型 1-采购, -1-销售",
  24340. "type": "integer"
  24341. },
  24342. "convertfactor": {
  24343. "description": "标仓系数(品类)",
  24344. "type": "number"
  24345. },
  24346. "createtime": {
  24347. "description": "创建时间",
  24348. "type": "string"
  24349. },
  24350. "currencyid": {
  24351. "description": "币种id",
  24352. "type": "integer"
  24353. },
  24354. "currencyname": {
  24355. "description": "币种名称",
  24356. "type": "string"
  24357. },
  24358. "daikaiamount": {
  24359. "description": "应收(开)票额 | 未收票额",
  24360. "type": "number"
  24361. },
  24362. "deliveryenddate": {
  24363. "description": "交割结束日",
  24364. "type": "string"
  24365. },
  24366. "deliverygoodscode": {
  24367. "description": "现货品种代码",
  24368. "type": "string"
  24369. },
  24370. "deliverygoodsid": {
  24371. "description": "现货商品ID",
  24372. "type": "integer"
  24373. },
  24374. "deliverygoodsname": {
  24375. "description": "现货品种名称",
  24376. "type": "string"
  24377. },
  24378. "deliverystartdate": {
  24379. "description": "交割开始日",
  24380. "type": "string"
  24381. },
  24382. "enddate": {
  24383. "description": "点价结束日",
  24384. "type": "string"
  24385. },
  24386. "enumdicname": {
  24387. "description": "单位名称",
  24388. "type": "string"
  24389. },
  24390. "goodscode": {
  24391. "description": "点价商品代码",
  24392. "type": "string"
  24393. },
  24394. "goodsgroupid": {
  24395. "description": "点价商品组id",
  24396. "type": "integer"
  24397. },
  24398. "goodsid": {
  24399. "description": "点价商品ID",
  24400. "type": "integer"
  24401. },
  24402. "goodsname": {
  24403. "description": "点价商品名称",
  24404. "type": "string"
  24405. },
  24406. "invoiceamount": {
  24407. "description": "已开票额",
  24408. "type": "number"
  24409. },
  24410. "loanamount": {
  24411. "description": "贷款总额=已定价额+调整金额",
  24412. "type": "number"
  24413. },
  24414. "margin": {
  24415. "description": "保证金",
  24416. "type": "number"
  24417. },
  24418. "meruserid": {
  24419. "description": "跟单员id",
  24420. "type": "integer"
  24421. },
  24422. "meruserlogincode": {
  24423. "description": "跟单员登录代码",
  24424. "type": "string"
  24425. },
  24426. "merusername": {
  24427. "description": "跟单员名称",
  24428. "type": "string"
  24429. },
  24430. "nickname": {
  24431. "description": "账户昵称",
  24432. "type": "string"
  24433. },
  24434. "orireckonrealqty": {
  24435. "description": "应交收量",
  24436. "type": "number"
  24437. },
  24438. "payamount": {
  24439. "description": "已收付额(收款或付款)",
  24440. "type": "number"
  24441. },
  24442. "preinvoiceamount": {
  24443. "description": "预收(开)票额",
  24444. "type": "number"
  24445. },
  24446. "prepayamount": {
  24447. "description": "预收付额",
  24448. "type": "number"
  24449. },
  24450. "price": {
  24451. "description": "价格",
  24452. "type": "number"
  24453. },
  24454. "pricedamount": {
  24455. "description": "已定价额",
  24456. "type": "number"
  24457. },
  24458. "pricedavg": {
  24459. "description": "已点均价",
  24460. "type": "number"
  24461. },
  24462. "pricedqty": {
  24463. "description": "已定价量",
  24464. "type": "number"
  24465. },
  24466. "pricemove": {
  24467. "description": "升贴水",
  24468. "type": "number"
  24469. },
  24470. "pricetype": {
  24471. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24472. "type": "integer"
  24473. },
  24474. "producttype": {
  24475. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24476. "type": "integer"
  24477. },
  24478. "qty": {
  24479. "description": "合同量",
  24480. "type": "number"
  24481. },
  24482. "reckonadjustamount": {
  24483. "description": "调整金额",
  24484. "type": "number"
  24485. },
  24486. "reckonedamount": {
  24487. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  24488. "type": "number"
  24489. },
  24490. "reckonotheramount": {
  24491. "description": "其它费用",
  24492. "type": "number"
  24493. },
  24494. "reckonrealqty": {
  24495. "description": "已交收量",
  24496. "type": "number"
  24497. },
  24498. "remark": {
  24499. "description": "备注",
  24500. "type": "string"
  24501. },
  24502. "saleuserid": {
  24503. "description": "业务员id",
  24504. "type": "integer"
  24505. },
  24506. "saleuserlogincode": {
  24507. "description": "业务员登录代码",
  24508. "type": "string"
  24509. },
  24510. "saleusername": {
  24511. "description": "业务员名称",
  24512. "type": "string"
  24513. },
  24514. "spotcontractid": {
  24515. "description": "合同ID",
  24516. "type": "string"
  24517. },
  24518. "spotgoodsbrandid": {
  24519. "description": "现货品牌ID(DGFactoryItem表的ID)",
  24520. "type": "integer"
  24521. },
  24522. "spotgoodsdesc": {
  24523. "description": "商品型号(商品规格)",
  24524. "type": "string"
  24525. },
  24526. "startdate": {
  24527. "description": "点价开始日",
  24528. "type": "string"
  24529. },
  24530. "subjectid": {
  24531. "description": "交易主体ID",
  24532. "type": "integer"
  24533. },
  24534. "subjectname": {
  24535. "description": "交易主体名称",
  24536. "type": "string"
  24537. },
  24538. "totalamount": {
  24539. "description": "合计总额",
  24540. "type": "number"
  24541. },
  24542. "tradeuserid": {
  24543. "description": "交易员id",
  24544. "type": "integer"
  24545. },
  24546. "tradeuserlogincode": {
  24547. "description": "交易员登录代码",
  24548. "type": "string"
  24549. },
  24550. "tradeusername": {
  24551. "description": "交易员名称",
  24552. "type": "string"
  24553. },
  24554. "unpayamount": {
  24555. "description": "应收付款额(应支付或应收款) | 未付款额",
  24556. "type": "number"
  24557. },
  24558. "unpricedqty": {
  24559. "description": "未定价量",
  24560. "type": "number"
  24561. },
  24562. "unsureqty": {
  24563. "description": "未确定量 | 未交收量",
  24564. "type": "number"
  24565. },
  24566. "userid": {
  24567. "description": "机构ID",
  24568. "type": "integer"
  24569. },
  24570. "vatrate": {
  24571. "description": "增值税率",
  24572. "type": "number"
  24573. },
  24574. "wrstandardcode": {
  24575. "description": "品类代码",
  24576. "type": "string"
  24577. },
  24578. "wrstandardid": {
  24579. "description": "品类ID",
  24580. "type": "integer"
  24581. },
  24582. "wrstandardname": {
  24583. "description": "品类名称",
  24584. "type": "string"
  24585. }
  24586. }
  24587. },
  24588. "models.Ermcp3SpotGoodsPrice": {
  24589. "type": "object",
  24590. "properties": {
  24591. "areauserid": {
  24592. "description": "所属机构id",
  24593. "type": "integer"
  24594. },
  24595. "brandname": {
  24596. "description": "品牌名称",
  24597. "type": "string"
  24598. },
  24599. "currencyid": {
  24600. "description": "报价货币ID",
  24601. "type": "integer"
  24602. },
  24603. "currencyname": {
  24604. "description": "币种名称",
  24605. "type": "string"
  24606. },
  24607. "deliverygoodscode": {
  24608. "description": "现货商品代码",
  24609. "type": "string"
  24610. },
  24611. "deliverygoodsid": {
  24612. "description": "现货商品id",
  24613. "type": "integer"
  24614. },
  24615. "deliverygoodsname": {
  24616. "description": "现货商品名称",
  24617. "type": "string"
  24618. },
  24619. "enumdicname": {
  24620. "description": "现货商品单位名称",
  24621. "type": "string"
  24622. },
  24623. "gbenumdicname": {
  24624. "description": "品类单位名称",
  24625. "type": "string"
  24626. },
  24627. "gmunitid": {
  24628. "description": "品类单位id",
  24629. "type": "integer"
  24630. },
  24631. "isvalid": {
  24632. "description": "是否有效 - 0:无效 1:有效",
  24633. "type": "integer"
  24634. },
  24635. "operateid": {
  24636. "description": "最后操作人",
  24637. "type": "integer"
  24638. },
  24639. "operatesrc": {
  24640. "description": "最后操作来源 - 1:管理端 2:终端",
  24641. "type": "integer"
  24642. },
  24643. "operatetime": {
  24644. "description": "最后操作时间",
  24645. "type": "string"
  24646. },
  24647. "operatorname": {
  24648. "description": "操作人名称",
  24649. "type": "string"
  24650. },
  24651. "spotgoodsbrandid": {
  24652. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  24653. "type": "integer"
  24654. },
  24655. "spotgoodsprice": {
  24656. "description": "现货价格",
  24657. "type": "number"
  24658. },
  24659. "tradedate": {
  24660. "description": "交易日(yyyyMMdd)",
  24661. "type": "string"
  24662. },
  24663. "unitid": {
  24664. "description": "现货商品单位id",
  24665. "type": "integer"
  24666. },
  24667. "wrstandardcode": {
  24668. "description": "品类代码",
  24669. "type": "string"
  24670. },
  24671. "wrstandardid": {
  24672. "description": "现货品类ID(通用则为0)",
  24673. "type": "integer"
  24674. },
  24675. "wrstandardname": {
  24676. "description": "品类名称",
  24677. "type": "string"
  24678. }
  24679. }
  24680. },
  24681. "models.Ermcp3SpotGoodsPriceLog": {
  24682. "type": "object",
  24683. "properties": {
  24684. "areauserid": {
  24685. "description": "所属机构id",
  24686. "type": "integer"
  24687. },
  24688. "brandname": {
  24689. "description": "品牌名称",
  24690. "type": "string"
  24691. },
  24692. "currencyid": {
  24693. "description": "报价货币ID",
  24694. "type": "integer"
  24695. },
  24696. "deliverygoodscode": {
  24697. "description": "现货商品代码",
  24698. "type": "string"
  24699. },
  24700. "deliverygoodsid": {
  24701. "description": "现货商品id",
  24702. "type": "integer"
  24703. },
  24704. "deliverygoodsname": {
  24705. "description": "现货商品名称",
  24706. "type": "string"
  24707. },
  24708. "enumdicname": {
  24709. "description": "现货商品单位名称",
  24710. "type": "string"
  24711. },
  24712. "gbenumdicname": {
  24713. "description": "品类单位名称",
  24714. "type": "string"
  24715. },
  24716. "gmunitid": {
  24717. "description": "品类单位id",
  24718. "type": "integer"
  24719. },
  24720. "logid": {
  24721. "description": "日志id",
  24722. "type": "integer"
  24723. },
  24724. "operateid": {
  24725. "description": "最后操作人",
  24726. "type": "integer"
  24727. },
  24728. "operatesrc": {
  24729. "description": "最后操作来源 - 1:管理端 2:终端",
  24730. "type": "integer"
  24731. },
  24732. "operatetime": {
  24733. "description": "最后操作时间",
  24734. "type": "string"
  24735. },
  24736. "operatorname": {
  24737. "description": "操作人名称",
  24738. "type": "string"
  24739. },
  24740. "spotgoodsbrandid": {
  24741. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  24742. "type": "integer"
  24743. },
  24744. "spotgoodsprice": {
  24745. "description": "现货价格",
  24746. "type": "number"
  24747. },
  24748. "tradedate": {
  24749. "description": "交易日(yyyyMMdd)",
  24750. "type": "string"
  24751. },
  24752. "unitid": {
  24753. "description": "现货商品单位id",
  24754. "type": "integer"
  24755. },
  24756. "wrstandardcode": {
  24757. "description": "品类代码",
  24758. "type": "string"
  24759. },
  24760. "wrstandardid": {
  24761. "description": "现货品类ID(通用则为0)",
  24762. "type": "integer"
  24763. },
  24764. "wrstandardname": {
  24765. "description": "品类名称",
  24766. "type": "string"
  24767. }
  24768. }
  24769. },
  24770. "models.Ermcp3SubTaaccount": {
  24771. "type": "object",
  24772. "properties": {
  24773. "accountid": {
  24774. "description": "资金账户ID",
  24775. "type": "integer"
  24776. },
  24777. "parentaccountcode": {
  24778. "description": "所属根账号代码(母账号代码)",
  24779. "type": "string"
  24780. },
  24781. "parentaccountid": {
  24782. "description": "所属根账号(母账号)",
  24783. "type": "integer"
  24784. },
  24785. "taname": {
  24786. "description": "资金账号名称",
  24787. "type": "string"
  24788. },
  24789. "tradestatus": {
  24790. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  24791. "type": "integer"
  24792. },
  24793. "username": {
  24794. "description": "交易用户",
  24795. "type": "string"
  24796. }
  24797. }
  24798. },
  24799. "models.Ermcp3TaFutuReDataReport": {
  24800. "type": "object",
  24801. "properties": {
  24802. "accountid": {
  24803. "description": "交易账户",
  24804. "type": "integer"
  24805. },
  24806. "accountname": {
  24807. "description": "交易账号名称",
  24808. "type": "string"
  24809. },
  24810. "agreeunit": {
  24811. "description": "商品合约单位",
  24812. "type": "number"
  24813. },
  24814. "begindate": {
  24815. "description": "开始交易日",
  24816. "type": "string"
  24817. },
  24818. "buyorsell": {
  24819. "description": "持仓方向",
  24820. "type": "integer"
  24821. },
  24822. "charge": {
  24823. "description": "手续费",
  24824. "type": "number"
  24825. },
  24826. "closeavgprice": {
  24827. "description": "平仓均价",
  24828. "type": "number"
  24829. },
  24830. "closepl": {
  24831. "description": "平仓损益",
  24832. "type": "number"
  24833. },
  24834. "currencyid": {
  24835. "description": "结算币种ID",
  24836. "type": "integer"
  24837. },
  24838. "currencyname": {
  24839. "description": "币种名称",
  24840. "type": "string"
  24841. },
  24842. "cycletime": {
  24843. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24844. "type": "string"
  24845. },
  24846. "cycletype": {
  24847. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24848. "type": "integer"
  24849. },
  24850. "enddate": {
  24851. "description": "结束交易日",
  24852. "type": "string"
  24853. },
  24854. "enumdicname": {
  24855. "description": "单位名称",
  24856. "type": "string"
  24857. },
  24858. "floatpl": {
  24859. "description": "浮动损益",
  24860. "type": "number"
  24861. },
  24862. "goodscode": {
  24863. "description": "交易合约代码",
  24864. "type": "string"
  24865. },
  24866. "goodsgroupid": {
  24867. "description": "交易品种",
  24868. "type": "integer"
  24869. },
  24870. "goodsgroupname": {
  24871. "description": "交易品种名称",
  24872. "type": "string"
  24873. },
  24874. "goodsgroupspotqty": {
  24875. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  24876. "type": "number"
  24877. },
  24878. "goodsid": {
  24879. "description": "交易合约",
  24880. "type": "integer"
  24881. },
  24882. "goodsname": {
  24883. "description": "交易合约名称",
  24884. "type": "string"
  24885. },
  24886. "goodunitid": {
  24887. "description": "交易合约单位id",
  24888. "type": "integer"
  24889. },
  24890. "holdamount": {
  24891. "description": "期末持仓额",
  24892. "type": "number"
  24893. },
  24894. "holdqty": {
  24895. "description": "期末持仓量",
  24896. "type": "number"
  24897. },
  24898. "lastholdamount": {
  24899. "description": "当前持仓额",
  24900. "type": "number"
  24901. },
  24902. "lastprice": {
  24903. "description": "最新价",
  24904. "type": "number"
  24905. },
  24906. "middlegoodsid": {
  24907. "description": "套保品种id",
  24908. "type": "integer"
  24909. },
  24910. "middlegoodsname": {
  24911. "description": "套保商品名称",
  24912. "type": "string"
  24913. },
  24914. "middlegoodsqty": {
  24915. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  24916. "type": "number"
  24917. },
  24918. "middlgoodscode": {
  24919. "description": "套保商品代码",
  24920. "type": "string"
  24921. },
  24922. "openamount": {
  24923. "description": "期末开仓额",
  24924. "type": "number"
  24925. },
  24926. "openavgprice": {
  24927. "description": "开仓均价",
  24928. "type": "number"
  24929. },
  24930. "oriholdamount": {
  24931. "description": "期初持仓额",
  24932. "type": "number"
  24933. },
  24934. "oriholdqty": {
  24935. "description": "期初持仓量",
  24936. "type": "number"
  24937. },
  24938. "oriopenamount": {
  24939. "description": "期初开仓额",
  24940. "type": "number"
  24941. },
  24942. "outergroupcode": {
  24943. "description": "交易品种代码",
  24944. "type": "string"
  24945. },
  24946. "qtydecimalplace": {
  24947. "description": "成交量小数位",
  24948. "type": "integer"
  24949. },
  24950. "reckondate": {
  24951. "description": "日照时期(yyyyMMdd)",
  24952. "type": "string"
  24953. },
  24954. "reckonholdamount": {
  24955. "description": "结算持仓额",
  24956. "type": "number"
  24957. },
  24958. "reckonpl": {
  24959. "description": "结算损益",
  24960. "type": "number"
  24961. },
  24962. "reckonpl2": {
  24963. "description": "结算逐笔盈亏",
  24964. "type": "number"
  24965. },
  24966. "reckonprice": {
  24967. "description": "结算价",
  24968. "type": "number"
  24969. },
  24970. "relateduserid": {
  24971. "description": "账户关联用户ID",
  24972. "type": "integer"
  24973. },
  24974. "todaycloseamount": {
  24975. "description": "今平仓额",
  24976. "type": "number"
  24977. },
  24978. "todaycloseqty": {
  24979. "description": "今平仓量",
  24980. "type": "number"
  24981. },
  24982. "todaygoodsgroupspotqty": {
  24983. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  24984. "type": "number"
  24985. },
  24986. "todaymiddlegoodsqty": {
  24987. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  24988. "type": "number"
  24989. },
  24990. "todayopenamount": {
  24991. "description": "今开仓额",
  24992. "type": "number"
  24993. },
  24994. "todayopenqty": {
  24995. "description": "今开仓量",
  24996. "type": "number"
  24997. },
  24998. "userid": {
  24999. "description": "账户所属用户ID",
  25000. "type": "integer"
  25001. }
  25002. }
  25003. },
  25004. "models.Ermcp3TradeLinkDetail": {
  25005. "type": "object",
  25006. "properties": {
  25007. "accountid": {
  25008. "description": "资金账号",
  25009. "type": "integer"
  25010. },
  25011. "agreeunit": {
  25012. "description": "合约乘数",
  25013. "type": "number"
  25014. },
  25015. "areauserid": {
  25016. "description": "所属机构",
  25017. "type": "string"
  25018. },
  25019. "bizsubjectid": {
  25020. "description": "归属业务部门ID - SubjectID",
  25021. "type": "string"
  25022. },
  25023. "buyorsell": {
  25024. "description": "方向 - 0:买 1:卖",
  25025. "type": "integer"
  25026. },
  25027. "channelbuildtype": {
  25028. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25029. "type": "integer"
  25030. },
  25031. "contractno": {
  25032. "description": "现货编号 (合同编号)",
  25033. "type": "string"
  25034. },
  25035. "convertratio": {
  25036. "description": "折算系数",
  25037. "type": "number"
  25038. },
  25039. "createtime": {
  25040. "description": "关联时间 | 创建时间",
  25041. "type": "string"
  25042. },
  25043. "creatorid": {
  25044. "description": "创建人ID",
  25045. "type": "string"
  25046. },
  25047. "creatorsrc": {
  25048. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25049. "type": "integer"
  25050. },
  25051. "enumdicname": {
  25052. "description": "单位名称",
  25053. "type": "string"
  25054. },
  25055. "goodscode": {
  25056. "description": "合约代码",
  25057. "type": "string"
  25058. },
  25059. "goodsgroupid": {
  25060. "description": "对冲品种ID[期货合约商品组ID]",
  25061. "type": "integer"
  25062. },
  25063. "goodsid": {
  25064. "description": "商品ID",
  25065. "type": "integer"
  25066. },
  25067. "goodsname": {
  25068. "description": "合约名称",
  25069. "type": "string"
  25070. },
  25071. "hedgeflag": {
  25072. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25073. "type": "integer"
  25074. },
  25075. "linkdetailid": {
  25076. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25077. "type": "string"
  25078. },
  25079. "linkstatus": {
  25080. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25081. "type": "integer"
  25082. },
  25083. "middlegoodscode": {
  25084. "description": "套保品种代码",
  25085. "type": "string"
  25086. },
  25087. "middlegoodsid": {
  25088. "description": "套保品种ID",
  25089. "type": "integer"
  25090. },
  25091. "middlegoodsname": {
  25092. "description": "套保品种名称",
  25093. "type": "string"
  25094. },
  25095. "relatedlot": {
  25096. "description": "关联手数",
  25097. "type": "number"
  25098. },
  25099. "relatedmode": {
  25100. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  25101. "type": "integer"
  25102. },
  25103. "relatedqty": {
  25104. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  25105. "type": "number"
  25106. },
  25107. "retcode": {
  25108. "description": "返回码",
  25109. "type": "integer"
  25110. },
  25111. "saleuserid": {
  25112. "description": "业务员ID",
  25113. "type": "string"
  25114. },
  25115. "spotcontractid": {
  25116. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  25117. "type": "string"
  25118. },
  25119. "taname": {
  25120. "description": "期货账户",
  25121. "type": "string"
  25122. },
  25123. "tradedate": {
  25124. "description": "关联交易日(yyyyMMdd)",
  25125. "type": "string"
  25126. },
  25127. "tradeid": {
  25128. "description": "期货订单号 | 内部成交单ID",
  25129. "type": "string"
  25130. },
  25131. "tradelot": {
  25132. "description": "成交数量 | 成交手数",
  25133. "type": "integer"
  25134. },
  25135. "tradeprice": {
  25136. "description": "成交价格",
  25137. "type": "number"
  25138. },
  25139. "tradetime": {
  25140. "description": "期货成交时间",
  25141. "type": "string"
  25142. },
  25143. "tradetradedate": {
  25144. "description": "成交交易日(yyyyMMdd)",
  25145. "type": "string"
  25146. },
  25147. "username": {
  25148. "description": "用户名称",
  25149. "type": "string"
  25150. }
  25151. }
  25152. },
  25153. "models.Ermcp3Wrstandard": {
  25154. "type": "object",
  25155. "properties": {
  25156. "areauserid": {
  25157. "description": "所属机构",
  25158. "type": "integer"
  25159. },
  25160. "cantrade": {
  25161. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  25162. "type": "integer"
  25163. },
  25164. "convertfactor": {
  25165. "description": "标仓系数",
  25166. "type": "number"
  25167. },
  25168. "createtime": {
  25169. "description": "创建时间",
  25170. "type": "string"
  25171. },
  25172. "creatorid": {
  25173. "description": "创建人",
  25174. "type": "integer"
  25175. },
  25176. "deliverygoodsid": {
  25177. "description": "现货品种ID",
  25178. "type": "integer"
  25179. },
  25180. "enumdicname": {
  25181. "description": "品类单位名称",
  25182. "type": "string"
  25183. },
  25184. "isvalid": {
  25185. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  25186. "type": "integer"
  25187. },
  25188. "minivalue": {
  25189. "description": "最小变动值",
  25190. "type": "integer"
  25191. },
  25192. "minivaluedp": {
  25193. "description": "最小变动值小数位",
  25194. "type": "integer"
  25195. },
  25196. "realminivalue": {
  25197. "description": "实际最小变动值",
  25198. "type": "integer"
  25199. },
  25200. "realminivaluedp": {
  25201. "description": "实际最小变动值小数位",
  25202. "type": "integer"
  25203. },
  25204. "remark": {
  25205. "description": "备注",
  25206. "type": "string"
  25207. },
  25208. "unitid": {
  25209. "description": "品类单位ID",
  25210. "type": "integer"
  25211. },
  25212. "updatetime": {
  25213. "description": "更新时间",
  25214. "type": "string"
  25215. },
  25216. "wrstandardcode": {
  25217. "description": "品类代码",
  25218. "type": "string"
  25219. },
  25220. "wrstandardid": {
  25221. "description": "品类ID(SEQ_WRSTANDARD)",
  25222. "type": "integer"
  25223. },
  25224. "wrstandardname": {
  25225. "description": "品类名称",
  25226. "type": "string"
  25227. }
  25228. }
  25229. },
  25230. "models.ErmcpBizGroupEx": {
  25231. "type": "object",
  25232. "properties": {
  25233. "acclist": {
  25234. "description": "账号列表",
  25235. "type": "array",
  25236. "items": {
  25237. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  25238. }
  25239. },
  25240. "bizgroupid": {
  25241. "description": "业务分组id",
  25242. "type": "integer"
  25243. },
  25244. "biztype": {
  25245. "description": "业务类型 1-套保 2-套利",
  25246. "type": "integer"
  25247. },
  25248. "wrlist": {
  25249. "description": "现货商品表",
  25250. "type": "array",
  25251. "items": {
  25252. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  25253. }
  25254. }
  25255. }
  25256. },
  25257. "models.ErmcpBizGroupSpotGoods": {
  25258. "type": "object",
  25259. "properties": {
  25260. "areauserid": {
  25261. "description": "所属机构id",
  25262. "type": "integer"
  25263. },
  25264. "bizgroupid": {
  25265. "description": "分组id",
  25266. "type": "integer"
  25267. },
  25268. "biztype": {
  25269. "description": "业务类型 1-套保 2-套利",
  25270. "type": "integer"
  25271. },
  25272. "deliverygoodscode": {
  25273. "description": "现货商品代码",
  25274. "type": "string"
  25275. },
  25276. "deliverygoodsid": {
  25277. "description": "现货商品id",
  25278. "type": "integer"
  25279. },
  25280. "deliverygoodsname": {
  25281. "description": "现货商品名称",
  25282. "type": "string"
  25283. },
  25284. "unitid": {
  25285. "description": "现货商品单位id",
  25286. "type": "integer"
  25287. }
  25288. }
  25289. },
  25290. "models.ErmcpBizGroupTaAccount": {
  25291. "type": "object",
  25292. "properties": {
  25293. "accountid": {
  25294. "description": "账号id",
  25295. "type": "integer"
  25296. },
  25297. "accountname": {
  25298. "description": "账号名称",
  25299. "type": "string"
  25300. },
  25301. "areauserid": {
  25302. "description": "所属机构id",
  25303. "type": "integer"
  25304. },
  25305. "bizgroupid": {
  25306. "description": "业务分组id",
  25307. "type": "integer"
  25308. },
  25309. "ismain": {
  25310. "description": "是否主账号 1-是 0-否",
  25311. "type": "integer"
  25312. }
  25313. }
  25314. },
  25315. "models.ErmcpDGFactoryItem": {
  25316. "type": "object",
  25317. "properties": {
  25318. "areauserid": {
  25319. "description": "用户id",
  25320. "type": "integer"
  25321. },
  25322. "deliverygoodsid": {
  25323. "description": "现货品种ID",
  25324. "type": "integer"
  25325. },
  25326. "dgfactoryitemid": {
  25327. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  25328. "type": "integer"
  25329. },
  25330. "dgfactoryitemtypeid": {
  25331. "description": "要素项类型",
  25332. "type": "integer"
  25333. },
  25334. "dgfactoryitemvalue": {
  25335. "description": "要素项值(类型为仓库时填写仓库名称)",
  25336. "type": "string"
  25337. },
  25338. "isvalid": {
  25339. "description": "是否有效 - 0:无效 1:有效",
  25340. "type": "integer"
  25341. },
  25342. "orderindex": {
  25343. "description": "顺序",
  25344. "type": "integer"
  25345. },
  25346. "warehouseid": {
  25347. "description": "仓库ID(类型为仓库时填写)",
  25348. "type": "integer"
  25349. }
  25350. }
  25351. },
  25352. "models.ErmcpDeliveryGoods": {
  25353. "type": "object",
  25354. "properties": {
  25355. "agreeunit": {
  25356. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  25357. "type": "integer"
  25358. },
  25359. "areauserid": {
  25360. "description": "所属机构",
  25361. "type": "integer"
  25362. },
  25363. "auditflag": {
  25364. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  25365. "type": "integer"
  25366. },
  25367. "categoryid": {
  25368. "description": "类别ID(SEQ_WRCATEGORY)",
  25369. "type": "integer"
  25370. },
  25371. "deliverygoodscode": {
  25372. "description": "现货品种代码",
  25373. "type": "string"
  25374. },
  25375. "deliverygoodsid": {
  25376. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  25377. "type": "integer"
  25378. },
  25379. "deliverygoodsname": {
  25380. "description": "现货品种名称",
  25381. "type": "string"
  25382. },
  25383. "deliverygoodstype": {
  25384. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  25385. "type": "integer"
  25386. },
  25387. "dgstatus": {
  25388. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  25389. "type": "integer"
  25390. },
  25391. "enumdicname": {
  25392. "description": "现货品种单位名称",
  25393. "type": "string"
  25394. },
  25395. "goodsunitid": {
  25396. "description": "现货品种单位ID",
  25397. "type": "integer"
  25398. },
  25399. "isvalid": {
  25400. "description": "是否有效 - 0:无效 1:有效",
  25401. "type": "integer"
  25402. },
  25403. "qtydecimalplace": {
  25404. "description": "成交量小数位",
  25405. "type": "integer"
  25406. },
  25407. "remark": {
  25408. "description": "备注",
  25409. "type": "string"
  25410. },
  25411. "standardqty": {
  25412. "description": "标准数量(库位数量) [标准品特有]",
  25413. "type": "integer"
  25414. },
  25415. "standardqtyrange": {
  25416. "description": "标准数量偏差范围 [标准品特有]",
  25417. "type": "integer"
  25418. }
  25419. }
  25420. },
  25421. "models.ErmcpFuturesCompany": {
  25422. "type": "object",
  25423. "properties": {
  25424. "brokerid": {
  25425. "description": "经纪公司代码",
  25426. "type": "string"
  25427. },
  25428. "channeladdress": {
  25429. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  25430. "type": "string"
  25431. },
  25432. "channelid": {
  25433. "description": "对冲渠道ID",
  25434. "type": "string"
  25435. },
  25436. "createtime": {
  25437. "description": "创建时间",
  25438. "type": "string"
  25439. },
  25440. "creatorid": {
  25441. "description": "创建人",
  25442. "type": "string"
  25443. },
  25444. "fcid": {
  25445. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  25446. "type": "integer"
  25447. },
  25448. "fcname": {
  25449. "description": "期货公司名称",
  25450. "type": "string"
  25451. },
  25452. "isvalid": {
  25453. "description": "是否有效 - 0:无效 1:有效",
  25454. "type": "integer"
  25455. },
  25456. "mhpaddress": {
  25457. "description": "MHP服务地址(IP:Port)",
  25458. "type": "string"
  25459. },
  25460. "riskrulegroupid": {
  25461. "description": "风控规则组ID",
  25462. "type": "string"
  25463. },
  25464. "tradefeetmpid": {
  25465. "description": "手续费模板ID[TradeConfigTmpType为2]",
  25466. "type": "string"
  25467. },
  25468. "trademargintmpid": {
  25469. "description": "保证金模板ID [TradeConfigTmpType为1]",
  25470. "type": "string"
  25471. },
  25472. "traderatetmpid": {
  25473. "description": "汇率模板ID[TradeConfigTmpType为3]",
  25474. "type": "string"
  25475. },
  25476. "updatetime": {
  25477. "description": "更新时间",
  25478. "type": "string"
  25479. },
  25480. "updatorid": {
  25481. "description": "更新人",
  25482. "type": "string"
  25483. }
  25484. }
  25485. },
  25486. "models.ErmcpGGConvertCfg": {
  25487. "type": "object",
  25488. "properties": {
  25489. "convertratio": {
  25490. "description": "折算系数",
  25491. "type": "number"
  25492. },
  25493. "destgoodsgroupid": {
  25494. "description": "目标品种ID",
  25495. "type": "integer"
  25496. },
  25497. "dstcode": {
  25498. "description": "目录品种代码",
  25499. "type": "string"
  25500. },
  25501. "dstexchangecode": {
  25502. "description": "目标期货交易所",
  25503. "type": "string"
  25504. },
  25505. "dstname": {
  25506. "description": "目标品种名称",
  25507. "type": "string"
  25508. },
  25509. "dstunitid": {
  25510. "description": "目标品种单位ID",
  25511. "type": "integer"
  25512. },
  25513. "dstunitidname": {
  25514. "description": "目标品种单位名称",
  25515. "type": "string"
  25516. },
  25517. "modifytime": {
  25518. "description": "修改时间",
  25519. "type": "string"
  25520. },
  25521. "srccode": {
  25522. "description": "源品种代码",
  25523. "type": "string"
  25524. },
  25525. "srcexchangecode": {
  25526. "description": "源期货交易所",
  25527. "type": "string"
  25528. },
  25529. "srcgoodsgroupid": {
  25530. "description": "源品种ID",
  25531. "type": "integer"
  25532. },
  25533. "srcname": {
  25534. "description": "源品种名称",
  25535. "type": "string"
  25536. },
  25537. "srcunitid": {
  25538. "description": "源品种单位ID",
  25539. "type": "integer"
  25540. },
  25541. "srcunitidname": {
  25542. "description": "源品种单位名称",
  25543. "type": "string"
  25544. }
  25545. }
  25546. },
  25547. "models.ErmcpGoods": {
  25548. "type": "object",
  25549. "required": [
  25550. "goodscode",
  25551. "goodsid",
  25552. "goodsname",
  25553. "marketid"
  25554. ],
  25555. "properties": {
  25556. "agreeunit": {
  25557. "description": "合约单位",
  25558. "type": "number"
  25559. },
  25560. "areauserid": {
  25561. "description": "所属机构",
  25562. "type": "integer"
  25563. },
  25564. "auditaccountid": {
  25565. "description": "审核操作员账号",
  25566. "type": "integer"
  25567. },
  25568. "audittime": {
  25569. "description": "审核时间",
  25570. "type": "string"
  25571. },
  25572. "cancelaccountid": {
  25573. "description": "注销操作员账号",
  25574. "type": "integer"
  25575. },
  25576. "canceltime": {
  25577. "description": "注销时间",
  25578. "type": "string"
  25579. },
  25580. "closepricemode": {
  25581. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25582. "type": "integer"
  25583. },
  25584. "closepriceparam": {
  25585. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25586. "type": "number"
  25587. },
  25588. "createtime": {
  25589. "description": "创建时间",
  25590. "type": "string"
  25591. },
  25592. "creatorid": {
  25593. "description": "创建人",
  25594. "type": "integer"
  25595. },
  25596. "currencyid": {
  25597. "description": "报价货币ID",
  25598. "type": "integer"
  25599. },
  25600. "cutmode": {
  25601. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25602. "type": "integer"
  25603. },
  25604. "decimalplace": {
  25605. "description": "报价小数位",
  25606. "type": "integer"
  25607. },
  25608. "delistingdate": {
  25609. "description": "商品退市时间(状态:退市) -- 已作废",
  25610. "type": "string"
  25611. },
  25612. "delistingmode": {
  25613. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25614. "type": "integer"
  25615. },
  25616. "deliveryflag": {
  25617. "description": "交割标志 - 0:不可交割 1:可交割",
  25618. "type": "integer"
  25619. },
  25620. "enumdicname": {
  25621. "description": "单位名称",
  25622. "type": "string"
  25623. },
  25624. "forceclosemode": {
  25625. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25626. "type": "integer"
  25627. },
  25628. "forceclosevalue": {
  25629. "description": "定期强平参数 [收益权]",
  25630. "type": "integer"
  25631. },
  25632. "goodscode": {
  25633. "description": "商品代码(内部)",
  25634. "type": "string"
  25635. },
  25636. "goodscurrencyid": {
  25637. "description": "合约货币ID",
  25638. "type": "integer"
  25639. },
  25640. "goodsgroupid": {
  25641. "description": "所属商品组ID",
  25642. "type": "integer"
  25643. },
  25644. "goodsid": {
  25645. "description": "商品ID(自增ID SEQ_GOODS)",
  25646. "type": "integer"
  25647. },
  25648. "goodsname": {
  25649. "description": "商品名称",
  25650. "type": "string"
  25651. },
  25652. "goodsquotetype": {
  25653. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25654. "type": "integer"
  25655. },
  25656. "goodsstatus": {
  25657. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25658. "type": "integer"
  25659. },
  25660. "goodstradetype": {
  25661. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25662. "type": "integer"
  25663. },
  25664. "goodunitid": {
  25665. "description": "报价单位ID",
  25666. "type": "integer"
  25667. },
  25668. "hasquoter": {
  25669. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25670. "type": "integer"
  25671. },
  25672. "hqprotecttime": {
  25673. "description": "行情保护时间(秒)",
  25674. "type": "integer"
  25675. },
  25676. "innerdealmode": {
  25677. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25678. "type": "integer"
  25679. },
  25680. "isbuylimited": {
  25681. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25682. "type": "integer"
  25683. },
  25684. "isvisible": {
  25685. "description": "游客是否可见 - 0:不可见 1:可见",
  25686. "type": "integer"
  25687. },
  25688. "lasttradedate": {
  25689. "description": "最后交易日期(状态:待退市)",
  25690. "type": "string"
  25691. },
  25692. "listingdate": {
  25693. "description": "交易开始日期",
  25694. "type": "string"
  25695. },
  25696. "marketid": {
  25697. "description": "所属市场ID",
  25698. "type": "integer"
  25699. },
  25700. "modifierid": {
  25701. "description": "修改人",
  25702. "type": "integer"
  25703. },
  25704. "modifystatus": {
  25705. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25706. "type": "integer"
  25707. },
  25708. "modifytime": {
  25709. "description": "修改时间",
  25710. "type": "string"
  25711. },
  25712. "outerdealmode": {
  25713. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25714. "type": "integer"
  25715. },
  25716. "outgoodscode": {
  25717. "description": "商品代码(外部)",
  25718. "type": "string"
  25719. },
  25720. "pictureurl": {
  25721. "description": "商品图片",
  25722. "type": "string"
  25723. },
  25724. "qtydecimalplace": {
  25725. "description": "成交量小数位",
  25726. "type": "integer"
  25727. },
  25728. "quotegear": {
  25729. "description": "行情档位(1-10)",
  25730. "type": "integer"
  25731. },
  25732. "quoteminunit": {
  25733. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25734. "type": "integer"
  25735. },
  25736. "quoteshowtype": {
  25737. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25738. "type": "integer"
  25739. },
  25740. "quoteshowtypeinterval": {
  25741. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25742. "type": "integer"
  25743. },
  25744. "relatedgoodsid": {
  25745. "description": "关联参考商品ID",
  25746. "type": "integer"
  25747. },
  25748. "remark": {
  25749. "description": "备注",
  25750. "type": "string"
  25751. },
  25752. "trademode": {
  25753. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25754. "type": "integer"
  25755. }
  25756. }
  25757. },
  25758. "models.ErmcpGoodsBrand": {
  25759. "type": "object",
  25760. "properties": {
  25761. "areauserid": {
  25762. "description": "所属机构",
  25763. "type": "integer"
  25764. },
  25765. "brandid": {
  25766. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  25767. "type": "integer"
  25768. },
  25769. "brandname": {
  25770. "description": "品牌名称",
  25771. "type": "string"
  25772. },
  25773. "createtime": {
  25774. "description": "创建时间",
  25775. "type": "string"
  25776. },
  25777. "creatorid": {
  25778. "description": "创建人",
  25779. "type": "integer"
  25780. },
  25781. "creatorsrc": {
  25782. "description": "创建人来源 - 1:管理端 2:终端",
  25783. "type": "integer"
  25784. },
  25785. "deliverygoodsid": {
  25786. "description": "现货品种ID",
  25787. "type": "integer"
  25788. },
  25789. "isvalid": {
  25790. "description": "是否有效 - 0:无效 1:有效",
  25791. "type": "integer"
  25792. },
  25793. "updatetime": {
  25794. "description": "更新时间",
  25795. "type": "string"
  25796. },
  25797. "updatorid": {
  25798. "description": "更新人",
  25799. "type": "integer"
  25800. },
  25801. "updatorsrc": {
  25802. "description": "更新人来源 - 1:管理端 2:终端",
  25803. "type": "integer"
  25804. },
  25805. "wrstandardid": {
  25806. "description": "现货商品ID",
  25807. "type": "integer"
  25808. }
  25809. }
  25810. },
  25811. "models.ErmcpGoodsModel": {
  25812. "type": "object",
  25813. "properties": {
  25814. "areauserid": {
  25815. "description": "所属机构",
  25816. "type": "integer"
  25817. },
  25818. "convertfactor": {
  25819. "description": "标仓系数",
  25820. "type": "number"
  25821. },
  25822. "createtime": {
  25823. "description": "创建时间",
  25824. "type": "string"
  25825. },
  25826. "creatorid": {
  25827. "description": "创建人",
  25828. "type": "integer"
  25829. },
  25830. "creatorsrc": {
  25831. "description": "创建人来源 - 1:管理端 2:终端",
  25832. "type": "integer"
  25833. },
  25834. "deliverygoodsid": {
  25835. "description": "现货品种ID",
  25836. "type": "integer"
  25837. },
  25838. "isvalid": {
  25839. "description": "是否有效 - 0:无效 1:有效",
  25840. "type": "integer"
  25841. },
  25842. "modelid": {
  25843. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  25844. "type": "integer"
  25845. },
  25846. "modelname": {
  25847. "description": "型号名称",
  25848. "type": "string"
  25849. },
  25850. "updatetime": {
  25851. "description": "更新时间",
  25852. "type": "string"
  25853. },
  25854. "updatorid": {
  25855. "description": "更新人",
  25856. "type": "integer"
  25857. },
  25858. "updatorsrc": {
  25859. "description": "更新人来源 - 1:管理端 2:终端",
  25860. "type": "integer"
  25861. },
  25862. "wrstandardid": {
  25863. "description": "现货商品ID",
  25864. "type": "integer"
  25865. }
  25866. }
  25867. },
  25868. "models.ErmcpHisExposure": {
  25869. "type": "object",
  25870. "properties": {
  25871. "needhedgeexposoure": {
  25872. "description": "应套保敞口",
  25873. "type": "number"
  25874. },
  25875. "reckondate": {
  25876. "description": "日照时期(yyyyMMdd)",
  25877. "type": "string"
  25878. },
  25879. "totalexposure": {
  25880. "description": "总敞口",
  25881. "type": "number"
  25882. }
  25883. }
  25884. },
  25885. "models.ErmcpLoginTaAccount": {
  25886. "type": "object",
  25887. "properties": {
  25888. "accountid": {
  25889. "description": "账号id",
  25890. "type": "integer"
  25891. },
  25892. "accountname": {
  25893. "description": "账号名称",
  25894. "type": "string"
  25895. }
  25896. }
  25897. },
  25898. "models.ErmcpLoginUser": {
  25899. "type": "object",
  25900. "properties": {
  25901. "acclist": {
  25902. "description": "关联资金账号",
  25903. "type": "array",
  25904. "items": {
  25905. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  25906. }
  25907. },
  25908. "accountname": {
  25909. "description": "用户名称",
  25910. "type": "string"
  25911. },
  25912. "clientroleid": {
  25913. "description": "角色id(usertype=2)",
  25914. "type": "integer"
  25915. },
  25916. "createtime": {
  25917. "description": "创建时间",
  25918. "type": "string"
  25919. },
  25920. "logincode": {
  25921. "description": "登录代码",
  25922. "type": "string"
  25923. },
  25924. "loginid": {
  25925. "description": "登录id(LOGINID)",
  25926. "type": "integer"
  25927. },
  25928. "loginname": {
  25929. "description": "登录名称(loginaccount表中的accountname字段)",
  25930. "type": "string"
  25931. },
  25932. "loginstatus": {
  25933. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  25934. "type": "integer"
  25935. },
  25936. "memberuserid": {
  25937. "description": "所属会员id",
  25938. "type": "integer"
  25939. },
  25940. "mobile": {
  25941. "description": "手机号",
  25942. "type": "string"
  25943. },
  25944. "modifytime": {
  25945. "description": "修改时间",
  25946. "type": "string"
  25947. },
  25948. "password": {
  25949. "description": "密码(不可解密)",
  25950. "type": "string"
  25951. },
  25952. "rolename": {
  25953. "description": "角色名称",
  25954. "type": "string"
  25955. },
  25956. "rolestatus": {
  25957. "description": "角色状态 1-启用 2-停用",
  25958. "type": "integer"
  25959. },
  25960. "roletype": {
  25961. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  25962. "type": "string"
  25963. },
  25964. "userid": {
  25965. "description": "用户id",
  25966. "type": "integer"
  25967. },
  25968. "usertype": {
  25969. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25970. "type": "integer"
  25971. }
  25972. }
  25973. },
  25974. "models.ErmcpLoginUserEx": {
  25975. "type": "object",
  25976. "properties": {
  25977. "accountstatus": {
  25978. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25979. "type": "integer"
  25980. },
  25981. "mobile": {
  25982. "description": "手机号",
  25983. "type": "string"
  25984. },
  25985. "querytype": {
  25986. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  25987. "type": "integer"
  25988. },
  25989. "roleid": {
  25990. "description": "角色id(交易账户-\u003e用户id)",
  25991. "type": "integer"
  25992. },
  25993. "rolename": {
  25994. "description": "角色名称(交易账户-\u003e用户名称)",
  25995. "type": "string"
  25996. },
  25997. "userlist": {
  25998. "description": "用户列表",
  25999. "type": "array",
  26000. "items": {
  26001. "$ref": "#/definitions/models.ErmcpLoginUser"
  26002. }
  26003. },
  26004. "usertype": {
  26005. "description": "用户类型 2-机构 7-企业成员(云平台)",
  26006. "type": "integer"
  26007. }
  26008. }
  26009. },
  26010. "models.ErmcpMiddleGoodsModel": {
  26011. "type": "object",
  26012. "properties": {
  26013. "areauserid": {
  26014. "description": "机构用户ID",
  26015. "type": "integer"
  26016. },
  26017. "createtime": {
  26018. "description": "修改时间",
  26019. "type": "string"
  26020. },
  26021. "enumdicname": {
  26022. "description": "单位名称",
  26023. "type": "string"
  26024. },
  26025. "evaluateratio": {
  26026. "description": "估价系数",
  26027. "type": "number"
  26028. },
  26029. "goodsgroupid": {
  26030. "description": "关联期货品种ID",
  26031. "type": "integer"
  26032. },
  26033. "goodsunitid": {
  26034. "description": "单位ID",
  26035. "type": "integer"
  26036. },
  26037. "isvalid": {
  26038. "description": "状态 0-无效(停用) 1-有效(正常)",
  26039. "type": "integer"
  26040. },
  26041. "middlegoodscode": {
  26042. "description": "套保品种代码",
  26043. "type": "string"
  26044. },
  26045. "middlegoodsid": {
  26046. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  26047. "type": "integer"
  26048. },
  26049. "middlegoodsname": {
  26050. "description": "套保品种名称",
  26051. "type": "string"
  26052. },
  26053. "modifytime": {
  26054. "description": "修改时间",
  26055. "type": "string"
  26056. },
  26057. "needarbitrageratio": {
  26058. "description": "套利比例",
  26059. "type": "number"
  26060. },
  26061. "needhedgeratio": {
  26062. "description": "套保比率",
  26063. "type": "number"
  26064. },
  26065. "qtydecimalplace": {
  26066. "description": "数量小数位",
  26067. "type": "integer"
  26068. },
  26069. "relatedgoodsid": {
  26070. "description": "关联交易商品ID",
  26071. "type": "integer"
  26072. },
  26073. "relatedgoodstype": {
  26074. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  26075. "type": "integer"
  26076. },
  26077. "remark": {
  26078. "description": "备注",
  26079. "type": "string"
  26080. }
  26081. }
  26082. },
  26083. "models.ErmcpMiddlegoodsRelateGoods": {
  26084. "type": "object",
  26085. "properties": {
  26086. "agreeunit": {
  26087. "description": "合约乘数",
  26088. "type": "number"
  26089. },
  26090. "convertratio": {
  26091. "description": "折算系数",
  26092. "type": "number"
  26093. },
  26094. "enumdicname": {
  26095. "description": "单位名称(交易商品)",
  26096. "type": "string"
  26097. },
  26098. "goodscode": {
  26099. "description": "交易商品代码",
  26100. "type": "string"
  26101. },
  26102. "goodsgroupid": {
  26103. "description": "交易品种id",
  26104. "type": "integer"
  26105. },
  26106. "goodsid": {
  26107. "description": "商品Id",
  26108. "type": "integer"
  26109. },
  26110. "goodsname": {
  26111. "description": "交易商品名称",
  26112. "type": "string"
  26113. },
  26114. "goodunitid": {
  26115. "description": "交易商品单位id",
  26116. "type": "integer"
  26117. },
  26118. "middlegoodsid": {
  26119. "description": "套保商品id",
  26120. "type": "integer"
  26121. },
  26122. "middlegoodsname": {
  26123. "description": "套保商品名称",
  26124. "type": "string"
  26125. },
  26126. "middlegoodsswcode": {
  26127. "description": "套保商品代码",
  26128. "type": "string"
  26129. },
  26130. "needarbitrageratio": {
  26131. "description": "应套利比例",
  26132. "type": "number"
  26133. },
  26134. "needhedgeratio": {
  26135. "description": "应套保比例",
  26136. "type": "number"
  26137. }
  26138. }
  26139. },
  26140. "models.ErmcpRole": {
  26141. "type": "object",
  26142. "properties": {
  26143. "areauserid": {
  26144. "description": "所属机构",
  26145. "type": "integer"
  26146. },
  26147. "autoid": {
  26148. "description": "角色ID(自增ID)",
  26149. "type": "integer"
  26150. },
  26151. "modifierid": {
  26152. "description": "修改人(创建人)",
  26153. "type": "integer"
  26154. },
  26155. "modifiername": {
  26156. "description": "修改人名称",
  26157. "type": "string"
  26158. },
  26159. "modifytime": {
  26160. "description": "修改时间(创建时间)",
  26161. "type": "string"
  26162. },
  26163. "rolename": {
  26164. "description": "角色名称",
  26165. "type": "string"
  26166. },
  26167. "rolestatus": {
  26168. "description": "角色状态 - 1:启用 2:停用",
  26169. "type": "integer"
  26170. },
  26171. "roletype": {
  26172. "description": "角色类型 - 1- 管理端 2- 交易端",
  26173. "type": "integer"
  26174. }
  26175. }
  26176. },
  26177. "models.ErmcpRoleMenu": {
  26178. "type": "object",
  26179. "properties": {
  26180. "iconame": {
  26181. "description": "菜单图标",
  26182. "type": "string"
  26183. },
  26184. "ishadrole": {
  26185. "description": "是否有权限",
  26186. "type": "boolean"
  26187. },
  26188. "menutype": {
  26189. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  26190. "type": "integer"
  26191. },
  26192. "parentcode": {
  26193. "description": "上级资源代码",
  26194. "type": "string"
  26195. },
  26196. "remark": {
  26197. "description": "菜单备注",
  26198. "type": "string"
  26199. },
  26200. "resourcecode": {
  26201. "description": "菜单代码",
  26202. "type": "string"
  26203. },
  26204. "resourcelevel": {
  26205. "description": "级别",
  26206. "type": "integer"
  26207. },
  26208. "resourcename": {
  26209. "description": "菜单名称",
  26210. "type": "string"
  26211. },
  26212. "roleid": {
  26213. "description": "角色id",
  26214. "type": "integer"
  26215. },
  26216. "sort": {
  26217. "description": "排序",
  26218. "type": "integer"
  26219. },
  26220. "url": {
  26221. "description": "URL",
  26222. "type": "string"
  26223. },
  26224. "userid": {
  26225. "description": "用户id",
  26226. "type": "integer"
  26227. }
  26228. }
  26229. },
  26230. "models.ErmcpRoleMenuEx": {
  26231. "type": "object",
  26232. "properties": {
  26233. "menu": {
  26234. "description": "父级菜单",
  26235. "$ref": "#/definitions/models.ErmcpRoleMenu"
  26236. },
  26237. "subMenu": {
  26238. "description": "子级菜单",
  26239. "type": "array",
  26240. "items": {
  26241. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  26242. }
  26243. }
  26244. }
  26245. },
  26246. "models.ErmcpTaAccount": {
  26247. "type": "object",
  26248. "properties": {
  26249. "accountid": {
  26250. "description": "账户id",
  26251. "type": "integer"
  26252. },
  26253. "accountname": {
  26254. "description": "账户名称",
  26255. "type": "string"
  26256. },
  26257. "currencyid": {
  26258. "description": "币种id",
  26259. "type": "integer"
  26260. },
  26261. "hedgeaccountcode": {
  26262. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  26263. "type": "string"
  26264. },
  26265. "ismain": {
  26266. "description": "是否主账户 0-否 1-是",
  26267. "type": "integer"
  26268. },
  26269. "parentaccountid": {
  26270. "description": "父账户id",
  26271. "type": "integer"
  26272. },
  26273. "relateduserid": {
  26274. "description": "关联userid",
  26275. "type": "integer"
  26276. },
  26277. "tradefeetmpid": {
  26278. "description": "手续费模板id",
  26279. "type": "integer"
  26280. },
  26281. "tradefeetmpname": {
  26282. "description": "手续费模板名称",
  26283. "type": "string"
  26284. },
  26285. "trademargintmpid": {
  26286. "description": "保证金模板id",
  26287. "type": "integer"
  26288. },
  26289. "trademargintmpname": {
  26290. "description": "保证金模板名称",
  26291. "type": "string"
  26292. },
  26293. "traderatetmpid": {
  26294. "description": "汇率模板id",
  26295. "type": "integer"
  26296. },
  26297. "traderatetmpname": {
  26298. "description": "汇率模板名称",
  26299. "type": "string"
  26300. },
  26301. "tradestatus": {
  26302. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26303. "type": "integer"
  26304. },
  26305. "userid": {
  26306. "description": "用户id",
  26307. "type": "integer"
  26308. }
  26309. }
  26310. },
  26311. "models.ErmcpTaAccountEx": {
  26312. "type": "object",
  26313. "properties": {
  26314. "mainAcc": {
  26315. "description": "主账号",
  26316. "$ref": "#/definitions/models.ErmcpTaAccountM"
  26317. },
  26318. "subacclist": {
  26319. "description": "子账号列表",
  26320. "type": "array",
  26321. "items": {
  26322. "$ref": "#/definitions/models.ErmcpTaAccount"
  26323. }
  26324. }
  26325. }
  26326. },
  26327. "models.ErmcpTaAccountInfo": {
  26328. "type": "object",
  26329. "properties": {
  26330. "accountid": {
  26331. "description": "资金账户ID",
  26332. "type": "integer"
  26333. },
  26334. "accountname": {
  26335. "description": "账户名称",
  26336. "type": "string"
  26337. },
  26338. "balance": {
  26339. "description": "期初余额",
  26340. "type": "number"
  26341. },
  26342. "capitalbalance": {
  26343. "description": "本金余额[外部子账户实际出入金余额]",
  26344. "type": "number"
  26345. },
  26346. "closepl": {
  26347. "description": "今日平仓盈亏",
  26348. "type": "number"
  26349. },
  26350. "creditdecrease": {
  26351. "description": "今日授信减少",
  26352. "type": "number"
  26353. },
  26354. "creditincrease": {
  26355. "description": "今日授信增加",
  26356. "type": "number"
  26357. },
  26358. "curdebt": {
  26359. "description": "期末欠款",
  26360. "type": "number"
  26361. },
  26362. "currencyid": {
  26363. "description": "货币ID",
  26364. "type": "integer"
  26365. },
  26366. "currentbalance": {
  26367. "description": "期末余额",
  26368. "type": "number"
  26369. },
  26370. "freezecharge": {
  26371. "description": "手续费冻结",
  26372. "type": "number"
  26373. },
  26374. "freezemargin": {
  26375. "description": "冻结保证金",
  26376. "type": "number"
  26377. },
  26378. "fromaccountid": {
  26379. "description": "所属上级账户",
  26380. "type": "integer"
  26381. },
  26382. "inamount": {
  26383. "description": "今日入金金额(包括三方入金)",
  26384. "type": "number"
  26385. },
  26386. "ismain": {
  26387. "description": "是否母账号 0:不是母账户 1:是母账户",
  26388. "type": "integer"
  26389. },
  26390. "mortgagecredit": {
  26391. "description": "授信金额",
  26392. "type": "number"
  26393. },
  26394. "oridebt": {
  26395. "description": "期初欠款",
  26396. "type": "number"
  26397. },
  26398. "orifreezecharge": {
  26399. "description": "期初手续费冻结",
  26400. "type": "number"
  26401. },
  26402. "orifreezemargin": {
  26403. "description": "期初冻结保证金",
  26404. "type": "number"
  26405. },
  26406. "orimortgagecredit": {
  26407. "description": "期初授信金额",
  26408. "type": "number"
  26409. },
  26410. "oriothercredit": {
  26411. "description": "期初其它授信金额",
  26412. "type": "number"
  26413. },
  26414. "oriotherfreezemargin": {
  26415. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  26416. "type": "number"
  26417. },
  26418. "orioutamountfreeze": {
  26419. "description": "期初出金冻结",
  26420. "type": "number"
  26421. },
  26422. "oriusedmargin": {
  26423. "description": "期初占用保证金",
  26424. "type": "number"
  26425. },
  26426. "othercredit": {
  26427. "description": "其它授信金额",
  26428. "type": "number"
  26429. },
  26430. "othercreditdecrease": {
  26431. "description": "今日其它授信减少",
  26432. "type": "number"
  26433. },
  26434. "othercreditincrease": {
  26435. "description": "今日其它授信增加",
  26436. "type": "number"
  26437. },
  26438. "otherfreezemargin": {
  26439. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  26440. "type": "number"
  26441. },
  26442. "outamount": {
  26443. "description": "今日出金金额(包括三方出金)",
  26444. "type": "number"
  26445. },
  26446. "outamountfreeze": {
  26447. "description": "出金冻结",
  26448. "type": "number"
  26449. },
  26450. "outthreshold": {
  26451. "description": "出金阈值",
  26452. "type": "number"
  26453. },
  26454. "parentaccountid": {
  26455. "description": "所属根账号",
  26456. "type": "integer"
  26457. },
  26458. "paycharge": {
  26459. "description": "今日手续费支出",
  26460. "type": "number"
  26461. },
  26462. "relateduserid": {
  26463. "description": "关联用户",
  26464. "type": "integer"
  26465. },
  26466. "signstatus": {
  26467. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  26468. "type": "integer"
  26469. },
  26470. "sublevelpath": {
  26471. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  26472. "type": "string"
  26473. },
  26474. "taaccounttype": {
  26475. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  26476. "type": "integer"
  26477. },
  26478. "thirdinamount": {
  26479. "description": "今日三方入金",
  26480. "type": "number"
  26481. },
  26482. "thirdoutamount": {
  26483. "description": "今日三方出金",
  26484. "type": "number"
  26485. },
  26486. "tradestatus": {
  26487. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26488. "type": "integer"
  26489. },
  26490. "transferamount": {
  26491. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  26492. "type": "number"
  26493. },
  26494. "usedmargin": {
  26495. "description": "占用保证金",
  26496. "type": "number"
  26497. },
  26498. "userid": {
  26499. "description": "用户ID",
  26500. "type": "integer"
  26501. }
  26502. }
  26503. },
  26504. "models.ErmcpTaAccountM": {
  26505. "type": "object",
  26506. "properties": {
  26507. "accountid": {
  26508. "description": "账户id",
  26509. "type": "integer"
  26510. },
  26511. "accountname": {
  26512. "description": "账户名称",
  26513. "type": "string"
  26514. },
  26515. "currencyid": {
  26516. "description": "币种id",
  26517. "type": "integer"
  26518. },
  26519. "fcid": {
  26520. "description": "期货公司id",
  26521. "type": "integer"
  26522. },
  26523. "fcname": {
  26524. "description": "期货公司代码",
  26525. "type": "string"
  26526. },
  26527. "hedgeaccountcode": {
  26528. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  26529. "type": "string"
  26530. },
  26531. "ismain": {
  26532. "description": "是否主账户 0-否 1-是",
  26533. "type": "integer"
  26534. },
  26535. "parentaccountid": {
  26536. "description": "父账户id",
  26537. "type": "integer"
  26538. },
  26539. "relateduserid": {
  26540. "description": "关联userid",
  26541. "type": "integer"
  26542. },
  26543. "tradefeetmpid": {
  26544. "description": "手续费模板id",
  26545. "type": "integer"
  26546. },
  26547. "tradefeetmpname": {
  26548. "description": "手续费模板名称",
  26549. "type": "string"
  26550. },
  26551. "trademargintmpid": {
  26552. "description": "保证金模板id",
  26553. "type": "integer"
  26554. },
  26555. "trademargintmpname": {
  26556. "description": "保证金模板名称",
  26557. "type": "string"
  26558. },
  26559. "traderatetmpid": {
  26560. "description": "汇率模板id",
  26561. "type": "integer"
  26562. },
  26563. "traderatetmpname": {
  26564. "description": "汇率模板名称",
  26565. "type": "string"
  26566. },
  26567. "tradestatus": {
  26568. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26569. "type": "integer"
  26570. },
  26571. "userid": {
  26572. "description": "用户id",
  26573. "type": "integer"
  26574. }
  26575. }
  26576. },
  26577. "models.ErmcpTradeConfigTMP": {
  26578. "type": "object",
  26579. "properties": {
  26580. "areauserid": {
  26581. "description": "所属机构",
  26582. "type": "integer"
  26583. },
  26584. "basiccurrencyid": {
  26585. "description": "基本币种ID[汇率] - 目标币种",
  26586. "type": "integer"
  26587. },
  26588. "mainaccountid": {
  26589. "description": "主账户ID",
  26590. "type": "integer"
  26591. },
  26592. "modifierid": {
  26593. "description": "修改人",
  26594. "type": "integer"
  26595. },
  26596. "remark": {
  26597. "description": "备注",
  26598. "type": "string"
  26599. },
  26600. "tradeconfigtmpid": {
  26601. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  26602. "type": "integer"
  26603. },
  26604. "tradeconfigtmpname": {
  26605. "description": "交易配置模板名称",
  26606. "type": "string"
  26607. },
  26608. "tradeconfigtmptype": {
  26609. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  26610. "type": "integer"
  26611. },
  26612. "updatetime": {
  26613. "description": "更新时间",
  26614. "type": "string"
  26615. }
  26616. }
  26617. },
  26618. "models.Ermcpjrlinkpos": {
  26619. "type": "object",
  26620. "required": [
  26621. "spotcontractid"
  26622. ],
  26623. "properties": {
  26624. "areauserid": {
  26625. "description": "所属企业",
  26626. "type": "integer"
  26627. },
  26628. "averageprice": {
  26629. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  26630. "type": "number"
  26631. },
  26632. "closepl": {
  26633. "description": "总平仓盈亏 [期货损益]",
  26634. "type": "number"
  26635. },
  26636. "executeprice": {
  26637. "description": "执行价 - 1:期货单 为 0",
  26638. "type": "integer"
  26639. },
  26640. "futurehedgeqty": {
  26641. "description": "期货套期量",
  26642. "type": "number"
  26643. },
  26644. "goodsid": {
  26645. "description": "期货合约",
  26646. "type": "integer"
  26647. },
  26648. "middlegoodscode": {
  26649. "description": "套保商品代码",
  26650. "type": "string"
  26651. },
  26652. "middlegoodsname": {
  26653. "description": "套保商品名称",
  26654. "type": "string"
  26655. },
  26656. "netqty": {
  26657. "description": "净头寸",
  26658. "type": "number"
  26659. },
  26660. "optioncode": {
  26661. "description": "期权代码",
  26662. "type": "string"
  26663. },
  26664. "ordertype": {
  26665. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  26666. "type": "integer"
  26667. },
  26668. "reckonpl": {
  26669. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  26670. "type": "number"
  26671. },
  26672. "spotcontractid": {
  26673. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  26674. "type": "string"
  26675. },
  26676. "todayfutureclosepl": {
  26677. "description": "今日平仓盈亏",
  26678. "type": "number"
  26679. },
  26680. "totalbuyamount": {
  26681. "description": "买金额 [期货]",
  26682. "type": "number"
  26683. },
  26684. "totalbuyholdamount": {
  26685. "description": "买持仓总金额[期货]",
  26686. "type": "number"
  26687. },
  26688. "totalbuyqty": {
  26689. "description": "买数量",
  26690. "type": "number"
  26691. },
  26692. "totalcharge": {
  26693. "description": "手续费",
  26694. "type": "number"
  26695. },
  26696. "totalpremium": {
  26697. "description": "权利金 [期权]",
  26698. "type": "number"
  26699. },
  26700. "totalsellamount": {
  26701. "description": "卖金额 [期货]",
  26702. "type": "number"
  26703. },
  26704. "totalsellholdamount": {
  26705. "description": "卖持仓总金额[期货]",
  26706. "type": "number"
  26707. },
  26708. "totalsellqty": {
  26709. "description": "卖数量",
  26710. "type": "number"
  26711. },
  26712. "updatetime": {
  26713. "description": "更新时间",
  26714. "type": "string"
  26715. }
  26716. }
  26717. },
  26718. "models.Ermcppatradelinkdetail": {
  26719. "type": "object",
  26720. "required": [
  26721. "hedgeditemid"
  26722. ],
  26723. "properties": {
  26724. "agreeunit": {
  26725. "description": "合约乘数",
  26726. "type": "number"
  26727. },
  26728. "amount": {
  26729. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  26730. "type": "number"
  26731. },
  26732. "areauserid": {
  26733. "description": "所属机构",
  26734. "type": "integer"
  26735. },
  26736. "bizsubjectid": {
  26737. "description": "归属业务部门ID - SubjectID",
  26738. "type": "integer"
  26739. },
  26740. "buyorsell": {
  26741. "description": "方向 - 0:买 1:卖",
  26742. "type": "integer"
  26743. },
  26744. "convertratio": {
  26745. "description": "品种系数",
  26746. "type": "number"
  26747. },
  26748. "createtime": {
  26749. "description": "创建时间",
  26750. "type": "string"
  26751. },
  26752. "creatorid": {
  26753. "description": "创建人ID",
  26754. "type": "integer"
  26755. },
  26756. "creatorsrc": {
  26757. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26758. "type": "integer"
  26759. },
  26760. "goodsgroupid": {
  26761. "description": "对冲品种ID[期货合约商品组ID]",
  26762. "type": "integer"
  26763. },
  26764. "goodsid": {
  26765. "description": "商品ID",
  26766. "type": "integer"
  26767. },
  26768. "hedgeditemid": {
  26769. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  26770. "type": "integer"
  26771. },
  26772. "hedgeflag": {
  26773. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  26774. "type": "integer"
  26775. },
  26776. "linkdetailid": {
  26777. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26778. "type": "string"
  26779. },
  26780. "linkstatus": {
  26781. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26782. "type": "integer"
  26783. },
  26784. "middlegoodsid": {
  26785. "description": "套保品种ID",
  26786. "type": "integer"
  26787. },
  26788. "name": {
  26789. "description": "账户名/子账户",
  26790. "type": "string"
  26791. },
  26792. "optioncode": {
  26793. "description": "[期货合约]期权代码 [期权]",
  26794. "type": "string"
  26795. },
  26796. "ordertype": {
  26797. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  26798. "type": "integer"
  26799. },
  26800. "relatedlot": {
  26801. "description": "[数量]关联手数",
  26802. "type": "number"
  26803. },
  26804. "relatedmode": {
  26805. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26806. "type": "integer"
  26807. },
  26808. "relatedqty": {
  26809. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26810. "type": "number"
  26811. },
  26812. "retcode": {
  26813. "description": "返回码",
  26814. "type": "integer"
  26815. },
  26816. "saleuserid": {
  26817. "description": "业务员ID",
  26818. "type": "integer"
  26819. },
  26820. "tradedate": {
  26821. "description": "关联交易日(yyyyMMdd)",
  26822. "type": "string"
  26823. },
  26824. "tradeid": {
  26825. "description": "[成交单号]内部成交单ID",
  26826. "type": "string"
  26827. },
  26828. "tradelot": {
  26829. "description": "成交手数",
  26830. "type": "integer"
  26831. },
  26832. "tradeprice": {
  26833. "description": "[价格]成交价格",
  26834. "type": "number"
  26835. },
  26836. "tradetime": {
  26837. "description": "日期时间",
  26838. "type": "string"
  26839. },
  26840. "tradetradedate": {
  26841. "description": "成交交易日(yyyyMMdd)",
  26842. "type": "string"
  26843. }
  26844. }
  26845. },
  26846. "models.Externalexchange": {
  26847. "type": "object",
  26848. "required": [
  26849. "autoid"
  26850. ],
  26851. "properties": {
  26852. "autoid": {
  26853. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  26854. "type": "integer"
  26855. },
  26856. "exchangefullname": {
  26857. "description": "外部交易所全称",
  26858. "type": "string"
  26859. },
  26860. "exexchangecode": {
  26861. "description": "外部交易所代码",
  26862. "type": "string"
  26863. },
  26864. "exexchangename": {
  26865. "description": "外部交易所名称(简称)",
  26866. "type": "string"
  26867. },
  26868. "ismarketprice": {
  26869. "description": "是否支持市价 - 0:不支持 1:支持",
  26870. "type": "integer"
  26871. },
  26872. "quotegear": {
  26873. "description": "行情档位(1-10)",
  26874. "type": "integer"
  26875. },
  26876. "showbrokerflag": {
  26877. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  26878. "type": "integer"
  26879. },
  26880. "updatetime": {
  26881. "description": "更新时间",
  26882. "type": "string"
  26883. }
  26884. }
  26885. },
  26886. "models.Funcmenulist": {
  26887. "type": "object",
  26888. "required": [
  26889. "resourcecode"
  26890. ],
  26891. "properties": {
  26892. "iconame": {
  26893. "description": "菜单图标",
  26894. "type": "string"
  26895. },
  26896. "menutype": {
  26897. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  26898. "type": "integer"
  26899. },
  26900. "parentcode": {
  26901. "description": "上级资源代码",
  26902. "type": "string"
  26903. },
  26904. "remark": {
  26905. "description": "备注",
  26906. "type": "string"
  26907. },
  26908. "resourcecode": {
  26909. "description": "资源代码",
  26910. "type": "string"
  26911. },
  26912. "resourcelevel": {
  26913. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  26914. "type": "integer"
  26915. },
  26916. "resourcename": {
  26917. "description": "资源名",
  26918. "type": "string"
  26919. },
  26920. "sort": {
  26921. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  26922. "type": "integer"
  26923. },
  26924. "url": {
  26925. "description": "URL",
  26926. "type": "string"
  26927. }
  26928. }
  26929. },
  26930. "models.Goods": {
  26931. "type": "object",
  26932. "required": [
  26933. "goodscode",
  26934. "goodsid",
  26935. "goodsname",
  26936. "marketid"
  26937. ],
  26938. "properties": {
  26939. "agreeunit": {
  26940. "description": "合约单位",
  26941. "type": "number"
  26942. },
  26943. "areauserid": {
  26944. "description": "所属机构",
  26945. "type": "integer"
  26946. },
  26947. "auditaccountid": {
  26948. "description": "审核操作员账号",
  26949. "type": "integer"
  26950. },
  26951. "audittime": {
  26952. "description": "审核时间",
  26953. "type": "string"
  26954. },
  26955. "cancelaccountid": {
  26956. "description": "注销操作员账号",
  26957. "type": "integer"
  26958. },
  26959. "canceltime": {
  26960. "description": "注销时间",
  26961. "type": "string"
  26962. },
  26963. "closepricemode": {
  26964. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26965. "type": "integer"
  26966. },
  26967. "closepriceparam": {
  26968. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26969. "type": "number"
  26970. },
  26971. "createtime": {
  26972. "description": "创建时间",
  26973. "type": "string"
  26974. },
  26975. "creatorid": {
  26976. "description": "创建人",
  26977. "type": "integer"
  26978. },
  26979. "currencyid": {
  26980. "description": "报价货币ID",
  26981. "type": "integer"
  26982. },
  26983. "cutmode": {
  26984. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26985. "type": "integer"
  26986. },
  26987. "decimalplace": {
  26988. "description": "报价小数位",
  26989. "type": "integer"
  26990. },
  26991. "delistingdate": {
  26992. "description": "商品退市时间(状态:退市) -- 已作废",
  26993. "type": "string"
  26994. },
  26995. "delistingmode": {
  26996. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26997. "type": "integer"
  26998. },
  26999. "deliveryflag": {
  27000. "description": "交割标志 - 0:不可交割 1:可交割",
  27001. "type": "integer"
  27002. },
  27003. "forceclosemode": {
  27004. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27005. "type": "integer"
  27006. },
  27007. "forceclosevalue": {
  27008. "description": "定期强平参数 [收益权]",
  27009. "type": "integer"
  27010. },
  27011. "goodscode": {
  27012. "description": "商品代码(内部)",
  27013. "type": "string"
  27014. },
  27015. "goodscurrencyid": {
  27016. "description": "合约货币ID",
  27017. "type": "integer"
  27018. },
  27019. "goodsgroupid": {
  27020. "description": "所属商品组ID",
  27021. "type": "integer"
  27022. },
  27023. "goodsid": {
  27024. "description": "商品ID(自增ID SEQ_GOODS)",
  27025. "type": "integer"
  27026. },
  27027. "goodsname": {
  27028. "description": "商品名称",
  27029. "type": "string"
  27030. },
  27031. "goodsquotetype": {
  27032. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27033. "type": "integer"
  27034. },
  27035. "goodsstatus": {
  27036. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27037. "type": "integer"
  27038. },
  27039. "goodstradetype": {
  27040. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27041. "type": "integer"
  27042. },
  27043. "goodunitid": {
  27044. "description": "报价单位ID",
  27045. "type": "integer"
  27046. },
  27047. "hasquoter": {
  27048. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27049. "type": "integer"
  27050. },
  27051. "hqprotecttime": {
  27052. "description": "行情保护时间(秒)",
  27053. "type": "integer"
  27054. },
  27055. "innerdealmode": {
  27056. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27057. "type": "integer"
  27058. },
  27059. "isbuylimited": {
  27060. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27061. "type": "integer"
  27062. },
  27063. "isvisible": {
  27064. "description": "游客是否可见 - 0:不可见 1:可见",
  27065. "type": "integer"
  27066. },
  27067. "lasttradedate": {
  27068. "description": "最后交易日期(状态:待退市)",
  27069. "type": "string"
  27070. },
  27071. "listingdate": {
  27072. "description": "交易开始日期",
  27073. "type": "string"
  27074. },
  27075. "marketid": {
  27076. "description": "所属市场ID",
  27077. "type": "integer"
  27078. },
  27079. "modifierid": {
  27080. "description": "修改人",
  27081. "type": "integer"
  27082. },
  27083. "modifystatus": {
  27084. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27085. "type": "integer"
  27086. },
  27087. "modifytime": {
  27088. "description": "修改时间",
  27089. "type": "string"
  27090. },
  27091. "outerdealmode": {
  27092. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27093. "type": "integer"
  27094. },
  27095. "outgoodscode": {
  27096. "description": "商品代码(外部)",
  27097. "type": "string"
  27098. },
  27099. "pictureurl": {
  27100. "description": "商品图片",
  27101. "type": "string"
  27102. },
  27103. "qtydecimalplace": {
  27104. "description": "成交量小数位",
  27105. "type": "integer"
  27106. },
  27107. "quotegear": {
  27108. "description": "行情档位(1-10)",
  27109. "type": "integer"
  27110. },
  27111. "quoteminunit": {
  27112. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27113. "type": "integer"
  27114. },
  27115. "quoteshowtype": {
  27116. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27117. "type": "integer"
  27118. },
  27119. "quoteshowtypeinterval": {
  27120. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27121. "type": "integer"
  27122. },
  27123. "remark": {
  27124. "description": "备注",
  27125. "type": "string"
  27126. }
  27127. }
  27128. },
  27129. "models.GoodsIDAndName": {
  27130. "type": "object",
  27131. "required": [
  27132. "goodscode",
  27133. "goodsid",
  27134. "goodsname",
  27135. "marketid"
  27136. ],
  27137. "properties": {
  27138. "goodscode": {
  27139. "description": "商品代码(内部)",
  27140. "type": "string"
  27141. },
  27142. "goodsid": {
  27143. "description": "商品ID(自增ID SEQ_GOODS)",
  27144. "type": "integer"
  27145. },
  27146. "goodsname": {
  27147. "description": "商品名称",
  27148. "type": "string"
  27149. },
  27150. "marketid": {
  27151. "description": "所属市场ID",
  27152. "type": "integer"
  27153. }
  27154. }
  27155. },
  27156. "models.Goodsgroup": {
  27157. "type": "object",
  27158. "required": [
  27159. "goodsgroupid",
  27160. "goodsgroupname",
  27161. "goodsgroupstatus",
  27162. "marketid"
  27163. ],
  27164. "properties": {
  27165. "agreeunit": {
  27166. "description": "合约单位",
  27167. "type": "number"
  27168. },
  27169. "canshort": {
  27170. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  27171. "type": "integer"
  27172. },
  27173. "closepricemode": {
  27174. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27175. "type": "integer"
  27176. },
  27177. "closepriceparam": {
  27178. "description": "强平最新价浮动比例 - 方式为2时使用",
  27179. "type": "number"
  27180. },
  27181. "createtime": {
  27182. "description": "创建时间",
  27183. "type": "string"
  27184. },
  27185. "creatorid": {
  27186. "description": "创建人",
  27187. "type": "integer"
  27188. },
  27189. "currencyid": {
  27190. "description": "报价货币ID",
  27191. "type": "integer"
  27192. },
  27193. "decimalplace": {
  27194. "description": "报价小数位",
  27195. "type": "integer"
  27196. },
  27197. "exercisetype": {
  27198. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  27199. "type": "integer"
  27200. },
  27201. "exexchangeid": {
  27202. "description": "外部交易所ID[通道交易]",
  27203. "type": "integer"
  27204. },
  27205. "goodsgroupid": {
  27206. "description": "商品组ID(自增ID)",
  27207. "type": "integer"
  27208. },
  27209. "goodsgroupname": {
  27210. "description": "商品组名称",
  27211. "type": "string"
  27212. },
  27213. "goodsgroupstatus": {
  27214. "description": "商品组状态 - 1:正常 2:注销",
  27215. "type": "integer"
  27216. },
  27217. "goodunitid": {
  27218. "description": "报价单位ID",
  27219. "type": "integer"
  27220. },
  27221. "innerdealmode": {
  27222. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27223. "type": "integer"
  27224. },
  27225. "isbuylimited": {
  27226. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27227. "type": "integer"
  27228. },
  27229. "marketid": {
  27230. "description": "所属市场ID",
  27231. "type": "integer"
  27232. },
  27233. "modifierid": {
  27234. "description": "修改人",
  27235. "type": "integer"
  27236. },
  27237. "modifytime": {
  27238. "description": "修改时间",
  27239. "type": "string"
  27240. },
  27241. "outerdealmode": {
  27242. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27243. "type": "integer"
  27244. },
  27245. "outergroupcode": {
  27246. "description": "外部商品组代码[通道交易]",
  27247. "type": "string"
  27248. },
  27249. "premiumdecimalplace": {
  27250. "description": "权利金小数位[场外期权]",
  27251. "type": "integer"
  27252. },
  27253. "premiumspreadalgorithm": {
  27254. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  27255. "type": "integer"
  27256. },
  27257. "premiumspreadvalue": {
  27258. "description": "权利金点差值[场外期权]",
  27259. "type": "number"
  27260. },
  27261. "qtydecimalplace": {
  27262. "description": "成交量小数位",
  27263. "type": "integer"
  27264. },
  27265. "quotegear": {
  27266. "description": "行情档位(1-10)",
  27267. "type": "integer"
  27268. },
  27269. "quoteminunit": {
  27270. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27271. "type": "integer"
  27272. },
  27273. "quoterid": {
  27274. "description": "报价商ID[场外期权]",
  27275. "type": "integer"
  27276. },
  27277. "quotesourcegroupid": {
  27278. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  27279. "type": "integer"
  27280. },
  27281. "syncgoodsqty": {
  27282. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  27283. "type": "integer"
  27284. }
  27285. }
  27286. },
  27287. "models.Goodssortbypreposition": {
  27288. "type": "object",
  27289. "required": [
  27290. "goodscode",
  27291. "tradedate"
  27292. ],
  27293. "properties": {
  27294. "goodscode": {
  27295. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  27296. "type": "string"
  27297. },
  27298. "goodsgroupcode": {
  27299. "description": "品种代码",
  27300. "type": "string"
  27301. },
  27302. "prepositionqty": {
  27303. "description": "昨持仓量",
  27304. "type": "integer"
  27305. },
  27306. "sortindex": {
  27307. "description": "排序",
  27308. "type": "integer"
  27309. },
  27310. "tradedate": {
  27311. "description": "交易日",
  27312. "type": "string"
  27313. },
  27314. "updatetime": {
  27315. "description": "更新时间",
  27316. "type": "string"
  27317. }
  27318. }
  27319. },
  27320. "models.Hedgeinnerholderdetail": {
  27321. "type": "object",
  27322. "required": [
  27323. "buyorsell",
  27324. "tradeid"
  27325. ],
  27326. "properties": {
  27327. "accountid": {
  27328. "description": "账号ID",
  27329. "type": "integer"
  27330. },
  27331. "buyorsell": {
  27332. "description": "方向 - 0:买 1:卖",
  27333. "type": "integer"
  27334. },
  27335. "freezeqty": {
  27336. "description": "冻结数量 - 按单平使用",
  27337. "type": "integer"
  27338. },
  27339. "goodsid": {
  27340. "description": "商品ID",
  27341. "type": "integer"
  27342. },
  27343. "holderamount": {
  27344. "description": "持仓金额 [商品币种]",
  27345. "type": "number"
  27346. },
  27347. "holderdays": {
  27348. "description": "剩余冻结天数",
  27349. "type": "integer"
  27350. },
  27351. "holderprice": {
  27352. "description": "持仓价格",
  27353. "type": "number"
  27354. },
  27355. "holderqty": {
  27356. "description": "持仓数量",
  27357. "type": "integer"
  27358. },
  27359. "marketid": {
  27360. "description": "市场ID",
  27361. "type": "integer"
  27362. },
  27363. "openprice": {
  27364. "description": "建仓价格",
  27365. "type": "number"
  27366. },
  27367. "openqty": {
  27368. "description": "建仓数量",
  27369. "type": "integer"
  27370. },
  27371. "parentaccountid": {
  27372. "description": "所属母账户",
  27373. "type": "integer"
  27374. },
  27375. "releaseamount": {
  27376. "description": "释放持仓金额[商品币种]",
  27377. "type": "number"
  27378. },
  27379. "tradeamount": {
  27380. "description": "成交金额[账户]",
  27381. "type": "number"
  27382. },
  27383. "tradedate": {
  27384. "description": "交易日(yyyyMMdd)",
  27385. "type": "string"
  27386. },
  27387. "tradeid": {
  27388. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27389. "type": "string"
  27390. },
  27391. "tradetime": {
  27392. "description": "交易时间",
  27393. "type": "string"
  27394. }
  27395. }
  27396. },
  27397. "models.Hedgemarketopenlog": {
  27398. "type": "object",
  27399. "required": [
  27400. "accountid"
  27401. ],
  27402. "properties": {
  27403. "accountid": {
  27404. "description": "资金账号[外部母账户]",
  27405. "type": "integer"
  27406. },
  27407. "fcname": {
  27408. "description": "期货公司名称",
  27409. "type": "string"
  27410. },
  27411. "handlestatus": {
  27412. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  27413. "type": "integer"
  27414. },
  27415. "marketid": {
  27416. "description": "市场ID",
  27417. "type": "integer"
  27418. },
  27419. "status": {
  27420. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  27421. "type": "integer"
  27422. },
  27423. "tradedate": {
  27424. "description": "交易日(yyyyMMdd)",
  27425. "type": "string"
  27426. },
  27427. "updatetime": {
  27428. "description": "更新时间",
  27429. "type": "string"
  27430. }
  27431. }
  27432. },
  27433. "models.HsbyBuyMyPayOrder": {
  27434. "type": "object",
  27435. "required": [
  27436. "goodscode",
  27437. "goodsname",
  27438. "tradeid",
  27439. "trademode"
  27440. ],
  27441. "properties": {
  27442. "agreeunit": {
  27443. "description": "合约单位",
  27444. "type": "number"
  27445. },
  27446. "buyaccountid": {
  27447. "description": "买方账号ID[报价币种]",
  27448. "type": "integer"
  27449. },
  27450. "buyorderid": {
  27451. "description": "买方委托单号",
  27452. "type": "string"
  27453. },
  27454. "createtime": {
  27455. "description": "创建时间",
  27456. "type": "string"
  27457. },
  27458. "currencysign": {
  27459. "description": "货币符号",
  27460. "type": "string"
  27461. },
  27462. "decimalplace": {
  27463. "description": "报价小数位",
  27464. "type": "integer"
  27465. },
  27466. "goodscode": {
  27467. "description": "商品代码(内部)",
  27468. "type": "string"
  27469. },
  27470. "goodsid": {
  27471. "description": "商品ID",
  27472. "type": "integer"
  27473. },
  27474. "goodsname": {
  27475. "description": "商品名称",
  27476. "type": "string"
  27477. },
  27478. "marketid": {
  27479. "description": "市场ID",
  27480. "type": "integer"
  27481. },
  27482. "offamount": {
  27483. "description": "优惠金额",
  27484. "type": "number"
  27485. },
  27486. "originalamount": {
  27487. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  27488. "type": "number"
  27489. },
  27490. "payamount": {
  27491. "description": "支付金额 = TradeAmount + TradeCharge",
  27492. "type": "number"
  27493. },
  27494. "payflag": {
  27495. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27496. "type": "integer"
  27497. },
  27498. "paylimitedtime": {
  27499. "description": "支付期限",
  27500. "type": "string"
  27501. },
  27502. "paytime": {
  27503. "description": "付款时间",
  27504. "type": "string"
  27505. },
  27506. "picurls1": {
  27507. "description": "预售商品介绍图片[多张用逗号分隔]",
  27508. "type": "string"
  27509. },
  27510. "picurls2": {
  27511. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27512. "type": "string"
  27513. },
  27514. "sellaccountid": {
  27515. "description": "卖方账号ID[报价币种]",
  27516. "type": "integer"
  27517. },
  27518. "sellorderid": {
  27519. "description": "卖方委托单号",
  27520. "type": "string"
  27521. },
  27522. "tradeamount": {
  27523. "description": "成交金额",
  27524. "type": "number"
  27525. },
  27526. "tradecharge": {
  27527. "description": "成交手续费(买方)",
  27528. "type": "number"
  27529. },
  27530. "tradedate": {
  27531. "description": "交易日(yyyyMMdd)",
  27532. "type": "string"
  27533. },
  27534. "tradeid": {
  27535. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27536. "type": "string"
  27537. },
  27538. "trademode": {
  27539. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27540. "type": "integer"
  27541. },
  27542. "tradeprice": {
  27543. "description": "成交价格",
  27544. "type": "number"
  27545. },
  27546. "tradeqty": {
  27547. "description": "成交数量",
  27548. "type": "integer"
  27549. },
  27550. "vendorname1": {
  27551. "description": "预售商品供应商名称",
  27552. "type": "string"
  27553. },
  27554. "vendorname2": {
  27555. "description": "挂牌商品供应商名称",
  27556. "type": "string"
  27557. }
  27558. }
  27559. },
  27560. "models.HsbyBuyMyTradeDetail": {
  27561. "type": "object",
  27562. "required": [
  27563. "accountid",
  27564. "buyorsell",
  27565. "goodscode",
  27566. "goodsid",
  27567. "goodsname",
  27568. "marketid",
  27569. "orderid",
  27570. "qty",
  27571. "time",
  27572. "trademode"
  27573. ],
  27574. "properties": {
  27575. "accountid": {
  27576. "description": "账户ID[报价币种]",
  27577. "type": "integer"
  27578. },
  27579. "agreeunit": {
  27580. "description": "合约单位",
  27581. "type": "number"
  27582. },
  27583. "amount": {
  27584. "description": "金额 = 价格 * 数量 * 合约单位",
  27585. "type": "number"
  27586. },
  27587. "buyorsell": {
  27588. "description": "买卖 - 0:买 1:卖",
  27589. "type": "integer"
  27590. },
  27591. "currencysign": {
  27592. "description": "货币符号",
  27593. "type": "string"
  27594. },
  27595. "decimalplace": {
  27596. "description": "报价小数位",
  27597. "type": "integer"
  27598. },
  27599. "goodscode": {
  27600. "description": "商品代码(内部)",
  27601. "type": "string"
  27602. },
  27603. "goodsid": {
  27604. "description": "商品ID",
  27605. "type": "integer"
  27606. },
  27607. "goodsname": {
  27608. "description": "商品名称",
  27609. "type": "string"
  27610. },
  27611. "marketid": {
  27612. "description": "市场ID",
  27613. "type": "integer"
  27614. },
  27615. "orderamount": {
  27616. "description": "委托金额",
  27617. "type": "number"
  27618. },
  27619. "orderid": {
  27620. "description": "单号(成交单号)",
  27621. "type": "string"
  27622. },
  27623. "picurls1": {
  27624. "description": "预售商品介绍图片[多张用逗号分隔]",
  27625. "type": "string"
  27626. },
  27627. "picurls2": {
  27628. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27629. "type": "string"
  27630. },
  27631. "price": {
  27632. "description": "价格",
  27633. "type": "number"
  27634. },
  27635. "qty": {
  27636. "description": "数量",
  27637. "type": "integer"
  27638. },
  27639. "time": {
  27640. "description": "时间",
  27641. "type": "string"
  27642. },
  27643. "trademode": {
  27644. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27645. "type": "integer"
  27646. },
  27647. "vendorname1": {
  27648. "description": "预售商品供应商名称",
  27649. "type": "string"
  27650. },
  27651. "vendorname2": {
  27652. "description": "挂牌商品供应商名称",
  27653. "type": "string"
  27654. }
  27655. }
  27656. },
  27657. "models.HsbyGoodsOrderDetail": {
  27658. "type": "object",
  27659. "required": [
  27660. "buyorsell",
  27661. "orderid",
  27662. "ordertime"
  27663. ],
  27664. "properties": {
  27665. "buyorsell": {
  27666. "description": "买卖 - 0:买 1:卖",
  27667. "type": "integer"
  27668. },
  27669. "currencysign": {
  27670. "description": "货币符号",
  27671. "type": "string"
  27672. },
  27673. "customername": {
  27674. "description": "客户名称(企业名称),已脱敏",
  27675. "type": "string"
  27676. },
  27677. "enableqty": {
  27678. "description": "可用数量",
  27679. "type": "integer"
  27680. },
  27681. "goodunit": {
  27682. "description": "报价单位",
  27683. "type": "string"
  27684. },
  27685. "orderid": {
  27686. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27687. "type": "string"
  27688. },
  27689. "orderprice": {
  27690. "description": "委托价格",
  27691. "type": "number"
  27692. },
  27693. "ordertime": {
  27694. "description": "委托时间",
  27695. "type": "string"
  27696. }
  27697. }
  27698. },
  27699. "models.HsbyListingGoodsDetail": {
  27700. "type": "object",
  27701. "required": [
  27702. "goodscode",
  27703. "goodsid",
  27704. "goodsname",
  27705. "marketid",
  27706. "trademode"
  27707. ],
  27708. "properties": {
  27709. "agreeunit": {
  27710. "description": "合约单位",
  27711. "type": "number"
  27712. },
  27713. "buymaxqty": {
  27714. "description": "购买上限 [71] - 0为不限",
  27715. "type": "integer"
  27716. },
  27717. "currency": {
  27718. "description": "货币",
  27719. "type": "string"
  27720. },
  27721. "currencysign": {
  27722. "description": "货币符号",
  27723. "type": "string"
  27724. },
  27725. "decimalplace": {
  27726. "description": "报价小数位",
  27727. "type": "integer"
  27728. },
  27729. "desccityid": {
  27730. "description": "目的地(市)ID",
  27731. "type": "integer"
  27732. },
  27733. "descprovinceid": {
  27734. "description": "目的地(省)ID",
  27735. "type": "integer"
  27736. },
  27737. "goodscode": {
  27738. "description": "商品代码(内部)",
  27739. "type": "string"
  27740. },
  27741. "goodsdesc": {
  27742. "description": "商品详情",
  27743. "type": "string"
  27744. },
  27745. "goodsid": {
  27746. "description": "商品ID(自增ID SEQ_GOODS)",
  27747. "type": "integer"
  27748. },
  27749. "goodsname": {
  27750. "description": "商品名称",
  27751. "type": "string"
  27752. },
  27753. "goodsprice": {
  27754. "description": "商品价格",
  27755. "type": "number"
  27756. },
  27757. "hotindex": {
  27758. "description": "景点热度",
  27759. "type": "integer"
  27760. },
  27761. "last": {
  27762. "description": "现价",
  27763. "type": "number"
  27764. },
  27765. "limitdown": {
  27766. "description": "跌停价",
  27767. "type": "number"
  27768. },
  27769. "limitup": {
  27770. "description": "涨停价",
  27771. "type": "number"
  27772. },
  27773. "lotsize": {
  27774. "description": "手数最小变动单位",
  27775. "type": "integer"
  27776. },
  27777. "marketid": {
  27778. "description": "所属市场ID",
  27779. "type": "integer"
  27780. },
  27781. "picurls": {
  27782. "description": "介绍图片[多张用逗号分隔]",
  27783. "type": "string"
  27784. },
  27785. "quoteminunit": {
  27786. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27787. "type": "integer"
  27788. },
  27789. "stepvalue": {
  27790. "description": "价格最小变动单位",
  27791. "type": "number"
  27792. },
  27793. "trademode": {
  27794. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27795. "type": "integer"
  27796. },
  27797. "vendorattr": {
  27798. "description": "供应商附件(多张,逗号分隔)",
  27799. "type": "string"
  27800. },
  27801. "vendorname": {
  27802. "description": "供应商名称",
  27803. "type": "string"
  27804. },
  27805. "vendorphone": {
  27806. "description": "供应商客服电话",
  27807. "type": "string"
  27808. },
  27809. "videourls": {
  27810. "description": "介绍视频[多张用逗号分隔]",
  27811. "type": "string"
  27812. }
  27813. }
  27814. },
  27815. "models.HsbyMarketGoods": {
  27816. "type": "object",
  27817. "required": [
  27818. "accountid",
  27819. "buyorsell",
  27820. "goodscode",
  27821. "goodsid",
  27822. "goodsname",
  27823. "marketid",
  27824. "orderid",
  27825. "trademode"
  27826. ],
  27827. "properties": {
  27828. "accountid": {
  27829. "description": "账户ID[报价币种]",
  27830. "type": "integer"
  27831. },
  27832. "agreeunit": {
  27833. "description": "合约单位",
  27834. "type": "number"
  27835. },
  27836. "buyorsell": {
  27837. "description": "买卖 - 0:买 1:卖",
  27838. "type": "integer"
  27839. },
  27840. "categoryid": {
  27841. "description": "类别ID(WRCATEGORY)",
  27842. "type": "integer"
  27843. },
  27844. "currency": {
  27845. "description": "货币",
  27846. "type": "string"
  27847. },
  27848. "currencysign": {
  27849. "description": "货币符号",
  27850. "type": "string"
  27851. },
  27852. "customername": {
  27853. "description": "卖家名称",
  27854. "type": "string"
  27855. },
  27856. "decimalplace": {
  27857. "description": "报价小数位",
  27858. "type": "integer"
  27859. },
  27860. "goodscode": {
  27861. "description": "商品代码(内部)",
  27862. "type": "string"
  27863. },
  27864. "goodsid": {
  27865. "description": "商品ID",
  27866. "type": "integer"
  27867. },
  27868. "goodsname": {
  27869. "description": "商品名称",
  27870. "type": "string"
  27871. },
  27872. "goodsprice": {
  27873. "description": "商品价格",
  27874. "type": "number"
  27875. },
  27876. "hascoupon": {
  27877. "description": "是否可用优惠卷",
  27878. "type": "boolean"
  27879. },
  27880. "hotindex": {
  27881. "description": "景点热度",
  27882. "type": "integer"
  27883. },
  27884. "marketid": {
  27885. "description": "市场ID",
  27886. "type": "integer"
  27887. },
  27888. "orderid": {
  27889. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27890. "type": "string"
  27891. },
  27892. "orderprice": {
  27893. "description": "委托价格",
  27894. "type": "number"
  27895. },
  27896. "orderstatus": {
  27897. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27898. "type": "integer"
  27899. },
  27900. "picurls": {
  27901. "description": "介绍图片[多张用逗号分隔]",
  27902. "type": "string"
  27903. },
  27904. "quoteminunit": {
  27905. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27906. "type": "integer"
  27907. },
  27908. "sellUserID": {
  27909. "description": "卖方UserID",
  27910. "type": "integer"
  27911. },
  27912. "trademode": {
  27913. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27914. "type": "integer"
  27915. },
  27916. "videourls": {
  27917. "description": "介绍视频[多张用逗号分隔]",
  27918. "type": "string"
  27919. }
  27920. }
  27921. },
  27922. "models.HsbyMarketGoodsDetail": {
  27923. "type": "object",
  27924. "required": [
  27925. "accountid",
  27926. "buyorsell",
  27927. "goodscode",
  27928. "goodsid",
  27929. "goodsname",
  27930. "marketid",
  27931. "orderid",
  27932. "orderqty",
  27933. "trademode"
  27934. ],
  27935. "properties": {
  27936. "accountid": {
  27937. "description": "账户ID[报价币种]",
  27938. "type": "integer"
  27939. },
  27940. "agreeunit": {
  27941. "description": "合约单位",
  27942. "type": "number"
  27943. },
  27944. "buymaxqty": {
  27945. "description": "购买上限 [71] - 0为不限",
  27946. "type": "integer"
  27947. },
  27948. "buyorsell": {
  27949. "description": "买卖 - 0:买 1:卖",
  27950. "type": "integer"
  27951. },
  27952. "cancelqty": {
  27953. "description": "撤单数量",
  27954. "type": "integer"
  27955. },
  27956. "categoryid": {
  27957. "description": "类别ID(WRCATEGORY)",
  27958. "type": "integer"
  27959. },
  27960. "currency": {
  27961. "description": "货币",
  27962. "type": "string"
  27963. },
  27964. "currencysign": {
  27965. "description": "货币符号",
  27966. "type": "string"
  27967. },
  27968. "customername": {
  27969. "description": "卖家名称",
  27970. "type": "string"
  27971. },
  27972. "decimalplace": {
  27973. "description": "报价小数位",
  27974. "type": "integer"
  27975. },
  27976. "goodscode": {
  27977. "description": "商品代码(内部)",
  27978. "type": "string"
  27979. },
  27980. "goodsdesc": {
  27981. "description": "商品详情",
  27982. "type": "string"
  27983. },
  27984. "goodsid": {
  27985. "description": "商品ID",
  27986. "type": "integer"
  27987. },
  27988. "goodsname": {
  27989. "description": "商品名称",
  27990. "type": "string"
  27991. },
  27992. "goodsprice": {
  27993. "description": "商品价格",
  27994. "type": "number"
  27995. },
  27996. "hotindex": {
  27997. "description": "景点热度",
  27998. "type": "integer"
  27999. },
  28000. "lotsize": {
  28001. "description": "手数最小变动单位",
  28002. "type": "integer"
  28003. },
  28004. "marketid": {
  28005. "description": "市场ID",
  28006. "type": "integer"
  28007. },
  28008. "orderid": {
  28009. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28010. "type": "string"
  28011. },
  28012. "orderprice": {
  28013. "description": "委托价格",
  28014. "type": "number"
  28015. },
  28016. "orderqty": {
  28017. "description": "委托数量",
  28018. "type": "integer"
  28019. },
  28020. "orderstatus": {
  28021. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28022. "type": "integer"
  28023. },
  28024. "picurls": {
  28025. "description": "介绍图片[多张用逗号分隔]",
  28026. "type": "string"
  28027. },
  28028. "quoteminunit": {
  28029. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28030. "type": "integer"
  28031. },
  28032. "sellUserID": {
  28033. "description": "卖方UserID",
  28034. "type": "integer"
  28035. },
  28036. "trademode": {
  28037. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28038. "type": "integer"
  28039. },
  28040. "tradeqty": {
  28041. "description": "成交数量",
  28042. "type": "integer"
  28043. },
  28044. "vendorattr": {
  28045. "description": "供应商附件(多张,逗号分隔)",
  28046. "type": "string"
  28047. },
  28048. "vendorname": {
  28049. "description": "供应商名称",
  28050. "type": "string"
  28051. },
  28052. "vendorphone": {
  28053. "description": "供应商客服电话",
  28054. "type": "string"
  28055. },
  28056. "videourls": {
  28057. "description": "介绍视频[多张用逗号分隔]",
  28058. "type": "string"
  28059. }
  28060. }
  28061. },
  28062. "models.HsbyMarketInfo": {
  28063. "type": "object",
  28064. "required": [
  28065. "marketid",
  28066. "marketstatus",
  28067. "trademode"
  28068. ],
  28069. "properties": {
  28070. "marketid": {
  28071. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  28072. "type": "integer"
  28073. },
  28074. "marketname": {
  28075. "description": "市场名称",
  28076. "type": "string"
  28077. },
  28078. "marketstatus": {
  28079. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  28080. "type": "integer"
  28081. },
  28082. "trademode": {
  28083. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28084. "type": "integer"
  28085. }
  28086. }
  28087. },
  28088. "models.HsbyMyGoods": {
  28089. "type": "object",
  28090. "required": [
  28091. "accountid",
  28092. "goodscode",
  28093. "goodsid",
  28094. "goodsname",
  28095. "marketid",
  28096. "trademode"
  28097. ],
  28098. "properties": {
  28099. "accountid": {
  28100. "description": "账号Id",
  28101. "type": "integer"
  28102. },
  28103. "agreeunit": {
  28104. "description": "合约单位",
  28105. "type": "number"
  28106. },
  28107. "buyaverageprice": {
  28108. "description": "持仓均价",
  28109. "type": "number"
  28110. },
  28111. "buycurholderamount": {
  28112. "description": "买当前持仓总金额[商品币种]",
  28113. "type": "number"
  28114. },
  28115. "buycurpositionqty": {
  28116. "description": "买当前持仓总数量",
  28117. "type": "integer"
  28118. },
  28119. "buymaxqty": {
  28120. "description": "购买上限 [71] - 0为不限",
  28121. "type": "integer"
  28122. },
  28123. "currencysign": {
  28124. "description": "货币符号",
  28125. "type": "string"
  28126. },
  28127. "decimalplace": {
  28128. "description": "报价小数位",
  28129. "type": "integer"
  28130. },
  28131. "enableqty": {
  28132. "description": "可用数量",
  28133. "type": "integer"
  28134. },
  28135. "goodscode": {
  28136. "description": "商品代码(内部)",
  28137. "type": "string"
  28138. },
  28139. "goodsid": {
  28140. "description": "商品Id",
  28141. "type": "integer"
  28142. },
  28143. "goodsname": {
  28144. "description": "商品名称",
  28145. "type": "string"
  28146. },
  28147. "goodsprice": {
  28148. "description": "商品价格",
  28149. "type": "number"
  28150. },
  28151. "goodsstatus": {
  28152. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28153. "type": "integer"
  28154. },
  28155. "last": {
  28156. "description": "现价(仅使用于挂牌点选)",
  28157. "type": "number"
  28158. },
  28159. "limitdown": {
  28160. "description": "跌停价(仅使用于挂牌点选)",
  28161. "type": "number"
  28162. },
  28163. "limitup": {
  28164. "description": "涨停价(仅使用于挂牌点选)",
  28165. "type": "number"
  28166. },
  28167. "lotsize": {
  28168. "description": "手数最小变动单位",
  28169. "type": "integer"
  28170. },
  28171. "marketid": {
  28172. "description": "所属市场ID",
  28173. "type": "integer"
  28174. },
  28175. "picurls": {
  28176. "description": "介绍图片[多张用逗号分隔]",
  28177. "type": "string"
  28178. },
  28179. "quoteminunit": {
  28180. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28181. "type": "integer"
  28182. },
  28183. "stepvalue": {
  28184. "description": "价格最小变动单位",
  28185. "type": "number"
  28186. },
  28187. "trademode": {
  28188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28189. "type": "integer"
  28190. }
  28191. }
  28192. },
  28193. "models.HsbyMyPackage": {
  28194. "type": "object",
  28195. "required": [
  28196. "goodscode",
  28197. "goodsname",
  28198. "takeorderid",
  28199. "trademode"
  28200. ],
  28201. "properties": {
  28202. "accountid": {
  28203. "description": "账户ID",
  28204. "type": "integer"
  28205. },
  28206. "address": {
  28207. "description": "提货人详细地址",
  28208. "type": "string"
  28209. },
  28210. "agreeunit": {
  28211. "description": "合约单位",
  28212. "type": "number"
  28213. },
  28214. "amount": {
  28215. "description": "提货金额",
  28216. "type": "number"
  28217. },
  28218. "auditer": {
  28219. "description": "审核人",
  28220. "type": "integer"
  28221. },
  28222. "audittime": {
  28223. "description": "审核时间",
  28224. "type": "string"
  28225. },
  28226. "averageprice": {
  28227. "description": "均价",
  28228. "type": "number"
  28229. },
  28230. "cardnum": {
  28231. "description": "提货人证件号码",
  28232. "type": "string"
  28233. },
  28234. "cardtypeid": {
  28235. "description": "提货人证件类型",
  28236. "type": "integer"
  28237. },
  28238. "checkremark": {
  28239. "description": "审核备注",
  28240. "type": "string"
  28241. },
  28242. "currencysign": {
  28243. "description": "货币符号",
  28244. "type": "string"
  28245. },
  28246. "decimalplace": {
  28247. "description": "报价小数位",
  28248. "type": "integer"
  28249. },
  28250. "goodscode": {
  28251. "description": "商品代码(内部)",
  28252. "type": "string"
  28253. },
  28254. "goodsid": {
  28255. "description": "商品ID",
  28256. "type": "integer"
  28257. },
  28258. "goodsname": {
  28259. "description": "商品名称",
  28260. "type": "string"
  28261. },
  28262. "handlestatus": {
  28263. "description": "处理状态",
  28264. "type": "integer"
  28265. },
  28266. "marketid": {
  28267. "description": "市场ID",
  28268. "type": "integer"
  28269. },
  28270. "phonenum": {
  28271. "description": "提货人联系方式",
  28272. "type": "string"
  28273. },
  28274. "picurls": {
  28275. "description": "介绍图片[多张用逗号分隔]",
  28276. "type": "string"
  28277. },
  28278. "qty": {
  28279. "description": "提货数量",
  28280. "type": "number"
  28281. },
  28282. "recivername": {
  28283. "description": "提货人姓名",
  28284. "type": "string"
  28285. },
  28286. "reqtime": {
  28287. "description": "更新时间",
  28288. "type": "string"
  28289. },
  28290. "takemode": {
  28291. "description": "提货方式 - 2:自提 3:配送",
  28292. "type": "integer"
  28293. },
  28294. "takeorderid": {
  28295. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28296. "type": "string"
  28297. },
  28298. "takeorderstatus": {
  28299. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  28300. "type": "integer"
  28301. },
  28302. "takeremark": {
  28303. "description": "提货备注",
  28304. "type": "string"
  28305. },
  28306. "tradedate": {
  28307. "description": "交易日(yyyyMMdd)",
  28308. "type": "string"
  28309. },
  28310. "trademode": {
  28311. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28312. "type": "integer"
  28313. },
  28314. "userid": {
  28315. "description": "用户ID",
  28316. "type": "integer"
  28317. },
  28318. "vendorname": {
  28319. "description": "供应商名称",
  28320. "type": "string"
  28321. }
  28322. }
  28323. },
  28324. "models.HsbyPreGoods": {
  28325. "type": "object",
  28326. "required": [
  28327. "goodscode",
  28328. "goodsid",
  28329. "goodsname",
  28330. "marketid",
  28331. "trademode"
  28332. ],
  28333. "properties": {
  28334. "agreeunit": {
  28335. "description": "合约单位",
  28336. "type": "number"
  28337. },
  28338. "currency": {
  28339. "description": "货币",
  28340. "type": "string"
  28341. },
  28342. "currencysign": {
  28343. "description": "货币符号",
  28344. "type": "string"
  28345. },
  28346. "decimalplace": {
  28347. "description": "报价小数位",
  28348. "type": "integer"
  28349. },
  28350. "desccityid": {
  28351. "description": "目的地(市)",
  28352. "type": "integer"
  28353. },
  28354. "descprovinceid": {
  28355. "description": "目的地(省)",
  28356. "type": "integer"
  28357. },
  28358. "enableqty": {
  28359. "description": "剩余数量",
  28360. "type": "integer"
  28361. },
  28362. "goodscode": {
  28363. "description": "商品代码(内部)",
  28364. "type": "string"
  28365. },
  28366. "goodsid": {
  28367. "description": "商品ID(自增ID SEQ_GOODS)",
  28368. "type": "integer"
  28369. },
  28370. "goodsname": {
  28371. "description": "商品名称",
  28372. "type": "string"
  28373. },
  28374. "goodsstatus": {
  28375. "description": "商品状态- 2:未上市 3:上市",
  28376. "type": "integer"
  28377. },
  28378. "lasttradedate": {
  28379. "description": "最后交易日期(状态:待退市)",
  28380. "type": "string"
  28381. },
  28382. "listingdate": {
  28383. "description": "交易开始日期",
  28384. "type": "string"
  28385. },
  28386. "marketid": {
  28387. "description": "所属市场ID",
  28388. "type": "integer"
  28389. },
  28390. "picurls": {
  28391. "description": "介绍图片[多张用逗号分隔]",
  28392. "type": "string"
  28393. },
  28394. "presaledqty": {
  28395. "description": "已预售量(预售结束时更新)",
  28396. "type": "integer"
  28397. },
  28398. "presaleqty": {
  28399. "description": "预售数量",
  28400. "type": "integer"
  28401. },
  28402. "quoteminunit": {
  28403. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28404. "type": "integer"
  28405. },
  28406. "refprice": {
  28407. "description": "参考价格[一口价]",
  28408. "type": "number"
  28409. },
  28410. "relatedgoodsid": {
  28411. "description": "关联交易合约ID",
  28412. "type": "integer"
  28413. },
  28414. "trademode": {
  28415. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28416. "type": "integer"
  28417. },
  28418. "videourls": {
  28419. "description": "介绍视频[多张用逗号分隔]",
  28420. "type": "string"
  28421. }
  28422. }
  28423. },
  28424. "models.HsbyPreGoodsDetail": {
  28425. "type": "object",
  28426. "required": [
  28427. "goodscode",
  28428. "goodsid",
  28429. "goodsname",
  28430. "marketid",
  28431. "trademode"
  28432. ],
  28433. "properties": {
  28434. "agreeunit": {
  28435. "description": "合约单位",
  28436. "type": "number"
  28437. },
  28438. "buymaxqty": {
  28439. "description": "购买上限 [71] - 0为不限",
  28440. "type": "integer"
  28441. },
  28442. "currency": {
  28443. "description": "货币",
  28444. "type": "string"
  28445. },
  28446. "currencysign": {
  28447. "description": "货币符号",
  28448. "type": "string"
  28449. },
  28450. "customername": {
  28451. "description": "发行单位",
  28452. "type": "string"
  28453. },
  28454. "decimalplace": {
  28455. "description": "报价小数位",
  28456. "type": "integer"
  28457. },
  28458. "desccityid": {
  28459. "description": "目的地(市)ID",
  28460. "type": "integer"
  28461. },
  28462. "descprovinceid": {
  28463. "description": "目的地(省)ID",
  28464. "type": "integer"
  28465. },
  28466. "enableqty": {
  28467. "description": "剩余数量",
  28468. "type": "integer"
  28469. },
  28470. "goodscode": {
  28471. "description": "商品代码(内部)",
  28472. "type": "string"
  28473. },
  28474. "goodsdesc": {
  28475. "description": "商品详情",
  28476. "type": "string"
  28477. },
  28478. "goodsid": {
  28479. "description": "商品ID(自增ID SEQ_GOODS)",
  28480. "type": "integer"
  28481. },
  28482. "goodsname": {
  28483. "description": "商品名称",
  28484. "type": "string"
  28485. },
  28486. "goodsstatus": {
  28487. "description": "商品状态- 2:未上市 3:上市",
  28488. "type": "integer"
  28489. },
  28490. "goodunit": {
  28491. "description": "报价单位",
  28492. "type": "string"
  28493. },
  28494. "lasttradedate": {
  28495. "description": "最后交易日期(状态:待退市)",
  28496. "type": "string"
  28497. },
  28498. "listingdate": {
  28499. "description": "交易开始日期",
  28500. "type": "string"
  28501. },
  28502. "lotsize": {
  28503. "description": "手数最小变动单位",
  28504. "type": "integer"
  28505. },
  28506. "marketid": {
  28507. "description": "所属市场ID",
  28508. "type": "integer"
  28509. },
  28510. "picurls": {
  28511. "description": "介绍图片[多张用逗号分隔]",
  28512. "type": "string"
  28513. },
  28514. "presaledqty": {
  28515. "description": "已预售量(预售结束时更新)",
  28516. "type": "integer"
  28517. },
  28518. "presaleqty": {
  28519. "description": "预售数量",
  28520. "type": "integer"
  28521. },
  28522. "quoteminunit": {
  28523. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28524. "type": "integer"
  28525. },
  28526. "refprice": {
  28527. "description": "参考价格[一口价]",
  28528. "type": "number"
  28529. },
  28530. "relatedgoodsid": {
  28531. "description": "关联交易合约ID",
  28532. "type": "integer"
  28533. },
  28534. "stepvalue": {
  28535. "description": "价格最小变动单位",
  28536. "type": "number"
  28537. },
  28538. "trademode": {
  28539. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28540. "type": "integer"
  28541. },
  28542. "vendorattr": {
  28543. "description": "供应商附件(多张,逗号分隔)",
  28544. "type": "string"
  28545. },
  28546. "vendorname": {
  28547. "description": "供应商名称",
  28548. "type": "string"
  28549. },
  28550. "vendorphone": {
  28551. "description": "供应商客服电话",
  28552. "type": "string"
  28553. },
  28554. "videourls": {
  28555. "description": "介绍视频[多张用逗号分隔]",
  28556. "type": "string"
  28557. }
  28558. }
  28559. },
  28560. "models.HsbySellCollectionOrder": {
  28561. "type": "object",
  28562. "required": [
  28563. "goodscode",
  28564. "goodsname",
  28565. "tradeid",
  28566. "trademode"
  28567. ],
  28568. "properties": {
  28569. "agreeunit": {
  28570. "description": "合约单位",
  28571. "type": "number"
  28572. },
  28573. "buyaccountid": {
  28574. "description": "买方账号ID[报价币种]",
  28575. "type": "integer"
  28576. },
  28577. "buyorderid": {
  28578. "description": "买方委托单号",
  28579. "type": "string"
  28580. },
  28581. "createtime": {
  28582. "description": "创建时间",
  28583. "type": "string"
  28584. },
  28585. "currencysign": {
  28586. "description": "货币符号",
  28587. "type": "string"
  28588. },
  28589. "decimalplace": {
  28590. "description": "报价小数位",
  28591. "type": "integer"
  28592. },
  28593. "goodscode": {
  28594. "description": "商品代码(内部)",
  28595. "type": "string"
  28596. },
  28597. "goodsid": {
  28598. "description": "商品ID",
  28599. "type": "integer"
  28600. },
  28601. "goodsname": {
  28602. "description": "商品名称",
  28603. "type": "string"
  28604. },
  28605. "marketid": {
  28606. "description": "市场ID",
  28607. "type": "integer"
  28608. },
  28609. "offamount": {
  28610. "description": "优惠金额",
  28611. "type": "number"
  28612. },
  28613. "payamount": {
  28614. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  28615. "type": "number"
  28616. },
  28617. "payflag": {
  28618. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28619. "type": "integer"
  28620. },
  28621. "paylimitedtime": {
  28622. "description": "支付期限",
  28623. "type": "string"
  28624. },
  28625. "paytime": {
  28626. "description": "付款时间",
  28627. "type": "string"
  28628. },
  28629. "picurls": {
  28630. "description": "商品介绍图片[多张用逗号分隔]",
  28631. "type": "string"
  28632. },
  28633. "sellaccountid": {
  28634. "description": "卖方账号ID[报价币种]",
  28635. "type": "integer"
  28636. },
  28637. "sellorderid": {
  28638. "description": "卖方委托单号",
  28639. "type": "string"
  28640. },
  28641. "tradeamount": {
  28642. "description": "成交金额",
  28643. "type": "number"
  28644. },
  28645. "tradecharge": {
  28646. "description": "成交手续费(买方)",
  28647. "type": "number"
  28648. },
  28649. "tradedate": {
  28650. "description": "交易日(yyyyMMdd)",
  28651. "type": "string"
  28652. },
  28653. "tradeid": {
  28654. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28655. "type": "string"
  28656. },
  28657. "trademode": {
  28658. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28659. "type": "integer"
  28660. },
  28661. "tradeprice": {
  28662. "description": "成交价格",
  28663. "type": "number"
  28664. },
  28665. "tradeqty": {
  28666. "description": "成交数量",
  28667. "type": "integer"
  28668. }
  28669. }
  28670. },
  28671. "models.HsbySellMyDetail": {
  28672. "type": "object",
  28673. "required": [
  28674. "accountid",
  28675. "buyorsell",
  28676. "goodscode",
  28677. "goodsid",
  28678. "goodsname",
  28679. "marketid",
  28680. "orderid",
  28681. "time",
  28682. "trademode"
  28683. ],
  28684. "properties": {
  28685. "accountid": {
  28686. "description": "账户ID[报价币种]",
  28687. "type": "integer"
  28688. },
  28689. "agreeunit": {
  28690. "description": "合约单位",
  28691. "type": "number"
  28692. },
  28693. "buyorsell": {
  28694. "description": "买卖 - 0:买 1:卖",
  28695. "type": "integer"
  28696. },
  28697. "currencysign": {
  28698. "description": "货币符号",
  28699. "type": "string"
  28700. },
  28701. "decimalplace": {
  28702. "description": "报价小数位",
  28703. "type": "integer"
  28704. },
  28705. "goodscode": {
  28706. "description": "商品代码(内部)",
  28707. "type": "string"
  28708. },
  28709. "goodsid": {
  28710. "description": "商品ID",
  28711. "type": "integer"
  28712. },
  28713. "goodsname": {
  28714. "description": "商品名称",
  28715. "type": "string"
  28716. },
  28717. "marketid": {
  28718. "description": "市场ID",
  28719. "type": "integer"
  28720. },
  28721. "orderid": {
  28722. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  28723. "type": "string"
  28724. },
  28725. "ordertype": {
  28726. "description": "单据类型:0 - 发布中, 1 - 已完成",
  28727. "type": "integer"
  28728. },
  28729. "picurls": {
  28730. "description": "介绍图片[多张用逗号分隔]",
  28731. "type": "string"
  28732. },
  28733. "price": {
  28734. "description": "价格",
  28735. "type": "number"
  28736. },
  28737. "qty": {
  28738. "description": "数量",
  28739. "type": "integer"
  28740. },
  28741. "time": {
  28742. "description": "时间",
  28743. "type": "string"
  28744. },
  28745. "trademode": {
  28746. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28747. "type": "integer"
  28748. },
  28749. "vendorname": {
  28750. "description": "供应商名称",
  28751. "type": "string"
  28752. }
  28753. }
  28754. },
  28755. "models.HsbyTopGoods": {
  28756. "type": "object",
  28757. "required": [
  28758. "goodscode",
  28759. "goodsid",
  28760. "goodsname",
  28761. "marketid",
  28762. "trademode"
  28763. ],
  28764. "properties": {
  28765. "agreeunit": {
  28766. "description": "合约单位",
  28767. "type": "number"
  28768. },
  28769. "currency": {
  28770. "description": "货币",
  28771. "type": "string"
  28772. },
  28773. "currencysign": {
  28774. "description": "货币符号",
  28775. "type": "string"
  28776. },
  28777. "decimalplace": {
  28778. "description": "报价小数位",
  28779. "type": "integer"
  28780. },
  28781. "desccityid": {
  28782. "description": "目的地(市)",
  28783. "type": "integer"
  28784. },
  28785. "descprovinceid": {
  28786. "description": "目的地(省)",
  28787. "type": "integer"
  28788. },
  28789. "goodscode": {
  28790. "description": "商品代码(内部)",
  28791. "type": "string"
  28792. },
  28793. "goodsid": {
  28794. "description": "商品ID(自增ID SEQ_GOODS)",
  28795. "type": "integer"
  28796. },
  28797. "goodsname": {
  28798. "description": "商品名称",
  28799. "type": "string"
  28800. },
  28801. "hotindex": {
  28802. "description": "景点热度",
  28803. "type": "integer"
  28804. },
  28805. "last": {
  28806. "description": "现价",
  28807. "type": "number"
  28808. },
  28809. "marketid": {
  28810. "description": "所属市场ID",
  28811. "type": "integer"
  28812. },
  28813. "picurls": {
  28814. "description": "介绍图片[多张用逗号分隔]",
  28815. "type": "string"
  28816. },
  28817. "quoteminunit": {
  28818. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28819. "type": "integer"
  28820. },
  28821. "trademode": {
  28822. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28823. "type": "integer"
  28824. },
  28825. "videourls": {
  28826. "description": "介绍视频[多张用逗号分隔]",
  28827. "type": "string"
  28828. }
  28829. }
  28830. },
  28831. "models.HybsMyBuyOrderDetail": {
  28832. "type": "object",
  28833. "required": [
  28834. "accountid",
  28835. "buyorsell",
  28836. "goodscode",
  28837. "goodsid",
  28838. "goodsname",
  28839. "marketid",
  28840. "orderid",
  28841. "orderqty",
  28842. "ordertime",
  28843. "trademode"
  28844. ],
  28845. "properties": {
  28846. "accountid": {
  28847. "description": "账户ID[报价币种]",
  28848. "type": "integer"
  28849. },
  28850. "agreeunit": {
  28851. "description": "合约单位",
  28852. "type": "number"
  28853. },
  28854. "buyorsell": {
  28855. "description": "买卖 - 0:买 1:卖",
  28856. "type": "integer"
  28857. },
  28858. "cancelqty": {
  28859. "description": "撤单数量",
  28860. "type": "integer"
  28861. },
  28862. "currencysign": {
  28863. "description": "货币符号",
  28864. "type": "string"
  28865. },
  28866. "decimalplace": {
  28867. "description": "报价小数位",
  28868. "type": "integer"
  28869. },
  28870. "goodscode": {
  28871. "description": "商品代码(内部)",
  28872. "type": "string"
  28873. },
  28874. "goodsid": {
  28875. "description": "商品ID",
  28876. "type": "integer"
  28877. },
  28878. "goodsname": {
  28879. "description": "商品名称",
  28880. "type": "string"
  28881. },
  28882. "listingselecttype": {
  28883. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28884. "type": "integer"
  28885. },
  28886. "marketid": {
  28887. "description": "市场ID",
  28888. "type": "integer"
  28889. },
  28890. "mybuystatus": {
  28891. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  28892. "type": "integer"
  28893. },
  28894. "orderamount": {
  28895. "description": "委托金额",
  28896. "type": "number"
  28897. },
  28898. "orderid": {
  28899. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28900. "type": "string"
  28901. },
  28902. "orderprice": {
  28903. "description": "委托价格",
  28904. "type": "number"
  28905. },
  28906. "orderqty": {
  28907. "description": "委托数量",
  28908. "type": "integer"
  28909. },
  28910. "orderstatus": {
  28911. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28912. "type": "integer"
  28913. },
  28914. "ordertime": {
  28915. "description": "委托时间",
  28916. "type": "string"
  28917. },
  28918. "picurls1": {
  28919. "description": "预售商品介绍图片[多张用逗号分隔]",
  28920. "type": "string"
  28921. },
  28922. "picurls2": {
  28923. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  28924. "type": "string"
  28925. },
  28926. "trademode": {
  28927. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28928. "type": "integer"
  28929. },
  28930. "tradeqty": {
  28931. "description": "成交数量",
  28932. "type": "integer"
  28933. },
  28934. "vendorname1": {
  28935. "description": "预售商品供应商名称",
  28936. "type": "string"
  28937. },
  28938. "vendorname2": {
  28939. "description": "挂牌商品供应商名称",
  28940. "type": "string"
  28941. }
  28942. }
  28943. },
  28944. "models.InternalUncorrelatedTradeDetail": {
  28945. "type": "object",
  28946. "properties": {
  28947. "accountname": {
  28948. "description": "套期主体",
  28949. "type": "string"
  28950. },
  28951. "agreeunit": {
  28952. "description": "合约乘数",
  28953. "type": "number"
  28954. },
  28955. "areauserid": {
  28956. "description": "所属机构",
  28957. "type": "integer"
  28958. },
  28959. "bizsubjectid": {
  28960. "description": "归属业务部门ID - SubjectID",
  28961. "type": "integer"
  28962. },
  28963. "buyorsell": {
  28964. "description": "方向 - 0:买 1:卖",
  28965. "type": "integer"
  28966. },
  28967. "convertratio": {
  28968. "description": "品种系数",
  28969. "type": "number"
  28970. },
  28971. "createtime": {
  28972. "description": "创建时间",
  28973. "type": "string"
  28974. },
  28975. "creatorid": {
  28976. "description": "创建人ID",
  28977. "type": "integer"
  28978. },
  28979. "creatorsrc": {
  28980. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28981. "type": "integer"
  28982. },
  28983. "enableqty": {
  28984. "description": "项目可关联手数 = 成交手数 - 关联数量",
  28985. "type": "number"
  28986. },
  28987. "goodscode": {
  28988. "description": "合约代码",
  28989. "type": "string"
  28990. },
  28991. "goodsgroupid": {
  28992. "description": "对冲品种ID[期货合约商品组ID]",
  28993. "type": "integer"
  28994. },
  28995. "goodsid": {
  28996. "description": "商品ID",
  28997. "type": "integer"
  28998. },
  28999. "goodsname": {
  29000. "description": "合约名称",
  29001. "type": "string"
  29002. },
  29003. "hedgeditemid": {
  29004. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29005. "type": "integer"
  29006. },
  29007. "hedgeflag": {
  29008. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29009. "type": "integer"
  29010. },
  29011. "linkdetailid": {
  29012. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29013. "type": "string"
  29014. },
  29015. "linkstatus": {
  29016. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29017. "type": "integer"
  29018. },
  29019. "middlegoodsid": {
  29020. "description": "套保品种ID",
  29021. "type": "integer"
  29022. },
  29023. "relatedlot": {
  29024. "description": "[数量]关联手数",
  29025. "type": "number"
  29026. },
  29027. "relatedmode": {
  29028. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29029. "type": "integer"
  29030. },
  29031. "relatedqty": {
  29032. "description": "[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29033. "type": "number"
  29034. },
  29035. "retcode": {
  29036. "description": "返回码",
  29037. "type": "integer"
  29038. },
  29039. "saleuserid": {
  29040. "description": "业务员ID",
  29041. "type": "integer"
  29042. },
  29043. "tradedate": {
  29044. "description": "关联交易日(yyyyMMdd)",
  29045. "type": "string"
  29046. },
  29047. "tradeid": {
  29048. "description": "成交单号",
  29049. "type": "string"
  29050. },
  29051. "tradelot": {
  29052. "description": "成交手数",
  29053. "type": "integer"
  29054. },
  29055. "tradeprice": {
  29056. "description": "成交价",
  29057. "type": "number"
  29058. },
  29059. "tradetime": {
  29060. "description": "成交时间",
  29061. "type": "string"
  29062. },
  29063. "tradetradedate": {
  29064. "description": "成交交易日(yyyyMMdd)",
  29065. "type": "string"
  29066. }
  29067. }
  29068. },
  29069. "models.Loginaccount": {
  29070. "type": "object",
  29071. "required": [
  29072. "loginid"
  29073. ],
  29074. "properties": {
  29075. "accountname": {
  29076. "description": "账户名称",
  29077. "type": "string"
  29078. },
  29079. "canoutin": {
  29080. "description": "是否可出入金 - 0:不可 1:可",
  29081. "type": "integer"
  29082. },
  29083. "clientroleid": {
  29084. "description": "终端角色ID",
  29085. "type": "integer"
  29086. },
  29087. "haslogined": {
  29088. "description": "是否已登录 - 0:未登录 1:已登录",
  29089. "type": "integer"
  29090. },
  29091. "hasupdatedpwd": {
  29092. "description": "是否已更改密码 - 0:未修改 1:已修改",
  29093. "type": "integer"
  29094. },
  29095. "lastloginip": {
  29096. "description": "最新登录地址",
  29097. "type": "string"
  29098. },
  29099. "lastloginmode": {
  29100. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  29101. "type": "integer"
  29102. },
  29103. "lastloginremark": {
  29104. "description": "最新登录描述",
  29105. "type": "string"
  29106. },
  29107. "lastlogintime": {
  29108. "description": "最新登录时间",
  29109. "type": "string"
  29110. },
  29111. "logincode": {
  29112. "description": "登录代码",
  29113. "type": "string"
  29114. },
  29115. "loginfailnum": {
  29116. "description": "连续登录失败次数(登录成功时清零)",
  29117. "type": "integer"
  29118. },
  29119. "loginid": {
  29120. "description": "登陆账号",
  29121. "type": "integer"
  29122. },
  29123. "loginport": {
  29124. "description": "最新登录端口",
  29125. "type": "integer"
  29126. },
  29127. "loginstatus": {
  29128. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  29129. "type": "integer"
  29130. },
  29131. "loginusertype": {
  29132. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  29133. "type": "integer"
  29134. },
  29135. "mobile": {
  29136. "description": "手机号码(加密存储)",
  29137. "type": "string"
  29138. },
  29139. "modifierid": {
  29140. "description": "修改人",
  29141. "type": "integer"
  29142. },
  29143. "modifysrc": {
  29144. "description": "审核来源 - 1:管理端 2:终端",
  29145. "type": "integer"
  29146. },
  29147. "modifytime": {
  29148. "description": "修改时间",
  29149. "type": "string"
  29150. },
  29151. "password": {
  29152. "description": "登陆密码",
  29153. "type": "string"
  29154. },
  29155. "pwdwrongcount": {
  29156. "description": "密码错误次数",
  29157. "type": "integer"
  29158. },
  29159. "relateduserid": {
  29160. "description": "关联用户ID(机构)",
  29161. "type": "integer"
  29162. },
  29163. "taaccountrighttype": {
  29164. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  29165. "type": "integer"
  29166. },
  29167. "unfreezetime": {
  29168. "description": "账户解冻时间",
  29169. "type": "string"
  29170. },
  29171. "userid": {
  29172. "description": "用户ID",
  29173. "type": "integer"
  29174. }
  29175. }
  29176. },
  29177. "models.MainAccountInfo": {
  29178. "type": "object",
  29179. "properties": {
  29180. "accountid": {
  29181. "description": "账号id",
  29182. "type": "integer"
  29183. },
  29184. "accountname": {
  29185. "description": "账号名称(taaccount表中的名称)",
  29186. "type": "string"
  29187. },
  29188. "appid": {
  29189. "description": "AppID",
  29190. "type": "string"
  29191. },
  29192. "authcode": {
  29193. "description": "授权码",
  29194. "type": "string"
  29195. },
  29196. "brokerid": {
  29197. "description": "经纪商id",
  29198. "type": "string"
  29199. },
  29200. "fcid": {
  29201. "description": "期货公司id",
  29202. "type": "integer"
  29203. },
  29204. "fcname": {
  29205. "description": "期货公司代码",
  29206. "type": "string"
  29207. },
  29208. "hedgeaccountcode": {
  29209. "description": "外部账号代码(主账号登录代码)",
  29210. "type": "string"
  29211. },
  29212. "hedgeaccountpwd": {
  29213. "description": "密码",
  29214. "type": "string"
  29215. },
  29216. "ismain": {
  29217. "description": "是否主账号",
  29218. "type": "integer"
  29219. },
  29220. "relateduserid": {
  29221. "description": "关联用户id",
  29222. "type": "integer"
  29223. },
  29224. "userid": {
  29225. "description": "关联用户id",
  29226. "type": "integer"
  29227. }
  29228. }
  29229. },
  29230. "models.Market": {
  29231. "type": "object",
  29232. "required": [
  29233. "marketid",
  29234. "marketstatus",
  29235. "openmethod",
  29236. "reckonpricealgorithm",
  29237. "trademode",
  29238. "tradeproperty"
  29239. ],
  29240. "properties": {
  29241. "auctionwrtype": {
  29242. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  29243. "type": "integer"
  29244. },
  29245. "canacceptquote": {
  29246. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  29247. "type": "integer"
  29248. },
  29249. "cangoodsexercise": {
  29250. "description": "[期权]是否可现货行权- 0:否 1:是",
  29251. "type": "integer"
  29252. },
  29253. "cangoodsexercisetype": {
  29254. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  29255. "type": "integer"
  29256. },
  29257. "canmanualquotestrike": {
  29258. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  29259. "type": "integer"
  29260. },
  29261. "canmutistage": {
  29262. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  29263. "type": "integer"
  29264. },
  29265. "canpreexercise": {
  29266. "description": "[期权]是否可预申报- 0:否 1:是",
  29267. "type": "integer"
  29268. },
  29269. "clearinterval": {
  29270. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  29271. "type": "integer"
  29272. },
  29273. "contracttmp": {
  29274. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  29275. "type": "string"
  29276. },
  29277. "exchareaid": {
  29278. "description": "所属交易所,可以没有",
  29279. "type": "integer"
  29280. },
  29281. "goodstype": {
  29282. "description": "商品类型 - 1:交易商品 2:仓单商品",
  29283. "type": "integer"
  29284. },
  29285. "hasrebate": {
  29286. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  29287. "type": "integer"
  29288. },
  29289. "hastradecredit": {
  29290. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  29291. "type": "integer"
  29292. },
  29293. "haswr": {
  29294. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  29295. "type": "integer"
  29296. },
  29297. "isdeductmargin": {
  29298. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  29299. "type": "integer"
  29300. },
  29301. "isrecordsource": {
  29302. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  29303. "type": "integer"
  29304. },
  29305. "isreleasemargin": {
  29306. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  29307. "type": "integer"
  29308. },
  29309. "marginformula": {
  29310. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  29311. "type": "integer"
  29312. },
  29313. "marginformula2": {
  29314. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  29315. "type": "integer"
  29316. },
  29317. "marketid": {
  29318. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29319. "type": "integer"
  29320. },
  29321. "marketname": {
  29322. "description": "市场名称",
  29323. "type": "string"
  29324. },
  29325. "marketserviceid": {
  29326. "description": "市场服务ID",
  29327. "type": "integer"
  29328. },
  29329. "marketstatus": {
  29330. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29331. "type": "integer"
  29332. },
  29333. "markettype": {
  29334. "description": "市场类型- 1:非交易服务 2:交易服务",
  29335. "type": "integer"
  29336. },
  29337. "matchermode": {
  29338. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  29339. "type": "integer"
  29340. },
  29341. "openmethod": {
  29342. "description": "开盘模式 - 0 自动 1手动",
  29343. "type": "integer"
  29344. },
  29345. "otcuserid": {
  29346. "description": "场外期权做市商[场外期权]",
  29347. "type": "integer"
  29348. },
  29349. "outersynctime": {
  29350. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  29351. "type": "string"
  29352. },
  29353. "pendingflag": {
  29354. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  29355. "type": "integer"
  29356. },
  29357. "pendingtime": {
  29358. "description": "待开市时间[通道交易-对冲](HH:mm)",
  29359. "type": "string"
  29360. },
  29361. "performancetempid": {
  29362. "description": "履约计划模板ID - 作废",
  29363. "type": "integer"
  29364. },
  29365. "premiumquotemode": {
  29366. "description": "权利金报价方式 - 1:自动 2:手动",
  29367. "type": "integer"
  29368. },
  29369. "rebateratio": {
  29370. "description": "返利比率[竞价式]",
  29371. "type": "number"
  29372. },
  29373. "reckonorder": {
  29374. "description": "结算顺序",
  29375. "type": "integer"
  29376. },
  29377. "reckonpricealgorithm": {
  29378. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  29379. "type": "integer"
  29380. },
  29381. "reckonpriceparam": {
  29382. "description": "结算价参数",
  29383. "type": "integer"
  29384. },
  29385. "reckontime": {
  29386. "description": "结算时间[通道交易-对冲](HH:mm)",
  29387. "type": "string"
  29388. },
  29389. "roleprioritytype": {
  29390. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  29391. "type": "integer"
  29392. },
  29393. "selllistingauditflag": {
  29394. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  29395. "type": "integer"
  29396. },
  29397. "trademarkettype": {
  29398. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  29399. "type": "integer"
  29400. },
  29401. "trademode": {
  29402. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29403. "type": "integer"
  29404. },
  29405. "tradeproperty": {
  29406. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  29407. "type": "integer"
  29408. },
  29409. "tradetype": {
  29410. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  29411. "type": "integer"
  29412. }
  29413. }
  29414. },
  29415. "models.Marketrun": {
  29416. "type": "object",
  29417. "required": [
  29418. "marketid",
  29419. "nexttradedate",
  29420. "reckonflag",
  29421. "runstatus",
  29422. "tradedate",
  29423. "tradedate2"
  29424. ],
  29425. "properties": {
  29426. "afternexttradedate": {
  29427. "description": "下下交易日",
  29428. "type": "string"
  29429. },
  29430. "clearquoteflag": {
  29431. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  29432. "type": "integer"
  29433. },
  29434. "lastreckondate": {
  29435. "description": "最新交易日(结算成功)",
  29436. "type": "string"
  29437. },
  29438. "machinedate": {
  29439. "description": "机器时间",
  29440. "type": "string"
  29441. },
  29442. "manualflag": {
  29443. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  29444. "type": "integer"
  29445. },
  29446. "marketid": {
  29447. "description": "市场ID",
  29448. "type": "integer"
  29449. },
  29450. "nexttradedate": {
  29451. "description": "下一交易日",
  29452. "type": "string"
  29453. },
  29454. "pretradedate": {
  29455. "description": "上一交易日",
  29456. "type": "string"
  29457. },
  29458. "reckonflag": {
  29459. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  29460. "type": "integer"
  29461. },
  29462. "runstatus": {
  29463. "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.今日免清算",
  29464. "type": "integer"
  29465. },
  29466. "sectionid": {
  29467. "description": "时间段号[多时段时用]",
  29468. "type": "integer"
  29469. },
  29470. "tradedate": {
  29471. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  29472. "type": "string"
  29473. },
  29474. "tradedate2": {
  29475. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  29476. "type": "string"
  29477. },
  29478. "updatetime": {
  29479. "description": "更新时间",
  29480. "type": "string"
  29481. }
  29482. }
  29483. },
  29484. "models.Messageboard": {
  29485. "type": "object",
  29486. "required": [
  29487. "messageboardid"
  29488. ],
  29489. "properties": {
  29490. "contactnum": {
  29491. "description": "联系电话",
  29492. "type": "string"
  29493. },
  29494. "createtime": {
  29495. "description": "创建时间",
  29496. "type": "string"
  29497. },
  29498. "message": {
  29499. "description": "留言信息",
  29500. "type": "string"
  29501. },
  29502. "messageboardid": {
  29503. "description": "留言簿ID(SEQ_MessageBoard)",
  29504. "type": "integer"
  29505. },
  29506. "userid": {
  29507. "description": "用户ID",
  29508. "type": "integer"
  29509. }
  29510. }
  29511. },
  29512. "models.MyCoupon": {
  29513. "type": "object",
  29514. "required": [
  29515. "accountid",
  29516. "coupontypeid"
  29517. ],
  29518. "properties": {
  29519. "accountid": {
  29520. "description": "资金账户ID",
  29521. "type": "integer"
  29522. },
  29523. "areauserid": {
  29524. "description": "所属机构",
  29525. "type": "integer"
  29526. },
  29527. "conditionvalue": {
  29528. "description": "条件阈值(可为0)",
  29529. "type": "number"
  29530. },
  29531. "couponcategroy": {
  29532. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  29533. "type": "integer"
  29534. },
  29535. "couponname": {
  29536. "description": "优惠券名称",
  29537. "type": "string"
  29538. },
  29539. "coupontypeid": {
  29540. "description": "优惠券类型ID",
  29541. "type": "string"
  29542. },
  29543. "couponvalue": {
  29544. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  29545. "type": "number"
  29546. },
  29547. "curfreezeqty": {
  29548. "description": "期末冻结数量",
  29549. "type": "integer"
  29550. },
  29551. "curqty": {
  29552. "description": "期末数量",
  29553. "type": "integer"
  29554. },
  29555. "isgeneral": {
  29556. "description": "是否通用券 - 0:否 1:是",
  29557. "type": "integer"
  29558. },
  29559. "isunusable": {
  29560. "description": "是否不可用",
  29561. "type": "boolean"
  29562. },
  29563. "limitedflag": {
  29564. "description": "是否指定商品 - 0:不限 1:限制",
  29565. "type": "integer"
  29566. },
  29567. "limitedgoodsids": {
  29568. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  29569. "type": "string"
  29570. },
  29571. "orifreezeqty": {
  29572. "description": "期初冻结数量",
  29573. "type": "integer"
  29574. },
  29575. "oriqty": {
  29576. "description": "期初数量",
  29577. "type": "integer"
  29578. },
  29579. "reasontype": {
  29580. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  29581. "type": "integer"
  29582. },
  29583. "todaydecrease": {
  29584. "description": "今日减少",
  29585. "type": "integer"
  29586. },
  29587. "todayincrease": {
  29588. "description": "今日增加",
  29589. "type": "integer"
  29590. },
  29591. "userid": {
  29592. "description": "用户ID",
  29593. "type": "integer"
  29594. },
  29595. "userscope": {
  29596. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  29597. "type": "string"
  29598. }
  29599. }
  29600. },
  29601. "models.MyCouponHold": {
  29602. "type": "object",
  29603. "required": [
  29604. "couponholdid"
  29605. ],
  29606. "properties": {
  29607. "accountid": {
  29608. "description": "资金账户ID",
  29609. "type": "integer"
  29610. },
  29611. "conditionvalue": {
  29612. "description": "条件阈值(可为0)",
  29613. "type": "number"
  29614. },
  29615. "couponcategroy": {
  29616. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  29617. "type": "integer"
  29618. },
  29619. "couponholdid": {
  29620. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  29621. "type": "string"
  29622. },
  29623. "couponname": {
  29624. "description": "优惠券名称",
  29625. "type": "string"
  29626. },
  29627. "coupontypeid": {
  29628. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  29629. "type": "string"
  29630. },
  29631. "couponvalue": {
  29632. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  29633. "type": "number"
  29634. },
  29635. "createtime": {
  29636. "description": "创建时间",
  29637. "type": "string"
  29638. },
  29639. "enddate": {
  29640. "description": "结束日期",
  29641. "type": "string"
  29642. },
  29643. "giveapplyid": {
  29644. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  29645. "type": "integer"
  29646. },
  29647. "holdstatus": {
  29648. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  29649. "type": "integer"
  29650. },
  29651. "isgeneral": {
  29652. "description": "是否通用券 - 0:否 1:是",
  29653. "type": "integer"
  29654. },
  29655. "limitedflag": {
  29656. "description": "是否指定商品 - 0:不限 1:限制",
  29657. "type": "integer"
  29658. },
  29659. "limitedgoodsids": {
  29660. "description": "指定商品IDs[逗号分隔]",
  29661. "type": "string"
  29662. },
  29663. "qty": {
  29664. "description": "数量(按1平铺)",
  29665. "type": "integer"
  29666. },
  29667. "startdate": {
  29668. "description": "开始日期",
  29669. "type": "string"
  29670. },
  29671. "userid": {
  29672. "description": "用户ID",
  29673. "type": "integer"
  29674. },
  29675. "userscope": {
  29676. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  29677. "type": "string"
  29678. }
  29679. }
  29680. },
  29681. "models.MyUsedCoupon": {
  29682. "type": "object",
  29683. "required": [
  29684. "coupontypeid",
  29685. "orderid"
  29686. ],
  29687. "properties": {
  29688. "accountid": {
  29689. "description": "资金账户ID(买方)",
  29690. "type": "integer"
  29691. },
  29692. "conditionvalue": {
  29693. "description": "条件阈值(可为0)",
  29694. "type": "number"
  29695. },
  29696. "couponcategroy": {
  29697. "description": "种类 - 1:现金券 2:折扣券",
  29698. "type": "integer"
  29699. },
  29700. "couponname": {
  29701. "description": "优惠券名称",
  29702. "type": "string"
  29703. },
  29704. "coupontypeid": {
  29705. "description": "优惠券类型ID(买方)",
  29706. "type": "string"
  29707. },
  29708. "couponvalue": {
  29709. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  29710. "type": "number"
  29711. },
  29712. "createtime": {
  29713. "description": "创建时间",
  29714. "type": "string"
  29715. },
  29716. "goodsid": {
  29717. "description": "商品ID",
  29718. "type": "integer"
  29719. },
  29720. "handlestatus": {
  29721. "description": "处理状态",
  29722. "type": "integer"
  29723. },
  29724. "marketid": {
  29725. "description": "市场ID",
  29726. "type": "integer"
  29727. },
  29728. "offamount": {
  29729. "description": "优惠金额",
  29730. "type": "number"
  29731. },
  29732. "orderid": {
  29733. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29734. "type": "string"
  29735. },
  29736. "sellaccountid": {
  29737. "description": "资金账户ID(卖方)",
  29738. "type": "integer"
  29739. },
  29740. "tradeamount": {
  29741. "description": "成交金额",
  29742. "type": "number"
  29743. },
  29744. "tradeid": {
  29745. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29746. "type": "string"
  29747. },
  29748. "usedqty": {
  29749. "description": "使用数量",
  29750. "type": "integer"
  29751. }
  29752. }
  29753. },
  29754. "models.OperationPrimaryMenu": {
  29755. "type": "object",
  29756. "properties": {
  29757. "Children": {
  29758. "description": "二级功能菜单",
  29759. "type": "array",
  29760. "items": {
  29761. "$ref": "#/definitions/models.OperationSecondaryMenu"
  29762. }
  29763. },
  29764. "Key": {
  29765. "description": "菜单KEY",
  29766. "type": "string"
  29767. },
  29768. "Label": {
  29769. "description": "菜单标题",
  29770. "type": "string"
  29771. }
  29772. }
  29773. },
  29774. "models.OperationSecondaryMenu": {
  29775. "type": "object",
  29776. "properties": {
  29777. "Key": {
  29778. "description": "菜单KEY",
  29779. "type": "string"
  29780. },
  29781. "Label": {
  29782. "description": "菜单标题",
  29783. "type": "string"
  29784. },
  29785. "TabList": {
  29786. "description": "三级功能菜单",
  29787. "type": "array",
  29788. "items": {
  29789. "$ref": "#/definitions/models.OperationTabMenu"
  29790. }
  29791. }
  29792. }
  29793. },
  29794. "models.OperationTabMenu": {
  29795. "type": "object",
  29796. "properties": {
  29797. "Key": {
  29798. "description": "菜单KEY",
  29799. "type": "string"
  29800. },
  29801. "Label": {
  29802. "description": "菜单标题",
  29803. "type": "string"
  29804. }
  29805. }
  29806. },
  29807. "models.QhjAccountOutInApply": {
  29808. "type": "object",
  29809. "properties": {
  29810. "accountcode": {
  29811. "description": "资金账号",
  29812. "type": "string"
  29813. },
  29814. "accountname": {
  29815. "description": "用户名称(名称)",
  29816. "type": "string"
  29817. },
  29818. "accountpwd": {
  29819. "description": "资金密码",
  29820. "type": "string"
  29821. },
  29822. "accountticket": {
  29823. "description": "最新账户服务流水号",
  29824. "type": "string"
  29825. },
  29826. "amount": {
  29827. "description": "金额",
  29828. "type": "number"
  29829. },
  29830. "applyremark": {
  29831. "description": "申请备注",
  29832. "type": "string"
  29833. },
  29834. "applystatus": {
  29835. "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: 复审通过,账户冻结金额检查中;",
  29836. "type": "integer"
  29837. },
  29838. "auditid": {
  29839. "description": "审核人",
  29840. "type": "integer"
  29841. },
  29842. "audittime": {
  29843. "description": "审核时间",
  29844. "type": "string"
  29845. },
  29846. "bank_apply_ticket": {
  29847. "description": "银行申请流水",
  29848. "type": "string"
  29849. },
  29850. "bankaccountname": {
  29851. "description": "银行账户名",
  29852. "type": "string"
  29853. },
  29854. "bankaccountno": {
  29855. "description": "银行卡号",
  29856. "type": "string"
  29857. },
  29858. "bankid": {
  29859. "description": "银行编号",
  29860. "type": "string"
  29861. },
  29862. "bankticket": {
  29863. "description": "银行流水",
  29864. "type": "string"
  29865. },
  29866. "branchbankid": {
  29867. "description": "银行支行号",
  29868. "type": "string"
  29869. },
  29870. "branchbankname": {
  29871. "description": "银行支行名称",
  29872. "type": "string"
  29873. },
  29874. "capamountout": {
  29875. "description": "出金(劣后本金) - 外部子账户",
  29876. "type": "number"
  29877. },
  29878. "certificatephotourl": {
  29879. "description": "凭证地址",
  29880. "type": "string"
  29881. },
  29882. "charge": {
  29883. "description": "手续费",
  29884. "type": "number"
  29885. },
  29886. "checkerrorflag": {
  29887. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29888. "type": "integer"
  29889. },
  29890. "currency": {
  29891. "description": "币种",
  29892. "type": "string"
  29893. },
  29894. "cusbankid": {
  29895. "description": "托管银行编号",
  29896. "type": "string"
  29897. },
  29898. "exchticket": {
  29899. "description": "银行服务流水号",
  29900. "type": "string"
  29901. },
  29902. "executetype": {
  29903. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29904. "type": "integer"
  29905. },
  29906. "extendinfo": {
  29907. "description": "扩展信息",
  29908. "type": "string"
  29909. },
  29910. "extoperateid": {
  29911. "description": "交易服务流水号",
  29912. "type": "integer"
  29913. },
  29914. "infamount": {
  29915. "description": "劣后金额(自有)",
  29916. "type": "number"
  29917. },
  29918. "logincode": {
  29919. "description": "登录账号(账号)",
  29920. "type": "string"
  29921. },
  29922. "netaddr": {
  29923. "description": "调转网址",
  29924. "type": "string"
  29925. },
  29926. "priamount": {
  29927. "description": "优先金额(授信)",
  29928. "type": "number"
  29929. },
  29930. "reauditid": {
  29931. "description": "复审人",
  29932. "type": "integer"
  29933. },
  29934. "reauditremark": {
  29935. "description": "复审备注",
  29936. "type": "string"
  29937. },
  29938. "reaudittime": {
  29939. "description": "复审时间",
  29940. "type": "string"
  29941. },
  29942. "relatedorderid": {
  29943. "description": "三方关联ID",
  29944. "type": "string"
  29945. },
  29946. "remark": {
  29947. "description": "备注",
  29948. "type": "string"
  29949. },
  29950. "remark2": {
  29951. "description": "备注(失败原因)",
  29952. "type": "string"
  29953. },
  29954. "soucreamount": {
  29955. "description": "原始出入金金额",
  29956. "type": "number"
  29957. },
  29958. "soucrecurrencyid": {
  29959. "description": "原始出入金币种",
  29960. "type": "integer"
  29961. },
  29962. "tradedate": {
  29963. "description": "交易日(yyyyMMdd)",
  29964. "type": "string"
  29965. },
  29966. "updatetime": {
  29967. "description": "更新时间(申请时间)",
  29968. "type": "string"
  29969. },
  29970. "userid": {
  29971. "description": "用户id",
  29972. "type": "integer"
  29973. },
  29974. "userinfotype": {
  29975. "description": "账户类型 1-个人 2-企业",
  29976. "type": "integer"
  29977. }
  29978. }
  29979. },
  29980. "models.QhjAgreementChangeLog": {
  29981. "type": "object",
  29982. "properties": {
  29983. "agreementcontent": {
  29984. "description": "协议内容",
  29985. "type": "string"
  29986. },
  29987. "agreementfrequency": {
  29988. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  29989. "type": "integer"
  29990. },
  29991. "agreementid": {
  29992. "description": "协议ID",
  29993. "type": "integer"
  29994. },
  29995. "agreementname": {
  29996. "description": "协议名称",
  29997. "type": "string"
  29998. },
  29999. "agreementno": {
  30000. "description": "协议编号",
  30001. "type": "string"
  30002. },
  30003. "agreementtype": {
  30004. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30005. "type": "integer"
  30006. },
  30007. "agreementversion": {
  30008. "description": "协议版本号",
  30009. "type": "integer"
  30010. },
  30011. "logid": {
  30012. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  30013. "type": "integer"
  30014. },
  30015. "reviserid": {
  30016. "description": "修改人",
  30017. "type": "integer"
  30018. },
  30019. "revisersrc": {
  30020. "description": "修改来源 - 1:管理端 2:终端",
  30021. "type": "integer"
  30022. },
  30023. "updatetime": {
  30024. "description": "更新时间",
  30025. "type": "string"
  30026. }
  30027. }
  30028. },
  30029. "models.QhjAgreementConfig": {
  30030. "type": "object",
  30031. "properties": {
  30032. "agreementcontent": {
  30033. "description": "协议内容",
  30034. "type": "string"
  30035. },
  30036. "agreementfrequency": {
  30037. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  30038. "type": "integer"
  30039. },
  30040. "agreementid": {
  30041. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  30042. "type": "integer"
  30043. },
  30044. "agreementname": {
  30045. "description": "协议名称",
  30046. "type": "string"
  30047. },
  30048. "agreementno": {
  30049. "description": "协议编号",
  30050. "type": "string"
  30051. },
  30052. "agreementtype": {
  30053. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30054. "type": "integer"
  30055. },
  30056. "agreementversion": {
  30057. "description": "协议版本号(从1开始每次修改加1)",
  30058. "type": "integer"
  30059. },
  30060. "createtime": {
  30061. "description": "创建时间",
  30062. "type": "string"
  30063. },
  30064. "creatorid": {
  30065. "description": "创建人",
  30066. "type": "integer"
  30067. },
  30068. "creatorsrc": {
  30069. "description": "创建来源 - 1:管理端 2:终端",
  30070. "type": "integer"
  30071. },
  30072. "isvalid": {
  30073. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  30074. "type": "integer"
  30075. },
  30076. "reviserid": {
  30077. "description": "修改人",
  30078. "type": "integer"
  30079. },
  30080. "revisersrc": {
  30081. "description": "修改来源 - 1:管理端 2:终端",
  30082. "type": "integer"
  30083. },
  30084. "updatetime": {
  30085. "description": "更新时间",
  30086. "type": "string"
  30087. }
  30088. }
  30089. },
  30090. "models.QhjAreaFinanceConfig": {
  30091. "type": "object",
  30092. "properties": {
  30093. "additionalratio": {
  30094. "description": "追加款比例",
  30095. "type": "number"
  30096. },
  30097. "advanceratio": {
  30098. "description": "预付款比例",
  30099. "type": "number"
  30100. },
  30101. "alarmratio": {
  30102. "description": "告警比例",
  30103. "type": "number"
  30104. },
  30105. "consumptiondirectreward": {
  30106. "description": "消费直推奖励值",
  30107. "type": "number"
  30108. },
  30109. "consumptionenabled": {
  30110. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  30111. "type": "integer"
  30112. },
  30113. "consumptionindirectreward": {
  30114. "description": "消费间推奖励值",
  30115. "type": "number"
  30116. },
  30117. "consumptionmodel": {
  30118. "description": "消费奖励方式 - 1:比率 2:固定",
  30119. "type": "integer"
  30120. },
  30121. "customerservicenum": {
  30122. "description": "客服电话",
  30123. "type": "string"
  30124. },
  30125. "dayinterestrate": {
  30126. "description": "日利率",
  30127. "type": "number"
  30128. },
  30129. "disableconsumptiontips": {
  30130. "description": "关闭消费奖励提示",
  30131. "type": "string"
  30132. },
  30133. "modifierid": {
  30134. "description": "修改人ID",
  30135. "type": "integer"
  30136. },
  30137. "modifysrc": {
  30138. "description": "审核来源 - 1:管理端 2:终端",
  30139. "type": "integer"
  30140. },
  30141. "modifytime": {
  30142. "description": "修改时间",
  30143. "type": "string"
  30144. },
  30145. "promotionvalue": {
  30146. "description": "推广奖励值(固定)",
  30147. "type": "number"
  30148. },
  30149. "scoreconfigvalue1": {
  30150. "description": "提货积分配置1",
  30151. "type": "integer"
  30152. },
  30153. "scoreconfigvalue2": {
  30154. "description": "提货积分配置2",
  30155. "type": "integer"
  30156. },
  30157. "userid": {
  30158. "description": "机构用户ID其他做市关系,都设置为 1",
  30159. "type": "integer"
  30160. },
  30161. "username": {
  30162. "description": "用户名称",
  30163. "type": "string"
  30164. }
  30165. }
  30166. },
  30167. "models.QhjBankAccountSign": {
  30168. "type": "object",
  30169. "properties": {
  30170. "accountcode": {
  30171. "description": "资金账号",
  30172. "type": "string"
  30173. },
  30174. "accountname": {
  30175. "description": "资金账号对应的账号名(UserName)",
  30176. "type": "string"
  30177. },
  30178. "accountname2": {
  30179. "description": "资金账号对应的账号名(UserName) - 密文",
  30180. "type": "string"
  30181. },
  30182. "accounttype": {
  30183. "description": "账户类型(UserType)",
  30184. "type": "integer"
  30185. },
  30186. "applicationtime": {
  30187. "description": "最后一次更新的时间",
  30188. "type": "string"
  30189. },
  30190. "applyexchticket": {
  30191. "description": "申请流水",
  30192. "type": "string"
  30193. },
  30194. "auditid": {
  30195. "description": "审核人",
  30196. "type": "integer"
  30197. },
  30198. "audittime": {
  30199. "description": "审核时间",
  30200. "type": "string"
  30201. },
  30202. "bankaccountname": {
  30203. "description": "签约银行卡账号名",
  30204. "type": "string"
  30205. },
  30206. "bankaccountname2": {
  30207. "description": "签约银行卡账号名 - 密文",
  30208. "type": "string"
  30209. },
  30210. "bankaccountno": {
  30211. "description": "银行卡号",
  30212. "type": "string"
  30213. },
  30214. "bankaccountno2": {
  30215. "description": "银行卡号 - 密文",
  30216. "type": "string"
  30217. },
  30218. "bankaccounttype": {
  30219. "description": "银行账户类型 - 1-对私; 2-对公",
  30220. "type": "integer"
  30221. },
  30222. "bankcardtype": {
  30223. "description": "银行卡类型",
  30224. "type": "integer"
  30225. },
  30226. "bankchildaccount": {
  30227. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  30228. "type": "string"
  30229. },
  30230. "bankcity": {
  30231. "description": "开户行城市",
  30232. "type": "string"
  30233. },
  30234. "bankid": {
  30235. "description": "签约银行ID",
  30236. "type": "string"
  30237. },
  30238. "bankname": {
  30239. "description": "签约银行名称",
  30240. "type": "string"
  30241. },
  30242. "bankprovince": {
  30243. "description": "开户行省份",
  30244. "type": "string"
  30245. },
  30246. "branchbankid": {
  30247. "description": "签约银行支行号",
  30248. "type": "string"
  30249. },
  30250. "branchbankname": {
  30251. "description": "签约银行支行名称",
  30252. "type": "string"
  30253. },
  30254. "cardno": {
  30255. "description": "证件号码",
  30256. "type": "string"
  30257. },
  30258. "cardno2": {
  30259. "description": "证件号码 - 密文",
  30260. "type": "string"
  30261. },
  30262. "cardtype": {
  30263. "description": "证件类型",
  30264. "type": "string"
  30265. },
  30266. "currency": {
  30267. "description": "币种",
  30268. "type": "string"
  30269. },
  30270. "cusbankid": {
  30271. "description": "托管银行编号",
  30272. "type": "string"
  30273. },
  30274. "direct": {
  30275. "description": "方向(可以判断那方先发起的签约)",
  30276. "type": "integer"
  30277. },
  30278. "exchticket": {
  30279. "description": "最后一次签约成功的流水号",
  30280. "type": "string"
  30281. },
  30282. "extendinfo": {
  30283. "description": "扩展信息(JSON字符串)",
  30284. "type": "string"
  30285. },
  30286. "mobilephone": {
  30287. "description": "手机号",
  30288. "type": "string"
  30289. },
  30290. "mobilephone2": {
  30291. "description": "手机号 - 密文",
  30292. "type": "string"
  30293. },
  30294. "netaddr": {
  30295. "description": "调转网址",
  30296. "type": "string"
  30297. },
  30298. "relateduserid": {
  30299. "description": "关联使用者userid",
  30300. "type": "integer"
  30301. },
  30302. "signstatus": {
  30303. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  30304. "type": "integer"
  30305. },
  30306. "updatetime": {
  30307. "description": "更新时间(签解约更新时间)",
  30308. "type": "string"
  30309. }
  30310. }
  30311. },
  30312. "models.QhjBankInfo": {
  30313. "type": "object",
  30314. "properties": {
  30315. "bankid": {
  30316. "description": "银行ID",
  30317. "type": "string"
  30318. },
  30319. "bankname": {
  30320. "description": "银行名称",
  30321. "type": "string"
  30322. },
  30323. "clearbankno": {
  30324. "description": "清算系统银行编号",
  30325. "type": "string"
  30326. },
  30327. "orderindex": {
  30328. "description": "排序顺序",
  30329. "type": "integer"
  30330. },
  30331. "status": {
  30332. "description": "状态 - 0:正常 1:注销",
  30333. "type": "integer"
  30334. }
  30335. }
  30336. },
  30337. "models.QhjBrokerApply": {
  30338. "type": "object",
  30339. "properties": {
  30340. "applicantid": {
  30341. "description": "申请人",
  30342. "type": "integer"
  30343. },
  30344. "applysrc": {
  30345. "description": "申请来源 - 1:管理端 2:终端",
  30346. "type": "integer"
  30347. },
  30348. "applystatus": {
  30349. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  30350. "type": "integer"
  30351. },
  30352. "applytime": {
  30353. "description": "申请时间",
  30354. "type": "string"
  30355. },
  30356. "auditorid": {
  30357. "description": "审核人",
  30358. "type": "integer"
  30359. },
  30360. "auditremark": {
  30361. "description": "审核备注",
  30362. "type": "string"
  30363. },
  30364. "auditsrc": {
  30365. "description": "审核来源 - 1:管理端 2:终端",
  30366. "type": "integer"
  30367. },
  30368. "audittime": {
  30369. "description": "审核时间",
  30370. "type": "string"
  30371. },
  30372. "audittradedate": {
  30373. "description": "审核交易日(yyyyMMdd)",
  30374. "type": "string"
  30375. },
  30376. "brokerapplyid": {
  30377. "description": "申请ID(SEQ_BROKERAPPLY)",
  30378. "type": "integer"
  30379. },
  30380. "cardbackphotourl": {
  30381. "description": "证件背面图片地址",
  30382. "type": "string"
  30383. },
  30384. "cardfrontphotourl": {
  30385. "description": "证件正面图片地址",
  30386. "type": "string"
  30387. },
  30388. "cardnum": {
  30389. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  30390. "type": "string"
  30391. },
  30392. "customername": {
  30393. "description": "姓名",
  30394. "type": "string"
  30395. },
  30396. "logincode": {
  30397. "description": "登录代码",
  30398. "type": "string"
  30399. },
  30400. "mobile": {
  30401. "description": "手机号码",
  30402. "type": "string"
  30403. },
  30404. "parentuserid": {
  30405. "description": "所属机构id",
  30406. "type": "integer"
  30407. },
  30408. "parentusername": {
  30409. "description": "所属机构名称",
  30410. "type": "string"
  30411. },
  30412. "refereeuserid": {
  30413. "description": "推荐人id(经纪人)",
  30414. "type": "integer"
  30415. },
  30416. "refernum": {
  30417. "description": "推荐码",
  30418. "type": "string"
  30419. },
  30420. "remark": {
  30421. "description": "备注",
  30422. "type": "string"
  30423. },
  30424. "subarealevelpath": {
  30425. "description": "层级路径",
  30426. "type": "string"
  30427. },
  30428. "tradedate": {
  30429. "description": "交易日(yyyyMMdd)",
  30430. "type": "string"
  30431. },
  30432. "userid": {
  30433. "description": "申请人用户ID",
  30434. "type": "integer"
  30435. },
  30436. "userinfotype": {
  30437. "description": "用户类型 1-个人 2-企业",
  30438. "type": "integer"
  30439. },
  30440. "username": {
  30441. "description": "用户名称",
  30442. "type": "string"
  30443. }
  30444. }
  30445. },
  30446. "models.QhjBrokerApplyEx": {
  30447. "type": "object",
  30448. "properties": {
  30449. "applylist": {
  30450. "description": "经纪人申请记录(只返回最新一条)",
  30451. "type": "array",
  30452. "items": {
  30453. "$ref": "#/definitions/models.QhjBrokerApply"
  30454. }
  30455. },
  30456. "canrecommend": {
  30457. "description": "是否经纪人 0-不是 1-是",
  30458. "type": "integer"
  30459. },
  30460. "refernum": {
  30461. "description": "推荐码",
  30462. "type": "string"
  30463. },
  30464. "userid": {
  30465. "description": "用户id",
  30466. "type": "integer"
  30467. },
  30468. "userinfotype": {
  30469. "description": "用户类型 1-个人 2-企业",
  30470. "type": "integer"
  30471. }
  30472. }
  30473. },
  30474. "models.QhjBrokerRewardLog": {
  30475. "type": "object",
  30476. "properties": {
  30477. "accountid": {
  30478. "description": "资金账号ID",
  30479. "type": "integer"
  30480. },
  30481. "createtime": {
  30482. "description": "创建时间(时间)",
  30483. "type": "string"
  30484. },
  30485. "handlestatus": {
  30486. "description": "处理状态",
  30487. "type": "integer"
  30488. },
  30489. "logid": {
  30490. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30491. "type": "string"
  30492. },
  30493. "marketid": {
  30494. "description": "市场ID",
  30495. "type": "integer"
  30496. },
  30497. "mmaccountid": {
  30498. "description": "做市商资金账号ID",
  30499. "type": "string"
  30500. },
  30501. "mmuserid": {
  30502. "description": "做市商用户ID",
  30503. "type": "string"
  30504. },
  30505. "rewardamount": {
  30506. "description": "奖励金额",
  30507. "type": "number"
  30508. },
  30509. "rewardmodel": {
  30510. "description": "消费奖励方式 - 1:比率 2:固定",
  30511. "type": "integer"
  30512. },
  30513. "rewardtype": {
  30514. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  30515. "type": "integer"
  30516. },
  30517. "rewardvalue": {
  30518. "description": "配置奖励值",
  30519. "type": "number"
  30520. },
  30521. "srcamount": {
  30522. "description": "成交金额 [消费奖励] (金额)",
  30523. "type": "number"
  30524. },
  30525. "srcgoodsid": {
  30526. "description": "来源商品ID [消费奖励]",
  30527. "type": "string"
  30528. },
  30529. "srctime": {
  30530. "description": "来源时间 (成交时间) [消费奖励]",
  30531. "type": "string"
  30532. },
  30533. "srctradeid": {
  30534. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  30535. "type": "string"
  30536. },
  30537. "srcuserid": {
  30538. "description": "来源用户ID(推广账户)",
  30539. "type": "string"
  30540. },
  30541. "srcusername": {
  30542. "description": "推广账户名称",
  30543. "type": "string"
  30544. },
  30545. "tradedate": {
  30546. "description": "交易日(yyyyMMdd)",
  30547. "type": "string"
  30548. },
  30549. "userid": {
  30550. "description": "经纪人用户ID",
  30551. "type": "integer"
  30552. }
  30553. }
  30554. },
  30555. "models.QhjContract": {
  30556. "type": "object",
  30557. "properties": {
  30558. "contractconfirmtime": {
  30559. "description": "合同确认时间(时间)",
  30560. "type": "string"
  30561. },
  30562. "currisklevel": {
  30563. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  30564. "type": "integer"
  30565. },
  30566. "decimalplace": {
  30567. "description": "商品报价小数位",
  30568. "type": "integer"
  30569. },
  30570. "enumdicname": {
  30571. "description": "单位名称",
  30572. "type": "string"
  30573. },
  30574. "goodscode": {
  30575. "description": "商品代码",
  30576. "type": "string"
  30577. },
  30578. "goodsid": {
  30579. "description": "商品ID [5:融资单]",
  30580. "type": "integer"
  30581. },
  30582. "goodsname": {
  30583. "description": "商品名称",
  30584. "type": "string"
  30585. },
  30586. "goodunitid": {
  30587. "description": "商品单位id",
  30588. "type": "integer"
  30589. },
  30590. "initmargin": {
  30591. "description": "初始保证金(首付款)",
  30592. "type": "number"
  30593. },
  30594. "lenderamount": {
  30595. "description": "贷款金额(总额|订单总额)",
  30596. "type": "number"
  30597. },
  30598. "marginratio": {
  30599. "description": "保证金比率(首付比例)",
  30600. "type": "number"
  30601. },
  30602. "payamount": {
  30603. "description": "已付(已付货款)",
  30604. "type": "number"
  30605. },
  30606. "reckonrecovermargin": {
  30607. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  30608. "type": "number"
  30609. },
  30610. "recoveredmargin": {
  30611. "description": "已追缴保证金",
  30612. "type": "number"
  30613. },
  30614. "remainamount": {
  30615. "description": "合同剩余金额(融资额)",
  30616. "type": "number"
  30617. },
  30618. "scfcontractid": {
  30619. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  30620. "type": "string"
  30621. },
  30622. "scfcontractstatus": {
  30623. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  30624. "type": "integer"
  30625. },
  30626. "scfcontracttype": {
  30627. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  30628. "type": "integer"
  30629. },
  30630. "totalinterest": {
  30631. "description": "已计总利息(利息)",
  30632. "type": "number"
  30633. },
  30634. "tradeprice": {
  30635. "description": "成交价格(成本价格)",
  30636. "type": "number"
  30637. },
  30638. "userid": {
  30639. "description": "用户ID",
  30640. "type": "integer"
  30641. },
  30642. "username": {
  30643. "description": "用户名称",
  30644. "type": "string"
  30645. },
  30646. "wrqty": {
  30647. "description": "仓单数量(数量)",
  30648. "type": "number"
  30649. }
  30650. }
  30651. },
  30652. "models.QhjContractLog": {
  30653. "type": "object",
  30654. "properties": {
  30655. "amount": {
  30656. "description": "支付金额",
  30657. "type": "number"
  30658. },
  30659. "amounttype": {
  30660. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  30661. "type": "integer"
  30662. },
  30663. "logid": {
  30664. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30665. "type": "string"
  30666. },
  30667. "remainamount": {
  30668. "description": "剩余货款",
  30669. "type": "number"
  30670. },
  30671. "scfcontractid": {
  30672. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  30673. "type": "integer"
  30674. },
  30675. "updatetime": {
  30676. "description": "更新时间",
  30677. "type": "string"
  30678. }
  30679. }
  30680. },
  30681. "models.QhjCusBankSignBankEx": {
  30682. "type": "object",
  30683. "properties": {
  30684. "banklst": {
  30685. "description": "银行列表",
  30686. "type": "array",
  30687. "items": {
  30688. "$ref": "#/definitions/models.QhjBankInfo"
  30689. }
  30690. },
  30691. "canallot": {
  30692. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  30693. "type": "integer"
  30694. },
  30695. "canallotquery": {
  30696. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  30697. "type": "integer"
  30698. },
  30699. "canbindcard": {
  30700. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  30701. "type": "integer"
  30702. },
  30703. "caninamount": {
  30704. "description": "是否可入金 - 0:不可 1:可以",
  30705. "type": "integer"
  30706. },
  30707. "caninamount2": {
  30708. "description": "是否可入金(网银端) - 0:不可 1:可以",
  30709. "type": "integer"
  30710. },
  30711. "canmodifybankcard": {
  30712. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  30713. "type": "integer"
  30714. },
  30715. "canmodifyphone": {
  30716. "description": "是否可修改手机号 - 0:不可 1:可以",
  30717. "type": "integer"
  30718. },
  30719. "canmodifysigninfo": {
  30720. "description": "是否可修改签约信息 - 0:不可 1:可以",
  30721. "type": "integer"
  30722. },
  30723. "canoutamount": {
  30724. "description": "是否可出金 - 0:不可 1:可以",
  30725. "type": "integer"
  30726. },
  30727. "canoutamount2": {
  30728. "description": "是否可出金(网银端) - 0:不可 1:可以",
  30729. "type": "integer"
  30730. },
  30731. "canrelease": {
  30732. "description": "是否可解约 - 0:不可 1:可以",
  30733. "type": "integer"
  30734. },
  30735. "canrelease2": {
  30736. "description": "是否可解约(网银端) - 0:不可 1:可以",
  30737. "type": "integer"
  30738. },
  30739. "cansign": {
  30740. "description": "是否可签约 - 0:不可 1:可以",
  30741. "type": "integer"
  30742. },
  30743. "cansign2": {
  30744. "description": "是否可签约(网银端) - 0:不可 1:可以",
  30745. "type": "integer"
  30746. },
  30747. "currency": {
  30748. "description": "币种",
  30749. "type": "string"
  30750. },
  30751. "cusbankid": {
  30752. "description": "托管银行编号(对应清算中心TRAN_NO)",
  30753. "type": "string"
  30754. },
  30755. "cusbankname": {
  30756. "description": "银行业务名称",
  30757. "type": "string"
  30758. },
  30759. "cusbankshortname": {
  30760. "description": "银行业务简称",
  30761. "type": "string"
  30762. },
  30763. "exchbankid": {
  30764. "description": "交易所开户银行ID",
  30765. "type": "string"
  30766. },
  30767. "exchpaybankaccname": {
  30768. "description": "交易所支出结算账户户名",
  30769. "type": "string"
  30770. },
  30771. "exchpaybankaccno": {
  30772. "description": "交易所支出结算账户",
  30773. "type": "string"
  30774. },
  30775. "isneedcheck": {
  30776. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  30777. "type": "integer"
  30778. },
  30779. "isneedclear": {
  30780. "description": "是否需要清算 - 0:不需要 1:需要",
  30781. "type": "integer"
  30782. },
  30783. "lastcheckstatus": {
  30784. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  30785. "type": "integer"
  30786. },
  30787. "lastchecktime": {
  30788. "description": "最后对账时间",
  30789. "type": "string"
  30790. },
  30791. "lastclearstatus": {
  30792. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  30793. "type": "integer"
  30794. },
  30795. "lastcleartime": {
  30796. "description": "最后清算时间",
  30797. "type": "string"
  30798. },
  30799. "lastsignintime": {
  30800. "description": "最后签到时间",
  30801. "type": "string"
  30802. },
  30803. "lastsignouttime": {
  30804. "description": "最后签退时间",
  30805. "type": "string"
  30806. },
  30807. "riskinfo": {
  30808. "description": "签约风险提示书",
  30809. "type": "string"
  30810. },
  30811. "signstatus": {
  30812. "description": "当前签到/签退状态 - 1:签到 2:签退",
  30813. "type": "integer"
  30814. },
  30815. "tradedate": {
  30816. "description": "交易日(yyyyMMdd)",
  30817. "type": "string"
  30818. },
  30819. "updatetime": {
  30820. "description": "当前签到/签退更新时间",
  30821. "type": "string"
  30822. }
  30823. }
  30824. },
  30825. "models.QhjCustomer": {
  30826. "type": "object",
  30827. "properties": {
  30828. "address": {
  30829. "description": "通讯地址",
  30830. "type": "string"
  30831. },
  30832. "attachment1": {
  30833. "description": "附件1",
  30834. "type": "string"
  30835. },
  30836. "attachment2": {
  30837. "description": "附件2",
  30838. "type": "string"
  30839. },
  30840. "audittime": {
  30841. "description": "审核时间",
  30842. "type": "string"
  30843. },
  30844. "cardbackphotourl": {
  30845. "description": "证件反面图片地址",
  30846. "type": "string"
  30847. },
  30848. "cardfrontphotourl": {
  30849. "description": "证件正面图片地址",
  30850. "type": "string"
  30851. },
  30852. "cardnum": {
  30853. "description": "证件号码",
  30854. "type": "string"
  30855. },
  30856. "cardtype": {
  30857. "description": "证件类型",
  30858. "type": "integer"
  30859. },
  30860. "cardtypename": {
  30861. "description": "证件类型名称",
  30862. "type": "string"
  30863. },
  30864. "cityid": {
  30865. "description": "市",
  30866. "type": "integer"
  30867. },
  30868. "cityname": {
  30869. "description": "城市名称",
  30870. "type": "string"
  30871. },
  30872. "contactname": {
  30873. "description": "联系人",
  30874. "type": "string"
  30875. },
  30876. "countryid": {
  30877. "description": "国家",
  30878. "type": "integer"
  30879. },
  30880. "countryname": {
  30881. "description": "国家名称",
  30882. "type": "string"
  30883. },
  30884. "createtime": {
  30885. "description": "创建时间",
  30886. "type": "string"
  30887. },
  30888. "customername": {
  30889. "description": "客户名称",
  30890. "type": "string"
  30891. },
  30892. "districtid": {
  30893. "description": "区域",
  30894. "type": "integer"
  30895. },
  30896. "districtname": {
  30897. "description": "地区名称",
  30898. "type": "string"
  30899. },
  30900. "email": {
  30901. "description": "邮件",
  30902. "type": "string"
  30903. },
  30904. "legalpersonname": {
  30905. "description": "法人姓名(企业)",
  30906. "type": "string"
  30907. },
  30908. "logincode": {
  30909. "description": "登录账号(代码)",
  30910. "type": "string"
  30911. },
  30912. "memberuserid": {
  30913. "description": "所属机构ID(所属会员)",
  30914. "type": "integer"
  30915. },
  30916. "memberusername": {
  30917. "description": "所属会员名称",
  30918. "type": "string"
  30919. },
  30920. "mobile": {
  30921. "description": "手机号码",
  30922. "type": "string"
  30923. },
  30924. "modifytime": {
  30925. "description": "修改时间",
  30926. "type": "string"
  30927. },
  30928. "nickname": {
  30929. "description": "昵称",
  30930. "type": "string"
  30931. },
  30932. "parentuserid": {
  30933. "description": "上级机构(所属机构)",
  30934. "type": "integer"
  30935. },
  30936. "parentusername": {
  30937. "description": "所属机构名称",
  30938. "type": "string"
  30939. },
  30940. "provinceid": {
  30941. "description": "省",
  30942. "type": "integer"
  30943. },
  30944. "provincename": {
  30945. "description": "省名称",
  30946. "type": "string"
  30947. },
  30948. "proxystatementurl": {
  30949. "description": "授权委托书",
  30950. "type": "string"
  30951. },
  30952. "remark": {
  30953. "description": "备注",
  30954. "type": "string"
  30955. },
  30956. "status": {
  30957. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  30958. "type": "integer"
  30959. },
  30960. "statusdesc": {
  30961. "description": "账户状态中文描述",
  30962. "type": "string"
  30963. },
  30964. "taxpayernum": {
  30965. "description": "纳税人识别号",
  30966. "type": "string"
  30967. },
  30968. "telphone": {
  30969. "description": "联系电话",
  30970. "type": "string"
  30971. },
  30972. "userid": {
  30973. "description": "用户ID",
  30974. "type": "integer"
  30975. },
  30976. "userinfotype": {
  30977. "description": "客户类型 1-个人 2-企业",
  30978. "type": "integer"
  30979. },
  30980. "username": {
  30981. "description": "用户名称",
  30982. "type": "string"
  30983. }
  30984. }
  30985. },
  30986. "models.QhjCustomerSignLog": {
  30987. "type": "object",
  30988. "properties": {
  30989. "agreementcontent": {
  30990. "description": "协议内容",
  30991. "type": "string"
  30992. },
  30993. "agreementid": {
  30994. "description": "协议ID",
  30995. "type": "integer"
  30996. },
  30997. "agreementname": {
  30998. "description": "协议名称",
  30999. "type": "string"
  31000. },
  31001. "agreementno": {
  31002. "description": "协议编号",
  31003. "type": "string"
  31004. },
  31005. "agreementtype": {
  31006. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31007. "type": "integer"
  31008. },
  31009. "agreementversion": {
  31010. "description": "协议版本号",
  31011. "type": "integer"
  31012. },
  31013. "createtime": {
  31014. "description": "创建时间",
  31015. "type": "string"
  31016. },
  31017. "goodscode": {
  31018. "description": "商品代码",
  31019. "type": "string"
  31020. },
  31021. "goodsid": {
  31022. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31023. "type": "integer"
  31024. },
  31025. "goodsname": {
  31026. "description": "商品名称",
  31027. "type": "string"
  31028. },
  31029. "logid": {
  31030. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  31031. "type": "integer"
  31032. },
  31033. "nodetype": {
  31034. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31035. "type": "integer"
  31036. },
  31037. "signadressurl": {
  31038. "description": "签约文件地址",
  31039. "type": "string"
  31040. },
  31041. "signtimestamp": {
  31042. "description": "签约状态时间戳",
  31043. "type": "string"
  31044. },
  31045. "userid": {
  31046. "description": "客户ID",
  31047. "type": "integer"
  31048. },
  31049. "username": {
  31050. "description": "客户名称",
  31051. "type": "string"
  31052. }
  31053. }
  31054. },
  31055. "models.QhjCustomerSignStatus": {
  31056. "type": "object",
  31057. "properties": {
  31058. "createtime": {
  31059. "description": "创建时间",
  31060. "type": "string"
  31061. },
  31062. "goodscode": {
  31063. "description": "商品代码",
  31064. "type": "string"
  31065. },
  31066. "goodsid": {
  31067. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31068. "type": "integer"
  31069. },
  31070. "goodsname": {
  31071. "description": "商品名称",
  31072. "type": "string"
  31073. },
  31074. "nodetype": {
  31075. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  31076. "type": "integer"
  31077. },
  31078. "signtimestamp": {
  31079. "description": "签约状态时间戳",
  31080. "type": "string"
  31081. },
  31082. "tradedate": {
  31083. "description": "创建交易日(yyyyMMdd)",
  31084. "type": "string"
  31085. },
  31086. "updatetime": {
  31087. "description": "更新时间",
  31088. "type": "string"
  31089. },
  31090. "userid": {
  31091. "description": "客户ID",
  31092. "type": "integer"
  31093. },
  31094. "username": {
  31095. "description": "客户名称",
  31096. "type": "string"
  31097. }
  31098. }
  31099. },
  31100. "models.QhjMgrAccountOutInApply": {
  31101. "type": "object",
  31102. "properties": {
  31103. "accountcode": {
  31104. "description": "资金账号",
  31105. "type": "string"
  31106. },
  31107. "accountname": {
  31108. "description": "用户名称(名称)",
  31109. "type": "string"
  31110. },
  31111. "accountpwd": {
  31112. "description": "资金密码",
  31113. "type": "string"
  31114. },
  31115. "accountticket": {
  31116. "description": "最新账户服务流水号",
  31117. "type": "string"
  31118. },
  31119. "amount": {
  31120. "description": "金额",
  31121. "type": "number"
  31122. },
  31123. "applyremark": {
  31124. "description": "申请备注",
  31125. "type": "string"
  31126. },
  31127. "applystatus": {
  31128. "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: 复审通过,账户冻结金额检查中;",
  31129. "type": "integer"
  31130. },
  31131. "auditid": {
  31132. "description": "审核人",
  31133. "type": "integer"
  31134. },
  31135. "audittime": {
  31136. "description": "审核时间",
  31137. "type": "string"
  31138. },
  31139. "bank_apply_ticket": {
  31140. "description": "银行申请流水",
  31141. "type": "string"
  31142. },
  31143. "bankaccountname": {
  31144. "description": "银行账户名",
  31145. "type": "string"
  31146. },
  31147. "bankaccountno": {
  31148. "description": "银行卡号",
  31149. "type": "string"
  31150. },
  31151. "bankid": {
  31152. "description": "银行编号",
  31153. "type": "string"
  31154. },
  31155. "bankname": {
  31156. "description": "银行名称",
  31157. "type": "string"
  31158. },
  31159. "bankticket": {
  31160. "description": "银行流水",
  31161. "type": "string"
  31162. },
  31163. "branchbankid": {
  31164. "description": "银行支行号",
  31165. "type": "string"
  31166. },
  31167. "branchbankname": {
  31168. "description": "银行支行名称",
  31169. "type": "string"
  31170. },
  31171. "capamountout": {
  31172. "description": "出金(劣后本金) - 外部子账户",
  31173. "type": "number"
  31174. },
  31175. "certificatephotourl": {
  31176. "description": "凭证地址",
  31177. "type": "string"
  31178. },
  31179. "charge": {
  31180. "description": "手续费",
  31181. "type": "number"
  31182. },
  31183. "checkerrorflag": {
  31184. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31185. "type": "integer"
  31186. },
  31187. "currency": {
  31188. "description": "币种",
  31189. "type": "string"
  31190. },
  31191. "cusbankid": {
  31192. "description": "托管银行编号",
  31193. "type": "string"
  31194. },
  31195. "exchticket": {
  31196. "description": "银行服务流水号",
  31197. "type": "string"
  31198. },
  31199. "executetype": {
  31200. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31201. "type": "integer"
  31202. },
  31203. "extendinfo": {
  31204. "description": "扩展信息",
  31205. "type": "string"
  31206. },
  31207. "extoperateid": {
  31208. "description": "交易服务流水号",
  31209. "type": "integer"
  31210. },
  31211. "infamount": {
  31212. "description": "劣后金额(自有)",
  31213. "type": "number"
  31214. },
  31215. "logincode": {
  31216. "description": "登录账号(账号)",
  31217. "type": "string"
  31218. },
  31219. "netaddr": {
  31220. "description": "调转网址",
  31221. "type": "string"
  31222. },
  31223. "priamount": {
  31224. "description": "优先金额(授信)",
  31225. "type": "number"
  31226. },
  31227. "reauditid": {
  31228. "description": "复审人",
  31229. "type": "integer"
  31230. },
  31231. "reauditremark": {
  31232. "description": "复审备注",
  31233. "type": "string"
  31234. },
  31235. "reaudittime": {
  31236. "description": "复审时间",
  31237. "type": "string"
  31238. },
  31239. "relatedorderid": {
  31240. "description": "三方关联ID",
  31241. "type": "string"
  31242. },
  31243. "remark": {
  31244. "description": "备注",
  31245. "type": "string"
  31246. },
  31247. "remark2": {
  31248. "description": "备注(失败原因)",
  31249. "type": "string"
  31250. },
  31251. "soucreamount": {
  31252. "description": "原始出入金金额",
  31253. "type": "number"
  31254. },
  31255. "soucrecurrencyid": {
  31256. "description": "原始出入金币种",
  31257. "type": "integer"
  31258. },
  31259. "tradedate": {
  31260. "description": "交易日(yyyyMMdd)",
  31261. "type": "string"
  31262. },
  31263. "updatetime": {
  31264. "description": "更新时间(申请时间)",
  31265. "type": "string"
  31266. },
  31267. "userid": {
  31268. "description": "用户id",
  31269. "type": "integer"
  31270. },
  31271. "userinfotype": {
  31272. "description": "账户类型 1-个人 2-企业",
  31273. "type": "integer"
  31274. }
  31275. }
  31276. },
  31277. "models.QhjMgrBrokerApply": {
  31278. "type": "object",
  31279. "properties": {
  31280. "applicantid": {
  31281. "description": "申请人",
  31282. "type": "integer"
  31283. },
  31284. "applysrc": {
  31285. "description": "申请来源 - 1:管理端 2:终端",
  31286. "type": "integer"
  31287. },
  31288. "applystatus": {
  31289. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  31290. "type": "integer"
  31291. },
  31292. "applytime": {
  31293. "description": "申请时间",
  31294. "type": "string"
  31295. },
  31296. "auditorid": {
  31297. "description": "审核人",
  31298. "type": "integer"
  31299. },
  31300. "auditremark": {
  31301. "description": "审核备注",
  31302. "type": "string"
  31303. },
  31304. "auditsrc": {
  31305. "description": "审核来源 - 1:管理端 2:终端",
  31306. "type": "integer"
  31307. },
  31308. "audittime": {
  31309. "description": "审核时间",
  31310. "type": "string"
  31311. },
  31312. "audittradedate": {
  31313. "description": "审核交易日(yyyyMMdd)",
  31314. "type": "string"
  31315. },
  31316. "brokerapplyid": {
  31317. "description": "申请ID(SEQ_BROKERAPPLY)",
  31318. "type": "integer"
  31319. },
  31320. "cardbackphotourl": {
  31321. "description": "证件背面图片地址",
  31322. "type": "string"
  31323. },
  31324. "cardfrontphotourl": {
  31325. "description": "证件正面图片地址",
  31326. "type": "string"
  31327. },
  31328. "cardnum": {
  31329. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  31330. "type": "string"
  31331. },
  31332. "customername": {
  31333. "description": "姓名",
  31334. "type": "string"
  31335. },
  31336. "filterstatus": {
  31337. "description": "筛选条件",
  31338. "type": "string"
  31339. },
  31340. "logincode": {
  31341. "description": "登录代码",
  31342. "type": "string"
  31343. },
  31344. "mobile": {
  31345. "description": "手机号码",
  31346. "type": "string"
  31347. },
  31348. "parentuserid": {
  31349. "description": "所属机构id",
  31350. "type": "integer"
  31351. },
  31352. "parentusername": {
  31353. "description": "所属机构名称",
  31354. "type": "string"
  31355. },
  31356. "refereeuserid": {
  31357. "description": "推荐人id(经纪人)",
  31358. "type": "integer"
  31359. },
  31360. "refernum": {
  31361. "description": "推荐码",
  31362. "type": "string"
  31363. },
  31364. "remark": {
  31365. "description": "备注",
  31366. "type": "string"
  31367. },
  31368. "subarealevelpath": {
  31369. "description": "层级路径",
  31370. "type": "string"
  31371. },
  31372. "tradedate": {
  31373. "description": "交易日(yyyyMMdd)",
  31374. "type": "string"
  31375. },
  31376. "userid": {
  31377. "description": "申请人用户ID",
  31378. "type": "integer"
  31379. },
  31380. "userinfotype": {
  31381. "description": "用户类型 1-个人 2-企业",
  31382. "type": "integer"
  31383. },
  31384. "username": {
  31385. "description": "用户名称",
  31386. "type": "string"
  31387. }
  31388. }
  31389. },
  31390. "models.QhjMgrBrokerRewardReport": {
  31391. "type": "object",
  31392. "properties": {
  31393. "createtime": {
  31394. "description": "创建时间(注册时间)",
  31395. "type": "string"
  31396. },
  31397. "cycletime": {
  31398. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  31399. "type": "string"
  31400. },
  31401. "cycletype": {
  31402. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  31403. "type": "integer"
  31404. },
  31405. "directtotalnum": {
  31406. "description": "直推总人数【期末】",
  31407. "type": "integer"
  31408. },
  31409. "indirecttotalnum": {
  31410. "description": "间推总人数【期末】",
  31411. "type": "integer"
  31412. },
  31413. "mobile": {
  31414. "description": "电话号码",
  31415. "type": "string"
  31416. },
  31417. "refereeuserid": {
  31418. "description": "推荐人id(经纪人id)",
  31419. "type": "integer"
  31420. },
  31421. "refereeusername": {
  31422. "description": "推荐人名称(经纪人) 上级经纪人名称",
  31423. "type": "string"
  31424. },
  31425. "refernum": {
  31426. "description": "推荐码",
  31427. "type": "string"
  31428. },
  31429. "subarealevelpath": {
  31430. "description": "用户层级路径",
  31431. "type": "string"
  31432. },
  31433. "todayrewardamount": {
  31434. "description": "奖励总金额【汇总】",
  31435. "type": "number"
  31436. },
  31437. "updatetime": {
  31438. "description": "更新时间",
  31439. "type": "string"
  31440. },
  31441. "userid": {
  31442. "description": "经纪人用户ID",
  31443. "type": "integer"
  31444. },
  31445. "userinfotype": {
  31446. "description": "用户类型 1-个人 2-企业",
  31447. "type": "integer"
  31448. },
  31449. "username": {
  31450. "description": "用户名称",
  31451. "type": "string"
  31452. }
  31453. }
  31454. },
  31455. "models.QhjMgrContract": {
  31456. "type": "object",
  31457. "properties": {
  31458. "contractconfirmtime": {
  31459. "description": "合同确认时间(时间)",
  31460. "type": "string"
  31461. },
  31462. "currisklevel": {
  31463. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  31464. "type": "integer"
  31465. },
  31466. "decimalplace": {
  31467. "description": "商品报价小数位",
  31468. "type": "integer"
  31469. },
  31470. "enumdicname": {
  31471. "description": "单位名称",
  31472. "type": "string"
  31473. },
  31474. "goodscode": {
  31475. "description": "商品代码",
  31476. "type": "string"
  31477. },
  31478. "goodsid": {
  31479. "description": "商品ID [5:融资单]",
  31480. "type": "integer"
  31481. },
  31482. "goodsname": {
  31483. "description": "商品名称",
  31484. "type": "string"
  31485. },
  31486. "goodunitid": {
  31487. "description": "商品单位id",
  31488. "type": "integer"
  31489. },
  31490. "initmargin": {
  31491. "description": "初始保证金(首付款)",
  31492. "type": "number"
  31493. },
  31494. "lenderamount": {
  31495. "description": "贷款金额(总额|订单总额)",
  31496. "type": "number"
  31497. },
  31498. "logincode": {
  31499. "description": "账号(登录代码)",
  31500. "type": "string"
  31501. },
  31502. "marginratio": {
  31503. "description": "保证金比率(首付比例)",
  31504. "type": "number"
  31505. },
  31506. "mobile": {
  31507. "description": "电话号码(用户资料里的电话)",
  31508. "type": "string"
  31509. },
  31510. "payamount": {
  31511. "description": "已付(已付货款)",
  31512. "type": "number"
  31513. },
  31514. "reckonrecovermargin": {
  31515. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  31516. "type": "number"
  31517. },
  31518. "recoveredmargin": {
  31519. "description": "已追缴保证金",
  31520. "type": "number"
  31521. },
  31522. "remainamount": {
  31523. "description": "合同剩余金额(融资额)",
  31524. "type": "number"
  31525. },
  31526. "scfcontractid": {
  31527. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  31528. "type": "string"
  31529. },
  31530. "scfcontractstatus": {
  31531. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  31532. "type": "integer"
  31533. },
  31534. "scfcontracttype": {
  31535. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  31536. "type": "integer"
  31537. },
  31538. "totalinterest": {
  31539. "description": "已计总利息(利息)",
  31540. "type": "number"
  31541. },
  31542. "tradedate": {
  31543. "description": "交易日",
  31544. "type": "string"
  31545. },
  31546. "tradeprice": {
  31547. "description": "成交价格(成本价格)",
  31548. "type": "number"
  31549. },
  31550. "userid": {
  31551. "description": "用户ID",
  31552. "type": "integer"
  31553. },
  31554. "userinfotype": {
  31555. "description": "用户类型 1-个人 2-企业",
  31556. "type": "integer"
  31557. },
  31558. "username": {
  31559. "description": "用户名称",
  31560. "type": "string"
  31561. },
  31562. "wrqty": {
  31563. "description": "仓单数量(数量)",
  31564. "type": "number"
  31565. }
  31566. }
  31567. },
  31568. "models.QhjMgrCustomer": {
  31569. "type": "object",
  31570. "properties": {
  31571. "address": {
  31572. "description": "通讯地址",
  31573. "type": "string"
  31574. },
  31575. "attachment1": {
  31576. "description": "附件1",
  31577. "type": "string"
  31578. },
  31579. "audittime": {
  31580. "description": "审核时间",
  31581. "type": "string"
  31582. },
  31583. "birthday": {
  31584. "description": "生日",
  31585. "type": "string"
  31586. },
  31587. "brokerid": {
  31588. "description": "所属客户经理id",
  31589. "type": "integer"
  31590. },
  31591. "brokername": {
  31592. "description": "所属客户经理名称",
  31593. "type": "string"
  31594. },
  31595. "cardbackphotourl": {
  31596. "description": "证件反面图片地址",
  31597. "type": "string"
  31598. },
  31599. "cardfrontphotourl": {
  31600. "description": "证件正面图片地址",
  31601. "type": "string"
  31602. },
  31603. "cardnum": {
  31604. "description": "证件号码",
  31605. "type": "string"
  31606. },
  31607. "cardtype": {
  31608. "description": "证件类型",
  31609. "type": "integer"
  31610. },
  31611. "cardtypename": {
  31612. "description": "证件类型名称",
  31613. "type": "string"
  31614. },
  31615. "cityid": {
  31616. "description": "市",
  31617. "type": "integer"
  31618. },
  31619. "cityname": {
  31620. "description": "城市名称",
  31621. "type": "string"
  31622. },
  31623. "contactname": {
  31624. "description": "联系人",
  31625. "type": "string"
  31626. },
  31627. "countryid": {
  31628. "description": "国家",
  31629. "type": "integer"
  31630. },
  31631. "countryname": {
  31632. "description": "国家名称",
  31633. "type": "string"
  31634. },
  31635. "createtime": {
  31636. "description": "创建时间",
  31637. "type": "string"
  31638. },
  31639. "customername": {
  31640. "description": "客户名称",
  31641. "type": "string"
  31642. },
  31643. "districtid": {
  31644. "description": "区域",
  31645. "type": "integer"
  31646. },
  31647. "districtname": {
  31648. "description": "地区名称",
  31649. "type": "string"
  31650. },
  31651. "email": {
  31652. "description": "邮件",
  31653. "type": "string"
  31654. },
  31655. "legalpersonname": {
  31656. "description": "法人姓名(企业)",
  31657. "type": "string"
  31658. },
  31659. "logincode": {
  31660. "description": "登录账号(代码)",
  31661. "type": "string"
  31662. },
  31663. "memberuserid": {
  31664. "description": "所属机构ID(所属会员)",
  31665. "type": "integer"
  31666. },
  31667. "memberusername": {
  31668. "description": "所属会员名称",
  31669. "type": "string"
  31670. },
  31671. "mobile": {
  31672. "description": "手机号码",
  31673. "type": "string"
  31674. },
  31675. "modifytime": {
  31676. "description": "修改时间",
  31677. "type": "string"
  31678. },
  31679. "nickname": {
  31680. "description": "昵称",
  31681. "type": "string"
  31682. },
  31683. "parentuserid": {
  31684. "description": "上级机构(所属机构)",
  31685. "type": "integer"
  31686. },
  31687. "parentusername": {
  31688. "description": "所属机构名称",
  31689. "type": "string"
  31690. },
  31691. "provinceid": {
  31692. "description": "省",
  31693. "type": "integer"
  31694. },
  31695. "provincename": {
  31696. "description": "省名称",
  31697. "type": "string"
  31698. },
  31699. "proxystatementurl": {
  31700. "description": "授权委托书",
  31701. "type": "string"
  31702. },
  31703. "querytype": {
  31704. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  31705. "type": "integer"
  31706. },
  31707. "remark": {
  31708. "description": "备注",
  31709. "type": "string"
  31710. },
  31711. "sex": {
  31712. "description": "性别 0-女 1-男",
  31713. "type": "integer"
  31714. },
  31715. "status": {
  31716. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  31717. "type": "integer"
  31718. },
  31719. "statusdesc": {
  31720. "description": "账户状态中文描述",
  31721. "type": "string"
  31722. },
  31723. "taxpayernum": {
  31724. "description": "纳税人识别号",
  31725. "type": "string"
  31726. },
  31727. "telphone": {
  31728. "description": "联系电话",
  31729. "type": "string"
  31730. },
  31731. "userid": {
  31732. "description": "用户ID",
  31733. "type": "integer"
  31734. },
  31735. "userinfotype": {
  31736. "description": "客户类型 1-个人 2-企业",
  31737. "type": "integer"
  31738. },
  31739. "username": {
  31740. "description": "用户名称",
  31741. "type": "string"
  31742. }
  31743. }
  31744. },
  31745. "models.QhjMgrPickGoods": {
  31746. "type": "object",
  31747. "properties": {
  31748. "enumdicname": {
  31749. "description": "单位名称(提货商品)",
  31750. "type": "string"
  31751. },
  31752. "goodsid": {
  31753. "description": "商品id",
  31754. "type": "integer"
  31755. },
  31756. "imageaddress": {
  31757. "description": "图片",
  31758. "type": "string"
  31759. },
  31760. "modifierid": {
  31761. "description": "修改人",
  31762. "type": "integer"
  31763. },
  31764. "modifiername": {
  31765. "description": "修改人名称",
  31766. "type": "string"
  31767. },
  31768. "modifysrc": {
  31769. "description": "修改来源 - 1:管理端 2:终端",
  31770. "type": "integer"
  31771. },
  31772. "pickupgoodsagreeunit": {
  31773. "description": "合约乘数",
  31774. "type": "number"
  31775. },
  31776. "pickupgoodsdesc": {
  31777. "description": "描述",
  31778. "type": "string"
  31779. },
  31780. "pickupgoodsid": {
  31781. "description": "提货商品ID",
  31782. "type": "string"
  31783. },
  31784. "pickupgoodsname": {
  31785. "description": "提货商品名称",
  31786. "type": "string"
  31787. },
  31788. "pickupgoodsstatus": {
  31789. "description": "状态 - 1:正常 2:停用 3:注销",
  31790. "type": "integer"
  31791. },
  31792. "pickupgoodsunitid": {
  31793. "description": "单位ID",
  31794. "type": "integer"
  31795. },
  31796. "pickupratio": {
  31797. "description": "提货系数",
  31798. "type": "number"
  31799. },
  31800. "preparedays": {
  31801. "description": "备货期(天)",
  31802. "type": "integer"
  31803. },
  31804. "remark": {
  31805. "description": "备注",
  31806. "type": "string"
  31807. },
  31808. "updatetime": {
  31809. "description": "更新时间",
  31810. "type": "string"
  31811. }
  31812. }
  31813. },
  31814. "models.QhjMgrPositionRsp": {
  31815. "type": "object",
  31816. "properties": {
  31817. "accountid": {
  31818. "description": "账号Id",
  31819. "type": "integer"
  31820. },
  31821. "accountname": {
  31822. "description": "用户名称",
  31823. "type": "string"
  31824. },
  31825. "agreeunit": {
  31826. "description": "合约乘数",
  31827. "type": "number"
  31828. },
  31829. "averageprice": {
  31830. "description": "均价",
  31831. "type": "number"
  31832. },
  31833. "avialqty": {
  31834. "description": "可用数量",
  31835. "type": "number"
  31836. },
  31837. "decimalplace": {
  31838. "description": "报价小数位",
  31839. "type": "integer"
  31840. },
  31841. "enumdicname": {
  31842. "description": "单位名称(商品)",
  31843. "type": "string"
  31844. },
  31845. "frozenqty": {
  31846. "description": "冻结数量",
  31847. "type": "number"
  31848. },
  31849. "goodscode": {
  31850. "description": "商品代码(内部)",
  31851. "type": "string"
  31852. },
  31853. "goodsid": {
  31854. "description": "商品Id",
  31855. "type": "integer"
  31856. },
  31857. "goodsname": {
  31858. "description": "商品名称",
  31859. "type": "string"
  31860. },
  31861. "goodunitid": {
  31862. "description": "报价单位ID",
  31863. "type": "integer"
  31864. },
  31865. "holderamount": {
  31866. "description": "金额",
  31867. "type": "number"
  31868. },
  31869. "holderqty": {
  31870. "description": "持有数量",
  31871. "type": "number"
  31872. },
  31873. "holdertype": {
  31874. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  31875. "type": "integer"
  31876. },
  31877. "logincode": {
  31878. "description": "登录代码(账户)",
  31879. "type": "string"
  31880. },
  31881. "marketid": {
  31882. "description": "市场id",
  31883. "type": "integer"
  31884. },
  31885. "qtydecimalplace": {
  31886. "description": "成交量小数位",
  31887. "type": "integer"
  31888. },
  31889. "trademode": {
  31890. "description": "交易模式",
  31891. "type": "integer"
  31892. },
  31893. "userid": {
  31894. "description": "用户id",
  31895. "type": "integer"
  31896. },
  31897. "userinfotype": {
  31898. "description": "账户类型 1-个人 2-企业",
  31899. "type": "integer"
  31900. }
  31901. }
  31902. },
  31903. "models.QhjMgrSubArea": {
  31904. "type": "object",
  31905. "properties": {
  31906. "accountname": {
  31907. "description": "账户名称(机构名称)",
  31908. "type": "string"
  31909. },
  31910. "memberuserid": {
  31911. "description": "所属会员ID",
  31912. "type": "integer"
  31913. },
  31914. "parenttopuser": {
  31915. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31916. "type": "string"
  31917. },
  31918. "parentuserid": {
  31919. "description": "所属机构ID",
  31920. "type": "integer"
  31921. },
  31922. "rootuserid": {
  31923. "description": "根用户ID",
  31924. "type": "string"
  31925. },
  31926. "subaccountlevel": {
  31927. "description": "子账户层数",
  31928. "type": "integer"
  31929. },
  31930. "subarealevelpath": {
  31931. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31932. "type": "string"
  31933. },
  31934. "userid": {
  31935. "description": "用户ID",
  31936. "type": "integer"
  31937. },
  31938. "usertype": {
  31939. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31940. "type": "integer"
  31941. }
  31942. }
  31943. },
  31944. "models.QhjMgrTradeDetailRsp": {
  31945. "type": "object",
  31946. "properties": {
  31947. "accountid": {
  31948. "description": "资金账号",
  31949. "type": "integer"
  31950. },
  31951. "accountname": {
  31952. "description": "用户名称",
  31953. "type": "string"
  31954. },
  31955. "agreeunit": {
  31956. "description": "合约乘数",
  31957. "type": "number"
  31958. },
  31959. "buyorsell": {
  31960. "description": "成交类型(方向) 0:买 1:卖",
  31961. "type": "integer"
  31962. },
  31963. "decimalplace": {
  31964. "description": "报价小数位",
  31965. "type": "integer"
  31966. },
  31967. "enumdicname": {
  31968. "description": "单位名称(商品)",
  31969. "type": "string"
  31970. },
  31971. "goodscode": {
  31972. "description": "商品代码(内部)",
  31973. "type": "string"
  31974. },
  31975. "goodsid": {
  31976. "description": "商品id",
  31977. "type": "integer"
  31978. },
  31979. "goodsname": {
  31980. "description": "商品名称",
  31981. "type": "string"
  31982. },
  31983. "goodunitid": {
  31984. "description": "报价单位ID",
  31985. "type": "integer"
  31986. },
  31987. "logincode": {
  31988. "description": "登录代码(账户)",
  31989. "type": "string"
  31990. },
  31991. "marketid": {
  31992. "description": "市场id",
  31993. "type": "integer"
  31994. },
  31995. "orderid": {
  31996. "description": "关联委托单号",
  31997. "type": "string"
  31998. },
  31999. "qtydecimalplace": {
  32000. "description": "成交量小数位",
  32001. "type": "integer"
  32002. },
  32003. "tradeamount": {
  32004. "description": "金额",
  32005. "type": "number"
  32006. },
  32007. "tradedate": {
  32008. "description": "交易日",
  32009. "type": "string"
  32010. },
  32011. "tradeid": {
  32012. "description": "成交单号",
  32013. "type": "string"
  32014. },
  32015. "trademode": {
  32016. "description": "交易模式",
  32017. "type": "integer"
  32018. },
  32019. "tradeprice": {
  32020. "description": "价格",
  32021. "type": "number"
  32022. },
  32023. "tradeqty": {
  32024. "description": "数量",
  32025. "type": "number"
  32026. },
  32027. "tradetime": {
  32028. "description": "成交时间",
  32029. "type": "string"
  32030. },
  32031. "userid": {
  32032. "description": "用户id",
  32033. "type": "integer"
  32034. },
  32035. "userinfotype": {
  32036. "description": "账户类型 1-个人 2-企业",
  32037. "type": "integer"
  32038. }
  32039. }
  32040. },
  32041. "models.QhjMgrTradeOrderDetailRsp": {
  32042. "type": "object",
  32043. "properties": {
  32044. "accountid": {
  32045. "description": "资金账号",
  32046. "type": "integer"
  32047. },
  32048. "accountname": {
  32049. "description": "用户名称",
  32050. "type": "string"
  32051. },
  32052. "agreeunit": {
  32053. "description": "合约乘数",
  32054. "type": "number"
  32055. },
  32056. "amount": {
  32057. "description": "金额",
  32058. "type": "number"
  32059. },
  32060. "decimalplace": {
  32061. "description": "报价小数位",
  32062. "type": "integer"
  32063. },
  32064. "enumdicname": {
  32065. "description": "单位名称(商品)",
  32066. "type": "string"
  32067. },
  32068. "goodscode": {
  32069. "description": "商品代码(内部)",
  32070. "type": "string"
  32071. },
  32072. "goodsid": {
  32073. "description": "商品id",
  32074. "type": "integer"
  32075. },
  32076. "goodsname": {
  32077. "description": "商品名称",
  32078. "type": "string"
  32079. },
  32080. "goodunitid": {
  32081. "description": "报价单位ID",
  32082. "type": "integer"
  32083. },
  32084. "logincode": {
  32085. "description": "登录代码(账户)",
  32086. "type": "string"
  32087. },
  32088. "marketid": {
  32089. "description": "市场id",
  32090. "type": "integer"
  32091. },
  32092. "orderid": {
  32093. "description": "关联委托单号",
  32094. "type": "string"
  32095. },
  32096. "orderprice": {
  32097. "description": "价格",
  32098. "type": "number"
  32099. },
  32100. "orderqty": {
  32101. "description": "数量",
  32102. "type": "number"
  32103. },
  32104. "orderstatus": {
  32105. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  32106. "type": "integer"
  32107. },
  32108. "ordertime": {
  32109. "description": "委托时间",
  32110. "type": "string"
  32111. },
  32112. "qtydecimalplace": {
  32113. "description": "成交量小数位",
  32114. "type": "integer"
  32115. },
  32116. "tradedate": {
  32117. "description": "交易日",
  32118. "type": "string"
  32119. },
  32120. "trademode": {
  32121. "description": "交易模式",
  32122. "type": "integer"
  32123. },
  32124. "userid": {
  32125. "description": "用户id",
  32126. "type": "integer"
  32127. },
  32128. "userinfotype": {
  32129. "description": "账户类型 1-个人 2-企业",
  32130. "type": "integer"
  32131. }
  32132. }
  32133. },
  32134. "models.QhjMgrTradePayOrder": {
  32135. "type": "object",
  32136. "properties": {
  32137. "accountname": {
  32138. "description": "用户名称",
  32139. "type": "string"
  32140. },
  32141. "advanceratio": {
  32142. "description": "首付比率",
  32143. "type": "number"
  32144. },
  32145. "agreeunit": {
  32146. "description": "合约乘数",
  32147. "type": "number"
  32148. },
  32149. "buyaccountid": {
  32150. "description": "买方账号ID[报价币种]",
  32151. "type": "integer"
  32152. },
  32153. "buyorderid": {
  32154. "description": "买方委托单号(关联单号)",
  32155. "type": "string"
  32156. },
  32157. "createtime": {
  32158. "description": "创建时间",
  32159. "type": "string"
  32160. },
  32161. "decimalplace": {
  32162. "description": "报价小数位",
  32163. "type": "integer"
  32164. },
  32165. "enumdicname": {
  32166. "description": "单位名称(商品)",
  32167. "type": "string"
  32168. },
  32169. "goodscode": {
  32170. "description": "商品代码(内部)",
  32171. "type": "string"
  32172. },
  32173. "goodsid": {
  32174. "description": "商品ID",
  32175. "type": "integer"
  32176. },
  32177. "goodsname": {
  32178. "description": "商品名称",
  32179. "type": "string"
  32180. },
  32181. "goodunitid": {
  32182. "description": "报价单位ID",
  32183. "type": "integer"
  32184. },
  32185. "logincode": {
  32186. "description": "登录代码(账户)",
  32187. "type": "string"
  32188. },
  32189. "marketid": {
  32190. "description": "市场id",
  32191. "type": "integer"
  32192. },
  32193. "offamount": {
  32194. "description": "优惠金额",
  32195. "type": "number"
  32196. },
  32197. "operatetype": {
  32198. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  32199. "type": "integer"
  32200. },
  32201. "payamount": {
  32202. "description": "支付金额(金额)",
  32203. "type": "number"
  32204. },
  32205. "payflag": {
  32206. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  32207. "type": "integer"
  32208. },
  32209. "paylimitedtime": {
  32210. "description": "支付期限",
  32211. "type": "string"
  32212. },
  32213. "paytime": {
  32214. "description": "付款时间",
  32215. "type": "string"
  32216. },
  32217. "qtydecimalplace": {
  32218. "description": "成交量小数位",
  32219. "type": "integer"
  32220. },
  32221. "sellaccountid": {
  32222. "description": "卖方账号ID[报价币种]",
  32223. "type": "integer"
  32224. },
  32225. "sellorderid": {
  32226. "description": "卖方委托单号",
  32227. "type": "string"
  32228. },
  32229. "tradeamount": {
  32230. "description": "成交金额(优惠后金额)",
  32231. "type": "number"
  32232. },
  32233. "tradecharge": {
  32234. "description": "成交手续费(买方)",
  32235. "type": "number"
  32236. },
  32237. "tradedate": {
  32238. "description": "交易日(yyyyMMdd)",
  32239. "type": "string"
  32240. },
  32241. "tradeid": {
  32242. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32243. "type": "string"
  32244. },
  32245. "trademode": {
  32246. "description": "交易模式",
  32247. "type": "integer"
  32248. },
  32249. "tradeprice": {
  32250. "description": "成交价格(价格)",
  32251. "type": "number"
  32252. },
  32253. "tradeqty": {
  32254. "description": "成交数量(数量)",
  32255. "type": "number"
  32256. },
  32257. "tradetime": {
  32258. "description": "成交时间",
  32259. "type": "string"
  32260. },
  32261. "userid": {
  32262. "description": "用户id",
  32263. "type": "integer"
  32264. },
  32265. "userinfotype": {
  32266. "description": "账户类型 1-个人 2-企业",
  32267. "type": "integer"
  32268. }
  32269. }
  32270. },
  32271. "models.QhjMyTeamEx": {
  32272. "type": "object",
  32273. "properties": {
  32274. "accountname": {
  32275. "description": "用户名称",
  32276. "type": "string"
  32277. },
  32278. "accountstatus": {
  32279. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32280. "type": "integer"
  32281. },
  32282. "createtime": {
  32283. "description": "创建时间",
  32284. "type": "string"
  32285. },
  32286. "mobile": {
  32287. "description": "手机号码",
  32288. "type": "string"
  32289. },
  32290. "refereeuserid": {
  32291. "description": "推荐人id",
  32292. "type": "integer"
  32293. },
  32294. "refernum": {
  32295. "description": "推荐码",
  32296. "type": "string"
  32297. },
  32298. "subList": {
  32299. "type": "array",
  32300. "items": {
  32301. "$ref": "#/definitions/models.QhjMyTeamEx"
  32302. }
  32303. },
  32304. "userid": {
  32305. "description": "用户id",
  32306. "type": "integer"
  32307. },
  32308. "userinfotype": {
  32309. "description": "用户类型 1-个人 2-企业",
  32310. "type": "integer"
  32311. }
  32312. }
  32313. },
  32314. "models.QhjNodeAgreementConfig": {
  32315. "type": "object",
  32316. "properties": {
  32317. "agreementcontent": {
  32318. "description": "协议内容",
  32319. "type": "string"
  32320. },
  32321. "agreementid": {
  32322. "description": "协议ID",
  32323. "type": "integer"
  32324. },
  32325. "agreementname": {
  32326. "description": "协议名称",
  32327. "type": "string"
  32328. },
  32329. "agreementno": {
  32330. "description": "协议编号",
  32331. "type": "string"
  32332. },
  32333. "agreementtype": {
  32334. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32335. "type": "integer"
  32336. },
  32337. "agreementversion": {
  32338. "description": "协议版本号",
  32339. "type": "integer"
  32340. },
  32341. "configid": {
  32342. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  32343. "type": "integer"
  32344. },
  32345. "createtime": {
  32346. "description": "创建时间",
  32347. "type": "string"
  32348. },
  32349. "goodsid": {
  32350. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32351. "type": "integer"
  32352. },
  32353. "nodetype": {
  32354. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32355. "type": "integer"
  32356. }
  32357. }
  32358. },
  32359. "models.QhjParentAreaList": {
  32360. "type": "object",
  32361. "properties": {
  32362. "accountname": {
  32363. "description": "账户名称(机构名称)",
  32364. "type": "string"
  32365. },
  32366. "userid": {
  32367. "description": "用户ID",
  32368. "type": "integer"
  32369. },
  32370. "usertype": {
  32371. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32372. "type": "integer"
  32373. }
  32374. }
  32375. },
  32376. "models.QhjPayOrder": {
  32377. "type": "object",
  32378. "properties": {
  32379. "advanceratio": {
  32380. "description": "首付比率",
  32381. "type": "number"
  32382. },
  32383. "buyaccountid": {
  32384. "description": "买方账号ID[报价币种]",
  32385. "type": "integer"
  32386. },
  32387. "buyorderid": {
  32388. "description": "买方委托单号",
  32389. "type": "string"
  32390. },
  32391. "createtime": {
  32392. "description": "创建时间",
  32393. "type": "string"
  32394. },
  32395. "decimalplace": {
  32396. "description": "商品报价小数位",
  32397. "type": "integer"
  32398. },
  32399. "enumdicname": {
  32400. "description": "单位名称",
  32401. "type": "string"
  32402. },
  32403. "goodscode": {
  32404. "description": "商品代码",
  32405. "type": "string"
  32406. },
  32407. "goodsid": {
  32408. "description": "商品ID",
  32409. "type": "integer"
  32410. },
  32411. "goodsname": {
  32412. "description": "商品名称",
  32413. "type": "string"
  32414. },
  32415. "goodunitid": {
  32416. "description": "商品单位id",
  32417. "type": "integer"
  32418. },
  32419. "marketid": {
  32420. "description": "市场ID",
  32421. "type": "integer"
  32422. },
  32423. "offamount": {
  32424. "description": "优惠金额",
  32425. "type": "number"
  32426. },
  32427. "operatetype": {
  32428. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  32429. "type": "integer"
  32430. },
  32431. "payamount": {
  32432. "description": "支付金额",
  32433. "type": "number"
  32434. },
  32435. "payflag": {
  32436. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  32437. "type": "integer"
  32438. },
  32439. "paylimitedtime": {
  32440. "description": "支付期限",
  32441. "type": "string"
  32442. },
  32443. "paytime": {
  32444. "description": "付款时间",
  32445. "type": "string"
  32446. },
  32447. "qtydecimalplace": {
  32448. "description": "成交量小数位",
  32449. "type": "integer"
  32450. },
  32451. "sellaccountid": {
  32452. "description": "卖方账号ID[报价币种]",
  32453. "type": "integer"
  32454. },
  32455. "sellorderid": {
  32456. "description": "卖方委托单号",
  32457. "type": "string"
  32458. },
  32459. "tradeamount": {
  32460. "description": "成交金额(优惠后金额)",
  32461. "type": "number"
  32462. },
  32463. "tradecharge": {
  32464. "description": "成交手续费(买方)",
  32465. "type": "number"
  32466. },
  32467. "tradedate": {
  32468. "description": "交易日(yyyyMMdd)",
  32469. "type": "string"
  32470. },
  32471. "tradeid": {
  32472. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32473. "type": "string"
  32474. },
  32475. "tradeprice": {
  32476. "description": "成交价格",
  32477. "type": "number"
  32478. },
  32479. "tradeqty": {
  32480. "description": "成交数量",
  32481. "type": "number"
  32482. }
  32483. }
  32484. },
  32485. "models.QhjPickArea": {
  32486. "type": "object",
  32487. "properties": {
  32488. "address": {
  32489. "description": "详细地址",
  32490. "type": "string"
  32491. },
  32492. "cityid": {
  32493. "description": "市",
  32494. "type": "integer"
  32495. },
  32496. "cityname": {
  32497. "description": "城市名称",
  32498. "type": "string"
  32499. },
  32500. "countryid": {
  32501. "description": "国家",
  32502. "type": "integer"
  32503. },
  32504. "countryname": {
  32505. "description": "国家名称",
  32506. "type": "string"
  32507. },
  32508. "districtid": {
  32509. "description": "地区",
  32510. "type": "integer"
  32511. },
  32512. "districtname": {
  32513. "description": "地区名称",
  32514. "type": "string"
  32515. },
  32516. "fromuserid": {
  32517. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  32518. "type": "integer"
  32519. },
  32520. "fromusername": {
  32521. "description": "所属机构名称",
  32522. "type": "string"
  32523. },
  32524. "provinceid": {
  32525. "description": "省",
  32526. "type": "integer"
  32527. },
  32528. "provincename": {
  32529. "description": "省名称",
  32530. "type": "string"
  32531. },
  32532. "suborgtype": {
  32533. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  32534. "type": "integer"
  32535. },
  32536. "userid": {
  32537. "description": "机构用户ID 其他做市关系,都设置为 1",
  32538. "type": "integer"
  32539. },
  32540. "username": {
  32541. "description": "机构用户名称(门店门称)",
  32542. "type": "string"
  32543. }
  32544. }
  32545. },
  32546. "models.QhjPickGoods": {
  32547. "type": "object",
  32548. "properties": {
  32549. "enumdicname": {
  32550. "description": "单位名称(提货商品)",
  32551. "type": "string"
  32552. },
  32553. "goodsid": {
  32554. "description": "商品id",
  32555. "type": "integer"
  32556. },
  32557. "imageaddress": {
  32558. "description": "图片",
  32559. "type": "string"
  32560. },
  32561. "modifierid": {
  32562. "description": "修改人",
  32563. "type": "integer"
  32564. },
  32565. "modifiername": {
  32566. "description": "修改人名称",
  32567. "type": "string"
  32568. },
  32569. "modifysrc": {
  32570. "description": "修改来源 - 1:管理端 2:终端",
  32571. "type": "integer"
  32572. },
  32573. "pickupgoodsagreeunit": {
  32574. "description": "合约乘数",
  32575. "type": "number"
  32576. },
  32577. "pickupgoodsdesc": {
  32578. "description": "描述",
  32579. "type": "string"
  32580. },
  32581. "pickupgoodsid": {
  32582. "description": "提货商品ID",
  32583. "type": "string"
  32584. },
  32585. "pickupgoodsname": {
  32586. "description": "提货商品名称",
  32587. "type": "string"
  32588. },
  32589. "pickupgoodsstatus": {
  32590. "description": "状态 - 1:正常 2:停用 3:注销",
  32591. "type": "integer"
  32592. },
  32593. "pickupgoodsunitid": {
  32594. "description": "单位ID",
  32595. "type": "integer"
  32596. },
  32597. "pickupratio": {
  32598. "description": "提货系数",
  32599. "type": "number"
  32600. },
  32601. "preparedays": {
  32602. "description": "备货期(天)",
  32603. "type": "integer"
  32604. },
  32605. "remark": {
  32606. "description": "备注",
  32607. "type": "string"
  32608. },
  32609. "updatetime": {
  32610. "description": "更新时间",
  32611. "type": "string"
  32612. }
  32613. }
  32614. },
  32615. "models.QhjRSTriggerLog": {
  32616. "type": "object",
  32617. "properties": {
  32618. "accountid": {
  32619. "description": "用户资金账户",
  32620. "type": "integer"
  32621. },
  32622. "accountname": {
  32623. "description": "账号名称(ACCOUNTID对应的名称)",
  32624. "type": "string"
  32625. },
  32626. "currencyid": {
  32627. "description": "币种id",
  32628. "type": "integer"
  32629. },
  32630. "currencyname": {
  32631. "description": "币种名称",
  32632. "type": "string"
  32633. },
  32634. "decimalplace": {
  32635. "description": "商品报价小数位",
  32636. "type": "integer"
  32637. },
  32638. "enumdicname": {
  32639. "description": "单位名称",
  32640. "type": "string"
  32641. },
  32642. "goodscode": {
  32643. "description": "定投商品代码",
  32644. "type": "string"
  32645. },
  32646. "goodsid": {
  32647. "description": "定投商品ID",
  32648. "type": "integer"
  32649. },
  32650. "goodsname": {
  32651. "description": "定投商品名称",
  32652. "type": "string"
  32653. },
  32654. "goodunitid": {
  32655. "description": "定投商品单位id",
  32656. "type": "integer"
  32657. },
  32658. "logid": {
  32659. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  32660. "type": "string"
  32661. },
  32662. "logincode": {
  32663. "description": "账号(登录代码)",
  32664. "type": "string"
  32665. },
  32666. "qtydecimalplace": {
  32667. "description": "成交量小数位",
  32668. "type": "integer"
  32669. },
  32670. "regularlycycle": {
  32671. "description": "定投频率 - 1:每周 2:每月",
  32672. "type": "integer"
  32673. },
  32674. "regularlycyclevalue": {
  32675. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  32676. "type": "string"
  32677. },
  32678. "regularlymode": {
  32679. "description": "定投方式 - 1:按数量 2:按金额",
  32680. "type": "integer"
  32681. },
  32682. "regularlymodevalue": {
  32683. "description": "定投方式值 - 数量或金额",
  32684. "type": "number"
  32685. },
  32686. "regularlystrategyid": {
  32687. "description": "定投策略ID",
  32688. "type": "integer"
  32689. },
  32690. "retcode": {
  32691. "description": "错误码",
  32692. "type": "string"
  32693. },
  32694. "tradeid": {
  32695. "description": "成交单ID",
  32696. "type": "string"
  32697. },
  32698. "triggeramount": {
  32699. "description": "触发金额",
  32700. "type": "number"
  32701. },
  32702. "triggerqty": {
  32703. "description": "触发数量",
  32704. "type": "number"
  32705. },
  32706. "triggerstatus": {
  32707. "description": "触发状态 - 1:成功 2:失败",
  32708. "type": "integer"
  32709. },
  32710. "triggertime": {
  32711. "description": "触发时间",
  32712. "type": "string"
  32713. },
  32714. "triggertradedate": {
  32715. "description": "触发交易日",
  32716. "type": "string"
  32717. },
  32718. "userid": {
  32719. "description": "所属用户ID",
  32720. "type": "integer"
  32721. },
  32722. "userinfotype": {
  32723. "description": "用户类型 1-个人 2-企业",
  32724. "type": "integer"
  32725. },
  32726. "username": {
  32727. "description": "用户名称(userid对应的名称)",
  32728. "type": "string"
  32729. }
  32730. }
  32731. },
  32732. "models.QhjRStrategy": {
  32733. "type": "object",
  32734. "properties": {
  32735. "accountid": {
  32736. "description": "用户资金账户",
  32737. "type": "integer"
  32738. },
  32739. "accountname": {
  32740. "description": "账号名称(ACCOUNTID对应的名称)",
  32741. "type": "string"
  32742. },
  32743. "currencyid": {
  32744. "description": "币种id",
  32745. "type": "integer"
  32746. },
  32747. "currencyname": {
  32748. "description": "币种名称",
  32749. "type": "string"
  32750. },
  32751. "decimalplace": {
  32752. "description": "商品报价小数位",
  32753. "type": "integer"
  32754. },
  32755. "enumdicname": {
  32756. "description": "单位名称",
  32757. "type": "string"
  32758. },
  32759. "goodscode": {
  32760. "description": "定投商品代码",
  32761. "type": "string"
  32762. },
  32763. "goodsid": {
  32764. "description": "定投商品ID",
  32765. "type": "integer"
  32766. },
  32767. "goodsname": {
  32768. "description": "定投商品名称",
  32769. "type": "string"
  32770. },
  32771. "goodunitid": {
  32772. "description": "定投商品单位id",
  32773. "type": "integer"
  32774. },
  32775. "lasteffecttradedate": {
  32776. "description": "最新生效交易日",
  32777. "type": "string"
  32778. },
  32779. "laststoptradedate": {
  32780. "description": "最新暂停交易日",
  32781. "type": "string"
  32782. },
  32783. "lasttriggertradedate": {
  32784. "description": "最新触发交易日",
  32785. "type": "string"
  32786. },
  32787. "logincode": {
  32788. "description": "账号(登录代码)",
  32789. "type": "string"
  32790. },
  32791. "nexttriggeramount": {
  32792. "description": "下次触发金额",
  32793. "type": "number"
  32794. },
  32795. "nexttriggerdate": {
  32796. "description": "下次触发日期",
  32797. "type": "string"
  32798. },
  32799. "nexttriggerqty": {
  32800. "description": "下次触发数量 [按小数位放大值]",
  32801. "type": "number"
  32802. },
  32803. "qtydecimalplace": {
  32804. "description": "成交量小数位",
  32805. "type": "integer"
  32806. },
  32807. "regularlycycle": {
  32808. "description": "定投频率 - 1:每周 2:每月",
  32809. "type": "integer"
  32810. },
  32811. "regularlycyclevalue": {
  32812. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  32813. "type": "string"
  32814. },
  32815. "regularlymode": {
  32816. "description": "定投方式 - 1:按数量 2:按金额",
  32817. "type": "integer"
  32818. },
  32819. "regularlymodevalue": {
  32820. "description": "定投方式值 - 数量或金额",
  32821. "type": "number"
  32822. },
  32823. "regularlystrategyid": {
  32824. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  32825. "type": "integer"
  32826. },
  32827. "regularlystrategystatus": {
  32828. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  32829. "type": "integer"
  32830. },
  32831. "remark": {
  32832. "description": "备注",
  32833. "type": "string"
  32834. },
  32835. "triggersuccesstimes": {
  32836. "description": "累计定投成功次数",
  32837. "type": "string"
  32838. },
  32839. "triggertotalamount": {
  32840. "description": "累计定投金额(成功)",
  32841. "type": "number"
  32842. },
  32843. "triggertotalqty": {
  32844. "description": "累计定投数量(成功) [按小数位放大值]",
  32845. "type": "number"
  32846. },
  32847. "triggertotaltimes": {
  32848. "description": "累计定投总次数",
  32849. "type": "string"
  32850. },
  32851. "updatesrc": {
  32852. "description": "更新来源 - 1:管理端 2:终端",
  32853. "type": "integer"
  32854. },
  32855. "updatetime": {
  32856. "description": "更新时间",
  32857. "type": "string"
  32858. },
  32859. "updatorid": {
  32860. "description": "更新人",
  32861. "type": "string"
  32862. },
  32863. "userid": {
  32864. "description": "所属用户ID",
  32865. "type": "integer"
  32866. },
  32867. "userinfotype": {
  32868. "description": "用户类型 1-个人 2-企业",
  32869. "type": "integer"
  32870. },
  32871. "username": {
  32872. "description": "用户名称(userid对应的名称)",
  32873. "type": "string"
  32874. }
  32875. }
  32876. },
  32877. "models.QhjReckonPriceLog": {
  32878. "type": "object",
  32879. "properties": {
  32880. "decimalplace": {
  32881. "description": "商品报价小数位",
  32882. "type": "integer"
  32883. },
  32884. "goodscode": {
  32885. "description": "商品代码",
  32886. "type": "string"
  32887. },
  32888. "goodsid": {
  32889. "description": "商品ID",
  32890. "type": "integer"
  32891. },
  32892. "goodsname": {
  32893. "description": "商品名称",
  32894. "type": "string"
  32895. },
  32896. "lastreckonprice": {
  32897. "description": "上日结算价",
  32898. "type": "number"
  32899. },
  32900. "nextdnlimitprice": {
  32901. "description": "下个交易日跌停价",
  32902. "type": "number"
  32903. },
  32904. "nexttrade": {
  32905. "description": "下个交易日",
  32906. "type": "string"
  32907. },
  32908. "nextuplimitprice": {
  32909. "description": "下个交易日涨停价",
  32910. "type": "number"
  32911. },
  32912. "reckonprice": {
  32913. "description": "今日结算价(定投价)",
  32914. "type": "number"
  32915. },
  32916. "reckontime": {
  32917. "description": "结算时间",
  32918. "type": "string"
  32919. },
  32920. "totalholderqty": {
  32921. "description": "总持仓数",
  32922. "type": "integer"
  32923. },
  32924. "totalstock": {
  32925. "description": "总库存",
  32926. "type": "integer"
  32927. },
  32928. "tradedate": {
  32929. "description": "交易日",
  32930. "type": "string"
  32931. },
  32932. "updowncount": {
  32933. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  32934. "type": "integer"
  32935. },
  32936. "updownflag": {
  32937. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  32938. "type": "integer"
  32939. },
  32940. "updownrate": {
  32941. "description": "今日涨跌幅",
  32942. "type": "number"
  32943. },
  32944. "updownrate_2d": {
  32945. "description": "连续两日涨跌幅",
  32946. "type": "number"
  32947. },
  32948. "updownrate_3d": {
  32949. "description": "连续三日涨跌幅",
  32950. "type": "number"
  32951. }
  32952. }
  32953. },
  32954. "models.QhjScoreLog": {
  32955. "type": "object",
  32956. "properties": {
  32957. "accountid": {
  32958. "description": "账户ID",
  32959. "type": "integer"
  32960. },
  32961. "createtime": {
  32962. "description": "创建时间(时间)",
  32963. "type": "string"
  32964. },
  32965. "goodsid": {
  32966. "description": "商品ID",
  32967. "type": "integer"
  32968. },
  32969. "hasuploaded": {
  32970. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  32971. "type": "integer"
  32972. },
  32973. "logid": {
  32974. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32975. "type": "string"
  32976. },
  32977. "marketid": {
  32978. "description": "市场ID",
  32979. "type": "integer"
  32980. },
  32981. "relatedamount": {
  32982. "description": "关联金额",
  32983. "type": "number"
  32984. },
  32985. "relatedorderid": {
  32986. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  32987. "type": "string"
  32988. },
  32989. "scoreconfigvalue1": {
  32990. "description": "积分配置1",
  32991. "type": "integer"
  32992. },
  32993. "scoreconfigvalue2": {
  32994. "description": "积分配置1",
  32995. "type": "integer"
  32996. },
  32997. "scoretype": {
  32998. "description": "积分类型 - 1:提货积分",
  32999. "type": "integer"
  33000. },
  33001. "scorevalue": {
  33002. "description": "积分",
  33003. "type": "number"
  33004. },
  33005. "tradedate": {
  33006. "description": "交易日(yyyyMMdd)",
  33007. "type": "string"
  33008. },
  33009. "uploadedtime": {
  33010. "description": "同步时间",
  33011. "type": "string"
  33012. },
  33013. "userid": {
  33014. "description": "用户ID",
  33015. "type": "integer"
  33016. }
  33017. }
  33018. },
  33019. "models.QhjSiteColumnDetail": {
  33020. "type": "object",
  33021. "properties": {
  33022. "author": {
  33023. "description": "作者",
  33024. "type": "string"
  33025. },
  33026. "brief": {
  33027. "description": "简介",
  33028. "type": "string"
  33029. },
  33030. "columnid": {
  33031. "description": "所属栏目",
  33032. "type": "integer"
  33033. },
  33034. "context": {
  33035. "description": "内容",
  33036. "type": "string"
  33037. },
  33038. "coverimage": {
  33039. "description": "封面图片",
  33040. "type": "string"
  33041. },
  33042. "creaedate": {
  33043. "description": "创建时间",
  33044. "type": "string"
  33045. },
  33046. "creatorid": {
  33047. "description": "创建人",
  33048. "type": "integer"
  33049. },
  33050. "hits": {
  33051. "description": "点击数",
  33052. "type": "integer"
  33053. },
  33054. "id": {
  33055. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  33056. "type": "integer"
  33057. },
  33058. "isshow": {
  33059. "description": "是否展示 - 0:不展示 1:展示",
  33060. "type": "integer"
  33061. },
  33062. "istop": {
  33063. "description": "是否置顶 - 0:不置 1:置顶",
  33064. "type": "integer"
  33065. },
  33066. "modifierid": {
  33067. "description": "操作人",
  33068. "type": "integer"
  33069. },
  33070. "publishdate": {
  33071. "description": "发布日期",
  33072. "type": "string"
  33073. },
  33074. "status": {
  33075. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  33076. "type": "integer"
  33077. },
  33078. "title": {
  33079. "description": "标题",
  33080. "type": "string"
  33081. },
  33082. "updatedate": {
  33083. "description": "修改时间",
  33084. "type": "string"
  33085. },
  33086. "userid": {
  33087. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  33088. "type": "integer"
  33089. },
  33090. "username": {
  33091. "description": "用户名称",
  33092. "type": "string"
  33093. }
  33094. }
  33095. },
  33096. "models.QhjTeamOrder": {
  33097. "type": "object",
  33098. "properties": {
  33099. "accountid": {
  33100. "description": "账户ID[报价币种]",
  33101. "type": "integer"
  33102. },
  33103. "accountname": {
  33104. "description": "账户名称",
  33105. "type": "string"
  33106. },
  33107. "agreeunit": {
  33108. "description": "合约乘数",
  33109. "type": "number"
  33110. },
  33111. "buyorsell": {
  33112. "description": "方向 - 0:买 1:卖",
  33113. "type": "integer"
  33114. },
  33115. "decimalplace": {
  33116. "description": "报价小数位",
  33117. "type": "integer"
  33118. },
  33119. "enumdicname": {
  33120. "description": "单位名称",
  33121. "type": "string"
  33122. },
  33123. "goodscode": {
  33124. "description": "商品代码(内部)",
  33125. "type": "string"
  33126. },
  33127. "goodsid": {
  33128. "description": "商品ID",
  33129. "type": "integer"
  33130. },
  33131. "goodsname": {
  33132. "description": "商品名称",
  33133. "type": "string"
  33134. },
  33135. "goodunitid": {
  33136. "description": "报价单位ID",
  33137. "type": "integer"
  33138. },
  33139. "marketid": {
  33140. "description": "市场ID",
  33141. "type": "integer"
  33142. },
  33143. "marketname": {
  33144. "description": "市场名称",
  33145. "type": "string"
  33146. },
  33147. "qtydecimalplace": {
  33148. "description": "成交量小数位",
  33149. "type": "integer"
  33150. },
  33151. "refereeuserid": {
  33152. "description": "推荐人ID",
  33153. "type": "integer"
  33154. },
  33155. "tradeamount": {
  33156. "description": "成交金额[账户币种,用于所有权]",
  33157. "type": "number"
  33158. },
  33159. "tradedate": {
  33160. "description": "交易日(yyyyMMdd)",
  33161. "type": "string"
  33162. },
  33163. "trademode": {
  33164. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33165. "type": "integer"
  33166. },
  33167. "tradeprice": {
  33168. "description": "成交价格",
  33169. "type": "number"
  33170. },
  33171. "tradeqty": {
  33172. "description": "成交数量",
  33173. "type": "number"
  33174. },
  33175. "tradetime": {
  33176. "description": "成交时间",
  33177. "type": "string"
  33178. },
  33179. "userid": {
  33180. "description": "用户ID",
  33181. "type": "integer"
  33182. }
  33183. }
  33184. },
  33185. "models.QhjTradeGoodsPickup": {
  33186. "type": "object",
  33187. "properties": {
  33188. "accountid": {
  33189. "description": "账户ID",
  33190. "type": "integer"
  33191. },
  33192. "address": {
  33193. "description": "提货人详细地址",
  33194. "type": "string"
  33195. },
  33196. "amount": {
  33197. "description": "提货金额",
  33198. "type": "number"
  33199. },
  33200. "artradedate": {
  33201. "description": "自动收货交易日(yyyyMMdd)",
  33202. "type": "string"
  33203. },
  33204. "auditer": {
  33205. "description": "审核人",
  33206. "type": "integer"
  33207. },
  33208. "auditsrc": {
  33209. "description": "更新来源 - 1:管理端 2:终端",
  33210. "type": "integer"
  33211. },
  33212. "audittime": {
  33213. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  33214. "type": "string"
  33215. },
  33216. "audittradedate": {
  33217. "description": "审核交易日(yyyyMMdd)",
  33218. "type": "string"
  33219. },
  33220. "cardnum": {
  33221. "description": "提货人证件号码",
  33222. "type": "string"
  33223. },
  33224. "cardtypeid": {
  33225. "description": "提货人证件类型",
  33226. "type": "integer"
  33227. },
  33228. "checkremark": {
  33229. "description": "审核备注",
  33230. "type": "string"
  33231. },
  33232. "cityid": {
  33233. "description": "市",
  33234. "type": "integer"
  33235. },
  33236. "cityname": {
  33237. "description": "城市名称",
  33238. "type": "string"
  33239. },
  33240. "confirmtime": {
  33241. "description": "取货时间 或 收货时间",
  33242. "type": "string"
  33243. },
  33244. "countryid": {
  33245. "description": "国家",
  33246. "type": "integer"
  33247. },
  33248. "countryname": {
  33249. "description": "国家名称",
  33250. "type": "string"
  33251. },
  33252. "decimalplace": {
  33253. "description": "商品报价小数位",
  33254. "type": "integer"
  33255. },
  33256. "districtid": {
  33257. "description": "地区",
  33258. "type": "integer"
  33259. },
  33260. "districtname": {
  33261. "description": "地区名称",
  33262. "type": "string"
  33263. },
  33264. "enumdicname": {
  33265. "description": "单位名称(提货商品)",
  33266. "type": "string"
  33267. },
  33268. "expresscompany": {
  33269. "description": "物流公司",
  33270. "type": "string"
  33271. },
  33272. "expressnum": {
  33273. "description": "物流单号",
  33274. "type": "string"
  33275. },
  33276. "goodsagreeunit": {
  33277. "description": "交易商品乘数",
  33278. "type": "number"
  33279. },
  33280. "goodscode": {
  33281. "description": "商品代码",
  33282. "type": "string"
  33283. },
  33284. "goodsid": {
  33285. "description": "商品ID",
  33286. "type": "integer"
  33287. },
  33288. "goodsname": {
  33289. "description": "商品名称",
  33290. "type": "string"
  33291. },
  33292. "goodsqty": {
  33293. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  33294. "type": "number"
  33295. },
  33296. "handlestatus": {
  33297. "description": "处理状态",
  33298. "type": "integer"
  33299. },
  33300. "logincode": {
  33301. "description": "账号(登录代码, 有可能为空)",
  33302. "type": "string"
  33303. },
  33304. "marketid": {
  33305. "description": "市场ID",
  33306. "type": "integer"
  33307. },
  33308. "phonenum": {
  33309. "description": "提货人联系方式",
  33310. "type": "string"
  33311. },
  33312. "pickupgoodsagreeunit": {
  33313. "description": "提货商品合约乘数",
  33314. "type": "number"
  33315. },
  33316. "pickupgoodsid": {
  33317. "description": "提货商品ID",
  33318. "type": "string"
  33319. },
  33320. "pickupgoodsname": {
  33321. "description": "提货商品名称",
  33322. "type": "string"
  33323. },
  33324. "pickupgoodsqty": {
  33325. "description": "提货商品手数(数量)",
  33326. "type": "number"
  33327. },
  33328. "pickupgoodsunitid": {
  33329. "description": "单位ID(提货商品)",
  33330. "type": "integer"
  33331. },
  33332. "pickupratio": {
  33333. "description": "提货系数",
  33334. "type": "number"
  33335. },
  33336. "preparedays": {
  33337. "description": "备货期(天)-提货单明细表",
  33338. "type": "integer"
  33339. },
  33340. "provinceid": {
  33341. "description": "省",
  33342. "type": "integer"
  33343. },
  33344. "provincename": {
  33345. "description": "省名称",
  33346. "type": "string"
  33347. },
  33348. "qty": {
  33349. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  33350. "type": "number"
  33351. },
  33352. "qtydecimalplace": {
  33353. "description": "商品数量小数位",
  33354. "type": "integer"
  33355. },
  33356. "recivername": {
  33357. "description": "提货人姓名",
  33358. "type": "string"
  33359. },
  33360. "reqtime": {
  33361. "description": "提货申请时间",
  33362. "type": "string"
  33363. },
  33364. "storeuserid": {
  33365. "description": "门店用户ID (千海金)",
  33366. "type": "integer"
  33367. },
  33368. "storeusername": {
  33369. "description": "门店用户名称",
  33370. "type": "string"
  33371. },
  33372. "takemode": {
  33373. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  33374. "type": "integer"
  33375. },
  33376. "takeorderid": {
  33377. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  33378. "type": "string"
  33379. },
  33380. "takeorderstatus": {
  33381. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  33382. "type": "integer"
  33383. },
  33384. "takeremark": {
  33385. "description": "提货备注",
  33386. "type": "string"
  33387. },
  33388. "tradedate": {
  33389. "description": "交易日(yyyyMMdd)",
  33390. "type": "string"
  33391. },
  33392. "updatetime": {
  33393. "description": "更新时间",
  33394. "type": "string"
  33395. },
  33396. "userid": {
  33397. "description": "用户ID",
  33398. "type": "integer"
  33399. },
  33400. "userinfotype": {
  33401. "description": "客户类型 1-个人 2-企业",
  33402. "type": "integer"
  33403. },
  33404. "username": {
  33405. "description": "用户名称",
  33406. "type": "string"
  33407. }
  33408. }
  33409. },
  33410. "models.QhjUserNodeCfgAndStatus": {
  33411. "type": "object",
  33412. "properties": {
  33413. "agreementcontent": {
  33414. "description": "协议内容",
  33415. "type": "string"
  33416. },
  33417. "agreementid": {
  33418. "description": "协议ID",
  33419. "type": "integer"
  33420. },
  33421. "agreementname": {
  33422. "description": "协议名称",
  33423. "type": "string"
  33424. },
  33425. "agreementno": {
  33426. "description": "协议编号",
  33427. "type": "string"
  33428. },
  33429. "agreementtype": {
  33430. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33431. "type": "integer"
  33432. },
  33433. "agreementversion": {
  33434. "description": "协议版本号",
  33435. "type": "integer"
  33436. },
  33437. "configid": {
  33438. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  33439. "type": "integer"
  33440. },
  33441. "createtime": {
  33442. "description": "创建时间",
  33443. "type": "string"
  33444. },
  33445. "goodsid": {
  33446. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33447. "type": "integer"
  33448. },
  33449. "nodetype": {
  33450. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33451. "type": "integer"
  33452. },
  33453. "signtimestamp": {
  33454. "description": "签约状态时间戳(最近一次)",
  33455. "type": "string"
  33456. },
  33457. "tradedate": {
  33458. "description": "签约交易日(yyyyMMdd)",
  33459. "type": "string"
  33460. },
  33461. "userid": {
  33462. "description": "客户ID",
  33463. "type": "integer"
  33464. }
  33465. }
  33466. },
  33467. "models.Qhjgoodsex": {
  33468. "type": "object",
  33469. "properties": {
  33470. "canfinance": {
  33471. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  33472. "type": "integer"
  33473. },
  33474. "canregularlybuy": {
  33475. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  33476. "type": "integer"
  33477. },
  33478. "defaulttradeuserid": {
  33479. "description": "默认交易用户ID",
  33480. "type": "integer"
  33481. },
  33482. "deliverygoodsid": {
  33483. "description": "现货品种ID",
  33484. "type": "integer"
  33485. },
  33486. "goodsid": {
  33487. "description": "商品ID(自增ID SEQ_GOODS)",
  33488. "type": "integer"
  33489. },
  33490. "minamount": {
  33491. "description": "最小购买金额",
  33492. "type": "number"
  33493. },
  33494. "regularlybuyminamount": {
  33495. "description": "定投最小金额",
  33496. "type": "number"
  33497. },
  33498. "regularlybuyminqty": {
  33499. "description": "定投最小数量",
  33500. "type": "number"
  33501. },
  33502. "spotgoodsbrandid": {
  33503. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  33504. "type": "integer"
  33505. },
  33506. "visibilityforenterprise": {
  33507. "description": "企业客户是否可见 - 0:不可见 1:可见",
  33508. "type": "integer"
  33509. },
  33510. "visibilityforpersonal": {
  33511. "description": "个人客户是否可见 - 0:不可见 1:可见",
  33512. "type": "integer"
  33513. },
  33514. "wrstandardid": {
  33515. "description": "现货商品ID",
  33516. "type": "integer"
  33517. }
  33518. }
  33519. },
  33520. "models.QueryErrorInfosRsp": {
  33521. "type": "object",
  33522. "required": [
  33523. "errorid"
  33524. ],
  33525. "properties": {
  33526. "description": {
  33527. "description": "异常描述",
  33528. "type": "string"
  33529. },
  33530. "errorcode": {
  33531. "description": "异常代码",
  33532. "type": "string"
  33533. },
  33534. "errorid": {
  33535. "description": "异常ID",
  33536. "type": "integer"
  33537. },
  33538. "modulecode": {
  33539. "description": "所属模块",
  33540. "type": "string"
  33541. },
  33542. "operatecode": {
  33543. "description": "所属操作",
  33544. "type": "string"
  33545. },
  33546. "rownumber": {
  33547. "description": "行号",
  33548. "type": "string"
  33549. }
  33550. }
  33551. },
  33552. "models.QueryHedgeOrderDetailRsp": {
  33553. "type": "object",
  33554. "properties": {
  33555. "accountid": {
  33556. "description": "账户ID",
  33557. "type": "integer"
  33558. },
  33559. "buyorsell": {
  33560. "description": "买卖 - 0:买 1:卖",
  33561. "type": "integer"
  33562. },
  33563. "cancellogincode": {
  33564. "description": "撤单人",
  33565. "type": "string"
  33566. },
  33567. "channelbuildtype": {
  33568. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  33569. "type": "integer"
  33570. },
  33571. "channelinnerorderstatus": {
  33572. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  33573. "type": "integer"
  33574. },
  33575. "channeloperatetype": {
  33576. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  33577. "type": "integer"
  33578. },
  33579. "closetype": {
  33580. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  33581. "type": "integer"
  33582. },
  33583. "curexchangerate": {
  33584. "description": "当前汇率",
  33585. "type": "number"
  33586. },
  33587. "decimalplace": {
  33588. "description": "商品报价小数位",
  33589. "type": "integer"
  33590. },
  33591. "exchangefullname": {
  33592. "description": "外部交易所全称",
  33593. "type": "string"
  33594. },
  33595. "goodscode": {
  33596. "description": "商品代码(内部)",
  33597. "type": "string"
  33598. },
  33599. "goodsid": {
  33600. "description": "商品ID",
  33601. "type": "integer"
  33602. },
  33603. "goodsname": {
  33604. "description": "商品名称",
  33605. "type": "string"
  33606. },
  33607. "marketid": {
  33608. "description": "市场ID",
  33609. "type": "integer"
  33610. },
  33611. "openfreezemargin": {
  33612. "description": "冻结保证金(冻结交易金额)",
  33613. "type": "number"
  33614. },
  33615. "orderid": {
  33616. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33617. "type": "string"
  33618. },
  33619. "orderlogincode": {
  33620. "description": "委托人",
  33621. "type": "string"
  33622. },
  33623. "orderprice": {
  33624. "description": "委托价格(账户)",
  33625. "type": "number"
  33626. },
  33627. "orderqty": {
  33628. "description": "委托数量",
  33629. "type": "integer"
  33630. },
  33631. "ordertime": {
  33632. "description": "委托时间",
  33633. "type": "string"
  33634. },
  33635. "pricemode": {
  33636. "description": "取价方式 - 1:市价 2: 限价",
  33637. "type": "integer"
  33638. },
  33639. "tradedate": {
  33640. "description": "交易日(yyyyMMdd)",
  33641. "type": "string"
  33642. },
  33643. "tradeqty": {
  33644. "description": "成交数量",
  33645. "type": "integer"
  33646. }
  33647. }
  33648. },
  33649. "models.QueryHedgeTradeDetailRsp": {
  33650. "type": "object",
  33651. "properties": {
  33652. "accountid": {
  33653. "description": "账号ID",
  33654. "type": "integer"
  33655. },
  33656. "buyorsell": {
  33657. "description": "方向 - 0:买 1:卖",
  33658. "type": "integer"
  33659. },
  33660. "channelbuildtype": {
  33661. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  33662. "type": "integer"
  33663. },
  33664. "closecharge": {
  33665. "description": "平仓手续费(账户)",
  33666. "type": "number"
  33667. },
  33668. "closecharge2": {
  33669. "description": "平仓手续费(商品)",
  33670. "type": "number"
  33671. },
  33672. "closepl": {
  33673. "description": "平仓盈亏(账户)",
  33674. "type": "number"
  33675. },
  33676. "closepl2": {
  33677. "description": "平仓盈亏(商品)",
  33678. "type": "number"
  33679. },
  33680. "closepl3": {
  33681. "description": "平仓盈亏(账户)(逐笔)",
  33682. "type": "number"
  33683. },
  33684. "closepl4": {
  33685. "description": "平仓盈亏(商品)(逐笔)",
  33686. "type": "number"
  33687. },
  33688. "closetype": {
  33689. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  33690. "type": "integer"
  33691. },
  33692. "curexchangerate": {
  33693. "description": "当前汇率",
  33694. "type": "number"
  33695. },
  33696. "decimalplace": {
  33697. "description": "商品报价小数位",
  33698. "type": "integer"
  33699. },
  33700. "exchangefullname": {
  33701. "description": "外部交易所全称",
  33702. "type": "string"
  33703. },
  33704. "goodscode": {
  33705. "description": "商品代码(内部)",
  33706. "type": "string"
  33707. },
  33708. "goodsid": {
  33709. "description": "商品ID",
  33710. "type": "integer"
  33711. },
  33712. "goodsname": {
  33713. "description": "商品名称",
  33714. "type": "string"
  33715. },
  33716. "marketid": {
  33717. "description": "市场ID",
  33718. "type": "integer"
  33719. },
  33720. "opencharge": {
  33721. "description": "建仓手续费(账户)",
  33722. "type": "number"
  33723. },
  33724. "opencharge2": {
  33725. "description": "建仓手续费(商品)",
  33726. "type": "number"
  33727. },
  33728. "orderid": {
  33729. "description": "委托单号",
  33730. "type": "string"
  33731. },
  33732. "orderlogincode": {
  33733. "description": "委托人",
  33734. "type": "string"
  33735. },
  33736. "tradeamount": {
  33737. "description": "成交金额(账户)",
  33738. "type": "number"
  33739. },
  33740. "tradedate": {
  33741. "description": "交易日(yyyyMMdd)",
  33742. "type": "string"
  33743. },
  33744. "tradeid": {
  33745. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33746. "type": "string"
  33747. },
  33748. "tradeprice": {
  33749. "description": "成交价格",
  33750. "type": "number"
  33751. },
  33752. "tradeqty": {
  33753. "description": "成交数量",
  33754. "type": "integer"
  33755. },
  33756. "tradetime": {
  33757. "description": "成交时间",
  33758. "type": "string"
  33759. },
  33760. "tradetype": {
  33761. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  33762. "type": "integer"
  33763. }
  33764. }
  33765. },
  33766. "models.QuotePrimaryMenu": {
  33767. "type": "object",
  33768. "properties": {
  33769. "Index": {
  33770. "description": "序号",
  33771. "type": "integer"
  33772. },
  33773. "Key": {
  33774. "description": "键名",
  33775. "type": "string"
  33776. },
  33777. "Name": {
  33778. "description": "菜单名称",
  33779. "type": "string"
  33780. },
  33781. "SubMenus": {
  33782. "description": "子菜单",
  33783. "type": "array",
  33784. "items": {
  33785. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  33786. }
  33787. },
  33788. "SubTitleType": {
  33789. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  33790. "type": "integer"
  33791. },
  33792. "TradeModes": {
  33793. "description": "包含市场交易类型",
  33794. "type": "string"
  33795. }
  33796. }
  33797. },
  33798. "models.QuoteSecondaryMenu": {
  33799. "type": "object",
  33800. "properties": {
  33801. "ExExchangeCode": {
  33802. "description": "外部交易所代码",
  33803. "type": "string"
  33804. },
  33805. "ExExchangeID": {
  33806. "description": "外部交易所ID",
  33807. "type": "integer"
  33808. },
  33809. "GoodsGroupIDs": {
  33810. "description": "商品组ID列表",
  33811. "type": "array",
  33812. "items": {
  33813. "type": "integer"
  33814. }
  33815. },
  33816. "Index": {
  33817. "description": "序号",
  33818. "type": "integer"
  33819. },
  33820. "MarketID": {
  33821. "description": "市场ID",
  33822. "type": "integer"
  33823. },
  33824. "MenuTitle": {
  33825. "description": "菜单标题(市场名称或外部交易所名称)",
  33826. "type": "string"
  33827. },
  33828. "TradeMode": {
  33829. "description": "交易模式",
  33830. "type": "integer"
  33831. }
  33832. }
  33833. },
  33834. "models.RelatedTaAccount": {
  33835. "type": "object",
  33836. "properties": {
  33837. "accountid": {
  33838. "description": "资金账户ID",
  33839. "type": "integer"
  33840. }
  33841. }
  33842. },
  33843. "models.RoleMenu": {
  33844. "type": "object",
  33845. "properties": {
  33846. "hasright": {
  33847. "description": "是否有权限 0-没有权限 1-有权限",
  33848. "type": "integer"
  33849. },
  33850. "iconame": {
  33851. "description": "菜单图标",
  33852. "type": "string"
  33853. },
  33854. "menutype": {
  33855. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  33856. "type": "integer"
  33857. },
  33858. "parentcode": {
  33859. "description": "上级资源代码",
  33860. "type": "string"
  33861. },
  33862. "remark": {
  33863. "description": "菜单备注",
  33864. "type": "string"
  33865. },
  33866. "resourcecode": {
  33867. "description": "菜单代码",
  33868. "type": "string"
  33869. },
  33870. "resourcelevel": {
  33871. "description": "级别",
  33872. "type": "integer"
  33873. },
  33874. "resourcename": {
  33875. "description": "菜单名称",
  33876. "type": "string"
  33877. },
  33878. "roleid": {
  33879. "description": "角色id",
  33880. "type": "integer"
  33881. },
  33882. "sort": {
  33883. "description": "排序",
  33884. "type": "integer"
  33885. },
  33886. "subMenu": {
  33887. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  33888. "type": "array",
  33889. "items": {
  33890. "$ref": "#/definitions/models.RoleMenu"
  33891. }
  33892. },
  33893. "url": {
  33894. "description": "URL",
  33895. "type": "string"
  33896. },
  33897. "userid": {
  33898. "description": "用户id",
  33899. "type": "integer"
  33900. }
  33901. }
  33902. },
  33903. "models.SearchGoods": {
  33904. "type": "object",
  33905. "required": [
  33906. "goodscode",
  33907. "goodsid",
  33908. "goodsname",
  33909. "marketid",
  33910. "trademode"
  33911. ],
  33912. "properties": {
  33913. "goodscode": {
  33914. "description": "商品代码(内部)",
  33915. "type": "string"
  33916. },
  33917. "goodsid": {
  33918. "description": "商品ID(自增ID SEQ_GOODS)",
  33919. "type": "integer"
  33920. },
  33921. "goodsname": {
  33922. "description": "商品名称",
  33923. "type": "string"
  33924. },
  33925. "marketid": {
  33926. "description": "所属市场ID",
  33927. "type": "integer"
  33928. },
  33929. "marketname": {
  33930. "description": "市场名称",
  33931. "type": "string"
  33932. },
  33933. "trademode": {
  33934. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33935. "type": "integer"
  33936. }
  33937. }
  33938. },
  33939. "models.Systemparam": {
  33940. "type": "object",
  33941. "required": [
  33942. "paramcode"
  33943. ],
  33944. "properties": {
  33945. "loginid": {
  33946. "description": "更新用户账号,登录账号",
  33947. "type": "string"
  33948. },
  33949. "modifyflag": {
  33950. "description": "修改标志0 不允许修改 1 允许修改",
  33951. "type": "integer"
  33952. },
  33953. "paramcode": {
  33954. "description": "参数代码",
  33955. "type": "string"
  33956. },
  33957. "paramname": {
  33958. "description": "参数名",
  33959. "type": "string"
  33960. },
  33961. "paramtype": {
  33962. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  33963. "type": "integer"
  33964. },
  33965. "paramvalue": {
  33966. "description": "参数值",
  33967. "type": "string"
  33968. },
  33969. "paramvalue2": {
  33970. "description": "参数值(CLOB)",
  33971. "type": "string"
  33972. },
  33973. "regexpress": {
  33974. "description": "正则表达式",
  33975. "type": "string"
  33976. },
  33977. "remark": {
  33978. "description": "备注",
  33979. "type": "string"
  33980. },
  33981. "serverip": {
  33982. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  33983. "type": "string"
  33984. },
  33985. "showflag": {
  33986. "description": "是否显示0 不显示 1 显示",
  33987. "type": "integer"
  33988. },
  33989. "updatetime": {
  33990. "description": "更新时间",
  33991. "type": "string"
  33992. },
  33993. "userid": {
  33994. "description": "更新用户ID",
  33995. "type": "integer"
  33996. }
  33997. }
  33998. },
  33999. "models.Szdz3convertconfig": {
  34000. "type": "object",
  34001. "required": [
  34002. "converttype",
  34003. "innergoodsid",
  34004. "outergoodscode"
  34005. ],
  34006. "properties": {
  34007. "canin": {
  34008. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  34009. "type": "integer"
  34010. },
  34011. "canout": {
  34012. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  34013. "type": "integer"
  34014. },
  34015. "converttype": {
  34016. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  34017. "type": "integer"
  34018. },
  34019. "createtime": {
  34020. "description": "创建时间",
  34021. "type": "string"
  34022. },
  34023. "creatorid": {
  34024. "description": "创建人",
  34025. "type": "integer"
  34026. },
  34027. "daymaxvalue": {
  34028. "description": "当日最大转入限制",
  34029. "type": "number"
  34030. },
  34031. "freezedays": {
  34032. "description": "冻结天数 [5:花生米转交易]",
  34033. "type": "integer"
  34034. },
  34035. "innergoodsid": {
  34036. "description": "内部商品ID[交易]",
  34037. "type": "integer"
  34038. },
  34039. "inratio": {
  34040. "description": "目标值",
  34041. "type": "integer"
  34042. },
  34043. "modifierid": {
  34044. "description": "修改人",
  34045. "type": "integer"
  34046. },
  34047. "modifytime": {
  34048. "description": "修改时间",
  34049. "type": "string"
  34050. },
  34051. "outergoodscode": {
  34052. "description": "外部商品代码[JD\\PD]",
  34053. "type": "string"
  34054. },
  34055. "outratio": {
  34056. "description": "源值",
  34057. "type": "integer"
  34058. },
  34059. "pddecimalplace": {
  34060. "description": "PD小数位",
  34061. "type": "integer"
  34062. },
  34063. "timemaxvalue": {
  34064. "description": "单次最大转入限制",
  34065. "type": "number"
  34066. },
  34067. "timeminvalue": {
  34068. "description": "单次最小转入限制",
  34069. "type": "number"
  34070. }
  34071. }
  34072. },
  34073. "models.Szdz3searchwhitelist": {
  34074. "type": "object",
  34075. "required": [
  34076. "userid"
  34077. ],
  34078. "properties": {
  34079. "createtime": {
  34080. "description": "创建时间",
  34081. "type": "string"
  34082. },
  34083. "creatorid": {
  34084. "description": "创建人",
  34085. "type": "integer"
  34086. },
  34087. "modifierid": {
  34088. "description": "修改人",
  34089. "type": "integer"
  34090. },
  34091. "modifytime": {
  34092. "description": "修改时间",
  34093. "type": "string"
  34094. },
  34095. "userid": {
  34096. "description": "用户ID",
  34097. "type": "integer"
  34098. }
  34099. }
  34100. },
  34101. "models.TBGoods": {
  34102. "type": "object",
  34103. "properties": {
  34104. "agreeunit": {
  34105. "description": "合约乘数",
  34106. "type": "number"
  34107. },
  34108. "enumdicname": {
  34109. "description": "单位名称",
  34110. "type": "string"
  34111. },
  34112. "goodscode": {
  34113. "description": "商品代码(内部)",
  34114. "type": "string"
  34115. },
  34116. "goodsid": {
  34117. "description": "商品ID(自增ID SEQ_GOODS)",
  34118. "type": "integer"
  34119. },
  34120. "goodsname": {
  34121. "description": "商品名称",
  34122. "type": "string"
  34123. }
  34124. }
  34125. },
  34126. "models.TBGoodsGroup": {
  34127. "type": "object",
  34128. "properties": {
  34129. "GDLST": {
  34130. "description": "商品列表",
  34131. "type": "array",
  34132. "items": {
  34133. "$ref": "#/definitions/models.TBGoods"
  34134. }
  34135. },
  34136. "convertratio": {
  34137. "description": "折算系数",
  34138. "type": "number"
  34139. },
  34140. "enumdicname": {
  34141. "description": "单位名称",
  34142. "type": "string"
  34143. },
  34144. "exexchangecode": {
  34145. "description": "交易所代码",
  34146. "type": "string"
  34147. },
  34148. "exexchangename": {
  34149. "description": "交易所名称",
  34150. "type": "string"
  34151. },
  34152. "goodsgroupid": {
  34153. "description": "商品组ID(自增ID)",
  34154. "type": "integer"
  34155. },
  34156. "goodsgroupname": {
  34157. "description": "商品组名称",
  34158. "type": "string"
  34159. },
  34160. "goodunitid": {
  34161. "description": "报价单位ID",
  34162. "type": "integer"
  34163. }
  34164. }
  34165. },
  34166. "models.TBMiddleGoods": {
  34167. "type": "object",
  34168. "properties": {
  34169. "GPLST": {
  34170. "description": "期货品种列表",
  34171. "type": "array",
  34172. "items": {
  34173. "$ref": "#/definitions/models.TBGoodsGroup"
  34174. }
  34175. },
  34176. "WDLST": {
  34177. "description": "商品信息列表(现货品类)",
  34178. "type": "array",
  34179. "items": {
  34180. "$ref": "#/definitions/models.TBWrstandard"
  34181. }
  34182. },
  34183. "areauserid": {
  34184. "description": "机构用户ID",
  34185. "type": "integer"
  34186. },
  34187. "enumdicname": {
  34188. "description": "单位名称",
  34189. "type": "string"
  34190. },
  34191. "goodsunitid": {
  34192. "description": "套保品种单位id",
  34193. "type": "integer"
  34194. },
  34195. "middlegoodscode": {
  34196. "description": "套保品种代码",
  34197. "type": "string"
  34198. },
  34199. "middlegoodsid": {
  34200. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  34201. "type": "integer"
  34202. },
  34203. "middlegoodsname": {
  34204. "description": "套保品种名称",
  34205. "type": "string"
  34206. },
  34207. "needarbitrageratio": {
  34208. "description": "套利比率",
  34209. "type": "number"
  34210. },
  34211. "needhedgeratio": {
  34212. "description": "套保比率",
  34213. "type": "number"
  34214. }
  34215. }
  34216. },
  34217. "models.TBWrstandard": {
  34218. "type": "object",
  34219. "properties": {
  34220. "convertratio": {
  34221. "description": "折算系数",
  34222. "type": "number"
  34223. },
  34224. "deliverygoodsname": {
  34225. "description": "品种名称",
  34226. "type": "string"
  34227. },
  34228. "enumdicname": {
  34229. "description": "单位名称",
  34230. "type": "string"
  34231. },
  34232. "vatrate": {
  34233. "description": "增值税率",
  34234. "type": "number"
  34235. },
  34236. "wrstandardcode": {
  34237. "description": "现货商品代码",
  34238. "type": "string"
  34239. },
  34240. "wrstandardid": {
  34241. "description": "现货商品ID(SEQ_WRSTANDARD)",
  34242. "type": "integer"
  34243. },
  34244. "wrstandardname": {
  34245. "description": "现货商品名称",
  34246. "type": "string"
  34247. }
  34248. }
  34249. },
  34250. "models.Taaccount": {
  34251. "type": "object",
  34252. "required": [
  34253. "accountid",
  34254. "userid"
  34255. ],
  34256. "properties": {
  34257. "accountflag": {
  34258. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  34259. "type": "integer"
  34260. },
  34261. "accountid": {
  34262. "description": "资金账户ID",
  34263. "type": "integer"
  34264. },
  34265. "accountname": {
  34266. "description": "账户名称",
  34267. "type": "string"
  34268. },
  34269. "balance": {
  34270. "description": "期初余额",
  34271. "type": "number"
  34272. },
  34273. "capitalbalance": {
  34274. "description": "本金余额[外部子账户实际出入金余额]",
  34275. "type": "number"
  34276. },
  34277. "changeflag": {
  34278. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  34279. "type": "integer"
  34280. },
  34281. "changetime": {
  34282. "description": "账户状态变更时间",
  34283. "type": "string"
  34284. },
  34285. "closepl": {
  34286. "description": "今日平仓盈亏",
  34287. "type": "number"
  34288. },
  34289. "creditdecrease": {
  34290. "description": "今日授信减少",
  34291. "type": "number"
  34292. },
  34293. "creditincrease": {
  34294. "description": "今日授信增加",
  34295. "type": "number"
  34296. },
  34297. "curamount": {
  34298. "description": "总市值(从持仓中统计)",
  34299. "type": "number"
  34300. },
  34301. "currencyid": {
  34302. "description": "货币ID",
  34303. "type": "integer"
  34304. },
  34305. "currentbalance": {
  34306. "description": "期末余额",
  34307. "type": "number"
  34308. },
  34309. "freezecharge": {
  34310. "description": "手续费冻结",
  34311. "type": "number"
  34312. },
  34313. "freezemargin": {
  34314. "description": "冻结保证金",
  34315. "type": "number"
  34316. },
  34317. "fromaccountid": {
  34318. "description": "所属上级账户",
  34319. "type": "integer"
  34320. },
  34321. "inamount": {
  34322. "description": "今日入金金额(包括三方入金)",
  34323. "type": "number"
  34324. },
  34325. "ismain": {
  34326. "description": "是否母账号 0:不是母账户 1:是母账户",
  34327. "type": "integer"
  34328. },
  34329. "ismarketaccount": {
  34330. "description": "是否机构接单账号 0:不是 1:是",
  34331. "type": "integer"
  34332. },
  34333. "isreckonaccount": {
  34334. "description": "是否机构分润账号 0:不是 1:是",
  34335. "type": "integer"
  34336. },
  34337. "mortgagecredit": {
  34338. "description": "授信金额",
  34339. "type": "number"
  34340. },
  34341. "orifreezecharge": {
  34342. "description": "期初手续费冻结",
  34343. "type": "number"
  34344. },
  34345. "orifreezemargin": {
  34346. "description": "期初冻结保证金",
  34347. "type": "number"
  34348. },
  34349. "orimortgagecredit": {
  34350. "description": "期初授信金额",
  34351. "type": "number"
  34352. },
  34353. "oriothercredit": {
  34354. "description": "期初其它授信金额",
  34355. "type": "number"
  34356. },
  34357. "oriotherfreezemargin": {
  34358. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  34359. "type": "number"
  34360. },
  34361. "orioutamountfreeze": {
  34362. "description": "期初出金冻结",
  34363. "type": "number"
  34364. },
  34365. "oriusedmargin": {
  34366. "description": "期初占用保证金",
  34367. "type": "number"
  34368. },
  34369. "othercredit": {
  34370. "description": "其它授信金额",
  34371. "type": "number"
  34372. },
  34373. "othercreditdecrease": {
  34374. "description": "今日其它授信减少",
  34375. "type": "number"
  34376. },
  34377. "othercreditincrease": {
  34378. "description": "今日其它授信增加",
  34379. "type": "number"
  34380. },
  34381. "otherfreezemargin": {
  34382. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  34383. "type": "number"
  34384. },
  34385. "otherincome": {
  34386. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  34387. "type": "number"
  34388. },
  34389. "otherpay": {
  34390. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  34391. "type": "number"
  34392. },
  34393. "outamount": {
  34394. "description": "今日出金金额(包括三方出金)",
  34395. "type": "number"
  34396. },
  34397. "outamountfreeze": {
  34398. "description": "出金冻结",
  34399. "type": "number"
  34400. },
  34401. "outthreshold": {
  34402. "description": "出金阈值",
  34403. "type": "number"
  34404. },
  34405. "parentaccountid": {
  34406. "description": "所属根账号",
  34407. "type": "integer"
  34408. },
  34409. "paycharge": {
  34410. "description": "今日手续费支出",
  34411. "type": "number"
  34412. },
  34413. "relatedaccountstatus": {
  34414. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  34415. "type": "integer"
  34416. },
  34417. "relateduserid": {
  34418. "description": "关联用户",
  34419. "type": "integer"
  34420. },
  34421. "remainamount": {
  34422. "description": "融资额(从融资合同中统计)",
  34423. "type": "number"
  34424. },
  34425. "serivcegroup": {
  34426. "description": "服务分组",
  34427. "type": "integer"
  34428. },
  34429. "signstatus": {
  34430. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  34431. "type": "integer"
  34432. },
  34433. "sublevelpath": {
  34434. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  34435. "type": "string"
  34436. },
  34437. "taaccounttype": {
  34438. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  34439. "type": "integer"
  34440. },
  34441. "thirdinamount": {
  34442. "description": "今日三方入金",
  34443. "type": "number"
  34444. },
  34445. "thirdoutamount": {
  34446. "description": "今日三方出金",
  34447. "type": "number"
  34448. },
  34449. "tradestatus": {
  34450. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  34451. "type": "integer"
  34452. },
  34453. "tradestatuschangetime": {
  34454. "description": "激活时间",
  34455. "type": "string"
  34456. },
  34457. "transferamount": {
  34458. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  34459. "type": "number"
  34460. },
  34461. "usedmargin": {
  34462. "description": "占用保证金",
  34463. "type": "number"
  34464. },
  34465. "userid": {
  34466. "description": "用户ID",
  34467. "type": "integer"
  34468. }
  34469. }
  34470. },
  34471. "models.Tablecolumnconfig": {
  34472. "type": "object",
  34473. "required": [
  34474. "autoid"
  34475. ],
  34476. "properties": {
  34477. "aligntype": {
  34478. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  34479. "type": "integer"
  34480. },
  34481. "autoid": {
  34482. "description": "AutoID",
  34483. "type": "integer"
  34484. },
  34485. "columnfield": {
  34486. "description": "列字段",
  34487. "type": "string"
  34488. },
  34489. "columntitle": {
  34490. "description": "列Title",
  34491. "type": "string"
  34492. },
  34493. "columnwidth": {
  34494. "description": "列宽",
  34495. "type": "string"
  34496. },
  34497. "formatterstring": {
  34498. "description": "格式化字符",
  34499. "type": "string"
  34500. },
  34501. "formattertype": {
  34502. "description": "格式化类型",
  34503. "type": "string"
  34504. },
  34505. "groupname": {
  34506. "description": "表头分组名称",
  34507. "type": "string"
  34508. },
  34509. "isshow": {
  34510. "description": "是否显示 - 0:不显示 1:显示",
  34511. "type": "integer"
  34512. },
  34513. "needsummary": {
  34514. "description": "是否需要汇总 - 0:不需要 1:需要",
  34515. "type": "integer"
  34516. },
  34517. "orderindex": {
  34518. "description": "顺序",
  34519. "type": "integer"
  34520. },
  34521. "remark": {
  34522. "description": "备注",
  34523. "type": "string"
  34524. },
  34525. "summarytype": {
  34526. "description": "汇总类型 - 1:加总 2:最后一个",
  34527. "type": "integer"
  34528. },
  34529. "tablekey": {
  34530. "description": "列表Key",
  34531. "type": "string"
  34532. }
  34533. }
  34534. },
  34535. "models.TjmdHolderDetailTradeInfo": {
  34536. "type": "object",
  34537. "properties": {
  34538. "agreeunit": {
  34539. "description": "合约乘数",
  34540. "type": "number"
  34541. },
  34542. "buyaccountid": {
  34543. "description": "买方账户",
  34544. "type": "string"
  34545. },
  34546. "buyusername": {
  34547. "description": "买方",
  34548. "type": "string"
  34549. },
  34550. "delistingdate": {
  34551. "description": "最后结算日",
  34552. "type": "string"
  34553. },
  34554. "expiredate": {
  34555. "description": "到期结算价定价日",
  34556. "type": "string"
  34557. },
  34558. "exprieprice": {
  34559. "description": "到期清算价格",
  34560. "type": "string"
  34561. },
  34562. "goodscode": {
  34563. "description": "商品代码",
  34564. "type": "string"
  34565. },
  34566. "goodsid": {
  34567. "description": "商品ID",
  34568. "type": "integer"
  34569. },
  34570. "goodsname": {
  34571. "description": "商品名称(交易标的)",
  34572. "type": "string"
  34573. },
  34574. "lasttradedate": {
  34575. "description": "最后交易日",
  34576. "type": "string"
  34577. },
  34578. "listingdate": {
  34579. "description": "开始交易日",
  34580. "type": "string"
  34581. },
  34582. "openprice": {
  34583. "description": "成交价",
  34584. "type": "number"
  34585. },
  34586. "openqty": {
  34587. "description": "交易数量",
  34588. "type": "integer"
  34589. },
  34590. "sellaccountid": {
  34591. "description": "卖方账户",
  34592. "type": "string"
  34593. },
  34594. "sellusername": {
  34595. "description": "卖方",
  34596. "type": "string"
  34597. },
  34598. "tradeamount": {
  34599. "description": "初始名义价值",
  34600. "type": "number"
  34601. },
  34602. "tradedate": {
  34603. "description": "成交日期",
  34604. "type": "string"
  34605. },
  34606. "tradeid": {
  34607. "description": "成交编号",
  34608. "type": "string"
  34609. }
  34610. }
  34611. },
  34612. "models.TjmdMarketSection": {
  34613. "type": "object",
  34614. "properties": {
  34615. "marketsectionid": {
  34616. "description": "市场版块ID(SEQ_MARKETSECTION)",
  34617. "type": "integer"
  34618. },
  34619. "marketsectionname": {
  34620. "description": "市场版块名称",
  34621. "type": "string"
  34622. },
  34623. "mlist": {
  34624. "description": "市场列表(板块下面有多少个市场)",
  34625. "type": "array",
  34626. "items": {
  34627. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  34628. }
  34629. },
  34630. "orderindex": {
  34631. "description": "排序",
  34632. "type": "integer"
  34633. },
  34634. "pictureurl": {
  34635. "description": "图片url, 规格(90*90)",
  34636. "type": "string"
  34637. },
  34638. "remark": {
  34639. "description": "备注",
  34640. "type": "string"
  34641. }
  34642. }
  34643. },
  34644. "models.TjmdMarketSectionConfig": {
  34645. "type": "object",
  34646. "properties": {
  34647. "auctionwrtype": {
  34648. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  34649. "type": "integer"
  34650. },
  34651. "canacceptquote": {
  34652. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  34653. "type": "integer"
  34654. },
  34655. "cangoodsexercise": {
  34656. "description": "[期权]是否可现货行权- 0:否 1:是",
  34657. "type": "integer"
  34658. },
  34659. "cangoodsexercisetype": {
  34660. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  34661. "type": "integer"
  34662. },
  34663. "canmanualquotestrike": {
  34664. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  34665. "type": "integer"
  34666. },
  34667. "canmutistage": {
  34668. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  34669. "type": "integer"
  34670. },
  34671. "canpreexercise": {
  34672. "description": "[期权]是否可预申报- 0:否 1:是",
  34673. "type": "integer"
  34674. },
  34675. "clearinterval": {
  34676. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  34677. "type": "integer"
  34678. },
  34679. "contracttmp": {
  34680. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  34681. "type": "string"
  34682. },
  34683. "exchareaid": {
  34684. "description": "所属交易所,可以没有",
  34685. "type": "integer"
  34686. },
  34687. "financemarketid": {
  34688. "description": "融资回购市场ID [仓单贸易]",
  34689. "type": "integer"
  34690. },
  34691. "goodstype": {
  34692. "description": "商品类型 - 1:交易商品 2:仓单商品",
  34693. "type": "integer"
  34694. },
  34695. "hasrebate": {
  34696. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  34697. "type": "integer"
  34698. },
  34699. "hastradecredit": {
  34700. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  34701. "type": "integer"
  34702. },
  34703. "haswr": {
  34704. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  34705. "type": "integer"
  34706. },
  34707. "isdeductmargin": {
  34708. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  34709. "type": "integer"
  34710. },
  34711. "isrecordsource": {
  34712. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  34713. "type": "integer"
  34714. },
  34715. "isreleasemargin": {
  34716. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  34717. "type": "integer"
  34718. },
  34719. "isupdatereckonprice": {
  34720. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  34721. "type": "integer"
  34722. },
  34723. "listingmode": {
  34724. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  34725. "type": "integer"
  34726. },
  34727. "marginformula": {
  34728. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  34729. "type": "integer"
  34730. },
  34731. "marginformula2": {
  34732. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  34733. "type": "integer"
  34734. },
  34735. "marketid": {
  34736. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  34737. "type": "integer"
  34738. },
  34739. "marketname": {
  34740. "description": "市场名称",
  34741. "type": "string"
  34742. },
  34743. "marketsectionid": {
  34744. "description": "市场版块ID(SEQ_MARKETSECTION)",
  34745. "type": "integer"
  34746. },
  34747. "marketserviceid": {
  34748. "description": "市场服务ID",
  34749. "type": "integer"
  34750. },
  34751. "marketstatus": {
  34752. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  34753. "type": "integer"
  34754. },
  34755. "markettype": {
  34756. "description": "市场类型- 1:非交易服务 2:交易服务",
  34757. "type": "integer"
  34758. },
  34759. "matchermode": {
  34760. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  34761. "type": "integer"
  34762. },
  34763. "nowrquotaflag": {
  34764. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  34765. "type": "integer"
  34766. },
  34767. "openmethod": {
  34768. "description": "开盘模式 - 0 自动 1手动",
  34769. "type": "integer"
  34770. },
  34771. "orderindex": {
  34772. "description": "排序",
  34773. "type": "integer"
  34774. },
  34775. "otcuserid": {
  34776. "description": "场外期权做市商[场外期权]",
  34777. "type": "integer"
  34778. },
  34779. "outersynctime": {
  34780. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  34781. "type": "string"
  34782. },
  34783. "paylaterflag": {
  34784. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  34785. "type": "integer"
  34786. },
  34787. "pendingflag": {
  34788. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  34789. "type": "integer"
  34790. },
  34791. "pendingtime": {
  34792. "description": "待开市时间[通道交易-对冲](HH:mm)",
  34793. "type": "string"
  34794. },
  34795. "performancetempid": {
  34796. "description": "履约计划模板ID - 作废",
  34797. "type": "integer"
  34798. },
  34799. "premiumquotemode": {
  34800. "description": "权利金报价方式 - 1:自动 2:手动",
  34801. "type": "integer"
  34802. },
  34803. "rebateratio": {
  34804. "description": "返利比率[竞价式]",
  34805. "type": "number"
  34806. },
  34807. "reckonorder": {
  34808. "description": "结算顺序",
  34809. "type": "integer"
  34810. },
  34811. "reckonpricealgorithm": {
  34812. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  34813. "type": "integer"
  34814. },
  34815. "reckonpriceparam": {
  34816. "description": "结算价参数",
  34817. "type": "integer"
  34818. },
  34819. "reckontime": {
  34820. "description": "结算时间[通道交易-对冲](HH:mm)",
  34821. "type": "string"
  34822. },
  34823. "roleprioritytype": {
  34824. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  34825. "type": "integer"
  34826. },
  34827. "selllistingauditflag": {
  34828. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  34829. "type": "integer"
  34830. },
  34831. "trademarkettype": {
  34832. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  34833. "type": "integer"
  34834. },
  34835. "trademode": {
  34836. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34837. "type": "integer"
  34838. },
  34839. "tradeproperty": {
  34840. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  34841. "type": "integer"
  34842. },
  34843. "tradetype": {
  34844. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  34845. "type": "integer"
  34846. },
  34847. "updatereckonpriceinterval": {
  34848. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  34849. "type": "integer"
  34850. }
  34851. }
  34852. },
  34853. "models.TjmdQuoteGoods": {
  34854. "type": "object",
  34855. "properties": {
  34856. "buyqty": {
  34857. "description": "买量(暂不做, 无值, 保留字段)",
  34858. "type": "number"
  34859. },
  34860. "decimalplace": {
  34861. "description": "报价小数位",
  34862. "type": "integer"
  34863. },
  34864. "goodscode": {
  34865. "description": "合约代码",
  34866. "type": "string"
  34867. },
  34868. "goodsgroupid": {
  34869. "description": "商品组ID(自增ID)",
  34870. "type": "integer"
  34871. },
  34872. "goodsgroupname": {
  34873. "description": "商品组名称",
  34874. "type": "string"
  34875. },
  34876. "goodsid": {
  34877. "description": "合约id",
  34878. "type": "integer"
  34879. },
  34880. "goodsname": {
  34881. "description": "合约名称",
  34882. "type": "string"
  34883. },
  34884. "refgoodscode": {
  34885. "description": "标的合约代码",
  34886. "type": "string"
  34887. },
  34888. "refgoodsid": {
  34889. "description": "标的合约id",
  34890. "type": "integer"
  34891. },
  34892. "refgoodsname": {
  34893. "description": "标的合约名称",
  34894. "type": "string"
  34895. },
  34896. "sellqty": {
  34897. "description": "卖量(暂不做, 无值, 保留字段)",
  34898. "type": "number"
  34899. }
  34900. }
  34901. },
  34902. "models.TjmdTodayAccountMargin": {
  34903. "type": "object",
  34904. "properties": {
  34905. "accountid": {
  34906. "description": "账号ID",
  34907. "type": "integer"
  34908. },
  34909. "goodsid": {
  34910. "description": "商品ID",
  34911. "type": "integer"
  34912. },
  34913. "infoc": {
  34914. "description": "配置参数",
  34915. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  34916. },
  34917. "marketid": {
  34918. "description": "市场ID",
  34919. "type": "integer"
  34920. }
  34921. }
  34922. },
  34923. "models.TjmdTradeOrderDetail": {
  34924. "type": "object",
  34925. "properties": {
  34926. "buyorsell": {
  34927. "description": "买卖方向 0-买 1-卖",
  34928. "type": "integer"
  34929. },
  34930. "goodsid": {
  34931. "description": "商品id",
  34932. "type": "integer"
  34933. },
  34934. "marketmaxsub": {
  34935. "description": "市价最大偏移范围 [浮动价 - 点差]",
  34936. "type": "number"
  34937. },
  34938. "orderid": {
  34939. "description": "委托单号",
  34940. "type": "string"
  34941. },
  34942. "orderprice": {
  34943. "description": "委托价格",
  34944. "type": "number"
  34945. },
  34946. "orderqty": {
  34947. "description": "委托数量",
  34948. "type": "integer"
  34949. },
  34950. "pricemode": {
  34951. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  34952. "type": "integer"
  34953. },
  34954. "userid": {
  34955. "description": "用户id",
  34956. "type": "integer"
  34957. },
  34958. "username": {
  34959. "description": "用户名称(已脱敏)",
  34960. "type": "string"
  34961. }
  34962. }
  34963. },
  34964. "models.TjmdTransferApply": {
  34965. "type": "object",
  34966. "properties": {
  34967. "applyid": {
  34968. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  34969. "type": "integer"
  34970. },
  34971. "applystatus": {
  34972. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  34973. "type": "integer"
  34974. },
  34975. "applytime": {
  34976. "description": "申请时间(时间)",
  34977. "type": "string"
  34978. },
  34979. "auditremark": {
  34980. "description": "审核备注(拒绝原因?)",
  34981. "type": "string"
  34982. },
  34983. "begindate": {
  34984. "description": "开始交易日(yyyymmdd)",
  34985. "type": "string"
  34986. },
  34987. "buyorsell": {
  34988. "description": "买卖 - 0:买 1:卖",
  34989. "type": "integer"
  34990. },
  34991. "enddate": {
  34992. "description": "结束交易日(yyyymmdd)",
  34993. "type": "string"
  34994. },
  34995. "goodscode": {
  34996. "description": "商品代码",
  34997. "type": "string"
  34998. },
  34999. "goodsid": {
  35000. "description": "商品ID",
  35001. "type": "integer"
  35002. },
  35003. "goodsname": {
  35004. "description": "商品名称",
  35005. "type": "string"
  35006. },
  35007. "marketid": {
  35008. "description": "市场ID",
  35009. "type": "integer"
  35010. },
  35011. "qty": {
  35012. "description": "转让数量(数量)",
  35013. "type": "number"
  35014. },
  35015. "tradeid": {
  35016. "description": "成交单号(关联持仓)",
  35017. "type": "string"
  35018. },
  35019. "transferamount": {
  35020. "description": "转让总金额(金额)",
  35021. "type": "number"
  35022. },
  35023. "transferprice": {
  35024. "description": "转让价格(协议价格)",
  35025. "type": "number"
  35026. }
  35027. }
  35028. },
  35029. "models.TradeHolderDetail": {
  35030. "type": "object",
  35031. "properties": {
  35032. "accountid": {
  35033. "description": "账号ID",
  35034. "type": "integer"
  35035. },
  35036. "agreeunit": {
  35037. "description": "合约乘数",
  35038. "type": "number"
  35039. },
  35040. "buyorsell": {
  35041. "description": "方向 - 0:买 1:卖",
  35042. "type": "integer"
  35043. },
  35044. "currencyid": {
  35045. "description": "商品币种id",
  35046. "type": "integer"
  35047. },
  35048. "currencyname": {
  35049. "description": "币种名称",
  35050. "type": "string"
  35051. },
  35052. "decimalplace": {
  35053. "description": "商品价格小数位",
  35054. "type": "integer"
  35055. },
  35056. "enumdicname": {
  35057. "description": "商品单位名称",
  35058. "type": "string"
  35059. },
  35060. "expirecycle": {
  35061. "description": "行权周期(天) - 1:滚动行权时填写",
  35062. "type": "integer"
  35063. },
  35064. "expiredate": {
  35065. "description": "行权日(yyyyMMdd) - 到期日",
  35066. "type": "string"
  35067. },
  35068. "expiretype": {
  35069. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  35070. "type": "integer"
  35071. },
  35072. "freezeqty": {
  35073. "description": "冻结数量",
  35074. "type": "number"
  35075. },
  35076. "goodscode": {
  35077. "description": "商品代码",
  35078. "type": "string"
  35079. },
  35080. "goodsid": {
  35081. "description": "商品ID",
  35082. "type": "integer"
  35083. },
  35084. "goodsname": {
  35085. "description": "商品名称",
  35086. "type": "string"
  35087. },
  35088. "goodunitid": {
  35089. "description": "商品单位id",
  35090. "type": "integer"
  35091. },
  35092. "holderamount": {
  35093. "description": "持仓金额",
  35094. "type": "number"
  35095. },
  35096. "holdercredit": {
  35097. "description": "持仓授信金额",
  35098. "type": "number"
  35099. },
  35100. "holderdays": {
  35101. "description": "剩余冻结天数",
  35102. "type": "integer"
  35103. },
  35104. "holderprice": {
  35105. "description": "持仓价格",
  35106. "type": "number"
  35107. },
  35108. "holderqty": {
  35109. "description": "持仓数量",
  35110. "type": "number"
  35111. },
  35112. "isconfirmexercise": {
  35113. "description": "是否确认行权- 0:否 1:是",
  35114. "type": "integer"
  35115. },
  35116. "ispreexercise": {
  35117. "description": "是否预申报- 0:否 1:是 2:不可行权",
  35118. "type": "integer"
  35119. },
  35120. "marketid": {
  35121. "description": "市场id",
  35122. "type": "integer"
  35123. },
  35124. "marketname": {
  35125. "description": "市场名称",
  35126. "type": "string"
  35127. },
  35128. "openprice": {
  35129. "description": "建仓价格",
  35130. "type": "number"
  35131. },
  35132. "openqty": {
  35133. "description": "建仓数量",
  35134. "type": "number"
  35135. },
  35136. "optiontype": {
  35137. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35138. "type": "integer"
  35139. },
  35140. "preexerciseprice": {
  35141. "description": "预申报价格",
  35142. "type": "number"
  35143. },
  35144. "premium": {
  35145. "description": "权利金",
  35146. "type": "number"
  35147. },
  35148. "qtydecimalplace": {
  35149. "description": "商品成交量小数位",
  35150. "type": "integer"
  35151. },
  35152. "refgoodscode": {
  35153. "description": "标的合约代码",
  35154. "type": "string"
  35155. },
  35156. "refgoodsid": {
  35157. "description": "标的合约id",
  35158. "type": "integer"
  35159. },
  35160. "releaseamount": {
  35161. "description": "释放持仓金额",
  35162. "type": "number"
  35163. },
  35164. "releaseholdercredit": {
  35165. "description": "释放持仓授信金额",
  35166. "type": "number"
  35167. },
  35168. "taname": {
  35169. "description": "资金账号名称",
  35170. "type": "string"
  35171. },
  35172. "tradeamount": {
  35173. "description": "成交金额",
  35174. "type": "number"
  35175. },
  35176. "tradedate": {
  35177. "description": "交易日(yyyyMMdd)",
  35178. "type": "string"
  35179. },
  35180. "tradeid": {
  35181. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35182. "type": "string"
  35183. },
  35184. "trademode": {
  35185. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  35186. "type": "integer"
  35187. },
  35188. "tradeproperty": {
  35189. "description": "交易属性",
  35190. "type": "integer"
  35191. },
  35192. "tradetime": {
  35193. "description": "交易时间",
  35194. "type": "string"
  35195. },
  35196. "userid": {
  35197. "description": "用户id",
  35198. "type": "integer"
  35199. },
  35200. "username": {
  35201. "description": "用户名称",
  35202. "type": "string"
  35203. }
  35204. }
  35205. },
  35206. "models.UserCollectConfig": {
  35207. "type": "object",
  35208. "properties": {
  35209. "accountstatus": {
  35210. "description": "账户状态 - 1:正常 2:停用 3:注销",
  35211. "type": "integer"
  35212. },
  35213. "collectaccountname": {
  35214. "description": "收款人账户名称",
  35215. "type": "string"
  35216. },
  35217. "collectaccountno": {
  35218. "description": "收款人账户",
  35219. "type": "string"
  35220. },
  35221. "collectbankname": {
  35222. "description": "收款人开户行",
  35223. "type": "string"
  35224. },
  35225. "collectbranchbankname": {
  35226. "description": "收款人开户支行",
  35227. "type": "string"
  35228. },
  35229. "collectconfigid": {
  35230. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  35231. "type": "string"
  35232. },
  35233. "remark": {
  35234. "description": "备注",
  35235. "type": "string"
  35236. },
  35237. "userid": {
  35238. "description": "收款人用户ID",
  35239. "type": "integer"
  35240. }
  35241. }
  35242. },
  35243. "models.UserReceiveInfo": {
  35244. "type": "object",
  35245. "properties": {
  35246. "address": {
  35247. "description": "提货人详细地址",
  35248. "type": "string"
  35249. },
  35250. "autoid": {
  35251. "description": "AutoID",
  35252. "type": "integer"
  35253. },
  35254. "cardnum": {
  35255. "description": "证件号码(加密存储)",
  35256. "type": "string"
  35257. },
  35258. "cardtypeid": {
  35259. "description": "证件类型",
  35260. "type": "integer"
  35261. },
  35262. "cityid": {
  35263. "description": "市",
  35264. "type": "integer"
  35265. },
  35266. "cityname": {
  35267. "description": "城市名称",
  35268. "type": "string"
  35269. },
  35270. "countryid": {
  35271. "description": "国家",
  35272. "type": "integer"
  35273. },
  35274. "countryname": {
  35275. "description": "国家名称",
  35276. "type": "string"
  35277. },
  35278. "districtid": {
  35279. "description": "地区",
  35280. "type": "integer"
  35281. },
  35282. "districtname": {
  35283. "description": "地区名称",
  35284. "type": "string"
  35285. },
  35286. "hasencrypt": {
  35287. "description": "数据是否已加密 - 0:未加密 1:已加密",
  35288. "type": "integer"
  35289. },
  35290. "isdefault": {
  35291. "description": "是否默认地址 - 0:否 1:是",
  35292. "type": "integer"
  35293. },
  35294. "phonenum": {
  35295. "description": "提货人联系方式(加密存储)",
  35296. "type": "string"
  35297. },
  35298. "provinceid": {
  35299. "description": "省",
  35300. "type": "integer"
  35301. },
  35302. "provincename": {
  35303. "description": "省名称",
  35304. "type": "string"
  35305. },
  35306. "receivername": {
  35307. "description": "提货人姓名",
  35308. "type": "string"
  35309. },
  35310. "takeremark": {
  35311. "description": "提货备注",
  35312. "type": "string"
  35313. },
  35314. "userid": {
  35315. "description": "用户ID",
  35316. "type": "integer"
  35317. }
  35318. }
  35319. },
  35320. "models.Useraccount": {
  35321. "type": "object",
  35322. "required": [
  35323. "userid"
  35324. ],
  35325. "properties": {
  35326. "accountname": {
  35327. "description": "账户名称(机构名称)",
  35328. "type": "string"
  35329. },
  35330. "accountstatus": {
  35331. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  35332. "type": "integer"
  35333. },
  35334. "applysrc": {
  35335. "description": "申请来源 - 1:管理端 2:终端",
  35336. "type": "integer"
  35337. },
  35338. "auditremark": {
  35339. "description": "审核备注",
  35340. "type": "string"
  35341. },
  35342. "auditsrc": {
  35343. "description": "审核来源 - 1:管理端 2:终端",
  35344. "type": "integer"
  35345. },
  35346. "audittime": {
  35347. "description": "审核时间",
  35348. "type": "string"
  35349. },
  35350. "audituserid": {
  35351. "description": "审核人",
  35352. "type": "integer"
  35353. },
  35354. "broker": {
  35355. "description": "所属经纪人ID",
  35356. "type": "integer"
  35357. },
  35358. "canceltime": {
  35359. "description": "销户时间",
  35360. "type": "string"
  35361. },
  35362. "canceluserid": {
  35363. "description": "销户人",
  35364. "type": "integer"
  35365. },
  35366. "canrecommend": {
  35367. "description": "是否可推荐 - 0:不可 1;可",
  35368. "type": "integer"
  35369. },
  35370. "createtime": {
  35371. "description": "创建时间",
  35372. "type": "string"
  35373. },
  35374. "creatorid": {
  35375. "description": "创建人",
  35376. "type": "integer"
  35377. },
  35378. "hasauth": {
  35379. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  35380. "type": "integer"
  35381. },
  35382. "isanonymous": {
  35383. "description": "是否匿名下单 - 0:否 1:是",
  35384. "type": "integer"
  35385. },
  35386. "maxinvestornum": {
  35387. "description": "最大用户数(经纪会员下投资者个数)",
  35388. "type": "integer"
  35389. },
  35390. "memberuserid": {
  35391. "description": "所属会员ID",
  35392. "type": "integer"
  35393. },
  35394. "modifierid": {
  35395. "description": "修改人",
  35396. "type": "integer"
  35397. },
  35398. "modifyremark": {
  35399. "description": "变更备注",
  35400. "type": "string"
  35401. },
  35402. "modifystatus": {
  35403. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  35404. "type": "integer"
  35405. },
  35406. "modifytime": {
  35407. "description": "修改时间",
  35408. "type": "string"
  35409. },
  35410. "parenttopuser": {
  35411. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  35412. "type": "string"
  35413. },
  35414. "parentuserid": {
  35415. "description": "所属机构ID",
  35416. "type": "integer"
  35417. },
  35418. "reckonaccountid": {
  35419. "description": "默认结算资金账号ID(机构分润使用) 作废",
  35420. "type": "integer"
  35421. },
  35422. "refercount": {
  35423. "description": "推荐总人数",
  35424. "type": "integer"
  35425. },
  35426. "refereeuserid": {
  35427. "description": "推荐人ID",
  35428. "type": "integer"
  35429. },
  35430. "refernum": {
  35431. "description": "推荐码",
  35432. "type": "string"
  35433. },
  35434. "rootuserid": {
  35435. "description": "根用户ID",
  35436. "type": "integer"
  35437. },
  35438. "subaccountlevel": {
  35439. "description": "子账户层数",
  35440. "type": "integer"
  35441. },
  35442. "subarealevelpath": {
  35443. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  35444. "type": "string"
  35445. },
  35446. "userid": {
  35447. "description": "用户ID",
  35448. "type": "integer"
  35449. },
  35450. "usertype": {
  35451. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35452. "type": "integer"
  35453. }
  35454. }
  35455. },
  35456. "models.Userfavoritegoods": {
  35457. "type": "object",
  35458. "required": [
  35459. "goodsid"
  35460. ],
  35461. "properties": {
  35462. "goodsid": {
  35463. "description": "商品ID",
  35464. "type": "integer"
  35465. }
  35466. }
  35467. },
  35468. "models.Userinfo": {
  35469. "type": "object",
  35470. "required": [
  35471. "userid"
  35472. ],
  35473. "properties": {
  35474. "address": {
  35475. "description": "地址",
  35476. "type": "string"
  35477. },
  35478. "attachment1": {
  35479. "description": "附件1",
  35480. "type": "string"
  35481. },
  35482. "attachment2": {
  35483. "description": "附件2",
  35484. "type": "string"
  35485. },
  35486. "bankaccount": {
  35487. "description": "银行帐号 (加密存储)",
  35488. "type": "string"
  35489. },
  35490. "bankaccountname": {
  35491. "description": "收款人名称",
  35492. "type": "string"
  35493. },
  35494. "bankcardfrontphotourl": {
  35495. "description": "银行卡正面照地址",
  35496. "type": "string"
  35497. },
  35498. "bankid": {
  35499. "description": "银行编码",
  35500. "type": "string"
  35501. },
  35502. "bankname": {
  35503. "description": "银行名称",
  35504. "type": "string"
  35505. },
  35506. "biznature": {
  35507. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  35508. "type": "integer"
  35509. },
  35510. "bizscope": {
  35511. "description": "企业经营范围(企业)",
  35512. "type": "string"
  35513. },
  35514. "cardbackphotourl": {
  35515. "description": "证件背面图片地址",
  35516. "type": "string"
  35517. },
  35518. "cardfrontphotourl": {
  35519. "description": "证件正面图片地址",
  35520. "type": "string"
  35521. },
  35522. "cardnum": {
  35523. "description": "证件号码(加密存储)",
  35524. "type": "string"
  35525. },
  35526. "cardtypeid": {
  35527. "description": "证件类型ID",
  35528. "type": "integer"
  35529. },
  35530. "cityid": {
  35531. "description": "市",
  35532. "type": "integer"
  35533. },
  35534. "company": {
  35535. "description": "公司(个人)",
  35536. "type": "string"
  35537. },
  35538. "contactname": {
  35539. "description": "联系人",
  35540. "type": "string"
  35541. },
  35542. "countryid": {
  35543. "description": "国家",
  35544. "type": "integer"
  35545. },
  35546. "createtime": {
  35547. "description": "创建时间",
  35548. "type": "string"
  35549. },
  35550. "creatorid": {
  35551. "description": "创建人",
  35552. "type": "integer"
  35553. },
  35554. "customername": {
  35555. "description": "客户名称(企业名称)",
  35556. "type": "string"
  35557. },
  35558. "districtid": {
  35559. "description": "地区",
  35560. "type": "integer"
  35561. },
  35562. "email": {
  35563. "description": "邮件(加密存储)",
  35564. "type": "string"
  35565. },
  35566. "fax": {
  35567. "description": "传真(加密存储)",
  35568. "type": "string"
  35569. },
  35570. "halfbodyphotourl": {
  35571. "description": "半身照地址",
  35572. "type": "string"
  35573. },
  35574. "hasencrypt": {
  35575. "description": "数据是否已加密 - 0:未加密 1:已加密",
  35576. "type": "integer"
  35577. },
  35578. "headurl": {
  35579. "description": "头像地址",
  35580. "type": "string"
  35581. },
  35582. "legalcardbackphotourl": {
  35583. "description": "法人身份证背面照地址",
  35584. "type": "string"
  35585. },
  35586. "legalcardfrontphotourl": {
  35587. "description": "法人身份证正面照地址",
  35588. "type": "string"
  35589. },
  35590. "legalpersonname": {
  35591. "description": "法人姓名(企业)",
  35592. "type": "string"
  35593. },
  35594. "mobile": {
  35595. "description": "手机号码(加密存储)",
  35596. "type": "string"
  35597. },
  35598. "mobile2": {
  35599. "description": "手机号码[明文-尚志]",
  35600. "type": "string"
  35601. },
  35602. "modifierid": {
  35603. "description": "修改人",
  35604. "type": "integer"
  35605. },
  35606. "modifiertime": {
  35607. "description": "修改时间",
  35608. "type": "string"
  35609. },
  35610. "needinvoice": {
  35611. "description": "是否需要发票 - 0:不需要 1:需要",
  35612. "type": "integer"
  35613. },
  35614. "nickname": {
  35615. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  35616. "type": "string"
  35617. },
  35618. "openmode": {
  35619. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  35620. "type": "integer"
  35621. },
  35622. "otherurl": {
  35623. "description": "其它图片地址[使用分号分隔]",
  35624. "type": "string"
  35625. },
  35626. "postalcode": {
  35627. "description": "邮政编码",
  35628. "type": "string"
  35629. },
  35630. "provinceid": {
  35631. "description": "省",
  35632. "type": "integer"
  35633. },
  35634. "qq": {
  35635. "description": "QQ(加密存储",
  35636. "type": "string"
  35637. },
  35638. "remark": {
  35639. "description": "备注",
  35640. "type": "string"
  35641. },
  35642. "sex": {
  35643. "description": "用户性别 0: 女 1: 男",
  35644. "type": "integer"
  35645. },
  35646. "signpdfurl": {
  35647. "description": "签约pdf文件",
  35648. "type": "string"
  35649. },
  35650. "telphone": {
  35651. "description": "联系电话(加密存储)",
  35652. "type": "string"
  35653. },
  35654. "userid": {
  35655. "description": "用户ID",
  35656. "type": "integer"
  35657. },
  35658. "userinfotype": {
  35659. "description": "用户信息类型 - 1:个人 2:企业",
  35660. "type": "integer"
  35661. },
  35662. "userstatus": {
  35663. "description": "用户状态 - 1:正常 2:注销",
  35664. "type": "integer"
  35665. },
  35666. "usertype": {
  35667. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  35668. "type": "integer"
  35669. },
  35670. "wechat": {
  35671. "description": "微信(加密存储)",
  35672. "type": "string"
  35673. },
  35674. "wskhinfo": {
  35675. "description": "开户申请信息(JSON)",
  35676. "type": "string"
  35677. }
  35678. }
  35679. },
  35680. "models.WRSConverTDetail": {
  35681. "type": "object",
  35682. "properties": {
  35683. "convertratio": {
  35684. "description": "套保系数",
  35685. "type": "number"
  35686. },
  35687. "deliverygoodscode": {
  35688. "description": "现货商品代码",
  35689. "type": "string"
  35690. },
  35691. "deliverygoodsid": {
  35692. "description": "现货品种ID",
  35693. "type": "integer"
  35694. },
  35695. "deliverygoodsname": {
  35696. "description": "现货商品名称",
  35697. "type": "string"
  35698. },
  35699. "enumdicname": {
  35700. "description": "单位名称",
  35701. "type": "string"
  35702. },
  35703. "goodsunitid": {
  35704. "description": "套保品种单位id",
  35705. "type": "integer"
  35706. },
  35707. "middlegoodscode": {
  35708. "description": "套保品种代码",
  35709. "type": "string"
  35710. },
  35711. "middlegoodsid": {
  35712. "description": "套保品种ID",
  35713. "type": "integer"
  35714. },
  35715. "middlegoodsname": {
  35716. "description": "套保品种名称",
  35717. "type": "string"
  35718. },
  35719. "modifytime": {
  35720. "description": "修改时间",
  35721. "type": "string"
  35722. },
  35723. "wrstandardid": {
  35724. "description": "品类ID",
  35725. "type": "integer"
  35726. }
  35727. }
  35728. },
  35729. "models.WRStandardInfo": {
  35730. "type": "object",
  35731. "required": [
  35732. "wrstandardid"
  35733. ],
  35734. "properties": {
  35735. "areauserid": {
  35736. "description": "所属机构",
  35737. "type": "integer"
  35738. },
  35739. "convertfactor": {
  35740. "description": "标仓系数",
  35741. "type": "number"
  35742. },
  35743. "createtime": {
  35744. "description": "创建时间",
  35745. "type": "string"
  35746. },
  35747. "creatorid": {
  35748. "description": "创建人",
  35749. "type": "integer"
  35750. },
  35751. "deliverygoodsid": {
  35752. "description": "品种ID",
  35753. "type": "integer"
  35754. },
  35755. "deliverygoodsname": {
  35756. "description": "交割商品名称",
  35757. "type": "string"
  35758. },
  35759. "factoryitemjson": {
  35760. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  35761. "type": "string"
  35762. },
  35763. "isvalid": {
  35764. "description": "是否有效 - 0:无效 1:有效",
  35765. "type": "integer"
  35766. },
  35767. "minivalue": {
  35768. "description": "最小变动值",
  35769. "type": "integer"
  35770. },
  35771. "minivaluedp": {
  35772. "description": "最小变动值小数位",
  35773. "type": "integer"
  35774. },
  35775. "realminivalue": {
  35776. "description": "实际最小变动值",
  35777. "type": "integer"
  35778. },
  35779. "realminivaluedp": {
  35780. "description": "实际最小变动值小数位",
  35781. "type": "integer"
  35782. },
  35783. "remark": {
  35784. "description": "备注",
  35785. "type": "string"
  35786. },
  35787. "unitid": {
  35788. "description": "单位ID",
  35789. "type": "integer"
  35790. },
  35791. "unitname": {
  35792. "description": "单位",
  35793. "type": "string"
  35794. },
  35795. "updatetime": {
  35796. "description": "更新时间",
  35797. "type": "string"
  35798. },
  35799. "updatorid": {
  35800. "description": "更新人",
  35801. "type": "integer"
  35802. },
  35803. "wrsstatus": {
  35804. "description": "状态 - 作废 - 0:未激活 1:正常",
  35805. "type": "integer"
  35806. },
  35807. "wrstandardcode": {
  35808. "description": "现货品类代码",
  35809. "type": "string"
  35810. },
  35811. "wrstandardid": {
  35812. "description": "现货品类ID(SEQ_WRSTANDARD)",
  35813. "type": "integer"
  35814. },
  35815. "wrstandardname": {
  35816. "description": "现货品类名称",
  35817. "type": "string"
  35818. }
  35819. }
  35820. },
  35821. "models.WRTradeBargainApply": {
  35822. "type": "object",
  35823. "properties": {
  35824. "accountid": {
  35825. "description": "摘牌资金账号",
  35826. "type": "integer"
  35827. },
  35828. "applyprice": {
  35829. "description": "申请价格(议价价格)",
  35830. "type": "string"
  35831. },
  35832. "applyqty": {
  35833. "description": "摘牌数量(议价数量)",
  35834. "type": "number"
  35835. },
  35836. "applyremark": {
  35837. "description": "申请备注",
  35838. "type": "string"
  35839. },
  35840. "applystatus": {
  35841. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  35842. "type": "integer"
  35843. },
  35844. "applytime": {
  35845. "description": "申请时间(议价时间)",
  35846. "type": "string"
  35847. },
  35848. "begindate": {
  35849. "description": "开始交易日(yyyymmdd)",
  35850. "type": "string"
  35851. },
  35852. "buyorsell": {
  35853. "description": "买卖(挂牌类型) - 0:买 1:卖",
  35854. "type": "integer"
  35855. },
  35856. "confirmremark": {
  35857. "description": "确认备注",
  35858. "type": "string"
  35859. },
  35860. "confirmtime": {
  35861. "description": "确认时间",
  35862. "type": "string"
  35863. },
  35864. "confirmuserid": {
  35865. "description": "确认人",
  35866. "type": "integer"
  35867. },
  35868. "deliverygoodscode": {
  35869. "description": "品种代码",
  35870. "type": "string"
  35871. },
  35872. "deliverygoodsid": {
  35873. "description": "品种ID",
  35874. "type": "integer"
  35875. },
  35876. "deliverygoodsname": {
  35877. "description": "品种名称",
  35878. "type": "string"
  35879. },
  35880. "deliverymonth": {
  35881. "description": "交收月",
  35882. "type": "string"
  35883. },
  35884. "enddate": {
  35885. "description": "结束交易日(yyyymmdd)",
  35886. "type": "string"
  35887. },
  35888. "enumdicname": {
  35889. "description": "单位名称",
  35890. "type": "string"
  35891. },
  35892. "fixedprice": {
  35893. "description": "挂牌价格",
  35894. "type": "number"
  35895. },
  35896. "handlestatus": {
  35897. "description": "处理状态",
  35898. "type": "integer"
  35899. },
  35900. "marginvalue": {
  35901. "description": "履约保证金比例",
  35902. "type": "number"
  35903. },
  35904. "marketid": {
  35905. "description": "市场ID",
  35906. "type": "integer"
  35907. },
  35908. "matchaccountid": {
  35909. "description": "挂牌方资金账号",
  35910. "type": "integer"
  35911. },
  35912. "matchuserid": {
  35913. "description": "挂牌方用户id",
  35914. "type": "integer"
  35915. },
  35916. "matchusername": {
  35917. "description": "挂牌方用户名称(已脱敏)",
  35918. "type": "string"
  35919. },
  35920. "minivalue": {
  35921. "description": "现货商品最小变动值",
  35922. "type": "integer"
  35923. },
  35924. "optioncompare": {
  35925. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35926. "type": "string"
  35927. },
  35928. "orderqty": {
  35929. "description": "挂牌数量",
  35930. "type": "integer"
  35931. },
  35932. "refprice": {
  35933. "description": "参考价格",
  35934. "type": "string"
  35935. },
  35936. "retcode": {
  35937. "description": "委托返回代码",
  35938. "type": "integer"
  35939. },
  35940. "templatename": {
  35941. "description": "履约方式(履约模板名称)",
  35942. "type": "string"
  35943. },
  35944. "tradedate": {
  35945. "description": "交易日(yyyyMMdd)",
  35946. "type": "string"
  35947. },
  35948. "userid": {
  35949. "description": "摘牌人用户ID(议价人ID)",
  35950. "type": "integer"
  35951. },
  35952. "username": {
  35953. "description": "议价人名字(已脱敏)",
  35954. "type": "string"
  35955. },
  35956. "validtime": {
  35957. "description": "有效期限",
  35958. "type": "string"
  35959. },
  35960. "warehouseid": {
  35961. "description": "仓库ID",
  35962. "type": "integer"
  35963. },
  35964. "warehousename": {
  35965. "description": "仓库名称",
  35966. "type": "string"
  35967. },
  35968. "wrbargainid": {
  35969. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  35970. "type": "string"
  35971. },
  35972. "wrfactortypeid": {
  35973. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35974. "type": "string"
  35975. },
  35976. "wrfactortypename": {
  35977. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35978. "type": "string"
  35979. },
  35980. "wrstandardcode": {
  35981. "description": "现货商品代码",
  35982. "type": "string"
  35983. },
  35984. "wrstandardid": {
  35985. "description": "现货商品ID",
  35986. "type": "integer"
  35987. },
  35988. "wrstandardname": {
  35989. "description": "商品名称",
  35990. "type": "string"
  35991. },
  35992. "wrtradeorderid": {
  35993. "description": "关联委托单ID",
  35994. "type": "string"
  35995. },
  35996. "wrtypename": {
  35997. "description": "商品",
  35998. "type": "string"
  35999. }
  36000. }
  36001. },
  36002. "models.Warehouseinfo": {
  36003. "type": "object",
  36004. "required": [
  36005. "autoid",
  36006. "warehousecode"
  36007. ],
  36008. "properties": {
  36009. "address": {
  36010. "description": "详细地址",
  36011. "type": "string"
  36012. },
  36013. "areauserid": {
  36014. "description": "所属机构",
  36015. "type": "integer"
  36016. },
  36017. "autoid": {
  36018. "description": "自增ID",
  36019. "type": "integer"
  36020. },
  36021. "cityid": {
  36022. "description": "市",
  36023. "type": "integer"
  36024. },
  36025. "contactname": {
  36026. "description": "联系人",
  36027. "type": "string"
  36028. },
  36029. "contactnum": {
  36030. "description": "联系电话",
  36031. "type": "string"
  36032. },
  36033. "countryid": {
  36034. "description": "国家",
  36035. "type": "integer"
  36036. },
  36037. "createtime": {
  36038. "description": "创建时间",
  36039. "type": "string"
  36040. },
  36041. "districtid": {
  36042. "description": "区",
  36043. "type": "integer"
  36044. },
  36045. "hasvideo": {
  36046. "description": "是否有视频 - 0:无 1:有",
  36047. "type": "integer"
  36048. },
  36049. "provinceid": {
  36050. "description": "省",
  36051. "type": "integer"
  36052. },
  36053. "remark": {
  36054. "description": "审核备注",
  36055. "type": "string"
  36056. },
  36057. "videourl": {
  36058. "description": "视频地址",
  36059. "type": "string"
  36060. },
  36061. "warehousecode": {
  36062. "description": "仓库代码",
  36063. "type": "string"
  36064. },
  36065. "warehousename": {
  36066. "description": "仓库名称",
  36067. "type": "string"
  36068. },
  36069. "warehousestatus": {
  36070. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  36071. "type": "integer"
  36072. },
  36073. "warehousetype": {
  36074. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  36075. "type": "integer"
  36076. }
  36077. }
  36078. },
  36079. "models.WrAverageTradePrice": {
  36080. "type": "object",
  36081. "properties": {
  36082. "averageprice": {
  36083. "description": "成交均价",
  36084. "type": "number"
  36085. },
  36086. "tradedate": {
  36087. "description": "交易日yyyymm",
  36088. "type": "string"
  36089. }
  36090. }
  36091. },
  36092. "models.WrBrandAndYears": {
  36093. "type": "object",
  36094. "properties": {
  36095. "brandlst": {
  36096. "description": "品牌列表",
  36097. "type": "array",
  36098. "items": {
  36099. "$ref": "#/definitions/models.DgFactoryItem"
  36100. }
  36101. },
  36102. "yearslst": {
  36103. "description": "年份列表",
  36104. "type": "array",
  36105. "items": {
  36106. "$ref": "#/definitions/models.DgFactoryItem"
  36107. }
  36108. }
  36109. }
  36110. },
  36111. "models.WrBsGoodsInfo": {
  36112. "type": "object",
  36113. "properties": {
  36114. "buyorsell": {
  36115. "description": "买卖方向 0-买 1-卖",
  36116. "type": "integer"
  36117. },
  36118. "goodsid": {
  36119. "description": "交易合约ID",
  36120. "type": "integer"
  36121. },
  36122. "lstitem": {
  36123. "description": "商品信息项",
  36124. "type": "array",
  36125. "items": {
  36126. "$ref": "#/definitions/models.WrTypeItem"
  36127. }
  36128. },
  36129. "lststep": {
  36130. "description": "履约规则",
  36131. "type": "array",
  36132. "items": {
  36133. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36134. }
  36135. }
  36136. }
  36137. },
  36138. "models.WrBuybackDetail": {
  36139. "type": "object",
  36140. "properties": {
  36141. "buybackamount": {
  36142. "description": "回购金额",
  36143. "type": "number"
  36144. },
  36145. "buybackqty": {
  36146. "description": "回购数量",
  36147. "type": "number"
  36148. },
  36149. "buybackreleasemargin": {
  36150. "description": "回购释放保证金",
  36151. "type": "number"
  36152. },
  36153. "buybacktime": {
  36154. "description": "回购时间",
  36155. "type": "string"
  36156. },
  36157. "errordesc": {
  36158. "description": "错误描述",
  36159. "type": "string"
  36160. },
  36161. "handlestatus": {
  36162. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  36163. "type": "integer"
  36164. },
  36165. "relatedwrid": {
  36166. "description": "关联仓单ID",
  36167. "type": "integer"
  36168. },
  36169. "scfcontractid": {
  36170. "description": "SCF合同ID",
  36171. "type": "string"
  36172. },
  36173. "scfwrbuybackid": {
  36174. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  36175. "type": "integer"
  36176. },
  36177. "tradedate": {
  36178. "description": "交易日(yyyyMMdd)",
  36179. "type": "string"
  36180. }
  36181. }
  36182. },
  36183. "models.WrClientAdSpaceConfig": {
  36184. "type": "object",
  36185. "properties": {
  36186. "adspaceid": {
  36187. "description": "广告位ID",
  36188. "type": "integer"
  36189. },
  36190. "adspacename": {
  36191. "description": "广告位名称",
  36192. "type": "string"
  36193. },
  36194. "adspacetype": {
  36195. "description": "广告位类型 - 1:固定广告位",
  36196. "type": "integer"
  36197. },
  36198. "areauserid": {
  36199. "description": "所属机构ID",
  36200. "type": "integer"
  36201. },
  36202. "createdate": {
  36203. "description": "创建时间",
  36204. "type": "string"
  36205. },
  36206. "imagepath": {
  36207. "description": "图片",
  36208. "type": "string"
  36209. },
  36210. "modifierid": {
  36211. "description": "操作人",
  36212. "type": "integer"
  36213. },
  36214. "recsize": {
  36215. "description": "推荐尺寸",
  36216. "type": "string"
  36217. },
  36218. "title": {
  36219. "description": "标题",
  36220. "type": "string"
  36221. },
  36222. "updatedate": {
  36223. "description": "更新时间",
  36224. "type": "string"
  36225. },
  36226. "urlcontent": {
  36227. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  36228. "type": "string"
  36229. },
  36230. "urltype": {
  36231. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  36232. "type": "integer"
  36233. }
  36234. }
  36235. },
  36236. "models.WrDeliveryAvalidHoldLB": {
  36237. "type": "object",
  36238. "properties": {
  36239. "accountid": {
  36240. "description": "资金账号",
  36241. "type": "integer"
  36242. },
  36243. "avalidqty": {
  36244. "description": "数量(可点选数量)",
  36245. "type": "number"
  36246. },
  36247. "deliverygoodsid": {
  36248. "description": "品种id",
  36249. "type": "integer"
  36250. },
  36251. "enumdicname": {
  36252. "description": "单位名称",
  36253. "type": "string"
  36254. },
  36255. "goodsid": {
  36256. "description": "x合约商品id",
  36257. "type": "integer"
  36258. },
  36259. "ladingbillid": {
  36260. "description": "提单id",
  36261. "type": "string"
  36262. },
  36263. "pgoodscode": {
  36264. "description": "p商品代码(点价合约)",
  36265. "type": "string"
  36266. },
  36267. "pgoodsid": {
  36268. "description": "p商品id(点价合约)",
  36269. "type": "integer"
  36270. },
  36271. "pgoodsname": {
  36272. "description": "p商品名称(点价合约)",
  36273. "type": "string"
  36274. },
  36275. "pricemove": {
  36276. "description": "升贴水",
  36277. "type": "number"
  36278. },
  36279. "subnum": {
  36280. "description": "提单子id",
  36281. "type": "integer"
  36282. },
  36283. "userid": {
  36284. "description": "用户id",
  36285. "type": "integer"
  36286. },
  36287. "username": {
  36288. "description": "仓单持有人",
  36289. "type": "string"
  36290. },
  36291. "warehousecode": {
  36292. "description": "仓库代码",
  36293. "type": "string"
  36294. },
  36295. "warehouseid": {
  36296. "description": "仓库id",
  36297. "type": "integer"
  36298. },
  36299. "warehousename": {
  36300. "description": "仓库名称",
  36301. "type": "string"
  36302. },
  36303. "wrfactortypeid": {
  36304. "description": "仓单要素id",
  36305. "type": "string"
  36306. },
  36307. "wrstandardcode": {
  36308. "description": "品代码",
  36309. "type": "string"
  36310. },
  36311. "wrstandardid": {
  36312. "description": "品类d",
  36313. "type": "integer"
  36314. },
  36315. "wrstandardname": {
  36316. "description": "品类名称",
  36317. "type": "string"
  36318. },
  36319. "wrtypename": {
  36320. "description": "商品",
  36321. "type": "string"
  36322. },
  36323. "xgoodscode": {
  36324. "description": "x合约代码",
  36325. "type": "string"
  36326. },
  36327. "xgoodsname": {
  36328. "description": "x合约名称",
  36329. "type": "string"
  36330. }
  36331. }
  36332. },
  36333. "models.WrDeliveryDetail": {
  36334. "type": "object",
  36335. "properties": {
  36336. "accountid": {
  36337. "description": "账号ID",
  36338. "type": "integer"
  36339. },
  36340. "averageprice": {
  36341. "description": "交割均价 = 交割金额 / 交割数量",
  36342. "type": "number"
  36343. },
  36344. "begindate": {
  36345. "description": "开始交易日(yyyymmdd)",
  36346. "type": "string"
  36347. },
  36348. "buyorsell": {
  36349. "description": "方向 - 0:买 1:卖",
  36350. "type": "integer"
  36351. },
  36352. "deliveryamount": {
  36353. "description": "货款金额(X总货款+P总货款)",
  36354. "type": "number"
  36355. },
  36356. "deliveryid": {
  36357. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  36358. "type": "string"
  36359. },
  36360. "deliveryorderid": {
  36361. "description": "申报单号",
  36362. "type": "string"
  36363. },
  36364. "deliverypricemove": {
  36365. "description": "升贴水(升贴水总额)",
  36366. "type": "number"
  36367. },
  36368. "deliveryqty": {
  36369. "description": "交收数量(点选数量)",
  36370. "type": "number"
  36371. },
  36372. "deliverystatus": {
  36373. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  36374. "type": "integer"
  36375. },
  36376. "deliverytime": {
  36377. "description": "交割时间",
  36378. "type": "string"
  36379. },
  36380. "deliverytotalamount": {
  36381. "description": "交收金额",
  36382. "type": "number"
  36383. },
  36384. "enddate": {
  36385. "description": "结束交易日(yyyymmdd)",
  36386. "type": "string"
  36387. },
  36388. "enumdicname": {
  36389. "description": "单位名称",
  36390. "type": "string"
  36391. },
  36392. "matchaccountid": {
  36393. "description": "对手账号ID",
  36394. "type": "integer"
  36395. },
  36396. "matchusername": {
  36397. "description": "对手方名称(仓单持有人)",
  36398. "type": "string"
  36399. },
  36400. "p1goodsremainamount": {
  36401. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  36402. "type": "number"
  36403. },
  36404. "pdeliverycloseqty": {
  36405. "description": "p合约平仓数量",
  36406. "type": "number"
  36407. },
  36408. "pdeliveryprice": {
  36409. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  36410. "type": "number"
  36411. },
  36412. "pgoodscode": {
  36413. "description": "商品代码",
  36414. "type": "string"
  36415. },
  36416. "pgoodsid": {
  36417. "description": "p点选合约id",
  36418. "type": "integer"
  36419. },
  36420. "pgoodsname": {
  36421. "description": "商品名称",
  36422. "type": "string"
  36423. },
  36424. "ppricemode": {
  36425. "description": "点价价格方式 - 1:商品价 2:固定值",
  36426. "type": "integer"
  36427. },
  36428. "tradedate": {
  36429. "description": "交易日(yyyymmdd)",
  36430. "type": "string"
  36431. },
  36432. "userid": {
  36433. "description": "用户id",
  36434. "type": "integer"
  36435. },
  36436. "username": {
  36437. "description": "用户名称",
  36438. "type": "string"
  36439. },
  36440. "warehousename": {
  36441. "description": "仓库名称",
  36442. "type": "string"
  36443. },
  36444. "wrfactortypeid": {
  36445. "description": "仓单要素类型ID",
  36446. "type": "string"
  36447. },
  36448. "wrtypename": {
  36449. "description": "商品",
  36450. "type": "string"
  36451. },
  36452. "xdeliverycloseqty": {
  36453. "description": "合约数量",
  36454. "type": "number"
  36455. },
  36456. "xgoodsamount": {
  36457. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  36458. "type": "number"
  36459. },
  36460. "xgoodscode": {
  36461. "description": "商品代码",
  36462. "type": "string"
  36463. },
  36464. "xgoodsid": {
  36465. "description": "x交易合约ID",
  36466. "type": "integer"
  36467. },
  36468. "xgoodsname": {
  36469. "description": "商品名称",
  36470. "type": "string"
  36471. }
  36472. }
  36473. },
  36474. "models.WrDeliveryGoodsSection": {
  36475. "type": "object",
  36476. "properties": {
  36477. "dglst": {
  36478. "description": "板块商品列表",
  36479. "type": "array",
  36480. "items": {
  36481. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  36482. }
  36483. },
  36484. "imagepath": {
  36485. "description": "图片地址",
  36486. "type": "string"
  36487. },
  36488. "orderindex": {
  36489. "description": "排序",
  36490. "type": "integer"
  36491. },
  36492. "sectionid": {
  36493. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  36494. "type": "integer"
  36495. },
  36496. "sectionname": {
  36497. "description": "版块名称",
  36498. "type": "string"
  36499. },
  36500. "sectiontype": {
  36501. "description": "版块类型 - 1:指数版块 2:普通版块",
  36502. "type": "integer"
  36503. }
  36504. }
  36505. },
  36506. "models.WrDeliveryGoodsSectionConfig": {
  36507. "type": "object",
  36508. "properties": {
  36509. "deliverygoodscode": {
  36510. "description": "现货商品代码",
  36511. "type": "string"
  36512. },
  36513. "deliverygoodsid": {
  36514. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36515. "type": "integer"
  36516. },
  36517. "deliverygoodsname": {
  36518. "description": "现货商品名称",
  36519. "type": "string"
  36520. },
  36521. "orderindex": {
  36522. "description": "排序",
  36523. "type": "integer"
  36524. }
  36525. }
  36526. },
  36527. "models.WrDraftUserInfo": {
  36528. "type": "object",
  36529. "properties": {
  36530. "address": {
  36531. "description": "地址",
  36532. "type": "string"
  36533. },
  36534. "attachment1": {
  36535. "description": "附件1",
  36536. "type": "string"
  36537. },
  36538. "attachment2": {
  36539. "description": "附件2",
  36540. "type": "string"
  36541. },
  36542. "attachment3": {
  36543. "description": "附件3",
  36544. "type": "string"
  36545. },
  36546. "attachment4": {
  36547. "description": "附件4",
  36548. "type": "string"
  36549. },
  36550. "attachment5": {
  36551. "description": "附件5",
  36552. "type": "string"
  36553. },
  36554. "bankaccount": {
  36555. "description": "银行帐号 (加密存储)",
  36556. "type": "string"
  36557. },
  36558. "bankaccountname": {
  36559. "description": "收款人名称",
  36560. "type": "string"
  36561. },
  36562. "bankcardfrontphotourl": {
  36563. "description": "银行卡正面照地址",
  36564. "type": "string"
  36565. },
  36566. "bankid": {
  36567. "description": "银行编码",
  36568. "type": "string"
  36569. },
  36570. "bankname": {
  36571. "description": "银行名称",
  36572. "type": "string"
  36573. },
  36574. "birthday": {
  36575. "description": "生日(个人:年月日)",
  36576. "type": "string"
  36577. },
  36578. "biznature": {
  36579. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  36580. "type": "integer"
  36581. },
  36582. "bizscope": {
  36583. "description": "企业经营范围(企业)",
  36584. "type": "string"
  36585. },
  36586. "biztype": {
  36587. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  36588. "type": "integer"
  36589. },
  36590. "cardbackphotourl": {
  36591. "description": "证件背面图片地址",
  36592. "type": "string"
  36593. },
  36594. "cardfrontphotourl": {
  36595. "description": "证件正面图片地址",
  36596. "type": "string"
  36597. },
  36598. "cardnum": {
  36599. "description": "证件号码(加密存储)",
  36600. "type": "string"
  36601. },
  36602. "cardtypeid": {
  36603. "description": "证件类型ID",
  36604. "type": "integer"
  36605. },
  36606. "cityid": {
  36607. "description": "市",
  36608. "type": "integer"
  36609. },
  36610. "company": {
  36611. "description": "公司(个人)",
  36612. "type": "string"
  36613. },
  36614. "contactcardbackphotourl": {
  36615. "description": "联系人证件背面图片地址",
  36616. "type": "string"
  36617. },
  36618. "contactcardfrontphotourl": {
  36619. "description": "联系人证件正面图片地址",
  36620. "type": "string"
  36621. },
  36622. "contactname": {
  36623. "description": "联系人",
  36624. "type": "string"
  36625. },
  36626. "countryid": {
  36627. "description": "国家",
  36628. "type": "integer"
  36629. },
  36630. "createtime": {
  36631. "description": "创建时间",
  36632. "type": "string"
  36633. },
  36634. "creatorid": {
  36635. "description": "创建人",
  36636. "type": "integer"
  36637. },
  36638. "creditquota": {
  36639. "description": "授信额度(金瑞)",
  36640. "type": "number"
  36641. },
  36642. "customername": {
  36643. "description": "客户名称(企业名称)",
  36644. "type": "string"
  36645. },
  36646. "districtid": {
  36647. "description": "地区",
  36648. "type": "integer"
  36649. },
  36650. "email": {
  36651. "description": "邮件(加密存储)",
  36652. "type": "string"
  36653. },
  36654. "fax": {
  36655. "description": "传真(加密存储)",
  36656. "type": "string"
  36657. },
  36658. "halfbodyphotourl": {
  36659. "description": "半身照地址",
  36660. "type": "string"
  36661. },
  36662. "hasencrypt": {
  36663. "description": "数据是否已加密 - 0:未加密 1:已加密",
  36664. "type": "integer"
  36665. },
  36666. "headurl": {
  36667. "description": "头像地址",
  36668. "type": "string"
  36669. },
  36670. "legalcardbackphotourl": {
  36671. "description": "法人身份证背面照地址",
  36672. "type": "string"
  36673. },
  36674. "legalcardfrontphotourl": {
  36675. "description": "法人身份证正面照地址",
  36676. "type": "string"
  36677. },
  36678. "legalpersonname": {
  36679. "description": "法人姓名(企业)",
  36680. "type": "string"
  36681. },
  36682. "mobile": {
  36683. "description": "手机号码(加密存储)",
  36684. "type": "string"
  36685. },
  36686. "mobile2": {
  36687. "description": "手机号码[明文-尚志]",
  36688. "type": "string"
  36689. },
  36690. "modifierid": {
  36691. "description": "修改人",
  36692. "type": "integer"
  36693. },
  36694. "modifiertime": {
  36695. "description": "修改时间",
  36696. "type": "string"
  36697. },
  36698. "needinvoice": {
  36699. "description": "是否需要发票 - 0:不需要 1:需要",
  36700. "type": "integer"
  36701. },
  36702. "nickname": {
  36703. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  36704. "type": "string"
  36705. },
  36706. "openmode": {
  36707. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  36708. "type": "integer"
  36709. },
  36710. "otherurl": {
  36711. "description": "其它图片地址[使用分号分隔]",
  36712. "type": "string"
  36713. },
  36714. "postalcode": {
  36715. "description": "邮政编码",
  36716. "type": "string"
  36717. },
  36718. "provinceid": {
  36719. "description": "省",
  36720. "type": "integer"
  36721. },
  36722. "proxystatementurl": {
  36723. "description": "授权委托书",
  36724. "type": "string"
  36725. },
  36726. "qq": {
  36727. "description": "QQ(加密存储",
  36728. "type": "string"
  36729. },
  36730. "remark": {
  36731. "description": "备注",
  36732. "type": "string"
  36733. },
  36734. "sex": {
  36735. "description": "用户性别 0: 女 1: 男",
  36736. "type": "integer"
  36737. },
  36738. "signpdfurl": {
  36739. "description": "签约pdf文件",
  36740. "type": "string"
  36741. },
  36742. "taxpayernum": {
  36743. "description": "纳税人识别号",
  36744. "type": "string"
  36745. },
  36746. "telphone": {
  36747. "description": "联系电话(加密存储)",
  36748. "type": "string"
  36749. },
  36750. "userid": {
  36751. "description": "用户ID",
  36752. "type": "integer"
  36753. },
  36754. "userinfotype": {
  36755. "description": "用户信息类型 - 1:个人 2:企业",
  36756. "type": "integer"
  36757. },
  36758. "userstatus": {
  36759. "description": "用户状态 - 1:正常 2:注销",
  36760. "type": "integer"
  36761. },
  36762. "usertype": {
  36763. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  36764. "type": "integer"
  36765. },
  36766. "wechat": {
  36767. "description": "微信(加密存储)",
  36768. "type": "string"
  36769. },
  36770. "wskhinfo": {
  36771. "description": "开户申请信息(JSON)",
  36772. "type": "string"
  36773. }
  36774. }
  36775. },
  36776. "models.WrFAProductDetail": {
  36777. "type": "object",
  36778. "properties": {
  36779. "accountid": {
  36780. "description": "资金账号",
  36781. "type": "integer"
  36782. },
  36783. "areauserid": {
  36784. "description": "金融机构ID",
  36785. "type": "integer"
  36786. },
  36787. "financingdays": {
  36788. "description": "天数(天)",
  36789. "type": "integer"
  36790. },
  36791. "interestminlen": {
  36792. "description": "最小起息天数",
  36793. "type": "integer"
  36794. },
  36795. "interestrate": {
  36796. "description": "利率",
  36797. "type": "number"
  36798. },
  36799. "interestratemode": {
  36800. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36801. "type": "integer"
  36802. },
  36803. "interestsettlemode": {
  36804. "description": "结息方式 - 1:按日结息 3:按月结息",
  36805. "type": "integer"
  36806. },
  36807. "interestsettlevalue": {
  36808. "description": "结息方式值",
  36809. "type": "integer"
  36810. },
  36811. "isautoloan": {
  36812. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  36813. "type": "integer"
  36814. },
  36815. "loantag": {
  36816. "description": "放款标识: \"放款快\" 或者为空",
  36817. "type": "string"
  36818. },
  36819. "marginratio": {
  36820. "description": "保证金比率质押率 - [仓单质押]",
  36821. "type": "number"
  36822. },
  36823. "productdetailid": {
  36824. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  36825. "type": "integer"
  36826. },
  36827. "productid": {
  36828. "description": "金融产品ID",
  36829. "type": "integer"
  36830. },
  36831. "productname": {
  36832. "description": "产品名称",
  36833. "type": "string"
  36834. },
  36835. "updatetime": {
  36836. "description": "更新时间",
  36837. "type": "string"
  36838. },
  36839. "username": {
  36840. "description": "融出方",
  36841. "type": "string"
  36842. }
  36843. }
  36844. },
  36845. "models.WrFactorTypeInfo": {
  36846. "type": "object",
  36847. "properties": {
  36848. "deliverygoodscode": {
  36849. "description": "品种代码",
  36850. "type": "string"
  36851. },
  36852. "deliverygoodsname": {
  36853. "description": "品种名称",
  36854. "type": "string"
  36855. },
  36856. "dgfactoryitemid": {
  36857. "description": "选择项id",
  36858. "type": "integer"
  36859. },
  36860. "dgfactoryitemtypeid": {
  36861. "description": "要素选择项ID (1-仓库 2-品牌)",
  36862. "type": "integer"
  36863. },
  36864. "dgfactoryitemvalue": {
  36865. "description": "要素项值",
  36866. "type": "string"
  36867. },
  36868. "itemtypename": {
  36869. "description": "要素项名称",
  36870. "type": "string"
  36871. },
  36872. "optioncompare": {
  36873. "description": "选择比较串",
  36874. "type": "string"
  36875. },
  36876. "warehouseid": {
  36877. "description": "仓库id",
  36878. "type": "integer"
  36879. },
  36880. "wrfactortypeid": {
  36881. "description": "仓单要素ID",
  36882. "type": "string"
  36883. },
  36884. "wrfactortypename": {
  36885. "description": "要素名称",
  36886. "type": "string"
  36887. },
  36888. "wrfactortypename2": {
  36889. "description": "要素名称(不含仓库)",
  36890. "type": "string"
  36891. },
  36892. "wrstandardcode": {
  36893. "description": "品类代码",
  36894. "type": "string"
  36895. },
  36896. "wrstandardid": {
  36897. "description": "品类id",
  36898. "type": "integer"
  36899. },
  36900. "wrstandardname": {
  36901. "description": "品类名称",
  36902. "type": "string"
  36903. }
  36904. }
  36905. },
  36906. "models.WrFilterItem": {
  36907. "type": "object",
  36908. "properties": {
  36909. "itemcode": {
  36910. "description": "代码",
  36911. "type": "string"
  36912. },
  36913. "itemid": {
  36914. "description": "项id",
  36915. "type": "integer"
  36916. },
  36917. "itemname": {
  36918. "description": "名称",
  36919. "type": "string"
  36920. },
  36921. "itemtype": {
  36922. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  36923. "type": "integer"
  36924. }
  36925. }
  36926. },
  36927. "models.WrFinanceBuyApply": {
  36928. "type": "object",
  36929. "properties": {
  36930. "applydate": {
  36931. "description": "申请时间",
  36932. "type": "string"
  36933. },
  36934. "applystatus": {
  36935. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  36936. "type": "integer"
  36937. },
  36938. "applyuserid": {
  36939. "description": "申请人",
  36940. "type": "integer"
  36941. },
  36942. "auditdate": {
  36943. "description": "审核时间",
  36944. "type": "string"
  36945. },
  36946. "auditremark": {
  36947. "description": "审核备注",
  36948. "type": "string"
  36949. },
  36950. "audituserid": {
  36951. "description": "审核人",
  36952. "type": "integer"
  36953. },
  36954. "buyaccountid": {
  36955. "description": "买方资金账号",
  36956. "type": "integer"
  36957. },
  36958. "buyorsell": {
  36959. "description": "买卖 - 0:买 1:卖",
  36960. "type": "integer"
  36961. },
  36962. "buyuserid": {
  36963. "description": "买方用户ID",
  36964. "type": "integer"
  36965. },
  36966. "buyusername": {
  36967. "description": "买方名称",
  36968. "type": "string"
  36969. },
  36970. "buywrtradeorderid": {
  36971. "description": "融资方买委托单ID",
  36972. "type": "string"
  36973. },
  36974. "deliverygoodscode": {
  36975. "description": "品种代码",
  36976. "type": "string"
  36977. },
  36978. "deliverygoodsid": {
  36979. "description": "品种ID",
  36980. "type": "integer"
  36981. },
  36982. "deliverygoodsname": {
  36983. "description": "品种名称",
  36984. "type": "string"
  36985. },
  36986. "deliverymonth": {
  36987. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  36988. "type": "string"
  36989. },
  36990. "enumdicname": {
  36991. "description": "单位名称",
  36992. "type": "string"
  36993. },
  36994. "financeaccountid": {
  36995. "description": "融资方资金帐户ID",
  36996. "type": "integer"
  36997. },
  36998. "financeapplyid": {
  36999. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37000. "type": "string"
  37001. },
  37002. "financeareauserid": {
  37003. "description": "融资方用户ID",
  37004. "type": "string"
  37005. },
  37006. "financename": {
  37007. "description": "融出方名称",
  37008. "type": "string"
  37009. },
  37010. "financetype": {
  37011. "description": "融资类型 1-融资回购",
  37012. "type": "integer"
  37013. },
  37014. "financingdays": {
  37015. "description": "天数(天)",
  37016. "type": "integer"
  37017. },
  37018. "freezebuymargin": {
  37019. "description": "冻结融资保证金(买方)",
  37020. "type": "number"
  37021. },
  37022. "handleremark": {
  37023. "description": "处理备注",
  37024. "type": "string"
  37025. },
  37026. "handlestatus": {
  37027. "description": "处理状态",
  37028. "type": "integer"
  37029. },
  37030. "interestminlen": {
  37031. "description": "最小起息天数",
  37032. "type": "integer"
  37033. },
  37034. "interestrate": {
  37035. "description": "利率",
  37036. "type": "number"
  37037. },
  37038. "interestratemode": {
  37039. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  37040. "type": "integer"
  37041. },
  37042. "interestsettlemode": {
  37043. "description": "结息方式 - 1:按日结息 3:按月结息",
  37044. "type": "integer"
  37045. },
  37046. "interestsettlevalue": {
  37047. "description": "结息方式值",
  37048. "type": "integer"
  37049. },
  37050. "isautoloan": {
  37051. "description": "是否自动放款 - 0:手动 1:自动",
  37052. "type": "integer"
  37053. },
  37054. "marginratio": {
  37055. "description": "保证金比率质押率 - [仓单质押]",
  37056. "type": "number"
  37057. },
  37058. "marketid": {
  37059. "description": "市场ID",
  37060. "type": "integer"
  37061. },
  37062. "minivalue": {
  37063. "description": "现货商品最小变动值",
  37064. "type": "integer"
  37065. },
  37066. "optioncompare": {
  37067. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37068. "type": "string"
  37069. },
  37070. "orderqty": {
  37071. "description": "委托数量(商品数量)",
  37072. "type": "number"
  37073. },
  37074. "productdetailid": {
  37075. "description": "产品组合ID",
  37076. "type": "integer"
  37077. },
  37078. "productid": {
  37079. "description": "金融产品ID",
  37080. "type": "integer"
  37081. },
  37082. "productname": {
  37083. "description": "产品名称",
  37084. "type": "string"
  37085. },
  37086. "remark": {
  37087. "description": "备注",
  37088. "type": "string"
  37089. },
  37090. "scfcontractid": {
  37091. "description": "仓单回购合同ID",
  37092. "type": "string"
  37093. },
  37094. "sellaccountid": {
  37095. "description": "卖方资金账号",
  37096. "type": "integer"
  37097. },
  37098. "selluserid": {
  37099. "description": "卖方用户ID",
  37100. "type": "integer"
  37101. },
  37102. "sellwrtradeorderid": {
  37103. "description": "卖方委托单ID",
  37104. "type": "string"
  37105. },
  37106. "tradeamount": {
  37107. "description": "成交金额(借款金额)",
  37108. "type": "number"
  37109. },
  37110. "tradedate": {
  37111. "description": "交易日(yyyyMMdd)",
  37112. "type": "string"
  37113. },
  37114. "tradeprice": {
  37115. "description": "成交价格",
  37116. "type": "number"
  37117. },
  37118. "warehouseid": {
  37119. "description": "仓库ID",
  37120. "type": "integer"
  37121. },
  37122. "warehousename": {
  37123. "description": "仓库名称",
  37124. "type": "string"
  37125. },
  37126. "wrfactortypeid": {
  37127. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37128. "type": "string"
  37129. },
  37130. "wrfactortypename": {
  37131. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37132. "type": "string"
  37133. },
  37134. "wrpricetype": {
  37135. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  37136. "type": "integer"
  37137. },
  37138. "wrstandardcode": {
  37139. "description": "现货商品代码",
  37140. "type": "string"
  37141. },
  37142. "wrstandardid": {
  37143. "description": "现货商品ID",
  37144. "type": "integer"
  37145. },
  37146. "wrstandardname": {
  37147. "description": "商品名称",
  37148. "type": "string"
  37149. },
  37150. "wrtypename": {
  37151. "description": "商品",
  37152. "type": "string"
  37153. }
  37154. }
  37155. },
  37156. "models.WrFriendApply": {
  37157. "type": "object",
  37158. "properties": {
  37159. "applicantid": {
  37160. "description": "申请人",
  37161. "type": "integer"
  37162. },
  37163. "applyname": {
  37164. "description": "申请人名称",
  37165. "type": "string"
  37166. },
  37167. "applysrc": {
  37168. "description": "申请来源 - 1:管理端 2:终端",
  37169. "type": "integer"
  37170. },
  37171. "applystatus": {
  37172. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  37173. "type": "integer"
  37174. },
  37175. "applytime": {
  37176. "description": "申请时间",
  37177. "type": "string"
  37178. },
  37179. "auditname": {
  37180. "description": "审核人名称",
  37181. "type": "string"
  37182. },
  37183. "auditorid": {
  37184. "description": "审核人",
  37185. "type": "integer"
  37186. },
  37187. "auditremark": {
  37188. "description": "审核备注",
  37189. "type": "string"
  37190. },
  37191. "auditsrc": {
  37192. "description": "审核来源 - 1:管理端 2:终端",
  37193. "type": "integer"
  37194. },
  37195. "audittime": {
  37196. "description": "审核时间",
  37197. "type": "string"
  37198. },
  37199. "friendapplyid": {
  37200. "description": "申请ID(SEQ_FRIENDAPPLY)",
  37201. "type": "string"
  37202. },
  37203. "friendname": {
  37204. "description": "好友名字(已脱敏)",
  37205. "type": "string"
  37206. },
  37207. "frienduserid": {
  37208. "description": "好友用户ID",
  37209. "type": "string"
  37210. },
  37211. "remark": {
  37212. "description": "备注",
  37213. "type": "string"
  37214. },
  37215. "userid": {
  37216. "description": "申请人用户ID",
  37217. "type": "integer"
  37218. }
  37219. }
  37220. },
  37221. "models.WrFtDeliveryGoods": {
  37222. "type": "object",
  37223. "properties": {
  37224. "deliverygoodscode": {
  37225. "description": "品种代码",
  37226. "type": "string"
  37227. },
  37228. "deliverygoodsid": {
  37229. "description": "品种ID",
  37230. "type": "integer"
  37231. },
  37232. "deliverygoodsname": {
  37233. "description": "品种名称",
  37234. "type": "string"
  37235. },
  37236. "wdlst": {
  37237. "description": "商品列表",
  37238. "type": "array",
  37239. "items": {
  37240. "$ref": "#/definitions/models.WrFtWrstandard"
  37241. }
  37242. }
  37243. }
  37244. },
  37245. "models.WrFtWrstandard": {
  37246. "type": "object",
  37247. "properties": {
  37248. "enumdicname": {
  37249. "description": "单位名称",
  37250. "type": "string"
  37251. },
  37252. "minivalue": {
  37253. "description": "最小变动值",
  37254. "type": "integer"
  37255. },
  37256. "wrstandardcode": {
  37257. "description": "现货商品代码",
  37258. "type": "string"
  37259. },
  37260. "wrstandardid": {
  37261. "description": "现货商品ID",
  37262. "type": "integer"
  37263. },
  37264. "wrstandardname": {
  37265. "description": "商品名称",
  37266. "type": "string"
  37267. }
  37268. }
  37269. },
  37270. "models.WrGoodsInfo": {
  37271. "type": "object",
  37272. "properties": {
  37273. "haswr": {
  37274. "description": "0:仓单预售 1:仓单贸易",
  37275. "type": "integer"
  37276. },
  37277. "lstitem": {
  37278. "description": "商品信息项",
  37279. "type": "array",
  37280. "items": {
  37281. "$ref": "#/definitions/models.WrTypeItem"
  37282. }
  37283. },
  37284. "lststep": {
  37285. "description": "履约规则",
  37286. "type": "array",
  37287. "items": {
  37288. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37289. }
  37290. },
  37291. "marketid": {
  37292. "description": "市场id",
  37293. "type": "integer"
  37294. }
  37295. }
  37296. },
  37297. "models.WrGoodsPerformanceStep": {
  37298. "type": "object",
  37299. "properties": {
  37300. "autoid": {
  37301. "description": "AutoID",
  37302. "type": "integer"
  37303. },
  37304. "isauto": {
  37305. "description": "是否自动 - 0:不自动 1:自动",
  37306. "type": "integer"
  37307. },
  37308. "remark": {
  37309. "description": "备注",
  37310. "type": "string"
  37311. },
  37312. "stepdate": {
  37313. "description": "天数信息(T+N)",
  37314. "type": "string"
  37315. },
  37316. "stepdays": {
  37317. "description": "距离上一步天数",
  37318. "type": "integer"
  37319. },
  37320. "stepindex": {
  37321. "description": "步骤序号",
  37322. "type": "integer"
  37323. },
  37324. "stepinfo": {
  37325. "description": "步骤信息(步骤名称+步骤值)",
  37326. "type": "string"
  37327. },
  37328. "steptypeid": {
  37329. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  37330. "type": "integer"
  37331. },
  37332. "steptypename": {
  37333. "description": "步骤名称",
  37334. "type": "string"
  37335. },
  37336. "stepvalue": {
  37337. "description": "步骤值",
  37338. "type": "number"
  37339. },
  37340. "templateid": {
  37341. "description": "履约计划模板ID",
  37342. "type": "integer"
  37343. }
  37344. }
  37345. },
  37346. "models.WrHoldLB": {
  37347. "type": "object",
  37348. "properties": {
  37349. "accountid": {
  37350. "description": "持有人帐户ID",
  37351. "type": "integer"
  37352. },
  37353. "bannerpicurl": {
  37354. "description": "Banner图",
  37355. "type": "string"
  37356. },
  37357. "createtime": {
  37358. "description": "创建时间(过户时间)",
  37359. "type": "string"
  37360. },
  37361. "deliverygoodscode": {
  37362. "description": "品种代码",
  37363. "type": "string"
  37364. },
  37365. "deliverygoodsid": {
  37366. "description": "品种ID",
  37367. "type": "integer"
  37368. },
  37369. "deliverygoodsname": {
  37370. "description": "品种名称",
  37371. "type": "string"
  37372. },
  37373. "enableqty": {
  37374. "description": "可用数量",
  37375. "type": "number"
  37376. },
  37377. "enumdicname": {
  37378. "description": "单位名称",
  37379. "type": "string"
  37380. },
  37381. "freezerqty": {
  37382. "description": "冻结数量",
  37383. "type": "number"
  37384. },
  37385. "ladingbillid": {
  37386. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  37387. "type": "string"
  37388. },
  37389. "minivalue": {
  37390. "description": "现货商品最小变动值",
  37391. "type": "integer"
  37392. },
  37393. "optioncompare": {
  37394. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37395. "type": "string"
  37396. },
  37397. "parentsubnum": {
  37398. "description": "拆分父子单号",
  37399. "type": "integer"
  37400. },
  37401. "pledgeqty": {
  37402. "description": "质押数量",
  37403. "type": "number"
  37404. },
  37405. "qty": {
  37406. "description": "数量",
  37407. "type": "number"
  37408. },
  37409. "subnum": {
  37410. "description": "提单子单号",
  37411. "type": "integer"
  37412. },
  37413. "thumurls": {
  37414. "description": "缩略图",
  37415. "type": "string"
  37416. },
  37417. "tradedate": {
  37418. "description": "交易日(yyyyMMdd)",
  37419. "type": "string"
  37420. },
  37421. "userid": {
  37422. "description": "持有人ID",
  37423. "type": "integer"
  37424. },
  37425. "warehouseid": {
  37426. "description": "仓库ID",
  37427. "type": "integer"
  37428. },
  37429. "warehousename": {
  37430. "description": "仓库名称",
  37431. "type": "string"
  37432. },
  37433. "wrfactortypeid": {
  37434. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37435. "type": "string"
  37436. },
  37437. "wrfactortypename": {
  37438. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37439. "type": "string"
  37440. },
  37441. "wrholdeno": {
  37442. "description": "仓单编号",
  37443. "type": "string"
  37444. },
  37445. "wrid": {
  37446. "description": "仓单变更ID",
  37447. "type": "string"
  37448. },
  37449. "wrstandardcode": {
  37450. "description": "现货商品代码",
  37451. "type": "string"
  37452. },
  37453. "wrstandardid": {
  37454. "description": "现货商品ID",
  37455. "type": "integer"
  37456. },
  37457. "wrstandardname": {
  37458. "description": "商品名称",
  37459. "type": "string"
  37460. },
  37461. "wrtypename": {
  37462. "description": "商品",
  37463. "type": "string"
  37464. }
  37465. }
  37466. },
  37467. "models.WrMarketTradeConfig": {
  37468. "type": "object",
  37469. "properties": {
  37470. "basisdownratio": {
  37471. "description": "浮动价基差下限比例(仓单贸易)",
  37472. "type": "number"
  37473. },
  37474. "basisupratio": {
  37475. "description": "浮动价基差上限比例(仓单贸易)",
  37476. "type": "number"
  37477. },
  37478. "buychargealgorithm": {
  37479. "description": "买方手续费收取方式 1:比率 2:固定",
  37480. "type": "integer"
  37481. },
  37482. "buychargealgorithm2": {
  37483. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  37484. "type": "integer"
  37485. },
  37486. "buychargealgorithmvalue": {
  37487. "description": "买方手续费设置值(交易所部分)",
  37488. "type": "number"
  37489. },
  37490. "buychargealgorithmvalue2": {
  37491. "description": "买方手续费设置值(会员部分)",
  37492. "type": "number"
  37493. },
  37494. "buychargealgorithmvalue3": {
  37495. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  37496. "type": "number"
  37497. },
  37498. "buychargealgorithmvalue4": {
  37499. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  37500. "type": "number"
  37501. },
  37502. "buyfirstmarginalgorithm": {
  37503. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  37504. "type": "integer"
  37505. },
  37506. "buyfirstmarginvalue": {
  37507. "description": "买方出价保证金设置值 - [竞拍]",
  37508. "type": "number"
  37509. },
  37510. "buymarginalgorithm": {
  37511. "description": "买方保证金方式 - 1:比率 2:固定",
  37512. "type": "integer"
  37513. },
  37514. "buymarginvalue": {
  37515. "description": "买方保证金设置值",
  37516. "type": "number"
  37517. },
  37518. "buyreleaseratio": {
  37519. "description": "买方释放比率[2:分步履约]",
  37520. "type": "number"
  37521. },
  37522. "executemode": {
  37523. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  37524. "type": "integer"
  37525. },
  37526. "executeside": {
  37527. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  37528. "type": "integer"
  37529. },
  37530. "failedchargealgorithm": {
  37531. "description": "流拍手续费收取方式 1:比率 2:固定",
  37532. "type": "integer"
  37533. },
  37534. "failedchargevalue": {
  37535. "description": "流拍手续费设置值",
  37536. "type": "number"
  37537. },
  37538. "failedchargevalue2": {
  37539. "description": "流拍卖方手续费设置值",
  37540. "type": "number"
  37541. },
  37542. "holddays": {
  37543. "description": "合同期限[2:分步履约]",
  37544. "type": "integer"
  37545. },
  37546. "listingmode": {
  37547. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37548. "type": "integer"
  37549. },
  37550. "marketid": {
  37551. "description": "市场ID-仓单贸易、竞拍、预售",
  37552. "type": "integer"
  37553. },
  37554. "minqty": {
  37555. "description": "最小执行量[2:分步履约]",
  37556. "type": "number"
  37557. },
  37558. "modifierid": {
  37559. "description": "修改人",
  37560. "type": "integer"
  37561. },
  37562. "nowrquotaflag": {
  37563. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  37564. "type": "integer"
  37565. },
  37566. "performancetempid": {
  37567. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  37568. "type": "integer"
  37569. },
  37570. "performancetempid2": {
  37571. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  37572. "type": "integer"
  37573. },
  37574. "performancetempid2s": {
  37575. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  37576. "type": "string"
  37577. },
  37578. "performancetempids": {
  37579. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  37580. "type": "string"
  37581. },
  37582. "performanceway": {
  37583. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  37584. "type": "integer"
  37585. },
  37586. "sellchargealgorithm": {
  37587. "description": "卖方手续费收取方式 1:比率 2:固定",
  37588. "type": "integer"
  37589. },
  37590. "sellchargealgorithm2": {
  37591. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  37592. "type": "integer"
  37593. },
  37594. "sellchargealgorithmvalue": {
  37595. "description": "卖方手续费设置值(交易所部分)",
  37596. "type": "number"
  37597. },
  37598. "sellchargealgorithmvalue2": {
  37599. "description": "卖方手续费设置值(会员部分)",
  37600. "type": "number"
  37601. },
  37602. "sellchargealgorithmvalue3": {
  37603. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  37604. "type": "number"
  37605. },
  37606. "sellchargealgorithmvalue4": {
  37607. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  37608. "type": "number"
  37609. },
  37610. "sellmarginalgorithm": {
  37611. "description": "卖方保证金方式 - 1:比率 2:固定",
  37612. "type": "integer"
  37613. },
  37614. "sellmarginvalue": {
  37615. "description": "卖方保证金设置值",
  37616. "type": "number"
  37617. },
  37618. "sellmarginvalue2": {
  37619. "description": "卖方保证金设置值(无仓单)",
  37620. "type": "number"
  37621. },
  37622. "sellreleaseratio": {
  37623. "description": "卖方释放比率[2:分步履约]",
  37624. "type": "number"
  37625. },
  37626. "updatetime": {
  37627. "description": "更新时间",
  37628. "type": "string"
  37629. }
  37630. }
  37631. },
  37632. "models.WrOrderDetail": {
  37633. "type": "object",
  37634. "properties": {
  37635. "accountid": {
  37636. "description": "交易账号(资金账号)",
  37637. "type": "integer"
  37638. },
  37639. "allfriendsflag": {
  37640. "description": "是否全好友可见 - 0:否 1:是",
  37641. "type": "integer"
  37642. },
  37643. "amount": {
  37644. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  37645. "type": "number"
  37646. },
  37647. "bannerpicurl": {
  37648. "description": "Banner图",
  37649. "type": "string"
  37650. },
  37651. "begindate": {
  37652. "description": "开始交易日(yyyymmdd)",
  37653. "type": "string"
  37654. },
  37655. "buyorsell": {
  37656. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37657. "type": "integer"
  37658. },
  37659. "canbargain": {
  37660. "description": "是否可议价 - 0:不可 1:可",
  37661. "type": "integer"
  37662. },
  37663. "cancelqty": {
  37664. "description": "撤销数量",
  37665. "type": "number"
  37666. },
  37667. "canpart": {
  37668. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  37669. "type": "integer"
  37670. },
  37671. "delistminqty": {
  37672. "description": "起摘数量",
  37673. "type": "integer"
  37674. },
  37675. "deliverygoodscode": {
  37676. "description": "品种代码",
  37677. "type": "string"
  37678. },
  37679. "deliverygoodsid": {
  37680. "description": "品种ID",
  37681. "type": "integer"
  37682. },
  37683. "deliverygoodsname": {
  37684. "description": "品种名称",
  37685. "type": "string"
  37686. },
  37687. "deliverymonth": {
  37688. "description": "交收月",
  37689. "type": "string"
  37690. },
  37691. "enddate": {
  37692. "description": "结束交易日(yyyymmdd)",
  37693. "type": "string"
  37694. },
  37695. "enumdicname": {
  37696. "description": "单位名称",
  37697. "type": "string"
  37698. },
  37699. "fixedprice": {
  37700. "description": "固定价格 - [挂牌]",
  37701. "type": "number"
  37702. },
  37703. "freezecharge": {
  37704. "description": "冻结手续费",
  37705. "type": "number"
  37706. },
  37707. "freezemargin": {
  37708. "description": "冻结保证金(保证金)",
  37709. "type": "number"
  37710. },
  37711. "futupricemove": {
  37712. "description": "期货升贴水",
  37713. "type": "number"
  37714. },
  37715. "futushow": {
  37716. "description": "期货合约/升贴水",
  37717. "type": "string"
  37718. },
  37719. "goodscode": {
  37720. "description": "期货合约",
  37721. "type": "string"
  37722. },
  37723. "goodsid": {
  37724. "description": "期货商品id",
  37725. "type": "integer"
  37726. },
  37727. "goodsname": {
  37728. "description": "商品名称",
  37729. "type": "string"
  37730. },
  37731. "haswr": {
  37732. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37733. "type": "integer"
  37734. },
  37735. "isspecified": {
  37736. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  37737. "type": "integer"
  37738. },
  37739. "ladingbillid": {
  37740. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  37741. "type": "string"
  37742. },
  37743. "marginvalue": {
  37744. "description": "保证金设置值(履约保证金)",
  37745. "type": "number"
  37746. },
  37747. "marketid": {
  37748. "description": "市场ID",
  37749. "type": "integer"
  37750. },
  37751. "matchusername": {
  37752. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  37753. "type": "string"
  37754. },
  37755. "minivalue": {
  37756. "description": "现货商品最小变动值",
  37757. "type": "integer"
  37758. },
  37759. "optioncompare": {
  37760. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37761. "type": "string"
  37762. },
  37763. "orderqty": {
  37764. "description": "委托数量",
  37765. "type": "number"
  37766. },
  37767. "ordertime": {
  37768. "description": "委托时间(挂牌时间)",
  37769. "type": "string"
  37770. },
  37771. "performancetemplateid": {
  37772. "description": "履约模板id",
  37773. "type": "integer"
  37774. },
  37775. "pricemove": {
  37776. "description": "升贴水(浮动价时填写) - [挂牌]",
  37777. "type": "number"
  37778. },
  37779. "taname": {
  37780. "description": "交易用户名称(资金账号名称)",
  37781. "type": "string"
  37782. },
  37783. "thumurls": {
  37784. "description": "缩略图",
  37785. "type": "string"
  37786. },
  37787. "tradedate": {
  37788. "description": "交易日(yyyyMMdd)",
  37789. "type": "string"
  37790. },
  37791. "tradeprice": {
  37792. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  37793. "type": "number"
  37794. },
  37795. "tradeqty": {
  37796. "description": "成交数量",
  37797. "type": "number"
  37798. },
  37799. "userid": {
  37800. "description": "用户ID",
  37801. "type": "integer"
  37802. },
  37803. "validtime": {
  37804. "description": "挂牌有效期",
  37805. "type": "string"
  37806. },
  37807. "validtype": {
  37808. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  37809. "type": "integer"
  37810. },
  37811. "warehouseid": {
  37812. "description": "仓库ID",
  37813. "type": "integer"
  37814. },
  37815. "warehousename": {
  37816. "description": "仓库名称",
  37817. "type": "string"
  37818. },
  37819. "wrfactortypeid": {
  37820. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37821. "type": "string"
  37822. },
  37823. "wrfactortypename": {
  37824. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37825. "type": "string"
  37826. },
  37827. "wrpricetype": {
  37828. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  37829. "type": "integer"
  37830. },
  37831. "wrstandardcode": {
  37832. "description": "现货商品代码",
  37833. "type": "string"
  37834. },
  37835. "wrstandardid": {
  37836. "description": "现货商品ID",
  37837. "type": "integer"
  37838. },
  37839. "wrstandardname": {
  37840. "description": "商品名称",
  37841. "type": "string"
  37842. },
  37843. "wrtradeorderid": {
  37844. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37845. "type": "string"
  37846. },
  37847. "wrtradeorderstatus": {
  37848. "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:撤单解冻贷款失败",
  37849. "type": "integer"
  37850. },
  37851. "wrtradetype": {
  37852. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37853. "type": "integer"
  37854. },
  37855. "wrtypename": {
  37856. "description": "商品",
  37857. "type": "string"
  37858. }
  37859. }
  37860. },
  37861. "models.WrOrderQuote": {
  37862. "type": "object",
  37863. "properties": {
  37864. "bannerpicurl": {
  37865. "description": "Banner图",
  37866. "type": "string"
  37867. },
  37868. "buyprice": {
  37869. "description": "买价",
  37870. "type": "number"
  37871. },
  37872. "buypricemove": {
  37873. "description": "买升贴水(基差)",
  37874. "type": "number"
  37875. },
  37876. "buyqty": {
  37877. "description": "买量",
  37878. "type": "number"
  37879. },
  37880. "deliverygoodscode": {
  37881. "description": "品种代码",
  37882. "type": "string"
  37883. },
  37884. "deliverygoodsid": {
  37885. "description": "品种id",
  37886. "type": "integer"
  37887. },
  37888. "deliverygoodsname": {
  37889. "description": "品种名称",
  37890. "type": "string"
  37891. },
  37892. "deliverymonth": {
  37893. "description": "交收月",
  37894. "type": "string"
  37895. },
  37896. "enumdicname": {
  37897. "description": "单位名称",
  37898. "type": "string"
  37899. },
  37900. "goodscode": {
  37901. "description": "商品合约(浮动价列表才有)",
  37902. "type": "string"
  37903. },
  37904. "goodsid": {
  37905. "description": "商品id(浮动价列表才有)",
  37906. "type": "integer"
  37907. },
  37908. "minivalue": {
  37909. "description": "现货商品最小变动值",
  37910. "type": "integer"
  37911. },
  37912. "pictureurls": {
  37913. "description": "详情图片(逗号分隔)",
  37914. "type": "string"
  37915. },
  37916. "sellprice": {
  37917. "description": "卖价",
  37918. "type": "number"
  37919. },
  37920. "sellpricemove": {
  37921. "description": "卖升贴水(基差)",
  37922. "type": "number"
  37923. },
  37924. "sellqty": {
  37925. "description": "卖量",
  37926. "type": "number"
  37927. },
  37928. "thumurls": {
  37929. "description": "缩略图片(1:1)(逗号分隔)",
  37930. "type": "string"
  37931. },
  37932. "warehousecode": {
  37933. "description": "仓库代码",
  37934. "type": "string"
  37935. },
  37936. "warehouseid": {
  37937. "description": "仓库id",
  37938. "type": "integer"
  37939. },
  37940. "warehousename": {
  37941. "description": "仓库名称",
  37942. "type": "string"
  37943. },
  37944. "wrfactortypeid": {
  37945. "description": "仓单要素id",
  37946. "type": "string"
  37947. },
  37948. "wrfactortypename": {
  37949. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37950. "type": "string"
  37951. },
  37952. "wrgoodsname": {
  37953. "description": "商品(商品名称+仓库要素名称 拼接)",
  37954. "type": "string"
  37955. },
  37956. "wrstandardcode": {
  37957. "description": "商品代码",
  37958. "type": "string"
  37959. },
  37960. "wrstandardid": {
  37961. "description": "商品id",
  37962. "type": "integer"
  37963. },
  37964. "wrstandardname": {
  37965. "description": "商品名称",
  37966. "type": "string"
  37967. }
  37968. }
  37969. },
  37970. "models.WrOrderQuoteDetail": {
  37971. "type": "object",
  37972. "properties": {
  37973. "buyorsell": {
  37974. "description": "买卖 - 0:买 1:卖",
  37975. "type": "integer"
  37976. },
  37977. "delistminqty": {
  37978. "description": "起摘数量",
  37979. "type": "number"
  37980. },
  37981. "deliverymonth": {
  37982. "description": "交收月",
  37983. "type": "string"
  37984. },
  37985. "enumdicname": {
  37986. "description": "单位名称",
  37987. "type": "string"
  37988. },
  37989. "fixedprice": {
  37990. "description": "买(卖)价",
  37991. "type": "number"
  37992. },
  37993. "marketid": {
  37994. "description": "市场id",
  37995. "type": "integer"
  37996. },
  37997. "minivalue": {
  37998. "description": "现货商品最小变动值",
  37999. "type": "integer"
  38000. },
  38001. "orderqty": {
  38002. "description": "买(卖)量(=委托量-成交量)",
  38003. "type": "number"
  38004. },
  38005. "ordertime": {
  38006. "description": "委托时间",
  38007. "type": "string"
  38008. },
  38009. "pricemove": {
  38010. "description": "买(卖)升贴水- 基差",
  38011. "type": "number"
  38012. },
  38013. "userid": {
  38014. "description": "购买方(销售方)用户ID",
  38015. "type": "integer"
  38016. },
  38017. "username": {
  38018. "description": "购买方(销售方)",
  38019. "type": "string"
  38020. },
  38021. "wrtradeorderid": {
  38022. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38023. "type": "string"
  38024. }
  38025. }
  38026. },
  38027. "models.WrOutInApply": {
  38028. "type": "object",
  38029. "properties": {
  38030. "applyid": {
  38031. "description": "申请单id",
  38032. "type": "string"
  38033. },
  38034. "applystatus": {
  38035. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  38036. "type": "integer"
  38037. },
  38038. "applytime": {
  38039. "description": "申请时间",
  38040. "type": "string"
  38041. },
  38042. "applytype": {
  38043. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  38044. "type": "integer"
  38045. },
  38046. "bannerpicurl": {
  38047. "description": "Banner图",
  38048. "type": "string"
  38049. },
  38050. "begindate": {
  38051. "description": "开始交易日(yyyymmdd)",
  38052. "type": "string"
  38053. },
  38054. "deliverygoodscode": {
  38055. "description": "品种代码",
  38056. "type": "string"
  38057. },
  38058. "deliverygoodsid": {
  38059. "description": "品种ID",
  38060. "type": "integer"
  38061. },
  38062. "deliverygoodsname": {
  38063. "description": "品种名称",
  38064. "type": "string"
  38065. },
  38066. "enddate": {
  38067. "description": "结束交易日(yyyymmdd)",
  38068. "type": "string"
  38069. },
  38070. "enumdicname": {
  38071. "description": "单位名称",
  38072. "type": "string"
  38073. },
  38074. "expresscompany": {
  38075. "description": "物流公司",
  38076. "type": "string"
  38077. },
  38078. "expressnum": {
  38079. "description": "物流单号",
  38080. "type": "string"
  38081. },
  38082. "minivalue": {
  38083. "description": "现货商品最小变动值",
  38084. "type": "integer"
  38085. },
  38086. "optioncompare": {
  38087. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38088. "type": "string"
  38089. },
  38090. "qty": {
  38091. "description": "数量",
  38092. "type": "integer"
  38093. },
  38094. "userid": {
  38095. "description": "用户id",
  38096. "type": "integer"
  38097. },
  38098. "warehouseid": {
  38099. "description": "仓库ID",
  38100. "type": "integer"
  38101. },
  38102. "warehousename": {
  38103. "description": "仓库名称",
  38104. "type": "string"
  38105. },
  38106. "wrfactortypeid": {
  38107. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38108. "type": "string"
  38109. },
  38110. "wrfactortypename": {
  38111. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38112. "type": "string"
  38113. },
  38114. "wrstandardcode": {
  38115. "description": "现货商品代码",
  38116. "type": "string"
  38117. },
  38118. "wrstandardid": {
  38119. "description": "现货商品ID",
  38120. "type": "integer"
  38121. },
  38122. "wrstandardname": {
  38123. "description": "商品名称",
  38124. "type": "string"
  38125. },
  38126. "wrtypename": {
  38127. "description": "商品",
  38128. "type": "string"
  38129. }
  38130. }
  38131. },
  38132. "models.WrPerformancePlan": {
  38133. "type": "object",
  38134. "required": [
  38135. "userid"
  38136. ],
  38137. "properties": {
  38138. "activatemonth": {
  38139. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  38140. "type": "string"
  38141. },
  38142. "amount": {
  38143. "description": "履约金额(总金额)",
  38144. "type": "number"
  38145. },
  38146. "begindate": {
  38147. "description": "开始交易日(yyyymmdd)",
  38148. "type": "string"
  38149. },
  38150. "buyaccountid": {
  38151. "description": "买方账号",
  38152. "type": "integer"
  38153. },
  38154. "buyerfreezeamount": {
  38155. "description": "履约冻结(买履约)",
  38156. "type": "number"
  38157. },
  38158. "buyerfreezeamountremain": {
  38159. "description": "履约冻结剩余(买履约)",
  38160. "type": "number"
  38161. },
  38162. "buyorsell": {
  38163. "description": "买卖方向 0-买 1-卖",
  38164. "type": "integer"
  38165. },
  38166. "buypaidamount": {
  38167. "description": "买方已冻/已扣金额 (已付金额)",
  38168. "type": "number"
  38169. },
  38170. "buyusername": {
  38171. "description": "买方名字",
  38172. "type": "string"
  38173. },
  38174. "contractid": {
  38175. "description": "合同ID",
  38176. "type": "integer"
  38177. },
  38178. "createtime": {
  38179. "description": "创建时间",
  38180. "type": "string"
  38181. },
  38182. "creatorid": {
  38183. "description": "创建人",
  38184. "type": "integer"
  38185. },
  38186. "curstepdeadline": {
  38187. "description": "当前步骤到期时间",
  38188. "type": "string"
  38189. },
  38190. "curstepid": {
  38191. "description": "当前步骤ID",
  38192. "type": "string"
  38193. },
  38194. "curstepname": {
  38195. "description": "当前步骤名称",
  38196. "type": "string"
  38197. },
  38198. "deliverygoodscode": {
  38199. "description": "品种代码",
  38200. "type": "string"
  38201. },
  38202. "deliverygoodsid": {
  38203. "description": "品种ID",
  38204. "type": "integer"
  38205. },
  38206. "deliverygoodsname": {
  38207. "description": "品种名称",
  38208. "type": "string"
  38209. },
  38210. "enddate": {
  38211. "description": "结束交易日(yyyymmdd)",
  38212. "type": "string"
  38213. },
  38214. "enumdicname": {
  38215. "description": "单位名称",
  38216. "type": "string"
  38217. },
  38218. "expressfee": {
  38219. "description": "运费",
  38220. "type": "number"
  38221. },
  38222. "expressfeeconfirmed": {
  38223. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  38224. "type": "integer"
  38225. },
  38226. "hasovershort": {
  38227. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  38228. "type": "integer"
  38229. },
  38230. "haswr": {
  38231. "description": "类型 0-仓单预售 1-仓单贸易",
  38232. "type": "integer"
  38233. },
  38234. "marketid": {
  38235. "description": "市场ID",
  38236. "type": "integer"
  38237. },
  38238. "middleaccountid": {
  38239. "description": "中间商资金账号ID",
  38240. "type": "integer"
  38241. },
  38242. "middleuserid": {
  38243. "description": "中间商用户ID",
  38244. "type": "integer"
  38245. },
  38246. "minivalue": {
  38247. "description": "现货商品最小变动值",
  38248. "type": "integer"
  38249. },
  38250. "optioncompare": {
  38251. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38252. "type": "string"
  38253. },
  38254. "overshortamount": {
  38255. "description": "溢短金额",
  38256. "type": "number"
  38257. },
  38258. "overshortqty": {
  38259. "description": "溢短数量",
  38260. "type": "number"
  38261. },
  38262. "paymenttype": {
  38263. "description": "付款方式 - 1:冻结 2:扣款",
  38264. "type": "integer"
  38265. },
  38266. "performanceplanid": {
  38267. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  38268. "type": "string"
  38269. },
  38270. "performancestatus": {
  38271. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  38272. "type": "integer"
  38273. },
  38274. "performancetype": {
  38275. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  38276. "type": "integer"
  38277. },
  38278. "qty": {
  38279. "description": "履约数量",
  38280. "type": "number"
  38281. },
  38282. "relatedorderid": {
  38283. "description": "关联单号(履约类型的关联单号)",
  38284. "type": "string"
  38285. },
  38286. "remark": {
  38287. "description": "备注",
  38288. "type": "string"
  38289. },
  38290. "sellaccountid": {
  38291. "description": "卖方账号",
  38292. "type": "integer"
  38293. },
  38294. "sellerfreezeamount": {
  38295. "description": "履约冻结(卖履约)",
  38296. "type": "number"
  38297. },
  38298. "sellerfreezeamountremain": {
  38299. "description": "履约冻结剩余(卖履约)",
  38300. "type": "number"
  38301. },
  38302. "sellreceivedamount": {
  38303. "description": "卖方已收金额",
  38304. "type": "number"
  38305. },
  38306. "sellusername": {
  38307. "description": "卖方名字",
  38308. "type": "string"
  38309. },
  38310. "shipremark": {
  38311. "description": "发货备注[物流单号]",
  38312. "type": "string"
  38313. },
  38314. "starttime": {
  38315. "description": "开始时间",
  38316. "type": "string"
  38317. },
  38318. "steptypeid": {
  38319. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  38320. "type": "integer"
  38321. },
  38322. "typename": {
  38323. "description": "履约类型 名称",
  38324. "type": "string"
  38325. },
  38326. "unpaidamount": {
  38327. "description": "剩余款(待支付金额)",
  38328. "type": "number"
  38329. },
  38330. "userid": {
  38331. "description": "用户id",
  38332. "type": "integer"
  38333. },
  38334. "warehouseid": {
  38335. "description": "仓库ID",
  38336. "type": "integer"
  38337. },
  38338. "warehousename": {
  38339. "description": "仓库名称",
  38340. "type": "string"
  38341. },
  38342. "wrfactortypeid": {
  38343. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38344. "type": "string"
  38345. },
  38346. "wrfactortypename": {
  38347. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38348. "type": "string"
  38349. },
  38350. "wrstandardcode": {
  38351. "description": "现货商品代码",
  38352. "type": "string"
  38353. },
  38354. "wrstandardid": {
  38355. "description": "现货商品ID",
  38356. "type": "integer"
  38357. },
  38358. "wrstandardname": {
  38359. "description": "商品名称",
  38360. "type": "string"
  38361. },
  38362. "wrtransferuserid": {
  38363. "description": "仓单受让用户",
  38364. "type": "integer"
  38365. },
  38366. "wrtypename": {
  38367. "description": "商品",
  38368. "type": "string"
  38369. }
  38370. }
  38371. },
  38372. "models.WrPerformancePlanStep": {
  38373. "type": "object",
  38374. "properties": {
  38375. "delaydays": {
  38376. "description": "延期申请天数",
  38377. "type": "integer"
  38378. },
  38379. "deliverygoodscode": {
  38380. "description": "品种代码",
  38381. "type": "string"
  38382. },
  38383. "deliverygoodsid": {
  38384. "description": "品种ID",
  38385. "type": "integer"
  38386. },
  38387. "deliverygoodsname": {
  38388. "description": "品种名称",
  38389. "type": "string"
  38390. },
  38391. "endtime": {
  38392. "description": "结束日期",
  38393. "type": "string"
  38394. },
  38395. "enumdicname": {
  38396. "description": "单位名称",
  38397. "type": "string"
  38398. },
  38399. "executeside": {
  38400. "description": "步骤执行方 - 1:买方 2:卖方",
  38401. "type": "integer"
  38402. },
  38403. "handlestatus": {
  38404. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  38405. "type": "integer"
  38406. },
  38407. "isauto": {
  38408. "description": "是否自动 - 0:不自动 1:自动",
  38409. "type": "integer"
  38410. },
  38411. "islastreceivestep": {
  38412. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  38413. "type": "integer"
  38414. },
  38415. "minivalue": {
  38416. "description": "现货商品最小变动值",
  38417. "type": "integer"
  38418. },
  38419. "optioncompare": {
  38420. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38421. "type": "string"
  38422. },
  38423. "overdays": {
  38424. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  38425. "type": "integer"
  38426. },
  38427. "performancestepid": {
  38428. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  38429. "type": "string"
  38430. },
  38431. "planid": {
  38432. "description": "所属履约计划ID",
  38433. "type": "string"
  38434. },
  38435. "realamount": {
  38436. "description": "实际完成金额",
  38437. "type": "number"
  38438. },
  38439. "relatedorderid": {
  38440. "description": "关联单号",
  38441. "type": "string"
  38442. },
  38443. "remaindays": {
  38444. "description": "剩余天数",
  38445. "type": "integer"
  38446. },
  38447. "remark": {
  38448. "description": "错误备注",
  38449. "type": "string"
  38450. },
  38451. "starttime": {
  38452. "description": "开始日期",
  38453. "type": "string"
  38454. },
  38455. "stepamount": {
  38456. "description": "步骤金额",
  38457. "type": "number"
  38458. },
  38459. "stepdays": {
  38460. "description": "距离上一步天数(分钟)",
  38461. "type": "integer"
  38462. },
  38463. "stepindex": {
  38464. "description": "步骤序号",
  38465. "type": "integer"
  38466. },
  38467. "steplanchtype": {
  38468. "description": "步骤启动类型 - 1:系统自动 2:手动",
  38469. "type": "integer"
  38470. },
  38471. "stepremark": {
  38472. "description": "步骤备注",
  38473. "type": "string"
  38474. },
  38475. "stepstatus": {
  38476. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  38477. "type": "integer"
  38478. },
  38479. "steptypeid": {
  38480. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  38481. "type": "integer"
  38482. },
  38483. "steptypename": {
  38484. "description": "步骤名称",
  38485. "type": "string"
  38486. },
  38487. "stepvalue": {
  38488. "description": "步骤值",
  38489. "type": "number"
  38490. },
  38491. "warehouseid": {
  38492. "description": "仓库ID",
  38493. "type": "integer"
  38494. },
  38495. "warehousename": {
  38496. "description": "仓库名称",
  38497. "type": "string"
  38498. },
  38499. "wrfactortypeid": {
  38500. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38501. "type": "string"
  38502. },
  38503. "wrfactortypename": {
  38504. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38505. "type": "string"
  38506. },
  38507. "wrstandardcode": {
  38508. "description": "现货商品代码",
  38509. "type": "string"
  38510. },
  38511. "wrstandardid": {
  38512. "description": "现货商品ID",
  38513. "type": "integer"
  38514. },
  38515. "wrstandardname": {
  38516. "description": "商品名称",
  38517. "type": "string"
  38518. },
  38519. "wrtypename": {
  38520. "description": "商品",
  38521. "type": "string"
  38522. }
  38523. }
  38524. },
  38525. "models.WrPerformanceStepType": {
  38526. "type": "object",
  38527. "properties": {
  38528. "canauto": {
  38529. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  38530. "type": "integer"
  38531. },
  38532. "steptypeid": {
  38533. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  38534. "type": "integer"
  38535. },
  38536. "steptypename": {
  38537. "description": "步骤类型名称",
  38538. "type": "string"
  38539. }
  38540. }
  38541. },
  38542. "models.WrPerformanceTemplateEx": {
  38543. "type": "object",
  38544. "properties": {
  38545. "autoid": {
  38546. "description": "AutoID 模板id",
  38547. "type": "integer"
  38548. },
  38549. "createtime": {
  38550. "description": "创建时间",
  38551. "type": "string"
  38552. },
  38553. "creatorid": {
  38554. "description": "创建人",
  38555. "type": "integer"
  38556. },
  38557. "lstStep": {
  38558. "description": "步骤信息列表",
  38559. "type": "array",
  38560. "items": {
  38561. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  38562. }
  38563. },
  38564. "paymenttype": {
  38565. "description": "支付方式 - 1:冻结 2:扣款",
  38566. "type": "integer"
  38567. },
  38568. "takemode": {
  38569. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  38570. "type": "integer"
  38571. },
  38572. "templatename": {
  38573. "description": "模板名称",
  38574. "type": "string"
  38575. },
  38576. "templatetype": {
  38577. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  38578. "type": "integer"
  38579. },
  38580. "userid": {
  38581. "description": "所属用户",
  38582. "type": "integer"
  38583. }
  38584. }
  38585. },
  38586. "models.WrPosition": {
  38587. "type": "object",
  38588. "properties": {
  38589. "accountid": {
  38590. "description": "帐户ID",
  38591. "type": "integer"
  38592. },
  38593. "buyexcuteqty": {
  38594. "description": "采购履约中数量",
  38595. "type": "number"
  38596. },
  38597. "creditcurqty": {
  38598. "description": "授信当前数量(预售仓单:预售当前量)",
  38599. "type": "number"
  38600. },
  38601. "creditenableqty": {
  38602. "description": "授信可用数量(预售仓单: 可用数量)",
  38603. "type": "number"
  38604. },
  38605. "creditfreezeqty": {
  38606. "description": "授信冻结数量(预售仓单: 当前数量)",
  38607. "type": "number"
  38608. },
  38609. "credittotalqty": {
  38610. "description": "授信总数量(预售仓单:预售总量)",
  38611. "type": "number"
  38612. },
  38613. "credittradeqty": {
  38614. "description": "授信成交数量(预售仓单:成交总量)",
  38615. "type": "number"
  38616. },
  38617. "deliverygoodscode": {
  38618. "description": "品种代码",
  38619. "type": "string"
  38620. },
  38621. "deliverygoodsid": {
  38622. "description": "品种ID",
  38623. "type": "integer"
  38624. },
  38625. "deliverygoodsname": {
  38626. "description": "品种名称",
  38627. "type": "string"
  38628. },
  38629. "enalbeqty": {
  38630. "description": "可用数量",
  38631. "type": "number"
  38632. },
  38633. "enumdicname": {
  38634. "description": "单位名称",
  38635. "type": "string"
  38636. },
  38637. "freezeqty": {
  38638. "description": "总冻结数量",
  38639. "type": "number"
  38640. },
  38641. "haswr": {
  38642. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  38643. "type": "integer"
  38644. },
  38645. "minivalue": {
  38646. "description": "现货商品最小变动值",
  38647. "type": "integer"
  38648. },
  38649. "modifytime": {
  38650. "description": "修改时间(过户时间)",
  38651. "type": "string"
  38652. },
  38653. "optioncompare": {
  38654. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38655. "type": "string"
  38656. },
  38657. "pledgeqty": {
  38658. "description": "质押数量",
  38659. "type": "number"
  38660. },
  38661. "querytype": {
  38662. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  38663. "type": "integer"
  38664. },
  38665. "sellexcuteqty": {
  38666. "description": "销售履约中数量",
  38667. "type": "number"
  38668. },
  38669. "totalqty": {
  38670. "description": "总数量(库存数量)",
  38671. "type": "number"
  38672. },
  38673. "warehouseid": {
  38674. "description": "仓库ID",
  38675. "type": "integer"
  38676. },
  38677. "warehousename": {
  38678. "description": "仓库名称",
  38679. "type": "string"
  38680. },
  38681. "wrfactortypeid": {
  38682. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38683. "type": "string"
  38684. },
  38685. "wrfactortypename": {
  38686. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38687. "type": "string"
  38688. },
  38689. "wrpositionid": {
  38690. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  38691. "type": "string"
  38692. },
  38693. "wrpositionno": {
  38694. "description": "仓单编号",
  38695. "type": "string"
  38696. },
  38697. "wrstandardcode": {
  38698. "description": "现货商品代码",
  38699. "type": "string"
  38700. },
  38701. "wrstandardid": {
  38702. "description": "现货商品ID",
  38703. "type": "integer"
  38704. },
  38705. "wrstandardname": {
  38706. "description": "商品名称",
  38707. "type": "string"
  38708. },
  38709. "wrtypename": {
  38710. "description": "商品",
  38711. "type": "string"
  38712. },
  38713. "wruserid": {
  38714. "description": "持有人ID",
  38715. "type": "integer"
  38716. }
  38717. }
  38718. },
  38719. "models.WrPreSaleInfo": {
  38720. "type": "object",
  38721. "properties": {
  38722. "bannerpicurl": {
  38723. "description": "Banner图",
  38724. "type": "string"
  38725. },
  38726. "baseqty": {
  38727. "description": "中签基数",
  38728. "type": "number"
  38729. },
  38730. "createtime": {
  38731. "description": "创建时间",
  38732. "type": "string"
  38733. },
  38734. "deliverygoodsid": {
  38735. "description": "现货品种ID",
  38736. "type": "integer"
  38737. },
  38738. "enddate": {
  38739. "description": "预售结束日期",
  38740. "type": "string"
  38741. },
  38742. "enumdicname": {
  38743. "description": "单位名称",
  38744. "type": "string"
  38745. },
  38746. "lotteryflag": {
  38747. "description": "摇号标识 - 0:未摇号 1:已摇号",
  38748. "type": "integer"
  38749. },
  38750. "lotteryqty": {
  38751. "description": "摇号总量",
  38752. "type": "number"
  38753. },
  38754. "luckyqty": {
  38755. "description": "已中签量",
  38756. "type": "number"
  38757. },
  38758. "marketid": {
  38759. "description": "市场ID",
  38760. "type": "integer"
  38761. },
  38762. "maxbuyqty": {
  38763. "description": "单人最大申购量",
  38764. "type": "number"
  38765. },
  38766. "maxluckyqty": {
  38767. "description": "单人最大中签量",
  38768. "type": "number"
  38769. },
  38770. "pictureurls": {
  38771. "description": "详情图片(逗号分隔)",
  38772. "type": "string"
  38773. },
  38774. "placeqty": {
  38775. "description": "已配售量",
  38776. "type": "number"
  38777. },
  38778. "presaleapplyid": {
  38779. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  38780. "type": "string",
  38781. "example": "0"
  38782. },
  38783. "presaleqty": {
  38784. "description": "预售总量",
  38785. "type": "number"
  38786. },
  38787. "presalestatus": {
  38788. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  38789. "type": "integer"
  38790. },
  38791. "sellaccountid": {
  38792. "description": "发行方资金账户ID",
  38793. "type": "integer"
  38794. },
  38795. "selluserid": {
  38796. "description": "发行方用户ID",
  38797. "type": "integer"
  38798. },
  38799. "sellwrtradeorderid": {
  38800. "description": "发行方卖委托单ID",
  38801. "type": "string"
  38802. },
  38803. "startdate": {
  38804. "description": "预售开始日期",
  38805. "type": "string"
  38806. },
  38807. "takestartdate": {
  38808. "description": "提货开始日期",
  38809. "type": "string"
  38810. },
  38811. "thumurls": {
  38812. "description": "缩略图片(1:1)(逗号分隔)",
  38813. "type": "string"
  38814. },
  38815. "tradedate": {
  38816. "description": "交易日",
  38817. "type": "string"
  38818. },
  38819. "unitid": {
  38820. "description": "单位ID",
  38821. "type": "integer"
  38822. },
  38823. "unitprice": {
  38824. "description": "商品单价",
  38825. "type": "number"
  38826. },
  38827. "username": {
  38828. "description": "发行方用户名称",
  38829. "type": "string"
  38830. },
  38831. "warehousecode": {
  38832. "description": "仓库代码(仓库简称)",
  38833. "type": "string"
  38834. },
  38835. "warehouseid": {
  38836. "description": "仓库ID",
  38837. "type": "integer"
  38838. },
  38839. "warehousename": {
  38840. "description": "仓库名称",
  38841. "type": "string"
  38842. },
  38843. "wrfactortypeid": {
  38844. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  38845. "type": "string",
  38846. "example": "0"
  38847. },
  38848. "wrstandardid": {
  38849. "description": "现货商品ID",
  38850. "type": "integer"
  38851. },
  38852. "wrstandardname": {
  38853. "description": "现货商品名称",
  38854. "type": "string"
  38855. }
  38856. }
  38857. },
  38858. "models.WrQuoteOrderMyq": {
  38859. "type": "object",
  38860. "properties": {
  38861. "buyorsell": {
  38862. "description": "买卖 - 0:买 1:卖",
  38863. "type": "integer"
  38864. },
  38865. "canbargain": {
  38866. "description": "是否可议价 - 0:不可 1:可",
  38867. "type": "integer"
  38868. },
  38869. "canpart": {
  38870. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  38871. "type": "integer"
  38872. },
  38873. "delistminqty": {
  38874. "description": "起摘数量",
  38875. "type": "number"
  38876. },
  38877. "deliverygoodscode": {
  38878. "description": "品种代码",
  38879. "type": "string"
  38880. },
  38881. "deliverygoodsid": {
  38882. "description": "品种ID",
  38883. "type": "integer"
  38884. },
  38885. "deliverygoodsname": {
  38886. "description": "品种名称",
  38887. "type": "string"
  38888. },
  38889. "deliverymonth": {
  38890. "description": "交收月",
  38891. "type": "string"
  38892. },
  38893. "enumdicname": {
  38894. "description": "单位名称",
  38895. "type": "string"
  38896. },
  38897. "fixedprice": {
  38898. "description": "买(卖)价",
  38899. "type": "number"
  38900. },
  38901. "goodscode": {
  38902. "description": "商品合约代码",
  38903. "type": "string"
  38904. },
  38905. "marginflag": {
  38906. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  38907. "type": "integer"
  38908. },
  38909. "marginvalue": {
  38910. "description": "保证金设置值",
  38911. "type": "number"
  38912. },
  38913. "minivalue": {
  38914. "description": "现货商品最小变动值",
  38915. "type": "integer"
  38916. },
  38917. "orderqty": {
  38918. "description": "买(卖)量(=委托量-成交量)",
  38919. "type": "number"
  38920. },
  38921. "ordertime": {
  38922. "description": "委托时间",
  38923. "type": "string"
  38924. },
  38925. "performancetemplateid": {
  38926. "description": "履约模板id",
  38927. "type": "integer"
  38928. },
  38929. "pricemove": {
  38930. "description": "买(卖)升贴水- 基差",
  38931. "type": "number"
  38932. },
  38933. "templatename": {
  38934. "description": "履约模板名称",
  38935. "type": "string"
  38936. },
  38937. "userid": {
  38938. "description": "购买方(销售方)用户ID",
  38939. "type": "integer"
  38940. },
  38941. "username": {
  38942. "description": "购买方(销售方)",
  38943. "type": "string"
  38944. },
  38945. "validtime": {
  38946. "description": "有效期限",
  38947. "type": "string"
  38948. },
  38949. "validtype": {
  38950. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  38951. "type": "integer"
  38952. },
  38953. "warehousename": {
  38954. "description": "仓库名称",
  38955. "type": "string"
  38956. },
  38957. "wrfactortypeid": {
  38958. "description": "仓单要素id",
  38959. "type": "string"
  38960. },
  38961. "wrstandardcode": {
  38962. "description": "现货商品代码",
  38963. "type": "string"
  38964. },
  38965. "wrstandardid": {
  38966. "description": "现货商品ID",
  38967. "type": "integer"
  38968. },
  38969. "wrstandardname": {
  38970. "description": "商品名称",
  38971. "type": "string"
  38972. },
  38973. "wrtradeorderid": {
  38974. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38975. "type": "string"
  38976. },
  38977. "wrtypename": {
  38978. "description": "商品",
  38979. "type": "string"
  38980. }
  38981. }
  38982. },
  38983. "models.WrReckonSpotGoodsTradeSum": {
  38984. "type": "object",
  38985. "properties": {
  38986. "begindate": {
  38987. "description": "开始日期(结果含开始日期) yyyymmdd",
  38988. "type": "string"
  38989. },
  38990. "enddate": {
  38991. "description": "结束日期(结果含结束日期) yyyymmdd",
  38992. "type": "string"
  38993. },
  38994. "istoday": {
  38995. "description": "是否当日",
  38996. "type": "boolean"
  38997. },
  38998. "marketid": {
  38999. "description": "市场ID",
  39000. "type": "integer"
  39001. },
  39002. "price": {
  39003. "description": "价格 = 日成交金额 / 日成交数量",
  39004. "type": "string"
  39005. },
  39006. "reckondate": {
  39007. "description": "日期 格式 yyyymmdd",
  39008. "type": "string"
  39009. },
  39010. "tradeamount": {
  39011. "description": "日成交金额(当日单方向成交金额)",
  39012. "type": "number"
  39013. },
  39014. "tradeqty": {
  39015. "description": "日成交数量(当日单方向成交数量)",
  39016. "type": "number"
  39017. },
  39018. "wrstandardid": {
  39019. "description": "现货商品ID",
  39020. "type": "integer"
  39021. }
  39022. }
  39023. },
  39024. "models.WrScfContract": {
  39025. "type": "object",
  39026. "properties": {
  39027. "borroweruserid": {
  39028. "description": "借款用户ID",
  39029. "type": "integer"
  39030. },
  39031. "buybackwrpositionqty": {
  39032. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  39033. "type": "number"
  39034. },
  39035. "closeinterest": {
  39036. "description": "已结利息 -\u003e 已结费用",
  39037. "type": "number"
  39038. },
  39039. "currisklevel": {
  39040. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  39041. "type": "integer"
  39042. },
  39043. "deadline": {
  39044. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  39045. "type": "string"
  39046. },
  39047. "deliverygoodscode": {
  39048. "description": "品种代码",
  39049. "type": "string"
  39050. },
  39051. "deliverygoodsid": {
  39052. "description": "品种ID",
  39053. "type": "integer"
  39054. },
  39055. "deliverygoodsname": {
  39056. "description": "品种名称",
  39057. "type": "string"
  39058. },
  39059. "enumdicname": {
  39060. "description": "单位名称",
  39061. "type": "string"
  39062. },
  39063. "financingdays": {
  39064. "description": "天数(天)",
  39065. "type": "integer"
  39066. },
  39067. "initmargin": {
  39068. "description": "保证金 - [仓单回购]",
  39069. "type": "number"
  39070. },
  39071. "interestamount": {
  39072. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  39073. "type": "number"
  39074. },
  39075. "interestdebt": {
  39076. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  39077. "type": "number"
  39078. },
  39079. "interestminlen": {
  39080. "description": "最小起息天数",
  39081. "type": "integer"
  39082. },
  39083. "interestrate": {
  39084. "description": "利率",
  39085. "type": "number"
  39086. },
  39087. "interestratemode": {
  39088. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39089. "type": "integer"
  39090. },
  39091. "interestsettlemode": {
  39092. "description": "结息方式 - 1:按日结息 3:按月结息",
  39093. "type": "integer"
  39094. },
  39095. "interestsettlevalue": {
  39096. "description": "结息方式值",
  39097. "type": "integer"
  39098. },
  39099. "isautoloan": {
  39100. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  39101. "type": "integer"
  39102. },
  39103. "lastcloseinterestday": {
  39104. "description": "最近结息日(yyyyMMdd)",
  39105. "type": "string"
  39106. },
  39107. "lenderamount": {
  39108. "description": "贷款金额 -\u003e 借款金额",
  39109. "type": "number"
  39110. },
  39111. "lenderuserid": {
  39112. "description": "贷款方用户ID -\u003e 融出方用户ID",
  39113. "type": "integer"
  39114. },
  39115. "lenderusername": {
  39116. "description": "融出方",
  39117. "type": "string"
  39118. },
  39119. "marginratio": {
  39120. "description": "保证金比率质押率 - [仓单质押]",
  39121. "type": "number"
  39122. },
  39123. "marketid": {
  39124. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  39125. "type": "integer"
  39126. },
  39127. "minivalue": {
  39128. "description": "现货商品最小变动值",
  39129. "type": "integer"
  39130. },
  39131. "optioncompare": {
  39132. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39133. "type": "string"
  39134. },
  39135. "pricemove": {
  39136. "description": "估值升贴水值",
  39137. "type": "number"
  39138. },
  39139. "productdetailid": {
  39140. "description": "产品组合ID",
  39141. "type": "integer"
  39142. },
  39143. "productid": {
  39144. "description": "金融产品ID",
  39145. "type": "integer"
  39146. },
  39147. "productname": {
  39148. "description": "产品名称",
  39149. "type": "string"
  39150. },
  39151. "remainamount": {
  39152. "description": "合同剩余金额 -\u003e 剩余金额",
  39153. "type": "number"
  39154. },
  39155. "remainwrpositionqty": {
  39156. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  39157. "type": "number"
  39158. },
  39159. "remark": {
  39160. "description": "备注",
  39161. "type": "string"
  39162. },
  39163. "scfcontractid": {
  39164. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  39165. "type": "string"
  39166. },
  39167. "scfcontractstatus": {
  39168. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  39169. "type": "integer"
  39170. },
  39171. "scfcontracttype": {
  39172. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  39173. "type": "integer"
  39174. },
  39175. "startinterestday": {
  39176. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  39177. "type": "string"
  39178. },
  39179. "totalinterest": {
  39180. "description": "已计利息 -\u003e 已计费用",
  39181. "type": "number"
  39182. },
  39183. "unpaidinterest": {
  39184. "description": "未结费用",
  39185. "type": "number"
  39186. },
  39187. "updatetime": {
  39188. "description": "更新时间",
  39189. "type": "string"
  39190. },
  39191. "warehouseid": {
  39192. "description": "仓库ID",
  39193. "type": "integer"
  39194. },
  39195. "warehousename": {
  39196. "description": "仓库名称",
  39197. "type": "string"
  39198. },
  39199. "wrfactortypeid": {
  39200. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39201. "type": "string"
  39202. },
  39203. "wrfactortypename": {
  39204. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39205. "type": "string"
  39206. },
  39207. "wrqty": {
  39208. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  39209. "type": "number"
  39210. },
  39211. "wrstandardcode": {
  39212. "description": "现货商品代码",
  39213. "type": "string"
  39214. },
  39215. "wrstandardid": {
  39216. "description": "现货商品ID",
  39217. "type": "integer"
  39218. },
  39219. "wrstandardname": {
  39220. "description": "商品名称",
  39221. "type": "string"
  39222. },
  39223. "wrtypename": {
  39224. "description": "商品",
  39225. "type": "string"
  39226. }
  39227. }
  39228. },
  39229. "models.WrScfContractInterest": {
  39230. "type": "object",
  39231. "properties": {
  39232. "closeinterest": {
  39233. "description": "已结利息",
  39234. "type": "number"
  39235. },
  39236. "closeintereststatus": {
  39237. "description": "结息状态 - 1:未结 2:已结",
  39238. "type": "integer"
  39239. },
  39240. "closetime": {
  39241. "description": "结息时间",
  39242. "type": "string"
  39243. },
  39244. "closetradedate": {
  39245. "description": "结息交易日",
  39246. "type": "string"
  39247. },
  39248. "creatorid": {
  39249. "description": "操作人ID",
  39250. "type": "integer"
  39251. },
  39252. "dayrate": {
  39253. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  39254. "type": "number"
  39255. },
  39256. "interest": {
  39257. "description": "利息",
  39258. "type": "number"
  39259. },
  39260. "interestamount": {
  39261. "description": "计息金额",
  39262. "type": "number"
  39263. },
  39264. "interestday": {
  39265. "description": "计息日(yyyyMMdd)",
  39266. "type": "string"
  39267. },
  39268. "scfcontractid": {
  39269. "description": "SCF合同ID",
  39270. "type": "string"
  39271. },
  39272. "scfcontractinterestid": {
  39273. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  39274. "type": "integer"
  39275. },
  39276. "updatetime": {
  39277. "description": "更新时间",
  39278. "type": "string"
  39279. }
  39280. }
  39281. },
  39282. "models.WrSearchUser": {
  39283. "type": "object",
  39284. "required": [
  39285. "username"
  39286. ],
  39287. "properties": {
  39288. "userid": {
  39289. "description": "用户ID",
  39290. "type": "integer"
  39291. },
  39292. "username": {
  39293. "description": "用户名称(已脱敏)",
  39294. "type": "string"
  39295. },
  39296. "username2": {
  39297. "description": "用户名称(未脱敏)",
  39298. "type": "string"
  39299. },
  39300. "usertype": {
  39301. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  39302. "type": "integer"
  39303. }
  39304. }
  39305. },
  39306. "models.WrSiteColumnDetail": {
  39307. "type": "object",
  39308. "properties": {
  39309. "brief": {
  39310. "description": "简介",
  39311. "type": "string"
  39312. },
  39313. "context": {
  39314. "description": "内容",
  39315. "type": "string"
  39316. },
  39317. "coverimage": {
  39318. "description": "封面图片",
  39319. "type": "string"
  39320. },
  39321. "creaedate": {
  39322. "description": "创建时间",
  39323. "type": "string"
  39324. },
  39325. "id": {
  39326. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  39327. "type": "integer"
  39328. },
  39329. "istop": {
  39330. "description": "是否置顶 - 0:不置 1:置顶",
  39331. "type": "integer"
  39332. },
  39333. "publishdate": {
  39334. "description": "发布日期",
  39335. "type": "string"
  39336. },
  39337. "title": {
  39338. "description": "标题",
  39339. "type": "string"
  39340. },
  39341. "updatedate": {
  39342. "description": "修改时间",
  39343. "type": "string"
  39344. }
  39345. }
  39346. },
  39347. "models.WrSpecialMatchOrder": {
  39348. "type": "object",
  39349. "properties": {
  39350. "amount": {
  39351. "description": "金额 = 数量 * 价格",
  39352. "type": "number"
  39353. },
  39354. "buyorsell": {
  39355. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39356. "type": "integer"
  39357. },
  39358. "cancelqty": {
  39359. "description": "撤销数量",
  39360. "type": "number"
  39361. },
  39362. "deliverygoodscode": {
  39363. "description": "品种代码",
  39364. "type": "string"
  39365. },
  39366. "deliverygoodsid": {
  39367. "description": "品种ID",
  39368. "type": "integer"
  39369. },
  39370. "deliverygoodsname": {
  39371. "description": "品种名称",
  39372. "type": "string"
  39373. },
  39374. "enumdicname": {
  39375. "description": "单位名称",
  39376. "type": "string"
  39377. },
  39378. "fixedprice": {
  39379. "description": "固定价格(价格)",
  39380. "type": "number"
  39381. },
  39382. "haswr": {
  39383. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39384. "type": "integer"
  39385. },
  39386. "isspecified": {
  39387. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  39388. "type": "integer"
  39389. },
  39390. "marketid": {
  39391. "description": "市场ID",
  39392. "type": "integer"
  39393. },
  39394. "matchuserid": {
  39395. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  39396. "type": "integer"
  39397. },
  39398. "matchusername": {
  39399. "description": "指定方",
  39400. "type": "string"
  39401. },
  39402. "minivalue": {
  39403. "description": "现货商品最小变动值",
  39404. "type": "integer"
  39405. },
  39406. "optioncompare": {
  39407. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39408. "type": "string"
  39409. },
  39410. "orderqty": {
  39411. "description": "委托数量",
  39412. "type": "number"
  39413. },
  39414. "ordertime": {
  39415. "description": "委托时间",
  39416. "type": "string"
  39417. },
  39418. "pricemove": {
  39419. "description": "升贴水(浮动价时填写) - [挂牌]",
  39420. "type": "number"
  39421. },
  39422. "tradedate": {
  39423. "description": "交易日(yyyyMMdd)",
  39424. "type": "string"
  39425. },
  39426. "tradeprice": {
  39427. "description": "成交价格",
  39428. "type": "number"
  39429. },
  39430. "tradeqty": {
  39431. "description": "成交数量",
  39432. "type": "number"
  39433. },
  39434. "userid": {
  39435. "description": "用户ID",
  39436. "type": "integer"
  39437. },
  39438. "username": {
  39439. "description": "发起方",
  39440. "type": "string"
  39441. },
  39442. "warehouseid": {
  39443. "description": "仓库ID",
  39444. "type": "integer"
  39445. },
  39446. "warehousename": {
  39447. "description": "仓库名称",
  39448. "type": "string"
  39449. },
  39450. "wrfactortypeid": {
  39451. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39452. "type": "string"
  39453. },
  39454. "wrfactortypename": {
  39455. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39456. "type": "string"
  39457. },
  39458. "wrpricetype": {
  39459. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39460. "type": "integer"
  39461. },
  39462. "wrstandardcode": {
  39463. "description": "现货商品代码",
  39464. "type": "string"
  39465. },
  39466. "wrstandardid": {
  39467. "description": "现货商品ID",
  39468. "type": "integer"
  39469. },
  39470. "wrstandardname": {
  39471. "description": "商品名称",
  39472. "type": "string"
  39473. },
  39474. "wrtradeorderid": {
  39475. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39476. "type": "string"
  39477. },
  39478. "wrtradeorderstatus": {
  39479. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  39480. "type": "integer"
  39481. },
  39482. "wrtradetype": {
  39483. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39484. "type": "integer"
  39485. },
  39486. "wrtypename": {
  39487. "description": "商品",
  39488. "type": "string"
  39489. }
  39490. }
  39491. },
  39492. "models.WrSpotGroupTradeSum": {
  39493. "type": "object",
  39494. "properties": {
  39495. "deliverygoodscode": {
  39496. "description": "现货品种代码",
  39497. "type": "string"
  39498. },
  39499. "deliverygoodsid": {
  39500. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39501. "type": "integer"
  39502. },
  39503. "deliverygoodsname": {
  39504. "description": "现货品种名称",
  39505. "type": "string"
  39506. },
  39507. "lastavgprice": {
  39508. "description": "上上个交易日价格(前2天价格)",
  39509. "type": "string"
  39510. },
  39511. "lastreckondate": {
  39512. "description": "上上个交易日(前2天交易日)",
  39513. "type": "string"
  39514. },
  39515. "reckondate": {
  39516. "description": "上个交易日(前1天交易日)",
  39517. "type": "string"
  39518. },
  39519. "todayavgprice": {
  39520. "description": "上个交易日价格(前1天价格)",
  39521. "type": "string"
  39522. },
  39523. "updown": {
  39524. "description": "涨跌",
  39525. "type": "string"
  39526. },
  39527. "updownratio": {
  39528. "description": "涨幅(已格式化, 直接显示即可)",
  39529. "type": "string"
  39530. }
  39531. }
  39532. },
  39533. "models.WrSpotGroupTradeSumDetail": {
  39534. "type": "object",
  39535. "properties": {
  39536. "deliverygoodsid": {
  39537. "description": "现货商品id",
  39538. "type": "integer"
  39539. },
  39540. "price": {
  39541. "description": "价格",
  39542. "type": "number"
  39543. },
  39544. "reckondate": {
  39545. "description": "日期(yyymmdd, 如:20211031)",
  39546. "type": "string"
  39547. }
  39548. }
  39549. },
  39550. "models.WrSpotGroupTradeSumEx": {
  39551. "type": "object",
  39552. "properties": {
  39553. "lst": {
  39554. "description": "指数列表",
  39555. "type": "array",
  39556. "items": {
  39557. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  39558. }
  39559. },
  39560. "prereckondate": {
  39561. "description": "上上个交易日(yyymmdd)",
  39562. "type": "string"
  39563. },
  39564. "reckondate": {
  39565. "description": "上个交易日(yyyymmdd)",
  39566. "type": "string"
  39567. }
  39568. }
  39569. },
  39570. "models.WrStandardFactoryItem": {
  39571. "type": "object",
  39572. "properties": {
  39573. "dgfactoryitemid": {
  39574. "description": "选择项id",
  39575. "type": "integer"
  39576. },
  39577. "dgfactoryitemvalue": {
  39578. "description": "要素项值",
  39579. "type": "string"
  39580. },
  39581. "warehouseid": {
  39582. "description": "仓库id",
  39583. "type": "integer"
  39584. }
  39585. }
  39586. },
  39587. "models.WrStandardFactoryItemEx": {
  39588. "type": "object",
  39589. "properties": {
  39590. "dgfactoryitemtypeid": {
  39591. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  39592. "type": "integer"
  39593. },
  39594. "itemlst": {
  39595. "description": "要素项列表",
  39596. "type": "array",
  39597. "items": {
  39598. "$ref": "#/definitions/models.WrStandardFactoryItem"
  39599. }
  39600. },
  39601. "itemtypename": {
  39602. "description": "要素项类型名称",
  39603. "type": "string"
  39604. },
  39605. "wrstandardid": {
  39606. "description": "品类",
  39607. "type": "integer"
  39608. }
  39609. }
  39610. },
  39611. "models.WrTradeDetail": {
  39612. "type": "object",
  39613. "properties": {
  39614. "accountid": {
  39615. "description": "资金账号",
  39616. "type": "integer"
  39617. },
  39618. "bannerpicurl": {
  39619. "description": "Banner图",
  39620. "type": "string"
  39621. },
  39622. "begindate": {
  39623. "description": "开始交易日(yyyymmdd)",
  39624. "type": "string"
  39625. },
  39626. "buyorsell": {
  39627. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39628. "type": "integer"
  39629. },
  39630. "chargevalue": {
  39631. "description": "手续费",
  39632. "type": "number"
  39633. },
  39634. "deliverygoodscode": {
  39635. "description": "品种代码",
  39636. "type": "string"
  39637. },
  39638. "deliverygoodsid": {
  39639. "description": "品种ID",
  39640. "type": "integer"
  39641. },
  39642. "deliverygoodsname": {
  39643. "description": "品种名称",
  39644. "type": "string"
  39645. },
  39646. "deliverymonth": {
  39647. "description": "交收月",
  39648. "type": "string"
  39649. },
  39650. "enddate": {
  39651. "description": "结束交易日(yyyymmdd)",
  39652. "type": "string"
  39653. },
  39654. "enumdicname": {
  39655. "description": "单位名称",
  39656. "type": "string"
  39657. },
  39658. "haswr": {
  39659. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39660. "type": "integer"
  39661. },
  39662. "marketid": {
  39663. "description": "市场ID",
  39664. "type": "integer"
  39665. },
  39666. "matchaccountid": {
  39667. "description": "对手账号",
  39668. "type": "integer"
  39669. },
  39670. "matchusername": {
  39671. "description": "对手方",
  39672. "type": "string"
  39673. },
  39674. "minivalue": {
  39675. "description": "现货商品最小变动值",
  39676. "type": "integer"
  39677. },
  39678. "optioncompare": {
  39679. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39680. "type": "string"
  39681. },
  39682. "thumurls": {
  39683. "description": "缩略图",
  39684. "type": "string"
  39685. },
  39686. "tradedate": {
  39687. "description": "交易日(yyyyMMdd)",
  39688. "type": "string"
  39689. },
  39690. "tradeprice": {
  39691. "description": "成交价格",
  39692. "type": "number"
  39693. },
  39694. "tradeqty": {
  39695. "description": "成交数量",
  39696. "type": "number"
  39697. },
  39698. "tradetime": {
  39699. "description": "成交时间",
  39700. "type": "string"
  39701. },
  39702. "userid": {
  39703. "description": "用户ID",
  39704. "type": "integer"
  39705. },
  39706. "warehouseid": {
  39707. "description": "仓库ID",
  39708. "type": "integer"
  39709. },
  39710. "warehousename": {
  39711. "description": "仓库名称",
  39712. "type": "string"
  39713. },
  39714. "wrfactortypeid": {
  39715. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39716. "type": "string"
  39717. },
  39718. "wrfactortypename": {
  39719. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39720. "type": "string"
  39721. },
  39722. "wrstandardcode": {
  39723. "description": "现货商品代码",
  39724. "type": "string"
  39725. },
  39726. "wrstandardid": {
  39727. "description": "现货商品ID",
  39728. "type": "integer"
  39729. },
  39730. "wrstandardname": {
  39731. "description": "商品名称",
  39732. "type": "string"
  39733. },
  39734. "wrtradedetailid": {
  39735. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  39736. "type": "string"
  39737. },
  39738. "wrtradetype": {
  39739. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39740. "type": "integer"
  39741. },
  39742. "wrtypename": {
  39743. "description": "商品",
  39744. "type": "string"
  39745. }
  39746. }
  39747. },
  39748. "models.WrTradeOrderDetail": {
  39749. "type": "object",
  39750. "properties": {
  39751. "buyorsell": {
  39752. "description": "买卖方向 0-买 1-卖",
  39753. "type": "integer"
  39754. },
  39755. "goodsid": {
  39756. "description": "商品id",
  39757. "type": "integer"
  39758. },
  39759. "orderid": {
  39760. "description": "委托单号",
  39761. "type": "string"
  39762. },
  39763. "orderprice": {
  39764. "description": "委托价格",
  39765. "type": "number"
  39766. },
  39767. "orderqty": {
  39768. "description": "委托数量",
  39769. "type": "integer"
  39770. },
  39771. "userid": {
  39772. "description": "用户id",
  39773. "type": "integer"
  39774. },
  39775. "username": {
  39776. "description": "用户名称(已脱敏)",
  39777. "type": "string"
  39778. }
  39779. }
  39780. },
  39781. "models.WrTypeItem": {
  39782. "type": "object",
  39783. "properties": {
  39784. "name": {
  39785. "description": "名称",
  39786. "type": "string"
  39787. },
  39788. "value": {
  39789. "description": "值",
  39790. "type": "string"
  39791. }
  39792. }
  39793. },
  39794. "models.WrUserFriend": {
  39795. "type": "object",
  39796. "properties": {
  39797. "friendname": {
  39798. "description": "朋友名称(已脱敏)",
  39799. "type": "string"
  39800. },
  39801. "frienduserid": {
  39802. "description": "朋友id",
  39803. "type": "integer"
  39804. },
  39805. "isfriend": {
  39806. "description": "是否好友 0-不是 1-是",
  39807. "type": "integer"
  39808. },
  39809. "userid": {
  39810. "description": "用户id",
  39811. "type": "integer"
  39812. }
  39813. }
  39814. },
  39815. "models.WrUserReceiptInfo": {
  39816. "type": "object",
  39817. "properties": {
  39818. "address": {
  39819. "description": "地址[发票类型:企业]",
  39820. "type": "string"
  39821. },
  39822. "autoid": {
  39823. "description": "AutoID",
  39824. "type": "integer"
  39825. },
  39826. "contactinfo": {
  39827. "description": "联系方式",
  39828. "type": "string"
  39829. },
  39830. "idnum": {
  39831. "description": "身份证号码[发票类型:个人]",
  39832. "type": "string"
  39833. },
  39834. "isdefault": {
  39835. "description": "是否默认地址 - 0:否 1:是",
  39836. "type": "integer"
  39837. },
  39838. "receiptaccount": {
  39839. "description": "发票帐号[发票类型:企业]",
  39840. "type": "string"
  39841. },
  39842. "receiptbank": {
  39843. "description": "发票开户行[发票类型:企业]",
  39844. "type": "string"
  39845. },
  39846. "receipttype": {
  39847. "description": "发票类型 - 1:个人 2:企业",
  39848. "type": "integer"
  39849. },
  39850. "taxpayerid": {
  39851. "description": "纳税人识别号",
  39852. "type": "string"
  39853. },
  39854. "userid": {
  39855. "description": "用户ID",
  39856. "type": "integer"
  39857. },
  39858. "username": {
  39859. "description": "户名(个人姓名或企业名称)",
  39860. "type": "string"
  39861. }
  39862. }
  39863. },
  39864. "models.XHBRAND": {
  39865. "type": "object",
  39866. "properties": {
  39867. "brandid": {
  39868. "description": "品牌id",
  39869. "type": "integer"
  39870. },
  39871. "brandname": {
  39872. "description": "品牌名称",
  39873. "type": "string"
  39874. },
  39875. "isvalid": {
  39876. "description": "是否有效 0-无效 1-有效",
  39877. "type": "integer"
  39878. }
  39879. }
  39880. },
  39881. "models.XHDeliveryGoods": {
  39882. "type": "object",
  39883. "properties": {
  39884. "areauserid": {
  39885. "description": "所属机构",
  39886. "type": "integer"
  39887. },
  39888. "bdlst": {
  39889. "description": "品牌列表",
  39890. "type": "array",
  39891. "items": {
  39892. "$ref": "#/definitions/models.XHBRAND"
  39893. }
  39894. },
  39895. "deliverygoodscode": {
  39896. "description": "现货品种代码",
  39897. "type": "string"
  39898. },
  39899. "deliverygoodsid": {
  39900. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39901. "type": "integer"
  39902. },
  39903. "deliverygoodsname": {
  39904. "description": "现货品种名称",
  39905. "type": "string"
  39906. },
  39907. "dgstatus": {
  39908. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  39909. "type": "integer"
  39910. },
  39911. "filterSubEmpty": {
  39912. "description": "过滤下级为空的",
  39913. "type": "integer"
  39914. },
  39915. "isvalid": {
  39916. "description": "是否有效 - 0:无效 1:有效",
  39917. "type": "integer"
  39918. },
  39919. "remark": {
  39920. "description": "备注",
  39921. "type": "string"
  39922. },
  39923. "unitid": {
  39924. "description": "单位id(目前看,数据库中是空值)",
  39925. "type": "integer"
  39926. },
  39927. "wdlst": {
  39928. "description": "品类(现货商品)列表",
  39929. "type": "array",
  39930. "items": {
  39931. "$ref": "#/definitions/models.XHWrstandard"
  39932. }
  39933. }
  39934. }
  39935. },
  39936. "models.XHMiddleGoods": {
  39937. "type": "object",
  39938. "properties": {
  39939. "GPLST": {
  39940. "description": "期货品种列表",
  39941. "type": "array",
  39942. "items": {
  39943. "$ref": "#/definitions/models.TBGoodsGroup"
  39944. }
  39945. },
  39946. "convertratio": {
  39947. "description": "拆算系数",
  39948. "type": "number"
  39949. },
  39950. "costratio": {
  39951. "description": "成本权重",
  39952. "type": "number"
  39953. },
  39954. "deliverygoodsid": {
  39955. "description": "现货商品id",
  39956. "type": "integer"
  39957. },
  39958. "enumdicname": {
  39959. "description": "单位名称",
  39960. "type": "string"
  39961. },
  39962. "middlegoodscode": {
  39963. "description": "套保品种代码",
  39964. "type": "string"
  39965. },
  39966. "middlegoodsid": {
  39967. "description": "套保品种id",
  39968. "type": "integer"
  39969. },
  39970. "middlegoodsname": {
  39971. "description": "套保品种名称",
  39972. "type": "string"
  39973. },
  39974. "unitid": {
  39975. "description": "单位id",
  39976. "type": "integer"
  39977. }
  39978. }
  39979. },
  39980. "models.XHWrstandard": {
  39981. "type": "object",
  39982. "properties": {
  39983. "bannerpicurl": {
  39984. "description": "banner图",
  39985. "type": "string"
  39986. },
  39987. "deliverygoodsid": {
  39988. "description": "品种ID",
  39989. "type": "integer"
  39990. },
  39991. "enumdicname": {
  39992. "description": "单位名称",
  39993. "type": "string"
  39994. },
  39995. "mglst": {
  39996. "description": "套保品列表",
  39997. "type": "array",
  39998. "items": {
  39999. "$ref": "#/definitions/models.XHMiddleGoods"
  40000. }
  40001. },
  40002. "pictureurls": {
  40003. "description": "详情图片(逗号分隔)",
  40004. "type": "string"
  40005. },
  40006. "thumurls": {
  40007. "description": "缩略图片(1:1)(逗号分隔)",
  40008. "type": "string"
  40009. },
  40010. "unitid": {
  40011. "description": "单位id",
  40012. "type": "integer"
  40013. },
  40014. "vatrate": {
  40015. "description": "增值税率",
  40016. "type": "number"
  40017. },
  40018. "wrstandardcode": {
  40019. "description": "现货商品代码",
  40020. "type": "string"
  40021. },
  40022. "wrstandardid": {
  40023. "description": "现货商品ID(SEQ_WRSTANDARD)",
  40024. "type": "integer"
  40025. },
  40026. "wrstandardname": {
  40027. "description": "现货商品名称",
  40028. "type": "string"
  40029. }
  40030. }
  40031. },
  40032. "models.XhcpSellBackApplyEx": {
  40033. "type": "object",
  40034. "required": [
  40035. "userid"
  40036. ],
  40037. "properties": {
  40038. "applyremark": {
  40039. "description": "申请备注",
  40040. "type": "string"
  40041. },
  40042. "expirytype": {
  40043. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  40044. "type": "integer"
  40045. },
  40046. "goodsspec": {
  40047. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  40048. "type": "integer"
  40049. },
  40050. "holeflag": {
  40051. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  40052. "type": "integer"
  40053. },
  40054. "isunopened": {
  40055. "description": "是否原封 - 1:否 2:是",
  40056. "type": "integer"
  40057. },
  40058. "mpflag": {
  40059. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  40060. "type": "integer"
  40061. },
  40062. "openflag": {
  40063. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  40064. "type": "integer"
  40065. },
  40066. "phonenum": {
  40067. "description": "联系电话",
  40068. "type": "string"
  40069. },
  40070. "userid": {
  40071. "description": "所属用户ID",
  40072. "type": "integer"
  40073. },
  40074. "zpflag": {
  40075. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  40076. "type": "integer"
  40077. }
  40078. }
  40079. },
  40080. "models.Xhcpsellbackapply": {
  40081. "type": "object",
  40082. "required": [
  40083. "userid"
  40084. ],
  40085. "properties": {
  40086. "applyid": {
  40087. "description": "申请人",
  40088. "type": "integer"
  40089. },
  40090. "applyremark": {
  40091. "description": "申请备注",
  40092. "type": "string"
  40093. },
  40094. "applysrc": {
  40095. "description": "申请来源 - 1:管理端 2:终端",
  40096. "type": "integer"
  40097. },
  40098. "applystatus": {
  40099. "description": "申请状态 - 1:待确认 2:已处理",
  40100. "type": "integer"
  40101. },
  40102. "applytime": {
  40103. "description": "申请时间",
  40104. "type": "string"
  40105. },
  40106. "auditremark": {
  40107. "description": "审核备注",
  40108. "type": "string"
  40109. },
  40110. "auditsrc": {
  40111. "description": "审核来源 - 1:管理端 2:终端",
  40112. "type": "integer"
  40113. },
  40114. "expirytype": {
  40115. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  40116. "type": "integer"
  40117. },
  40118. "goodsspec": {
  40119. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  40120. "type": "integer"
  40121. },
  40122. "holeflag": {
  40123. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  40124. "type": "integer"
  40125. },
  40126. "isunopened": {
  40127. "description": "是否原封 - 1:否 2:是",
  40128. "type": "integer"
  40129. },
  40130. "mpflag": {
  40131. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  40132. "type": "integer"
  40133. },
  40134. "openflag": {
  40135. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  40136. "type": "integer"
  40137. },
  40138. "phonenum": {
  40139. "description": "联系电话",
  40140. "type": "string"
  40141. },
  40142. "sellbackapplyid": {
  40143. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  40144. "type": "string"
  40145. },
  40146. "userid": {
  40147. "description": "所属用户ID",
  40148. "type": "integer"
  40149. },
  40150. "zpflag": {
  40151. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  40152. "type": "integer"
  40153. }
  40154. }
  40155. },
  40156. "order.QueryHisTradeDetailRsp": {
  40157. "type": "object",
  40158. "required": [
  40159. "accountid",
  40160. "buyorsell",
  40161. "goodsid",
  40162. "histradedate",
  40163. "marketid",
  40164. "memberuserid",
  40165. "orderid",
  40166. "tradeamount",
  40167. "tradedate",
  40168. "tradeid",
  40169. "tradeprice",
  40170. "tradeqty",
  40171. "tradetime"
  40172. ],
  40173. "properties": {
  40174. "accountid": {
  40175. "description": "账户ID[报价币种]",
  40176. "type": "integer"
  40177. },
  40178. "advanceratio": {
  40179. "description": "首付比率",
  40180. "type": "number"
  40181. },
  40182. "buildtype": {
  40183. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  40184. "type": "integer"
  40185. },
  40186. "buyorsell": {
  40187. "description": "方向 - 0:买 1:卖",
  40188. "type": "integer"
  40189. },
  40190. "charge": {
  40191. "description": "手续费",
  40192. "type": "number"
  40193. },
  40194. "closecharge": {
  40195. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  40196. "type": "number"
  40197. },
  40198. "closeexchagechargevalue": {
  40199. "description": "平仓交易所手续费设置值",
  40200. "type": "number"
  40201. },
  40202. "closefeealgorithm": {
  40203. "description": "平仓手续费收取方式 1:比率 2:固定",
  40204. "type": "integer"
  40205. },
  40206. "closememberchargevalue": {
  40207. "description": "平仓会员手续费设置值",
  40208. "type": "number"
  40209. },
  40210. "closepl": {
  40211. "description": "平仓盈亏",
  40212. "type": "number"
  40213. },
  40214. "closepl2": {
  40215. "description": "平仓盈亏[逐笔]",
  40216. "type": "number"
  40217. },
  40218. "closeqty": {
  40219. "description": "平仓数量(先建后平操作 需要记录)",
  40220. "type": "number"
  40221. },
  40222. "creditamount": {
  40223. "description": "授信金额",
  40224. "type": "number"
  40225. },
  40226. "decimalplace": {
  40227. "description": "商品报价小数位",
  40228. "type": "integer"
  40229. },
  40230. "enumdicname": {
  40231. "description": "单位名称",
  40232. "type": "string"
  40233. },
  40234. "gcaccountid": {
  40235. "description": "账户ID[合约币种]",
  40236. "type": "integer"
  40237. },
  40238. "goodscode": {
  40239. "description": "商品代码",
  40240. "type": "string"
  40241. },
  40242. "goodsid": {
  40243. "description": "商品ID",
  40244. "type": "integer"
  40245. },
  40246. "goodsname": {
  40247. "description": "商品名称",
  40248. "type": "string"
  40249. },
  40250. "goodunitid": {
  40251. "description": "商品单位id",
  40252. "type": "integer"
  40253. },
  40254. "histradedate": {
  40255. "description": "历史交易日",
  40256. "type": "string"
  40257. },
  40258. "intclosepl": {
  40259. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  40260. "type": "integer"
  40261. },
  40262. "isconfirmexercise": {
  40263. "description": "是否确认行权- 0:否 1:是",
  40264. "type": "integer"
  40265. },
  40266. "ismain": {
  40267. "description": "是否主单 - 0:不是 1:是",
  40268. "type": "integer"
  40269. },
  40270. "ispreexercise": {
  40271. "description": "是否预申报- 0:否 1:是",
  40272. "type": "integer"
  40273. },
  40274. "isreckoned": {
  40275. "description": "是否结算 - 0:未结算 1:已结算",
  40276. "type": "integer"
  40277. },
  40278. "isvaliddata": {
  40279. "description": "是否有效 - 0:无效 1:有效",
  40280. "type": "integer"
  40281. },
  40282. "listingselecttype": {
  40283. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  40284. "type": "integer"
  40285. },
  40286. "marketid": {
  40287. "description": "市场ID",
  40288. "type": "integer"
  40289. },
  40290. "marketname": {
  40291. "description": "市场名称",
  40292. "type": "string"
  40293. },
  40294. "matchaccountid": {
  40295. "description": "对手账号id",
  40296. "type": "integer"
  40297. },
  40298. "memberuserid": {
  40299. "description": "会员id 个人投资者 需要填写",
  40300. "type": "integer"
  40301. },
  40302. "opencharge": {
  40303. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  40304. "type": "number"
  40305. },
  40306. "openexchagechargevalue": {
  40307. "description": "建仓交易所手续费设置值",
  40308. "type": "number"
  40309. },
  40310. "openfeealgorithm": {
  40311. "description": "建仓手续费收取方式 1:比率 2:固定",
  40312. "type": "integer"
  40313. },
  40314. "openmemberchargevalue": {
  40315. "description": "建仓会员手续费设置值",
  40316. "type": "number"
  40317. },
  40318. "openqty": {
  40319. "description": "开仓数量(先建后平操作 需要记录)",
  40320. "type": "number"
  40321. },
  40322. "optiontype": {
  40323. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40324. "type": "integer"
  40325. },
  40326. "orderid": {
  40327. "description": "委托单号",
  40328. "type": "string"
  40329. },
  40330. "payamount": {
  40331. "description": "支付金额(付款金额)",
  40332. "type": "number"
  40333. },
  40334. "performanceplanid": {
  40335. "description": "履约计划ID[期权]",
  40336. "type": "integer"
  40337. },
  40338. "performancestatus": {
  40339. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  40340. "type": "integer"
  40341. },
  40342. "preexerciseprice": {
  40343. "description": "预申报价格",
  40344. "type": "number"
  40345. },
  40346. "premium": {
  40347. "description": "权利金 - [持仓单的权利金]",
  40348. "type": "number"
  40349. },
  40350. "qtydecimalplace": {
  40351. "description": "商品报价小数位",
  40352. "type": "integer"
  40353. },
  40354. "recvamount": {
  40355. "description": "到账金额 = 成交金额 - 手续费",
  40356. "type": "number"
  40357. },
  40358. "relatedouttradeid": {
  40359. "description": "关联外部成交单ID",
  40360. "type": "integer"
  40361. },
  40362. "status": {
  40363. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  40364. "type": "integer"
  40365. },
  40366. "totalamount": {
  40367. "description": "订单总额 = 成交金额 + 手续费",
  40368. "type": "number"
  40369. },
  40370. "tradeamount": {
  40371. "description": "成交金额[账户币种,用于所有权]",
  40372. "type": "number"
  40373. },
  40374. "tradedate": {
  40375. "description": "交易日(yyyyMMdd)",
  40376. "type": "string"
  40377. },
  40378. "tradeid": {
  40379. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40380. "type": "string"
  40381. },
  40382. "trademode": {
  40383. "description": "交易模式",
  40384. "type": "integer"
  40385. },
  40386. "tradeprice": {
  40387. "description": "成交价格",
  40388. "type": "number"
  40389. },
  40390. "tradeproperty": {
  40391. "description": "交易属性",
  40392. "type": "integer"
  40393. },
  40394. "tradeqty": {
  40395. "description": "成交数量",
  40396. "type": "number"
  40397. },
  40398. "tradetime": {
  40399. "description": "成交时间",
  40400. "type": "string"
  40401. },
  40402. "tradetype": {
  40403. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  40404. "type": "integer"
  40405. }
  40406. }
  40407. },
  40408. "order.QueryHisTradeOrderDetailRsp": {
  40409. "type": "object",
  40410. "required": [
  40411. "accountid",
  40412. "buildtype",
  40413. "buyorsell",
  40414. "goodsid",
  40415. "histradedate",
  40416. "marketid",
  40417. "memberuserid",
  40418. "operatetype",
  40419. "orderid",
  40420. "orderqty",
  40421. "ordertime",
  40422. "pricemode",
  40423. "tradedate",
  40424. "validtype"
  40425. ],
  40426. "properties": {
  40427. "accountid": {
  40428. "description": "账户ID[报价币种]",
  40429. "type": "integer"
  40430. },
  40431. "buildtype": {
  40432. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  40433. "type": "integer"
  40434. },
  40435. "buyorsell": {
  40436. "description": "买卖 - 0:买 1:卖",
  40437. "type": "integer"
  40438. },
  40439. "cancelorderid": {
  40440. "description": "撤单单号(撤单时填写)",
  40441. "type": "string"
  40442. },
  40443. "cancelqty": {
  40444. "description": "撤单数量",
  40445. "type": "number"
  40446. },
  40447. "clientordertime": {
  40448. "description": "客户端委托时间",
  40449. "type": "string"
  40450. },
  40451. "clientticket": {
  40452. "description": "客户端流水号",
  40453. "type": "string"
  40454. },
  40455. "clienttype": {
  40456. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  40457. "type": "integer"
  40458. },
  40459. "closeexchagechargevalue": {
  40460. "description": "平仓交易所手续费设置值",
  40461. "type": "number"
  40462. },
  40463. "closefeealgorithm": {
  40464. "description": "平仓手续费收取方式 1:比率 2:固定",
  40465. "type": "integer"
  40466. },
  40467. "closefreezecharge": {
  40468. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  40469. "type": "number"
  40470. },
  40471. "closememberchargevalue": {
  40472. "description": "平仓会员手续费设置值",
  40473. "type": "number"
  40474. },
  40475. "closeqty": {
  40476. "description": "平仓数量(先建后平操作 需要记录)",
  40477. "type": "number"
  40478. },
  40479. "closetradeqty": {
  40480. "description": "平仓成交数量(先建后平操作,需要记录)",
  40481. "type": "number"
  40482. },
  40483. "closeunfreezecharge": {
  40484. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  40485. "type": "number"
  40486. },
  40487. "decimalplace": {
  40488. "description": "商品报价小数位",
  40489. "type": "integer"
  40490. },
  40491. "delistingtype": {
  40492. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  40493. "type": "integer"
  40494. },
  40495. "enumdicname": {
  40496. "description": "单位名称",
  40497. "type": "string"
  40498. },
  40499. "freezecharge": {
  40500. "description": "冻结手续费",
  40501. "type": "number"
  40502. },
  40503. "freezemargin": {
  40504. "description": "冻结保证金(冻结交易金额)",
  40505. "type": "number"
  40506. },
  40507. "gcaccountid": {
  40508. "description": "账户ID[合约币种]",
  40509. "type": "integer"
  40510. },
  40511. "goodscode": {
  40512. "description": "商品代码",
  40513. "type": "string"
  40514. },
  40515. "goodsid": {
  40516. "description": "商品ID",
  40517. "type": "integer"
  40518. },
  40519. "goodsname": {
  40520. "description": "商品名称",
  40521. "type": "string"
  40522. },
  40523. "goodunitid": {
  40524. "description": "商品单位id",
  40525. "type": "integer"
  40526. },
  40527. "histradedate": {
  40528. "description": "历史交易日",
  40529. "type": "string"
  40530. },
  40531. "isconfirmexercise": {
  40532. "description": "是否确认行权- 0:否 1:是",
  40533. "type": "integer"
  40534. },
  40535. "ispreexercise": {
  40536. "description": "是否预申报- 0:否 1:是",
  40537. "type": "integer"
  40538. },
  40539. "isvaliddata": {
  40540. "description": "是否有效 - 0:无效 1:有效",
  40541. "type": "integer"
  40542. },
  40543. "listingselecttype": {
  40544. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  40545. "type": "integer"
  40546. },
  40547. "marginalgorithm": {
  40548. "description": "保证金收取方式 1:比率 2:固定",
  40549. "type": "integer"
  40550. },
  40551. "marginvalue": {
  40552. "description": "即市保证金设置值",
  40553. "type": "number"
  40554. },
  40555. "marketid": {
  40556. "description": "市场ID",
  40557. "type": "integer"
  40558. },
  40559. "marketmaxsub": {
  40560. "description": "市价最大偏移范围",
  40561. "type": "number"
  40562. },
  40563. "marketname": {
  40564. "description": "市场名称",
  40565. "type": "string"
  40566. },
  40567. "memberuserid": {
  40568. "description": "所属会员UserID",
  40569. "type": "integer"
  40570. },
  40571. "openexchagechargevalue": {
  40572. "description": "建仓交易所手续费设置值",
  40573. "type": "number"
  40574. },
  40575. "openfeealgorithm": {
  40576. "description": "建仓手续费收取方式 1:比率 2:固定",
  40577. "type": "integer"
  40578. },
  40579. "openfreezecharge": {
  40580. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  40581. "type": "number"
  40582. },
  40583. "openmemberchargevalue": {
  40584. "description": "建仓会员手续费设置值",
  40585. "type": "number"
  40586. },
  40587. "openqty": {
  40588. "description": "开仓数量(先建后平操作,需要记录)",
  40589. "type": "number"
  40590. },
  40591. "opentradeqty": {
  40592. "description": "开仓成交数量(先建后平操作,需要记录)",
  40593. "type": "number"
  40594. },
  40595. "openunfreezecharge": {
  40596. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  40597. "type": "number"
  40598. },
  40599. "operatetype": {
  40600. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  40601. "type": "integer"
  40602. },
  40603. "operatorid": {
  40604. "description": "登录账号(LoginID)",
  40605. "type": "integer"
  40606. },
  40607. "optiontype": {
  40608. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40609. "type": "integer"
  40610. },
  40611. "orderid": {
  40612. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40613. "type": "string"
  40614. },
  40615. "orderprice": {
  40616. "description": "委托价格",
  40617. "type": "number"
  40618. },
  40619. "orderqty": {
  40620. "description": "委托数量",
  40621. "type": "number"
  40622. },
  40623. "ordersrc": {
  40624. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  40625. "type": "integer"
  40626. },
  40627. "orderstatus": {
  40628. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  40629. "type": "integer"
  40630. },
  40631. "ordertime": {
  40632. "description": "委托时间",
  40633. "type": "string"
  40634. },
  40635. "preexerciseprice": {
  40636. "description": "预申报价格",
  40637. "type": "number"
  40638. },
  40639. "premium": {
  40640. "description": "权利金",
  40641. "type": "number"
  40642. },
  40643. "preorderid": {
  40644. "description": "关联预埋单号(止盈止损单时填写)",
  40645. "type": "string"
  40646. },
  40647. "pricemode": {
  40648. "description": "取价方式 - 1:市价 2: 限价",
  40649. "type": "integer"
  40650. },
  40651. "qtydecimalplace": {
  40652. "description": "成交量小数位",
  40653. "type": "integer"
  40654. },
  40655. "quoteid": {
  40656. "description": "报价单ID",
  40657. "type": "integer"
  40658. },
  40659. "relatedid": {
  40660. "description": "关联单号(交割单)",
  40661. "type": "string"
  40662. },
  40663. "retcode": {
  40664. "description": "错误代码",
  40665. "type": "integer"
  40666. },
  40667. "sessionid": {
  40668. "description": "会话ID",
  40669. "type": "integer"
  40670. },
  40671. "tradedate": {
  40672. "description": "交易日(yyyyMMdd)",
  40673. "type": "string"
  40674. },
  40675. "trademode": {
  40676. "description": "交易模式",
  40677. "type": "integer"
  40678. },
  40679. "tradeproperty": {
  40680. "description": "交易属性",
  40681. "type": "integer"
  40682. },
  40683. "tradeqty": {
  40684. "description": "成交数量",
  40685. "type": "number"
  40686. },
  40687. "unfreezecharge": {
  40688. "description": "解冻手续费",
  40689. "type": "number"
  40690. },
  40691. "unfreezemargin": {
  40692. "description": "解冻保证金",
  40693. "type": "number"
  40694. },
  40695. "updatetime": {
  40696. "description": "更新时间",
  40697. "type": "string"
  40698. },
  40699. "uuid": {
  40700. "description": "发起端唯一id",
  40701. "type": "string"
  40702. },
  40703. "validtime": {
  40704. "description": "有效期限",
  40705. "type": "string"
  40706. },
  40707. "validtype": {
  40708. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  40709. "type": "integer"
  40710. },
  40711. "volumetype": {
  40712. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  40713. "type": "integer"
  40714. }
  40715. }
  40716. },
  40717. "order.QueryTradeDetailRsp": {
  40718. "type": "object",
  40719. "required": [
  40720. "accountid",
  40721. "buyorsell",
  40722. "goodsid",
  40723. "marketid",
  40724. "memberuserid",
  40725. "orderid",
  40726. "tradeamount",
  40727. "tradedate",
  40728. "tradeid",
  40729. "tradeprice",
  40730. "tradeqty",
  40731. "tradetime"
  40732. ],
  40733. "properties": {
  40734. "accountid": {
  40735. "description": "账户ID[报价币种]",
  40736. "type": "integer"
  40737. },
  40738. "advanceratio": {
  40739. "description": "首付比率",
  40740. "type": "number"
  40741. },
  40742. "buildtype": {
  40743. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  40744. "type": "integer"
  40745. },
  40746. "buyorsell": {
  40747. "description": "方向 - 0:买 1:卖",
  40748. "type": "integer"
  40749. },
  40750. "charge": {
  40751. "description": "手续费",
  40752. "type": "number"
  40753. },
  40754. "closecharge": {
  40755. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  40756. "type": "number"
  40757. },
  40758. "closeexchagechargevalue": {
  40759. "description": "平仓交易所手续费设置值",
  40760. "type": "number"
  40761. },
  40762. "closefeealgorithm": {
  40763. "description": "平仓手续费收取方式 1:比率 2:固定",
  40764. "type": "integer"
  40765. },
  40766. "closememberchargevalue": {
  40767. "description": "平仓会员手续费设置值",
  40768. "type": "number"
  40769. },
  40770. "closepl": {
  40771. "description": "平仓盈亏",
  40772. "type": "number"
  40773. },
  40774. "closepl2": {
  40775. "description": "平仓盈亏[逐笔]",
  40776. "type": "number"
  40777. },
  40778. "closeqty": {
  40779. "description": "平仓数量(先建后平操作 需要记录)",
  40780. "type": "number"
  40781. },
  40782. "creditamount": {
  40783. "description": "授信金额",
  40784. "type": "number"
  40785. },
  40786. "decimalplace": {
  40787. "description": "商品报价小数位",
  40788. "type": "integer"
  40789. },
  40790. "enumdicname": {
  40791. "description": "单位名称",
  40792. "type": "string"
  40793. },
  40794. "gcaccountid": {
  40795. "description": "账户ID[合约币种]",
  40796. "type": "integer"
  40797. },
  40798. "goodscode": {
  40799. "description": "商品代码",
  40800. "type": "string"
  40801. },
  40802. "goodsid": {
  40803. "description": "商品ID",
  40804. "type": "integer"
  40805. },
  40806. "goodsname": {
  40807. "description": "商品名称",
  40808. "type": "string"
  40809. },
  40810. "goodunitid": {
  40811. "description": "商品单位id",
  40812. "type": "integer"
  40813. },
  40814. "intclosepl": {
  40815. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  40816. "type": "integer"
  40817. },
  40818. "isconfirmexercise": {
  40819. "description": "是否确认行权- 0:否 1:是",
  40820. "type": "integer"
  40821. },
  40822. "ismain": {
  40823. "description": "是否主单 - 0:不是 1:是",
  40824. "type": "integer"
  40825. },
  40826. "ispreexercise": {
  40827. "description": "是否预申报- 0:否 1:是",
  40828. "type": "integer"
  40829. },
  40830. "isreckoned": {
  40831. "description": "是否结算 - 0:未结算 1:已结算",
  40832. "type": "integer"
  40833. },
  40834. "listingselecttype": {
  40835. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  40836. "type": "integer"
  40837. },
  40838. "marketid": {
  40839. "description": "市场ID",
  40840. "type": "integer"
  40841. },
  40842. "marketname": {
  40843. "description": "市场名称",
  40844. "type": "string"
  40845. },
  40846. "matchaccountid": {
  40847. "description": "对手账号id",
  40848. "type": "integer"
  40849. },
  40850. "memberuserid": {
  40851. "description": "会员id 个人投资者 需要填写",
  40852. "type": "integer"
  40853. },
  40854. "opencharge": {
  40855. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  40856. "type": "number"
  40857. },
  40858. "openexchagechargevalue": {
  40859. "description": "建仓交易所手续费设置值",
  40860. "type": "number"
  40861. },
  40862. "openfeealgorithm": {
  40863. "description": "建仓手续费收取方式 1:比率 2:固定",
  40864. "type": "integer"
  40865. },
  40866. "openmemberchargevalue": {
  40867. "description": "建仓会员手续费设置值",
  40868. "type": "number"
  40869. },
  40870. "openqty": {
  40871. "description": "开仓数量(先建后平操作 需要记录)",
  40872. "type": "number"
  40873. },
  40874. "optiontype": {
  40875. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40876. "type": "integer"
  40877. },
  40878. "orderid": {
  40879. "description": "委托单号",
  40880. "type": "string"
  40881. },
  40882. "payamount": {
  40883. "description": "支付金额(付款金额)",
  40884. "type": "number"
  40885. },
  40886. "performanceplanid": {
  40887. "description": "履约计划ID[期权]",
  40888. "type": "integer"
  40889. },
  40890. "performancestatus": {
  40891. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  40892. "type": "integer"
  40893. },
  40894. "preexerciseprice": {
  40895. "description": "预申报价格",
  40896. "type": "number"
  40897. },
  40898. "premium": {
  40899. "description": "权利金 - [持仓单的权利金]",
  40900. "type": "number"
  40901. },
  40902. "qtydecimalplace": {
  40903. "description": "商品报价小数位",
  40904. "type": "integer"
  40905. },
  40906. "recvamount": {
  40907. "description": "到账金额 = 成交金额 - 手续费",
  40908. "type": "number"
  40909. },
  40910. "relatedouttradeid": {
  40911. "description": "关联外部成交单ID",
  40912. "type": "integer"
  40913. },
  40914. "status": {
  40915. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  40916. "type": "integer"
  40917. },
  40918. "totalamount": {
  40919. "description": "订单总额 = 成交金额 + 手续费",
  40920. "type": "number"
  40921. },
  40922. "tradeamount": {
  40923. "description": "成交金额[账户币种,用于所有权]",
  40924. "type": "number"
  40925. },
  40926. "tradedate": {
  40927. "description": "交易日(yyyyMMdd)",
  40928. "type": "string"
  40929. },
  40930. "tradeid": {
  40931. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40932. "type": "string"
  40933. },
  40934. "trademode": {
  40935. "description": "交易模式",
  40936. "type": "integer"
  40937. },
  40938. "tradeprice": {
  40939. "description": "成交价格",
  40940. "type": "number"
  40941. },
  40942. "tradeproperty": {
  40943. "description": "交易属性",
  40944. "type": "integer"
  40945. },
  40946. "tradeqty": {
  40947. "description": "成交数量",
  40948. "type": "number"
  40949. },
  40950. "tradetime": {
  40951. "description": "成交时间",
  40952. "type": "string"
  40953. },
  40954. "tradetype": {
  40955. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  40956. "type": "integer"
  40957. }
  40958. }
  40959. },
  40960. "order.QueryTradeOrderDetailRsp": {
  40961. "type": "object",
  40962. "required": [
  40963. "accountid",
  40964. "buildtype",
  40965. "buyorsell",
  40966. "goodsid",
  40967. "marketid",
  40968. "operatetype",
  40969. "orderqty",
  40970. "ordertime",
  40971. "pricemode",
  40972. "tradedate",
  40973. "validtype"
  40974. ],
  40975. "properties": {
  40976. "accountid": {
  40977. "description": "账户ID[报价币种]",
  40978. "type": "integer"
  40979. },
  40980. "buildtype": {
  40981. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  40982. "type": "integer"
  40983. },
  40984. "buyorsell": {
  40985. "description": "买卖 - 0:买 1:卖",
  40986. "type": "integer"
  40987. },
  40988. "cancelorderid": {
  40989. "description": "撤单单号(撤单时填写)",
  40990. "type": "string"
  40991. },
  40992. "cancelqty": {
  40993. "description": "撤单数量",
  40994. "type": "number"
  40995. },
  40996. "clienttype": {
  40997. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  40998. "type": "integer"
  40999. },
  41000. "closefreezecharge": {
  41001. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  41002. "type": "number"
  41003. },
  41004. "closeqty": {
  41005. "description": "平仓数量(先建后平操作 需要记录)",
  41006. "type": "number"
  41007. },
  41008. "closetradeqty": {
  41009. "description": "平仓成交数量(先建后平操作,需要记录)",
  41010. "type": "number"
  41011. },
  41012. "closeunfreezecharge": {
  41013. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  41014. "type": "number"
  41015. },
  41016. "decimalplace": {
  41017. "description": "商品报价小数位",
  41018. "type": "integer"
  41019. },
  41020. "delistingtype": {
  41021. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  41022. "type": "integer"
  41023. },
  41024. "enableqty": {
  41025. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  41026. "type": "number"
  41027. },
  41028. "enumdicname": {
  41029. "description": "单位名称",
  41030. "type": "string"
  41031. },
  41032. "freezecharge": {
  41033. "description": "冻结手续费",
  41034. "type": "number"
  41035. },
  41036. "freezemargin": {
  41037. "description": "冻结保证金(冻结交易金额)",
  41038. "type": "number"
  41039. },
  41040. "goodscode": {
  41041. "description": "商品代码",
  41042. "type": "string"
  41043. },
  41044. "goodsid": {
  41045. "description": "商品ID",
  41046. "type": "integer"
  41047. },
  41048. "goodsname": {
  41049. "description": "商品名称",
  41050. "type": "string"
  41051. },
  41052. "goodunitid": {
  41053. "description": "商品单位id",
  41054. "type": "integer"
  41055. },
  41056. "listingselecttype": {
  41057. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  41058. "type": "integer"
  41059. },
  41060. "marketid": {
  41061. "description": "市场ID",
  41062. "type": "integer"
  41063. },
  41064. "marketname": {
  41065. "description": "市场名称",
  41066. "type": "string"
  41067. },
  41068. "openfreezecharge": {
  41069. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  41070. "type": "number"
  41071. },
  41072. "openqty": {
  41073. "description": "开仓数量(先建后平操作,需要记录)",
  41074. "type": "number"
  41075. },
  41076. "opentradeqty": {
  41077. "description": "开仓成交数量(先建后平操作,需要记录)",
  41078. "type": "number"
  41079. },
  41080. "openunfreezecharge": {
  41081. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  41082. "type": "number"
  41083. },
  41084. "operatetype": {
  41085. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  41086. "type": "integer"
  41087. },
  41088. "operatorid": {
  41089. "description": "登录账号(LoginID)",
  41090. "type": "integer"
  41091. },
  41092. "orderid": {
  41093. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  41094. "type": "string"
  41095. },
  41096. "orderprice": {
  41097. "description": "委托价格",
  41098. "type": "number"
  41099. },
  41100. "orderqty": {
  41101. "description": "委托数量",
  41102. "type": "number"
  41103. },
  41104. "ordersrc": {
  41105. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  41106. "type": "integer"
  41107. },
  41108. "orderstatus": {
  41109. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  41110. "type": "integer"
  41111. },
  41112. "ordertime": {
  41113. "description": "委托时间",
  41114. "type": "string"
  41115. },
  41116. "preorderid": {
  41117. "description": "关联预埋单号(止盈止损单时填写)",
  41118. "type": "string"
  41119. },
  41120. "pricemode": {
  41121. "description": "取价方式 - 1:市价 2: 限价",
  41122. "type": "integer"
  41123. },
  41124. "qtydecimalplace": {
  41125. "description": "商品报价小数位",
  41126. "type": "integer"
  41127. },
  41128. "relatedid": {
  41129. "description": "关联单号(交割单)",
  41130. "type": "string"
  41131. },
  41132. "tradedate": {
  41133. "description": "交易日(yyyyMMdd)",
  41134. "type": "string"
  41135. },
  41136. "trademode": {
  41137. "description": "交易模式",
  41138. "type": "integer"
  41139. },
  41140. "tradeqty": {
  41141. "description": "成交数量",
  41142. "type": "number"
  41143. },
  41144. "unfreezecharge": {
  41145. "description": "解冻手续费",
  41146. "type": "number"
  41147. },
  41148. "unfreezemargin": {
  41149. "description": "解冻保证金",
  41150. "type": "number"
  41151. },
  41152. "validtime": {
  41153. "description": "有效期限",
  41154. "type": "string"
  41155. },
  41156. "validtype": {
  41157. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  41158. "type": "integer"
  41159. },
  41160. "volumetype": {
  41161. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  41162. "type": "integer"
  41163. }
  41164. }
  41165. },
  41166. "order.QueryTradePositionRsp": {
  41167. "type": "object",
  41168. "required": [
  41169. "goodsid"
  41170. ],
  41171. "properties": {
  41172. "accountid": {
  41173. "description": "资金账户",
  41174. "type": "integer"
  41175. },
  41176. "agreeunit": {
  41177. "description": "合约单位",
  41178. "type": "number"
  41179. },
  41180. "averageprice": {
  41181. "description": "持仓均价",
  41182. "type": "number"
  41183. },
  41184. "buyorsell": {
  41185. "description": "方向 - 0:买 1:卖",
  41186. "type": "integer"
  41187. },
  41188. "closetotalqty": {
  41189. "description": "平仓总数量",
  41190. "type": "number"
  41191. },
  41192. "curholderamount": {
  41193. "description": "当前持仓总金额[商品币种]",
  41194. "type": "number"
  41195. },
  41196. "curpositionqty": {
  41197. "description": "当前持仓总数量",
  41198. "type": "number"
  41199. },
  41200. "currencyid": {
  41201. "description": "报价货币ID",
  41202. "type": "integer"
  41203. },
  41204. "curtdposition": {
  41205. "description": "期末今日头寸",
  41206. "type": "number"
  41207. },
  41208. "decimalplace": {
  41209. "description": "报价小数位",
  41210. "type": "integer"
  41211. },
  41212. "enableqty": {
  41213. "description": "可用量",
  41214. "type": "number"
  41215. },
  41216. "fretdposition": {
  41217. "description": "冻结今日头寸",
  41218. "type": "number"
  41219. },
  41220. "frozenqty": {
  41221. "description": "持仓冻结数量",
  41222. "type": "number"
  41223. },
  41224. "goodscode": {
  41225. "description": "商品代码",
  41226. "type": "string"
  41227. },
  41228. "goodsid": {
  41229. "description": "商品Id",
  41230. "type": "integer"
  41231. },
  41232. "goodsname": {
  41233. "description": "商品名称",
  41234. "type": "string"
  41235. },
  41236. "goodunit": {
  41237. "description": "报价单位",
  41238. "type": "string"
  41239. },
  41240. "goodunitid": {
  41241. "description": "报价单位ID",
  41242. "type": "integer"
  41243. },
  41244. "holderamount": {
  41245. "description": "期初持仓总金额[商品币种]",
  41246. "type": "number"
  41247. },
  41248. "lastprice": {
  41249. "description": "最新价",
  41250. "type": "number"
  41251. },
  41252. "marketamount": {
  41253. "description": "市值",
  41254. "type": "number"
  41255. },
  41256. "marketid": {
  41257. "description": "所属市场ID",
  41258. "type": "integer"
  41259. },
  41260. "openreqqty": {
  41261. "description": "开仓申请数量(用于比较最大持仓数量)",
  41262. "type": "number"
  41263. },
  41264. "opentotalqty": {
  41265. "description": "开仓总数量",
  41266. "type": "number"
  41267. },
  41268. "otherfrozenqty": {
  41269. "description": "持仓其他冻结数量(交割冻结)",
  41270. "type": "number"
  41271. },
  41272. "positionpl": {
  41273. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  41274. "type": "number"
  41275. },
  41276. "positionplrate": {
  41277. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  41278. "type": "number"
  41279. },
  41280. "positionqty": {
  41281. "description": "期初持仓数量",
  41282. "type": "number"
  41283. },
  41284. "qtydecimalplace": {
  41285. "description": "成交量小数位",
  41286. "type": "integer"
  41287. },
  41288. "refgoodscode": {
  41289. "description": "参考商品代码",
  41290. "type": "string"
  41291. },
  41292. "refgoodsid": {
  41293. "description": "参考商品ID",
  41294. "type": "integer"
  41295. },
  41296. "tnqty": {
  41297. "description": "T+N冻结总量",
  41298. "type": "number"
  41299. },
  41300. "tnusedqty": {
  41301. "description": "T+N使用量(可以使用T+N的冻结数量)",
  41302. "type": "number"
  41303. },
  41304. "trademode": {
  41305. "description": "交易模式",
  41306. "type": "integer"
  41307. },
  41308. "tradeproperty": {
  41309. "description": "交易属性",
  41310. "type": "integer"
  41311. },
  41312. "usedmargin": {
  41313. "description": "占用保证金[商品币种]",
  41314. "type": "number"
  41315. }
  41316. }
  41317. },
  41318. "pb.GoodsMarginCfgStruct": {
  41319. "type": "object",
  41320. "properties": {
  41321. "CustomerTypeID": {
  41322. "description": "投资者客户类型",
  41323. "type": "integer"
  41324. },
  41325. "GoodsID": {
  41326. "description": "商品ID",
  41327. "type": "integer"
  41328. },
  41329. "IsDefault": {
  41330. "description": "是否默认标志位",
  41331. "type": "integer"
  41332. },
  41333. "LockMarginValue": {
  41334. "description": "锁仓保证金",
  41335. "type": "number"
  41336. },
  41337. "MarginAlgorithm": {
  41338. "description": "保证金计算方式",
  41339. "type": "integer"
  41340. },
  41341. "MarketMarginValue": {
  41342. "description": "即市保证金值",
  41343. "type": "number"
  41344. },
  41345. "RealMarginAlgorithm": {
  41346. "description": "实付保证金计算方式",
  41347. "type": "integer"
  41348. },
  41349. "RealMarginValue": {
  41350. "description": "实付比例",
  41351. "type": "number"
  41352. },
  41353. "ReckonMarginValue": {
  41354. "description": "结算保证金值",
  41355. "type": "number"
  41356. }
  41357. }
  41358. },
  41359. "quote.HistoryData": {
  41360. "type": "object",
  41361. "properties": {
  41362. "c": {
  41363. "description": "收盘价",
  41364. "type": "number"
  41365. },
  41366. "f": {
  41367. "description": "是否补充数据",
  41368. "type": "boolean"
  41369. },
  41370. "h": {
  41371. "description": "最高价",
  41372. "type": "number"
  41373. },
  41374. "hv": {
  41375. "description": "持仓量",
  41376. "type": "integer"
  41377. },
  41378. "l": {
  41379. "description": "最低价",
  41380. "type": "number"
  41381. },
  41382. "o": {
  41383. "description": "开盘价",
  41384. "type": "number"
  41385. },
  41386. "s": {
  41387. "description": "结算价,日线周期(包括)以上才有",
  41388. "type": "number"
  41389. },
  41390. "ts": {
  41391. "description": "时间",
  41392. "type": "string"
  41393. },
  41394. "tt": {
  41395. "description": "总金额",
  41396. "type": "number"
  41397. },
  41398. "tv": {
  41399. "description": "总量(成交量)",
  41400. "type": "integer"
  41401. }
  41402. }
  41403. },
  41404. "quote.HistoryTikData": {
  41405. "type": "object",
  41406. "properties": {
  41407. "AV": {
  41408. "description": "卖量",
  41409. "type": "integer"
  41410. },
  41411. "Ask": {
  41412. "description": "卖价",
  41413. "type": "number"
  41414. },
  41415. "BV": {
  41416. "description": "买量",
  41417. "type": "integer"
  41418. },
  41419. "Bid": {
  41420. "description": "买价",
  41421. "type": "number"
  41422. },
  41423. "HI": {
  41424. "description": "单笔持仓",
  41425. "type": "integer"
  41426. },
  41427. "HV": {
  41428. "description": "持仓量",
  41429. "type": "integer"
  41430. },
  41431. "PE": {
  41432. "description": "现价",
  41433. "type": "number"
  41434. },
  41435. "TDR": {
  41436. "description": "交易方向,0:买 1:卖",
  41437. "type": "integer"
  41438. },
  41439. "TK": {
  41440. "description": "交易类型",
  41441. "type": "integer"
  41442. },
  41443. "TS": {
  41444. "description": "行情时间文本",
  41445. "type": "string"
  41446. },
  41447. "TT": {
  41448. "description": "现金额",
  41449. "type": "number"
  41450. },
  41451. "Vol": {
  41452. "description": "现量",
  41453. "type": "integer"
  41454. }
  41455. }
  41456. },
  41457. "quote.QueryQuoteDayRsp": {
  41458. "type": "object",
  41459. "properties": {
  41460. "ask": {
  41461. "description": "卖1",
  41462. "type": "number"
  41463. },
  41464. "ask10": {
  41465. "description": "卖10",
  41466. "type": "number"
  41467. },
  41468. "ask2": {
  41469. "description": "卖2",
  41470. "type": "number"
  41471. },
  41472. "ask3": {
  41473. "description": "卖3",
  41474. "type": "number"
  41475. },
  41476. "ask4": {
  41477. "description": "卖4",
  41478. "type": "number"
  41479. },
  41480. "ask5": {
  41481. "description": "卖5",
  41482. "type": "number"
  41483. },
  41484. "ask6": {
  41485. "description": "卖6",
  41486. "type": "number"
  41487. },
  41488. "ask7": {
  41489. "description": "卖7",
  41490. "type": "number"
  41491. },
  41492. "ask8": {
  41493. "description": "卖8",
  41494. "type": "number"
  41495. },
  41496. "ask9": {
  41497. "description": "卖9",
  41498. "type": "number"
  41499. },
  41500. "askorderid": {
  41501. "description": "卖单号1",
  41502. "type": "integer"
  41503. },
  41504. "askorderid2": {
  41505. "description": "卖单号2",
  41506. "type": "integer"
  41507. },
  41508. "askorderid3": {
  41509. "description": "卖单号3",
  41510. "type": "integer"
  41511. },
  41512. "askorderid4": {
  41513. "description": "卖单号4",
  41514. "type": "integer"
  41515. },
  41516. "askorderid5": {
  41517. "description": "卖单号5",
  41518. "type": "integer"
  41519. },
  41520. "askordervolume": {
  41521. "description": "卖单量1",
  41522. "type": "integer"
  41523. },
  41524. "askordervolume10": {
  41525. "description": "卖单量10",
  41526. "type": "integer"
  41527. },
  41528. "askordervolume2": {
  41529. "description": "卖单量2",
  41530. "type": "integer"
  41531. },
  41532. "askordervolume3": {
  41533. "description": "卖单量3",
  41534. "type": "integer"
  41535. },
  41536. "askordervolume4": {
  41537. "description": "卖单量4",
  41538. "type": "integer"
  41539. },
  41540. "askordervolume5": {
  41541. "description": "卖单量5",
  41542. "type": "integer"
  41543. },
  41544. "askordervolume6": {
  41545. "description": "卖单量6",
  41546. "type": "integer"
  41547. },
  41548. "askordervolume7": {
  41549. "description": "卖单量7",
  41550. "type": "integer"
  41551. },
  41552. "askordervolume8": {
  41553. "description": "卖单量8",
  41554. "type": "integer"
  41555. },
  41556. "askordervolume9": {
  41557. "description": "卖单量9",
  41558. "type": "integer"
  41559. },
  41560. "askqueueinfo": {
  41561. "description": "大利市卖港股用",
  41562. "type": "string"
  41563. },
  41564. "askvolume": {
  41565. "description": "卖量1",
  41566. "type": "integer"
  41567. },
  41568. "askvolume10": {
  41569. "description": "卖量10",
  41570. "type": "integer"
  41571. },
  41572. "askvolume2": {
  41573. "description": "卖量2",
  41574. "type": "integer"
  41575. },
  41576. "askvolume3": {
  41577. "description": "卖量3",
  41578. "type": "integer"
  41579. },
  41580. "askvolume4": {
  41581. "description": "卖量4",
  41582. "type": "integer"
  41583. },
  41584. "askvolume5": {
  41585. "description": "卖量5",
  41586. "type": "integer"
  41587. },
  41588. "askvolume6": {
  41589. "description": "卖量6",
  41590. "type": "integer"
  41591. },
  41592. "askvolume7": {
  41593. "description": "卖量7",
  41594. "type": "integer"
  41595. },
  41596. "askvolume8": {
  41597. "description": "卖量8",
  41598. "type": "integer"
  41599. },
  41600. "askvolume9": {
  41601. "description": "卖量9",
  41602. "type": "integer"
  41603. },
  41604. "averageprice": {
  41605. "description": "均价",
  41606. "type": "number"
  41607. },
  41608. "bid": {
  41609. "description": "买1",
  41610. "type": "number"
  41611. },
  41612. "bid10": {
  41613. "description": "买10",
  41614. "type": "number"
  41615. },
  41616. "bid2": {
  41617. "description": "买2",
  41618. "type": "number"
  41619. },
  41620. "bid3": {
  41621. "description": "买3",
  41622. "type": "number"
  41623. },
  41624. "bid4": {
  41625. "description": "买4",
  41626. "type": "number"
  41627. },
  41628. "bid5": {
  41629. "description": "买5",
  41630. "type": "number"
  41631. },
  41632. "bid6": {
  41633. "description": "买6",
  41634. "type": "number"
  41635. },
  41636. "bid7": {
  41637. "description": "买7",
  41638. "type": "number"
  41639. },
  41640. "bid8": {
  41641. "description": "买8",
  41642. "type": "number"
  41643. },
  41644. "bid9": {
  41645. "description": "买9",
  41646. "type": "number"
  41647. },
  41648. "bidorderid": {
  41649. "description": "买单号1",
  41650. "type": "integer"
  41651. },
  41652. "bidorderid2": {
  41653. "description": "买单号2",
  41654. "type": "integer"
  41655. },
  41656. "bidorderid3": {
  41657. "description": "买单号3",
  41658. "type": "integer"
  41659. },
  41660. "bidorderid4": {
  41661. "description": "买单号4",
  41662. "type": "integer"
  41663. },
  41664. "bidorderid5": {
  41665. "description": "买单号5",
  41666. "type": "integer"
  41667. },
  41668. "bidordervolume": {
  41669. "description": "买单量1",
  41670. "type": "integer"
  41671. },
  41672. "bidordervolume10": {
  41673. "description": "买单量10",
  41674. "type": "integer"
  41675. },
  41676. "bidordervolume2": {
  41677. "description": "买单量2",
  41678. "type": "integer"
  41679. },
  41680. "bidordervolume3": {
  41681. "description": "买单量3",
  41682. "type": "integer"
  41683. },
  41684. "bidordervolume4": {
  41685. "description": "买单量4",
  41686. "type": "integer"
  41687. },
  41688. "bidordervolume5": {
  41689. "description": "买单量5",
  41690. "type": "integer"
  41691. },
  41692. "bidordervolume6": {
  41693. "description": "买单量6",
  41694. "type": "integer"
  41695. },
  41696. "bidordervolume7": {
  41697. "description": "买单量7",
  41698. "type": "integer"
  41699. },
  41700. "bidordervolume8": {
  41701. "description": "买单量8",
  41702. "type": "integer"
  41703. },
  41704. "bidordervolume9": {
  41705. "description": "买单量9",
  41706. "type": "integer"
  41707. },
  41708. "bidqueueinfo": {
  41709. "description": "大利市买港股用",
  41710. "type": "string"
  41711. },
  41712. "bidvolume": {
  41713. "description": "买量1",
  41714. "type": "integer"
  41715. },
  41716. "bidvolume10": {
  41717. "description": "买量10",
  41718. "type": "integer"
  41719. },
  41720. "bidvolume2": {
  41721. "description": "买量2",
  41722. "type": "integer"
  41723. },
  41724. "bidvolume3": {
  41725. "description": "买量3",
  41726. "type": "integer"
  41727. },
  41728. "bidvolume4": {
  41729. "description": "买量4",
  41730. "type": "integer"
  41731. },
  41732. "bidvolume5": {
  41733. "description": "买量5",
  41734. "type": "integer"
  41735. },
  41736. "bidvolume6": {
  41737. "description": "买量6",
  41738. "type": "integer"
  41739. },
  41740. "bidvolume7": {
  41741. "description": "买量7",
  41742. "type": "integer"
  41743. },
  41744. "bidvolume8": {
  41745. "description": "买量8",
  41746. "type": "integer"
  41747. },
  41748. "bidvolume9": {
  41749. "description": "买量9",
  41750. "type": "integer"
  41751. },
  41752. "calloptionpremiums": {
  41753. "description": "认购期权1",
  41754. "type": "integer"
  41755. },
  41756. "calloptionpremiums2": {
  41757. "description": "认购期权2",
  41758. "type": "integer"
  41759. },
  41760. "calloptionpremiums3": {
  41761. "description": "认购期权3",
  41762. "type": "integer"
  41763. },
  41764. "calloptionpremiums4": {
  41765. "description": "认购期权4",
  41766. "type": "integer"
  41767. },
  41768. "calloptionpremiums5": {
  41769. "description": "认购期权5",
  41770. "type": "integer"
  41771. },
  41772. "cleartime": {
  41773. "description": "清盘时间",
  41774. "type": "integer"
  41775. },
  41776. "exchangecode": {
  41777. "description": "交易所代码",
  41778. "type": "integer"
  41779. },
  41780. "exchangedate": {
  41781. "description": "交易日",
  41782. "type": "integer"
  41783. },
  41784. "goodscode": {
  41785. "description": "商品代码",
  41786. "type": "string"
  41787. },
  41788. "grepmarketprice": {
  41789. "description": "暗盘价 港股专用",
  41790. "type": "number"
  41791. },
  41792. "highest": {
  41793. "description": "最高价",
  41794. "type": "number"
  41795. },
  41796. "holdincrement": {
  41797. "description": "单笔持仓",
  41798. "type": "integer"
  41799. },
  41800. "holdvolume": {
  41801. "description": "持仓",
  41802. "type": "integer"
  41803. },
  41804. "iep": {
  41805. "description": "平衡价 港股专用",
  41806. "type": "number"
  41807. },
  41808. "iev": {
  41809. "description": "平衡量 港股专用",
  41810. "type": "number"
  41811. },
  41812. "inventory": {
  41813. "description": "库存",
  41814. "type": "integer"
  41815. },
  41816. "iscleared": {
  41817. "description": "是否清盘标志",
  41818. "type": "integer"
  41819. },
  41820. "issettled": {
  41821. "description": "是否结算标志",
  41822. "type": "integer"
  41823. },
  41824. "last": {
  41825. "description": "最新价",
  41826. "type": "number"
  41827. },
  41828. "lastlot": {
  41829. "description": "最新成交手数",
  41830. "type": "integer"
  41831. },
  41832. "lasttime": {
  41833. "description": "行情时间(只有现价变化行情时间才变化)",
  41834. "type": "string"
  41835. },
  41836. "lastturnover": {
  41837. "description": "最新成交金额",
  41838. "type": "number"
  41839. },
  41840. "lastvolume": {
  41841. "description": "最新成交量",
  41842. "type": "integer"
  41843. },
  41844. "limitdown": {
  41845. "description": "跌停价",
  41846. "type": "number"
  41847. },
  41848. "limitup": {
  41849. "description": "涨停价",
  41850. "type": "number"
  41851. },
  41852. "lowest": {
  41853. "description": "最低价",
  41854. "type": "number"
  41855. },
  41856. "nontotalholdervolume": {
  41857. "description": "非交易持仓量",
  41858. "type": "integer"
  41859. },
  41860. "nontotallot": {
  41861. "description": "非交易总手数",
  41862. "type": "integer"
  41863. },
  41864. "nontotalturnover": {
  41865. "description": "非交易总金额",
  41866. "type": "integer"
  41867. },
  41868. "nontotalvolume": {
  41869. "description": "非交易总量",
  41870. "type": "integer"
  41871. },
  41872. "opened": {
  41873. "description": "开盘价",
  41874. "type": "number"
  41875. },
  41876. "opentime": {
  41877. "description": "开盘时间",
  41878. "type": "string"
  41879. },
  41880. "orderid": {
  41881. "description": "序号",
  41882. "type": "integer"
  41883. },
  41884. "preclose": {
  41885. "description": "昨收",
  41886. "type": "number"
  41887. },
  41888. "preholdvolume": {
  41889. "description": "昨持仓",
  41890. "type": "integer"
  41891. },
  41892. "presettle": {
  41893. "description": "昨结价",
  41894. "type": "number"
  41895. },
  41896. "publictradetype": {
  41897. "description": "公共交易标志类型 港股专用",
  41898. "type": "string"
  41899. },
  41900. "putoptionpremiums": {
  41901. "description": "认沽期权1",
  41902. "type": "integer"
  41903. },
  41904. "putoptionpremiums2": {
  41905. "description": "认沽期权2",
  41906. "type": "integer"
  41907. },
  41908. "putoptionpremiums3": {
  41909. "description": "认沽期权3",
  41910. "type": "integer"
  41911. },
  41912. "putoptionpremiums4": {
  41913. "description": "认沽期权4",
  41914. "type": "integer"
  41915. },
  41916. "putoptionpremiums5": {
  41917. "description": "认沽期权5",
  41918. "type": "integer"
  41919. },
  41920. "settle": {
  41921. "description": "结算价",
  41922. "type": "number"
  41923. },
  41924. "strikeprice": {
  41925. "description": "发行价",
  41926. "type": "number"
  41927. },
  41928. "totalaskvolume": {
  41929. "description": "内盘",
  41930. "type": "integer"
  41931. },
  41932. "totalbidvolume": {
  41933. "description": "外盘",
  41934. "type": "integer"
  41935. },
  41936. "totallot": {
  41937. "description": "总手数",
  41938. "type": "integer"
  41939. },
  41940. "totalturnover": {
  41941. "description": "总金额",
  41942. "type": "number"
  41943. },
  41944. "totalvolume": {
  41945. "description": "总量",
  41946. "type": "integer"
  41947. },
  41948. "utclasttime": {
  41949. "description": "utc的行情时间",
  41950. "type": "string"
  41951. }
  41952. }
  41953. },
  41954. "quote.QueryTSDataRsp": {
  41955. "type": "object",
  41956. "properties": {
  41957. "Count": {
  41958. "description": "交易日应有数据个数",
  41959. "type": "integer"
  41960. },
  41961. "decimalPlace": {
  41962. "description": "小数位",
  41963. "type": "integer"
  41964. },
  41965. "endTime": {
  41966. "description": "结束时间",
  41967. "type": "string"
  41968. },
  41969. "goodsCode": {
  41970. "description": "商品代码",
  41971. "type": "string"
  41972. },
  41973. "historyDatas": {
  41974. "description": "历史数据",
  41975. "type": "array",
  41976. "items": {
  41977. "$ref": "#/definitions/quote.HistoryData"
  41978. }
  41979. },
  41980. "outGoodsCode": {
  41981. "description": "外部商品代码",
  41982. "type": "string"
  41983. },
  41984. "preSettle": {
  41985. "description": "昨结价",
  41986. "type": "number"
  41987. },
  41988. "runSteps": {
  41989. "description": "交易日开休市计划",
  41990. "type": "array",
  41991. "items": {
  41992. "$ref": "#/definitions/quote.TSDataRunStep"
  41993. }
  41994. },
  41995. "startTime": {
  41996. "description": "开始时间",
  41997. "type": "string"
  41998. },
  41999. "tradeDate": {
  42000. "description": "交易日",
  42001. "type": "string"
  42002. }
  42003. }
  42004. },
  42005. "quote.TSDataRunStep": {
  42006. "type": "object",
  42007. "properties": {
  42008. "end": {
  42009. "description": "真实结束时间",
  42010. "type": "string"
  42011. },
  42012. "endflag": {
  42013. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  42014. "type": "integer"
  42015. },
  42016. "endtime": {
  42017. "description": "结束时间(HH:mm)",
  42018. "type": "string"
  42019. },
  42020. "endweekday": {
  42021. "description": "结束周几",
  42022. "type": "integer"
  42023. },
  42024. "groupid": {
  42025. "description": "分组ID",
  42026. "type": "integer"
  42027. },
  42028. "runstep": {
  42029. "description": "运行阶段 - 2:连续交易",
  42030. "type": "integer"
  42031. },
  42032. "sectionid": {
  42033. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  42034. "type": "integer"
  42035. },
  42036. "start": {
  42037. "description": "真实开始时间",
  42038. "type": "string"
  42039. },
  42040. "startflag": {
  42041. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  42042. "type": "integer"
  42043. },
  42044. "starttime": {
  42045. "description": "起始时间(HH:mm)",
  42046. "type": "string"
  42047. },
  42048. "startweekday": {
  42049. "description": "起始周几",
  42050. "type": "integer"
  42051. },
  42052. "tradeweekday": {
  42053. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  42054. "type": "integer"
  42055. }
  42056. }
  42057. },
  42058. "szdz.QueryConvertLogRsp": {
  42059. "type": "object",
  42060. "required": [
  42061. "logid"
  42062. ],
  42063. "properties": {
  42064. "accountid": {
  42065. "description": "资金账户ID",
  42066. "type": "integer"
  42067. },
  42068. "clientticket": {
  42069. "description": "客户端流水号",
  42070. "type": "string"
  42071. },
  42072. "converttype": {
  42073. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  42074. "type": "integer"
  42075. },
  42076. "createtime": {
  42077. "description": "记账时间",
  42078. "type": "string"
  42079. },
  42080. "daymaxvalue": {
  42081. "description": "配置当日最大转入限制",
  42082. "type": "number"
  42083. },
  42084. "daymaxvalue2": {
  42085. "description": "配置当日最大转入限制(转入)",
  42086. "type": "number"
  42087. },
  42088. "goodscode": {
  42089. "description": "商品代码",
  42090. "type": "string"
  42091. },
  42092. "goodsname": {
  42093. "description": "商品名称",
  42094. "type": "string"
  42095. },
  42096. "handlestatus": {
  42097. "description": "处理状态",
  42098. "type": "integer"
  42099. },
  42100. "innergoodsid": {
  42101. "description": "内部商品ID",
  42102. "type": "integer"
  42103. },
  42104. "inratio": {
  42105. "description": "配置转入比值",
  42106. "type": "integer"
  42107. },
  42108. "invalue": {
  42109. "description": "目标值",
  42110. "type": "number"
  42111. },
  42112. "logid": {
  42113. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42114. "type": "integer"
  42115. },
  42116. "mobile": {
  42117. "description": "手机号码(加密存储)",
  42118. "type": "string"
  42119. },
  42120. "outergoodscode": {
  42121. "description": "外部商品代码[JD\\PD]",
  42122. "type": "string"
  42123. },
  42124. "outratio": {
  42125. "description": "配置转出比值",
  42126. "type": "integer"
  42127. },
  42128. "outvalue": {
  42129. "description": "源值",
  42130. "type": "number"
  42131. },
  42132. "pddecimalplace": {
  42133. "description": "PD小数位",
  42134. "type": "integer"
  42135. },
  42136. "qty": {
  42137. "description": "数量",
  42138. "type": "string"
  42139. },
  42140. "remark": {
  42141. "description": "备注",
  42142. "type": "string"
  42143. },
  42144. "sessionid": {
  42145. "description": "会话ID",
  42146. "type": "integer"
  42147. },
  42148. "timemaxvalue": {
  42149. "description": "配置单次最大转入限制",
  42150. "type": "number"
  42151. },
  42152. "timemaxvalue2": {
  42153. "description": "配置单次最大转入限制(转入)",
  42154. "type": "number"
  42155. },
  42156. "timeminvalue": {
  42157. "description": "配置单次最小数量限制",
  42158. "type": "number"
  42159. },
  42160. "timeminvalue2": {
  42161. "description": "配置单次最小数量限制(转入)",
  42162. "type": "number"
  42163. },
  42164. "tradedate": {
  42165. "description": "交易日(yyyyMMdd)",
  42166. "type": "string"
  42167. },
  42168. "userid": {
  42169. "description": "用户ID",
  42170. "type": "integer"
  42171. }
  42172. }
  42173. },
  42174. "szdz.QueryGoodsPickupRsp": {
  42175. "type": "object",
  42176. "required": [
  42177. "takeorderid"
  42178. ],
  42179. "properties": {
  42180. "accountid": {
  42181. "description": "账户ID",
  42182. "type": "integer"
  42183. },
  42184. "address": {
  42185. "description": "提货人详细地址",
  42186. "type": "string"
  42187. },
  42188. "auditer": {
  42189. "description": "审核人",
  42190. "type": "integer"
  42191. },
  42192. "audittime": {
  42193. "description": "审核时间",
  42194. "type": "string"
  42195. },
  42196. "cardnum": {
  42197. "description": "提货人证件号码",
  42198. "type": "string"
  42199. },
  42200. "cardtypeid": {
  42201. "description": "提货人证件类型",
  42202. "type": "integer"
  42203. },
  42204. "checkremark": {
  42205. "description": "审核备注",
  42206. "type": "string"
  42207. },
  42208. "goodscode": {
  42209. "description": "商品代码",
  42210. "type": "string"
  42211. },
  42212. "goodsid": {
  42213. "description": "商品ID",
  42214. "type": "integer"
  42215. },
  42216. "goodsname": {
  42217. "description": "商品名称",
  42218. "type": "string"
  42219. },
  42220. "handlestatus": {
  42221. "description": "处理状态",
  42222. "type": "integer"
  42223. },
  42224. "marketid": {
  42225. "description": "市场ID",
  42226. "type": "integer"
  42227. },
  42228. "phonenum": {
  42229. "description": "提货人联系方式",
  42230. "type": "string"
  42231. },
  42232. "qty": {
  42233. "description": "提货数量",
  42234. "type": "number"
  42235. },
  42236. "recivername": {
  42237. "description": "提货人姓名",
  42238. "type": "string"
  42239. },
  42240. "reqtime": {
  42241. "description": "更新时间",
  42242. "type": "string"
  42243. },
  42244. "takemode": {
  42245. "description": "提货方式 - 2:自提 3:配送",
  42246. "type": "integer"
  42247. },
  42248. "takeorderid": {
  42249. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  42250. "type": "string"
  42251. },
  42252. "takeorderstatus": {
  42253. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  42254. "type": "integer"
  42255. },
  42256. "takeremark": {
  42257. "description": "提货备注",
  42258. "type": "string"
  42259. },
  42260. "tradedate": {
  42261. "description": "交易日(yyyyMMdd)",
  42262. "type": "string"
  42263. },
  42264. "userid": {
  42265. "description": "用户ID",
  42266. "type": "integer"
  42267. }
  42268. }
  42269. },
  42270. "szdz.QueryRecieptOrderRsp": {
  42271. "type": "object",
  42272. "required": [
  42273. "ordertime"
  42274. ],
  42275. "properties": {
  42276. "accountName": {
  42277. "description": "所属账号名称(已脱敏)",
  42278. "type": "string"
  42279. },
  42280. "accountid": {
  42281. "description": "资金账号",
  42282. "type": "integer"
  42283. },
  42284. "buyorsell": {
  42285. "description": "方向 - 0:买 1:卖",
  42286. "type": "integer"
  42287. },
  42288. "enableqty": {
  42289. "description": "可摘数量",
  42290. "type": "integer"
  42291. },
  42292. "goodscode": {
  42293. "description": "商品代码",
  42294. "type": "string"
  42295. },
  42296. "goodsid": {
  42297. "description": "商品ID",
  42298. "type": "integer"
  42299. },
  42300. "goodsname": {
  42301. "description": "商品名称",
  42302. "type": "string"
  42303. },
  42304. "orderid": {
  42305. "description": "委托单号",
  42306. "type": "string"
  42307. },
  42308. "orderprice": {
  42309. "description": "委托价格",
  42310. "type": "number"
  42311. },
  42312. "ordertime": {
  42313. "description": "委托时间",
  42314. "type": "string"
  42315. },
  42316. "tradedate": {
  42317. "description": "交易日(yyyyMMdd)",
  42318. "type": "string"
  42319. }
  42320. }
  42321. },
  42322. "szdz.QuerySZDZTradePositionRsp": {
  42323. "type": "object",
  42324. "properties": {
  42325. "accountid": {
  42326. "description": "账号Id",
  42327. "type": "integer"
  42328. },
  42329. "agreeunit": {
  42330. "description": "合约单位",
  42331. "type": "number"
  42332. },
  42333. "averageprice": {
  42334. "description": "持仓均价",
  42335. "type": "number"
  42336. },
  42337. "buyorsell": {
  42338. "description": "方向 - 0:买 1:卖",
  42339. "type": "integer"
  42340. },
  42341. "closetotalqty": {
  42342. "description": "平仓总数量",
  42343. "type": "integer"
  42344. },
  42345. "curholderamount": {
  42346. "description": "当前持仓总金额",
  42347. "type": "number"
  42348. },
  42349. "curpositionqty": {
  42350. "description": "当前持仓总数量",
  42351. "type": "integer"
  42352. },
  42353. "currencyid": {
  42354. "description": "报价货币ID",
  42355. "type": "integer"
  42356. },
  42357. "curtdposition": {
  42358. "description": "期末今日头寸",
  42359. "type": "integer"
  42360. },
  42361. "decimalplace": {
  42362. "description": "报价小数位",
  42363. "type": "integer"
  42364. },
  42365. "enableqty": {
  42366. "description": "可用量",
  42367. "type": "integer"
  42368. },
  42369. "fretdposition": {
  42370. "description": "冻结今日头寸",
  42371. "type": "integer"
  42372. },
  42373. "frozenqty": {
  42374. "description": "持仓冻结数量",
  42375. "type": "integer"
  42376. },
  42377. "goodscode": {
  42378. "description": "商品代码(内部)",
  42379. "type": "string"
  42380. },
  42381. "goodsid": {
  42382. "description": "商品Id",
  42383. "type": "integer"
  42384. },
  42385. "goodsname": {
  42386. "description": "商品名称",
  42387. "type": "string"
  42388. },
  42389. "goodunit": {
  42390. "description": "报价单位",
  42391. "type": "string"
  42392. },
  42393. "goodunitid": {
  42394. "description": "报价单位ID",
  42395. "type": "integer"
  42396. },
  42397. "holderamount": {
  42398. "description": "期初持仓总金额",
  42399. "type": "number"
  42400. },
  42401. "marketid": {
  42402. "description": "市场ID",
  42403. "type": "integer"
  42404. },
  42405. "openreqqty": {
  42406. "description": "开仓申请数量",
  42407. "type": "integer"
  42408. },
  42409. "opentotalqty": {
  42410. "description": "开仓总数量",
  42411. "type": "integer"
  42412. },
  42413. "otherfrozenqty": {
  42414. "description": "持仓其他冻结数量(交割冻结)",
  42415. "type": "integer"
  42416. },
  42417. "positionqty": {
  42418. "description": "期初持仓数量",
  42419. "type": "integer"
  42420. },
  42421. "szdz3freezqty": {
  42422. "description": "尚志大宗转换冻结总数量",
  42423. "type": "integer"
  42424. },
  42425. "tnqty": {
  42426. "description": "T+N冻结总量",
  42427. "type": "integer"
  42428. },
  42429. "tnusedqty": {
  42430. "description": "T+N使用量",
  42431. "type": "integer"
  42432. },
  42433. "trademode": {
  42434. "description": "交易模式",
  42435. "type": "integer"
  42436. },
  42437. "usedmargin": {
  42438. "description": "占用保证金",
  42439. "type": "number"
  42440. }
  42441. }
  42442. },
  42443. "taaccount.QueryAmountLogRsp": {
  42444. "type": "object",
  42445. "required": [
  42446. "accountid",
  42447. "amount",
  42448. "amountadjusttype",
  42449. "autoid",
  42450. "balance",
  42451. "createtime",
  42452. "currentbalance",
  42453. "operatetype"
  42454. ],
  42455. "properties": {
  42456. "OPERATETYPENAME": {
  42457. "description": "资金操作类型名称",
  42458. "type": "string"
  42459. },
  42460. "accountid": {
  42461. "description": "资金账户ID",
  42462. "type": "integer"
  42463. },
  42464. "agoodscode": {
  42465. "description": "竞拍商品代码",
  42466. "type": "string"
  42467. },
  42468. "agoodsname": {
  42469. "description": "竞拍商品名称",
  42470. "type": "string"
  42471. },
  42472. "amount": {
  42473. "description": "资金金额",
  42474. "type": "number"
  42475. },
  42476. "amountadjusttype": {
  42477. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  42478. "type": "integer"
  42479. },
  42480. "autoid": {
  42481. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  42482. "type": "integer"
  42483. },
  42484. "balance": {
  42485. "description": "期初余额",
  42486. "type": "number"
  42487. },
  42488. "businesscode": {
  42489. "description": "业务编号",
  42490. "type": "integer"
  42491. },
  42492. "createtime": {
  42493. "description": "发生时间",
  42494. "type": "string"
  42495. },
  42496. "currencyid": {
  42497. "description": "币种ID",
  42498. "type": "integer"
  42499. },
  42500. "currentbalance": {
  42501. "description": "期末余额(变动后金额)",
  42502. "type": "number"
  42503. },
  42504. "dgoodscode": {
  42505. "description": "交割商品代码",
  42506. "type": "string"
  42507. },
  42508. "dgoodsname": {
  42509. "description": "交割商品名称",
  42510. "type": "string"
  42511. },
  42512. "goodscode": {
  42513. "description": "商品代码",
  42514. "type": "string"
  42515. },
  42516. "goodsid": {
  42517. "description": "商品ID",
  42518. "type": "integer"
  42519. },
  42520. "goodsname": {
  42521. "description": "商品名称",
  42522. "type": "string"
  42523. },
  42524. "marketid": {
  42525. "description": "市场ID",
  42526. "type": "integer"
  42527. },
  42528. "marketname": {
  42529. "description": "市场名称",
  42530. "type": "string"
  42531. },
  42532. "moneyticket": {
  42533. "description": "资金流水号:银行端流水号",
  42534. "type": "integer"
  42535. },
  42536. "operatetype": {
  42537. "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:营销收款",
  42538. "type": "integer"
  42539. },
  42540. "relationorderid": {
  42541. "description": "关联单号",
  42542. "type": "string"
  42543. },
  42544. "remark": {
  42545. "description": "备注",
  42546. "type": "string"
  42547. },
  42548. "trademode": {
  42549. "description": "交易模式",
  42550. "type": "integer"
  42551. }
  42552. }
  42553. },
  42554. "taaccount.QueryHisAmountLogRsp": {
  42555. "type": "object",
  42556. "required": [
  42557. "accountid",
  42558. "amount",
  42559. "amountadjusttype",
  42560. "autoid",
  42561. "balance",
  42562. "createtime",
  42563. "currentbalance",
  42564. "histradedate",
  42565. "operatetype"
  42566. ],
  42567. "properties": {
  42568. "OPERATETYPENAME": {
  42569. "description": "资金操作类型名称",
  42570. "type": "string"
  42571. },
  42572. "accountid": {
  42573. "description": "资金账户ID",
  42574. "type": "integer"
  42575. },
  42576. "agoodscode": {
  42577. "description": "竞拍商品代码",
  42578. "type": "string"
  42579. },
  42580. "agoodsname": {
  42581. "description": "竞拍商品名称",
  42582. "type": "string"
  42583. },
  42584. "amount": {
  42585. "description": "资金金额",
  42586. "type": "number"
  42587. },
  42588. "amountadjusttype": {
  42589. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  42590. "type": "integer"
  42591. },
  42592. "autoid": {
  42593. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  42594. "type": "integer"
  42595. },
  42596. "balance": {
  42597. "description": "期初余额",
  42598. "type": "number"
  42599. },
  42600. "businesscode": {
  42601. "description": "业务编号",
  42602. "type": "integer"
  42603. },
  42604. "createtime": {
  42605. "description": "发生时间",
  42606. "type": "string"
  42607. },
  42608. "currencyid": {
  42609. "description": "币种ID",
  42610. "type": "integer"
  42611. },
  42612. "currentbalance": {
  42613. "description": "期末余额(变动后金额)",
  42614. "type": "number"
  42615. },
  42616. "dgoodscode": {
  42617. "description": "交割商品代码",
  42618. "type": "string"
  42619. },
  42620. "dgoodsname": {
  42621. "description": "交割商品名称",
  42622. "type": "string"
  42623. },
  42624. "goodscode": {
  42625. "description": "商品代码",
  42626. "type": "string"
  42627. },
  42628. "goodsid": {
  42629. "description": "商品ID",
  42630. "type": "integer"
  42631. },
  42632. "goodsname": {
  42633. "description": "商品名称",
  42634. "type": "string"
  42635. },
  42636. "histradedate": {
  42637. "description": "历史交易日",
  42638. "type": "string"
  42639. },
  42640. "isvaliddata": {
  42641. "description": "是否有效 - 0:无效 1:有效",
  42642. "type": "integer"
  42643. },
  42644. "marketid": {
  42645. "description": "市场ID",
  42646. "type": "integer"
  42647. },
  42648. "marketname": {
  42649. "description": "市场名称",
  42650. "type": "string"
  42651. },
  42652. "moneyticket": {
  42653. "description": "资金流水号:银行端流水号",
  42654. "type": "integer"
  42655. },
  42656. "operatetype": {
  42657. "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:营销收款",
  42658. "type": "integer"
  42659. },
  42660. "relationorderid": {
  42661. "description": "关联单号",
  42662. "type": "string"
  42663. },
  42664. "remark": {
  42665. "description": "备注",
  42666. "type": "string"
  42667. },
  42668. "trademode": {
  42669. "description": "交易模式",
  42670. "type": "integer"
  42671. }
  42672. }
  42673. },
  42674. "trade.QueryRecieptOrderRsp": {
  42675. "type": "object",
  42676. "required": [
  42677. "ordertime"
  42678. ],
  42679. "properties": {
  42680. "accountName": {
  42681. "description": "所属账号名称(已脱敏)",
  42682. "type": "string"
  42683. },
  42684. "accountid": {
  42685. "description": "资金账号",
  42686. "type": "integer"
  42687. },
  42688. "buyorsell": {
  42689. "description": "方向 - 0:买 1:卖",
  42690. "type": "integer"
  42691. },
  42692. "enableqty": {
  42693. "description": "可摘数量",
  42694. "type": "integer"
  42695. },
  42696. "goodscode": {
  42697. "description": "商品代码",
  42698. "type": "string"
  42699. },
  42700. "goodsid": {
  42701. "description": "商品ID",
  42702. "type": "integer"
  42703. },
  42704. "goodsname": {
  42705. "description": "商品名称",
  42706. "type": "string"
  42707. },
  42708. "orderid": {
  42709. "description": "委托单号",
  42710. "type": "string"
  42711. },
  42712. "orderprice": {
  42713. "description": "委托价格",
  42714. "type": "number"
  42715. },
  42716. "ordertime": {
  42717. "description": "委托时间",
  42718. "type": "string"
  42719. },
  42720. "tradedate": {
  42721. "description": "交易日(yyyyMMdd)",
  42722. "type": "string"
  42723. }
  42724. }
  42725. },
  42726. "user.LoginQueryRsp": {
  42727. "type": "object",
  42728. "properties": {
  42729. "areaRoles": {
  42730. "description": "所属角色信息",
  42731. "type": "array",
  42732. "items": {
  42733. "$ref": "#/definitions/models.Arearole"
  42734. }
  42735. },
  42736. "externalExchanges": {
  42737. "description": "外部交易所",
  42738. "type": "array",
  42739. "items": {
  42740. "$ref": "#/definitions/models.Externalexchange"
  42741. }
  42742. },
  42743. "goodsgroups": {
  42744. "description": "商品组",
  42745. "type": "array",
  42746. "items": {
  42747. "$ref": "#/definitions/models.Goodsgroup"
  42748. }
  42749. },
  42750. "loginAccount": {
  42751. "description": "登录账号",
  42752. "$ref": "#/definitions/models.Loginaccount"
  42753. },
  42754. "markets": {
  42755. "description": "市场",
  42756. "type": "array",
  42757. "items": {
  42758. "$ref": "#/definitions/models.Market"
  42759. }
  42760. },
  42761. "systemParams": {
  42762. "description": "系统参数",
  42763. "type": "array",
  42764. "items": {
  42765. "$ref": "#/definitions/models.Systemparam"
  42766. }
  42767. },
  42768. "userAccount": {
  42769. "description": "用户账号",
  42770. "$ref": "#/definitions/models.Useraccount"
  42771. },
  42772. "userInfo": {
  42773. "description": "用户信息",
  42774. "$ref": "#/definitions/models.Userinfo"
  42775. },
  42776. "username": {
  42777. "description": "用户姓名",
  42778. "type": "string"
  42779. }
  42780. }
  42781. }
  42782. },
  42783. "securityDefinitions": {
  42784. "ApiKeyAuth": {
  42785. "type": "apiKey",
  42786. "name": "Authorization",
  42787. "in": "header"
  42788. }
  42789. }
  42790. }`
  42791. type swaggerInfo struct {
  42792. Version string
  42793. Host string
  42794. BasePath string
  42795. Schemes []string
  42796. Title string
  42797. Description string
  42798. }
  42799. // SwaggerInfo holds exported Swagger Info so clients can modify it
  42800. var SwaggerInfo = swaggerInfo{
  42801. Version: "1.0",
  42802. Host: "",
  42803. BasePath: "/api",
  42804. Schemes: []string{},
  42805. Title: "MTP2.0 查询服务 API",
  42806. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  42807. }
  42808. type s struct{}
  42809. func (s *s) ReadDoc() string {
  42810. sInfo := SwaggerInfo
  42811. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  42812. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  42813. "marshal": func(v interface{}) string {
  42814. a, _ := json.Marshal(v)
  42815. return string(a)
  42816. },
  42817. }).Parse(doc)
  42818. if err != nil {
  42819. return doc
  42820. }
  42821. var tpl bytes.Buffer
  42822. if err := t.Execute(&tpl, sInfo); err != nil {
  42823. return doc
  42824. }
  42825. return tpl.String()
  42826. }
  42827. func init() {
  42828. swag.Register(swag.Name, &s{})
  42829. }