docs.go 1.5 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849
  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. "required": true
  5871. }
  5872. ],
  5873. "responses": {
  5874. "200": {
  5875. "description": "OK",
  5876. "schema": {
  5877. "type": "array",
  5878. "items": {
  5879. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  5880. }
  5881. }
  5882. },
  5883. "500": {
  5884. "description": "Internal Server Error",
  5885. "schema": {
  5886. "$ref": "#/definitions/app.Response"
  5887. }
  5888. }
  5889. }
  5890. }
  5891. },
  5892. "/Erms2/QueryArbitrageStrategy": {
  5893. "get": {
  5894. "security": [
  5895. {
  5896. "ApiKeyAuth": []
  5897. }
  5898. ],
  5899. "produces": [
  5900. "application/json"
  5901. ],
  5902. "tags": [
  5903. "风险管理"
  5904. ],
  5905. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5906. "parameters": [
  5907. {
  5908. "type": "integer",
  5909. "description": "账户ID",
  5910. "name": "userid",
  5911. "in": "query",
  5912. "required": true
  5913. },
  5914. {
  5915. "type": "string",
  5916. "description": "商品组ID(品种ID)",
  5917. "name": "goodsgroupid",
  5918. "in": "query"
  5919. }
  5920. ],
  5921. "responses": {
  5922. "200": {
  5923. "description": "OK",
  5924. "schema": {
  5925. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/app.Response"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/Erms2/QueryInnerTradeDetail": {
  5938. "get": {
  5939. "security": [
  5940. {
  5941. "ApiKeyAuth": []
  5942. }
  5943. ],
  5944. "produces": [
  5945. "application/json"
  5946. ],
  5947. "tags": [
  5948. "风险管理"
  5949. ],
  5950. "summary": "查询内部成交单信息",
  5951. "parameters": [
  5952. {
  5953. "type": "integer",
  5954. "description": "资金账户",
  5955. "name": "accountid",
  5956. "in": "query",
  5957. "required": true
  5958. }
  5959. ],
  5960. "responses": {
  5961. "200": {
  5962. "description": "OK",
  5963. "schema": {
  5964. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5965. }
  5966. },
  5967. "500": {
  5968. "description": "Internal Server Error",
  5969. "schema": {
  5970. "$ref": "#/definitions/app.Response"
  5971. }
  5972. }
  5973. }
  5974. }
  5975. },
  5976. "/Erms2/QuerySpotContract": {
  5977. "get": {
  5978. "security": [
  5979. {
  5980. "ApiKeyAuth": []
  5981. }
  5982. ],
  5983. "produces": [
  5984. "application/json"
  5985. ],
  5986. "tags": [
  5987. "风险管理"
  5988. ],
  5989. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5990. "parameters": [
  5991. {
  5992. "type": "integer",
  5993. "description": "策略申请ID",
  5994. "name": "asapplyid",
  5995. "in": "query",
  5996. "required": true
  5997. },
  5998. {
  5999. "type": "integer",
  6000. "description": "现货合同ID",
  6001. "name": "spotcontractid",
  6002. "in": "query"
  6003. }
  6004. ],
  6005. "responses": {
  6006. "200": {
  6007. "description": "OK",
  6008. "schema": {
  6009. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6010. }
  6011. },
  6012. "500": {
  6013. "description": "Internal Server Error",
  6014. "schema": {
  6015. "$ref": "#/definitions/app.Response"
  6016. }
  6017. }
  6018. }
  6019. }
  6020. },
  6021. "/Erms3/AddErms2ASApply": {
  6022. "post": {
  6023. "security": [
  6024. {
  6025. "ApiKeyAuth": []
  6026. }
  6027. ],
  6028. "produces": [
  6029. "application/json"
  6030. ],
  6031. "tags": [
  6032. "风险管理v3"
  6033. ],
  6034. "summary": "新增期现套利业务申请",
  6035. "parameters": [
  6036. {
  6037. "description": "申请参数",
  6038. "name": "jsonBody",
  6039. "in": "body",
  6040. "required": true,
  6041. "schema": {
  6042. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6043. }
  6044. }
  6045. ],
  6046. "responses": {
  6047. "200": {
  6048. "description": "OK",
  6049. "schema": {
  6050. "$ref": "#/definitions/app.Response"
  6051. }
  6052. },
  6053. "500": {
  6054. "description": "Internal Server Error",
  6055. "schema": {
  6056. "$ref": "#/definitions/app.Response"
  6057. }
  6058. }
  6059. }
  6060. }
  6061. },
  6062. "/Erms3/AddErms2SpotTradeApply": {
  6063. "post": {
  6064. "security": [
  6065. {
  6066. "ApiKeyAuth": []
  6067. }
  6068. ],
  6069. "produces": [
  6070. "application/json"
  6071. ],
  6072. "tags": [
  6073. "风险管理v3"
  6074. ],
  6075. "summary": "新增现货贸易业务申请",
  6076. "parameters": [
  6077. {
  6078. "description": "申请参数",
  6079. "name": "jsonBody",
  6080. "in": "body",
  6081. "required": true,
  6082. "schema": {
  6083. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6084. }
  6085. }
  6086. ],
  6087. "responses": {
  6088. "200": {
  6089. "description": "OK",
  6090. "schema": {
  6091. "$ref": "#/definitions/app.Response"
  6092. }
  6093. },
  6094. "500": {
  6095. "description": "Internal Server Error",
  6096. "schema": {
  6097. "$ref": "#/definitions/app.Response"
  6098. }
  6099. }
  6100. }
  6101. }
  6102. },
  6103. "/Erms3/AddSpotContractApply": {
  6104. "post": {
  6105. "security": [
  6106. {
  6107. "ApiKeyAuth": []
  6108. }
  6109. ],
  6110. "produces": [
  6111. "application/json"
  6112. ],
  6113. "tags": [
  6114. "风险管理v3"
  6115. ],
  6116. "summary": "新增现货合同申请",
  6117. "parameters": [
  6118. {
  6119. "description": "申请参数",
  6120. "name": "jsonBody",
  6121. "in": "body",
  6122. "required": true,
  6123. "schema": {
  6124. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6125. }
  6126. }
  6127. ],
  6128. "responses": {
  6129. "200": {
  6130. "description": "OK",
  6131. "schema": {
  6132. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  6133. }
  6134. },
  6135. "500": {
  6136. "description": "Internal Server Error",
  6137. "schema": {
  6138. "$ref": "#/definitions/app.Response"
  6139. }
  6140. }
  6141. }
  6142. }
  6143. },
  6144. "/Erms3/AddUserInfoApply": {
  6145. "post": {
  6146. "security": [
  6147. {
  6148. "ApiKeyAuth": []
  6149. }
  6150. ],
  6151. "produces": [
  6152. "application/json"
  6153. ],
  6154. "tags": [
  6155. "风险管理v3"
  6156. ],
  6157. "summary": "新增客户申请",
  6158. "parameters": [
  6159. {
  6160. "description": "用户信息",
  6161. "name": "jsonBody",
  6162. "in": "body",
  6163. "required": true,
  6164. "schema": {
  6165. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  6166. }
  6167. }
  6168. ],
  6169. "responses": {
  6170. "200": {
  6171. "description": "OK",
  6172. "schema": {
  6173. "$ref": "#/definitions/app.Response"
  6174. }
  6175. },
  6176. "500": {
  6177. "description": "Internal Server Error",
  6178. "schema": {
  6179. "$ref": "#/definitions/app.Response"
  6180. }
  6181. }
  6182. }
  6183. }
  6184. },
  6185. "/Erms3/DeleteUserInfoApply": {
  6186. "get": {
  6187. "security": [
  6188. {
  6189. "ApiKeyAuth": []
  6190. }
  6191. ],
  6192. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  6193. "produces": [
  6194. "application/json"
  6195. ],
  6196. "tags": [
  6197. "风险管理v3"
  6198. ],
  6199. "summary": "删除客户申请",
  6200. "parameters": [
  6201. {
  6202. "type": "integer",
  6203. "description": "用户ID",
  6204. "name": "userID",
  6205. "in": "query",
  6206. "required": true
  6207. }
  6208. ],
  6209. "responses": {
  6210. "200": {
  6211. "description": "OK",
  6212. "schema": {
  6213. "$ref": "#/definitions/app.Response"
  6214. }
  6215. },
  6216. "500": {
  6217. "description": "Internal Server Error",
  6218. "schema": {
  6219. "$ref": "#/definitions/app.Response"
  6220. }
  6221. }
  6222. }
  6223. }
  6224. },
  6225. "/Erms3/ModifyUserInfoApply": {
  6226. "post": {
  6227. "security": [
  6228. {
  6229. "ApiKeyAuth": []
  6230. }
  6231. ],
  6232. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  6233. "produces": [
  6234. "application/json"
  6235. ],
  6236. "tags": [
  6237. "风险管理v3"
  6238. ],
  6239. "summary": "修改客户申请",
  6240. "parameters": [
  6241. {
  6242. "description": "用户信息",
  6243. "name": "jsonBody",
  6244. "in": "body",
  6245. "required": true,
  6246. "schema": {
  6247. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  6248. }
  6249. }
  6250. ],
  6251. "responses": {
  6252. "200": {
  6253. "description": "OK",
  6254. "schema": {
  6255. "$ref": "#/definitions/app.Response"
  6256. }
  6257. },
  6258. "500": {
  6259. "description": "Internal Server Error",
  6260. "schema": {
  6261. "$ref": "#/definitions/app.Response"
  6262. }
  6263. }
  6264. }
  6265. }
  6266. },
  6267. "/Erms3/QueryBusinessInfo": {
  6268. "get": {
  6269. "security": [
  6270. {
  6271. "ApiKeyAuth": []
  6272. }
  6273. ],
  6274. "produces": [
  6275. "application/json"
  6276. ],
  6277. "tags": [
  6278. "风险管理v3"
  6279. ],
  6280. "summary": "查询业务表单数据",
  6281. "parameters": [
  6282. {
  6283. "type": "string",
  6284. "description": "资金账号ID列表,用逗号分隔",
  6285. "name": "accountids",
  6286. "in": "query",
  6287. "required": true
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "状态,0为未结束 1为已结束",
  6292. "name": "status",
  6293. "in": "query",
  6294. "required": true
  6295. }
  6296. ],
  6297. "responses": {
  6298. "200": {
  6299. "description": "OK",
  6300. "schema": {
  6301. "type": "array",
  6302. "items": {
  6303. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6304. }
  6305. }
  6306. },
  6307. "500": {
  6308. "description": "Internal Server Error",
  6309. "schema": {
  6310. "$ref": "#/definitions/app.Response"
  6311. }
  6312. }
  6313. }
  6314. }
  6315. },
  6316. "/Erms3/QueryPendingAuditContract": {
  6317. "get": {
  6318. "security": [
  6319. {
  6320. "ApiKeyAuth": []
  6321. }
  6322. ],
  6323. "produces": [
  6324. "application/json"
  6325. ],
  6326. "tags": [
  6327. "风险管理v3"
  6328. ],
  6329. "summary": "查询待审核合同",
  6330. "parameters": [
  6331. {
  6332. "type": "string",
  6333. "description": "资金账号ID列表,逗号隔开",
  6334. "name": "accountids",
  6335. "in": "query",
  6336. "required": true
  6337. },
  6338. {
  6339. "type": "integer",
  6340. "description": "合同类型 1-采购 -1-销售",
  6341. "name": "contracttype",
  6342. "in": "query",
  6343. "required": true
  6344. },
  6345. {
  6346. "type": "integer",
  6347. "description": "合同模式 1-普通 2-回购",
  6348. "name": "contractmode",
  6349. "in": "query",
  6350. "required": true
  6351. }
  6352. ],
  6353. "responses": {
  6354. "200": {
  6355. "description": "OK",
  6356. "schema": {
  6357. "type": "array",
  6358. "items": {
  6359. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6360. }
  6361. }
  6362. },
  6363. "500": {
  6364. "description": "Internal Server Error",
  6365. "schema": {
  6366. "$ref": "#/definitions/app.Response"
  6367. }
  6368. }
  6369. }
  6370. }
  6371. },
  6372. "/Erms3/QueryPendingBusiness": {
  6373. "get": {
  6374. "security": [
  6375. {
  6376. "ApiKeyAuth": []
  6377. }
  6378. ],
  6379. "produces": [
  6380. "application/json"
  6381. ],
  6382. "tags": [
  6383. "风险管理v3"
  6384. ],
  6385. "summary": "查询待审核基差贸易业务",
  6386. "parameters": [
  6387. {
  6388. "type": "string",
  6389. "description": "资金账号ID列表,逗号隔开",
  6390. "name": "accountids",
  6391. "in": "query",
  6392. "required": true
  6393. }
  6394. ],
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "type": "array",
  6400. "items": {
  6401. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6402. }
  6403. }
  6404. },
  6405. "500": {
  6406. "description": "Internal Server Error",
  6407. "schema": {
  6408. "$ref": "#/definitions/app.Response"
  6409. }
  6410. }
  6411. }
  6412. }
  6413. },
  6414. "/Erms3/QuerySpotContractAppleForm": {
  6415. "get": {
  6416. "security": [
  6417. {
  6418. "ApiKeyAuth": []
  6419. }
  6420. ],
  6421. "produces": [
  6422. "application/json"
  6423. ],
  6424. "tags": [
  6425. "风险管理v3"
  6426. ],
  6427. "summary": "查询合同申请表单数据",
  6428. "parameters": [
  6429. {
  6430. "type": "integer",
  6431. "description": "登录账号",
  6432. "name": "loginID",
  6433. "in": "query",
  6434. "required": true
  6435. }
  6436. ],
  6437. "responses": {
  6438. "200": {
  6439. "description": "OK",
  6440. "schema": {
  6441. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6442. }
  6443. },
  6444. "500": {
  6445. "description": "Internal Server Error",
  6446. "schema": {
  6447. "$ref": "#/definitions/app.Response"
  6448. }
  6449. }
  6450. }
  6451. }
  6452. },
  6453. "/Erms3/QuerySpotContractDetail": {
  6454. "get": {
  6455. "security": [
  6456. {
  6457. "ApiKeyAuth": []
  6458. }
  6459. ],
  6460. "produces": [
  6461. "application/json"
  6462. ],
  6463. "tags": [
  6464. "风险管理v3"
  6465. ],
  6466. "summary": "查询合同详细信息",
  6467. "parameters": [
  6468. {
  6469. "type": "string",
  6470. "description": "资金账号ID列表,用逗号分隔",
  6471. "name": "accountids",
  6472. "in": "query",
  6473. "required": true
  6474. },
  6475. {
  6476. "type": "integer",
  6477. "description": "合同类型,1为采购合同 -1为销售合同",
  6478. "name": "contracttype",
  6479. "in": "query",
  6480. "required": true
  6481. },
  6482. {
  6483. "type": "integer",
  6484. "description": "合同模式,1为普通合同 2为回购销售合同",
  6485. "name": "contractmode",
  6486. "in": "query",
  6487. "required": true
  6488. },
  6489. {
  6490. "type": "integer",
  6491. "description": "状态,0为履约中 1为已完成",
  6492. "name": "status",
  6493. "in": "query",
  6494. "required": true
  6495. }
  6496. ],
  6497. "responses": {
  6498. "200": {
  6499. "description": "OK",
  6500. "schema": {
  6501. "type": "array",
  6502. "items": {
  6503. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6504. }
  6505. }
  6506. },
  6507. "500": {
  6508. "description": "Internal Server Error",
  6509. "schema": {
  6510. "$ref": "#/definitions/app.Response"
  6511. }
  6512. }
  6513. }
  6514. }
  6515. },
  6516. "/Erms3/QueryUserInfoApplies": {
  6517. "get": {
  6518. "security": [
  6519. {
  6520. "ApiKeyAuth": []
  6521. }
  6522. ],
  6523. "produces": [
  6524. "application/json"
  6525. ],
  6526. "tags": [
  6527. "风险管理v3"
  6528. ],
  6529. "summary": "客户申请信息查询",
  6530. "parameters": [
  6531. {
  6532. "type": "integer",
  6533. "description": "页码",
  6534. "name": "page",
  6535. "in": "query"
  6536. },
  6537. {
  6538. "type": "integer",
  6539. "description": "每页条数",
  6540. "name": "pagesize",
  6541. "in": "query"
  6542. },
  6543. {
  6544. "type": "string",
  6545. "description": "客户名称,支持模糊查询",
  6546. "name": "userName",
  6547. "in": "query"
  6548. }
  6549. ],
  6550. "responses": {
  6551. "200": {
  6552. "description": "OK",
  6553. "schema": {
  6554. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6555. }
  6556. },
  6557. "500": {
  6558. "description": "Internal Server Error",
  6559. "schema": {
  6560. "$ref": "#/definitions/app.Response"
  6561. }
  6562. }
  6563. }
  6564. }
  6565. },
  6566. "/Erms3/QueryUserInfos": {
  6567. "get": {
  6568. "security": [
  6569. {
  6570. "ApiKeyAuth": []
  6571. }
  6572. ],
  6573. "produces": [
  6574. "application/json"
  6575. ],
  6576. "tags": [
  6577. "风险管理v3"
  6578. ],
  6579. "summary": "客户信息查询",
  6580. "parameters": [
  6581. {
  6582. "type": "integer",
  6583. "description": "页码",
  6584. "name": "page",
  6585. "in": "query"
  6586. },
  6587. {
  6588. "type": "integer",
  6589. "description": "每页条数",
  6590. "name": "pagesize",
  6591. "in": "query"
  6592. },
  6593. {
  6594. "type": "string",
  6595. "description": "客户名称,支持模糊查询",
  6596. "name": "userName",
  6597. "in": "query"
  6598. }
  6599. ],
  6600. "responses": {
  6601. "200": {
  6602. "description": "OK",
  6603. "schema": {
  6604. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6605. }
  6606. },
  6607. "500": {
  6608. "description": "Internal Server Error",
  6609. "schema": {
  6610. "$ref": "#/definitions/app.Response"
  6611. }
  6612. }
  6613. }
  6614. }
  6615. },
  6616. "/HSBY/GetHsbyMyCount": {
  6617. "get": {
  6618. "security": [
  6619. {
  6620. "ApiKeyAuth": []
  6621. }
  6622. ],
  6623. "description": "说明: 不包括已完成的数量。",
  6624. "produces": [
  6625. "application/json"
  6626. ],
  6627. "tags": [
  6628. "定制【海商报业】"
  6629. ],
  6630. "summary": "获取我的订单与包裹数量",
  6631. "parameters": [
  6632. {
  6633. "type": "string",
  6634. "description": "资金账户列表,格式:1,2,3",
  6635. "name": "accountIDs",
  6636. "in": "query",
  6637. "required": true
  6638. }
  6639. ],
  6640. "responses": {
  6641. "200": {
  6642. "description": "OK",
  6643. "schema": {
  6644. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6645. }
  6646. },
  6647. "500": {
  6648. "description": "Internal Server Error",
  6649. "schema": {
  6650. "$ref": "#/definitions/app.Response"
  6651. }
  6652. }
  6653. }
  6654. }
  6655. },
  6656. "/HSBY/QueryClientFixedADConfigs": {
  6657. "get": {
  6658. "security": [
  6659. {
  6660. "ApiKeyAuth": []
  6661. }
  6662. ],
  6663. "produces": [
  6664. "application/json"
  6665. ],
  6666. "tags": [
  6667. "定制【海商报业】"
  6668. ],
  6669. "summary": "获取终端固定广告配置",
  6670. "responses": {
  6671. "200": {
  6672. "description": "OK",
  6673. "schema": {
  6674. "$ref": "#/definitions/models.Clientfixedadconfig"
  6675. }
  6676. },
  6677. "500": {
  6678. "description": "Internal Server Error",
  6679. "schema": {
  6680. "$ref": "#/definitions/app.Response"
  6681. }
  6682. }
  6683. }
  6684. }
  6685. },
  6686. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6687. "get": {
  6688. "security": [
  6689. {
  6690. "ApiKeyAuth": []
  6691. }
  6692. ],
  6693. "produces": [
  6694. "application/json"
  6695. ],
  6696. "tags": [
  6697. "定制【海商报业】"
  6698. ],
  6699. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6700. "parameters": [
  6701. {
  6702. "type": "integer",
  6703. "description": "页码",
  6704. "name": "page",
  6705. "in": "query"
  6706. },
  6707. {
  6708. "type": "integer",
  6709. "description": "每页条数",
  6710. "name": "pagesize",
  6711. "in": "query"
  6712. },
  6713. {
  6714. "type": "string",
  6715. "description": "资金账户列表,格式:1,2,3",
  6716. "name": "accountIDs",
  6717. "in": "query",
  6718. "required": true
  6719. }
  6720. ],
  6721. "responses": {
  6722. "200": {
  6723. "description": "OK",
  6724. "schema": {
  6725. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6726. }
  6727. },
  6728. "500": {
  6729. "description": "Internal Server Error",
  6730. "schema": {
  6731. "$ref": "#/definitions/app.Response"
  6732. }
  6733. }
  6734. }
  6735. }
  6736. },
  6737. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6738. "get": {
  6739. "security": [
  6740. {
  6741. "ApiKeyAuth": []
  6742. }
  6743. ],
  6744. "description": "说明:查询结果已按委托价格和委托时间排序",
  6745. "produces": [
  6746. "application/json"
  6747. ],
  6748. "tags": [
  6749. "定制【海商报业】"
  6750. ],
  6751. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6752. "parameters": [
  6753. {
  6754. "type": "integer",
  6755. "description": "商品ID",
  6756. "name": "goodsID",
  6757. "in": "query",
  6758. "required": true
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6763. "name": "accountIDs",
  6764. "in": "query"
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6769. "name": "buyOrSell",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "number",
  6774. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6775. "name": "price",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "integer",
  6780. "description": "档位,不传则默认为3档",
  6781. "name": "speed",
  6782. "in": "query"
  6783. }
  6784. ],
  6785. "responses": {
  6786. "200": {
  6787. "description": "OK",
  6788. "schema": {
  6789. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6790. }
  6791. },
  6792. "500": {
  6793. "description": "Internal Server Error",
  6794. "schema": {
  6795. "$ref": "#/definitions/app.Response"
  6796. }
  6797. }
  6798. }
  6799. }
  6800. },
  6801. "/HSBY/QueryHsbyListingGoodsDetail": {
  6802. "get": {
  6803. "security": [
  6804. {
  6805. "ApiKeyAuth": []
  6806. }
  6807. ],
  6808. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6809. "produces": [
  6810. "application/json"
  6811. ],
  6812. "tags": [
  6813. "定制【海商报业】"
  6814. ],
  6815. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6816. "parameters": [
  6817. {
  6818. "type": "integer",
  6819. "description": "商品ID",
  6820. "name": "goodsID",
  6821. "in": "query",
  6822. "required": true
  6823. },
  6824. {
  6825. "type": "integer",
  6826. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6827. "name": "accountID",
  6828. "in": "query"
  6829. }
  6830. ],
  6831. "responses": {
  6832. "200": {
  6833. "description": "OK",
  6834. "schema": {
  6835. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6836. }
  6837. },
  6838. "500": {
  6839. "description": "Internal Server Error",
  6840. "schema": {
  6841. "$ref": "#/definitions/app.Response"
  6842. }
  6843. }
  6844. }
  6845. }
  6846. },
  6847. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6848. "get": {
  6849. "security": [
  6850. {
  6851. "ApiKeyAuth": []
  6852. }
  6853. ],
  6854. "produces": [
  6855. "application/json"
  6856. ],
  6857. "tags": [
  6858. "定制【海商报业】"
  6859. ],
  6860. "summary": "查询三级市场(商城)商品信息详情",
  6861. "parameters": [
  6862. {
  6863. "type": "integer",
  6864. "description": "委托单号",
  6865. "name": "orderID",
  6866. "in": "query",
  6867. "required": true
  6868. },
  6869. {
  6870. "type": "integer",
  6871. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6872. "name": "accountID",
  6873. "in": "query"
  6874. }
  6875. ],
  6876. "responses": {
  6877. "200": {
  6878. "description": "OK",
  6879. "schema": {
  6880. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6881. }
  6882. },
  6883. "500": {
  6884. "description": "Internal Server Error",
  6885. "schema": {
  6886. "$ref": "#/definitions/app.Response"
  6887. }
  6888. }
  6889. }
  6890. }
  6891. },
  6892. "/HSBY/QueryHsbyMarketGoodses": {
  6893. "get": {
  6894. "security": [
  6895. {
  6896. "ApiKeyAuth": []
  6897. }
  6898. ],
  6899. "produces": [
  6900. "application/json"
  6901. ],
  6902. "tags": [
  6903. "定制【海商报业】"
  6904. ],
  6905. "summary": "查询特卖商品列表(三级商城)",
  6906. "parameters": [
  6907. {
  6908. "type": "integer",
  6909. "description": "页码",
  6910. "name": "page",
  6911. "in": "query"
  6912. },
  6913. {
  6914. "type": "integer",
  6915. "description": "每页条数",
  6916. "name": "pagesize",
  6917. "in": "query"
  6918. },
  6919. {
  6920. "type": "string",
  6921. "description": "市场ID列表,格式:1,2,3",
  6922. "name": "marketIDs",
  6923. "in": "query",
  6924. "required": true
  6925. },
  6926. {
  6927. "type": "integer",
  6928. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6929. "name": "accountID",
  6930. "in": "query",
  6931. "required": true
  6932. },
  6933. {
  6934. "type": "integer",
  6935. "description": "类别ID",
  6936. "name": "categoryID",
  6937. "in": "query"
  6938. },
  6939. {
  6940. "type": "string",
  6941. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6942. "name": "goodsIDs",
  6943. "in": "query"
  6944. },
  6945. {
  6946. "type": "integer",
  6947. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6948. "name": "couponTypeID",
  6949. "in": "query"
  6950. }
  6951. ],
  6952. "responses": {
  6953. "200": {
  6954. "description": "OK",
  6955. "schema": {
  6956. "$ref": "#/definitions/models.HsbyMarketGoods"
  6957. }
  6958. },
  6959. "500": {
  6960. "description": "Internal Server Error",
  6961. "schema": {
  6962. "$ref": "#/definitions/app.Response"
  6963. }
  6964. }
  6965. }
  6966. }
  6967. },
  6968. "/HSBY/QueryHsbyMarkets": {
  6969. "get": {
  6970. "security": [
  6971. {
  6972. "ApiKeyAuth": []
  6973. }
  6974. ],
  6975. "produces": [
  6976. "application/json"
  6977. ],
  6978. "tags": [
  6979. "定制【海商报业】"
  6980. ],
  6981. "summary": "查询海商报业相关市场信息",
  6982. "responses": {
  6983. "200": {
  6984. "description": "OK",
  6985. "schema": {
  6986. "$ref": "#/definitions/models.HsbyMarketInfo"
  6987. }
  6988. },
  6989. "500": {
  6990. "description": "Internal Server Error",
  6991. "schema": {
  6992. "$ref": "#/definitions/app.Response"
  6993. }
  6994. }
  6995. }
  6996. }
  6997. },
  6998. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6999. "get": {
  7000. "security": [
  7001. {
  7002. "ApiKeyAuth": []
  7003. }
  7004. ],
  7005. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  7006. "produces": [
  7007. "application/json"
  7008. ],
  7009. "tags": [
  7010. "定制【海商报业】"
  7011. ],
  7012. "summary": "查询“我的订单”信息",
  7013. "parameters": [
  7014. {
  7015. "type": "string",
  7016. "description": "资金账户列表,格式:1,2,3",
  7017. "name": "accountIDs",
  7018. "in": "query",
  7019. "required": true
  7020. }
  7021. ],
  7022. "responses": {
  7023. "200": {
  7024. "description": "OK",
  7025. "schema": {
  7026. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  7027. }
  7028. },
  7029. "500": {
  7030. "description": "Internal Server Error",
  7031. "schema": {
  7032. "$ref": "#/definitions/app.Response"
  7033. }
  7034. }
  7035. }
  7036. }
  7037. },
  7038. "/HSBY/QueryHsbyMyGoods": {
  7039. "get": {
  7040. "security": [
  7041. {
  7042. "ApiKeyAuth": []
  7043. }
  7044. ],
  7045. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  7046. "produces": [
  7047. "application/json"
  7048. ],
  7049. "tags": [
  7050. "定制【海商报业】"
  7051. ],
  7052. "summary": "查询“我的商品”信息",
  7053. "parameters": [
  7054. {
  7055. "type": "string",
  7056. "description": "资金账户列表,格式:1,2,3",
  7057. "name": "accountIDs",
  7058. "in": "query",
  7059. "required": true
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/models.HsbyMyGoods"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/HSBY/QueryHsbyMyPackages": {
  7079. "get": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "定制【海商报业】"
  7090. ],
  7091. "summary": "查询我的包裹信息",
  7092. "parameters": [
  7093. {
  7094. "type": "string",
  7095. "description": "资金账户列表,格式:1,2,3",
  7096. "name": "accountIDs",
  7097. "in": "query",
  7098. "required": true
  7099. },
  7100. {
  7101. "type": "integer",
  7102. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7103. "name": "takeOrderStatus",
  7104. "in": "query"
  7105. }
  7106. ],
  7107. "responses": {
  7108. "200": {
  7109. "description": "OK",
  7110. "schema": {
  7111. "$ref": "#/definitions/models.HsbyMyPackage"
  7112. }
  7113. },
  7114. "500": {
  7115. "description": "Internal Server Error",
  7116. "schema": {
  7117. "$ref": "#/definitions/app.Response"
  7118. }
  7119. }
  7120. }
  7121. }
  7122. },
  7123. "/HSBY/QueryHsbyPreGoodsDetail": {
  7124. "get": {
  7125. "security": [
  7126. {
  7127. "ApiKeyAuth": []
  7128. }
  7129. ],
  7130. "produces": [
  7131. "application/json"
  7132. ],
  7133. "tags": [
  7134. "定制【海商报业】"
  7135. ],
  7136. "summary": "查询一级市场(预售)商品信息详情",
  7137. "parameters": [
  7138. {
  7139. "type": "integer",
  7140. "description": "商品ID",
  7141. "name": "goodsID",
  7142. "in": "query",
  7143. "required": true
  7144. },
  7145. {
  7146. "type": "integer",
  7147. "description": "资金账户,主要用于获取预售商品购买上限",
  7148. "name": "accountID",
  7149. "in": "query"
  7150. }
  7151. ],
  7152. "responses": {
  7153. "200": {
  7154. "description": "OK",
  7155. "schema": {
  7156. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  7157. }
  7158. },
  7159. "500": {
  7160. "description": "Internal Server Error",
  7161. "schema": {
  7162. "$ref": "#/definitions/app.Response"
  7163. }
  7164. }
  7165. }
  7166. }
  7167. },
  7168. "/HSBY/QueryHsbyPreGoodses": {
  7169. "get": {
  7170. "security": [
  7171. {
  7172. "ApiKeyAuth": []
  7173. }
  7174. ],
  7175. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  7176. "produces": [
  7177. "application/json"
  7178. ],
  7179. "tags": [
  7180. "定制【海商报业】"
  7181. ],
  7182. "summary": "查询新品上市商品列表(一级市场预售)",
  7183. "parameters": [
  7184. {
  7185. "type": "integer",
  7186. "description": "页码",
  7187. "name": "page",
  7188. "in": "query"
  7189. },
  7190. {
  7191. "type": "integer",
  7192. "description": "每页条数",
  7193. "name": "pagesize",
  7194. "in": "query"
  7195. },
  7196. {
  7197. "type": "string",
  7198. "description": "市场ID列表,格式:1,2,3",
  7199. "name": "marketIDs",
  7200. "in": "query",
  7201. "required": true
  7202. },
  7203. {
  7204. "type": "integer",
  7205. "description": "目的地(省)ID",
  7206. "name": "descProvinceID",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "目的地(市)ID",
  7212. "name": "descCityID",
  7213. "in": "query"
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "$ref": "#/definitions/models.HsbyPreGoods"
  7221. }
  7222. },
  7223. "500": {
  7224. "description": "Internal Server Error",
  7225. "schema": {
  7226. "$ref": "#/definitions/app.Response"
  7227. }
  7228. }
  7229. }
  7230. }
  7231. },
  7232. "/HSBY/QueryHsbySellMyDetails": {
  7233. "get": {
  7234. "security": [
  7235. {
  7236. "ApiKeyAuth": []
  7237. }
  7238. ],
  7239. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  7240. "produces": [
  7241. "application/json"
  7242. ],
  7243. "tags": [
  7244. "定制【海商报业】"
  7245. ],
  7246. "summary": "查询\"我的闲置\"单据信息",
  7247. "parameters": [
  7248. {
  7249. "type": "integer",
  7250. "description": "页码",
  7251. "name": "page",
  7252. "in": "query"
  7253. },
  7254. {
  7255. "type": "integer",
  7256. "description": "每页条数",
  7257. "name": "pagesize",
  7258. "in": "query"
  7259. },
  7260. {
  7261. "type": "string",
  7262. "description": "资金账户列表,格式:1,2,3",
  7263. "name": "accountIDs",
  7264. "in": "query",
  7265. "required": true
  7266. },
  7267. {
  7268. "type": "integer",
  7269. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7270. "name": "orderType",
  7271. "in": "query"
  7272. }
  7273. ],
  7274. "responses": {
  7275. "200": {
  7276. "description": "OK",
  7277. "schema": {
  7278. "$ref": "#/definitions/models.HsbySellMyDetail"
  7279. }
  7280. },
  7281. "500": {
  7282. "description": "Internal Server Error",
  7283. "schema": {
  7284. "$ref": "#/definitions/app.Response"
  7285. }
  7286. }
  7287. }
  7288. }
  7289. },
  7290. "/HSBY/QueryHsbyTopGoodses": {
  7291. "get": {
  7292. "security": [
  7293. {
  7294. "ApiKeyAuth": []
  7295. }
  7296. ],
  7297. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7298. "produces": [
  7299. "application/json"
  7300. ],
  7301. "tags": [
  7302. "定制【海商报业】"
  7303. ],
  7304. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7305. "parameters": [
  7306. {
  7307. "type": "integer",
  7308. "description": "页码",
  7309. "name": "page",
  7310. "in": "query"
  7311. },
  7312. {
  7313. "type": "integer",
  7314. "description": "每页条数",
  7315. "name": "pagesize",
  7316. "in": "query"
  7317. },
  7318. {
  7319. "type": "string",
  7320. "description": "市场ID列表,格式:1,2,3",
  7321. "name": "marketIDs",
  7322. "in": "query",
  7323. "required": true
  7324. },
  7325. {
  7326. "type": "integer",
  7327. "description": "目的地(省)ID",
  7328. "name": "descProvinceID",
  7329. "in": "query"
  7330. },
  7331. {
  7332. "type": "integer",
  7333. "description": "目的地(市)ID",
  7334. "name": "descCityID",
  7335. "in": "query"
  7336. }
  7337. ],
  7338. "responses": {
  7339. "200": {
  7340. "description": "OK",
  7341. "schema": {
  7342. "$ref": "#/definitions/models.HsbyTopGoods"
  7343. }
  7344. },
  7345. "500": {
  7346. "description": "Internal Server Error",
  7347. "schema": {
  7348. "$ref": "#/definitions/app.Response"
  7349. }
  7350. }
  7351. }
  7352. }
  7353. },
  7354. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7355. "get": {
  7356. "security": [
  7357. {
  7358. "ApiKeyAuth": []
  7359. }
  7360. ],
  7361. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7362. "produces": [
  7363. "application/json"
  7364. ],
  7365. "tags": [
  7366. "定制【海商报业】"
  7367. ],
  7368. "summary": "查询游客三级市场(商城)商品信息详情",
  7369. "parameters": [
  7370. {
  7371. "type": "integer",
  7372. "description": "商品ID",
  7373. "name": "goodsID",
  7374. "in": "query",
  7375. "required": true
  7376. }
  7377. ],
  7378. "responses": {
  7379. "200": {
  7380. "description": "OK",
  7381. "schema": {
  7382. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7383. }
  7384. },
  7385. "500": {
  7386. "description": "Internal Server Error",
  7387. "schema": {
  7388. "$ref": "#/definitions/app.Response"
  7389. }
  7390. }
  7391. }
  7392. }
  7393. },
  7394. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7395. "get": {
  7396. "security": [
  7397. {
  7398. "ApiKeyAuth": []
  7399. }
  7400. ],
  7401. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7402. "produces": [
  7403. "application/json"
  7404. ],
  7405. "tags": [
  7406. "定制【海商报业】"
  7407. ],
  7408. "summary": "查询游客特卖商品列表(三级商城)",
  7409. "parameters": [
  7410. {
  7411. "type": "integer",
  7412. "description": "页码",
  7413. "name": "page",
  7414. "in": "query"
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "每页条数",
  7419. "name": "pagesize",
  7420. "in": "query"
  7421. },
  7422. {
  7423. "type": "string",
  7424. "description": "市场ID列表,格式:1,2,3",
  7425. "name": "marketIDs",
  7426. "in": "query",
  7427. "required": true
  7428. },
  7429. {
  7430. "type": "integer",
  7431. "description": "类别ID",
  7432. "name": "categoryID",
  7433. "in": "query"
  7434. },
  7435. {
  7436. "type": "string",
  7437. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7438. "name": "goodsIDs",
  7439. "in": "query"
  7440. }
  7441. ],
  7442. "responses": {
  7443. "200": {
  7444. "description": "OK",
  7445. "schema": {
  7446. "$ref": "#/definitions/models.HsbyMarketGoods"
  7447. }
  7448. },
  7449. "500": {
  7450. "description": "Internal Server Error",
  7451. "schema": {
  7452. "$ref": "#/definitions/app.Response"
  7453. }
  7454. }
  7455. }
  7456. }
  7457. },
  7458. "/HSBY/QueryMyCollectionOrders": {
  7459. "get": {
  7460. "security": [
  7461. {
  7462. "ApiKeyAuth": []
  7463. }
  7464. ],
  7465. "produces": [
  7466. "application/json"
  7467. ],
  7468. "tags": [
  7469. "定制【海商报业】"
  7470. ],
  7471. "summary": "我的闲置中收款信息查询",
  7472. "parameters": [
  7473. {
  7474. "type": "integer",
  7475. "description": "页码",
  7476. "name": "page",
  7477. "in": "query"
  7478. },
  7479. {
  7480. "type": "integer",
  7481. "description": "每页条数",
  7482. "name": "pagesize",
  7483. "in": "query"
  7484. },
  7485. {
  7486. "type": "string",
  7487. "description": "资金账户,格式:1,2,3",
  7488. "name": "accountIDs",
  7489. "in": "query",
  7490. "required": true
  7491. }
  7492. ],
  7493. "responses": {
  7494. "200": {
  7495. "description": "OK",
  7496. "schema": {
  7497. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7498. }
  7499. },
  7500. "500": {
  7501. "description": "Internal Server Error",
  7502. "schema": {
  7503. "$ref": "#/definitions/app.Response"
  7504. }
  7505. }
  7506. }
  7507. }
  7508. },
  7509. "/HSBY/QueryMyCouponHolds": {
  7510. "get": {
  7511. "security": [
  7512. {
  7513. "ApiKeyAuth": []
  7514. }
  7515. ],
  7516. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7517. "produces": [
  7518. "application/json"
  7519. ],
  7520. "tags": [
  7521. "定制【海商报业】"
  7522. ],
  7523. "summary": "我的优惠卷持仓查询",
  7524. "parameters": [
  7525. {
  7526. "type": "string",
  7527. "description": "资金账户列表,格式:1,2,3",
  7528. "name": "accountIDs",
  7529. "in": "query",
  7530. "required": true
  7531. },
  7532. {
  7533. "type": "string",
  7534. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7535. "name": "holdStatus",
  7536. "in": "query"
  7537. }
  7538. ],
  7539. "responses": {
  7540. "200": {
  7541. "description": "OK",
  7542. "schema": {
  7543. "$ref": "#/definitions/models.MyCouponHold"
  7544. }
  7545. },
  7546. "500": {
  7547. "description": "Internal Server Error",
  7548. "schema": {
  7549. "$ref": "#/definitions/app.Response"
  7550. }
  7551. }
  7552. }
  7553. }
  7554. },
  7555. "/HSBY/QueryMyCoupons": {
  7556. "get": {
  7557. "security": [
  7558. {
  7559. "ApiKeyAuth": []
  7560. }
  7561. ],
  7562. "produces": [
  7563. "application/json"
  7564. ],
  7565. "tags": [
  7566. "定制【海商报业】"
  7567. ],
  7568. "summary": "我的优惠卷查询",
  7569. "parameters": [
  7570. {
  7571. "type": "string",
  7572. "description": "资金账户列表,格式:1,2,3",
  7573. "name": "accountIDs",
  7574. "in": "query",
  7575. "required": true
  7576. },
  7577. {
  7578. "type": "integer",
  7579. "description": "商品ID, 一般与sellUserID配套传入",
  7580. "name": "goodsID",
  7581. "in": "query"
  7582. },
  7583. {
  7584. "type": "integer",
  7585. "description": "卖方UserID",
  7586. "name": "sellUserID",
  7587. "in": "query"
  7588. }
  7589. ],
  7590. "responses": {
  7591. "200": {
  7592. "description": "OK",
  7593. "schema": {
  7594. "$ref": "#/definitions/models.MyCoupon"
  7595. }
  7596. },
  7597. "500": {
  7598. "description": "Internal Server Error",
  7599. "schema": {
  7600. "$ref": "#/definitions/app.Response"
  7601. }
  7602. }
  7603. }
  7604. }
  7605. },
  7606. "/HSBY/QueryMyPayOrders": {
  7607. "get": {
  7608. "security": [
  7609. {
  7610. "ApiKeyAuth": []
  7611. }
  7612. ],
  7613. "produces": [
  7614. "application/json"
  7615. ],
  7616. "tags": [
  7617. "定制【海商报业】"
  7618. ],
  7619. "summary": "获取我的订单中待付款信息",
  7620. "parameters": [
  7621. {
  7622. "type": "integer",
  7623. "description": "页码",
  7624. "name": "page",
  7625. "in": "query"
  7626. },
  7627. {
  7628. "type": "integer",
  7629. "description": "每页条数",
  7630. "name": "pagesize",
  7631. "in": "query"
  7632. },
  7633. {
  7634. "type": "string",
  7635. "description": "资金账户列表,格式:1,2,3",
  7636. "name": "accountIDs",
  7637. "in": "query",
  7638. "required": true
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "买方委托单号",
  7643. "name": "buyOrderID",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "integer",
  7648. "description": "卖方委托单号",
  7649. "name": "sellOrderID",
  7650. "in": "query"
  7651. }
  7652. ],
  7653. "responses": {
  7654. "200": {
  7655. "description": "OK",
  7656. "schema": {
  7657. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7658. }
  7659. },
  7660. "500": {
  7661. "description": "Internal Server Error",
  7662. "schema": {
  7663. "$ref": "#/definitions/app.Response"
  7664. }
  7665. }
  7666. }
  7667. }
  7668. },
  7669. "/HSBY/QueryMyUsedCoupon": {
  7670. "get": {
  7671. "security": [
  7672. {
  7673. "ApiKeyAuth": []
  7674. }
  7675. ],
  7676. "produces": [
  7677. "application/json"
  7678. ],
  7679. "tags": [
  7680. "定制【海商报业】"
  7681. ],
  7682. "summary": "已使用优惠卷查询",
  7683. "parameters": [
  7684. {
  7685. "type": "string",
  7686. "description": "资金账户列表,格式:1,2,3",
  7687. "name": "accountIDs",
  7688. "in": "query",
  7689. "required": true
  7690. }
  7691. ],
  7692. "responses": {
  7693. "200": {
  7694. "description": "OK",
  7695. "schema": {
  7696. "$ref": "#/definitions/models.MyUsedCoupon"
  7697. }
  7698. },
  7699. "500": {
  7700. "description": "Internal Server Error",
  7701. "schema": {
  7702. "$ref": "#/definitions/app.Response"
  7703. }
  7704. }
  7705. }
  7706. }
  7707. },
  7708. "/HSBY/QueryProvincesAndCities": {
  7709. "get": {
  7710. "security": [
  7711. {
  7712. "ApiKeyAuth": []
  7713. }
  7714. ],
  7715. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7716. "produces": [
  7717. "application/json"
  7718. ],
  7719. "tags": [
  7720. "定制【海商报业】"
  7721. ],
  7722. "summary": "查询省市信息(不包括区)",
  7723. "parameters": [
  7724. {
  7725. "type": "integer",
  7726. "description": "省ID",
  7727. "name": "provinceID",
  7728. "in": "query"
  7729. }
  7730. ],
  7731. "responses": {
  7732. "200": {
  7733. "description": "OK",
  7734. "schema": {
  7735. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7736. }
  7737. },
  7738. "500": {
  7739. "description": "Internal Server Error",
  7740. "schema": {
  7741. "$ref": "#/definitions/app.Response"
  7742. }
  7743. }
  7744. }
  7745. }
  7746. },
  7747. "/HSBY/SetHsbyMyPackagesStatus": {
  7748. "post": {
  7749. "security": [
  7750. {
  7751. "ApiKeyAuth": []
  7752. }
  7753. ],
  7754. "produces": [
  7755. "application/json"
  7756. ],
  7757. "tags": [
  7758. "定制【海商报业】"
  7759. ],
  7760. "summary": "设置我的包裹已收货状态",
  7761. "parameters": [
  7762. {
  7763. "type": "string",
  7764. "description": "提货单号",
  7765. "name": "takeOrderID",
  7766. "in": "query",
  7767. "required": true
  7768. },
  7769. {
  7770. "type": "integer",
  7771. "description": "资金账号",
  7772. "name": "accountID",
  7773. "in": "query",
  7774. "required": true
  7775. }
  7776. ],
  7777. "responses": {
  7778. "200": {
  7779. "description": "OK",
  7780. "schema": {
  7781. "$ref": "#/definitions/app.Response"
  7782. }
  7783. },
  7784. "500": {
  7785. "description": "Internal Server Error",
  7786. "schema": {
  7787. "$ref": "#/definitions/app.Response"
  7788. }
  7789. }
  7790. }
  7791. }
  7792. },
  7793. "/Market/GetAllExExchanges": {
  7794. "get": {
  7795. "security": [
  7796. {
  7797. "ApiKeyAuth": []
  7798. }
  7799. ],
  7800. "produces": [
  7801. "application/json"
  7802. ],
  7803. "tags": [
  7804. "通用市场"
  7805. ],
  7806. "summary": "获取所有外部交易所信息",
  7807. "responses": {
  7808. "200": {
  7809. "description": "OK",
  7810. "schema": {
  7811. "$ref": "#/definitions/models.Goods"
  7812. }
  7813. },
  7814. "500": {
  7815. "description": "Internal Server Error",
  7816. "schema": {
  7817. "$ref": "#/definitions/app.Response"
  7818. }
  7819. }
  7820. }
  7821. }
  7822. },
  7823. "/Market/QueryGoodsesByLoginID": {
  7824. "get": {
  7825. "security": [
  7826. {
  7827. "ApiKeyAuth": []
  7828. }
  7829. ],
  7830. "produces": [
  7831. "application/json"
  7832. ],
  7833. "tags": [
  7834. "通用市场"
  7835. ],
  7836. "summary": "获取登录账号有权限的商品信息",
  7837. "parameters": [
  7838. {
  7839. "type": "integer",
  7840. "description": "登录账号",
  7841. "name": "loginID",
  7842. "in": "query",
  7843. "required": true
  7844. },
  7845. {
  7846. "type": "string",
  7847. "description": "市场ID列表,格式:1,2,3",
  7848. "name": "marketIDs",
  7849. "in": "query"
  7850. }
  7851. ],
  7852. "responses": {
  7853. "200": {
  7854. "description": "OK",
  7855. "schema": {
  7856. "$ref": "#/definitions/models.Goods"
  7857. }
  7858. },
  7859. "500": {
  7860. "description": "Internal Server Error",
  7861. "schema": {
  7862. "$ref": "#/definitions/app.Response"
  7863. }
  7864. }
  7865. }
  7866. }
  7867. },
  7868. "/Market/QueryMarketRun": {
  7869. "get": {
  7870. "security": [
  7871. {
  7872. "ApiKeyAuth": []
  7873. }
  7874. ],
  7875. "produces": [
  7876. "application/json"
  7877. ],
  7878. "tags": [
  7879. "通用市场"
  7880. ],
  7881. "summary": "查询市场运行信息",
  7882. "parameters": [
  7883. {
  7884. "type": "integer",
  7885. "description": "市场ID,不传返回所有",
  7886. "name": "marketID",
  7887. "in": "query"
  7888. }
  7889. ],
  7890. "responses": {
  7891. "200": {
  7892. "description": "OK",
  7893. "schema": {
  7894. "$ref": "#/definitions/models.Marketrun"
  7895. }
  7896. },
  7897. "500": {
  7898. "description": "Internal Server Error",
  7899. "schema": {
  7900. "$ref": "#/definitions/app.Response"
  7901. }
  7902. }
  7903. }
  7904. }
  7905. },
  7906. "/Market/QueryMarketsByLoginID": {
  7907. "get": {
  7908. "security": [
  7909. {
  7910. "ApiKeyAuth": []
  7911. }
  7912. ],
  7913. "produces": [
  7914. "application/json"
  7915. ],
  7916. "tags": [
  7917. "通用市场"
  7918. ],
  7919. "summary": "获取登录账号有权限的市场信息",
  7920. "parameters": [
  7921. {
  7922. "type": "integer",
  7923. "description": "登录账号",
  7924. "name": "loginID",
  7925. "in": "query",
  7926. "required": true
  7927. }
  7928. ],
  7929. "responses": {
  7930. "200": {
  7931. "description": "OK",
  7932. "schema": {
  7933. "$ref": "#/definitions/models.Market"
  7934. }
  7935. },
  7936. "500": {
  7937. "description": "Internal Server Error",
  7938. "schema": {
  7939. "$ref": "#/definitions/app.Response"
  7940. }
  7941. }
  7942. }
  7943. }
  7944. },
  7945. "/Order/QueryHisTradeDetail": {
  7946. "get": {
  7947. "security": [
  7948. {
  7949. "ApiKeyAuth": []
  7950. }
  7951. ],
  7952. "produces": [
  7953. "application/json"
  7954. ],
  7955. "tags": [
  7956. "通用单据"
  7957. ],
  7958. "summary": "历史成交单查询(合约市场)",
  7959. "parameters": [
  7960. {
  7961. "type": "string",
  7962. "description": "资金账户 - 格式:1,2,3",
  7963. "name": "accountID",
  7964. "in": "query",
  7965. "required": true
  7966. },
  7967. {
  7968. "type": "integer",
  7969. "description": "成交单号",
  7970. "name": "tradeID",
  7971. "in": "query"
  7972. },
  7973. {
  7974. "type": "integer",
  7975. "description": "委托单号",
  7976. "name": "orderID",
  7977. "in": "query"
  7978. },
  7979. {
  7980. "type": "integer",
  7981. "description": "商品ID",
  7982. "name": "goodsID",
  7983. "in": "query"
  7984. },
  7985. {
  7986. "type": "string",
  7987. "description": "交易模式 - 格式:1,2,3",
  7988. "name": "tradeMode",
  7989. "in": "query"
  7990. },
  7991. {
  7992. "type": "integer",
  7993. "description": "委托单据类型",
  7994. "name": "buildType",
  7995. "in": "query"
  7996. },
  7997. {
  7998. "type": "string",
  7999. "description": "成交类别 - 格式:1,2,3",
  8000. "name": "tradeType",
  8001. "in": "query"
  8002. },
  8003. {
  8004. "type": "string",
  8005. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8006. "name": "startDate",
  8007. "in": "query"
  8008. },
  8009. {
  8010. "type": "string",
  8011. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8012. "name": "endDate",
  8013. "in": "query"
  8014. }
  8015. ],
  8016. "responses": {
  8017. "200": {
  8018. "description": "OK",
  8019. "schema": {
  8020. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/Order/QueryHisTradeOrderDetail": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "通用单据"
  8044. ],
  8045. "summary": "历史委托单查询请求(合约市场)",
  8046. "parameters": [
  8047. {
  8048. "type": "string",
  8049. "description": "资金账户 - 格式:1,2,3",
  8050. "name": "accountID",
  8051. "in": "query",
  8052. "required": true
  8053. },
  8054. {
  8055. "type": "string",
  8056. "description": "交易模式 - 格式:1,2,3",
  8057. "name": "tradeMode",
  8058. "in": "query"
  8059. },
  8060. {
  8061. "type": "string",
  8062. "description": "委托状态 - 格式:1,2,3",
  8063. "name": "orderStatus",
  8064. "in": "query"
  8065. },
  8066. {
  8067. "type": "integer",
  8068. "description": "委托单号",
  8069. "name": "orderID",
  8070. "in": "query"
  8071. },
  8072. {
  8073. "type": "string",
  8074. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8075. "name": "startDate",
  8076. "in": "query"
  8077. },
  8078. {
  8079. "type": "string",
  8080. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8081. "name": "endDate",
  8082. "in": "query"
  8083. }
  8084. ],
  8085. "responses": {
  8086. "200": {
  8087. "description": "OK",
  8088. "schema": {
  8089. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8090. }
  8091. },
  8092. "500": {
  8093. "description": "Internal Server Error",
  8094. "schema": {
  8095. "$ref": "#/definitions/app.Response"
  8096. }
  8097. }
  8098. }
  8099. }
  8100. },
  8101. "/Order/QueryTradeDetail": {
  8102. "get": {
  8103. "security": [
  8104. {
  8105. "ApiKeyAuth": []
  8106. }
  8107. ],
  8108. "produces": [
  8109. "application/json"
  8110. ],
  8111. "tags": [
  8112. "通用单据"
  8113. ],
  8114. "summary": "成交单查询(合约市场)",
  8115. "parameters": [
  8116. {
  8117. "type": "string",
  8118. "description": "资金账户 - 格式:1,2,3",
  8119. "name": "accountID",
  8120. "in": "query",
  8121. "required": true
  8122. },
  8123. {
  8124. "type": "integer",
  8125. "description": "成交单号",
  8126. "name": "tradeID",
  8127. "in": "query"
  8128. },
  8129. {
  8130. "type": "integer",
  8131. "description": "委托单号",
  8132. "name": "orderID",
  8133. "in": "query"
  8134. },
  8135. {
  8136. "type": "string",
  8137. "description": "交易模式 - 格式:1,2,3",
  8138. "name": "tradeMode",
  8139. "in": "query"
  8140. },
  8141. {
  8142. "type": "integer",
  8143. "description": "委托单据类型",
  8144. "name": "buildType",
  8145. "in": "query"
  8146. },
  8147. {
  8148. "type": "string",
  8149. "description": "成交类别 - 格式:1,2,3",
  8150. "name": "tradeType",
  8151. "in": "query"
  8152. },
  8153. {
  8154. "type": "integer",
  8155. "description": "商品ID",
  8156. "name": "goodsID",
  8157. "in": "query"
  8158. }
  8159. ],
  8160. "responses": {
  8161. "200": {
  8162. "description": "OK",
  8163. "schema": {
  8164. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/Order/QueryTradeHolderDetail": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "通用单据"
  8188. ],
  8189. "summary": "查询持仓明细",
  8190. "parameters": [
  8191. {
  8192. "type": "integer",
  8193. "description": "用户id",
  8194. "name": "userid",
  8195. "in": "query"
  8196. },
  8197. {
  8198. "type": "string",
  8199. "description": "资金账号, 格式 1,2,3",
  8200. "name": "accids",
  8201. "in": "query"
  8202. },
  8203. {
  8204. "type": "string",
  8205. "description": "交易模式, 格式 1,2,3",
  8206. "name": "trademodes",
  8207. "in": "query"
  8208. },
  8209. {
  8210. "type": "string",
  8211. "description": "市场id, 格式 1,2,3",
  8212. "name": "marketids",
  8213. "in": "query"
  8214. },
  8215. {
  8216. "type": "integer",
  8217. "description": "商品id",
  8218. "name": "goodsid",
  8219. "in": "query"
  8220. },
  8221. {
  8222. "type": "integer",
  8223. "description": "买卖方向 0-买 1-卖",
  8224. "name": "buyorsell",
  8225. "in": "query"
  8226. }
  8227. ],
  8228. "responses": {
  8229. "200": {
  8230. "description": "OK",
  8231. "schema": {
  8232. "type": "array",
  8233. "items": {
  8234. "$ref": "#/definitions/models.TradeHolderDetail"
  8235. }
  8236. }
  8237. },
  8238. "500": {
  8239. "description": "Internal Server Error",
  8240. "schema": {
  8241. "$ref": "#/definitions/app.Response"
  8242. }
  8243. }
  8244. }
  8245. }
  8246. },
  8247. "/Order/QueryTradeOrderDetail": {
  8248. "get": {
  8249. "security": [
  8250. {
  8251. "ApiKeyAuth": []
  8252. }
  8253. ],
  8254. "produces": [
  8255. "application/json"
  8256. ],
  8257. "tags": [
  8258. "通用单据"
  8259. ],
  8260. "summary": "委托单查询请求(合约市场)",
  8261. "parameters": [
  8262. {
  8263. "type": "string",
  8264. "description": "资金账户 - 格式:1,2,3",
  8265. "name": "accountID",
  8266. "in": "query",
  8267. "required": true
  8268. },
  8269. {
  8270. "type": "string",
  8271. "description": "交易模式 - 格式:1,2,3",
  8272. "name": "tradeMode",
  8273. "in": "query"
  8274. },
  8275. {
  8276. "type": "string",
  8277. "description": "委托状态 - 格式:1,2,3",
  8278. "name": "orderStatus",
  8279. "in": "query"
  8280. },
  8281. {
  8282. "type": "integer",
  8283. "description": "委托单号",
  8284. "name": "orderID",
  8285. "in": "query"
  8286. }
  8287. ],
  8288. "responses": {
  8289. "200": {
  8290. "description": "OK",
  8291. "schema": {
  8292. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8293. }
  8294. },
  8295. "500": {
  8296. "description": "Internal Server Error",
  8297. "schema": {
  8298. "$ref": "#/definitions/app.Response"
  8299. }
  8300. }
  8301. }
  8302. }
  8303. },
  8304. "/Order/QueryTradePosition": {
  8305. "get": {
  8306. "security": [
  8307. {
  8308. "ApiKeyAuth": []
  8309. }
  8310. ],
  8311. "produces": [
  8312. "application/json"
  8313. ],
  8314. "tags": [
  8315. "通用单据"
  8316. ],
  8317. "summary": "持仓汇总查询(合约市场)",
  8318. "parameters": [
  8319. {
  8320. "type": "string",
  8321. "description": "资金账户 - 格式:1,2,3",
  8322. "name": "accountID",
  8323. "in": "query",
  8324. "required": true
  8325. },
  8326. {
  8327. "type": "string",
  8328. "description": "交易模式 - 格式:1,2,3",
  8329. "name": "tradeMode",
  8330. "in": "query"
  8331. }
  8332. ],
  8333. "responses": {
  8334. "200": {
  8335. "description": "OK",
  8336. "schema": {
  8337. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8338. }
  8339. },
  8340. "500": {
  8341. "description": "Internal Server Error",
  8342. "schema": {
  8343. "$ref": "#/definitions/app.Response"
  8344. }
  8345. }
  8346. }
  8347. }
  8348. },
  8349. "/Qhj/QueryAccountInOutApply": {
  8350. "get": {
  8351. "security": [
  8352. {
  8353. "ApiKeyAuth": []
  8354. }
  8355. ],
  8356. "produces": [
  8357. "application/json"
  8358. ],
  8359. "tags": [
  8360. "大连千海金"
  8361. ],
  8362. "summary": "查询充值提现",
  8363. "parameters": [
  8364. {
  8365. "type": "integer",
  8366. "description": "用户ID",
  8367. "name": "userid",
  8368. "in": "query",
  8369. "required": true
  8370. },
  8371. {
  8372. "type": "string",
  8373. "description": "申请起始日期(格式yyyymmdd)",
  8374. "name": "begindate",
  8375. "in": "query"
  8376. },
  8377. {
  8378. "type": "string",
  8379. "description": "申请截止日期(格式yyyymmdd)",
  8380. "name": "enddate",
  8381. "in": "query"
  8382. },
  8383. {
  8384. "type": "string",
  8385. "description": "模糊搜索名称",
  8386. "name": "likename",
  8387. "in": "query"
  8388. }
  8389. ],
  8390. "responses": {
  8391. "200": {
  8392. "description": "OK",
  8393. "schema": {
  8394. "type": "array",
  8395. "items": {
  8396. "$ref": "#/definitions/models.QhjAccountOutInApply"
  8397. }
  8398. }
  8399. },
  8400. "500": {
  8401. "description": "Internal Server Error",
  8402. "schema": {
  8403. "$ref": "#/definitions/app.Response"
  8404. }
  8405. }
  8406. }
  8407. }
  8408. },
  8409. "/Qhj/QueryAreaFinanceConfig": {
  8410. "get": {
  8411. "security": [
  8412. {
  8413. "ApiKeyAuth": []
  8414. }
  8415. ],
  8416. "produces": [
  8417. "application/json"
  8418. ],
  8419. "tags": [
  8420. "大连千海金"
  8421. ],
  8422. "summary": "查询企业配置表",
  8423. "parameters": [
  8424. {
  8425. "type": "integer",
  8426. "description": "机构用户ID 其他做市关系,都设置为 1",
  8427. "name": "userid",
  8428. "in": "query"
  8429. }
  8430. ],
  8431. "responses": {
  8432. "200": {
  8433. "description": "OK",
  8434. "schema": {
  8435. "type": "array",
  8436. "items": {
  8437. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8438. }
  8439. }
  8440. },
  8441. "500": {
  8442. "description": "Internal Server Error",
  8443. "schema": {
  8444. "$ref": "#/definitions/app.Response"
  8445. }
  8446. }
  8447. }
  8448. }
  8449. },
  8450. "/Qhj/QueryBankAccountSign": {
  8451. "get": {
  8452. "security": [
  8453. {
  8454. "ApiKeyAuth": []
  8455. }
  8456. ],
  8457. "produces": [
  8458. "application/json"
  8459. ],
  8460. "tags": [
  8461. "大连千海金"
  8462. ],
  8463. "summary": "查询签约银行信息(提现账户管理)",
  8464. "parameters": [
  8465. {
  8466. "type": "integer",
  8467. "description": "用户ID",
  8468. "name": "userid",
  8469. "in": "query",
  8470. "required": true
  8471. }
  8472. ],
  8473. "responses": {
  8474. "200": {
  8475. "description": "OK",
  8476. "schema": {
  8477. "type": "array",
  8478. "items": {
  8479. "$ref": "#/definitions/models.QhjBankAccountSign"
  8480. }
  8481. }
  8482. },
  8483. "500": {
  8484. "description": "Internal Server Error",
  8485. "schema": {
  8486. "$ref": "#/definitions/app.Response"
  8487. }
  8488. }
  8489. }
  8490. }
  8491. },
  8492. "/Qhj/QueryBankInfo": {
  8493. "get": {
  8494. "security": [
  8495. {
  8496. "ApiKeyAuth": []
  8497. }
  8498. ],
  8499. "produces": [
  8500. "application/json"
  8501. ],
  8502. "tags": [
  8503. "大连千海金"
  8504. ],
  8505. "summary": "查询开户行",
  8506. "responses": {
  8507. "200": {
  8508. "description": "OK",
  8509. "schema": {
  8510. "type": "array",
  8511. "items": {
  8512. "$ref": "#/definitions/models.QhjBankInfo"
  8513. }
  8514. }
  8515. },
  8516. "500": {
  8517. "description": "Internal Server Error",
  8518. "schema": {
  8519. "$ref": "#/definitions/app.Response"
  8520. }
  8521. }
  8522. }
  8523. }
  8524. },
  8525. "/Qhj/QueryBrokerApply": {
  8526. "get": {
  8527. "security": [
  8528. {
  8529. "ApiKeyAuth": []
  8530. }
  8531. ],
  8532. "produces": [
  8533. "application/json"
  8534. ],
  8535. "tags": [
  8536. "大连千海金"
  8537. ],
  8538. "summary": "查询经纪人申请",
  8539. "parameters": [
  8540. {
  8541. "type": "integer",
  8542. "description": "所属机构ID",
  8543. "name": "userid",
  8544. "in": "query"
  8545. },
  8546. {
  8547. "type": "string",
  8548. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8549. "name": "filterstatus",
  8550. "in": "query"
  8551. }
  8552. ],
  8553. "responses": {
  8554. "200": {
  8555. "description": "OK",
  8556. "schema": {
  8557. "type": "array",
  8558. "items": {
  8559. "$ref": "#/definitions/models.QhjBrokerApply"
  8560. }
  8561. }
  8562. },
  8563. "500": {
  8564. "description": "Internal Server Error",
  8565. "schema": {
  8566. "$ref": "#/definitions/app.Response"
  8567. }
  8568. }
  8569. }
  8570. }
  8571. },
  8572. "/Qhj/QueryBrokerApplyEx": {
  8573. "get": {
  8574. "security": [
  8575. {
  8576. "ApiKeyAuth": []
  8577. }
  8578. ],
  8579. "produces": [
  8580. "application/json"
  8581. ],
  8582. "tags": [
  8583. "大连千海金"
  8584. ],
  8585. "summary": "查询经纪人信息和申请记录",
  8586. "parameters": [
  8587. {
  8588. "type": "integer",
  8589. "description": "所属机构ID",
  8590. "name": "userid",
  8591. "in": "query"
  8592. }
  8593. ],
  8594. "responses": {
  8595. "200": {
  8596. "description": "OK",
  8597. "schema": {
  8598. "type": "array",
  8599. "items": {
  8600. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8601. }
  8602. }
  8603. },
  8604. "500": {
  8605. "description": "Internal Server Error",
  8606. "schema": {
  8607. "$ref": "#/definitions/app.Response"
  8608. }
  8609. }
  8610. }
  8611. }
  8612. },
  8613. "/Qhj/QueryBrokerRewardLog": {
  8614. "get": {
  8615. "security": [
  8616. {
  8617. "ApiKeyAuth": []
  8618. }
  8619. ],
  8620. "produces": [
  8621. "application/json"
  8622. ],
  8623. "tags": [
  8624. "大连千海金"
  8625. ],
  8626. "summary": "查询奖励流水(我的奖励)",
  8627. "parameters": [
  8628. {
  8629. "type": "integer",
  8630. "description": "用户ID",
  8631. "name": "userid",
  8632. "in": "query",
  8633. "required": true
  8634. },
  8635. {
  8636. "type": "string",
  8637. "description": "开始交易日(yyyymmdd)",
  8638. "name": "begindate",
  8639. "in": "query"
  8640. },
  8641. {
  8642. "type": "string",
  8643. "description": "结束交易日(yyyymmdd)",
  8644. "name": "enddate",
  8645. "in": "query"
  8646. }
  8647. ],
  8648. "responses": {
  8649. "200": {
  8650. "description": "OK",
  8651. "schema": {
  8652. "type": "array",
  8653. "items": {
  8654. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8655. }
  8656. }
  8657. },
  8658. "500": {
  8659. "description": "Internal Server Error",
  8660. "schema": {
  8661. "$ref": "#/definitions/app.Response"
  8662. }
  8663. }
  8664. }
  8665. }
  8666. },
  8667. "/Qhj/QueryContract": {
  8668. "get": {
  8669. "security": [
  8670. {
  8671. "ApiKeyAuth": []
  8672. }
  8673. ],
  8674. "produces": [
  8675. "application/json"
  8676. ],
  8677. "tags": [
  8678. "大连千海金"
  8679. ],
  8680. "summary": "查询融资明细(合同)",
  8681. "parameters": [
  8682. {
  8683. "type": "integer",
  8684. "description": "用户ID",
  8685. "name": "userid",
  8686. "in": "query"
  8687. },
  8688. {
  8689. "type": "integer",
  8690. "description": "scf合同id",
  8691. "name": "scfcontractid",
  8692. "in": "query"
  8693. }
  8694. ],
  8695. "responses": {
  8696. "200": {
  8697. "description": "OK",
  8698. "schema": {
  8699. "type": "array",
  8700. "items": {
  8701. "$ref": "#/definitions/models.QhjContract"
  8702. }
  8703. }
  8704. },
  8705. "500": {
  8706. "description": "Internal Server Error",
  8707. "schema": {
  8708. "$ref": "#/definitions/app.Response"
  8709. }
  8710. }
  8711. }
  8712. }
  8713. },
  8714. "/Qhj/QueryContractLog": {
  8715. "get": {
  8716. "security": [
  8717. {
  8718. "ApiKeyAuth": []
  8719. }
  8720. ],
  8721. "produces": [
  8722. "application/json"
  8723. ],
  8724. "tags": [
  8725. "大连千海金"
  8726. ],
  8727. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8728. "parameters": [
  8729. {
  8730. "type": "integer",
  8731. "description": "scf合同id",
  8732. "name": "scfcontractid",
  8733. "in": "query",
  8734. "required": true
  8735. },
  8736. {
  8737. "type": "string",
  8738. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8739. "name": "amounttype",
  8740. "in": "query"
  8741. }
  8742. ],
  8743. "responses": {
  8744. "200": {
  8745. "description": "OK",
  8746. "schema": {
  8747. "type": "array",
  8748. "items": {
  8749. "$ref": "#/definitions/models.QhjContractLog"
  8750. }
  8751. }
  8752. },
  8753. "500": {
  8754. "description": "Internal Server Error",
  8755. "schema": {
  8756. "$ref": "#/definitions/app.Response"
  8757. }
  8758. }
  8759. }
  8760. }
  8761. },
  8762. "/Qhj/QueryCusBankSignBank": {
  8763. "get": {
  8764. "security": [
  8765. {
  8766. "ApiKeyAuth": []
  8767. }
  8768. ],
  8769. "produces": [
  8770. "application/json"
  8771. ],
  8772. "tags": [
  8773. "大连千海金"
  8774. ],
  8775. "summary": "查询托管银行",
  8776. "responses": {
  8777. "200": {
  8778. "description": "OK",
  8779. "schema": {
  8780. "type": "array",
  8781. "items": {
  8782. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8783. }
  8784. }
  8785. },
  8786. "500": {
  8787. "description": "Internal Server Error",
  8788. "schema": {
  8789. "$ref": "#/definitions/app.Response"
  8790. }
  8791. }
  8792. }
  8793. }
  8794. },
  8795. "/Qhj/QueryCustomerInfo": {
  8796. "get": {
  8797. "security": [
  8798. {
  8799. "ApiKeyAuth": []
  8800. }
  8801. ],
  8802. "produces": [
  8803. "application/json"
  8804. ],
  8805. "tags": [
  8806. "大连千海金"
  8807. ],
  8808. "summary": "查询客户资料",
  8809. "parameters": [
  8810. {
  8811. "type": "integer",
  8812. "description": "用户ID",
  8813. "name": "userid",
  8814. "in": "query",
  8815. "required": true
  8816. },
  8817. {
  8818. "type": "integer",
  8819. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8820. "name": "querytype",
  8821. "in": "query",
  8822. "required": true
  8823. },
  8824. {
  8825. "type": "integer",
  8826. "description": "客户类型 1-个人 2-企业",
  8827. "name": "userinfotype",
  8828. "in": "query"
  8829. },
  8830. {
  8831. "type": "string",
  8832. "description": "客户名称(模糊匹配)",
  8833. "name": "customername",
  8834. "in": "query"
  8835. },
  8836. {
  8837. "type": "string",
  8838. "description": "昵称(模糊匹配)",
  8839. "name": "nickname",
  8840. "in": "query"
  8841. },
  8842. {
  8843. "type": "integer",
  8844. "description": "是否包含子级 1-包含",
  8845. "name": "includesub",
  8846. "in": "query"
  8847. }
  8848. ],
  8849. "responses": {
  8850. "200": {
  8851. "description": "OK",
  8852. "schema": {
  8853. "type": "array",
  8854. "items": {
  8855. "$ref": "#/definitions/models.QhjCustomer"
  8856. }
  8857. }
  8858. },
  8859. "500": {
  8860. "description": "Internal Server Error",
  8861. "schema": {
  8862. "$ref": "#/definitions/app.Response"
  8863. }
  8864. }
  8865. }
  8866. }
  8867. },
  8868. "/Qhj/QueryGoodsEx": {
  8869. "get": {
  8870. "security": [
  8871. {
  8872. "ApiKeyAuth": []
  8873. }
  8874. ],
  8875. "produces": [
  8876. "application/json"
  8877. ],
  8878. "tags": [
  8879. "大连千海金"
  8880. ],
  8881. "summary": "交易商品扩展表",
  8882. "parameters": [
  8883. {
  8884. "type": "integer",
  8885. "description": "商品id",
  8886. "name": "goodsid",
  8887. "in": "query"
  8888. }
  8889. ],
  8890. "responses": {
  8891. "200": {
  8892. "description": "OK",
  8893. "schema": {
  8894. "type": "array",
  8895. "items": {
  8896. "$ref": "#/definitions/models.Qhjgoodsex"
  8897. }
  8898. }
  8899. },
  8900. "500": {
  8901. "description": "Internal Server Error",
  8902. "schema": {
  8903. "$ref": "#/definitions/app.Response"
  8904. }
  8905. }
  8906. }
  8907. }
  8908. },
  8909. "/Qhj/QueryMyTeam": {
  8910. "get": {
  8911. "security": [
  8912. {
  8913. "ApiKeyAuth": []
  8914. }
  8915. ],
  8916. "produces": [
  8917. "application/json"
  8918. ],
  8919. "tags": [
  8920. "大连千海金"
  8921. ],
  8922. "summary": "查询我的团队",
  8923. "parameters": [
  8924. {
  8925. "type": "integer",
  8926. "description": "用户ID",
  8927. "name": "userid",
  8928. "in": "query",
  8929. "required": true
  8930. }
  8931. ],
  8932. "responses": {
  8933. "200": {
  8934. "description": "OK",
  8935. "schema": {
  8936. "type": "array",
  8937. "items": {
  8938. "$ref": "#/definitions/models.QhjMyTeamEx"
  8939. }
  8940. }
  8941. },
  8942. "500": {
  8943. "description": "Internal Server Error",
  8944. "schema": {
  8945. "$ref": "#/definitions/app.Response"
  8946. }
  8947. }
  8948. }
  8949. }
  8950. },
  8951. "/Qhj/QueryMyTeamOrder": {
  8952. "get": {
  8953. "security": [
  8954. {
  8955. "ApiKeyAuth": []
  8956. }
  8957. ],
  8958. "produces": [
  8959. "application/json"
  8960. ],
  8961. "tags": [
  8962. "大连千海金"
  8963. ],
  8964. "summary": "查询团队订单(我的团队/团队订单)",
  8965. "parameters": [
  8966. {
  8967. "type": "integer",
  8968. "description": "页码",
  8969. "name": "page",
  8970. "in": "query"
  8971. },
  8972. {
  8973. "type": "integer",
  8974. "description": "每页条数",
  8975. "name": "pagesize",
  8976. "in": "query"
  8977. },
  8978. {
  8979. "type": "integer",
  8980. "description": "用户ID",
  8981. "name": "userid",
  8982. "in": "query",
  8983. "required": true
  8984. },
  8985. {
  8986. "type": "integer",
  8987. "description": "交易模式",
  8988. "name": "trademode",
  8989. "in": "query"
  8990. },
  8991. {
  8992. "type": "string",
  8993. "description": "名称(模糊搜索账户)",
  8994. "name": "filtername",
  8995. "in": "query"
  8996. }
  8997. ],
  8998. "responses": {
  8999. "200": {
  9000. "description": "OK",
  9001. "schema": {
  9002. "type": "array",
  9003. "items": {
  9004. "$ref": "#/definitions/models.QhjTeamOrder"
  9005. }
  9006. }
  9007. },
  9008. "500": {
  9009. "description": "Internal Server Error",
  9010. "schema": {
  9011. "$ref": "#/definitions/app.Response"
  9012. }
  9013. }
  9014. }
  9015. }
  9016. },
  9017. "/Qhj/QueryParentAreaList": {
  9018. "get": {
  9019. "security": [
  9020. {
  9021. "ApiKeyAuth": []
  9022. }
  9023. ],
  9024. "produces": [
  9025. "application/json"
  9026. ],
  9027. "tags": [
  9028. "大连千海金"
  9029. ],
  9030. "summary": "查询所属机构列表",
  9031. "parameters": [
  9032. {
  9033. "type": "integer",
  9034. "description": "用户ID",
  9035. "name": "userid",
  9036. "in": "query",
  9037. "required": true
  9038. }
  9039. ],
  9040. "responses": {
  9041. "200": {
  9042. "description": "OK",
  9043. "schema": {
  9044. "type": "array",
  9045. "items": {
  9046. "$ref": "#/definitions/models.QhjParentAreaList"
  9047. }
  9048. }
  9049. },
  9050. "500": {
  9051. "description": "Internal Server Error",
  9052. "schema": {
  9053. "$ref": "#/definitions/app.Response"
  9054. }
  9055. }
  9056. }
  9057. }
  9058. },
  9059. "/Qhj/QueryPayOrder": {
  9060. "get": {
  9061. "security": [
  9062. {
  9063. "ApiKeyAuth": []
  9064. }
  9065. ],
  9066. "produces": [
  9067. "application/json"
  9068. ],
  9069. "tags": [
  9070. "大连千海金"
  9071. ],
  9072. "summary": "查询待付款单据",
  9073. "parameters": [
  9074. {
  9075. "type": "integer",
  9076. "description": "资金账号id",
  9077. "name": "accountid",
  9078. "in": "query",
  9079. "required": true
  9080. },
  9081. {
  9082. "type": "integer",
  9083. "description": "成交单号",
  9084. "name": "tradeid",
  9085. "in": "query"
  9086. },
  9087. {
  9088. "type": "string",
  9089. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9090. "name": "payflag",
  9091. "in": "query"
  9092. }
  9093. ],
  9094. "responses": {
  9095. "200": {
  9096. "description": "OK",
  9097. "schema": {
  9098. "type": "array",
  9099. "items": {
  9100. "$ref": "#/definitions/models.QhjPayOrder"
  9101. }
  9102. }
  9103. },
  9104. "500": {
  9105. "description": "Internal Server Error",
  9106. "schema": {
  9107. "$ref": "#/definitions/app.Response"
  9108. }
  9109. }
  9110. }
  9111. }
  9112. },
  9113. "/Qhj/QueryPickArea": {
  9114. "get": {
  9115. "security": [
  9116. {
  9117. "ApiKeyAuth": []
  9118. }
  9119. ],
  9120. "produces": [
  9121. "application/json"
  9122. ],
  9123. "tags": [
  9124. "大连千海金"
  9125. ],
  9126. "summary": "查询提货门店",
  9127. "parameters": [
  9128. {
  9129. "type": "integer",
  9130. "description": "用户ID",
  9131. "name": "userid",
  9132. "in": "query"
  9133. }
  9134. ],
  9135. "responses": {
  9136. "200": {
  9137. "description": "OK",
  9138. "schema": {
  9139. "type": "array",
  9140. "items": {
  9141. "$ref": "#/definitions/models.QhjPickArea"
  9142. }
  9143. }
  9144. },
  9145. "500": {
  9146. "description": "Internal Server Error",
  9147. "schema": {
  9148. "$ref": "#/definitions/app.Response"
  9149. }
  9150. }
  9151. }
  9152. }
  9153. },
  9154. "/Qhj/QueryPickGoods": {
  9155. "get": {
  9156. "security": [
  9157. {
  9158. "ApiKeyAuth": []
  9159. }
  9160. ],
  9161. "produces": [
  9162. "application/json"
  9163. ],
  9164. "tags": [
  9165. "大连千海金"
  9166. ],
  9167. "summary": "查询提货商品",
  9168. "parameters": [
  9169. {
  9170. "type": "integer",
  9171. "description": "交易商品id",
  9172. "name": "goodsid",
  9173. "in": "query",
  9174. "required": true
  9175. },
  9176. {
  9177. "type": "string",
  9178. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9179. "name": "status",
  9180. "in": "query"
  9181. }
  9182. ],
  9183. "responses": {
  9184. "200": {
  9185. "description": "OK",
  9186. "schema": {
  9187. "type": "array",
  9188. "items": {
  9189. "$ref": "#/definitions/models.QhjPickGoods"
  9190. }
  9191. }
  9192. },
  9193. "500": {
  9194. "description": "Internal Server Error",
  9195. "schema": {
  9196. "$ref": "#/definitions/app.Response"
  9197. }
  9198. }
  9199. }
  9200. }
  9201. },
  9202. "/Qhj/QueryRSTriggerLog": {
  9203. "get": {
  9204. "security": [
  9205. {
  9206. "ApiKeyAuth": []
  9207. }
  9208. ],
  9209. "produces": [
  9210. "application/json"
  9211. ],
  9212. "tags": [
  9213. "大连千海金"
  9214. ],
  9215. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9216. "parameters": [
  9217. {
  9218. "type": "integer",
  9219. "description": "用户ID",
  9220. "name": "userid",
  9221. "in": "query"
  9222. },
  9223. {
  9224. "type": "integer",
  9225. "description": "定投策略id",
  9226. "name": "regularlystrategyid",
  9227. "in": "query"
  9228. },
  9229. {
  9230. "type": "integer",
  9231. "description": "商品id",
  9232. "name": "goodsid",
  9233. "in": "query"
  9234. },
  9235. {
  9236. "type": "string",
  9237. "description": "开始交易日(yyyymmdd)",
  9238. "name": "begindate",
  9239. "in": "query"
  9240. },
  9241. {
  9242. "type": "string",
  9243. "description": "结束交易日(yyyymmdd)",
  9244. "name": "enddate",
  9245. "in": "query"
  9246. },
  9247. {
  9248. "type": "string",
  9249. "description": "名称(模糊搜索账户)",
  9250. "name": "filtername",
  9251. "in": "query"
  9252. }
  9253. ],
  9254. "responses": {
  9255. "200": {
  9256. "description": "OK",
  9257. "schema": {
  9258. "type": "array",
  9259. "items": {
  9260. "$ref": "#/definitions/models.QhjRSTriggerLog"
  9261. }
  9262. }
  9263. },
  9264. "500": {
  9265. "description": "Internal Server Error",
  9266. "schema": {
  9267. "$ref": "#/definitions/app.Response"
  9268. }
  9269. }
  9270. }
  9271. }
  9272. },
  9273. "/Qhj/QueryRStrategy": {
  9274. "get": {
  9275. "security": [
  9276. {
  9277. "ApiKeyAuth": []
  9278. }
  9279. ],
  9280. "produces": [
  9281. "application/json"
  9282. ],
  9283. "tags": [
  9284. "大连千海金"
  9285. ],
  9286. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  9287. "parameters": [
  9288. {
  9289. "type": "integer",
  9290. "description": "用户ID",
  9291. "name": "userid",
  9292. "in": "query"
  9293. },
  9294. {
  9295. "type": "integer",
  9296. "description": "商品id",
  9297. "name": "goodsid",
  9298. "in": "query"
  9299. },
  9300. {
  9301. "type": "string",
  9302. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  9303. "name": "status",
  9304. "in": "query"
  9305. },
  9306. {
  9307. "type": "string",
  9308. "description": "名称(模糊搜索账户)",
  9309. "name": "filtername",
  9310. "in": "query"
  9311. }
  9312. ],
  9313. "responses": {
  9314. "200": {
  9315. "description": "OK",
  9316. "schema": {
  9317. "type": "array",
  9318. "items": {
  9319. "$ref": "#/definitions/models.QhjRStrategy"
  9320. }
  9321. }
  9322. },
  9323. "500": {
  9324. "description": "Internal Server Error",
  9325. "schema": {
  9326. "$ref": "#/definitions/app.Response"
  9327. }
  9328. }
  9329. }
  9330. }
  9331. },
  9332. "/Qhj/QueryReckonPriceLog": {
  9333. "get": {
  9334. "security": [
  9335. {
  9336. "ApiKeyAuth": []
  9337. }
  9338. ],
  9339. "produces": [
  9340. "application/json"
  9341. ],
  9342. "tags": [
  9343. "大连千海金"
  9344. ],
  9345. "summary": "查询定投价(结算价)",
  9346. "parameters": [
  9347. {
  9348. "type": "integer",
  9349. "description": "商品ID",
  9350. "name": "goodsid",
  9351. "in": "query"
  9352. },
  9353. {
  9354. "type": "string",
  9355. "description": "交易日 格式(yyyymmdd)",
  9356. "name": "tradedate",
  9357. "in": "query"
  9358. }
  9359. ],
  9360. "responses": {
  9361. "200": {
  9362. "description": "OK",
  9363. "schema": {
  9364. "type": "array",
  9365. "items": {
  9366. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9367. }
  9368. }
  9369. },
  9370. "500": {
  9371. "description": "Internal Server Error",
  9372. "schema": {
  9373. "$ref": "#/definitions/app.Response"
  9374. }
  9375. }
  9376. }
  9377. }
  9378. },
  9379. "/Qhj/QueryScoreLog": {
  9380. "get": {
  9381. "security": [
  9382. {
  9383. "ApiKeyAuth": []
  9384. }
  9385. ],
  9386. "produces": [
  9387. "application/json"
  9388. ],
  9389. "tags": [
  9390. "大连千海金"
  9391. ],
  9392. "summary": "查询积分流水(我的积分)",
  9393. "parameters": [
  9394. {
  9395. "type": "integer",
  9396. "description": "用户ID",
  9397. "name": "userid",
  9398. "in": "query",
  9399. "required": true
  9400. },
  9401. {
  9402. "type": "string",
  9403. "description": "开始交易日(yyyymmdd)",
  9404. "name": "begindate",
  9405. "in": "query"
  9406. },
  9407. {
  9408. "type": "string",
  9409. "description": "结束交易日(yyyymmdd)",
  9410. "name": "enddate",
  9411. "in": "query"
  9412. },
  9413. {
  9414. "type": "integer",
  9415. "description": "最近多少条",
  9416. "name": "lastnum",
  9417. "in": "query"
  9418. }
  9419. ],
  9420. "responses": {
  9421. "200": {
  9422. "description": "OK",
  9423. "schema": {
  9424. "type": "array",
  9425. "items": {
  9426. "$ref": "#/definitions/models.QhjScoreLog"
  9427. }
  9428. }
  9429. },
  9430. "500": {
  9431. "description": "Internal Server Error",
  9432. "schema": {
  9433. "$ref": "#/definitions/app.Response"
  9434. }
  9435. }
  9436. }
  9437. }
  9438. },
  9439. "/Qhj/QuerySiteColumnDetail": {
  9440. "get": {
  9441. "security": [
  9442. {
  9443. "ApiKeyAuth": []
  9444. }
  9445. ],
  9446. "produces": [
  9447. "application/json"
  9448. ],
  9449. "tags": [
  9450. "大连千海金"
  9451. ],
  9452. "summary": "查询资讯",
  9453. "parameters": [
  9454. {
  9455. "type": "integer",
  9456. "description": "用户ID",
  9457. "name": "userid",
  9458. "in": "query",
  9459. "required": true
  9460. }
  9461. ],
  9462. "responses": {
  9463. "200": {
  9464. "description": "OK",
  9465. "schema": {
  9466. "type": "array",
  9467. "items": {
  9468. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9469. }
  9470. }
  9471. },
  9472. "500": {
  9473. "description": "Internal Server Error",
  9474. "schema": {
  9475. "$ref": "#/definitions/app.Response"
  9476. }
  9477. }
  9478. }
  9479. }
  9480. },
  9481. "/Qhj/QueryTradeGoodsPickup": {
  9482. "get": {
  9483. "security": [
  9484. {
  9485. "ApiKeyAuth": []
  9486. }
  9487. ],
  9488. "produces": [
  9489. "application/json"
  9490. ],
  9491. "tags": [
  9492. "大连千海金"
  9493. ],
  9494. "summary": "查询提货",
  9495. "parameters": [
  9496. {
  9497. "type": "integer",
  9498. "description": "用户ID",
  9499. "name": "userid",
  9500. "in": "query",
  9501. "required": true
  9502. },
  9503. {
  9504. "type": "integer",
  9505. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9506. "name": "takeorderstatus",
  9507. "in": "query"
  9508. }
  9509. ],
  9510. "responses": {
  9511. "200": {
  9512. "description": "OK",
  9513. "schema": {
  9514. "type": "array",
  9515. "items": {
  9516. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9517. }
  9518. }
  9519. },
  9520. "500": {
  9521. "description": "Internal Server Error",
  9522. "schema": {
  9523. "$ref": "#/definitions/app.Response"
  9524. }
  9525. }
  9526. }
  9527. }
  9528. },
  9529. "/Qhj/QueryUserCollectConfig": {
  9530. "get": {
  9531. "security": [
  9532. {
  9533. "ApiKeyAuth": []
  9534. }
  9535. ],
  9536. "produces": [
  9537. "application/json"
  9538. ],
  9539. "tags": [
  9540. "大连千海金"
  9541. ],
  9542. "summary": "查询提现账户设置",
  9543. "parameters": [
  9544. {
  9545. "type": "integer",
  9546. "description": "用户ID",
  9547. "name": "userid",
  9548. "in": "query",
  9549. "required": true
  9550. }
  9551. ],
  9552. "responses": {
  9553. "200": {
  9554. "description": "OK",
  9555. "schema": {
  9556. "type": "array",
  9557. "items": {
  9558. "$ref": "#/definitions/models.UserCollectConfig"
  9559. }
  9560. }
  9561. },
  9562. "500": {
  9563. "description": "Internal Server Error",
  9564. "schema": {
  9565. "$ref": "#/definitions/app.Response"
  9566. }
  9567. }
  9568. }
  9569. }
  9570. },
  9571. "/Qhj/QueryUserReceiveInfo": {
  9572. "get": {
  9573. "security": [
  9574. {
  9575. "ApiKeyAuth": []
  9576. }
  9577. ],
  9578. "produces": [
  9579. "application/json"
  9580. ],
  9581. "tags": [
  9582. "大连千海金"
  9583. ],
  9584. "summary": "查询收货地址信息",
  9585. "parameters": [
  9586. {
  9587. "type": "integer",
  9588. "description": "用户ID",
  9589. "name": "userid",
  9590. "in": "query",
  9591. "required": true
  9592. }
  9593. ],
  9594. "responses": {
  9595. "200": {
  9596. "description": "OK",
  9597. "schema": {
  9598. "type": "array",
  9599. "items": {
  9600. "$ref": "#/definitions/models.UserReceiveInfo"
  9601. }
  9602. }
  9603. },
  9604. "500": {
  9605. "description": "Internal Server Error",
  9606. "schema": {
  9607. "$ref": "#/definitions/app.Response"
  9608. }
  9609. }
  9610. }
  9611. }
  9612. },
  9613. "/QhjMgr/QueryAccountInOutApply": {
  9614. "get": {
  9615. "security": [
  9616. {
  9617. "ApiKeyAuth": []
  9618. }
  9619. ],
  9620. "produces": [
  9621. "application/json"
  9622. ],
  9623. "tags": [
  9624. "大连千海金(PCWeb)"
  9625. ],
  9626. "summary": "查询充值提现",
  9627. "parameters": [
  9628. {
  9629. "type": "integer",
  9630. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9631. "name": "querytype",
  9632. "in": "query",
  9633. "required": true
  9634. },
  9635. {
  9636. "type": "integer",
  9637. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9638. "name": "applystatus",
  9639. "in": "query"
  9640. },
  9641. {
  9642. "type": "string",
  9643. "description": "申请起始日期(格式yyyymmdd)",
  9644. "name": "begindate",
  9645. "in": "query"
  9646. },
  9647. {
  9648. "type": "string",
  9649. "description": "申请截止日期(格式yyyymmdd)",
  9650. "name": "enddate",
  9651. "in": "query"
  9652. },
  9653. {
  9654. "type": "string",
  9655. "description": "模糊搜索名称",
  9656. "name": "likename",
  9657. "in": "query"
  9658. }
  9659. ],
  9660. "responses": {
  9661. "200": {
  9662. "description": "OK",
  9663. "schema": {
  9664. "type": "array",
  9665. "items": {
  9666. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9667. }
  9668. }
  9669. },
  9670. "500": {
  9671. "description": "Internal Server Error",
  9672. "schema": {
  9673. "$ref": "#/definitions/app.Response"
  9674. }
  9675. }
  9676. }
  9677. }
  9678. },
  9679. "/QhjMgr/QueryBrokerApply": {
  9680. "get": {
  9681. "security": [
  9682. {
  9683. "ApiKeyAuth": []
  9684. }
  9685. ],
  9686. "produces": [
  9687. "application/json"
  9688. ],
  9689. "tags": [
  9690. "大连千海金(PCWeb)"
  9691. ],
  9692. "summary": "查询经纪人申请",
  9693. "parameters": [
  9694. {
  9695. "type": "integer",
  9696. "description": "所属机构ID",
  9697. "name": "userid",
  9698. "in": "query"
  9699. },
  9700. {
  9701. "type": "string",
  9702. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9703. "name": "filterstatus",
  9704. "in": "query"
  9705. },
  9706. {
  9707. "type": "string",
  9708. "description": "名称(模糊匹配)",
  9709. "name": "filtername",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "integer",
  9714. "description": "是否包含子级 1-包含",
  9715. "name": "includesub",
  9716. "in": "query"
  9717. }
  9718. ],
  9719. "responses": {
  9720. "200": {
  9721. "description": "OK",
  9722. "schema": {
  9723. "type": "array",
  9724. "items": {
  9725. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9726. }
  9727. }
  9728. },
  9729. "500": {
  9730. "description": "Internal Server Error",
  9731. "schema": {
  9732. "$ref": "#/definitions/app.Response"
  9733. }
  9734. }
  9735. }
  9736. }
  9737. },
  9738. "/QhjMgr/QueryBrokerRewardReport": {
  9739. "get": {
  9740. "security": [
  9741. {
  9742. "ApiKeyAuth": []
  9743. }
  9744. ],
  9745. "produces": [
  9746. "application/json"
  9747. ],
  9748. "tags": [
  9749. "大连千海金(PCWeb)"
  9750. ],
  9751. "summary": "查询经纪人奖励报表(废弃)",
  9752. "parameters": [
  9753. {
  9754. "type": "integer",
  9755. "description": "所属机构ID",
  9756. "name": "userid",
  9757. "in": "query",
  9758. "required": true
  9759. },
  9760. {
  9761. "type": "integer",
  9762. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9763. "name": "cycletype",
  9764. "in": "query",
  9765. "required": true
  9766. },
  9767. {
  9768. "type": "string",
  9769. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9770. "name": "cycletime",
  9771. "in": "query",
  9772. "required": true
  9773. },
  9774. {
  9775. "type": "string",
  9776. "description": "名称(模糊匹配)",
  9777. "name": "filtername",
  9778. "in": "query"
  9779. },
  9780. {
  9781. "type": "integer",
  9782. "description": "是否包含子级 1-包含",
  9783. "name": "includesub",
  9784. "in": "query"
  9785. }
  9786. ],
  9787. "responses": {
  9788. "200": {
  9789. "description": "OK",
  9790. "schema": {
  9791. "type": "array",
  9792. "items": {
  9793. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9794. }
  9795. }
  9796. },
  9797. "500": {
  9798. "description": "Internal Server Error",
  9799. "schema": {
  9800. "$ref": "#/definitions/app.Response"
  9801. }
  9802. }
  9803. }
  9804. }
  9805. },
  9806. "/QhjMgr/QueryContract": {
  9807. "get": {
  9808. "security": [
  9809. {
  9810. "ApiKeyAuth": []
  9811. }
  9812. ],
  9813. "produces": [
  9814. "application/json"
  9815. ],
  9816. "tags": [
  9817. "大连千海金(PCWeb)"
  9818. ],
  9819. "summary": "查询融资信息(合同)",
  9820. "parameters": [
  9821. {
  9822. "type": "integer",
  9823. "description": "用户ID",
  9824. "name": "userid",
  9825. "in": "query"
  9826. },
  9827. {
  9828. "type": "integer",
  9829. "description": "商品id",
  9830. "name": "goodsid",
  9831. "in": "query"
  9832. },
  9833. {
  9834. "type": "string",
  9835. "description": "名称(模糊搜索账户)",
  9836. "name": "filtername",
  9837. "in": "query"
  9838. },
  9839. {
  9840. "type": "string",
  9841. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9842. "name": "risklevel",
  9843. "in": "query"
  9844. },
  9845. {
  9846. "type": "string",
  9847. "description": "开始交易日(yyyymmdd)",
  9848. "name": "begindate",
  9849. "in": "query"
  9850. },
  9851. {
  9852. "type": "string",
  9853. "description": "结束交易日(yyyymmdd)",
  9854. "name": "enddate",
  9855. "in": "query"
  9856. }
  9857. ],
  9858. "responses": {
  9859. "200": {
  9860. "description": "OK",
  9861. "schema": {
  9862. "type": "array",
  9863. "items": {
  9864. "$ref": "#/definitions/models.QhjMgrContract"
  9865. }
  9866. }
  9867. },
  9868. "500": {
  9869. "description": "Internal Server Error",
  9870. "schema": {
  9871. "$ref": "#/definitions/app.Response"
  9872. }
  9873. }
  9874. }
  9875. }
  9876. },
  9877. "/QhjMgr/QueryCustomerInfo": {
  9878. "get": {
  9879. "security": [
  9880. {
  9881. "ApiKeyAuth": []
  9882. }
  9883. ],
  9884. "produces": [
  9885. "application/json"
  9886. ],
  9887. "tags": [
  9888. "大连千海金(PCWeb)"
  9889. ],
  9890. "summary": "查询客户资料",
  9891. "parameters": [
  9892. {
  9893. "type": "integer",
  9894. "description": "用户ID",
  9895. "name": "userid",
  9896. "in": "query",
  9897. "required": true
  9898. },
  9899. {
  9900. "type": "integer",
  9901. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9902. "name": "querytype",
  9903. "in": "query",
  9904. "required": true
  9905. },
  9906. {
  9907. "type": "integer",
  9908. "description": "客户类型 1-个人 2-企业",
  9909. "name": "userinfotype",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "string",
  9914. "description": "客户名称(模糊匹配)",
  9915. "name": "customername",
  9916. "in": "query"
  9917. },
  9918. {
  9919. "type": "string",
  9920. "description": "昵称(模糊匹配)",
  9921. "name": "nickname",
  9922. "in": "query"
  9923. },
  9924. {
  9925. "type": "string",
  9926. "description": "所属客户经理(模糊匹配)",
  9927. "name": "brokername",
  9928. "in": "query"
  9929. },
  9930. {
  9931. "type": "string",
  9932. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9933. "name": "birthday",
  9934. "in": "query"
  9935. },
  9936. {
  9937. "type": "integer",
  9938. "description": "是否包含子级 1-包含",
  9939. "name": "includesub",
  9940. "in": "query"
  9941. }
  9942. ],
  9943. "responses": {
  9944. "200": {
  9945. "description": "OK",
  9946. "schema": {
  9947. "type": "array",
  9948. "items": {
  9949. "$ref": "#/definitions/models.QhjMgrCustomer"
  9950. }
  9951. }
  9952. },
  9953. "500": {
  9954. "description": "Internal Server Error",
  9955. "schema": {
  9956. "$ref": "#/definitions/app.Response"
  9957. }
  9958. }
  9959. }
  9960. }
  9961. },
  9962. "/QhjMgr/QueryPickGoods": {
  9963. "get": {
  9964. "security": [
  9965. {
  9966. "ApiKeyAuth": []
  9967. }
  9968. ],
  9969. "produces": [
  9970. "application/json"
  9971. ],
  9972. "tags": [
  9973. "大连千海金(PCWeb)"
  9974. ],
  9975. "summary": "查询提货商品",
  9976. "parameters": [
  9977. {
  9978. "type": "string",
  9979. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9980. "name": "status",
  9981. "in": "query"
  9982. }
  9983. ],
  9984. "responses": {
  9985. "200": {
  9986. "description": "OK",
  9987. "schema": {
  9988. "type": "array",
  9989. "items": {
  9990. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9991. }
  9992. }
  9993. },
  9994. "500": {
  9995. "description": "Internal Server Error",
  9996. "schema": {
  9997. "$ref": "#/definitions/app.Response"
  9998. }
  9999. }
  10000. }
  10001. }
  10002. },
  10003. "/QhjMgr/QuerySubArea": {
  10004. "get": {
  10005. "security": [
  10006. {
  10007. "ApiKeyAuth": []
  10008. }
  10009. ],
  10010. "produces": [
  10011. "application/json"
  10012. ],
  10013. "tags": [
  10014. "大连千海金(PCWeb)"
  10015. ],
  10016. "summary": "查询子机构列表",
  10017. "parameters": [
  10018. {
  10019. "type": "integer",
  10020. "description": "用户ID",
  10021. "name": "userid",
  10022. "in": "query",
  10023. "required": true
  10024. }
  10025. ],
  10026. "responses": {
  10027. "200": {
  10028. "description": "OK",
  10029. "schema": {
  10030. "type": "array",
  10031. "items": {
  10032. "$ref": "#/definitions/models.QhjMgrSubArea"
  10033. }
  10034. }
  10035. },
  10036. "500": {
  10037. "description": "Internal Server Error",
  10038. "schema": {
  10039. "$ref": "#/definitions/app.Response"
  10040. }
  10041. }
  10042. }
  10043. }
  10044. },
  10045. "/QhjMgr/QueryTradeDetail": {
  10046. "get": {
  10047. "security": [
  10048. {
  10049. "ApiKeyAuth": []
  10050. }
  10051. ],
  10052. "produces": [
  10053. "application/json"
  10054. ],
  10055. "tags": [
  10056. "大连千海金(PCWeb)"
  10057. ],
  10058. "summary": "查询成交明细",
  10059. "parameters": [
  10060. {
  10061. "type": "integer",
  10062. "description": "用户ID",
  10063. "name": "userid",
  10064. "in": "query",
  10065. "required": true
  10066. },
  10067. {
  10068. "type": "integer",
  10069. "description": "用户类型 1-个人 2-企业",
  10070. "name": "userinfotype",
  10071. "in": "query"
  10072. },
  10073. {
  10074. "type": "integer",
  10075. "description": "交易模式",
  10076. "name": "trademode",
  10077. "in": "query"
  10078. },
  10079. {
  10080. "type": "integer",
  10081. "description": "商品id",
  10082. "name": "goodsid",
  10083. "in": "query"
  10084. },
  10085. {
  10086. "type": "string",
  10087. "description": "名称(模糊搜索账户)",
  10088. "name": "filtername",
  10089. "in": "query"
  10090. },
  10091. {
  10092. "type": "string",
  10093. "description": "开始交易日(yyyymmdd)",
  10094. "name": "begindate",
  10095. "in": "query"
  10096. },
  10097. {
  10098. "type": "string",
  10099. "description": "结束交易日(yyyymmdd)",
  10100. "name": "enddate",
  10101. "in": "query"
  10102. },
  10103. {
  10104. "type": "integer",
  10105. "description": "是否包含子级 1-包含",
  10106. "name": "includesub",
  10107. "in": "query"
  10108. }
  10109. ],
  10110. "responses": {
  10111. "200": {
  10112. "description": "OK",
  10113. "schema": {
  10114. "type": "array",
  10115. "items": {
  10116. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10117. }
  10118. }
  10119. },
  10120. "500": {
  10121. "description": "Internal Server Error",
  10122. "schema": {
  10123. "$ref": "#/definitions/app.Response"
  10124. }
  10125. }
  10126. }
  10127. }
  10128. },
  10129. "/QhjMgr/QueryTradeOrderDetail": {
  10130. "get": {
  10131. "security": [
  10132. {
  10133. "ApiKeyAuth": []
  10134. }
  10135. ],
  10136. "produces": [
  10137. "application/json"
  10138. ],
  10139. "tags": [
  10140. "大连千海金(PCWeb)"
  10141. ],
  10142. "summary": "查询委托明细",
  10143. "parameters": [
  10144. {
  10145. "type": "integer",
  10146. "description": "用户ID",
  10147. "name": "userid",
  10148. "in": "query",
  10149. "required": true
  10150. },
  10151. {
  10152. "type": "integer",
  10153. "description": "用户类型 1-个人 2-企业",
  10154. "name": "userinfotype",
  10155. "in": "query"
  10156. },
  10157. {
  10158. "type": "integer",
  10159. "description": "交易模式",
  10160. "name": "trademode",
  10161. "in": "query"
  10162. },
  10163. {
  10164. "type": "integer",
  10165. "description": "商品id",
  10166. "name": "goodsid",
  10167. "in": "query"
  10168. },
  10169. {
  10170. "type": "string",
  10171. "description": "名称(模糊搜索账户)",
  10172. "name": "filtername",
  10173. "in": "query"
  10174. },
  10175. {
  10176. "type": "string",
  10177. "description": "开始交易日(yyyymmdd)",
  10178. "name": "begindate",
  10179. "in": "query"
  10180. },
  10181. {
  10182. "type": "string",
  10183. "description": "结束交易日(yyyymmdd)",
  10184. "name": "enddate",
  10185. "in": "query"
  10186. },
  10187. {
  10188. "type": "integer",
  10189. "description": "是否包含子级 1-包含",
  10190. "name": "includesub",
  10191. "in": "query"
  10192. }
  10193. ],
  10194. "responses": {
  10195. "200": {
  10196. "description": "OK",
  10197. "schema": {
  10198. "type": "array",
  10199. "items": {
  10200. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10201. }
  10202. }
  10203. },
  10204. "500": {
  10205. "description": "Internal Server Error",
  10206. "schema": {
  10207. "$ref": "#/definitions/app.Response"
  10208. }
  10209. }
  10210. }
  10211. }
  10212. },
  10213. "/QhjMgr/QueryTradePayOrder": {
  10214. "get": {
  10215. "security": [
  10216. {
  10217. "ApiKeyAuth": []
  10218. }
  10219. ],
  10220. "produces": [
  10221. "application/json"
  10222. ],
  10223. "tags": [
  10224. "大连千海金(PCWeb)"
  10225. ],
  10226. "summary": "查询待付款单",
  10227. "parameters": [
  10228. {
  10229. "type": "integer",
  10230. "description": "用户ID",
  10231. "name": "userid",
  10232. "in": "query",
  10233. "required": true
  10234. },
  10235. {
  10236. "type": "string",
  10237. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10238. "name": "payflag",
  10239. "in": "query"
  10240. },
  10241. {
  10242. "type": "integer",
  10243. "description": "用户类型 1-个人 2-企业",
  10244. "name": "userinfotype",
  10245. "in": "query"
  10246. },
  10247. {
  10248. "type": "integer",
  10249. "description": "交易模式",
  10250. "name": "trademode",
  10251. "in": "query"
  10252. },
  10253. {
  10254. "type": "integer",
  10255. "description": "商品id",
  10256. "name": "goodsid",
  10257. "in": "query"
  10258. },
  10259. {
  10260. "type": "string",
  10261. "description": "名称(模糊搜索账户)",
  10262. "name": "filtername",
  10263. "in": "query"
  10264. },
  10265. {
  10266. "type": "string",
  10267. "description": "开始交易日(yyyymmdd)",
  10268. "name": "begindate",
  10269. "in": "query"
  10270. },
  10271. {
  10272. "type": "string",
  10273. "description": "结束交易日(yyyymmdd)",
  10274. "name": "enddate",
  10275. "in": "query"
  10276. },
  10277. {
  10278. "type": "integer",
  10279. "description": "是否包含子级 1-包含",
  10280. "name": "includesub",
  10281. "in": "query"
  10282. }
  10283. ],
  10284. "responses": {
  10285. "200": {
  10286. "description": "OK",
  10287. "schema": {
  10288. "type": "array",
  10289. "items": {
  10290. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  10291. }
  10292. }
  10293. },
  10294. "500": {
  10295. "description": "Internal Server Error",
  10296. "schema": {
  10297. "$ref": "#/definitions/app.Response"
  10298. }
  10299. }
  10300. }
  10301. }
  10302. },
  10303. "/QhjMgr/QueryTradePosition": {
  10304. "get": {
  10305. "security": [
  10306. {
  10307. "ApiKeyAuth": []
  10308. }
  10309. ],
  10310. "produces": [
  10311. "application/json"
  10312. ],
  10313. "tags": [
  10314. "大连千海金(PCWeb)"
  10315. ],
  10316. "summary": "查询持仓汇总",
  10317. "parameters": [
  10318. {
  10319. "type": "integer",
  10320. "description": "用户ID",
  10321. "name": "userid",
  10322. "in": "query",
  10323. "required": true
  10324. },
  10325. {
  10326. "type": "integer",
  10327. "description": "用户类型 1-个人 2-企业",
  10328. "name": "userinfotype",
  10329. "in": "query"
  10330. },
  10331. {
  10332. "type": "integer",
  10333. "description": "交易模式",
  10334. "name": "trademode",
  10335. "in": "query"
  10336. },
  10337. {
  10338. "type": "integer",
  10339. "description": "商品id",
  10340. "name": "goodsid",
  10341. "in": "query"
  10342. },
  10343. {
  10344. "type": "string",
  10345. "description": "名称(模糊搜索账户)",
  10346. "name": "filtername",
  10347. "in": "query"
  10348. },
  10349. {
  10350. "type": "integer",
  10351. "description": "是否包含子级 1-包含",
  10352. "name": "includesub",
  10353. "in": "query"
  10354. }
  10355. ],
  10356. "responses": {
  10357. "200": {
  10358. "description": "OK",
  10359. "schema": {
  10360. "type": "array",
  10361. "items": {
  10362. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10363. }
  10364. }
  10365. },
  10366. "500": {
  10367. "description": "Internal Server Error",
  10368. "schema": {
  10369. "$ref": "#/definitions/app.Response"
  10370. }
  10371. }
  10372. }
  10373. }
  10374. },
  10375. "/QhjSys/QueryAgreementChangeLog": {
  10376. "get": {
  10377. "security": [
  10378. {
  10379. "ApiKeyAuth": []
  10380. }
  10381. ],
  10382. "produces": [
  10383. "application/json"
  10384. ],
  10385. "tags": [
  10386. "大连千海金(协议和签约信息)"
  10387. ],
  10388. "summary": "查询协议配置变更流水",
  10389. "parameters": [
  10390. {
  10391. "type": "integer",
  10392. "description": "协议ID",
  10393. "name": "agreementid",
  10394. "in": "query"
  10395. },
  10396. {
  10397. "type": "integer",
  10398. "description": "协议版本号",
  10399. "name": "agreementversion",
  10400. "in": "query"
  10401. },
  10402. {
  10403. "type": "integer",
  10404. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10405. "name": "agreementtype",
  10406. "in": "query"
  10407. },
  10408. {
  10409. "type": "string",
  10410. "description": "协议编号(模糊匹配)",
  10411. "name": "agreementno",
  10412. "in": "query"
  10413. },
  10414. {
  10415. "type": "string",
  10416. "description": "协议名称(模糊匹配)",
  10417. "name": "agreementname",
  10418. "in": "query"
  10419. }
  10420. ],
  10421. "responses": {
  10422. "200": {
  10423. "description": "OK",
  10424. "schema": {
  10425. "type": "array",
  10426. "items": {
  10427. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10428. }
  10429. }
  10430. },
  10431. "500": {
  10432. "description": "Internal Server Error",
  10433. "schema": {
  10434. "$ref": "#/definitions/app.Response"
  10435. }
  10436. }
  10437. }
  10438. }
  10439. },
  10440. "/QhjSys/QueryAgreementConfig": {
  10441. "get": {
  10442. "security": [
  10443. {
  10444. "ApiKeyAuth": []
  10445. }
  10446. ],
  10447. "produces": [
  10448. "application/json"
  10449. ],
  10450. "tags": [
  10451. "大连千海金(协议和签约信息)"
  10452. ],
  10453. "summary": "查询协议配置",
  10454. "parameters": [
  10455. {
  10456. "type": "integer",
  10457. "description": "协议ID",
  10458. "name": "agreementid",
  10459. "in": "query"
  10460. },
  10461. {
  10462. "type": "integer",
  10463. "description": "协议版本号",
  10464. "name": "agreementversion",
  10465. "in": "query"
  10466. },
  10467. {
  10468. "type": "integer",
  10469. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10470. "name": "agreementtype",
  10471. "in": "query"
  10472. },
  10473. {
  10474. "type": "integer",
  10475. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10476. "name": "isvalid",
  10477. "in": "query"
  10478. },
  10479. {
  10480. "type": "string",
  10481. "description": "协议编号(模糊匹配)",
  10482. "name": "agreementno",
  10483. "in": "query"
  10484. },
  10485. {
  10486. "type": "string",
  10487. "description": "协议名称(模糊匹配)",
  10488. "name": "agreementname",
  10489. "in": "query"
  10490. }
  10491. ],
  10492. "responses": {
  10493. "200": {
  10494. "description": "OK",
  10495. "schema": {
  10496. "type": "array",
  10497. "items": {
  10498. "$ref": "#/definitions/models.QhjAgreementConfig"
  10499. }
  10500. }
  10501. },
  10502. "500": {
  10503. "description": "Internal Server Error",
  10504. "schema": {
  10505. "$ref": "#/definitions/app.Response"
  10506. }
  10507. }
  10508. }
  10509. }
  10510. },
  10511. "/QhjSys/QueryCustomerSignStatus": {
  10512. "get": {
  10513. "security": [
  10514. {
  10515. "ApiKeyAuth": []
  10516. }
  10517. ],
  10518. "produces": [
  10519. "application/json"
  10520. ],
  10521. "tags": [
  10522. "大连千海金(协议和签约信息)"
  10523. ],
  10524. "summary": "查询客户协议签约状态",
  10525. "parameters": [
  10526. {
  10527. "type": "integer",
  10528. "description": "客户ID",
  10529. "name": "userid",
  10530. "in": "query"
  10531. },
  10532. {
  10533. "type": "integer",
  10534. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10535. "name": "nodetype",
  10536. "in": "query"
  10537. },
  10538. {
  10539. "type": "integer",
  10540. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10541. "name": "goodsid",
  10542. "in": "query"
  10543. },
  10544. {
  10545. "type": "string",
  10546. "description": "创建交易日(yyyyMMdd)",
  10547. "name": "tradedate",
  10548. "in": "query"
  10549. },
  10550. {
  10551. "type": "string",
  10552. "description": "用户名称(模糊匹配)",
  10553. "name": "username",
  10554. "in": "query"
  10555. }
  10556. ],
  10557. "responses": {
  10558. "200": {
  10559. "description": "OK",
  10560. "schema": {
  10561. "type": "array",
  10562. "items": {
  10563. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10564. }
  10565. }
  10566. },
  10567. "500": {
  10568. "description": "Internal Server Error",
  10569. "schema": {
  10570. "$ref": "#/definitions/app.Response"
  10571. }
  10572. }
  10573. }
  10574. }
  10575. },
  10576. "/QhjSys/QueryNodeAgreementConfig": {
  10577. "get": {
  10578. "security": [
  10579. {
  10580. "ApiKeyAuth": []
  10581. }
  10582. ],
  10583. "produces": [
  10584. "application/json"
  10585. ],
  10586. "tags": [
  10587. "大连千海金(协议和签约信息)"
  10588. ],
  10589. "summary": "查询协议节点配置",
  10590. "parameters": [
  10591. {
  10592. "type": "integer",
  10593. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10594. "name": "configid",
  10595. "in": "query"
  10596. },
  10597. {
  10598. "type": "integer",
  10599. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10600. "name": "nodetype",
  10601. "in": "query"
  10602. },
  10603. {
  10604. "type": "integer",
  10605. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10606. "name": "goodsid",
  10607. "in": "query"
  10608. },
  10609. {
  10610. "type": "integer",
  10611. "description": "协议ID",
  10612. "name": "agreementid",
  10613. "in": "query"
  10614. },
  10615. {
  10616. "type": "integer",
  10617. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10618. "name": "agreementtype",
  10619. "in": "query"
  10620. },
  10621. {
  10622. "type": "integer",
  10623. "description": "协议版本号",
  10624. "name": "agreementversion",
  10625. "in": "query"
  10626. },
  10627. {
  10628. "type": "string",
  10629. "description": "协议编号(模糊匹配)",
  10630. "name": "agreementno",
  10631. "in": "query"
  10632. },
  10633. {
  10634. "type": "string",
  10635. "description": "协议名称(模糊匹配)",
  10636. "name": "agreementname",
  10637. "in": "query"
  10638. }
  10639. ],
  10640. "responses": {
  10641. "200": {
  10642. "description": "OK",
  10643. "schema": {
  10644. "type": "array",
  10645. "items": {
  10646. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10647. }
  10648. }
  10649. },
  10650. "500": {
  10651. "description": "Internal Server Error",
  10652. "schema": {
  10653. "$ref": "#/definitions/app.Response"
  10654. }
  10655. }
  10656. }
  10657. }
  10658. },
  10659. "/QhjSys/QueryQhjCustomerSignLog": {
  10660. "get": {
  10661. "security": [
  10662. {
  10663. "ApiKeyAuth": []
  10664. }
  10665. ],
  10666. "produces": [
  10667. "application/json"
  10668. ],
  10669. "tags": [
  10670. "大连千海金(协议和签约信息)"
  10671. ],
  10672. "summary": "查询客户协议签约流水",
  10673. "parameters": [
  10674. {
  10675. "type": "integer",
  10676. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10677. "name": "logid",
  10678. "in": "query"
  10679. },
  10680. {
  10681. "type": "integer",
  10682. "description": "客户ID",
  10683. "name": "userid",
  10684. "in": "query"
  10685. },
  10686. {
  10687. "type": "integer",
  10688. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10689. "name": "nodetype",
  10690. "in": "query"
  10691. },
  10692. {
  10693. "type": "integer",
  10694. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10695. "name": "goodsid",
  10696. "in": "query"
  10697. },
  10698. {
  10699. "type": "integer",
  10700. "description": "协议ID",
  10701. "name": "agreementid",
  10702. "in": "query"
  10703. },
  10704. {
  10705. "type": "string",
  10706. "description": "用户名称(模糊匹配)",
  10707. "name": "username",
  10708. "in": "query"
  10709. },
  10710. {
  10711. "type": "string",
  10712. "description": "协议编号(模糊匹配)",
  10713. "name": "agreementno",
  10714. "in": "query"
  10715. },
  10716. {
  10717. "type": "string",
  10718. "description": "协议名称(模糊匹配)",
  10719. "name": "agreementname",
  10720. "in": "query"
  10721. }
  10722. ],
  10723. "responses": {
  10724. "200": {
  10725. "description": "OK",
  10726. "schema": {
  10727. "type": "array",
  10728. "items": {
  10729. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10730. }
  10731. }
  10732. },
  10733. "500": {
  10734. "description": "Internal Server Error",
  10735. "schema": {
  10736. "$ref": "#/definitions/app.Response"
  10737. }
  10738. }
  10739. }
  10740. }
  10741. },
  10742. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10743. "get": {
  10744. "security": [
  10745. {
  10746. "ApiKeyAuth": []
  10747. }
  10748. ],
  10749. "produces": [
  10750. "application/json"
  10751. ],
  10752. "tags": [
  10753. "大连千海金(协议和签约信息)"
  10754. ],
  10755. "summary": "查询用户协议节点配置和状态",
  10756. "parameters": [
  10757. {
  10758. "type": "integer",
  10759. "description": "客户ID",
  10760. "name": "userid",
  10761. "in": "query"
  10762. },
  10763. {
  10764. "type": "integer",
  10765. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10766. "name": "configid",
  10767. "in": "query"
  10768. },
  10769. {
  10770. "type": "string",
  10771. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10772. "name": "nodetype",
  10773. "in": "query"
  10774. },
  10775. {
  10776. "type": "integer",
  10777. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10778. "name": "goodsid",
  10779. "in": "query"
  10780. },
  10781. {
  10782. "type": "integer",
  10783. "description": "协议ID",
  10784. "name": "agreementid",
  10785. "in": "query"
  10786. },
  10787. {
  10788. "type": "integer",
  10789. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10790. "name": "agreementtype",
  10791. "in": "query"
  10792. },
  10793. {
  10794. "type": "integer",
  10795. "description": "协议版本号",
  10796. "name": "agreementversion",
  10797. "in": "query"
  10798. },
  10799. {
  10800. "type": "string",
  10801. "description": "协议编号(模糊匹配)",
  10802. "name": "agreementno",
  10803. "in": "query"
  10804. },
  10805. {
  10806. "type": "string",
  10807. "description": "协议名称(模糊匹配)",
  10808. "name": "agreementname",
  10809. "in": "query"
  10810. }
  10811. ],
  10812. "responses": {
  10813. "200": {
  10814. "description": "OK",
  10815. "schema": {
  10816. "type": "array",
  10817. "items": {
  10818. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10819. }
  10820. }
  10821. },
  10822. "500": {
  10823. "description": "Internal Server Error",
  10824. "schema": {
  10825. "$ref": "#/definitions/app.Response"
  10826. }
  10827. }
  10828. }
  10829. }
  10830. },
  10831. "/Quote/QueryHistoryDatas": {
  10832. "get": {
  10833. "security": [
  10834. {
  10835. "ApiKeyAuth": []
  10836. }
  10837. ],
  10838. "produces": [
  10839. "application/json"
  10840. ],
  10841. "tags": [
  10842. "行情服务"
  10843. ],
  10844. "summary": "查询行情历史数据",
  10845. "parameters": [
  10846. {
  10847. "type": "integer",
  10848. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  10849. "name": "cycleType",
  10850. "in": "query",
  10851. "required": true
  10852. },
  10853. {
  10854. "type": "string",
  10855. "description": "商品代码",
  10856. "name": "goodsCode",
  10857. "in": "query",
  10858. "required": true
  10859. },
  10860. {
  10861. "type": "string",
  10862. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10863. "name": "startTime",
  10864. "in": "query"
  10865. },
  10866. {
  10867. "type": "string",
  10868. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10869. "name": "endTime",
  10870. "in": "query"
  10871. },
  10872. {
  10873. "type": "integer",
  10874. "description": "条数",
  10875. "name": "count",
  10876. "in": "query"
  10877. },
  10878. {
  10879. "type": "boolean",
  10880. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10881. "name": "isAsc",
  10882. "in": "query"
  10883. }
  10884. ],
  10885. "responses": {
  10886. "200": {
  10887. "description": "OK",
  10888. "schema": {
  10889. "$ref": "#/definitions/quote.HistoryData"
  10890. }
  10891. },
  10892. "500": {
  10893. "description": "Internal Server Error",
  10894. "schema": {
  10895. "$ref": "#/definitions/app.Response"
  10896. }
  10897. }
  10898. }
  10899. }
  10900. },
  10901. "/Quote/QueryHistoryTikDatas": {
  10902. "get": {
  10903. "security": [
  10904. {
  10905. "ApiKeyAuth": []
  10906. }
  10907. ],
  10908. "produces": [
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "行情服务"
  10913. ],
  10914. "summary": "查询行情Tik数据",
  10915. "parameters": [
  10916. {
  10917. "type": "string",
  10918. "description": "商品代码",
  10919. "name": "goodsCode",
  10920. "in": "query",
  10921. "required": true
  10922. },
  10923. {
  10924. "type": "string",
  10925. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10926. "name": "startTime",
  10927. "in": "query"
  10928. },
  10929. {
  10930. "type": "string",
  10931. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10932. "name": "endTime",
  10933. "in": "query"
  10934. },
  10935. {
  10936. "type": "integer",
  10937. "description": "条数",
  10938. "name": "count",
  10939. "in": "query"
  10940. },
  10941. {
  10942. "type": "boolean",
  10943. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10944. "name": "isAsc",
  10945. "in": "query"
  10946. }
  10947. ],
  10948. "responses": {
  10949. "200": {
  10950. "description": "OK",
  10951. "schema": {
  10952. "$ref": "#/definitions/quote.HistoryTikData"
  10953. }
  10954. },
  10955. "500": {
  10956. "description": "Internal Server Error",
  10957. "schema": {
  10958. "$ref": "#/definitions/app.Response"
  10959. }
  10960. }
  10961. }
  10962. }
  10963. },
  10964. "/Quote/QueryQuoteDay": {
  10965. "get": {
  10966. "security": [
  10967. {
  10968. "ApiKeyAuth": []
  10969. }
  10970. ],
  10971. "produces": [
  10972. "application/json"
  10973. ],
  10974. "tags": [
  10975. "行情服务"
  10976. ],
  10977. "summary": "获取商品盘面信息",
  10978. "parameters": [
  10979. {
  10980. "type": "string",
  10981. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10982. "name": "goodsCodes",
  10983. "in": "query"
  10984. }
  10985. ],
  10986. "responses": {
  10987. "200": {
  10988. "description": "OK",
  10989. "schema": {
  10990. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10991. }
  10992. },
  10993. "500": {
  10994. "description": "Internal Server Error",
  10995. "schema": {
  10996. "$ref": "#/definitions/app.Response"
  10997. }
  10998. }
  10999. }
  11000. }
  11001. },
  11002. "/Quote/QueryTSData": {
  11003. "get": {
  11004. "security": [
  11005. {
  11006. "ApiKeyAuth": []
  11007. }
  11008. ],
  11009. "produces": [
  11010. "application/json"
  11011. ],
  11012. "tags": [
  11013. "行情服务"
  11014. ],
  11015. "summary": "分时图数据查询",
  11016. "parameters": [
  11017. {
  11018. "type": "string",
  11019. "description": "商品代码",
  11020. "name": "goodsCode",
  11021. "in": "query",
  11022. "required": true
  11023. }
  11024. ],
  11025. "responses": {
  11026. "200": {
  11027. "description": "OK",
  11028. "schema": {
  11029. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11030. }
  11031. },
  11032. "500": {
  11033. "description": "Internal Server Error",
  11034. "schema": {
  11035. "$ref": "#/definitions/app.Response"
  11036. }
  11037. }
  11038. }
  11039. }
  11040. },
  11041. "/SZDZ/QueryConvertConfig": {
  11042. "get": {
  11043. "security": [
  11044. {
  11045. "ApiKeyAuth": []
  11046. }
  11047. ],
  11048. "produces": [
  11049. "application/json"
  11050. ],
  11051. "tags": [
  11052. "定制【尚志大宗】"
  11053. ],
  11054. "summary": "查询交易系统转换设置",
  11055. "parameters": [
  11056. {
  11057. "type": "integer",
  11058. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11059. "name": "convertType",
  11060. "in": "query"
  11061. },
  11062. {
  11063. "type": "string",
  11064. "description": "外部商品代码[JD\\PD]",
  11065. "name": "outerGoodsCode",
  11066. "in": "query"
  11067. },
  11068. {
  11069. "type": "string",
  11070. "description": "内部商品ID列表[交易],格式:1,2,3",
  11071. "name": "innerGoodsIDs",
  11072. "in": "query"
  11073. }
  11074. ],
  11075. "responses": {
  11076. "200": {
  11077. "description": "OK",
  11078. "schema": {
  11079. "$ref": "#/definitions/models.Szdz3convertconfig"
  11080. }
  11081. },
  11082. "500": {
  11083. "description": "Internal Server Error",
  11084. "schema": {
  11085. "$ref": "#/definitions/app.Response"
  11086. }
  11087. }
  11088. }
  11089. }
  11090. },
  11091. "/SZDZ/QueryConvertLog": {
  11092. "get": {
  11093. "security": [
  11094. {
  11095. "ApiKeyAuth": []
  11096. }
  11097. ],
  11098. "produces": [
  11099. "application/json"
  11100. ],
  11101. "tags": [
  11102. "定制【尚志大宗】"
  11103. ],
  11104. "summary": "交易系统转换流水查询",
  11105. "parameters": [
  11106. {
  11107. "type": "string",
  11108. "description": "资金账户 - 格式:1,2,3",
  11109. "name": "accountID",
  11110. "in": "query",
  11111. "required": true
  11112. },
  11113. {
  11114. "type": "string",
  11115. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11116. "name": "startDate",
  11117. "in": "query"
  11118. },
  11119. {
  11120. "type": "string",
  11121. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11122. "name": "endDate",
  11123. "in": "query"
  11124. }
  11125. ],
  11126. "responses": {
  11127. "200": {
  11128. "description": "OK",
  11129. "schema": {
  11130. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11131. }
  11132. },
  11133. "500": {
  11134. "description": "Internal Server Error",
  11135. "schema": {
  11136. "$ref": "#/definitions/app.Response"
  11137. }
  11138. }
  11139. }
  11140. }
  11141. },
  11142. "/SZDZ/QueryGoodsPickup": {
  11143. "get": {
  11144. "security": [
  11145. {
  11146. "ApiKeyAuth": []
  11147. }
  11148. ],
  11149. "produces": [
  11150. "application/json"
  11151. ],
  11152. "tags": [
  11153. "定制【尚志大宗】"
  11154. ],
  11155. "summary": "商品提货单查询",
  11156. "parameters": [
  11157. {
  11158. "type": "string",
  11159. "description": "资金账户 - 格式:1,2,3",
  11160. "name": "accountID",
  11161. "in": "query",
  11162. "required": true
  11163. },
  11164. {
  11165. "type": "integer",
  11166. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11167. "name": "takeOrderStatus",
  11168. "in": "query"
  11169. }
  11170. ],
  11171. "responses": {
  11172. "200": {
  11173. "description": "OK",
  11174. "schema": {
  11175. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11176. }
  11177. },
  11178. "500": {
  11179. "description": "Internal Server Error",
  11180. "schema": {
  11181. "$ref": "#/definitions/app.Response"
  11182. }
  11183. }
  11184. }
  11185. }
  11186. },
  11187. "/SZDZ/QueryRecieptOrder": {
  11188. "get": {
  11189. "security": [
  11190. {
  11191. "ApiKeyAuth": []
  11192. }
  11193. ],
  11194. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11195. "produces": [
  11196. "application/json"
  11197. ],
  11198. "tags": [
  11199. "定制【尚志大宗】"
  11200. ],
  11201. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11202. "parameters": [
  11203. {
  11204. "type": "integer",
  11205. "description": "页码",
  11206. "name": "page",
  11207. "in": "query"
  11208. },
  11209. {
  11210. "type": "integer",
  11211. "description": "每页条数",
  11212. "name": "pagesize",
  11213. "in": "query"
  11214. },
  11215. {
  11216. "type": "integer",
  11217. "description": "商品ID",
  11218. "name": "goodsID",
  11219. "in": "query",
  11220. "required": true
  11221. },
  11222. {
  11223. "type": "string",
  11224. "description": "所属账户名称",
  11225. "name": "accountName",
  11226. "in": "query"
  11227. },
  11228. {
  11229. "type": "integer",
  11230. "description": "市场ID",
  11231. "name": "marketID",
  11232. "in": "query"
  11233. },
  11234. {
  11235. "type": "integer",
  11236. "description": "方向 - 0:买 1:卖",
  11237. "name": "buyorsell",
  11238. "in": "query",
  11239. "required": true
  11240. }
  11241. ],
  11242. "responses": {
  11243. "200": {
  11244. "description": "OK",
  11245. "schema": {
  11246. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  11247. }
  11248. },
  11249. "500": {
  11250. "description": "Internal Server Error",
  11251. "schema": {
  11252. "$ref": "#/definitions/app.Response"
  11253. }
  11254. }
  11255. }
  11256. }
  11257. },
  11258. "/SZDZ/QuerySZDZTradePosition": {
  11259. "get": {
  11260. "security": [
  11261. {
  11262. "ApiKeyAuth": []
  11263. }
  11264. ],
  11265. "produces": [
  11266. "application/json"
  11267. ],
  11268. "tags": [
  11269. "定制【尚志大宗】"
  11270. ],
  11271. "summary": "持仓汇总查询(尚志大宗)",
  11272. "parameters": [
  11273. {
  11274. "type": "integer",
  11275. "description": "资金账户",
  11276. "name": "accountID",
  11277. "in": "query",
  11278. "required": true
  11279. }
  11280. ],
  11281. "responses": {
  11282. "200": {
  11283. "description": "OK",
  11284. "schema": {
  11285. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  11286. }
  11287. },
  11288. "500": {
  11289. "description": "Internal Server Error",
  11290. "schema": {
  11291. "$ref": "#/definitions/app.Response"
  11292. }
  11293. }
  11294. }
  11295. }
  11296. },
  11297. "/SZDZ/SearchWhite": {
  11298. "get": {
  11299. "security": [
  11300. {
  11301. "ApiKeyAuth": []
  11302. }
  11303. ],
  11304. "produces": [
  11305. "application/json"
  11306. ],
  11307. "tags": [
  11308. "定制【尚志大宗】"
  11309. ],
  11310. "summary": "搜索白名单",
  11311. "parameters": [
  11312. {
  11313. "type": "integer",
  11314. "description": "用户ID",
  11315. "name": "userID",
  11316. "in": "query",
  11317. "required": true
  11318. }
  11319. ],
  11320. "responses": {
  11321. "200": {
  11322. "description": "OK",
  11323. "schema": {
  11324. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11325. }
  11326. },
  11327. "500": {
  11328. "description": "Internal Server Error",
  11329. "schema": {
  11330. "$ref": "#/definitions/app.Response"
  11331. }
  11332. }
  11333. }
  11334. }
  11335. },
  11336. "/Search/SearchGoodses": {
  11337. "get": {
  11338. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11339. "produces": [
  11340. "application/json"
  11341. ],
  11342. "tags": [
  11343. "检索服务"
  11344. ],
  11345. "summary": "检索商品信息",
  11346. "parameters": [
  11347. {
  11348. "type": "string",
  11349. "description": "检索内容",
  11350. "name": "content",
  11351. "in": "query",
  11352. "required": true
  11353. },
  11354. {
  11355. "type": "string",
  11356. "description": "交易模式,格式:1,2,3",
  11357. "name": "tradeModes",
  11358. "in": "query"
  11359. }
  11360. ],
  11361. "responses": {
  11362. "200": {
  11363. "description": "OK",
  11364. "schema": {
  11365. "$ref": "#/definitions/models.SearchGoods"
  11366. }
  11367. },
  11368. "500": {
  11369. "description": "Internal Server Error",
  11370. "schema": {
  11371. "$ref": "#/definitions/app.Response"
  11372. }
  11373. }
  11374. }
  11375. }
  11376. },
  11377. "/TaAccount/GetTaAccounts": {
  11378. "get": {
  11379. "security": [
  11380. {
  11381. "ApiKeyAuth": []
  11382. }
  11383. ],
  11384. "produces": [
  11385. "application/json"
  11386. ],
  11387. "tags": [
  11388. "资金账户"
  11389. ],
  11390. "summary": "获取资金账户信息",
  11391. "parameters": [
  11392. {
  11393. "type": "integer",
  11394. "description": "登录账户",
  11395. "name": "loginID",
  11396. "in": "query",
  11397. "required": true
  11398. },
  11399. {
  11400. "type": "integer",
  11401. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  11402. "name": "taAccountType",
  11403. "in": "query"
  11404. }
  11405. ],
  11406. "responses": {
  11407. "200": {
  11408. "description": "OK",
  11409. "schema": {
  11410. "$ref": "#/definitions/models.Taaccount"
  11411. }
  11412. },
  11413. "500": {
  11414. "description": "Internal Server Error",
  11415. "schema": {
  11416. "$ref": "#/definitions/app.Response"
  11417. }
  11418. }
  11419. }
  11420. }
  11421. },
  11422. "/TaAccount/QueryAmountLog": {
  11423. "get": {
  11424. "security": [
  11425. {
  11426. "ApiKeyAuth": []
  11427. }
  11428. ],
  11429. "produces": [
  11430. "application/json"
  11431. ],
  11432. "tags": [
  11433. "资金账户"
  11434. ],
  11435. "summary": "资金流水查询(当前)",
  11436. "parameters": [
  11437. {
  11438. "type": "integer",
  11439. "description": "页码",
  11440. "name": "page",
  11441. "in": "query"
  11442. },
  11443. {
  11444. "type": "integer",
  11445. "description": "每页条数",
  11446. "name": "pagesize",
  11447. "in": "query"
  11448. },
  11449. {
  11450. "type": "string",
  11451. "description": "资金账户 - 格式:1,2,3",
  11452. "name": "accountID",
  11453. "in": "query",
  11454. "required": true
  11455. },
  11456. {
  11457. "type": "string",
  11458. "description": "资金操作类型 - 格式:1,2,3",
  11459. "name": "OperateType",
  11460. "in": "query"
  11461. }
  11462. ],
  11463. "responses": {
  11464. "200": {
  11465. "description": "OK",
  11466. "schema": {
  11467. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11468. }
  11469. },
  11470. "500": {
  11471. "description": "Internal Server Error",
  11472. "schema": {
  11473. "$ref": "#/definitions/app.Response"
  11474. }
  11475. }
  11476. }
  11477. }
  11478. },
  11479. "/TaAccount/QueryHisAmountLog": {
  11480. "get": {
  11481. "security": [
  11482. {
  11483. "ApiKeyAuth": []
  11484. }
  11485. ],
  11486. "produces": [
  11487. "application/json"
  11488. ],
  11489. "tags": [
  11490. "资金账户"
  11491. ],
  11492. "summary": "资金流水查询(历史)",
  11493. "parameters": [
  11494. {
  11495. "type": "integer",
  11496. "description": "页码",
  11497. "name": "page",
  11498. "in": "query"
  11499. },
  11500. {
  11501. "type": "integer",
  11502. "description": "每页条数",
  11503. "name": "pagesize",
  11504. "in": "query"
  11505. },
  11506. {
  11507. "type": "string",
  11508. "description": "资金账户 - 格式:1,2,3",
  11509. "name": "accountID",
  11510. "in": "query",
  11511. "required": true
  11512. },
  11513. {
  11514. "type": "string",
  11515. "description": "资金操作类型 - 格式:1,2,3",
  11516. "name": "OperateType",
  11517. "in": "query"
  11518. },
  11519. {
  11520. "type": "string",
  11521. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11522. "name": "startDate",
  11523. "in": "query"
  11524. },
  11525. {
  11526. "type": "string",
  11527. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11528. "name": "endDate",
  11529. "in": "query"
  11530. }
  11531. ],
  11532. "responses": {
  11533. "200": {
  11534. "description": "OK",
  11535. "schema": {
  11536. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11537. }
  11538. },
  11539. "500": {
  11540. "description": "Internal Server Error",
  11541. "schema": {
  11542. "$ref": "#/definitions/app.Response"
  11543. }
  11544. }
  11545. }
  11546. }
  11547. },
  11548. "/TaAccount/QueryRelatedTaAccount": {
  11549. "get": {
  11550. "security": [
  11551. {
  11552. "ApiKeyAuth": []
  11553. }
  11554. ],
  11555. "produces": [
  11556. "application/json"
  11557. ],
  11558. "tags": [
  11559. "资金账户"
  11560. ],
  11561. "summary": "查询关联资金账户信息",
  11562. "parameters": [
  11563. {
  11564. "type": "integer",
  11565. "description": "关联UserID",
  11566. "name": "relateduserid",
  11567. "in": "query",
  11568. "required": true
  11569. }
  11570. ],
  11571. "responses": {
  11572. "200": {
  11573. "description": "OK",
  11574. "schema": {
  11575. "type": "array",
  11576. "items": {
  11577. "$ref": "#/definitions/models.RelatedTaAccount"
  11578. }
  11579. }
  11580. },
  11581. "500": {
  11582. "description": "Internal Server Error",
  11583. "schema": {
  11584. "$ref": "#/definitions/app.Response"
  11585. }
  11586. }
  11587. }
  11588. }
  11589. },
  11590. "/Tjmd/QueryQuoteGoodsList": {
  11591. "get": {
  11592. "security": [
  11593. {
  11594. "ApiKeyAuth": []
  11595. }
  11596. ],
  11597. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11598. "produces": [
  11599. "application/json"
  11600. ],
  11601. "tags": [
  11602. "天津麦顿"
  11603. ],
  11604. "summary": "查询掉期报价列表",
  11605. "parameters": [
  11606. {
  11607. "type": "integer",
  11608. "description": "用户类型",
  11609. "name": "usertype",
  11610. "in": "query",
  11611. "required": true
  11612. },
  11613. {
  11614. "type": "string",
  11615. "description": "市场id, 格式 1,2,3",
  11616. "name": "marketids",
  11617. "in": "query"
  11618. },
  11619. {
  11620. "type": "integer",
  11621. "description": "商品组id",
  11622. "name": "goodsgroupid",
  11623. "in": "query"
  11624. },
  11625. {
  11626. "type": "integer",
  11627. "description": "商品id",
  11628. "name": "goodsid",
  11629. "in": "query"
  11630. }
  11631. ],
  11632. "responses": {
  11633. "200": {
  11634. "description": "OK",
  11635. "schema": {
  11636. "type": "array",
  11637. "items": {
  11638. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11639. }
  11640. }
  11641. },
  11642. "500": {
  11643. "description": "Internal Server Error",
  11644. "schema": {
  11645. "$ref": "#/definitions/app.Response"
  11646. }
  11647. }
  11648. }
  11649. }
  11650. },
  11651. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  11652. "get": {
  11653. "security": [
  11654. {
  11655. "ApiKeyAuth": []
  11656. }
  11657. ],
  11658. "produces": [
  11659. "application/json"
  11660. ],
  11661. "tags": [
  11662. "天津麦顿"
  11663. ],
  11664. "summary": "掉期商品订单详情(交易确认书)",
  11665. "parameters": [
  11666. {
  11667. "type": "string",
  11668. "description": "成交单号",
  11669. "name": "tradeid",
  11670. "in": "query",
  11671. "required": true
  11672. }
  11673. ],
  11674. "responses": {
  11675. "200": {
  11676. "description": "OK",
  11677. "schema": {
  11678. "type": "array",
  11679. "items": {
  11680. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  11681. }
  11682. }
  11683. },
  11684. "500": {
  11685. "description": "Internal Server Error",
  11686. "schema": {
  11687. "$ref": "#/definitions/app.Response"
  11688. }
  11689. }
  11690. }
  11691. }
  11692. },
  11693. "/Tjmd/QueryTjmdMarketSection": {
  11694. "get": {
  11695. "security": [
  11696. {
  11697. "ApiKeyAuth": []
  11698. }
  11699. ],
  11700. "produces": [
  11701. "application/json"
  11702. ],
  11703. "tags": [
  11704. "天津麦顿"
  11705. ],
  11706. "summary": "查询市场板块",
  11707. "responses": {
  11708. "200": {
  11709. "description": "OK",
  11710. "schema": {
  11711. "type": "array",
  11712. "items": {
  11713. "$ref": "#/definitions/models.TjmdMarketSection"
  11714. }
  11715. }
  11716. },
  11717. "500": {
  11718. "description": "Internal Server Error",
  11719. "schema": {
  11720. "$ref": "#/definitions/app.Response"
  11721. }
  11722. }
  11723. }
  11724. }
  11725. },
  11726. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11727. "get": {
  11728. "security": [
  11729. {
  11730. "ApiKeyAuth": []
  11731. }
  11732. ],
  11733. "produces": [
  11734. "application/json"
  11735. ],
  11736. "tags": [
  11737. "天津麦顿"
  11738. ],
  11739. "summary": "查询今日账户保证金配置",
  11740. "parameters": [
  11741. {
  11742. "type": "string",
  11743. "description": "市场id",
  11744. "name": "marketid",
  11745. "in": "query"
  11746. },
  11747. {
  11748. "type": "string",
  11749. "description": "商品id",
  11750. "name": "goodsid",
  11751. "in": "query"
  11752. },
  11753. {
  11754. "type": "string",
  11755. "description": "资金账号",
  11756. "name": "accountid",
  11757. "in": "query"
  11758. }
  11759. ],
  11760. "responses": {
  11761. "200": {
  11762. "description": "OK",
  11763. "schema": {
  11764. "type": "array",
  11765. "items": {
  11766. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11767. }
  11768. }
  11769. },
  11770. "500": {
  11771. "description": "Internal Server Error",
  11772. "schema": {
  11773. "$ref": "#/definitions/app.Response"
  11774. }
  11775. }
  11776. }
  11777. }
  11778. },
  11779. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11780. "get": {
  11781. "security": [
  11782. {
  11783. "ApiKeyAuth": []
  11784. }
  11785. ],
  11786. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11787. "produces": [
  11788. "application/json"
  11789. ],
  11790. "tags": [
  11791. "天津麦顿"
  11792. ],
  11793. "summary": "查询掉期买卖大厅",
  11794. "parameters": [
  11795. {
  11796. "type": "integer",
  11797. "description": "页码",
  11798. "name": "page",
  11799. "in": "query"
  11800. },
  11801. {
  11802. "type": "integer",
  11803. "description": "每页条数",
  11804. "name": "pagesize",
  11805. "in": "query"
  11806. },
  11807. {
  11808. "type": "integer",
  11809. "description": "用户id",
  11810. "name": "userid",
  11811. "in": "query",
  11812. "required": true
  11813. },
  11814. {
  11815. "type": "integer",
  11816. "description": "用户类型",
  11817. "name": "usertype",
  11818. "in": "query",
  11819. "required": true
  11820. },
  11821. {
  11822. "type": "string",
  11823. "description": "市场id, 格式 1,2,3",
  11824. "name": "marketids",
  11825. "in": "query"
  11826. },
  11827. {
  11828. "type": "integer",
  11829. "description": "商品id",
  11830. "name": "goodsid",
  11831. "in": "query",
  11832. "required": true
  11833. },
  11834. {
  11835. "type": "integer",
  11836. "description": "买卖方向 0-买 1-卖",
  11837. "name": "buyorsell",
  11838. "in": "query",
  11839. "required": true
  11840. }
  11841. ],
  11842. "responses": {
  11843. "200": {
  11844. "description": "OK",
  11845. "schema": {
  11846. "type": "array",
  11847. "items": {
  11848. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11849. }
  11850. }
  11851. },
  11852. "500": {
  11853. "description": "Internal Server Error",
  11854. "schema": {
  11855. "$ref": "#/definitions/app.Response"
  11856. }
  11857. }
  11858. }
  11859. }
  11860. },
  11861. "/Tjmd/QueryTjmdTransferApply": {
  11862. "get": {
  11863. "security": [
  11864. {
  11865. "ApiKeyAuth": []
  11866. }
  11867. ],
  11868. "produces": [
  11869. "application/json"
  11870. ],
  11871. "tags": [
  11872. "天津麦顿"
  11873. ],
  11874. "summary": "查询掉期协议单",
  11875. "parameters": [
  11876. {
  11877. "type": "integer",
  11878. "description": "类型 1-我的申请 2-对方申请",
  11879. "name": "applytype",
  11880. "in": "query",
  11881. "required": true
  11882. },
  11883. {
  11884. "type": "string",
  11885. "description": "市场id, 格式 1,2,3",
  11886. "name": "marketids",
  11887. "in": "query"
  11888. },
  11889. {
  11890. "type": "string",
  11891. "description": "资金账号, 格式 25000000001,25000000003",
  11892. "name": "accountids",
  11893. "in": "query"
  11894. },
  11895. {
  11896. "type": "string",
  11897. "description": "开始交易日(yyyymmdd)",
  11898. "name": "begindate",
  11899. "in": "query"
  11900. },
  11901. {
  11902. "type": "string",
  11903. "description": "结束交易日(yyyymmdd)",
  11904. "name": "enddate",
  11905. "in": "query"
  11906. }
  11907. ],
  11908. "responses": {
  11909. "200": {
  11910. "description": "OK",
  11911. "schema": {
  11912. "type": "array",
  11913. "items": {
  11914. "$ref": "#/definitions/models.TjmdTransferApply"
  11915. }
  11916. }
  11917. },
  11918. "500": {
  11919. "description": "Internal Server Error",
  11920. "schema": {
  11921. "$ref": "#/definitions/app.Response"
  11922. }
  11923. }
  11924. }
  11925. }
  11926. },
  11927. "/Trade/QueryRecieptOrder": {
  11928. "get": {
  11929. "security": [
  11930. {
  11931. "ApiKeyAuth": []
  11932. }
  11933. ],
  11934. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11935. "produces": [
  11936. "application/json"
  11937. ],
  11938. "tags": [
  11939. "通用交易"
  11940. ],
  11941. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11942. "parameters": [
  11943. {
  11944. "type": "integer",
  11945. "description": "页码",
  11946. "name": "page",
  11947. "in": "query"
  11948. },
  11949. {
  11950. "type": "integer",
  11951. "description": "每页条数",
  11952. "name": "pagesize",
  11953. "in": "query"
  11954. },
  11955. {
  11956. "type": "integer",
  11957. "description": "商品ID",
  11958. "name": "goodsID",
  11959. "in": "query",
  11960. "required": true
  11961. },
  11962. {
  11963. "type": "string",
  11964. "description": "所属账户名称",
  11965. "name": "accountName",
  11966. "in": "query"
  11967. },
  11968. {
  11969. "type": "integer",
  11970. "description": "市场ID",
  11971. "name": "marketID",
  11972. "in": "query"
  11973. },
  11974. {
  11975. "type": "integer",
  11976. "description": "方向 - 0:买 1:卖",
  11977. "name": "buyorsell",
  11978. "in": "query",
  11979. "required": true
  11980. }
  11981. ],
  11982. "responses": {
  11983. "200": {
  11984. "description": "OK",
  11985. "schema": {
  11986. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11987. }
  11988. },
  11989. "500": {
  11990. "description": "Internal Server Error",
  11991. "schema": {
  11992. "$ref": "#/definitions/app.Response"
  11993. }
  11994. }
  11995. }
  11996. }
  11997. },
  11998. "/User/AddMessageBoard": {
  11999. "post": {
  12000. "security": [
  12001. {
  12002. "ApiKeyAuth": []
  12003. }
  12004. ],
  12005. "produces": [
  12006. "application/json"
  12007. ],
  12008. "tags": [
  12009. "用户信息"
  12010. ],
  12011. "summary": "添加用户留言板信息",
  12012. "parameters": [
  12013. {
  12014. "type": "integer",
  12015. "description": "用户ID",
  12016. "name": "userID",
  12017. "in": "query",
  12018. "required": true
  12019. },
  12020. {
  12021. "type": "string",
  12022. "description": "留言信息",
  12023. "name": "message",
  12024. "in": "query",
  12025. "required": true
  12026. },
  12027. {
  12028. "type": "string",
  12029. "description": "联系电话",
  12030. "name": "contactNum",
  12031. "in": "query",
  12032. "required": true
  12033. }
  12034. ],
  12035. "responses": {
  12036. "200": {
  12037. "description": "OK",
  12038. "schema": {
  12039. "$ref": "#/definitions/app.Response"
  12040. }
  12041. },
  12042. "500": {
  12043. "description": "Internal Server Error",
  12044. "schema": {
  12045. "$ref": "#/definitions/app.Response"
  12046. }
  12047. }
  12048. }
  12049. }
  12050. },
  12051. "/User/AddUserFavoriteGoods": {
  12052. "post": {
  12053. "security": [
  12054. {
  12055. "ApiKeyAuth": []
  12056. }
  12057. ],
  12058. "produces": [
  12059. "application/json"
  12060. ],
  12061. "tags": [
  12062. "用户信息"
  12063. ],
  12064. "summary": "添加用户商品收藏信息",
  12065. "parameters": [
  12066. {
  12067. "type": "integer",
  12068. "description": "用户ID",
  12069. "name": "userID",
  12070. "in": "query",
  12071. "required": true
  12072. },
  12073. {
  12074. "type": "integer",
  12075. "description": "商品ID",
  12076. "name": "goodsID",
  12077. "in": "query",
  12078. "required": true
  12079. }
  12080. ],
  12081. "responses": {
  12082. "200": {
  12083. "description": "OK",
  12084. "schema": {
  12085. "$ref": "#/definitions/app.Response"
  12086. }
  12087. },
  12088. "500": {
  12089. "description": "Internal Server Error",
  12090. "schema": {
  12091. "$ref": "#/definitions/app.Response"
  12092. }
  12093. }
  12094. }
  12095. }
  12096. },
  12097. "/User/GetLoginID": {
  12098. "get": {
  12099. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12100. "produces": [
  12101. "application/json"
  12102. ],
  12103. "tags": [
  12104. "用户信息"
  12105. ],
  12106. "summary": "获取登录ID",
  12107. "parameters": [
  12108. {
  12109. "type": "string",
  12110. "description": "登录代码",
  12111. "name": "username",
  12112. "in": "query",
  12113. "required": true
  12114. }
  12115. ],
  12116. "responses": {
  12117. "200": {
  12118. "description": "OK",
  12119. "schema": {
  12120. "$ref": "#/definitions/app.Response"
  12121. }
  12122. },
  12123. "500": {
  12124. "description": "Internal Server Error",
  12125. "schema": {
  12126. "$ref": "#/definitions/app.Response"
  12127. }
  12128. }
  12129. }
  12130. }
  12131. },
  12132. "/User/GetUserAccount": {
  12133. "get": {
  12134. "security": [
  12135. {
  12136. "ApiKeyAuth": []
  12137. }
  12138. ],
  12139. "produces": [
  12140. "application/json"
  12141. ],
  12142. "tags": [
  12143. "用户信息"
  12144. ],
  12145. "summary": "获取用户账号信息",
  12146. "parameters": [
  12147. {
  12148. "type": "integer",
  12149. "description": "用户ID",
  12150. "name": "userID",
  12151. "in": "query",
  12152. "required": true
  12153. }
  12154. ],
  12155. "responses": {
  12156. "200": {
  12157. "description": "OK",
  12158. "schema": {
  12159. "$ref": "#/definitions/models.Useraccount"
  12160. }
  12161. },
  12162. "500": {
  12163. "description": "Internal Server Error",
  12164. "schema": {
  12165. "$ref": "#/definitions/app.Response"
  12166. }
  12167. }
  12168. }
  12169. }
  12170. },
  12171. "/User/GetUserAuthStatus": {
  12172. "get": {
  12173. "security": [
  12174. {
  12175. "ApiKeyAuth": []
  12176. }
  12177. ],
  12178. "produces": [
  12179. "application/json"
  12180. ],
  12181. "tags": [
  12182. "用户信息"
  12183. ],
  12184. "summary": "获取用户实名认证状态",
  12185. "parameters": [
  12186. {
  12187. "type": "integer",
  12188. "description": "用户ID",
  12189. "name": "userID",
  12190. "in": "query",
  12191. "required": true
  12192. }
  12193. ],
  12194. "responses": {
  12195. "200": {
  12196. "description": "OK",
  12197. "schema": {
  12198. "$ref": "#/definitions/app.Response"
  12199. }
  12200. },
  12201. "500": {
  12202. "description": "Internal Server Error",
  12203. "schema": {
  12204. "$ref": "#/definitions/app.Response"
  12205. }
  12206. }
  12207. }
  12208. }
  12209. },
  12210. "/User/LoginQuery": {
  12211. "get": {
  12212. "security": [
  12213. {
  12214. "ApiKeyAuth": []
  12215. }
  12216. ],
  12217. "produces": [
  12218. "application/json"
  12219. ],
  12220. "tags": [
  12221. "用户信息"
  12222. ],
  12223. "summary": "账户登录后信息查询",
  12224. "parameters": [
  12225. {
  12226. "type": "integer",
  12227. "description": "登录账号",
  12228. "name": "loginID",
  12229. "in": "query",
  12230. "required": true
  12231. }
  12232. ],
  12233. "responses": {
  12234. "200": {
  12235. "description": "OK",
  12236. "schema": {
  12237. "$ref": "#/definitions/user.LoginQueryRsp"
  12238. }
  12239. },
  12240. "500": {
  12241. "description": "Internal Server Error",
  12242. "schema": {
  12243. "$ref": "#/definitions/app.Response"
  12244. }
  12245. }
  12246. }
  12247. }
  12248. },
  12249. "/User/QueryMessageBoard": {
  12250. "get": {
  12251. "security": [
  12252. {
  12253. "ApiKeyAuth": []
  12254. }
  12255. ],
  12256. "produces": [
  12257. "application/json"
  12258. ],
  12259. "tags": [
  12260. "用户信息"
  12261. ],
  12262. "summary": "获取用户留言板信息",
  12263. "parameters": [
  12264. {
  12265. "type": "integer",
  12266. "description": "用户ID",
  12267. "name": "userID",
  12268. "in": "query",
  12269. "required": true
  12270. }
  12271. ],
  12272. "responses": {
  12273. "200": {
  12274. "description": "OK",
  12275. "schema": {
  12276. "$ref": "#/definitions/models.Messageboard"
  12277. }
  12278. },
  12279. "500": {
  12280. "description": "Internal Server Error",
  12281. "schema": {
  12282. "$ref": "#/definitions/app.Response"
  12283. }
  12284. }
  12285. }
  12286. }
  12287. },
  12288. "/User/QueryUserFavoriteGoodses": {
  12289. "get": {
  12290. "security": [
  12291. {
  12292. "ApiKeyAuth": []
  12293. }
  12294. ],
  12295. "produces": [
  12296. "application/json"
  12297. ],
  12298. "tags": [
  12299. "用户信息"
  12300. ],
  12301. "summary": "获取用户商品收藏信息",
  12302. "parameters": [
  12303. {
  12304. "type": "integer",
  12305. "description": "用户ID",
  12306. "name": "userID",
  12307. "in": "query",
  12308. "required": true
  12309. }
  12310. ],
  12311. "responses": {
  12312. "200": {
  12313. "description": "OK",
  12314. "schema": {
  12315. "$ref": "#/definitions/models.Userfavoritegoods"
  12316. }
  12317. },
  12318. "500": {
  12319. "description": "Internal Server Error",
  12320. "schema": {
  12321. "$ref": "#/definitions/app.Response"
  12322. }
  12323. }
  12324. }
  12325. }
  12326. },
  12327. "/User/QueryUserInfo": {
  12328. "get": {
  12329. "security": [
  12330. {
  12331. "ApiKeyAuth": []
  12332. }
  12333. ],
  12334. "produces": [
  12335. "application/json"
  12336. ],
  12337. "tags": [
  12338. "用户信息"
  12339. ],
  12340. "summary": "获取用户信息",
  12341. "parameters": [
  12342. {
  12343. "type": "integer",
  12344. "description": "用户ID",
  12345. "name": "userID",
  12346. "in": "query",
  12347. "required": true
  12348. },
  12349. {
  12350. "type": "boolean",
  12351. "description": "是否解密",
  12352. "name": "isDecrypt",
  12353. "in": "query"
  12354. }
  12355. ],
  12356. "responses": {
  12357. "200": {
  12358. "description": "OK",
  12359. "schema": {
  12360. "$ref": "#/definitions/models.Userinfo"
  12361. }
  12362. },
  12363. "500": {
  12364. "description": "Internal Server Error",
  12365. "schema": {
  12366. "$ref": "#/definitions/app.Response"
  12367. }
  12368. }
  12369. }
  12370. }
  12371. },
  12372. "/User/QueryUserReferNum": {
  12373. "get": {
  12374. "produces": [
  12375. "application/json"
  12376. ],
  12377. "tags": [
  12378. "用户信息"
  12379. ],
  12380. "summary": "获取用户邀请码",
  12381. "parameters": [
  12382. {
  12383. "type": "integer",
  12384. "description": "用户ID",
  12385. "name": "userID",
  12386. "in": "query",
  12387. "required": true
  12388. }
  12389. ],
  12390. "responses": {
  12391. "200": {
  12392. "description": "OK",
  12393. "schema": {
  12394. "$ref": "#/definitions/app.Response"
  12395. }
  12396. },
  12397. "500": {
  12398. "description": "Internal Server Error",
  12399. "schema": {
  12400. "$ref": "#/definitions/app.Response"
  12401. }
  12402. }
  12403. }
  12404. }
  12405. },
  12406. "/User/RemoveUserFavoriteGoods": {
  12407. "post": {
  12408. "security": [
  12409. {
  12410. "ApiKeyAuth": []
  12411. }
  12412. ],
  12413. "produces": [
  12414. "application/json"
  12415. ],
  12416. "tags": [
  12417. "用户信息"
  12418. ],
  12419. "summary": "移除用户商品收藏信息",
  12420. "parameters": [
  12421. {
  12422. "type": "integer",
  12423. "description": "用户ID",
  12424. "name": "userID",
  12425. "in": "query",
  12426. "required": true
  12427. },
  12428. {
  12429. "type": "integer",
  12430. "description": "商品ID",
  12431. "name": "goodsID",
  12432. "in": "query",
  12433. "required": true
  12434. }
  12435. ],
  12436. "responses": {
  12437. "200": {
  12438. "description": "OK",
  12439. "schema": {
  12440. "$ref": "#/definitions/app.Response"
  12441. }
  12442. },
  12443. "500": {
  12444. "description": "Internal Server Error",
  12445. "schema": {
  12446. "$ref": "#/definitions/app.Response"
  12447. }
  12448. }
  12449. }
  12450. }
  12451. },
  12452. "/User/UpdateUserAccountStatus": {
  12453. "post": {
  12454. "security": [
  12455. {
  12456. "ApiKeyAuth": []
  12457. }
  12458. ],
  12459. "produces": [
  12460. "application/json"
  12461. ],
  12462. "tags": [
  12463. "用户信息"
  12464. ],
  12465. "summary": "更新用户状态",
  12466. "parameters": [
  12467. {
  12468. "type": "integer",
  12469. "description": "用户ID",
  12470. "name": "userID",
  12471. "in": "query",
  12472. "required": true
  12473. },
  12474. {
  12475. "type": "integer",
  12476. "description": "账户状态 - 4:正常 6:注销(停用)",
  12477. "name": "accountStatus",
  12478. "in": "query",
  12479. "required": true
  12480. }
  12481. ],
  12482. "responses": {
  12483. "200": {
  12484. "description": "OK",
  12485. "schema": {
  12486. "$ref": "#/definitions/app.Response"
  12487. }
  12488. },
  12489. "500": {
  12490. "description": "Internal Server Error",
  12491. "schema": {
  12492. "$ref": "#/definitions/app.Response"
  12493. }
  12494. }
  12495. }
  12496. }
  12497. },
  12498. "/WRTrade/GetAllDeliveryGoods": {
  12499. "get": {
  12500. "security": [
  12501. {
  12502. "ApiKeyAuth": []
  12503. }
  12504. ],
  12505. "produces": [
  12506. "application/json"
  12507. ],
  12508. "tags": [
  12509. "仓单贸易",
  12510. "仓单贸易"
  12511. ],
  12512. "summary": "获取带仓单分类的种类信息",
  12513. "responses": {
  12514. "200": {
  12515. "description": "OK",
  12516. "schema": {
  12517. "$ref": "#/definitions/app.Response"
  12518. }
  12519. },
  12520. "500": {
  12521. "description": "Internal Server Error",
  12522. "schema": {
  12523. "$ref": "#/definitions/app.Response"
  12524. }
  12525. }
  12526. }
  12527. }
  12528. },
  12529. "/WrTrade2/InsertXhcpSellBackApply": {
  12530. "post": {
  12531. "security": [
  12532. {
  12533. "ApiKeyAuth": []
  12534. }
  12535. ],
  12536. "produces": [
  12537. "application/json"
  12538. ],
  12539. "tags": [
  12540. "仓单贸易v2"
  12541. ],
  12542. "summary": "新增回收申请(新会陈皮)",
  12543. "parameters": [
  12544. {
  12545. "description": "回收申请",
  12546. "name": "jsonBody",
  12547. "in": "body",
  12548. "required": true,
  12549. "schema": {
  12550. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  12551. }
  12552. }
  12553. ],
  12554. "responses": {
  12555. "200": {
  12556. "description": "OK",
  12557. "schema": {
  12558. "$ref": "#/definitions/app.Response"
  12559. }
  12560. },
  12561. "500": {
  12562. "description": "Internal Server Error",
  12563. "schema": {
  12564. "$ref": "#/definitions/app.Response"
  12565. }
  12566. }
  12567. }
  12568. }
  12569. },
  12570. "/WrTrade2/QueryDeliveryGoodsSection": {
  12571. "get": {
  12572. "security": [
  12573. {
  12574. "ApiKeyAuth": []
  12575. }
  12576. ],
  12577. "produces": [
  12578. "application/json"
  12579. ],
  12580. "tags": [
  12581. "仓单贸易v2"
  12582. ],
  12583. "summary": "查询板块(分类)",
  12584. "responses": {
  12585. "200": {
  12586. "description": "OK",
  12587. "schema": {
  12588. "type": "array",
  12589. "items": {
  12590. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12591. }
  12592. }
  12593. },
  12594. "500": {
  12595. "description": "Internal Server Error",
  12596. "schema": {
  12597. "$ref": "#/definitions/app.Response"
  12598. }
  12599. }
  12600. }
  12601. }
  12602. },
  12603. "/WrTrade2/QueryFaProductDetail": {
  12604. "get": {
  12605. "security": [
  12606. {
  12607. "ApiKeyAuth": []
  12608. }
  12609. ],
  12610. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12611. "produces": [
  12612. "application/json"
  12613. ],
  12614. "tags": [
  12615. "仓单贸易v2"
  12616. ],
  12617. "summary": "查询融资产品列表",
  12618. "parameters": [
  12619. {
  12620. "type": "integer",
  12621. "description": "仓单要素id",
  12622. "name": "wrfactortypeid",
  12623. "in": "query",
  12624. "required": true
  12625. }
  12626. ],
  12627. "responses": {
  12628. "200": {
  12629. "description": "OK",
  12630. "schema": {
  12631. "type": "array",
  12632. "items": {
  12633. "$ref": "#/definitions/models.WrFAProductDetail"
  12634. }
  12635. }
  12636. },
  12637. "500": {
  12638. "description": "Internal Server Error",
  12639. "schema": {
  12640. "$ref": "#/definitions/app.Response"
  12641. }
  12642. }
  12643. }
  12644. }
  12645. },
  12646. "/WrTrade2/QueryFilterItem": {
  12647. "get": {
  12648. "security": [
  12649. {
  12650. "ApiKeyAuth": []
  12651. }
  12652. ],
  12653. "produces": [
  12654. "application/json"
  12655. ],
  12656. "tags": [
  12657. "仓单贸易v2"
  12658. ],
  12659. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12660. "parameters": [
  12661. {
  12662. "type": "string",
  12663. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12664. "name": "itype",
  12665. "in": "query",
  12666. "required": true
  12667. }
  12668. ],
  12669. "responses": {
  12670. "200": {
  12671. "description": "OK",
  12672. "schema": {
  12673. "type": "array",
  12674. "items": {
  12675. "$ref": "#/definitions/models.WrFilterItem"
  12676. }
  12677. }
  12678. },
  12679. "500": {
  12680. "description": "Internal Server Error",
  12681. "schema": {
  12682. "$ref": "#/definitions/app.Response"
  12683. }
  12684. }
  12685. }
  12686. }
  12687. },
  12688. "/WrTrade2/QueryFtDeliveryGoods": {
  12689. "get": {
  12690. "security": [
  12691. {
  12692. "ApiKeyAuth": []
  12693. }
  12694. ],
  12695. "produces": [
  12696. "application/json"
  12697. ],
  12698. "tags": [
  12699. "仓单贸易v2"
  12700. ],
  12701. "summary": "查询品种品类筛选框列表",
  12702. "responses": {
  12703. "200": {
  12704. "description": "OK",
  12705. "schema": {
  12706. "type": "array",
  12707. "items": {
  12708. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12709. }
  12710. }
  12711. },
  12712. "500": {
  12713. "description": "Internal Server Error",
  12714. "schema": {
  12715. "$ref": "#/definitions/app.Response"
  12716. }
  12717. }
  12718. }
  12719. }
  12720. },
  12721. "/WrTrade2/QueryHoldLB": {
  12722. "get": {
  12723. "security": [
  12724. {
  12725. "ApiKeyAuth": []
  12726. }
  12727. ],
  12728. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12729. "produces": [
  12730. "application/json"
  12731. ],
  12732. "tags": [
  12733. "仓单贸易v2"
  12734. ],
  12735. "summary": "查询仓单持有记录",
  12736. "parameters": [
  12737. {
  12738. "type": "integer",
  12739. "description": "资金账号",
  12740. "name": "accountid",
  12741. "in": "query",
  12742. "required": true
  12743. },
  12744. {
  12745. "type": "integer",
  12746. "description": "仓库id",
  12747. "name": "warehouseid",
  12748. "in": "query"
  12749. },
  12750. {
  12751. "type": "integer",
  12752. "description": "品种id",
  12753. "name": "deliverygoodsid",
  12754. "in": "query"
  12755. },
  12756. {
  12757. "type": "integer",
  12758. "description": "品类id",
  12759. "name": "wrstandardid",
  12760. "in": "query"
  12761. },
  12762. {
  12763. "type": "integer",
  12764. "description": "仓单要素id",
  12765. "name": "wrfactortypeid",
  12766. "in": "query"
  12767. },
  12768. {
  12769. "type": "string",
  12770. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12771. "name": "dgitemname",
  12772. "in": "query"
  12773. }
  12774. ],
  12775. "responses": {
  12776. "200": {
  12777. "description": "OK",
  12778. "schema": {
  12779. "type": "array",
  12780. "items": {
  12781. "$ref": "#/definitions/models.WrHoldLB"
  12782. }
  12783. }
  12784. },
  12785. "500": {
  12786. "description": "Internal Server Error",
  12787. "schema": {
  12788. "$ref": "#/definitions/app.Response"
  12789. }
  12790. }
  12791. }
  12792. }
  12793. },
  12794. "/WrTrade2/QueryOrderQuote": {
  12795. "get": {
  12796. "security": [
  12797. {
  12798. "ApiKeyAuth": []
  12799. }
  12800. ],
  12801. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12802. "produces": [
  12803. "application/json"
  12804. ],
  12805. "tags": [
  12806. "仓单贸易v2"
  12807. ],
  12808. "summary": "查询大厅行情列表",
  12809. "parameters": [
  12810. {
  12811. "type": "integer",
  12812. "description": "页码",
  12813. "name": "page",
  12814. "in": "query"
  12815. },
  12816. {
  12817. "type": "integer",
  12818. "description": "每页条数",
  12819. "name": "pagesize",
  12820. "in": "query"
  12821. },
  12822. {
  12823. "type": "integer",
  12824. "description": "仓单贸易市场id",
  12825. "name": "marketid",
  12826. "in": "query"
  12827. },
  12828. {
  12829. "type": "integer",
  12830. "description": "价格方式 - 1:固定价 2-浮动价",
  12831. "name": "wrpricetype",
  12832. "in": "query",
  12833. "required": true
  12834. },
  12835. {
  12836. "type": "integer",
  12837. "description": "0:仓单预售 1:仓单贸易",
  12838. "name": "haswr",
  12839. "in": "query"
  12840. },
  12841. {
  12842. "type": "string",
  12843. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12844. "name": "dgitemname",
  12845. "in": "query"
  12846. },
  12847. {
  12848. "type": "integer",
  12849. "description": "仓库id(筛选条件)",
  12850. "name": "warehouseid",
  12851. "in": "query"
  12852. },
  12853. {
  12854. "type": "integer",
  12855. "description": "品种id",
  12856. "name": "deliverygoodsid",
  12857. "in": "query"
  12858. },
  12859. {
  12860. "type": "integer",
  12861. "description": "品类id",
  12862. "name": "wrstandardid",
  12863. "in": "query"
  12864. },
  12865. {
  12866. "type": "integer",
  12867. "description": "品牌id(dgfactoryitemid)",
  12868. "name": "brandid",
  12869. "in": "query"
  12870. },
  12871. {
  12872. "type": "integer",
  12873. "description": "年份id(dgfactoryitemid)",
  12874. "name": "yearsid",
  12875. "in": "query"
  12876. },
  12877. {
  12878. "type": "integer",
  12879. "description": "仓单要素id",
  12880. "name": "wrfactortypeid",
  12881. "in": "query"
  12882. },
  12883. {
  12884. "type": "string",
  12885. "description": "交收月(yyyy-mm) 仓单预售填写",
  12886. "name": "deliverymonth",
  12887. "in": "query"
  12888. }
  12889. ],
  12890. "responses": {
  12891. "200": {
  12892. "description": "OK",
  12893. "schema": {
  12894. "type": "array",
  12895. "items": {
  12896. "$ref": "#/definitions/models.WrOrderQuote"
  12897. }
  12898. }
  12899. },
  12900. "500": {
  12901. "description": "Internal Server Error",
  12902. "schema": {
  12903. "$ref": "#/definitions/app.Response"
  12904. }
  12905. }
  12906. }
  12907. }
  12908. },
  12909. "/WrTrade2/QueryOrderQuoteDetail": {
  12910. "get": {
  12911. "security": [
  12912. {
  12913. "ApiKeyAuth": []
  12914. }
  12915. ],
  12916. "produces": [
  12917. "application/json"
  12918. ],
  12919. "tags": [
  12920. "仓单贸易v2"
  12921. ],
  12922. "summary": "查询买卖大厅",
  12923. "parameters": [
  12924. {
  12925. "type": "integer",
  12926. "description": "页码",
  12927. "name": "page",
  12928. "in": "query"
  12929. },
  12930. {
  12931. "type": "integer",
  12932. "description": "每页条数",
  12933. "name": "pagesize",
  12934. "in": "query"
  12935. },
  12936. {
  12937. "type": "integer",
  12938. "description": "仓单贸易市场id",
  12939. "name": "marketid",
  12940. "in": "query"
  12941. },
  12942. {
  12943. "type": "integer",
  12944. "description": "价格方式 - 1:固定价 2-浮动价",
  12945. "name": "wrpricetype",
  12946. "in": "query",
  12947. "required": true
  12948. },
  12949. {
  12950. "type": "integer",
  12951. "description": "0:仓单预售 1:仓单贸易",
  12952. "name": "haswr",
  12953. "in": "query"
  12954. },
  12955. {
  12956. "type": "integer",
  12957. "description": "仓单要素id",
  12958. "name": "wrfactortypeid",
  12959. "in": "query",
  12960. "required": true
  12961. },
  12962. {
  12963. "type": "integer",
  12964. "description": "期货商品id(浮动价方式时填)",
  12965. "name": "goodsid",
  12966. "in": "query"
  12967. },
  12968. {
  12969. "type": "integer",
  12970. "description": "买卖方向 0-买 1-卖",
  12971. "name": "buyorsell",
  12972. "in": "query",
  12973. "required": true
  12974. },
  12975. {
  12976. "type": "string",
  12977. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12978. "name": "deliverymonth",
  12979. "in": "query"
  12980. }
  12981. ],
  12982. "responses": {
  12983. "200": {
  12984. "description": "OK",
  12985. "schema": {
  12986. "type": "array",
  12987. "items": {
  12988. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12989. }
  12990. }
  12991. },
  12992. "500": {
  12993. "description": "Internal Server Error",
  12994. "schema": {
  12995. "$ref": "#/definitions/app.Response"
  12996. }
  12997. }
  12998. }
  12999. }
  13000. },
  13001. "/WrTrade2/QueryOrderQuoteMyq": {
  13002. "get": {
  13003. "security": [
  13004. {
  13005. "ApiKeyAuth": []
  13006. }
  13007. ],
  13008. "produces": [
  13009. "application/json"
  13010. ],
  13011. "tags": [
  13012. "仓单贸易v2"
  13013. ],
  13014. "summary": "查询贸易圈挂牌大厅",
  13015. "parameters": [
  13016. {
  13017. "type": "integer",
  13018. "description": "页码",
  13019. "name": "page",
  13020. "in": "query"
  13021. },
  13022. {
  13023. "type": "integer",
  13024. "description": "每页条数",
  13025. "name": "pagesize",
  13026. "in": "query"
  13027. },
  13028. {
  13029. "type": "integer",
  13030. "description": "用户id",
  13031. "name": "userid",
  13032. "in": "query",
  13033. "required": true
  13034. },
  13035. {
  13036. "type": "integer",
  13037. "description": "仓单贸易市场id",
  13038. "name": "marketid",
  13039. "in": "query"
  13040. },
  13041. {
  13042. "type": "integer",
  13043. "description": "0:仓单预售 1:仓单贸易",
  13044. "name": "haswr",
  13045. "in": "query"
  13046. },
  13047. {
  13048. "type": "integer",
  13049. "description": "买卖方向 0-买 1-卖",
  13050. "name": "buyorsell",
  13051. "in": "query",
  13052. "required": true
  13053. },
  13054. {
  13055. "type": "integer",
  13056. "description": "品种id",
  13057. "name": "deliverygoodsid",
  13058. "in": "query"
  13059. },
  13060. {
  13061. "type": "integer",
  13062. "description": "品类id",
  13063. "name": "wrstandardid",
  13064. "in": "query"
  13065. },
  13066. {
  13067. "type": "string",
  13068. "description": "交收月(yyyy-mm) 仓单预售填写",
  13069. "name": "deliverymonth",
  13070. "in": "query"
  13071. },
  13072. {
  13073. "type": "string",
  13074. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13075. "name": "dgitemname",
  13076. "in": "query"
  13077. }
  13078. ],
  13079. "responses": {
  13080. "200": {
  13081. "description": "OK",
  13082. "schema": {
  13083. "type": "array",
  13084. "items": {
  13085. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13086. }
  13087. }
  13088. },
  13089. "500": {
  13090. "description": "Internal Server Error",
  13091. "schema": {
  13092. "$ref": "#/definitions/app.Response"
  13093. }
  13094. }
  13095. }
  13096. }
  13097. },
  13098. "/WrTrade2/QueryPerformancePlan": {
  13099. "get": {
  13100. "security": [
  13101. {
  13102. "ApiKeyAuth": []
  13103. }
  13104. ],
  13105. "produces": [
  13106. "application/json"
  13107. ],
  13108. "tags": [
  13109. "仓单贸易v2"
  13110. ],
  13111. "summary": "查询履约信息",
  13112. "parameters": [
  13113. {
  13114. "type": "integer",
  13115. "description": "用户id",
  13116. "name": "userid",
  13117. "in": "query",
  13118. "required": true
  13119. },
  13120. {
  13121. "type": "integer",
  13122. "description": "买卖方向 0-买 1-卖",
  13123. "name": "buyorsell",
  13124. "in": "query",
  13125. "required": true
  13126. },
  13127. {
  13128. "type": "string",
  13129. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13130. "name": "status",
  13131. "in": "query"
  13132. },
  13133. {
  13134. "type": "string",
  13135. "description": "开始交易日(yyyymmdd)",
  13136. "name": "begindate",
  13137. "in": "query"
  13138. },
  13139. {
  13140. "type": "string",
  13141. "description": "结束交易日(yyyymmdd)",
  13142. "name": "enddate",
  13143. "in": "query"
  13144. }
  13145. ],
  13146. "responses": {
  13147. "200": {
  13148. "description": "OK",
  13149. "schema": {
  13150. "type": "array",
  13151. "items": {
  13152. "$ref": "#/definitions/models.WrPerformancePlan"
  13153. }
  13154. }
  13155. },
  13156. "500": {
  13157. "description": "Internal Server Error",
  13158. "schema": {
  13159. "$ref": "#/definitions/app.Response"
  13160. }
  13161. }
  13162. }
  13163. }
  13164. },
  13165. "/WrTrade2/QueryPermancePlanTmp": {
  13166. "get": {
  13167. "security": [
  13168. {
  13169. "ApiKeyAuth": []
  13170. }
  13171. ],
  13172. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13173. "produces": [
  13174. "application/json"
  13175. ],
  13176. "tags": [
  13177. "仓单贸易v2"
  13178. ],
  13179. "summary": "查询履约模板",
  13180. "parameters": [
  13181. {
  13182. "type": "integer",
  13183. "description": "用户id",
  13184. "name": "userid",
  13185. "in": "query"
  13186. },
  13187. {
  13188. "type": "string",
  13189. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13190. "name": "tmptype",
  13191. "in": "query"
  13192. },
  13193. {
  13194. "type": "integer",
  13195. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13196. "name": "includepub",
  13197. "in": "query"
  13198. },
  13199. {
  13200. "type": "integer",
  13201. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13202. "name": "marketid",
  13203. "in": "query"
  13204. }
  13205. ],
  13206. "responses": {
  13207. "200": {
  13208. "description": "OK",
  13209. "schema": {
  13210. "type": "array",
  13211. "items": {
  13212. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13213. }
  13214. }
  13215. },
  13216. "500": {
  13217. "description": "Internal Server Error",
  13218. "schema": {
  13219. "$ref": "#/definitions/app.Response"
  13220. }
  13221. }
  13222. }
  13223. }
  13224. },
  13225. "/WrTrade2/QuerySiteColumnDetail": {
  13226. "get": {
  13227. "security": [
  13228. {
  13229. "ApiKeyAuth": []
  13230. }
  13231. ],
  13232. "produces": [
  13233. "application/json"
  13234. ],
  13235. "tags": [
  13236. "仓单贸易v2"
  13237. ],
  13238. "summary": "查询资讯",
  13239. "parameters": [
  13240. {
  13241. "type": "integer",
  13242. "description": "页码",
  13243. "name": "page",
  13244. "in": "query"
  13245. },
  13246. {
  13247. "type": "integer",
  13248. "description": "每页条数",
  13249. "name": "pagesize",
  13250. "in": "query"
  13251. },
  13252. {
  13253. "type": "integer",
  13254. "description": "所属栏目id",
  13255. "name": "columnid",
  13256. "in": "query"
  13257. }
  13258. ],
  13259. "responses": {
  13260. "200": {
  13261. "description": "OK",
  13262. "schema": {
  13263. "type": "array",
  13264. "items": {
  13265. "$ref": "#/definitions/models.WrSiteColumnDetail"
  13266. }
  13267. }
  13268. },
  13269. "500": {
  13270. "description": "Internal Server Error",
  13271. "schema": {
  13272. "$ref": "#/definitions/app.Response"
  13273. }
  13274. }
  13275. }
  13276. }
  13277. },
  13278. "/WrTrade2/QuerySpotGroupTradeSum": {
  13279. "get": {
  13280. "security": [
  13281. {
  13282. "ApiKeyAuth": []
  13283. }
  13284. ],
  13285. "produces": [
  13286. "application/json"
  13287. ],
  13288. "tags": [
  13289. "仓单贸易v2"
  13290. ],
  13291. "summary": "查询指数",
  13292. "responses": {
  13293. "200": {
  13294. "description": "OK",
  13295. "schema": {
  13296. "type": "array",
  13297. "items": {
  13298. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  13299. }
  13300. }
  13301. },
  13302. "500": {
  13303. "description": "Internal Server Error",
  13304. "schema": {
  13305. "$ref": "#/definitions/app.Response"
  13306. }
  13307. }
  13308. }
  13309. }
  13310. },
  13311. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  13312. "get": {
  13313. "security": [
  13314. {
  13315. "ApiKeyAuth": []
  13316. }
  13317. ],
  13318. "description": "查询的结果将会按日期 从小到大 排序",
  13319. "produces": [
  13320. "application/json"
  13321. ],
  13322. "tags": [
  13323. "仓单贸易v2"
  13324. ],
  13325. "summary": "查询指数详细(价格走势图)",
  13326. "parameters": [
  13327. {
  13328. "type": "integer",
  13329. "description": "现货商品id",
  13330. "name": "deliverygoodsid",
  13331. "in": "query",
  13332. "required": true
  13333. },
  13334. {
  13335. "type": "integer",
  13336. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  13337. "name": "lastnum",
  13338. "in": "query"
  13339. }
  13340. ],
  13341. "responses": {
  13342. "200": {
  13343. "description": "OK",
  13344. "schema": {
  13345. "type": "array",
  13346. "items": {
  13347. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  13348. }
  13349. }
  13350. },
  13351. "500": {
  13352. "description": "Internal Server Error",
  13353. "schema": {
  13354. "$ref": "#/definitions/app.Response"
  13355. }
  13356. }
  13357. }
  13358. }
  13359. },
  13360. "/WrTrade2/QueryWrAverageTradePrice": {
  13361. "get": {
  13362. "security": [
  13363. {
  13364. "ApiKeyAuth": []
  13365. }
  13366. ],
  13367. "produces": [
  13368. "application/json"
  13369. ],
  13370. "tags": [
  13371. "仓单贸易v2"
  13372. ],
  13373. "summary": "查询成交价(历史走势)",
  13374. "parameters": [
  13375. {
  13376. "type": "integer",
  13377. "description": "页码",
  13378. "name": "page",
  13379. "in": "query"
  13380. },
  13381. {
  13382. "type": "integer",
  13383. "description": "每页条数",
  13384. "name": "pagesize",
  13385. "in": "query"
  13386. },
  13387. {
  13388. "type": "integer",
  13389. "description": "0:仓单预售 1:仓单贸易",
  13390. "name": "haswr",
  13391. "in": "query",
  13392. "required": true
  13393. },
  13394. {
  13395. "type": "integer",
  13396. "description": "仓单要素id",
  13397. "name": "wrfactortypeid",
  13398. "in": "query",
  13399. "required": true
  13400. }
  13401. ],
  13402. "responses": {
  13403. "200": {
  13404. "description": "OK",
  13405. "schema": {
  13406. "type": "array",
  13407. "items": {
  13408. "$ref": "#/definitions/models.WrAverageTradePrice"
  13409. }
  13410. }
  13411. },
  13412. "500": {
  13413. "description": "Internal Server Error",
  13414. "schema": {
  13415. "$ref": "#/definitions/app.Response"
  13416. }
  13417. }
  13418. }
  13419. }
  13420. },
  13421. "/WrTrade2/QueryWrBrandAndYears": {
  13422. "get": {
  13423. "security": [
  13424. {
  13425. "ApiKeyAuth": []
  13426. }
  13427. ],
  13428. "produces": [
  13429. "application/json"
  13430. ],
  13431. "tags": [
  13432. "仓单贸易v2"
  13433. ],
  13434. "summary": "查询品牌和年份",
  13435. "responses": {
  13436. "200": {
  13437. "description": "OK",
  13438. "schema": {
  13439. "type": "array",
  13440. "items": {
  13441. "$ref": "#/definitions/models.WrBrandAndYears"
  13442. }
  13443. }
  13444. },
  13445. "500": {
  13446. "description": "Internal Server Error",
  13447. "schema": {
  13448. "$ref": "#/definitions/app.Response"
  13449. }
  13450. }
  13451. }
  13452. }
  13453. },
  13454. "/WrTrade2/QueryWrBsGoodsInfo": {
  13455. "get": {
  13456. "security": [
  13457. {
  13458. "ApiKeyAuth": []
  13459. }
  13460. ],
  13461. "description": "合约交易/买卖大厅/详情",
  13462. "produces": [
  13463. "application/json"
  13464. ],
  13465. "tags": [
  13466. "仓单贸易v2"
  13467. ],
  13468. "summary": "查询合约交易买卖大厅详情",
  13469. "parameters": [
  13470. {
  13471. "type": "integer",
  13472. "description": "商品id",
  13473. "name": "goodsid",
  13474. "in": "query",
  13475. "required": true
  13476. }
  13477. ],
  13478. "responses": {
  13479. "200": {
  13480. "description": "OK",
  13481. "schema": {
  13482. "type": "array",
  13483. "items": {
  13484. "$ref": "#/definitions/models.WrBsGoodsInfo"
  13485. }
  13486. }
  13487. },
  13488. "500": {
  13489. "description": "Internal Server Error",
  13490. "schema": {
  13491. "$ref": "#/definitions/app.Response"
  13492. }
  13493. }
  13494. }
  13495. }
  13496. },
  13497. "/WrTrade2/QueryWrBuybackDetail": {
  13498. "get": {
  13499. "security": [
  13500. {
  13501. "ApiKeyAuth": []
  13502. }
  13503. ],
  13504. "produces": [
  13505. "application/json"
  13506. ],
  13507. "tags": [
  13508. "仓单贸易v2"
  13509. ],
  13510. "summary": "查询仓单回购明细",
  13511. "parameters": [
  13512. {
  13513. "type": "integer",
  13514. "description": "融资合同id",
  13515. "name": "scfcontractid",
  13516. "in": "query"
  13517. }
  13518. ],
  13519. "responses": {
  13520. "200": {
  13521. "description": "OK",
  13522. "schema": {
  13523. "type": "array",
  13524. "items": {
  13525. "$ref": "#/definitions/models.WrBuybackDetail"
  13526. }
  13527. }
  13528. },
  13529. "500": {
  13530. "description": "Internal Server Error",
  13531. "schema": {
  13532. "$ref": "#/definitions/app.Response"
  13533. }
  13534. }
  13535. }
  13536. }
  13537. },
  13538. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  13539. "get": {
  13540. "security": [
  13541. {
  13542. "ApiKeyAuth": []
  13543. }
  13544. ],
  13545. "produces": [
  13546. "application/json"
  13547. ],
  13548. "tags": [
  13549. "仓单贸易v2"
  13550. ],
  13551. "summary": "查询固定广告配置",
  13552. "responses": {
  13553. "200": {
  13554. "description": "OK",
  13555. "schema": {
  13556. "type": "array",
  13557. "items": {
  13558. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  13559. }
  13560. }
  13561. },
  13562. "500": {
  13563. "description": "Internal Server Error",
  13564. "schema": {
  13565. "$ref": "#/definitions/app.Response"
  13566. }
  13567. }
  13568. }
  13569. }
  13570. },
  13571. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  13572. "get": {
  13573. "security": [
  13574. {
  13575. "ApiKeyAuth": []
  13576. }
  13577. ],
  13578. "produces": [
  13579. "application/json"
  13580. ],
  13581. "tags": [
  13582. "仓单贸易v2"
  13583. ],
  13584. "summary": "查询合约交收可点选仓单",
  13585. "parameters": [
  13586. {
  13587. "type": "integer",
  13588. "description": "资金账号",
  13589. "name": "accountid",
  13590. "in": "query",
  13591. "required": true
  13592. },
  13593. {
  13594. "type": "integer",
  13595. "description": "商品id",
  13596. "name": "goodsid",
  13597. "in": "query",
  13598. "required": true
  13599. }
  13600. ],
  13601. "responses": {
  13602. "200": {
  13603. "description": "OK",
  13604. "schema": {
  13605. "type": "array",
  13606. "items": {
  13607. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  13608. }
  13609. }
  13610. },
  13611. "500": {
  13612. "description": "Internal Server Error",
  13613. "schema": {
  13614. "$ref": "#/definitions/app.Response"
  13615. }
  13616. }
  13617. }
  13618. }
  13619. },
  13620. "/WrTrade2/QueryWrDeliveryDetail": {
  13621. "get": {
  13622. "security": [
  13623. {
  13624. "ApiKeyAuth": []
  13625. }
  13626. ],
  13627. "produces": [
  13628. "application/json"
  13629. ],
  13630. "tags": [
  13631. "仓单贸易v2"
  13632. ],
  13633. "summary": "查询交收",
  13634. "parameters": [
  13635. {
  13636. "type": "integer",
  13637. "description": "用户id",
  13638. "name": "userid",
  13639. "in": "query",
  13640. "required": true
  13641. },
  13642. {
  13643. "type": "integer",
  13644. "description": "资金账号id",
  13645. "name": "accountid",
  13646. "in": "query"
  13647. },
  13648. {
  13649. "type": "string",
  13650. "description": "开始交易日(yyyymmdd)",
  13651. "name": "begindate",
  13652. "in": "query"
  13653. },
  13654. {
  13655. "type": "string",
  13656. "description": "结束交易日(yyyymmdd)",
  13657. "name": "enddate",
  13658. "in": "query"
  13659. }
  13660. ],
  13661. "responses": {
  13662. "200": {
  13663. "description": "OK",
  13664. "schema": {
  13665. "type": "array",
  13666. "items": {
  13667. "$ref": "#/definitions/models.WrDeliveryDetail"
  13668. }
  13669. }
  13670. },
  13671. "500": {
  13672. "description": "Internal Server Error",
  13673. "schema": {
  13674. "$ref": "#/definitions/app.Response"
  13675. }
  13676. }
  13677. }
  13678. }
  13679. },
  13680. "/WrTrade2/QueryWrDraftUserInfo": {
  13681. "get": {
  13682. "security": [
  13683. {
  13684. "ApiKeyAuth": []
  13685. }
  13686. ],
  13687. "produces": [
  13688. "application/json"
  13689. ],
  13690. "tags": [
  13691. "仓单贸易v2"
  13692. ],
  13693. "summary": "查询实名认证信息",
  13694. "parameters": [
  13695. {
  13696. "type": "integer",
  13697. "description": "用户ID",
  13698. "name": "userid",
  13699. "in": "query",
  13700. "required": true
  13701. },
  13702. {
  13703. "type": "integer",
  13704. "description": "用户状态 1:正常 2:注销",
  13705. "name": "userstatus",
  13706. "in": "query"
  13707. }
  13708. ],
  13709. "responses": {
  13710. "200": {
  13711. "description": "OK",
  13712. "schema": {
  13713. "type": "array",
  13714. "items": {
  13715. "$ref": "#/definitions/models.WrDraftUserInfo"
  13716. }
  13717. }
  13718. },
  13719. "500": {
  13720. "description": "Internal Server Error",
  13721. "schema": {
  13722. "$ref": "#/definitions/app.Response"
  13723. }
  13724. }
  13725. }
  13726. }
  13727. },
  13728. "/WrTrade2/QueryWrFactorTypeInfo": {
  13729. "get": {
  13730. "security": [
  13731. {
  13732. "ApiKeyAuth": []
  13733. }
  13734. ],
  13735. "produces": [
  13736. "application/json"
  13737. ],
  13738. "tags": [
  13739. "仓单贸易v2"
  13740. ],
  13741. "summary": "查询仓单要素详细信息",
  13742. "parameters": [
  13743. {
  13744. "type": "integer",
  13745. "description": "仓单要素id",
  13746. "name": "wrfactortypeid",
  13747. "in": "query",
  13748. "required": true
  13749. }
  13750. ],
  13751. "responses": {
  13752. "200": {
  13753. "description": "OK",
  13754. "schema": {
  13755. "type": "array",
  13756. "items": {
  13757. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13758. }
  13759. }
  13760. },
  13761. "500": {
  13762. "description": "Internal Server Error",
  13763. "schema": {
  13764. "$ref": "#/definitions/app.Response"
  13765. }
  13766. }
  13767. }
  13768. }
  13769. },
  13770. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13771. "get": {
  13772. "security": [
  13773. {
  13774. "ApiKeyAuth": []
  13775. }
  13776. ],
  13777. "produces": [
  13778. "application/json"
  13779. ],
  13780. "tags": [
  13781. "仓单贸易v2"
  13782. ],
  13783. "summary": "查询仓单要素详细信息列表项",
  13784. "parameters": [
  13785. {
  13786. "type": "integer",
  13787. "description": "仓单要素id",
  13788. "name": "wrfactortypeid",
  13789. "in": "query",
  13790. "required": true
  13791. }
  13792. ],
  13793. "responses": {
  13794. "200": {
  13795. "description": "OK",
  13796. "schema": {
  13797. "type": "array",
  13798. "items": {
  13799. "$ref": "#/definitions/models.WrTypeItem"
  13800. }
  13801. }
  13802. },
  13803. "500": {
  13804. "description": "Internal Server Error",
  13805. "schema": {
  13806. "$ref": "#/definitions/app.Response"
  13807. }
  13808. }
  13809. }
  13810. }
  13811. },
  13812. "/WrTrade2/QueryWrFinanceBuyApply": {
  13813. "get": {
  13814. "security": [
  13815. {
  13816. "ApiKeyAuth": []
  13817. }
  13818. ],
  13819. "description": "页面 融资信息+ / 申请单",
  13820. "produces": [
  13821. "application/json"
  13822. ],
  13823. "tags": [
  13824. "仓单贸易v2"
  13825. ],
  13826. "summary": "查询融资购买申请",
  13827. "parameters": [
  13828. {
  13829. "type": "integer",
  13830. "description": "用户id",
  13831. "name": "userid",
  13832. "in": "query",
  13833. "required": true
  13834. }
  13835. ],
  13836. "responses": {
  13837. "200": {
  13838. "description": "OK",
  13839. "schema": {
  13840. "type": "array",
  13841. "items": {
  13842. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13843. }
  13844. }
  13845. },
  13846. "500": {
  13847. "description": "Internal Server Error",
  13848. "schema": {
  13849. "$ref": "#/definitions/app.Response"
  13850. }
  13851. }
  13852. }
  13853. }
  13854. },
  13855. "/WrTrade2/QueryWrFriendApply": {
  13856. "get": {
  13857. "security": [
  13858. {
  13859. "ApiKeyAuth": []
  13860. }
  13861. ],
  13862. "produces": [
  13863. "application/json"
  13864. ],
  13865. "tags": [
  13866. "仓单贸易v2"
  13867. ],
  13868. "summary": "查询好友申请记录",
  13869. "parameters": [
  13870. {
  13871. "type": "integer",
  13872. "description": "用户id",
  13873. "name": "userid",
  13874. "in": "query",
  13875. "required": true
  13876. }
  13877. ],
  13878. "responses": {
  13879. "200": {
  13880. "description": "OK",
  13881. "schema": {
  13882. "type": "array",
  13883. "items": {
  13884. "$ref": "#/definitions/models.WrFriendApply"
  13885. }
  13886. }
  13887. },
  13888. "500": {
  13889. "description": "Internal Server Error",
  13890. "schema": {
  13891. "$ref": "#/definitions/app.Response"
  13892. }
  13893. }
  13894. }
  13895. }
  13896. },
  13897. "/WrTrade2/QueryWrGoodsInfo": {
  13898. "get": {
  13899. "security": [
  13900. {
  13901. "ApiKeyAuth": []
  13902. }
  13903. ],
  13904. "produces": [
  13905. "application/json"
  13906. ],
  13907. "tags": [
  13908. "仓单贸易v2"
  13909. ],
  13910. "summary": "查询仓单商品信息",
  13911. "parameters": [
  13912. {
  13913. "type": "integer",
  13914. "description": "仓单贸易市场id",
  13915. "name": "marketid",
  13916. "in": "query"
  13917. },
  13918. {
  13919. "type": "integer",
  13920. "description": "0:仓单预售 1:仓单贸易",
  13921. "name": "haswr",
  13922. "in": "query",
  13923. "required": true
  13924. },
  13925. {
  13926. "type": "integer",
  13927. "description": "仓单要素id",
  13928. "name": "wrfactortypeid",
  13929. "in": "query",
  13930. "required": true
  13931. },
  13932. {
  13933. "type": "integer",
  13934. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13935. "name": "tmplateid",
  13936. "in": "query"
  13937. }
  13938. ],
  13939. "responses": {
  13940. "200": {
  13941. "description": "OK",
  13942. "schema": {
  13943. "type": "array",
  13944. "items": {
  13945. "$ref": "#/definitions/models.WrGoodsInfo"
  13946. }
  13947. }
  13948. },
  13949. "500": {
  13950. "description": "Internal Server Error",
  13951. "schema": {
  13952. "$ref": "#/definitions/app.Response"
  13953. }
  13954. }
  13955. }
  13956. }
  13957. },
  13958. "/WrTrade2/QueryWrMarketTradeConfig": {
  13959. "get": {
  13960. "security": [
  13961. {
  13962. "ApiKeyAuth": []
  13963. }
  13964. ],
  13965. "produces": [
  13966. "application/json"
  13967. ],
  13968. "tags": [
  13969. "仓单贸易v2"
  13970. ],
  13971. "summary": "查询市场交易参数配置",
  13972. "parameters": [
  13973. {
  13974. "type": "integer",
  13975. "description": "市场id",
  13976. "name": "marketid",
  13977. "in": "query"
  13978. }
  13979. ],
  13980. "responses": {
  13981. "200": {
  13982. "description": "OK",
  13983. "schema": {
  13984. "type": "array",
  13985. "items": {
  13986. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13987. }
  13988. }
  13989. },
  13990. "500": {
  13991. "description": "Internal Server Error",
  13992. "schema": {
  13993. "$ref": "#/definitions/app.Response"
  13994. }
  13995. }
  13996. }
  13997. }
  13998. },
  13999. "/WrTrade2/QueryWrOrderDetail": {
  14000. "get": {
  14001. "security": [
  14002. {
  14003. "ApiKeyAuth": []
  14004. }
  14005. ],
  14006. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14007. "produces": [
  14008. "application/json"
  14009. ],
  14010. "tags": [
  14011. "仓单贸易v2"
  14012. ],
  14013. "summary": "查询仓单委托单",
  14014. "parameters": [
  14015. {
  14016. "type": "integer",
  14017. "description": "页码",
  14018. "name": "page",
  14019. "in": "query"
  14020. },
  14021. {
  14022. "type": "integer",
  14023. "description": "每页条数",
  14024. "name": "pagesize",
  14025. "in": "query"
  14026. },
  14027. {
  14028. "type": "integer",
  14029. "description": "用户id",
  14030. "name": "userid",
  14031. "in": "query",
  14032. "required": true
  14033. },
  14034. {
  14035. "type": "integer",
  14036. "description": "仓单贸易市场id",
  14037. "name": "marketid",
  14038. "in": "query"
  14039. },
  14040. {
  14041. "type": "integer",
  14042. "description": "0:仓单预售 1:仓单贸易",
  14043. "name": "haswr",
  14044. "in": "query",
  14045. "required": true
  14046. },
  14047. {
  14048. "type": "integer",
  14049. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14050. "name": "bcancel",
  14051. "in": "query"
  14052. },
  14053. {
  14054. "type": "integer",
  14055. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14056. "name": "wrtradetype",
  14057. "in": "query"
  14058. },
  14059. {
  14060. "type": "string",
  14061. "description": "开始交易日(yyyymmdd)",
  14062. "name": "begindate",
  14063. "in": "query"
  14064. },
  14065. {
  14066. "type": "string",
  14067. "description": "结束交易日(yyyymmdd)",
  14068. "name": "enddate",
  14069. "in": "query"
  14070. }
  14071. ],
  14072. "responses": {
  14073. "200": {
  14074. "description": "OK",
  14075. "schema": {
  14076. "type": "array",
  14077. "items": {
  14078. "$ref": "#/definitions/models.WrOrderDetail"
  14079. }
  14080. }
  14081. },
  14082. "500": {
  14083. "description": "Internal Server Error",
  14084. "schema": {
  14085. "$ref": "#/definitions/app.Response"
  14086. }
  14087. }
  14088. }
  14089. }
  14090. },
  14091. "/WrTrade2/QueryWrOutInApply": {
  14092. "get": {
  14093. "security": [
  14094. {
  14095. "ApiKeyAuth": []
  14096. }
  14097. ],
  14098. "produces": [
  14099. "application/json"
  14100. ],
  14101. "tags": [
  14102. "仓单贸易v2"
  14103. ],
  14104. "summary": "查询提货申请",
  14105. "parameters": [
  14106. {
  14107. "type": "integer",
  14108. "description": "用户id",
  14109. "name": "userid",
  14110. "in": "query",
  14111. "required": true
  14112. },
  14113. {
  14114. "type": "string",
  14115. "description": "开始交易日(yyyymmdd)",
  14116. "name": "begindate",
  14117. "in": "query"
  14118. },
  14119. {
  14120. "type": "string",
  14121. "description": "结束交易日(yyyymmdd)",
  14122. "name": "enddate",
  14123. "in": "query"
  14124. }
  14125. ],
  14126. "responses": {
  14127. "200": {
  14128. "description": "OK",
  14129. "schema": {
  14130. "type": "array",
  14131. "items": {
  14132. "$ref": "#/definitions/models.WrOutInApply"
  14133. }
  14134. }
  14135. },
  14136. "500": {
  14137. "description": "Internal Server Error",
  14138. "schema": {
  14139. "$ref": "#/definitions/app.Response"
  14140. }
  14141. }
  14142. }
  14143. }
  14144. },
  14145. "/WrTrade2/QueryWrPerformancePlanStep": {
  14146. "get": {
  14147. "security": [
  14148. {
  14149. "ApiKeyAuth": []
  14150. }
  14151. ],
  14152. "produces": [
  14153. "application/json"
  14154. ],
  14155. "tags": [
  14156. "仓单贸易v2"
  14157. ],
  14158. "summary": "查询履约信息详情",
  14159. "parameters": [
  14160. {
  14161. "type": "integer",
  14162. "description": "履约计划id(performanceplanid)",
  14163. "name": "planid",
  14164. "in": "query",
  14165. "required": true
  14166. },
  14167. {
  14168. "type": "integer",
  14169. "description": "当前步骤id",
  14170. "name": "curstepid",
  14171. "in": "query"
  14172. }
  14173. ],
  14174. "responses": {
  14175. "200": {
  14176. "description": "OK",
  14177. "schema": {
  14178. "type": "array",
  14179. "items": {
  14180. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14181. }
  14182. }
  14183. },
  14184. "500": {
  14185. "description": "Internal Server Error",
  14186. "schema": {
  14187. "$ref": "#/definitions/app.Response"
  14188. }
  14189. }
  14190. }
  14191. }
  14192. },
  14193. "/WrTrade2/QueryWrPerformanceStepType": {
  14194. "get": {
  14195. "security": [
  14196. {
  14197. "ApiKeyAuth": []
  14198. }
  14199. ],
  14200. "produces": [
  14201. "application/json"
  14202. ],
  14203. "tags": [
  14204. "仓单贸易v2"
  14205. ],
  14206. "summary": "查询履约步骤枚举",
  14207. "responses": {
  14208. "200": {
  14209. "description": "OK",
  14210. "schema": {
  14211. "type": "array",
  14212. "items": {
  14213. "$ref": "#/definitions/models.WrPerformanceStepType"
  14214. }
  14215. }
  14216. },
  14217. "500": {
  14218. "description": "Internal Server Error",
  14219. "schema": {
  14220. "$ref": "#/definitions/app.Response"
  14221. }
  14222. }
  14223. }
  14224. }
  14225. },
  14226. "/WrTrade2/QueryWrPosition": {
  14227. "get": {
  14228. "security": [
  14229. {
  14230. "ApiKeyAuth": []
  14231. }
  14232. ],
  14233. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  14234. "produces": [
  14235. "application/json"
  14236. ],
  14237. "tags": [
  14238. "仓单贸易v2"
  14239. ],
  14240. "summary": "查询现货(预售)仓单持仓",
  14241. "parameters": [
  14242. {
  14243. "type": "integer",
  14244. "description": "用户id",
  14245. "name": "userid",
  14246. "in": "query",
  14247. "required": true
  14248. },
  14249. {
  14250. "type": "integer",
  14251. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  14252. "name": "querytype",
  14253. "in": "query",
  14254. "required": true
  14255. },
  14256. {
  14257. "type": "integer",
  14258. "description": "0:仓单预售 1:仓单贸易",
  14259. "name": "haswr",
  14260. "in": "query",
  14261. "required": true
  14262. },
  14263. {
  14264. "type": "string",
  14265. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14266. "name": "dgitemname",
  14267. "in": "query"
  14268. },
  14269. {
  14270. "type": "integer",
  14271. "description": "仓库id(筛选条件)",
  14272. "name": "warehouseid",
  14273. "in": "query"
  14274. },
  14275. {
  14276. "type": "integer",
  14277. "description": "品种id",
  14278. "name": "deliverygoodsid",
  14279. "in": "query"
  14280. },
  14281. {
  14282. "type": "integer",
  14283. "description": "品类id",
  14284. "name": "wrstandardid",
  14285. "in": "query"
  14286. }
  14287. ],
  14288. "responses": {
  14289. "200": {
  14290. "description": "OK",
  14291. "schema": {
  14292. "type": "array",
  14293. "items": {
  14294. "$ref": "#/definitions/models.WrPosition"
  14295. }
  14296. }
  14297. },
  14298. "500": {
  14299. "description": "Internal Server Error",
  14300. "schema": {
  14301. "$ref": "#/definitions/app.Response"
  14302. }
  14303. }
  14304. }
  14305. }
  14306. },
  14307. "/WrTrade2/QueryWrPreSaleInfo": {
  14308. "get": {
  14309. "security": [
  14310. {
  14311. "ApiKeyAuth": []
  14312. }
  14313. ],
  14314. "produces": [
  14315. "application/json"
  14316. ],
  14317. "tags": [
  14318. "仓单贸易v2"
  14319. ],
  14320. "summary": "查询新品发布",
  14321. "parameters": [
  14322. {
  14323. "type": "integer",
  14324. "description": "市场id",
  14325. "name": "marketid",
  14326. "in": "query"
  14327. },
  14328. {
  14329. "type": "string",
  14330. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  14331. "name": "presalestatus",
  14332. "in": "query"
  14333. },
  14334. {
  14335. "type": "integer",
  14336. "description": "摇号标识 - 0:未摇号 1:已摇号",
  14337. "name": "lotteryflag",
  14338. "in": "query"
  14339. },
  14340. {
  14341. "type": "integer",
  14342. "description": "最近多少条记录(按创建时间倒序)",
  14343. "name": "lastnum",
  14344. "in": "query"
  14345. }
  14346. ],
  14347. "responses": {
  14348. "200": {
  14349. "description": "OK",
  14350. "schema": {
  14351. "type": "array",
  14352. "items": {
  14353. "$ref": "#/definitions/models.WrPreSaleInfo"
  14354. }
  14355. }
  14356. },
  14357. "500": {
  14358. "description": "Internal Server Error",
  14359. "schema": {
  14360. "$ref": "#/definitions/app.Response"
  14361. }
  14362. }
  14363. }
  14364. }
  14365. },
  14366. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  14367. "get": {
  14368. "security": [
  14369. {
  14370. "ApiKeyAuth": []
  14371. }
  14372. ],
  14373. "produces": [
  14374. "application/json"
  14375. ],
  14376. "tags": [
  14377. "仓单贸易v2"
  14378. ],
  14379. "summary": "查询价格走势",
  14380. "parameters": [
  14381. {
  14382. "type": "integer",
  14383. "description": "市场id",
  14384. "name": "marketid",
  14385. "in": "query",
  14386. "required": true
  14387. },
  14388. {
  14389. "type": "integer",
  14390. "description": "现货商品id",
  14391. "name": "wrstandardid",
  14392. "in": "query",
  14393. "required": true
  14394. },
  14395. {
  14396. "type": "string",
  14397. "description": "开始交易日(yyyymmdd)",
  14398. "name": "begindate",
  14399. "in": "query"
  14400. },
  14401. {
  14402. "type": "string",
  14403. "description": "结束交易日(yyyymmdd)",
  14404. "name": "enddate",
  14405. "in": "query"
  14406. },
  14407. {
  14408. "type": "integer",
  14409. "description": "最近多少条记录(按交易日倒序)",
  14410. "name": "lastnum",
  14411. "in": "query"
  14412. },
  14413. {
  14414. "type": "boolean",
  14415. "description": "是否今日",
  14416. "name": "istoday",
  14417. "in": "query"
  14418. }
  14419. ],
  14420. "responses": {
  14421. "200": {
  14422. "description": "OK",
  14423. "schema": {
  14424. "type": "array",
  14425. "items": {
  14426. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  14427. }
  14428. }
  14429. },
  14430. "500": {
  14431. "description": "Internal Server Error",
  14432. "schema": {
  14433. "$ref": "#/definitions/app.Response"
  14434. }
  14435. }
  14436. }
  14437. }
  14438. },
  14439. "/WrTrade2/QueryWrScfContract": {
  14440. "get": {
  14441. "security": [
  14442. {
  14443. "ApiKeyAuth": []
  14444. }
  14445. ],
  14446. "produces": [
  14447. "application/json"
  14448. ],
  14449. "tags": [
  14450. "仓单贸易v2"
  14451. ],
  14452. "summary": "查询仓单贸易融资合同",
  14453. "parameters": [
  14454. {
  14455. "type": "integer",
  14456. "description": "用户id",
  14457. "name": "userid",
  14458. "in": "query",
  14459. "required": true
  14460. },
  14461. {
  14462. "type": "integer",
  14463. "description": "融资合同id",
  14464. "name": "scfcontractid",
  14465. "in": "query"
  14466. }
  14467. ],
  14468. "responses": {
  14469. "200": {
  14470. "description": "OK",
  14471. "schema": {
  14472. "type": "array",
  14473. "items": {
  14474. "$ref": "#/definitions/models.WrScfContract"
  14475. }
  14476. }
  14477. },
  14478. "500": {
  14479. "description": "Internal Server Error",
  14480. "schema": {
  14481. "$ref": "#/definitions/app.Response"
  14482. }
  14483. }
  14484. }
  14485. }
  14486. },
  14487. "/WrTrade2/QueryWrScfContractInterest": {
  14488. "get": {
  14489. "security": [
  14490. {
  14491. "ApiKeyAuth": []
  14492. }
  14493. ],
  14494. "produces": [
  14495. "application/json"
  14496. ],
  14497. "tags": [
  14498. "仓单贸易v2"
  14499. ],
  14500. "summary": "查询融资合同费用明细",
  14501. "parameters": [
  14502. {
  14503. "type": "integer",
  14504. "description": "融资合同id",
  14505. "name": "scfcontractid",
  14506. "in": "query"
  14507. }
  14508. ],
  14509. "responses": {
  14510. "200": {
  14511. "description": "OK",
  14512. "schema": {
  14513. "type": "array",
  14514. "items": {
  14515. "$ref": "#/definitions/models.WrScfContractInterest"
  14516. }
  14517. }
  14518. },
  14519. "500": {
  14520. "description": "Internal Server Error",
  14521. "schema": {
  14522. "$ref": "#/definitions/app.Response"
  14523. }
  14524. }
  14525. }
  14526. }
  14527. },
  14528. "/WrTrade2/QueryWrSearchUser": {
  14529. "get": {
  14530. "security": [
  14531. {
  14532. "ApiKeyAuth": []
  14533. }
  14534. ],
  14535. "produces": [
  14536. "application/json"
  14537. ],
  14538. "tags": [
  14539. "仓单贸易v2"
  14540. ],
  14541. "summary": "查询用户",
  14542. "parameters": [
  14543. {
  14544. "type": "string",
  14545. "description": "用户名称(模糊匹配)",
  14546. "name": "username",
  14547. "in": "query",
  14548. "required": true
  14549. }
  14550. ],
  14551. "responses": {
  14552. "200": {
  14553. "description": "OK",
  14554. "schema": {
  14555. "type": "array",
  14556. "items": {
  14557. "$ref": "#/definitions/models.WrSearchUser"
  14558. }
  14559. }
  14560. },
  14561. "500": {
  14562. "description": "Internal Server Error",
  14563. "schema": {
  14564. "$ref": "#/definitions/app.Response"
  14565. }
  14566. }
  14567. }
  14568. }
  14569. },
  14570. "/WrTrade2/QueryWrSpecialMatchOrder": {
  14571. "get": {
  14572. "security": [
  14573. {
  14574. "ApiKeyAuth": []
  14575. }
  14576. ],
  14577. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  14578. "produces": [
  14579. "application/json"
  14580. ],
  14581. "tags": [
  14582. "仓单贸易v2"
  14583. ],
  14584. "summary": "查询指定成交",
  14585. "parameters": [
  14586. {
  14587. "type": "integer",
  14588. "description": "页码",
  14589. "name": "page",
  14590. "in": "query"
  14591. },
  14592. {
  14593. "type": "integer",
  14594. "description": "每页条数",
  14595. "name": "pagesize",
  14596. "in": "query"
  14597. },
  14598. {
  14599. "type": "integer",
  14600. "description": "用户id",
  14601. "name": "userid",
  14602. "in": "query",
  14603. "required": true
  14604. },
  14605. {
  14606. "type": "integer",
  14607. "description": "仓单贸易市场id",
  14608. "name": "marketid",
  14609. "in": "query"
  14610. },
  14611. {
  14612. "type": "integer",
  14613. "description": "0:仓单预售 1:仓单贸易",
  14614. "name": "haswr",
  14615. "in": "query",
  14616. "required": true
  14617. },
  14618. {
  14619. "type": "integer",
  14620. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  14621. "name": "isspecified",
  14622. "in": "query"
  14623. }
  14624. ],
  14625. "responses": {
  14626. "200": {
  14627. "description": "OK",
  14628. "schema": {
  14629. "type": "array",
  14630. "items": {
  14631. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  14632. }
  14633. }
  14634. },
  14635. "500": {
  14636. "description": "Internal Server Error",
  14637. "schema": {
  14638. "$ref": "#/definitions/app.Response"
  14639. }
  14640. }
  14641. }
  14642. }
  14643. },
  14644. "/WrTrade2/QueryWrStandardFactoryItem": {
  14645. "get": {
  14646. "security": [
  14647. {
  14648. "ApiKeyAuth": []
  14649. }
  14650. ],
  14651. "produces": [
  14652. "application/json"
  14653. ],
  14654. "tags": [
  14655. "仓单贸易v2"
  14656. ],
  14657. "summary": "查询品类要素定义项",
  14658. "parameters": [
  14659. {
  14660. "type": "integer",
  14661. "description": "品类id",
  14662. "name": "wrstandardid",
  14663. "in": "query",
  14664. "required": true
  14665. }
  14666. ],
  14667. "responses": {
  14668. "200": {
  14669. "description": "OK",
  14670. "schema": {
  14671. "type": "array",
  14672. "items": {
  14673. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  14674. }
  14675. }
  14676. },
  14677. "500": {
  14678. "description": "Internal Server Error",
  14679. "schema": {
  14680. "$ref": "#/definitions/app.Response"
  14681. }
  14682. }
  14683. }
  14684. }
  14685. },
  14686. "/WrTrade2/QueryWrTradeBargainApply": {
  14687. "get": {
  14688. "security": [
  14689. {
  14690. "ApiKeyAuth": []
  14691. }
  14692. ],
  14693. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  14694. "produces": [
  14695. "application/json"
  14696. ],
  14697. "tags": [
  14698. "仓单贸易v2"
  14699. ],
  14700. "summary": "查询议价单",
  14701. "parameters": [
  14702. {
  14703. "type": "integer",
  14704. "description": "议价人id(摘牌方)",
  14705. "name": "userid",
  14706. "in": "query"
  14707. },
  14708. {
  14709. "type": "integer",
  14710. "description": "挂牌方id(查对方议价时,填写此项)",
  14711. "name": "matchuserid",
  14712. "in": "query"
  14713. },
  14714. {
  14715. "type": "integer",
  14716. "description": "关联委托单id",
  14717. "name": "wrtradeorderid",
  14718. "in": "query"
  14719. },
  14720. {
  14721. "type": "integer",
  14722. "description": "0:仓单预售 1:仓单贸易",
  14723. "name": "haswr",
  14724. "in": "query",
  14725. "required": true
  14726. },
  14727. {
  14728. "type": "string",
  14729. "description": "开始交易日(yyyymmdd)",
  14730. "name": "begindate",
  14731. "in": "query"
  14732. },
  14733. {
  14734. "type": "string",
  14735. "description": "结束交易日(yyyymmdd)",
  14736. "name": "enddate",
  14737. "in": "query"
  14738. }
  14739. ],
  14740. "responses": {
  14741. "200": {
  14742. "description": "OK",
  14743. "schema": {
  14744. "type": "array",
  14745. "items": {
  14746. "$ref": "#/definitions/models.WRTradeBargainApply"
  14747. }
  14748. }
  14749. },
  14750. "500": {
  14751. "description": "Internal Server Error",
  14752. "schema": {
  14753. "$ref": "#/definitions/app.Response"
  14754. }
  14755. }
  14756. }
  14757. }
  14758. },
  14759. "/WrTrade2/QueryWrTradeDetail": {
  14760. "get": {
  14761. "security": [
  14762. {
  14763. "ApiKeyAuth": []
  14764. }
  14765. ],
  14766. "produces": [
  14767. "application/json"
  14768. ],
  14769. "tags": [
  14770. "仓单贸易v2"
  14771. ],
  14772. "summary": "查询仓单成交明细",
  14773. "parameters": [
  14774. {
  14775. "type": "integer",
  14776. "description": "页码",
  14777. "name": "page",
  14778. "in": "query"
  14779. },
  14780. {
  14781. "type": "integer",
  14782. "description": "每页条数",
  14783. "name": "pagesize",
  14784. "in": "query"
  14785. },
  14786. {
  14787. "type": "integer",
  14788. "description": "用户id",
  14789. "name": "userid",
  14790. "in": "query",
  14791. "required": true
  14792. },
  14793. {
  14794. "type": "integer",
  14795. "description": "仓单贸易市场id",
  14796. "name": "marketid",
  14797. "in": "query"
  14798. },
  14799. {
  14800. "type": "integer",
  14801. "description": "0:仓单预售 1:仓单贸易",
  14802. "name": "haswr",
  14803. "in": "query",
  14804. "required": true
  14805. },
  14806. {
  14807. "type": "string",
  14808. "description": "开始交易日(yyyymmdd)",
  14809. "name": "begindate",
  14810. "in": "query"
  14811. },
  14812. {
  14813. "type": "string",
  14814. "description": "结束交易日(yyyymmdd)",
  14815. "name": "enddate",
  14816. "in": "query"
  14817. }
  14818. ],
  14819. "responses": {
  14820. "200": {
  14821. "description": "OK",
  14822. "schema": {
  14823. "type": "array",
  14824. "items": {
  14825. "$ref": "#/definitions/models.WrTradeDetail"
  14826. }
  14827. }
  14828. },
  14829. "500": {
  14830. "description": "Internal Server Error",
  14831. "schema": {
  14832. "$ref": "#/definitions/app.Response"
  14833. }
  14834. }
  14835. }
  14836. }
  14837. },
  14838. "/WrTrade2/QueryWrTradeOrderDetail": {
  14839. "get": {
  14840. "security": [
  14841. {
  14842. "ApiKeyAuth": []
  14843. }
  14844. ],
  14845. "produces": [
  14846. "application/json"
  14847. ],
  14848. "tags": [
  14849. "仓单贸易v2"
  14850. ],
  14851. "summary": "查询合约交易买卖大厅",
  14852. "parameters": [
  14853. {
  14854. "type": "integer",
  14855. "description": "页码",
  14856. "name": "page",
  14857. "in": "query"
  14858. },
  14859. {
  14860. "type": "integer",
  14861. "description": "每页条数",
  14862. "name": "pagesize",
  14863. "in": "query"
  14864. },
  14865. {
  14866. "type": "integer",
  14867. "description": "商品id",
  14868. "name": "goodsid",
  14869. "in": "query",
  14870. "required": true
  14871. },
  14872. {
  14873. "type": "integer",
  14874. "description": "买卖方向 0-买 1-卖",
  14875. "name": "buyorsell",
  14876. "in": "query",
  14877. "required": true
  14878. }
  14879. ],
  14880. "responses": {
  14881. "200": {
  14882. "description": "OK",
  14883. "schema": {
  14884. "type": "array",
  14885. "items": {
  14886. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14887. }
  14888. }
  14889. },
  14890. "500": {
  14891. "description": "Internal Server Error",
  14892. "schema": {
  14893. "$ref": "#/definitions/app.Response"
  14894. }
  14895. }
  14896. }
  14897. }
  14898. },
  14899. "/WrTrade2/QueryWrUserFriend": {
  14900. "get": {
  14901. "security": [
  14902. {
  14903. "ApiKeyAuth": []
  14904. }
  14905. ],
  14906. "produces": [
  14907. "application/json"
  14908. ],
  14909. "tags": [
  14910. "仓单贸易v2"
  14911. ],
  14912. "summary": "查询我的朋友",
  14913. "parameters": [
  14914. {
  14915. "type": "integer",
  14916. "description": "用户id",
  14917. "name": "userid",
  14918. "in": "query",
  14919. "required": true
  14920. },
  14921. {
  14922. "type": "integer",
  14923. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14924. "name": "newuserid",
  14925. "in": "query"
  14926. }
  14927. ],
  14928. "responses": {
  14929. "200": {
  14930. "description": "OK",
  14931. "schema": {
  14932. "type": "array",
  14933. "items": {
  14934. "$ref": "#/definitions/models.WrUserFriend"
  14935. }
  14936. }
  14937. },
  14938. "500": {
  14939. "description": "Internal Server Error",
  14940. "schema": {
  14941. "$ref": "#/definitions/app.Response"
  14942. }
  14943. }
  14944. }
  14945. }
  14946. },
  14947. "/WrTrade2/QueryWrUserReceiptInfo": {
  14948. "get": {
  14949. "security": [
  14950. {
  14951. "ApiKeyAuth": []
  14952. }
  14953. ],
  14954. "produces": [
  14955. "application/json"
  14956. ],
  14957. "tags": [
  14958. "仓单贸易v2"
  14959. ],
  14960. "summary": "查询发票信息",
  14961. "parameters": [
  14962. {
  14963. "type": "integer",
  14964. "description": "用户id",
  14965. "name": "userid",
  14966. "in": "query"
  14967. },
  14968. {
  14969. "type": "integer",
  14970. "description": "发票类型 - 1:个人 2:企业",
  14971. "name": "receipttype",
  14972. "in": "query"
  14973. }
  14974. ],
  14975. "responses": {
  14976. "200": {
  14977. "description": "OK",
  14978. "schema": {
  14979. "type": "array",
  14980. "items": {
  14981. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14982. }
  14983. }
  14984. },
  14985. "500": {
  14986. "description": "Internal Server Error",
  14987. "schema": {
  14988. "$ref": "#/definitions/app.Response"
  14989. }
  14990. }
  14991. }
  14992. }
  14993. },
  14994. "/WrTrade2/QueryXhcpSellBackApply": {
  14995. "get": {
  14996. "security": [
  14997. {
  14998. "ApiKeyAuth": []
  14999. }
  15000. ],
  15001. "produces": [
  15002. "application/json"
  15003. ],
  15004. "tags": [
  15005. "仓单贸易v2"
  15006. ],
  15007. "summary": "查询我的回收申请(新会陈皮)",
  15008. "parameters": [
  15009. {
  15010. "type": "integer",
  15011. "description": "用户ID",
  15012. "name": "userid",
  15013. "in": "query",
  15014. "required": true
  15015. }
  15016. ],
  15017. "responses": {
  15018. "200": {
  15019. "description": "OK",
  15020. "schema": {
  15021. "type": "array",
  15022. "items": {
  15023. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15024. }
  15025. }
  15026. },
  15027. "500": {
  15028. "description": "Internal Server Error",
  15029. "schema": {
  15030. "$ref": "#/definitions/app.Response"
  15031. }
  15032. }
  15033. }
  15034. }
  15035. },
  15036. "/ZJ/GetBankTip": {
  15037. "get": {
  15038. "produces": [
  15039. "application/json"
  15040. ],
  15041. "tags": [
  15042. "中江"
  15043. ],
  15044. "summary": "获取中江网银端出入金提示信息",
  15045. "responses": {
  15046. "200": {
  15047. "description": "OK",
  15048. "schema": {
  15049. "type": "string"
  15050. }
  15051. },
  15052. "500": {
  15053. "description": "Internal Server Error",
  15054. "schema": {
  15055. "$ref": "#/definitions/app.Response"
  15056. }
  15057. }
  15058. }
  15059. }
  15060. },
  15061. "/ZJ/GetCusBankChannels": {
  15062. "get": {
  15063. "produces": [
  15064. "application/json"
  15065. ],
  15066. "tags": [
  15067. "中江"
  15068. ],
  15069. "summary": "获取中江出入金渠道显示列表",
  15070. "responses": {
  15071. "200": {
  15072. "description": "OK",
  15073. "schema": {
  15074. "type": "array",
  15075. "items": {
  15076. "type": "string"
  15077. }
  15078. }
  15079. },
  15080. "500": {
  15081. "description": "Internal Server Error",
  15082. "schema": {
  15083. "$ref": "#/definitions/app.Response"
  15084. }
  15085. }
  15086. }
  15087. }
  15088. }
  15089. },
  15090. "definitions": {
  15091. "app.Response": {
  15092. "type": "object",
  15093. "properties": {
  15094. "code": {
  15095. "type": "integer"
  15096. },
  15097. "data": {
  15098. "type": "object"
  15099. },
  15100. "msg": {
  15101. "type": "string"
  15102. },
  15103. "page": {
  15104. "description": "页码",
  15105. "type": "integer"
  15106. },
  15107. "pagesize": {
  15108. "description": "每页条数",
  15109. "type": "integer"
  15110. },
  15111. "total": {
  15112. "description": "总条数",
  15113. "type": "integer"
  15114. }
  15115. }
  15116. },
  15117. "common.ClientMenu": {
  15118. "type": "object",
  15119. "properties": {
  15120. "children": {
  15121. "description": "子菜单列表",
  15122. "type": "array",
  15123. "items": {
  15124. "$ref": "#/definitions/common.ClientMenu"
  15125. }
  15126. },
  15127. "code": {
  15128. "description": "ID",
  15129. "type": "string"
  15130. },
  15131. "isshow": {
  15132. "description": "是否显示",
  15133. "type": "boolean"
  15134. },
  15135. "remark": {
  15136. "description": "备注",
  15137. "type": "string"
  15138. },
  15139. "rulekey": {
  15140. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15141. "type": "string"
  15142. },
  15143. "sort": {
  15144. "description": "排序",
  15145. "type": "integer"
  15146. },
  15147. "title": {
  15148. "description": "标题",
  15149. "type": "string"
  15150. },
  15151. "type": {
  15152. "description": "类型,1:菜单 2:按钮",
  15153. "type": "integer"
  15154. },
  15155. "url": {
  15156. "description": "URL",
  15157. "type": "string"
  15158. }
  15159. }
  15160. },
  15161. "common.PCWebMenu": {
  15162. "type": "object",
  15163. "properties": {
  15164. "auth": {
  15165. "description": "页面权限列表",
  15166. "type": "array",
  15167. "items": {
  15168. "$ref": "#/definitions/common.PCWebMenuAuth"
  15169. }
  15170. },
  15171. "children": {
  15172. "description": "子菜单列表",
  15173. "type": "array",
  15174. "items": {
  15175. "$ref": "#/definitions/common.PCWebMenu"
  15176. }
  15177. },
  15178. "code": {
  15179. "description": "ID,新版本中权限KEY也是这个字段",
  15180. "type": "string"
  15181. },
  15182. "component": {
  15183. "description": "路由组件",
  15184. "type": "string"
  15185. },
  15186. "isshow": {
  15187. "description": "是否显示",
  15188. "type": "boolean"
  15189. },
  15190. "path": {
  15191. "description": "路由路径",
  15192. "type": "string"
  15193. },
  15194. "remark": {
  15195. "description": "备注",
  15196. "type": "string"
  15197. },
  15198. "rulekey": {
  15199. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15200. "type": "string"
  15201. },
  15202. "sort": {
  15203. "description": "排序",
  15204. "type": "integer"
  15205. },
  15206. "title": {
  15207. "description": "标题",
  15208. "type": "string"
  15209. },
  15210. "url": {
  15211. "description": "URL",
  15212. "type": "string"
  15213. }
  15214. }
  15215. },
  15216. "common.PCWebMenuAuth": {
  15217. "type": "object",
  15218. "properties": {
  15219. "code": {
  15220. "description": "ID,新版本中权限KEY也是这个字段",
  15221. "type": "string"
  15222. },
  15223. "isshow": {
  15224. "description": "是否显示",
  15225. "type": "boolean"
  15226. },
  15227. "label": {
  15228. "description": "标题",
  15229. "type": "string"
  15230. },
  15231. "remark": {
  15232. "description": "备注",
  15233. "type": "string"
  15234. },
  15235. "rulekey": {
  15236. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15237. "type": "string"
  15238. }
  15239. }
  15240. },
  15241. "common.QueryImageConfigsRsp": {
  15242. "type": "object",
  15243. "required": [
  15244. "configid"
  15245. ],
  15246. "properties": {
  15247. "areauserid": {
  15248. "description": "所属机构ID",
  15249. "type": "integer"
  15250. },
  15251. "configid": {
  15252. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  15253. "type": "integer"
  15254. },
  15255. "createdate": {
  15256. "description": "创建时间",
  15257. "type": "string"
  15258. },
  15259. "creatorid": {
  15260. "description": "创建人",
  15261. "type": "integer"
  15262. },
  15263. "imagedetailpath": {
  15264. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  15265. "type": "string"
  15266. },
  15267. "imagepath": {
  15268. "description": "图片",
  15269. "type": "string"
  15270. },
  15271. "imagetype": {
  15272. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  15273. "type": "integer"
  15274. },
  15275. "isshow": {
  15276. "description": "是否展示 - 0:不展示 1:展示",
  15277. "type": "integer"
  15278. },
  15279. "marketid": {
  15280. "description": "市场ID",
  15281. "type": "integer"
  15282. },
  15283. "modifierid": {
  15284. "description": "操作人",
  15285. "type": "integer"
  15286. },
  15287. "sort": {
  15288. "description": "排序",
  15289. "type": "integer"
  15290. },
  15291. "title": {
  15292. "description": "标题",
  15293. "type": "string"
  15294. },
  15295. "trademode": {
  15296. "description": "交易模式",
  15297. "type": "integer"
  15298. },
  15299. "updatedate": {
  15300. "description": "修改时间",
  15301. "type": "string"
  15302. },
  15303. "url": {
  15304. "description": "链接(地址或商品ID)",
  15305. "type": "string"
  15306. },
  15307. "urltype": {
  15308. "description": "链接类型 - 1:直接地址 2:商品ID",
  15309. "type": "integer"
  15310. }
  15311. }
  15312. },
  15313. "common.QueryNoticeRsp": {
  15314. "type": "object",
  15315. "required": [
  15316. "autoid"
  15317. ],
  15318. "properties": {
  15319. "auditoruserid": {
  15320. "description": "审核人",
  15321. "type": "integer"
  15322. },
  15323. "auditremark": {
  15324. "description": "审核备注",
  15325. "type": "string"
  15326. },
  15327. "audittime": {
  15328. "description": "审核日期",
  15329. "type": "string"
  15330. },
  15331. "autoid": {
  15332. "description": "自增ID",
  15333. "type": "integer"
  15334. },
  15335. "content": {
  15336. "description": "内容",
  15337. "type": "string"
  15338. },
  15339. "createtime": {
  15340. "description": "创建时间",
  15341. "type": "string"
  15342. },
  15343. "creatorid": {
  15344. "description": "建仓人",
  15345. "type": "integer"
  15346. },
  15347. "endtime": {
  15348. "description": "结束时间",
  15349. "type": "string"
  15350. },
  15351. "istop": {
  15352. "description": "是否置顶 - 0:不置顶 1:置顶",
  15353. "type": "integer"
  15354. },
  15355. "msgiconurl": {
  15356. "description": "消息图标Url",
  15357. "type": "string"
  15358. },
  15359. "msgtype": {
  15360. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  15361. "type": "integer"
  15362. },
  15363. "publisher": {
  15364. "description": "消息发布者",
  15365. "type": "string"
  15366. },
  15367. "readed": {
  15368. "description": "是否已读",
  15369. "type": "boolean"
  15370. },
  15371. "scheduletime": {
  15372. "description": "计划发送时间",
  15373. "type": "string"
  15374. },
  15375. "sendtype": {
  15376. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  15377. "type": "integer"
  15378. },
  15379. "sentstatus": {
  15380. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  15381. "type": "integer"
  15382. },
  15383. "title": {
  15384. "description": "标题",
  15385. "type": "string"
  15386. },
  15387. "userid": {
  15388. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  15389. "type": "integer"
  15390. }
  15391. }
  15392. },
  15393. "common.QueryProvincesAndCitiesRsp": {
  15394. "type": "object",
  15395. "properties": {
  15396. "cities": {
  15397. "description": "市",
  15398. "type": "array",
  15399. "items": {
  15400. "$ref": "#/definitions/models.Division"
  15401. }
  15402. },
  15403. "province": {
  15404. "description": "省",
  15405. "$ref": "#/definitions/models.Division"
  15406. }
  15407. }
  15408. },
  15409. "common.QueryTableDefineRsp": {
  15410. "type": "object",
  15411. "required": [
  15412. "tablekey"
  15413. ],
  15414. "properties": {
  15415. "columns": {
  15416. "description": "列头信息数组",
  15417. "type": "array",
  15418. "items": {
  15419. "$ref": "#/definitions/models.Tablecolumnconfig"
  15420. }
  15421. },
  15422. "remark": {
  15423. "description": "Remark",
  15424. "type": "string"
  15425. },
  15426. "tabelmenu": {
  15427. "description": "列表菜单",
  15428. "type": "string"
  15429. },
  15430. "tablekey": {
  15431. "description": "列表Key",
  15432. "type": "string"
  15433. },
  15434. "tablename": {
  15435. "description": "列表名称",
  15436. "type": "string"
  15437. },
  15438. "tabletype": {
  15439. "description": "列表类型 - 1:管理端 2:终端",
  15440. "type": "integer"
  15441. }
  15442. }
  15443. },
  15444. "common.QueryTraderMenuRsp": {
  15445. "type": "object",
  15446. "properties": {
  15447. "OperationMenu": {
  15448. "description": "功能菜单",
  15449. "type": "array",
  15450. "items": {
  15451. "$ref": "#/definitions/models.OperationPrimaryMenu"
  15452. }
  15453. },
  15454. "QuoteMenu": {
  15455. "description": "报价牌分类菜单",
  15456. "type": "array",
  15457. "items": {
  15458. "$ref": "#/definitions/models.QuotePrimaryMenu"
  15459. }
  15460. }
  15461. }
  15462. },
  15463. "cptrade.Cptradepositioncancel": {
  15464. "type": "object",
  15465. "required": [
  15466. "cancelid"
  15467. ],
  15468. "properties": {
  15469. "accountid": {
  15470. "description": "申请人账户ID",
  15471. "type": "integer"
  15472. },
  15473. "applystatus": {
  15474. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15475. "type": "integer"
  15476. },
  15477. "applytime": {
  15478. "description": "申请时间",
  15479. "type": "string"
  15480. },
  15481. "cancelid": {
  15482. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  15483. "type": "integer"
  15484. },
  15485. "cancelqty": {
  15486. "description": "注销数量",
  15487. "type": "integer"
  15488. },
  15489. "createtime": {
  15490. "description": "创建时间",
  15491. "type": "string"
  15492. },
  15493. "creatorid": {
  15494. "description": "创建人ID",
  15495. "type": "integer"
  15496. },
  15497. "creatorname": {
  15498. "description": "创建人",
  15499. "type": "string"
  15500. },
  15501. "goodscode": {
  15502. "description": "订单商品代码",
  15503. "type": "string"
  15504. },
  15505. "goodsid": {
  15506. "description": "商品ID",
  15507. "type": "integer"
  15508. },
  15509. "goodsname": {
  15510. "description": "订单商品名称",
  15511. "type": "string"
  15512. },
  15513. "goodunit": {
  15514. "description": "报价单位",
  15515. "type": "string"
  15516. },
  15517. "handlestatus": {
  15518. "description": "处理状态",
  15519. "type": "integer"
  15520. },
  15521. "marketid": {
  15522. "description": "市场ID",
  15523. "type": "integer"
  15524. },
  15525. "marketname": {
  15526. "description": "市场名称",
  15527. "type": "string"
  15528. },
  15529. "tradedate": {
  15530. "description": "交易日(yyyyMMdd)",
  15531. "type": "string"
  15532. },
  15533. "userid": {
  15534. "description": "申请人ID",
  15535. "type": "integer"
  15536. }
  15537. }
  15538. },
  15539. "cptrade.Cptradepresaleapply": {
  15540. "type": "object",
  15541. "required": [
  15542. "applyid"
  15543. ],
  15544. "properties": {
  15545. "accountid": {
  15546. "description": "申请人账户ID",
  15547. "type": "integer"
  15548. },
  15549. "applyid": {
  15550. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  15551. "type": "integer"
  15552. },
  15553. "applyremark": {
  15554. "description": "申请备注",
  15555. "type": "string"
  15556. },
  15557. "applystatus": {
  15558. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15559. "type": "integer"
  15560. },
  15561. "applytime": {
  15562. "description": "申请时间",
  15563. "type": "string"
  15564. },
  15565. "attachmenturl": {
  15566. "description": "附件地址",
  15567. "type": "string"
  15568. },
  15569. "endtime": {
  15570. "description": "预售结束时间",
  15571. "type": "string"
  15572. },
  15573. "goodscode": {
  15574. "description": "商品代码",
  15575. "type": "string"
  15576. },
  15577. "goodsid": {
  15578. "description": "商品ID",
  15579. "type": "integer"
  15580. },
  15581. "goodsname": {
  15582. "description": "商品名称",
  15583. "type": "string"
  15584. },
  15585. "goodunit": {
  15586. "description": "报价单位",
  15587. "type": "string"
  15588. },
  15589. "handlestatus": {
  15590. "description": "处理状态",
  15591. "type": "integer"
  15592. },
  15593. "marketid": {
  15594. "description": "预售市场ID",
  15595. "type": "integer"
  15596. },
  15597. "marketname": {
  15598. "description": "预售市场名称",
  15599. "type": "string"
  15600. },
  15601. "presaleqty": {
  15602. "description": "预售数量",
  15603. "type": "integer"
  15604. },
  15605. "relatedgoodscode": {
  15606. "description": "关联交易合约代码",
  15607. "type": "string"
  15608. },
  15609. "relatedgoodsid": {
  15610. "description": "关联交易合约ID",
  15611. "type": "integer"
  15612. },
  15613. "relatedgoodsname": {
  15614. "description": "关联交易合约名称",
  15615. "type": "string"
  15616. },
  15617. "starttime": {
  15618. "description": "预售开始时间",
  15619. "type": "string"
  15620. },
  15621. "tradedate": {
  15622. "description": "交易日(yyyyMMdd)",
  15623. "type": "string"
  15624. },
  15625. "trademode": {
  15626. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  15627. "type": "integer"
  15628. },
  15629. "userid": {
  15630. "description": "申请人ID",
  15631. "type": "integer"
  15632. }
  15633. }
  15634. },
  15635. "cptrade.Cptradeusergoodsdata": {
  15636. "type": "object",
  15637. "required": [
  15638. "accountid",
  15639. "goodsid"
  15640. ],
  15641. "properties": {
  15642. "EnabledQty": {
  15643. "description": "可用量",
  15644. "type": "integer"
  15645. },
  15646. "GoodsCode": {
  15647. "description": "订单商品代码",
  15648. "type": "string"
  15649. },
  15650. "GoodsName": {
  15651. "description": "订单商品名称",
  15652. "type": "string"
  15653. },
  15654. "WRStandardCode": {
  15655. "description": "仓单标准代码",
  15656. "type": "string"
  15657. },
  15658. "WRStandardName": {
  15659. "description": "仓单标准名称",
  15660. "type": "string"
  15661. },
  15662. "accountid": {
  15663. "description": "账户ID",
  15664. "type": "integer"
  15665. },
  15666. "cancelqty": {
  15667. "description": "注销量",
  15668. "type": "integer"
  15669. },
  15670. "curpresaleqty": {
  15671. "description": "当前预售量",
  15672. "type": "integer"
  15673. },
  15674. "deliveryqty": {
  15675. "description": "交割量",
  15676. "type": "integer"
  15677. },
  15678. "freezeamount": {
  15679. "description": "冻结金额",
  15680. "type": "number"
  15681. },
  15682. "goodsid": {
  15683. "description": "商品ID",
  15684. "type": "integer"
  15685. },
  15686. "goodunit": {
  15687. "description": "报价单位",
  15688. "type": "string"
  15689. },
  15690. "hasspotfreeze": {
  15691. "description": "是否有现货冻结 - 0:否 1:有",
  15692. "type": "integer"
  15693. },
  15694. "inqty": {
  15695. "description": "转入量(总数量)",
  15696. "type": "integer"
  15697. },
  15698. "marketid": {
  15699. "description": "市场ID",
  15700. "type": "integer"
  15701. },
  15702. "presaledamount": {
  15703. "description": "已预售总金额",
  15704. "type": "integer"
  15705. },
  15706. "presaledqty": {
  15707. "description": "已预售量",
  15708. "type": "integer"
  15709. },
  15710. "userid": {
  15711. "description": "用户ID",
  15712. "type": "integer"
  15713. },
  15714. "wrstandardid": {
  15715. "description": "仓单标准ID",
  15716. "type": "integer"
  15717. }
  15718. }
  15719. },
  15720. "cptrade.QueryCPTradeMyBidRsp": {
  15721. "type": "object",
  15722. "required": [
  15723. "accountid",
  15724. "goodsid",
  15725. "marketid",
  15726. "orderid",
  15727. "orderqty",
  15728. "ordertime",
  15729. "tradeprice",
  15730. "tradeqty"
  15731. ],
  15732. "properties": {
  15733. "accountid": {
  15734. "description": "账户ID[报价币种]",
  15735. "type": "integer"
  15736. },
  15737. "goodsid": {
  15738. "description": "商品ID",
  15739. "type": "integer"
  15740. },
  15741. "goodunit": {
  15742. "description": "报价单位",
  15743. "type": "string"
  15744. },
  15745. "marketid": {
  15746. "description": "市场ID",
  15747. "type": "integer"
  15748. },
  15749. "orderid": {
  15750. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15751. "type": "integer"
  15752. },
  15753. "orderprice": {
  15754. "description": "委托价格",
  15755. "type": "number"
  15756. },
  15757. "orderqty": {
  15758. "description": "委托数量",
  15759. "type": "integer"
  15760. },
  15761. "ordertime": {
  15762. "description": "委托时间",
  15763. "type": "string"
  15764. },
  15765. "ordertotalprice": {
  15766. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  15767. "type": "number"
  15768. },
  15769. "ordertotalweight": {
  15770. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  15771. "type": "integer"
  15772. },
  15773. "totaltotalprice": {
  15774. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  15775. "type": "number"
  15776. },
  15777. "tradeprice": {
  15778. "description": "成交价格",
  15779. "type": "number"
  15780. },
  15781. "tradeqty": {
  15782. "description": "成交数量",
  15783. "type": "integer"
  15784. }
  15785. }
  15786. },
  15787. "cptrade.QueryCPTradeOrderDetailRsq": {
  15788. "type": "object",
  15789. "required": [
  15790. "accountid",
  15791. "buildtype",
  15792. "buyorsell",
  15793. "goodsid",
  15794. "marketid",
  15795. "memberuserid",
  15796. "operatetype",
  15797. "orderqty",
  15798. "ordertime",
  15799. "pricemode",
  15800. "strorderid",
  15801. "tradedate",
  15802. "validtype"
  15803. ],
  15804. "properties": {
  15805. "accountid": {
  15806. "description": "账户ID[报价币种]",
  15807. "type": "integer"
  15808. },
  15809. "buildtype": {
  15810. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15811. "type": "integer"
  15812. },
  15813. "buyorsell": {
  15814. "description": "买卖 - 0:买 1:卖",
  15815. "type": "integer"
  15816. },
  15817. "cancelorderid": {
  15818. "description": "撤单单号(撤单时填写)",
  15819. "type": "integer"
  15820. },
  15821. "cancelqty": {
  15822. "description": "撤单数量",
  15823. "type": "integer"
  15824. },
  15825. "clientordertime": {
  15826. "description": "客户端委托时间",
  15827. "type": "string"
  15828. },
  15829. "clientticket": {
  15830. "description": "客户端流水号",
  15831. "type": "string"
  15832. },
  15833. "clienttype": {
  15834. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15835. "type": "integer"
  15836. },
  15837. "closeexchagechargevalue": {
  15838. "description": "平仓交易所手续费设置值",
  15839. "type": "number"
  15840. },
  15841. "closefeealgorithm": {
  15842. "description": "平仓手续费收取方式 1:比率 2:固定",
  15843. "type": "integer"
  15844. },
  15845. "closefreezecharge": {
  15846. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15847. "type": "number"
  15848. },
  15849. "closememberchargevalue": {
  15850. "description": "平仓会员手续费设置值",
  15851. "type": "number"
  15852. },
  15853. "closeqty": {
  15854. "description": "平仓数量(先建后平操作 需要记录)",
  15855. "type": "integer"
  15856. },
  15857. "closetradeqty": {
  15858. "description": "平仓成交数量(先建后平操作,需要记录)",
  15859. "type": "integer"
  15860. },
  15861. "closeunfreezecharge": {
  15862. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15863. "type": "number"
  15864. },
  15865. "delistingtype": {
  15866. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15867. "type": "integer"
  15868. },
  15869. "freezecharge": {
  15870. "description": "冻结手续费",
  15871. "type": "number"
  15872. },
  15873. "freezemargin": {
  15874. "description": "冻结保证金(冻结交易金额)",
  15875. "type": "number"
  15876. },
  15877. "gcaccountid": {
  15878. "description": "账户ID[合约币种]",
  15879. "type": "integer"
  15880. },
  15881. "goodsid": {
  15882. "description": "商品ID",
  15883. "type": "integer"
  15884. },
  15885. "isconfirmexercise": {
  15886. "description": "是否确认行权- 0:否 1:是",
  15887. "type": "integer"
  15888. },
  15889. "ispreexercise": {
  15890. "description": "是否预申报- 0:否 1:是",
  15891. "type": "integer"
  15892. },
  15893. "listingselecttype": {
  15894. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15895. "type": "integer"
  15896. },
  15897. "marginalgorithm": {
  15898. "description": "保证金收取方式 1:比率 2:固定",
  15899. "type": "integer"
  15900. },
  15901. "marginvalue": {
  15902. "description": "即市保证金设置值",
  15903. "type": "number"
  15904. },
  15905. "marketid": {
  15906. "description": "市场ID",
  15907. "type": "integer"
  15908. },
  15909. "marketmaxsub": {
  15910. "description": "市价最大偏移范围",
  15911. "type": "number"
  15912. },
  15913. "memberuserid": {
  15914. "description": "所属会员UserID",
  15915. "type": "integer"
  15916. },
  15917. "openexchagechargevalue": {
  15918. "description": "建仓交易所手续费设置值",
  15919. "type": "number"
  15920. },
  15921. "openfeealgorithm": {
  15922. "description": "建仓手续费收取方式 1:比率 2:固定",
  15923. "type": "integer"
  15924. },
  15925. "openfreezecharge": {
  15926. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15927. "type": "number"
  15928. },
  15929. "openmemberchargevalue": {
  15930. "description": "建仓会员手续费设置值",
  15931. "type": "number"
  15932. },
  15933. "openqty": {
  15934. "description": "开仓数量(先建后平操作,需要记录)",
  15935. "type": "integer"
  15936. },
  15937. "opentradeqty": {
  15938. "description": "开仓成交数量(先建后平操作,需要记录)",
  15939. "type": "integer"
  15940. },
  15941. "openunfreezecharge": {
  15942. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15943. "type": "number"
  15944. },
  15945. "operatetype": {
  15946. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15947. "type": "integer"
  15948. },
  15949. "operatorid": {
  15950. "description": "登录账号(LoginID)",
  15951. "type": "integer"
  15952. },
  15953. "optiontype": {
  15954. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15955. "type": "integer"
  15956. },
  15957. "orderprice": {
  15958. "description": "委托价格",
  15959. "type": "number"
  15960. },
  15961. "orderqty": {
  15962. "description": "委托数量",
  15963. "type": "integer"
  15964. },
  15965. "ordersrc": {
  15966. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15967. "type": "integer"
  15968. },
  15969. "orderstatus": {
  15970. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15971. "type": "integer"
  15972. },
  15973. "ordertime": {
  15974. "description": "委托时间",
  15975. "type": "string"
  15976. },
  15977. "preexerciseprice": {
  15978. "description": "预申报价格",
  15979. "type": "number"
  15980. },
  15981. "premium": {
  15982. "description": "权利金",
  15983. "type": "number"
  15984. },
  15985. "preorderid": {
  15986. "description": "关联预埋单号(止盈止损单时填写)",
  15987. "type": "integer"
  15988. },
  15989. "pricemode": {
  15990. "description": "取价方式 - 1:市价 2: 限价",
  15991. "type": "integer"
  15992. },
  15993. "quoteid": {
  15994. "description": "报价单ID",
  15995. "type": "integer"
  15996. },
  15997. "relatedid": {
  15998. "description": "关联单号(交割单)",
  15999. "type": "integer"
  16000. },
  16001. "retcode": {
  16002. "description": "错误代码",
  16003. "type": "integer"
  16004. },
  16005. "sessionid": {
  16006. "description": "会话ID",
  16007. "type": "integer"
  16008. },
  16009. "strorderid": {
  16010. "description": "委托单号",
  16011. "type": "string"
  16012. },
  16013. "tradedate": {
  16014. "description": "交易日(yyyyMMdd)",
  16015. "type": "string"
  16016. },
  16017. "tradeproperty": {
  16018. "description": "交易属性",
  16019. "type": "integer"
  16020. },
  16021. "tradeqty": {
  16022. "description": "成交数量",
  16023. "type": "integer"
  16024. },
  16025. "unfreezecharge": {
  16026. "description": "解冻手续费",
  16027. "type": "number"
  16028. },
  16029. "unfreezemargin": {
  16030. "description": "解冻保证金",
  16031. "type": "number"
  16032. },
  16033. "updatetime": {
  16034. "description": "更新时间",
  16035. "type": "string"
  16036. },
  16037. "uuid": {
  16038. "description": "发起端唯一id",
  16039. "type": "string"
  16040. },
  16041. "validtime": {
  16042. "description": "有效期限",
  16043. "type": "string"
  16044. },
  16045. "validtype": {
  16046. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16047. "type": "integer"
  16048. },
  16049. "volumetype": {
  16050. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16051. "type": "integer"
  16052. }
  16053. }
  16054. },
  16055. "cptrade.QueryMyCPTradeGoodsRsp": {
  16056. "type": "object",
  16057. "required": [
  16058. "goodscode",
  16059. "goodsid",
  16060. "goodsname",
  16061. "marketid",
  16062. "relatedgoodscode",
  16063. "relatedgoodsname"
  16064. ],
  16065. "properties": {
  16066. "accountid": {
  16067. "description": "卖方账户ID",
  16068. "type": "integer"
  16069. },
  16070. "agreeunit": {
  16071. "description": "合约单位",
  16072. "type": "number"
  16073. },
  16074. "applyid": {
  16075. "description": "关联申请ID",
  16076. "type": "integer"
  16077. },
  16078. "attachmenturl": {
  16079. "description": "附件地址",
  16080. "type": "string"
  16081. },
  16082. "createtime": {
  16083. "description": "创建时间",
  16084. "type": "string"
  16085. },
  16086. "currencyid": {
  16087. "description": "报价货币ID",
  16088. "type": "integer"
  16089. },
  16090. "decimalplace": {
  16091. "description": "报价小数位",
  16092. "type": "integer"
  16093. },
  16094. "endtime": {
  16095. "description": "预售结束时间",
  16096. "type": "string"
  16097. },
  16098. "floorprice": {
  16099. "description": "底价[大宗式竞拍]",
  16100. "type": "number"
  16101. },
  16102. "goodscode": {
  16103. "description": "商品代码(预售)",
  16104. "type": "string"
  16105. },
  16106. "goodsdetail": {
  16107. "description": "详情[大宗]",
  16108. "type": "string"
  16109. },
  16110. "goodsid": {
  16111. "description": "商品ID(自增ID SEQ_GOODS)",
  16112. "type": "integer"
  16113. },
  16114. "goodsname": {
  16115. "description": "商品名称(预售)",
  16116. "type": "string"
  16117. },
  16118. "goodunit": {
  16119. "description": "报价单位",
  16120. "type": "string"
  16121. },
  16122. "goodunitid": {
  16123. "description": "报价单位ID",
  16124. "type": "integer"
  16125. },
  16126. "marketid": {
  16127. "description": "所属市场ID",
  16128. "type": "integer"
  16129. },
  16130. "marketname": {
  16131. "description": "预售市场名称",
  16132. "type": "string"
  16133. },
  16134. "presaledamount": {
  16135. "description": "已预售总金额(预售结束时更新)",
  16136. "type": "number"
  16137. },
  16138. "presaledqty": {
  16139. "description": "已预售量(预售结束时更新)",
  16140. "type": "integer"
  16141. },
  16142. "presalemode": {
  16143. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16144. "type": "integer"
  16145. },
  16146. "presaleqty": {
  16147. "description": "预售数量",
  16148. "type": "integer"
  16149. },
  16150. "refprice": {
  16151. "description": "参考价格[一口价]",
  16152. "type": "number"
  16153. },
  16154. "relatedgoodscode": {
  16155. "description": "商品代码(订单)",
  16156. "type": "string"
  16157. },
  16158. "relatedgoodsid": {
  16159. "description": "关联交易合约ID",
  16160. "type": "integer"
  16161. },
  16162. "relatedgoodsname": {
  16163. "description": "商品名称(订单)",
  16164. "type": "string"
  16165. },
  16166. "relatedmarketid": {
  16167. "description": "关联交易合约市场ID",
  16168. "type": "integer"
  16169. },
  16170. "sellstatus": {
  16171. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16172. "type": "integer"
  16173. },
  16174. "startprice": {
  16175. "description": "起拍价[大宗式竞拍]",
  16176. "type": "number"
  16177. },
  16178. "starttime": {
  16179. "description": "预售开始时间",
  16180. "type": "string"
  16181. },
  16182. "tradedate": {
  16183. "description": "交易日(yyyyMMdd)",
  16184. "type": "string"
  16185. },
  16186. "tradeprice": {
  16187. "description": "成交价[大宗]",
  16188. "type": "number"
  16189. },
  16190. "userid": {
  16191. "description": "卖方用户ID",
  16192. "type": "integer"
  16193. }
  16194. }
  16195. },
  16196. "cptrade.QueryPresaleGoodsExRsp": {
  16197. "type": "object",
  16198. "required": [
  16199. "goodsid"
  16200. ],
  16201. "properties": {
  16202. "attachmenturl": {
  16203. "description": "附件地址",
  16204. "type": "string"
  16205. },
  16206. "createtime": {
  16207. "description": "创建时间",
  16208. "type": "string"
  16209. },
  16210. "endtime": {
  16211. "description": "预售结束时间",
  16212. "type": "string"
  16213. },
  16214. "floorprice": {
  16215. "description": "底价[大宗式竞拍]",
  16216. "type": "number"
  16217. },
  16218. "goodsdetail": {
  16219. "description": "详情[大宗]",
  16220. "type": "string"
  16221. },
  16222. "goodsid": {
  16223. "description": "商品ID(预售)",
  16224. "type": "integer"
  16225. },
  16226. "goodunit": {
  16227. "description": "报价单位",
  16228. "type": "string"
  16229. },
  16230. "marketid": {
  16231. "description": "预售市场ID - 根据预售模式选择市场",
  16232. "type": "integer"
  16233. },
  16234. "presaledamount": {
  16235. "description": "已预售总金额(预售结束时更新)",
  16236. "type": "number"
  16237. },
  16238. "presaledqty": {
  16239. "description": "已预售量(预售结束时更新)",
  16240. "type": "integer"
  16241. },
  16242. "presalemode": {
  16243. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16244. "type": "integer"
  16245. },
  16246. "presaleqty": {
  16247. "description": "预售数量",
  16248. "type": "integer"
  16249. },
  16250. "refprice": {
  16251. "description": "参考价格[一口价]",
  16252. "type": "number"
  16253. },
  16254. "relatedgoodsid": {
  16255. "description": "关联交易合约ID",
  16256. "type": "integer"
  16257. },
  16258. "relatedmarketid": {
  16259. "description": "关联交易合约市场ID",
  16260. "type": "integer"
  16261. },
  16262. "sellstatus": {
  16263. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16264. "type": "integer"
  16265. },
  16266. "startprice": {
  16267. "description": "起拍价[大宗式竞拍]",
  16268. "type": "number"
  16269. },
  16270. "starttime": {
  16271. "description": "预售开始时间",
  16272. "type": "string"
  16273. },
  16274. "tradedate": {
  16275. "description": "交易日(yyyyMMdd)",
  16276. "type": "string"
  16277. },
  16278. "tradeprice": {
  16279. "description": "成交价[大宗]",
  16280. "type": "number"
  16281. }
  16282. }
  16283. },
  16284. "delivery.QueryDeliveryRelationRsp": {
  16285. "type": "object",
  16286. "required": [
  16287. "begindate",
  16288. "enddate",
  16289. "goodsid",
  16290. "mindeliveryqty",
  16291. "xdeliveryratio"
  16292. ],
  16293. "properties": {
  16294. "begindate": {
  16295. "description": "起始日期(yyyyMMdd)",
  16296. "type": "string"
  16297. },
  16298. "buytemplateid": {
  16299. "description": "买履约计划模板ID",
  16300. "type": "integer"
  16301. },
  16302. "deliverygoodscode": {
  16303. "description": "品种代码",
  16304. "type": "string"
  16305. },
  16306. "deliverygoodsid": {
  16307. "description": "交割商品",
  16308. "type": "integer"
  16309. },
  16310. "deliverygoodsname": {
  16311. "description": "品种名称",
  16312. "type": "string"
  16313. },
  16314. "deliverymode": {
  16315. "description": "交割方式 - 1:点选式 2:申报式",
  16316. "type": "integer"
  16317. },
  16318. "deliverypricerule": {
  16319. "description": "交割价规则- 1:行情价 2:建仓价",
  16320. "type": "integer"
  16321. },
  16322. "deliverytype": {
  16323. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  16324. "type": "integer"
  16325. },
  16326. "enddate": {
  16327. "description": "结束日期(yyyyMMdd)",
  16328. "type": "string"
  16329. },
  16330. "enumdicname": {
  16331. "description": "品类单位名称",
  16332. "type": "string"
  16333. },
  16334. "goodscode": {
  16335. "description": "商品代码",
  16336. "type": "string"
  16337. },
  16338. "goodsid": {
  16339. "description": "交易合约ID",
  16340. "type": "integer"
  16341. },
  16342. "goodsname": {
  16343. "description": "商品名称",
  16344. "type": "string"
  16345. },
  16346. "marketid": {
  16347. "description": "市场ID",
  16348. "type": "integer"
  16349. },
  16350. "mindeliveryqty": {
  16351. "description": "最小交割系数(K)",
  16352. "type": "integer"
  16353. },
  16354. "p2deliveryprice": {
  16355. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  16356. "type": "number"
  16357. },
  16358. "p2deliveryratio": {
  16359. "description": "P2合约系数(p)",
  16360. "type": "integer"
  16361. },
  16362. "p2goodsid": {
  16363. "description": "P2合约ID",
  16364. "type": "integer"
  16365. },
  16366. "p2pricemode": {
  16367. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  16368. "type": "integer"
  16369. },
  16370. "pdeliveryprice": {
  16371. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  16372. "type": "number"
  16373. },
  16374. "pdeliveryratio": {
  16375. "description": "P合约系数(n)",
  16376. "type": "integer"
  16377. },
  16378. "pgoodscode": {
  16379. "description": "p合约代码",
  16380. "type": "string"
  16381. },
  16382. "pgoodsid": {
  16383. "description": "P合约ID",
  16384. "type": "integer"
  16385. },
  16386. "ppricemode": {
  16387. "description": "P合约价格方式 - 1:商品价 2:固定值",
  16388. "type": "integer"
  16389. },
  16390. "rratio": {
  16391. "description": "兑换系数(R)",
  16392. "type": "integer"
  16393. },
  16394. "rratio1": {
  16395. "description": "兑换系数(交易合约)(R1)",
  16396. "type": "integer"
  16397. },
  16398. "rratio2": {
  16399. "description": "兑换系数(仓单标准)(R2)",
  16400. "type": "integer"
  16401. },
  16402. "selltemplateid": {
  16403. "description": "卖履约计划模板ID",
  16404. "type": "integer"
  16405. },
  16406. "wrstandardid": {
  16407. "description": "仓单标准ID",
  16408. "type": "integer"
  16409. },
  16410. "xdeliveryratio": {
  16411. "description": "交易合约系数(m)",
  16412. "type": "integer"
  16413. }
  16414. }
  16415. },
  16416. "ermcp.ExposureDetailRsp": {
  16417. "type": "object",
  16418. "properties": {
  16419. "areauserid": {
  16420. "description": "机构ID",
  16421. "type": "integer"
  16422. },
  16423. "changeQty": {
  16424. "description": "套保变动量",
  16425. "type": "number"
  16426. },
  16427. "contracttype": {
  16428. "description": "现货合同类型 - 1:采购 -1:销售",
  16429. "type": "integer"
  16430. },
  16431. "convertfactor": {
  16432. "description": "标仓系数",
  16433. "type": "number"
  16434. },
  16435. "convertratio": {
  16436. "description": "套保系数",
  16437. "type": "number"
  16438. },
  16439. "createtime": {
  16440. "description": "时间",
  16441. "type": "string"
  16442. },
  16443. "enumdicname": {
  16444. "description": "现货商品单位名称",
  16445. "type": "string"
  16446. },
  16447. "logtype": {
  16448. "description": "类型 - 1:套保计划 2:现货合同",
  16449. "type": "integer"
  16450. },
  16451. "middlegoodsId": {
  16452. "description": "套保商品id",
  16453. "type": "integer"
  16454. },
  16455. "middlegoodscode": {
  16456. "description": "套保商品代码",
  16457. "type": "string"
  16458. },
  16459. "middlegoodsname": {
  16460. "description": "套保商品名称",
  16461. "type": "string"
  16462. },
  16463. "qty": {
  16464. "description": "数量",
  16465. "type": "number"
  16466. },
  16467. "relateNo": {
  16468. "description": "现货合同/套保计划编号",
  16469. "type": "string"
  16470. },
  16471. "wrstandardcode": {
  16472. "description": "现货商品代码",
  16473. "type": "string"
  16474. },
  16475. "wrstandardid": {
  16476. "description": "现货商品ID",
  16477. "type": "integer"
  16478. },
  16479. "wrstandardname": {
  16480. "description": "现货商品名称",
  16481. "type": "string"
  16482. }
  16483. }
  16484. },
  16485. "ermcp.ExposureHedgePosDetailRsp": {
  16486. "type": "object",
  16487. "properties": {
  16488. "buyorsell": {
  16489. "description": "买卖方向 0-买 1-卖",
  16490. "type": "integer"
  16491. },
  16492. "channelbuildtype": {
  16493. "description": "开平方向 1-建仓 2-平仓",
  16494. "type": "integer"
  16495. },
  16496. "goodscode": {
  16497. "description": "商品代码",
  16498. "type": "string"
  16499. },
  16500. "goodsname": {
  16501. "description": "商品名称",
  16502. "type": "string"
  16503. },
  16504. "hedgegoodsid": {
  16505. "description": "商品id",
  16506. "type": "integer"
  16507. },
  16508. "tradeqty": {
  16509. "description": "数量(成交数量)",
  16510. "type": "integer"
  16511. },
  16512. "tradetime": {
  16513. "description": "时间(成交时间)",
  16514. "type": "string"
  16515. }
  16516. }
  16517. },
  16518. "ermcp.ExposureHedgePositionRsp": {
  16519. "type": "object",
  16520. "properties": {
  16521. "accountid": {
  16522. "description": "资金账号[外部母账户]",
  16523. "type": "integer"
  16524. },
  16525. "curbuyposition": {
  16526. "description": "期末买头寸",
  16527. "type": "integer"
  16528. },
  16529. "cursellposition": {
  16530. "description": "期末卖头寸",
  16531. "type": "integer"
  16532. },
  16533. "curtdbuyposition": {
  16534. "description": "期末今日买头寸",
  16535. "type": "integer"
  16536. },
  16537. "curtdsellposition": {
  16538. "description": "期末今日卖头寸",
  16539. "type": "integer"
  16540. },
  16541. "curydbuyposition": {
  16542. "description": "期末上日买头寸",
  16543. "type": "integer"
  16544. },
  16545. "curydsellposition": {
  16546. "description": "期末上日卖头寸",
  16547. "type": "integer"
  16548. },
  16549. "decreaseqty": {
  16550. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16551. "type": "integer"
  16552. },
  16553. "fretdbuyposition": {
  16554. "description": "冻结今日买头寸",
  16555. "type": "integer"
  16556. },
  16557. "fretdsellposition": {
  16558. "description": "冻结今日卖头寸",
  16559. "type": "integer"
  16560. },
  16561. "freydbuyposition": {
  16562. "description": "冻结上日买头寸",
  16563. "type": "integer"
  16564. },
  16565. "freydsellposition": {
  16566. "description": "冻结上日卖头寸",
  16567. "type": "integer"
  16568. },
  16569. "goodscode": {
  16570. "description": "商品代码",
  16571. "type": "string"
  16572. },
  16573. "goodsid": {
  16574. "description": "商品id",
  16575. "type": "integer"
  16576. },
  16577. "goodsname": {
  16578. "description": "商品名称",
  16579. "type": "string"
  16580. },
  16581. "hedgeaccountcode": {
  16582. "description": "对冲账号",
  16583. "type": "string"
  16584. },
  16585. "hedgegoodsid": {
  16586. "description": "对冲合约ID",
  16587. "type": "integer"
  16588. },
  16589. "increaseqty": {
  16590. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16591. "type": "integer"
  16592. },
  16593. "marketid": {
  16594. "description": "市场ID",
  16595. "type": "integer"
  16596. },
  16597. "relateduserid": {
  16598. "description": "关联用户id",
  16599. "type": "integer"
  16600. },
  16601. "totalcurqty": {
  16602. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16603. "type": "integer"
  16604. },
  16605. "totalydqty": {
  16606. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16607. "type": "integer"
  16608. },
  16609. "tradedate": {
  16610. "description": "交易日(yyyyMMdd)",
  16611. "type": "string"
  16612. },
  16613. "ydbuyposition": {
  16614. "description": "期初买头寸",
  16615. "type": "integer"
  16616. },
  16617. "ydsellposition": {
  16618. "description": "期初卖头寸",
  16619. "type": "integer"
  16620. }
  16621. }
  16622. },
  16623. "ermcp.ExposureSpotDetailRsp": {
  16624. "type": "object",
  16625. "properties": {
  16626. "contracttype": {
  16627. "description": "合同类型 1-采购 -1-销售",
  16628. "type": "integer"
  16629. },
  16630. "createtime": {
  16631. "description": "创建时间",
  16632. "type": "string"
  16633. },
  16634. "enumdicname": {
  16635. "description": "现货商品单位名称",
  16636. "type": "string"
  16637. },
  16638. "logtype": {
  16639. "description": "记录类型 1-套保 2-现货合同",
  16640. "type": "integer"
  16641. },
  16642. "qty": {
  16643. "description": "数量",
  16644. "type": "number"
  16645. },
  16646. "recordname": {
  16647. "description": "类型名称",
  16648. "type": "string"
  16649. },
  16650. "relatedid": {
  16651. "description": "套保计划ID/现货合同ID",
  16652. "type": "string"
  16653. },
  16654. "relatedno": {
  16655. "description": "编号",
  16656. "type": "string"
  16657. },
  16658. "strtime": {
  16659. "description": "时间",
  16660. "type": "string"
  16661. },
  16662. "wrstandardcode": {
  16663. "description": "现货商品代码",
  16664. "type": "string"
  16665. },
  16666. "wrstandardname": {
  16667. "description": "现货商品名称",
  16668. "type": "string"
  16669. }
  16670. }
  16671. },
  16672. "ermcp.ExposureSpotRsp": {
  16673. "type": "object",
  16674. "properties": {
  16675. "areauserid": {
  16676. "description": "所属机构",
  16677. "type": "integer"
  16678. },
  16679. "decreaseqty": {
  16680. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16681. "type": "number"
  16682. },
  16683. "increaseqty": {
  16684. "description": "增加数量=销售计划数量+采购已定价数量",
  16685. "type": "number"
  16686. },
  16687. "oritoalspotqty": {
  16688. "description": "昨日数量",
  16689. "type": "number"
  16690. },
  16691. "totalspotqty": {
  16692. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16693. "type": "number"
  16694. },
  16695. "updatetime": {
  16696. "description": "更新时间",
  16697. "type": "string"
  16698. },
  16699. "wrstandardcode": {
  16700. "description": "现货品种代码",
  16701. "type": "string"
  16702. },
  16703. "wrstandardid": {
  16704. "description": "现货商品ID",
  16705. "type": "integer"
  16706. },
  16707. "wrstandardname": {
  16708. "description": "现货品种",
  16709. "type": "string"
  16710. }
  16711. }
  16712. },
  16713. "ermcp.HisExposureRsp": {
  16714. "type": "object",
  16715. "properties": {
  16716. "data": {
  16717. "description": "历史敞口",
  16718. "type": "array",
  16719. "items": {
  16720. "$ref": "#/definitions/models.ErmcpHisExposure"
  16721. }
  16722. },
  16723. "enumdicname": {
  16724. "description": "单位名称",
  16725. "type": "string"
  16726. },
  16727. "middlegoodscode": {
  16728. "description": "套保品种代码",
  16729. "type": "string"
  16730. },
  16731. "middlegoodsid": {
  16732. "description": "套保品种ID",
  16733. "type": "integer"
  16734. },
  16735. "middlegoodsname": {
  16736. "description": "套保品种名称",
  16737. "type": "string"
  16738. }
  16739. }
  16740. },
  16741. "ermcp.PendingAuditCntRsp": {
  16742. "type": "object",
  16743. "properties": {
  16744. "areastockqty": {
  16745. "description": "待审核数量: 库存申请",
  16746. "type": "integer"
  16747. },
  16748. "businessdjqty": {
  16749. "description": "待审核数量: 点价",
  16750. "type": "integer"
  16751. },
  16752. "businessfpqty": {
  16753. "description": "待审核数量: 发票",
  16754. "type": "integer"
  16755. },
  16756. "businessjsqty": {
  16757. "description": "待审核数量: 结算",
  16758. "type": "integer"
  16759. },
  16760. "businesskxqty": {
  16761. "description": "待审核数量: 款项",
  16762. "type": "integer"
  16763. },
  16764. "hedgeplanqty": {
  16765. "description": "待审核数量: 套保计划",
  16766. "type": "integer"
  16767. },
  16768. "spotcontractqty": {
  16769. "description": "待审核数量: 现货合同",
  16770. "type": "integer"
  16771. },
  16772. "userqty": {
  16773. "description": "待审核数量: 用户",
  16774. "type": "integer"
  16775. }
  16776. }
  16777. },
  16778. "ermcp.QryAvalidGPRsp": {
  16779. "type": "object",
  16780. "properties": {
  16781. "goodsgroupid": {
  16782. "description": "期货品种id",
  16783. "type": "integer"
  16784. },
  16785. "goodsgroupname": {
  16786. "description": "期货品种名称",
  16787. "type": "string"
  16788. },
  16789. "goodunitid": {
  16790. "description": "品种单位id",
  16791. "type": "integer"
  16792. },
  16793. "goodunitname": {
  16794. "description": "品种单位名称",
  16795. "type": "string"
  16796. },
  16797. "outergroupcode": {
  16798. "description": "期货品种代码",
  16799. "type": "string"
  16800. }
  16801. }
  16802. },
  16803. "ermcp.QryBusinessDjRsp": {
  16804. "type": "object",
  16805. "properties": {
  16806. "amount": {
  16807. "description": "点价金额=(点价价格+升贴水)*点价数量",
  16808. "type": "number"
  16809. },
  16810. "applyid": {
  16811. "description": "申请人",
  16812. "type": "string"
  16813. },
  16814. "applyname": {
  16815. "description": "申请人名称",
  16816. "type": "string"
  16817. },
  16818. "applystatus": {
  16819. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16820. "type": "integer"
  16821. },
  16822. "applytime": {
  16823. "description": "申请时间",
  16824. "type": "string"
  16825. },
  16826. "attachurl": {
  16827. "description": "附件",
  16828. "type": "string"
  16829. },
  16830. "auditid": {
  16831. "description": "审核人ID",
  16832. "type": "string"
  16833. },
  16834. "auditname": {
  16835. "description": "审核人名称",
  16836. "type": "string"
  16837. },
  16838. "auditremark": {
  16839. "description": "审核备注",
  16840. "type": "string"
  16841. },
  16842. "audittime": {
  16843. "description": "审核时间",
  16844. "type": "string"
  16845. },
  16846. "buyusername": {
  16847. "description": "采购方名称",
  16848. "type": "string"
  16849. },
  16850. "contractno": {
  16851. "description": "合同编号",
  16852. "type": "string"
  16853. },
  16854. "contractstatus": {
  16855. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16856. "type": "integer"
  16857. },
  16858. "contracttype": {
  16859. "description": "现货合同类型 - 1:采购 -1:销售",
  16860. "type": "integer"
  16861. },
  16862. "deliverygoodscode": {
  16863. "description": "现货品种代码",
  16864. "type": "string"
  16865. },
  16866. "deliverygoodsid": {
  16867. "description": "现货商品ID",
  16868. "type": "integer"
  16869. },
  16870. "deliverygoodsname": {
  16871. "description": "现货品种名称",
  16872. "type": "string"
  16873. },
  16874. "enumdicname": {
  16875. "description": "单位名称",
  16876. "type": "string"
  16877. },
  16878. "goodscode": {
  16879. "description": "点价合约",
  16880. "type": "string"
  16881. },
  16882. "goodsname": {
  16883. "description": "商品名称",
  16884. "type": "string"
  16885. },
  16886. "operateapplyid": {
  16887. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16888. "type": "string"
  16889. },
  16890. "operateapplytype": {
  16891. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16892. "type": "integer"
  16893. },
  16894. "pricedPrice": {
  16895. "description": "点价价格(非必填)",
  16896. "type": "number"
  16897. },
  16898. "pricedQty": {
  16899. "description": "点价数量(非必填)",
  16900. "type": "number"
  16901. },
  16902. "pricemove": {
  16903. "description": "升贴水",
  16904. "type": "number"
  16905. },
  16906. "pricetype": {
  16907. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16908. "type": "integer"
  16909. },
  16910. "relatedid": {
  16911. "description": "现货合同ID",
  16912. "type": "string"
  16913. },
  16914. "sellusername": {
  16915. "description": "销售方名字",
  16916. "type": "string"
  16917. },
  16918. "userid": {
  16919. "description": "用户ID",
  16920. "type": "integer"
  16921. },
  16922. "wrstandardcode": {
  16923. "description": "品类代码",
  16924. "type": "string"
  16925. },
  16926. "wrstandardid": {
  16927. "description": "品类id",
  16928. "type": "integer"
  16929. },
  16930. "wrstandardname": {
  16931. "description": "品类名称",
  16932. "type": "string"
  16933. }
  16934. }
  16935. },
  16936. "ermcp.QryBussinessFpRsp": {
  16937. "type": "object",
  16938. "properties": {
  16939. "applyid": {
  16940. "description": "申请人",
  16941. "type": "string"
  16942. },
  16943. "applyname": {
  16944. "description": "申请人名称",
  16945. "type": "string"
  16946. },
  16947. "applystatus": {
  16948. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16949. "type": "integer"
  16950. },
  16951. "applytime": {
  16952. "description": "申请时间",
  16953. "type": "string"
  16954. },
  16955. "attachurl": {
  16956. "description": "附件",
  16957. "type": "string"
  16958. },
  16959. "auditid": {
  16960. "description": "审核人ID",
  16961. "type": "string"
  16962. },
  16963. "auditname": {
  16964. "description": "审核人名称",
  16965. "type": "string"
  16966. },
  16967. "auditremark": {
  16968. "description": "审核备注",
  16969. "type": "string"
  16970. },
  16971. "audittime": {
  16972. "description": "审核时间",
  16973. "type": "string"
  16974. },
  16975. "buyusername": {
  16976. "description": "采购方名称",
  16977. "type": "string"
  16978. },
  16979. "contractno": {
  16980. "description": "合同编号",
  16981. "type": "string"
  16982. },
  16983. "contractstatus": {
  16984. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16985. "type": "integer"
  16986. },
  16987. "contracttype": {
  16988. "description": "现货合同类型 - 1:采购 -1:销售",
  16989. "type": "integer"
  16990. },
  16991. "deliverygoodscode": {
  16992. "description": "现货品种代码",
  16993. "type": "string"
  16994. },
  16995. "deliverygoodsid": {
  16996. "description": "现货商品ID",
  16997. "type": "integer"
  16998. },
  16999. "deliverygoodsname": {
  17000. "description": "现货品种名称",
  17001. "type": "string"
  17002. },
  17003. "enumdicname": {
  17004. "description": "单位名称",
  17005. "type": "string"
  17006. },
  17007. "goodscode": {
  17008. "description": "点价合约",
  17009. "type": "string"
  17010. },
  17011. "goodsname": {
  17012. "description": "商品名称",
  17013. "type": "string"
  17014. },
  17015. "invoiceamount": {
  17016. "description": "已开收票金额(销售为开票,采购为收票)",
  17017. "type": "number"
  17018. },
  17019. "operateapplyid": {
  17020. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17021. "type": "string"
  17022. },
  17023. "operateapplytype": {
  17024. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17025. "type": "integer"
  17026. },
  17027. "pricemove": {
  17028. "description": "升贴水",
  17029. "type": "number"
  17030. },
  17031. "pricetype": {
  17032. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17033. "type": "integer"
  17034. },
  17035. "relatedid": {
  17036. "description": "现货合同ID",
  17037. "type": "string"
  17038. },
  17039. "sellusername": {
  17040. "description": "销售方名字",
  17041. "type": "string"
  17042. },
  17043. "userid": {
  17044. "description": "用户ID",
  17045. "type": "integer"
  17046. },
  17047. "wrstandardcode": {
  17048. "description": "品类代码",
  17049. "type": "string"
  17050. },
  17051. "wrstandardid": {
  17052. "description": "品类id",
  17053. "type": "integer"
  17054. },
  17055. "wrstandardname": {
  17056. "description": "品类名称",
  17057. "type": "string"
  17058. }
  17059. }
  17060. },
  17061. "ermcp.QryBussinessJsExRsp": {
  17062. "type": "object",
  17063. "properties": {
  17064. "applyid": {
  17065. "description": "申请人",
  17066. "type": "string"
  17067. },
  17068. "applyname": {
  17069. "description": "申请人名称",
  17070. "type": "string"
  17071. },
  17072. "applystatus": {
  17073. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17074. "type": "integer"
  17075. },
  17076. "applytime": {
  17077. "description": "申请时间",
  17078. "type": "string"
  17079. },
  17080. "attachurl": {
  17081. "description": "附件",
  17082. "type": "string"
  17083. },
  17084. "auditid": {
  17085. "description": "审核人ID",
  17086. "type": "string"
  17087. },
  17088. "auditname": {
  17089. "description": "审核人名称",
  17090. "type": "string"
  17091. },
  17092. "auditremark": {
  17093. "description": "审核备注",
  17094. "type": "string"
  17095. },
  17096. "audittime": {
  17097. "description": "审核时间",
  17098. "type": "string"
  17099. },
  17100. "buyusername": {
  17101. "description": "采购方名称",
  17102. "type": "string"
  17103. },
  17104. "contractno": {
  17105. "description": "合同编号",
  17106. "type": "string"
  17107. },
  17108. "contractstatus": {
  17109. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17110. "type": "integer"
  17111. },
  17112. "contracttype": {
  17113. "description": "现货合同类型 - 1:采购 -1:销售",
  17114. "type": "integer"
  17115. },
  17116. "deliverygoodscode": {
  17117. "description": "现货品种代码",
  17118. "type": "string"
  17119. },
  17120. "deliverygoodsid": {
  17121. "description": "现货商品ID",
  17122. "type": "integer"
  17123. },
  17124. "deliverygoodsname": {
  17125. "description": "现货品种名称",
  17126. "type": "string"
  17127. },
  17128. "enumdicname": {
  17129. "description": "单位名称",
  17130. "type": "string"
  17131. },
  17132. "goodscode": {
  17133. "description": "点价合约",
  17134. "type": "string"
  17135. },
  17136. "goodsname": {
  17137. "description": "商品名称",
  17138. "type": "string"
  17139. },
  17140. "operateapplyid": {
  17141. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17142. "type": "string"
  17143. },
  17144. "operateapplytype": {
  17145. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17146. "type": "integer"
  17147. },
  17148. "pricemove": {
  17149. "description": "升贴水",
  17150. "type": "number"
  17151. },
  17152. "pricetype": {
  17153. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17154. "type": "integer"
  17155. },
  17156. "reckontype": {
  17157. "description": "结算类型",
  17158. "type": "string"
  17159. },
  17160. "reckonvalue": {
  17161. "description": "值",
  17162. "type": "number"
  17163. },
  17164. "relatedid": {
  17165. "description": "现货合同ID",
  17166. "type": "string"
  17167. },
  17168. "sellusername": {
  17169. "description": "销售方名字",
  17170. "type": "string"
  17171. },
  17172. "userid": {
  17173. "description": "用户ID",
  17174. "type": "integer"
  17175. },
  17176. "wrstandardcode": {
  17177. "description": "品类代码",
  17178. "type": "string"
  17179. },
  17180. "wrstandardid": {
  17181. "description": "品类id",
  17182. "type": "integer"
  17183. },
  17184. "wrstandardname": {
  17185. "description": "品类名称",
  17186. "type": "string"
  17187. }
  17188. }
  17189. },
  17190. "ermcp.QryBussinessJsRsp": {
  17191. "type": "object",
  17192. "properties": {
  17193. "addmargin": {
  17194. "description": "追加保证金(非必填)",
  17195. "type": "number"
  17196. },
  17197. "applyid": {
  17198. "description": "申请人",
  17199. "type": "string"
  17200. },
  17201. "applyname": {
  17202. "description": "申请人名称",
  17203. "type": "string"
  17204. },
  17205. "applystatus": {
  17206. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17207. "type": "integer"
  17208. },
  17209. "applytime": {
  17210. "description": "申请时间",
  17211. "type": "string"
  17212. },
  17213. "attachurl": {
  17214. "description": "附件",
  17215. "type": "string"
  17216. },
  17217. "auditid": {
  17218. "description": "审核人ID",
  17219. "type": "string"
  17220. },
  17221. "auditname": {
  17222. "description": "审核人名称",
  17223. "type": "string"
  17224. },
  17225. "auditremark": {
  17226. "description": "审核备注",
  17227. "type": "string"
  17228. },
  17229. "audittime": {
  17230. "description": "审核时间",
  17231. "type": "string"
  17232. },
  17233. "buyusername": {
  17234. "description": "采购方名称",
  17235. "type": "string"
  17236. },
  17237. "contractno": {
  17238. "description": "合同编号",
  17239. "type": "string"
  17240. },
  17241. "contractstatus": {
  17242. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17243. "type": "integer"
  17244. },
  17245. "contracttype": {
  17246. "description": "现货合同类型 - 1:采购 -1:销售",
  17247. "type": "integer"
  17248. },
  17249. "decmargin": {
  17250. "description": "减少保证金(非必填)",
  17251. "type": "number"
  17252. },
  17253. "deliverygoodscode": {
  17254. "description": "现货品种代码",
  17255. "type": "string"
  17256. },
  17257. "deliverygoodsid": {
  17258. "description": "现货商品ID",
  17259. "type": "integer"
  17260. },
  17261. "deliverygoodsname": {
  17262. "description": "现货品种名称",
  17263. "type": "string"
  17264. },
  17265. "enumdicname": {
  17266. "description": "单位名称",
  17267. "type": "string"
  17268. },
  17269. "goodscode": {
  17270. "description": "点价合约",
  17271. "type": "string"
  17272. },
  17273. "goodsname": {
  17274. "description": "商品名称",
  17275. "type": "string"
  17276. },
  17277. "operateapplyid": {
  17278. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17279. "type": "string"
  17280. },
  17281. "operateapplytype": {
  17282. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17283. "type": "integer"
  17284. },
  17285. "pricemove": {
  17286. "description": "升贴水",
  17287. "type": "number"
  17288. },
  17289. "pricetype": {
  17290. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17291. "type": "integer"
  17292. },
  17293. "reckonadjustamount": {
  17294. "description": "结算调整金额(非必填)",
  17295. "type": "number"
  17296. },
  17297. "reckonosamount": {
  17298. "description": "结算溢短金额(非必填)",
  17299. "type": "number"
  17300. },
  17301. "reckonotheramount": {
  17302. "description": "结算其他费用(非必填)",
  17303. "type": "number"
  17304. },
  17305. "reckonrealqty": {
  17306. "description": "结算实际数量(非必填)",
  17307. "type": "number"
  17308. },
  17309. "relatedid": {
  17310. "description": "现货合同ID",
  17311. "type": "string"
  17312. },
  17313. "sellusername": {
  17314. "description": "销售方名字",
  17315. "type": "string"
  17316. },
  17317. "userid": {
  17318. "description": "用户ID",
  17319. "type": "integer"
  17320. },
  17321. "wrstandardcode": {
  17322. "description": "品类代码",
  17323. "type": "string"
  17324. },
  17325. "wrstandardid": {
  17326. "description": "品类id",
  17327. "type": "integer"
  17328. },
  17329. "wrstandardname": {
  17330. "description": "品类名称",
  17331. "type": "string"
  17332. }
  17333. }
  17334. },
  17335. "ermcp.QryBussinessKxRsp": {
  17336. "type": "object",
  17337. "properties": {
  17338. "applyid": {
  17339. "description": "申请人",
  17340. "type": "string"
  17341. },
  17342. "applyname": {
  17343. "description": "申请人名称",
  17344. "type": "string"
  17345. },
  17346. "applystatus": {
  17347. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17348. "type": "integer"
  17349. },
  17350. "applytime": {
  17351. "description": "申请时间",
  17352. "type": "string"
  17353. },
  17354. "attachurl": {
  17355. "description": "附件",
  17356. "type": "string"
  17357. },
  17358. "auditid": {
  17359. "description": "审核人ID",
  17360. "type": "string"
  17361. },
  17362. "auditname": {
  17363. "description": "审核人名称",
  17364. "type": "string"
  17365. },
  17366. "auditremark": {
  17367. "description": "审核备注",
  17368. "type": "string"
  17369. },
  17370. "audittime": {
  17371. "description": "审核时间",
  17372. "type": "string"
  17373. },
  17374. "buyusername": {
  17375. "description": "采购方名称",
  17376. "type": "string"
  17377. },
  17378. "contractno": {
  17379. "description": "合同编号",
  17380. "type": "string"
  17381. },
  17382. "contractstatus": {
  17383. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17384. "type": "integer"
  17385. },
  17386. "contracttype": {
  17387. "description": "现货合同类型 - 1:采购 -1:销售",
  17388. "type": "integer"
  17389. },
  17390. "deductamount": {
  17391. "description": "退款(非必填)",
  17392. "type": "number"
  17393. },
  17394. "deliverygoodscode": {
  17395. "description": "现货品种代码",
  17396. "type": "string"
  17397. },
  17398. "deliverygoodsid": {
  17399. "description": "现货商品ID",
  17400. "type": "integer"
  17401. },
  17402. "deliverygoodsname": {
  17403. "description": "现货品种名称",
  17404. "type": "string"
  17405. },
  17406. "enumdicname": {
  17407. "description": "单位名称",
  17408. "type": "string"
  17409. },
  17410. "goodscode": {
  17411. "description": "点价合约",
  17412. "type": "string"
  17413. },
  17414. "goodsname": {
  17415. "description": "商品名称",
  17416. "type": "string"
  17417. },
  17418. "kxtype": {
  17419. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  17420. "type": "integer"
  17421. },
  17422. "operateapplyid": {
  17423. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17424. "type": "string"
  17425. },
  17426. "operateapplytype": {
  17427. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17428. "type": "integer"
  17429. },
  17430. "payamount": {
  17431. "description": "收付款(非必填)",
  17432. "type": "number"
  17433. },
  17434. "pricemove": {
  17435. "description": "升贴水",
  17436. "type": "number"
  17437. },
  17438. "pricetype": {
  17439. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17440. "type": "integer"
  17441. },
  17442. "relatedid": {
  17443. "description": "现货合同ID",
  17444. "type": "string"
  17445. },
  17446. "sellusername": {
  17447. "description": "销售方名字",
  17448. "type": "string"
  17449. },
  17450. "userid": {
  17451. "description": "用户ID",
  17452. "type": "integer"
  17453. },
  17454. "wrstandardcode": {
  17455. "description": "品类代码",
  17456. "type": "string"
  17457. },
  17458. "wrstandardid": {
  17459. "description": "品类id",
  17460. "type": "integer"
  17461. },
  17462. "wrstandardname": {
  17463. "description": "品类名称",
  17464. "type": "string"
  17465. }
  17466. }
  17467. },
  17468. "ermcp.QryGGCovertCfgRsp": {
  17469. "type": "object",
  17470. "properties": {
  17471. "convertratio": {
  17472. "description": "折算系数",
  17473. "type": "number"
  17474. },
  17475. "destgoodsgroupid": {
  17476. "description": "目标品种ID",
  17477. "type": "integer"
  17478. },
  17479. "dstcode": {
  17480. "description": "目录品种代码",
  17481. "type": "string"
  17482. },
  17483. "dstexchangecode": {
  17484. "description": "目标期货交易所",
  17485. "type": "string"
  17486. },
  17487. "dstname": {
  17488. "description": "目标品种名称",
  17489. "type": "string"
  17490. },
  17491. "dstunitid": {
  17492. "description": "目标品种单位ID",
  17493. "type": "integer"
  17494. },
  17495. "dstunitidname": {
  17496. "description": "目标品种单位名称",
  17497. "type": "string"
  17498. },
  17499. "modifytime": {
  17500. "description": "修改时间",
  17501. "type": "string"
  17502. },
  17503. "srccode": {
  17504. "description": "源品种代码",
  17505. "type": "string"
  17506. },
  17507. "srcexchangecode": {
  17508. "description": "源期货交易所",
  17509. "type": "string"
  17510. },
  17511. "srcgoodsgroupid": {
  17512. "description": "源品种ID",
  17513. "type": "integer"
  17514. },
  17515. "srcname": {
  17516. "description": "源品种名称",
  17517. "type": "string"
  17518. },
  17519. "srcunitid": {
  17520. "description": "源品种单位ID",
  17521. "type": "integer"
  17522. },
  17523. "srcunitidname": {
  17524. "description": "源品种单位名称",
  17525. "type": "string"
  17526. }
  17527. }
  17528. },
  17529. "ermcp.QryMGChangeLogRsp": {
  17530. "type": "object",
  17531. "properties": {
  17532. "aftervalue": {
  17533. "description": "变更后",
  17534. "type": "number"
  17535. },
  17536. "applyid": {
  17537. "description": "操作人",
  17538. "type": "integer"
  17539. },
  17540. "applyname": {
  17541. "description": "操作人名称",
  17542. "type": "string"
  17543. },
  17544. "applysrc": {
  17545. "description": "操作来源 - 1:管理端 2:终端",
  17546. "type": "integer"
  17547. },
  17548. "beforevalue": {
  17549. "description": "变更前",
  17550. "type": "number"
  17551. },
  17552. "changelogtype": {
  17553. "description": "变更流水类型 - 1:套保比率变更",
  17554. "type": "integer"
  17555. },
  17556. "handlestatus": {
  17557. "description": "处理状态",
  17558. "type": "integer"
  17559. },
  17560. "logdatetime": {
  17561. "description": "流水日期",
  17562. "type": "string"
  17563. },
  17564. "logid": {
  17565. "description": "流水ID",
  17566. "type": "integer"
  17567. },
  17568. "logremark": {
  17569. "description": "流水备注",
  17570. "type": "string"
  17571. },
  17572. "middlegoodsid": {
  17573. "description": "套保品种ID",
  17574. "type": "integer"
  17575. },
  17576. "tradedate": {
  17577. "description": "交易日(yyyyMMdd)",
  17578. "type": "string"
  17579. },
  17580. "updatetime": {
  17581. "description": "更新时间",
  17582. "type": "string"
  17583. }
  17584. }
  17585. },
  17586. "ermcp.QryMiddleGoodsDetailRsp": {
  17587. "type": "object",
  17588. "properties": {
  17589. "cvList": {
  17590. "description": "期货品种折算列表",
  17591. "type": "array",
  17592. "items": {
  17593. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17594. }
  17595. },
  17596. "mg": {
  17597. "description": "套保品种基本信息",
  17598. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17599. },
  17600. "wrcList": {
  17601. "description": "现货品种列表(现货商品折算配置)",
  17602. "type": "array",
  17603. "items": {
  17604. "$ref": "#/definitions/models.WRSConverTDetail"
  17605. }
  17606. }
  17607. }
  17608. },
  17609. "ermcp.QryMiddleGoodsRsp": {
  17610. "type": "object",
  17611. "properties": {
  17612. "areauserid": {
  17613. "description": "机构用户ID",
  17614. "type": "integer"
  17615. },
  17616. "createtime": {
  17617. "description": "修改时间",
  17618. "type": "string"
  17619. },
  17620. "enumdicname": {
  17621. "description": "单位名称",
  17622. "type": "string"
  17623. },
  17624. "evaluateratio": {
  17625. "description": "估价系数",
  17626. "type": "number"
  17627. },
  17628. "goodsgroupid": {
  17629. "description": "关联期货品种ID",
  17630. "type": "integer"
  17631. },
  17632. "goodsunitid": {
  17633. "description": "单位ID",
  17634. "type": "integer"
  17635. },
  17636. "isvalid": {
  17637. "description": "状态 0-无效(停用) 1-有效(正常)",
  17638. "type": "integer"
  17639. },
  17640. "middlegoodscode": {
  17641. "description": "套保品种代码",
  17642. "type": "string"
  17643. },
  17644. "middlegoodsid": {
  17645. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17646. "type": "integer"
  17647. },
  17648. "middlegoodsname": {
  17649. "description": "套保品种名称",
  17650. "type": "string"
  17651. },
  17652. "modifytime": {
  17653. "description": "修改时间",
  17654. "type": "string"
  17655. },
  17656. "needarbitrageratio": {
  17657. "description": "套利比例",
  17658. "type": "number"
  17659. },
  17660. "needhedgeratio": {
  17661. "description": "套保比率",
  17662. "type": "number"
  17663. },
  17664. "qtydecimalplace": {
  17665. "description": "数量小数位",
  17666. "type": "integer"
  17667. },
  17668. "relatedgoodsid": {
  17669. "description": "关联交易商品ID",
  17670. "type": "integer"
  17671. },
  17672. "relatedgoodstype": {
  17673. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17674. "type": "integer"
  17675. },
  17676. "remark": {
  17677. "description": "备注",
  17678. "type": "string"
  17679. }
  17680. }
  17681. },
  17682. "ermcp.QryOPLogRsp": {
  17683. "type": "object",
  17684. "properties": {
  17685. "aftervalue": {
  17686. "description": "变更后",
  17687. "type": "number"
  17688. },
  17689. "applyid": {
  17690. "description": "操作人ID",
  17691. "type": "string"
  17692. },
  17693. "applyname": {
  17694. "description": "操作人名称",
  17695. "type": "string"
  17696. },
  17697. "beforevalue": {
  17698. "description": "变更前",
  17699. "type": "number"
  17700. },
  17701. "biztype": {
  17702. "description": "业务类型 - 1:套保计划 2:现货合同",
  17703. "type": "integer"
  17704. },
  17705. "contracttype": {
  17706. "description": "现货合同类型 - 1:采购 -1:销售",
  17707. "type": "integer"
  17708. },
  17709. "logvalue": {
  17710. "description": "数值",
  17711. "type": "number"
  17712. },
  17713. "operatelogtype": {
  17714. "description": "操作流水类型",
  17715. "type": "integer"
  17716. },
  17717. "operatelogtypedesc": {
  17718. "description": "操作流水类型名称",
  17719. "type": "string"
  17720. },
  17721. "relatedid": {
  17722. "description": "现货合同ID\\套保计划",
  17723. "type": "string"
  17724. },
  17725. "updatetime": {
  17726. "description": "更新时间",
  17727. "type": "string"
  17728. }
  17729. }
  17730. },
  17731. "ermcp.QryUserInfoRsp": {
  17732. "type": "object",
  17733. "properties": {
  17734. "address": {
  17735. "description": "通讯地址",
  17736. "type": "string"
  17737. },
  17738. "attachment1": {
  17739. "description": "附件1",
  17740. "type": "string"
  17741. },
  17742. "audittime": {
  17743. "description": "审核时间",
  17744. "type": "string"
  17745. },
  17746. "cardbackphotourl": {
  17747. "description": "证件反面图片地址",
  17748. "type": "string"
  17749. },
  17750. "cardfrontphotourl": {
  17751. "description": "证件正面图片地址",
  17752. "type": "string"
  17753. },
  17754. "cardnum": {
  17755. "description": "证件号码",
  17756. "type": "string"
  17757. },
  17758. "cardtype": {
  17759. "description": "证件类型",
  17760. "type": "integer"
  17761. },
  17762. "cardtypename": {
  17763. "description": "证件类型名称",
  17764. "type": "string"
  17765. },
  17766. "cityid": {
  17767. "description": "市",
  17768. "type": "integer"
  17769. },
  17770. "contactname": {
  17771. "description": "联系人",
  17772. "type": "string"
  17773. },
  17774. "countryid": {
  17775. "description": "国家",
  17776. "type": "integer"
  17777. },
  17778. "createtime": {
  17779. "description": "创建时间",
  17780. "type": "string"
  17781. },
  17782. "customername": {
  17783. "description": "企业名称",
  17784. "type": "string"
  17785. },
  17786. "districtid": {
  17787. "description": "区域",
  17788. "type": "integer"
  17789. },
  17790. "email": {
  17791. "description": "邮件",
  17792. "type": "string"
  17793. },
  17794. "legalpersonname": {
  17795. "description": "法人姓名(企业)",
  17796. "type": "string"
  17797. },
  17798. "memberuserid": {
  17799. "description": "所属机构ID",
  17800. "type": "integer"
  17801. },
  17802. "mobile": {
  17803. "description": "手机号码",
  17804. "type": "string"
  17805. },
  17806. "modifytime": {
  17807. "description": "修改时间",
  17808. "type": "string"
  17809. },
  17810. "nickname": {
  17811. "description": "昵称",
  17812. "type": "string"
  17813. },
  17814. "provinceid": {
  17815. "description": "省",
  17816. "type": "integer"
  17817. },
  17818. "remark": {
  17819. "description": "备注",
  17820. "type": "string"
  17821. },
  17822. "status": {
  17823. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17824. "type": "integer"
  17825. },
  17826. "statusdesc": {
  17827. "description": "账户状态中文描述",
  17828. "type": "string"
  17829. },
  17830. "taxpayernum": {
  17831. "description": "纳税人识别号",
  17832. "type": "string"
  17833. },
  17834. "telphone": {
  17835. "description": "联系电话",
  17836. "type": "string"
  17837. },
  17838. "userid": {
  17839. "description": "用户ID",
  17840. "type": "integer"
  17841. },
  17842. "userinfotype": {
  17843. "description": "客户类型",
  17844. "type": "string"
  17845. }
  17846. }
  17847. },
  17848. "ermcp.QryWarehouseRsp": {
  17849. "type": "object",
  17850. "properties": {
  17851. "address": {
  17852. "description": "详细地址",
  17853. "type": "string"
  17854. },
  17855. "areauserid": {
  17856. "description": "所属机构",
  17857. "type": "integer"
  17858. },
  17859. "autoid": {
  17860. "description": "自增ID(仓库ID)",
  17861. "type": "integer"
  17862. },
  17863. "cityid": {
  17864. "description": "市",
  17865. "type": "integer"
  17866. },
  17867. "contactname": {
  17868. "description": "联系人",
  17869. "type": "string"
  17870. },
  17871. "contactnum": {
  17872. "description": "联系电话",
  17873. "type": "string"
  17874. },
  17875. "countryid": {
  17876. "description": "国家",
  17877. "type": "integer"
  17878. },
  17879. "createtime": {
  17880. "description": "创建时间",
  17881. "type": "string"
  17882. },
  17883. "districtid": {
  17884. "description": "区",
  17885. "type": "integer"
  17886. },
  17887. "hasvideo": {
  17888. "description": "是否有视频 - 0:无 1:有",
  17889. "type": "integer"
  17890. },
  17891. "provinceid": {
  17892. "description": "省",
  17893. "type": "integer"
  17894. },
  17895. "remark": {
  17896. "description": "审核备注",
  17897. "type": "string"
  17898. },
  17899. "videourl": {
  17900. "description": "视频地址",
  17901. "type": "string"
  17902. },
  17903. "warehousecode": {
  17904. "description": "仓库代码",
  17905. "type": "string"
  17906. },
  17907. "warehousename": {
  17908. "description": "仓库名称",
  17909. "type": "string"
  17910. },
  17911. "warehousestatus": {
  17912. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17913. "type": "integer"
  17914. },
  17915. "warehousetype": {
  17916. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17917. "type": "integer"
  17918. }
  17919. }
  17920. },
  17921. "ermcp.QueryErmcpTradePositionRsp": {
  17922. "type": "object",
  17923. "properties": {
  17924. "agreeunit": {
  17925. "description": "合约单位",
  17926. "type": "number"
  17927. },
  17928. "buyorsell": {
  17929. "description": "方向 - 0:买 1:卖",
  17930. "type": "integer"
  17931. },
  17932. "curpositionqty": {
  17933. "description": "持仓(总仓数量, 期末头寸)",
  17934. "type": "integer"
  17935. },
  17936. "curtdposition": {
  17937. "description": "今仓数量(期末今日头寸)",
  17938. "type": "integer"
  17939. },
  17940. "curtdpositionenabled": {
  17941. "description": "今仓可用",
  17942. "type": "integer"
  17943. },
  17944. "decimalplace": {
  17945. "description": "报价小数位",
  17946. "type": "integer"
  17947. },
  17948. "enableqty": {
  17949. "description": "可用(总仓可用)",
  17950. "type": "integer"
  17951. },
  17952. "exexchangename": {
  17953. "description": "外部交易所名称",
  17954. "type": "string"
  17955. },
  17956. "exexehangecode": {
  17957. "description": "外部交易所代码",
  17958. "type": "string"
  17959. },
  17960. "exexehangeid": {
  17961. "description": "外部交易所id",
  17962. "type": "integer"
  17963. },
  17964. "goodscode": {
  17965. "description": "商品代码(内部)",
  17966. "type": "string"
  17967. },
  17968. "goodsid": {
  17969. "description": "商品ID(自增ID SEQ_GOODS)",
  17970. "type": "integer"
  17971. },
  17972. "goodsname": {
  17973. "description": "商品名称",
  17974. "type": "string"
  17975. },
  17976. "last": {
  17977. "description": "现价",
  17978. "type": "number"
  17979. },
  17980. "marketid": {
  17981. "description": "所属市场ID",
  17982. "type": "integer"
  17983. },
  17984. "openaverageprice": {
  17985. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17986. "type": "number"
  17987. },
  17988. "opencost": {
  17989. "description": "开仓成本",
  17990. "type": "number"
  17991. },
  17992. "openpl": {
  17993. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17994. "type": "number"
  17995. },
  17996. "outgoodscode": {
  17997. "description": "商品代码(外部)",
  17998. "type": "string"
  17999. },
  18000. "positionaverageprice": {
  18001. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18002. "type": "number"
  18003. },
  18004. "positioncost": {
  18005. "description": "持仓成本",
  18006. "type": "number"
  18007. },
  18008. "positionpl": {
  18009. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18010. "type": "number"
  18011. },
  18012. "positionplrate": {
  18013. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18014. "type": "number"
  18015. },
  18016. "usedmargin": {
  18017. "description": "占用保证金",
  18018. "type": "number"
  18019. }
  18020. }
  18021. },
  18022. "ermcp.RealtimeExposurePositionRsp": {
  18023. "type": "object",
  18024. "properties": {
  18025. "accountid": {
  18026. "description": "资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)",
  18027. "type": "integer"
  18028. },
  18029. "agreeunit": {
  18030. "description": "合约单位",
  18031. "type": "string"
  18032. },
  18033. "areauserid": {
  18034. "description": "所属机构id",
  18035. "type": "integer"
  18036. },
  18037. "convertratio": {
  18038. "description": "期货品种系数(折算系数)",
  18039. "type": "number"
  18040. },
  18041. "curqty": {
  18042. "description": "当前持仓",
  18043. "type": "integer"
  18044. },
  18045. "diffhedgeqty": {
  18046. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18047. "type": "number"
  18048. },
  18049. "diffqty": {
  18050. "description": "持仓变动量=当前持仓-昨日持仓",
  18051. "type": "integer"
  18052. },
  18053. "goodscode": {
  18054. "description": "商品代码",
  18055. "type": "string"
  18056. },
  18057. "goodsid": {
  18058. "description": "商品id",
  18059. "type": "integer"
  18060. },
  18061. "goodsname": {
  18062. "description": "商品名称",
  18063. "type": "string"
  18064. },
  18065. "hedgeaccountcode": {
  18066. "description": "对冲账号(只有外部账号才有值)",
  18067. "type": "string"
  18068. },
  18069. "middlegoodsid": {
  18070. "description": "套保商品id",
  18071. "type": "integer"
  18072. },
  18073. "ydqty": {
  18074. "description": "昨日持仓",
  18075. "type": "integer"
  18076. }
  18077. }
  18078. },
  18079. "ermcp.RealtimeExposureRsp": {
  18080. "type": "object",
  18081. "properties": {
  18082. "AreaUserID": {
  18083. "description": "所属机构",
  18084. "type": "integer"
  18085. },
  18086. "BuyFutureQty": {
  18087. "description": "买入期货数量",
  18088. "type": "number"
  18089. },
  18090. "BuyPlanQty": {
  18091. "description": "采购计划数量",
  18092. "type": "number"
  18093. },
  18094. "BuyPricedQty": {
  18095. "description": "采购合同已定价数量",
  18096. "type": "number"
  18097. },
  18098. "MiddleGoodsCode": {
  18099. "description": "套保品种代码",
  18100. "type": "string"
  18101. },
  18102. "MiddleGoodsHedgeRatio": {
  18103. "description": "套保比例",
  18104. "type": "number"
  18105. },
  18106. "MiddleGoodsID": {
  18107. "description": "套保品种",
  18108. "type": "integer"
  18109. },
  18110. "MiddleGoodsName": {
  18111. "description": "套保品种名称",
  18112. "type": "string"
  18113. },
  18114. "NeedHedgeExposoure": {
  18115. "description": "应套保敞口(套保敞口)",
  18116. "type": "number"
  18117. },
  18118. "NeedHedgeRatio": {
  18119. "description": "应套保敞口比例",
  18120. "type": "number"
  18121. },
  18122. "OriBuyFutureQty": {
  18123. "description": "期初买入期货数量",
  18124. "type": "number"
  18125. },
  18126. "OriBuyPlanQty": {
  18127. "description": "期初采购计划数量",
  18128. "type": "number"
  18129. },
  18130. "OriBuyPricedQty": {
  18131. "description": "期初采购合同已定价数量",
  18132. "type": "number"
  18133. },
  18134. "OriSellFutureQty": {
  18135. "description": "期初卖出期货数量",
  18136. "type": "number"
  18137. },
  18138. "OriSellPlanQty": {
  18139. "description": "期初销售计划数量",
  18140. "type": "number"
  18141. },
  18142. "OriSellPricedQty": {
  18143. "description": "期初销售合同已定价数量",
  18144. "type": "number"
  18145. },
  18146. "OriTotalSpotQty": {
  18147. "description": "期初现货总量",
  18148. "type": "number"
  18149. },
  18150. "SellFutureQty": {
  18151. "description": "卖出期货数量",
  18152. "type": "number"
  18153. },
  18154. "SellPlanQty": {
  18155. "description": "销售计划数量",
  18156. "type": "number"
  18157. },
  18158. "SellPricedQty": {
  18159. "description": "销售合同已定价数量",
  18160. "type": "number"
  18161. },
  18162. "TotalExposure": {
  18163. "description": "总敞口 平安:净敞口",
  18164. "type": "number"
  18165. },
  18166. "TotalFutureQty": {
  18167. "description": "期货总量 平安:保值净持仓量",
  18168. "type": "number"
  18169. },
  18170. "TotalHedgeRatio": {
  18171. "description": "敞口比例",
  18172. "type": "number"
  18173. },
  18174. "TotalNeedHedgeQty": {
  18175. "description": "应套保总量(现货应套保总量)",
  18176. "type": "number"
  18177. },
  18178. "TotalSpotQty": {
  18179. "description": "现货总量 平安:采销定价净值",
  18180. "type": "number"
  18181. },
  18182. "arbitrageqty": {
  18183. "description": "套利量",
  18184. "type": "number"
  18185. },
  18186. "diffArbitrageQty": {
  18187. "description": "套利变动量",
  18188. "type": "number"
  18189. },
  18190. "diffExposoureQty": {
  18191. "description": "变动量(套保敞口)",
  18192. "type": "number"
  18193. },
  18194. "diffFutuQty": {
  18195. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  18196. "type": "number"
  18197. },
  18198. "diffHedgeQty": {
  18199. "description": "套保变动量",
  18200. "type": "number"
  18201. },
  18202. "diffQty": {
  18203. "description": "变动量(总敞口) 平安:净敞口今日变动",
  18204. "type": "number"
  18205. },
  18206. "diffSpotHedgeQty": {
  18207. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  18208. "type": "number"
  18209. },
  18210. "diffSpotQty": {
  18211. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  18212. "type": "number"
  18213. },
  18214. "enumdicname": {
  18215. "description": "单位名称",
  18216. "type": "string"
  18217. },
  18218. "hedgeqty": {
  18219. "description": "套保量",
  18220. "type": "number"
  18221. },
  18222. "needarbitrageqty": {
  18223. "description": "应套利量",
  18224. "type": "number"
  18225. },
  18226. "needarbitrageratio": {
  18227. "description": "套利比例",
  18228. "type": "number"
  18229. },
  18230. "needhedgeqty": {
  18231. "description": "应套保量",
  18232. "type": "number"
  18233. },
  18234. "oriarbitrageqty": {
  18235. "description": "期初套利量",
  18236. "type": "number"
  18237. },
  18238. "orihedgeqty": {
  18239. "description": "期初套保量",
  18240. "type": "number"
  18241. },
  18242. "orineedhedgeexposoure": {
  18243. "description": "期初套保敞口",
  18244. "type": "number"
  18245. },
  18246. "oritotalexposure": {
  18247. "description": "期初总敞口",
  18248. "type": "number"
  18249. },
  18250. "oritotalfutureqty": {
  18251. "description": "期初期货总量",
  18252. "type": "number"
  18253. },
  18254. "oritotalneedhedgeqty": {
  18255. "description": "期初现货应套保量",
  18256. "type": "number"
  18257. }
  18258. }
  18259. },
  18260. "erms2.QueryArbitrageStrategyRsp": {
  18261. "type": "object",
  18262. "required": [
  18263. "asapplyid"
  18264. ],
  18265. "properties": {
  18266. "applybasis": {
  18267. "description": "申请基差",
  18268. "type": "number"
  18269. },
  18270. "asapplyid": {
  18271. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  18272. "type": "string"
  18273. },
  18274. "asname": {
  18275. "description": "策略名称",
  18276. "type": "string"
  18277. },
  18278. "asno": {
  18279. "description": "策略编号",
  18280. "type": "string"
  18281. },
  18282. "basischangepl": {
  18283. "description": "基差变动损益[结算更新]",
  18284. "type": "number"
  18285. },
  18286. "biztype": {
  18287. "description": "业务类型 - 1:正向套利 -1:反向套利",
  18288. "type": "integer"
  18289. },
  18290. "closetradedate": {
  18291. "description": "完结交易日(yyyyMMdd)",
  18292. "type": "string"
  18293. },
  18294. "curbasis": {
  18295. "description": "当前基差[结算更新]",
  18296. "type": "number"
  18297. },
  18298. "deliverygoodsid": {
  18299. "description": "现货品种ID",
  18300. "type": "integer"
  18301. },
  18302. "futureavgprice": {
  18303. "description": "期货建仓均价",
  18304. "type": "number"
  18305. },
  18306. "futurecloseamount": {
  18307. "description": "期货平仓金额",
  18308. "type": "number"
  18309. },
  18310. "futurecloseqty": {
  18311. "description": "期货平仓数量",
  18312. "type": "number"
  18313. },
  18314. "futureopenamount": {
  18315. "description": "期货开仓金额",
  18316. "type": "number"
  18317. },
  18318. "futureopenqty": {
  18319. "description": "期货开仓数量",
  18320. "type": "number"
  18321. },
  18322. "futurepl": {
  18323. "description": "期货总盈亏[结算更新]",
  18324. "type": "number"
  18325. },
  18326. "futureqty": {
  18327. "description": "期货持仓数量",
  18328. "type": "number"
  18329. },
  18330. "futurequote": {
  18331. "description": "期货额度",
  18332. "type": "number"
  18333. },
  18334. "goodsgroupid": {
  18335. "description": "期货品种ID",
  18336. "type": "integer"
  18337. },
  18338. "marketid": {
  18339. "description": "市场ID",
  18340. "type": "integer"
  18341. },
  18342. "netexposure": {
  18343. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  18344. "type": "number"
  18345. },
  18346. "netexposurepl": {
  18347. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  18348. "type": "number"
  18349. },
  18350. "netexposurerate": {
  18351. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  18352. "type": "number"
  18353. },
  18354. "openbasis": {
  18355. "description": "建仓基差",
  18356. "type": "number"
  18357. },
  18358. "pricedspotqty": {
  18359. "description": "已定价现货数量",
  18360. "type": "number"
  18361. },
  18362. "pricedspotqtynotax": {
  18363. "description": "已定价现货不含税数量",
  18364. "type": "number"
  18365. },
  18366. "remark": {
  18367. "description": "备注",
  18368. "type": "string"
  18369. },
  18370. "spotavgprice": {
  18371. "description": "现货均价",
  18372. "type": "number"
  18373. },
  18374. "spotbuyamount": {
  18375. "description": "现货采购金额",
  18376. "type": "number"
  18377. },
  18378. "spotbuyqty": {
  18379. "description": "现货采购数量",
  18380. "type": "number"
  18381. },
  18382. "spotpl": {
  18383. "description": "现货总盈亏[结算更新]",
  18384. "type": "number"
  18385. },
  18386. "spotquota": {
  18387. "description": "现货额度",
  18388. "type": "number"
  18389. },
  18390. "spotsellamount": {
  18391. "description": "现货销售金额",
  18392. "type": "number"
  18393. },
  18394. "spotsellqty": {
  18395. "description": "现货销售数量",
  18396. "type": "number"
  18397. },
  18398. "spotusedquota": {
  18399. "description": "现货占用资金",
  18400. "type": "number"
  18401. },
  18402. "strategystatus": {
  18403. "description": "策略状态 - 0:未结束 1:已结束",
  18404. "type": "integer"
  18405. },
  18406. "totalpl": {
  18407. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  18408. "type": "number"
  18409. },
  18410. "tradedate": {
  18411. "description": "交易日(yyyyMMdd)",
  18412. "type": "string"
  18413. },
  18414. "updatetime": {
  18415. "description": "更新时间",
  18416. "type": "string"
  18417. },
  18418. "usedquota": {
  18419. "description": "已占用资金",
  18420. "type": "number"
  18421. },
  18422. "userid": {
  18423. "description": "所属机构",
  18424. "type": "integer"
  18425. }
  18426. }
  18427. },
  18428. "erms2.QueryInnerTradeDetailRsp": {
  18429. "type": "object",
  18430. "required": [
  18431. "asapplyid",
  18432. "buyorsell",
  18433. "goodscode",
  18434. "goodsgroupid",
  18435. "goodsgroupname",
  18436. "goodsname",
  18437. "tradeid"
  18438. ],
  18439. "properties": {
  18440. "accountid": {
  18441. "description": "账号ID",
  18442. "type": "integer"
  18443. },
  18444. "agreeunit": {
  18445. "description": "合约单位",
  18446. "type": "number"
  18447. },
  18448. "asapplyid": {
  18449. "description": "策略申请ID",
  18450. "type": "integer"
  18451. },
  18452. "asname": {
  18453. "description": "策略名称",
  18454. "type": "string"
  18455. },
  18456. "asno": {
  18457. "description": "策略编号",
  18458. "type": "string"
  18459. },
  18460. "buyorsell": {
  18461. "description": "方向 - 0:买 1:卖",
  18462. "type": "integer"
  18463. },
  18464. "channelbuildtype": {
  18465. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18466. "type": "integer"
  18467. },
  18468. "closetype": {
  18469. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18470. "type": "integer"
  18471. },
  18472. "decimalplace": {
  18473. "description": "报价小数位",
  18474. "type": "integer"
  18475. },
  18476. "detailtype": {
  18477. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  18478. "type": "integer"
  18479. },
  18480. "exexchangecode": {
  18481. "description": "外部交易所代码",
  18482. "type": "string"
  18483. },
  18484. "exexchangename": {
  18485. "description": "外部交易所名称",
  18486. "type": "string"
  18487. },
  18488. "goodscode": {
  18489. "description": "商品代码(合约)",
  18490. "type": "string"
  18491. },
  18492. "goodsgroupid": {
  18493. "description": "商品组ID(品种ID)",
  18494. "type": "integer"
  18495. },
  18496. "goodsgroupname": {
  18497. "description": "商品组名称(品种)",
  18498. "type": "string"
  18499. },
  18500. "goodsid": {
  18501. "description": "商品ID",
  18502. "type": "integer"
  18503. },
  18504. "goodsname": {
  18505. "description": "商品名称(合约)",
  18506. "type": "string"
  18507. },
  18508. "goodunit": {
  18509. "description": "报价单位",
  18510. "type": "string"
  18511. },
  18512. "marketid": {
  18513. "description": "市场ID",
  18514. "type": "integer"
  18515. },
  18516. "orderid": {
  18517. "description": "委托单号",
  18518. "type": "string"
  18519. },
  18520. "outgoodscode": {
  18521. "description": "商品代码(外部)",
  18522. "type": "string"
  18523. },
  18524. "relatedouttradeid": {
  18525. "description": "关联外部成交单ID",
  18526. "type": "string"
  18527. },
  18528. "remark": {
  18529. "description": "备注",
  18530. "type": "string"
  18531. },
  18532. "spotcontractid": {
  18533. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  18534. "type": "integer"
  18535. },
  18536. "spotcontractno": {
  18537. "description": "现货合同编号",
  18538. "type": "string"
  18539. },
  18540. "tradeid": {
  18541. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18542. "type": "string"
  18543. },
  18544. "tradeprice": {
  18545. "description": "成交价格",
  18546. "type": "number"
  18547. },
  18548. "tradeqty": {
  18549. "description": "成交数量",
  18550. "type": "integer"
  18551. },
  18552. "tradetime": {
  18553. "description": "成交时间",
  18554. "type": "string"
  18555. },
  18556. "updatetime": {
  18557. "description": "更新时间",
  18558. "type": "string"
  18559. }
  18560. }
  18561. },
  18562. "erms2.QuerySpotContractRsp": {
  18563. "type": "object",
  18564. "required": [
  18565. "spotcontractid"
  18566. ],
  18567. "properties": {
  18568. "accountid": {
  18569. "description": "资金账户ID",
  18570. "type": "integer"
  18571. },
  18572. "areauserid": {
  18573. "description": "所属机构",
  18574. "type": "integer"
  18575. },
  18576. "closedate": {
  18577. "description": "终止日期",
  18578. "type": "string"
  18579. },
  18580. "closeremark": {
  18581. "description": "结束备注",
  18582. "type": "string"
  18583. },
  18584. "closetradedate": {
  18585. "description": "完结交易日(yyyyMMdd)",
  18586. "type": "string"
  18587. },
  18588. "closetype": {
  18589. "description": "终止类型 - 1:违约 2:提前终止",
  18590. "type": "integer"
  18591. },
  18592. "contractamount": {
  18593. "description": "合同金额",
  18594. "type": "number"
  18595. },
  18596. "contractattachment": {
  18597. "description": "合同附件",
  18598. "type": "string"
  18599. },
  18600. "contractno": {
  18601. "description": "现货合同编号",
  18602. "type": "string"
  18603. },
  18604. "contractqty": {
  18605. "description": "合同数量(数值) (用于计算)",
  18606. "type": "number"
  18607. },
  18608. "contractqtychar": {
  18609. "description": "合同数量\\已订价数量 (用于显示)",
  18610. "type": "string"
  18611. },
  18612. "contractstatus": {
  18613. "description": "合同状态 - 0:未结束 1:已结束",
  18614. "type": "integer"
  18615. },
  18616. "contracttype": {
  18617. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  18618. "type": "integer"
  18619. },
  18620. "customeraccountid": {
  18621. "description": "客户资金账户ID",
  18622. "type": "integer"
  18623. },
  18624. "customeruserid": {
  18625. "description": "客户ID",
  18626. "type": "integer"
  18627. },
  18628. "deliverygoodsdesc": {
  18629. "description": "品种说明",
  18630. "type": "string"
  18631. },
  18632. "deliverygoodsid": {
  18633. "description": "现货品种ID",
  18634. "type": "integer"
  18635. },
  18636. "handlestatus": {
  18637. "description": "处理状态",
  18638. "type": "integer"
  18639. },
  18640. "invoiceatt": {
  18641. "description": "发票附件",
  18642. "type": "string"
  18643. },
  18644. "invoicedatetime": {
  18645. "description": "开收票更新时间",
  18646. "type": "string"
  18647. },
  18648. "invoiceopentime": {
  18649. "description": "开票时间",
  18650. "type": "string"
  18651. },
  18652. "invoiceremark": {
  18653. "description": "发票备注",
  18654. "type": "string"
  18655. },
  18656. "invoicestatus": {
  18657. "description": "开收票状态 - 0:未开票 1:已开票",
  18658. "type": "integer"
  18659. },
  18660. "lastdate": {
  18661. "description": "交货时间",
  18662. "type": "string"
  18663. },
  18664. "marketid": {
  18665. "description": "市场ID",
  18666. "type": "integer"
  18667. },
  18668. "paydatetime": {
  18669. "description": "收付款更新时间",
  18670. "type": "string"
  18671. },
  18672. "payremark": {
  18673. "description": "收付款备注",
  18674. "type": "string"
  18675. },
  18676. "paystatus": {
  18677. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  18678. "type": "integer"
  18679. },
  18680. "positionqty": {
  18681. "description": "头寸数量 - 合同数量去小数部分",
  18682. "type": "integer"
  18683. },
  18684. "producttype": {
  18685. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18686. "type": "integer"
  18687. },
  18688. "relatedqty": {
  18689. "description": "已关联数量",
  18690. "type": "number"
  18691. },
  18692. "relatedstatus": {
  18693. "description": "关联完结状态 - 0:未结束 1:已结束",
  18694. "type": "integer"
  18695. },
  18696. "remark": {
  18697. "description": "备注",
  18698. "type": "string"
  18699. },
  18700. "signdate": {
  18701. "description": "签订日期",
  18702. "type": "string"
  18703. },
  18704. "spotcontractid": {
  18705. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  18706. "type": "string"
  18707. },
  18708. "spotdatetime": {
  18709. "description": "收发货更新时间",
  18710. "type": "string"
  18711. },
  18712. "spotprice": {
  18713. "description": "价格",
  18714. "type": "number"
  18715. },
  18716. "spotremark": {
  18717. "description": "收发货备注",
  18718. "type": "string"
  18719. },
  18720. "spotstatus": {
  18721. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  18722. "type": "integer"
  18723. },
  18724. "tradedate": {
  18725. "description": "交易日(yyyyMMdd)",
  18726. "type": "string"
  18727. },
  18728. "userid": {
  18729. "description": "业务员用户ID",
  18730. "type": "integer"
  18731. },
  18732. "warehouseid": {
  18733. "description": "仓库ID",
  18734. "type": "integer"
  18735. },
  18736. "wrfactortypeid": {
  18737. "description": "仓单要素类型ID",
  18738. "type": "integer"
  18739. },
  18740. "wrstandardid": {
  18741. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  18742. "type": "integer"
  18743. }
  18744. }
  18745. },
  18746. "erms3.AddErms2ASApplyReq": {
  18747. "type": "object",
  18748. "required": [
  18749. "asapplyid"
  18750. ],
  18751. "properties": {
  18752. "applybasis": {
  18753. "description": "申请基差",
  18754. "type": "number"
  18755. },
  18756. "applystatus": {
  18757. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18758. "type": "integer"
  18759. },
  18760. "asapplyid": {
  18761. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  18762. "type": "integer"
  18763. },
  18764. "asname": {
  18765. "description": "策略名称",
  18766. "type": "string"
  18767. },
  18768. "asno": {
  18769. "description": "策略编号",
  18770. "type": "string"
  18771. },
  18772. "auditid": {
  18773. "description": "审核人",
  18774. "type": "integer"
  18775. },
  18776. "auditremark": {
  18777. "description": "审核备注",
  18778. "type": "string"
  18779. },
  18780. "audittime": {
  18781. "description": "审核时间",
  18782. "type": "string"
  18783. },
  18784. "biztype": {
  18785. "description": "业务类型 - 1:正向套利 2:反向套利",
  18786. "type": "integer"
  18787. },
  18788. "createtime": {
  18789. "description": "创建时间",
  18790. "type": "string"
  18791. },
  18792. "creatorid": {
  18793. "description": "创建人",
  18794. "type": "integer"
  18795. },
  18796. "deliverygoodsid": {
  18797. "description": "现货品种ID",
  18798. "type": "integer"
  18799. },
  18800. "futurequote": {
  18801. "description": "期货额度",
  18802. "type": "number"
  18803. },
  18804. "goodsgroupid": {
  18805. "description": "期货品种ID",
  18806. "type": "integer"
  18807. },
  18808. "marketid": {
  18809. "description": "市场ID",
  18810. "type": "integer"
  18811. },
  18812. "remark": {
  18813. "description": "备注",
  18814. "type": "string"
  18815. },
  18816. "spotquota": {
  18817. "description": "现货额度",
  18818. "type": "number"
  18819. },
  18820. "tradedate": {
  18821. "description": "交易日(yyyyMMdd)",
  18822. "type": "string"
  18823. },
  18824. "userid": {
  18825. "description": "所属机构",
  18826. "type": "integer"
  18827. }
  18828. }
  18829. },
  18830. "erms3.AddErms2SpotTradeApplyReq": {
  18831. "type": "object",
  18832. "required": [
  18833. "spottradeid"
  18834. ],
  18835. "properties": {
  18836. "applyjsondetail": {
  18837. "description": "申请明细(JSON)",
  18838. "type": "string"
  18839. },
  18840. "applystatus": {
  18841. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18842. "type": "integer"
  18843. },
  18844. "areauserid": {
  18845. "description": "所属机构",
  18846. "type": "integer"
  18847. },
  18848. "auditid": {
  18849. "description": "审核人",
  18850. "type": "integer"
  18851. },
  18852. "auditremark": {
  18853. "description": "审核备注",
  18854. "type": "string"
  18855. },
  18856. "audittime": {
  18857. "description": "审核时间",
  18858. "type": "string"
  18859. },
  18860. "createtime": {
  18861. "description": "创建时间",
  18862. "type": "string"
  18863. },
  18864. "creatorid": {
  18865. "description": "创建人",
  18866. "type": "integer"
  18867. },
  18868. "deliverygoodsid": {
  18869. "description": "现货品种ID",
  18870. "type": "integer"
  18871. },
  18872. "futureaccountid": {
  18873. "description": "期货资金账户",
  18874. "type": "integer"
  18875. },
  18876. "goodsgroupid": {
  18877. "description": "期货品种",
  18878. "type": "integer"
  18879. },
  18880. "marketid": {
  18881. "description": "市场ID",
  18882. "type": "integer"
  18883. },
  18884. "remark": {
  18885. "description": "备注",
  18886. "type": "string"
  18887. },
  18888. "spotaccountid": {
  18889. "description": "现货资金账户",
  18890. "type": "integer"
  18891. },
  18892. "spottradeid": {
  18893. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  18894. "type": "integer"
  18895. },
  18896. "spottradename": {
  18897. "description": "业务名称",
  18898. "type": "string"
  18899. },
  18900. "spottradeno": {
  18901. "description": "业务编号",
  18902. "type": "string"
  18903. },
  18904. "tradedate": {
  18905. "description": "交易日(yyyyMMdd)",
  18906. "type": "string"
  18907. },
  18908. "wrstandardid": {
  18909. "description": "仓单标准ID",
  18910. "type": "integer"
  18911. }
  18912. }
  18913. },
  18914. "erms3.AddSpotContractApplyReq": {
  18915. "type": "object",
  18916. "required": [
  18917. "accountid",
  18918. "areauserid",
  18919. "contractno",
  18920. "contracttype",
  18921. "customeraccountid",
  18922. "customeruserid",
  18923. "details",
  18924. "orimargin",
  18925. "signdate"
  18926. ],
  18927. "properties": {
  18928. "accountid": {
  18929. "description": "资金账户ID",
  18930. "type": "integer"
  18931. },
  18932. "areauserid": {
  18933. "description": "所属机构",
  18934. "type": "integer"
  18935. },
  18936. "contractattachment": {
  18937. "description": "合同附件",
  18938. "type": "string"
  18939. },
  18940. "contractno": {
  18941. "description": "现货合同编号",
  18942. "type": "string"
  18943. },
  18944. "contracttype": {
  18945. "description": "现货合同类型 - 1:采购 -1:销售",
  18946. "type": "integer"
  18947. },
  18948. "creatorid": {
  18949. "description": "申请人",
  18950. "type": "integer"
  18951. },
  18952. "customeraccountid": {
  18953. "description": "客户资金账户ID",
  18954. "type": "integer"
  18955. },
  18956. "customeruserid": {
  18957. "description": "客户ID",
  18958. "type": "integer"
  18959. },
  18960. "details": {
  18961. "description": "明细",
  18962. "type": "array",
  18963. "items": {
  18964. "$ref": "#/definitions/erms3.SoptContractDetail"
  18965. }
  18966. },
  18967. "orimargin": {
  18968. "description": "初始保证金",
  18969. "type": "number"
  18970. },
  18971. "remark": {
  18972. "description": "备注",
  18973. "type": "string"
  18974. },
  18975. "signdate": {
  18976. "description": "签订日期",
  18977. "type": "string"
  18978. }
  18979. }
  18980. },
  18981. "erms3.AddSpotContractApplyRsp": {
  18982. "type": "object",
  18983. "required": [
  18984. "contractno"
  18985. ],
  18986. "properties": {
  18987. "contractno": {
  18988. "description": "现货合同编号",
  18989. "type": "string"
  18990. },
  18991. "spotcontractid": {
  18992. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18993. "type": "integer"
  18994. }
  18995. }
  18996. },
  18997. "erms3.AddUserInfoApplyReq": {
  18998. "type": "object",
  18999. "required": [
  19000. "userid"
  19001. ],
  19002. "properties": {
  19003. "accountid": {
  19004. "description": "交易系统帐号Id (加密存储)",
  19005. "type": "integer"
  19006. },
  19007. "areacode": {
  19008. "description": "机构代码",
  19009. "type": "string"
  19010. },
  19011. "areaid": {
  19012. "description": "机构Id",
  19013. "type": "integer"
  19014. },
  19015. "attachment1": {
  19016. "description": "附件1",
  19017. "type": "string"
  19018. },
  19019. "attachment2": {
  19020. "description": "附件2",
  19021. "type": "string"
  19022. },
  19023. "attachment3": {
  19024. "description": "附件3",
  19025. "type": "string"
  19026. },
  19027. "attachment4": {
  19028. "description": "附件4",
  19029. "type": "string"
  19030. },
  19031. "attachment5": {
  19032. "description": "附件5",
  19033. "type": "string"
  19034. },
  19035. "auditedby": {
  19036. "description": "审核人",
  19037. "type": "string"
  19038. },
  19039. "auditime": {
  19040. "description": "审核时间",
  19041. "type": "string"
  19042. },
  19043. "auditsrc": {
  19044. "description": "审核来源 - 1:管理端 2:终端",
  19045. "type": "integer"
  19046. },
  19047. "bankaccount": {
  19048. "description": "银行帐号 (加密存储)",
  19049. "type": "string"
  19050. },
  19051. "bankaccountname": {
  19052. "description": "收款人名称",
  19053. "type": "string"
  19054. },
  19055. "bankcardbackphotourl": {
  19056. "description": "银行卡背面照地址",
  19057. "type": "string"
  19058. },
  19059. "bankcardfrontphotourl": {
  19060. "description": "银行卡正面照地址",
  19061. "type": "string"
  19062. },
  19063. "bankid": {
  19064. "description": "银行编码",
  19065. "type": "string"
  19066. },
  19067. "bankname": {
  19068. "description": "银行名称",
  19069. "type": "string"
  19070. },
  19071. "bankpictureurl": {
  19072. "description": "银行卡正面地址",
  19073. "type": "string"
  19074. },
  19075. "biznature": {
  19076. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19077. "type": "integer"
  19078. },
  19079. "bizscope": {
  19080. "description": "企业经营范围(企业)",
  19081. "type": "string"
  19082. },
  19083. "biztype": {
  19084. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19085. "type": "integer"
  19086. },
  19087. "brokerid": {
  19088. "description": "经纪人ID(加密存储)",
  19089. "type": "string"
  19090. },
  19091. "cardaddress": {
  19092. "description": "证件地址 (加密存储)",
  19093. "type": "string"
  19094. },
  19095. "cardbackphotourl": {
  19096. "description": "背面证件照地址",
  19097. "type": "string"
  19098. },
  19099. "cardfrontphotourl": {
  19100. "description": "正面证件照地址",
  19101. "type": "string"
  19102. },
  19103. "cardnum": {
  19104. "description": "证件号码 (加密存储)",
  19105. "type": "string"
  19106. },
  19107. "cardtype": {
  19108. "description": "证件类型",
  19109. "type": "integer"
  19110. },
  19111. "cityid": {
  19112. "description": "市",
  19113. "type": "integer"
  19114. },
  19115. "company": {
  19116. "description": "公司(个人)",
  19117. "type": "string"
  19118. },
  19119. "contactcardbackphotourl": {
  19120. "description": "联系人证件背面图片地址",
  19121. "type": "string"
  19122. },
  19123. "contactcardfrontphotourl": {
  19124. "description": "联系人证件正面图片地址",
  19125. "type": "string"
  19126. },
  19127. "contactname": {
  19128. "description": "联系人",
  19129. "type": "string"
  19130. },
  19131. "countryid": {
  19132. "description": "国家",
  19133. "type": "integer"
  19134. },
  19135. "createtime": {
  19136. "description": "开户申请时间",
  19137. "type": "string"
  19138. },
  19139. "cusbankid": {
  19140. "description": "签约类型",
  19141. "type": "string"
  19142. },
  19143. "cusbankname": {
  19144. "description": "签约类型名称",
  19145. "type": "string"
  19146. },
  19147. "customername": {
  19148. "description": "客户名称(企业名称)",
  19149. "type": "string"
  19150. },
  19151. "districtid": {
  19152. "description": "地区",
  19153. "type": "integer"
  19154. },
  19155. "email": {
  19156. "description": "Email地址(加密存储)",
  19157. "type": "string"
  19158. },
  19159. "halfbodyphotourl": {
  19160. "description": "半身照地址",
  19161. "type": "string"
  19162. },
  19163. "headurl": {
  19164. "description": "头像地址",
  19165. "type": "string"
  19166. },
  19167. "ipaddress": {
  19168. "description": "IP地址",
  19169. "type": "string"
  19170. },
  19171. "isvalidate": {
  19172. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19173. "type": "string"
  19174. },
  19175. "legalcardbackphotourl": {
  19176. "description": "法人身份证背面照地址",
  19177. "type": "string"
  19178. },
  19179. "legalcardfrontphotourl": {
  19180. "description": "法人身份证正面照地址",
  19181. "type": "string"
  19182. },
  19183. "legalpersonname": {
  19184. "description": "法人姓名(企业)",
  19185. "type": "string"
  19186. },
  19187. "logincode": {
  19188. "description": "登录帐号 (加密存储)",
  19189. "type": "string"
  19190. },
  19191. "memberareaid": {
  19192. "description": "所属会员ID",
  19193. "type": "integer"
  19194. },
  19195. "mobile2": {
  19196. "description": "手机号码[明文-尚志]",
  19197. "type": "string"
  19198. },
  19199. "mobilephone": {
  19200. "description": "手机号码 (加密存储)",
  19201. "type": "string"
  19202. },
  19203. "modifiedby": {
  19204. "description": "修改人帐号",
  19205. "type": "integer"
  19206. },
  19207. "modifiedtime": {
  19208. "description": "修改时间",
  19209. "type": "string"
  19210. },
  19211. "nickname": {
  19212. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19213. "type": "string"
  19214. },
  19215. "openmode": {
  19216. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19217. "type": "integer"
  19218. },
  19219. "otherurl": {
  19220. "description": "其它图片地址[使用分号分隔]",
  19221. "type": "string"
  19222. },
  19223. "postalcode": {
  19224. "description": "邮政编码",
  19225. "type": "string"
  19226. },
  19227. "provinceid": {
  19228. "description": "省",
  19229. "type": "integer"
  19230. },
  19231. "proxystatementurl": {
  19232. "description": "授权委托书",
  19233. "type": "string"
  19234. },
  19235. "qq": {
  19236. "description": "QQ(加密存储",
  19237. "type": "string"
  19238. },
  19239. "referral": {
  19240. "description": "推荐人编码",
  19241. "type": "string"
  19242. },
  19243. "remark": {
  19244. "description": "备注",
  19245. "type": "string"
  19246. },
  19247. "removebeforestatus": {
  19248. "description": "REMOVEBEFORESTATUS",
  19249. "type": "integer"
  19250. },
  19251. "sex": {
  19252. "description": "性别 - 0:女 1:男",
  19253. "type": "integer"
  19254. },
  19255. "signedstatus": {
  19256. "description": "账户一号签签约状态",
  19257. "type": "integer"
  19258. },
  19259. "signpdfurl": {
  19260. "description": "签约pdf文件",
  19261. "type": "string"
  19262. },
  19263. "subbranch": {
  19264. "description": "开户支行",
  19265. "type": "string"
  19266. },
  19267. "taxpayernum": {
  19268. "description": "纳税人识别号",
  19269. "type": "string"
  19270. },
  19271. "telphone": {
  19272. "description": "联系电话(加密存储)",
  19273. "type": "string"
  19274. },
  19275. "userid": {
  19276. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19277. "type": "integer"
  19278. },
  19279. "userinfotype": {
  19280. "description": "用户信息类型 - 1:个人 2:企业",
  19281. "type": "integer"
  19282. },
  19283. "username": {
  19284. "description": "用户姓名",
  19285. "type": "string"
  19286. },
  19287. "userstate": {
  19288. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19289. "type": "integer"
  19290. },
  19291. "usertype": {
  19292. "description": "用户类型 - 1:投资者 2:机构",
  19293. "type": "integer"
  19294. },
  19295. "videourl": {
  19296. "description": "视频地址",
  19297. "type": "string"
  19298. },
  19299. "wechat": {
  19300. "description": "微信号 (加密存储)",
  19301. "type": "string"
  19302. }
  19303. }
  19304. },
  19305. "erms3.CustomerInfo": {
  19306. "type": "object",
  19307. "required": [
  19308. "userid"
  19309. ],
  19310. "properties": {
  19311. "accountids": {
  19312. "description": "资金账户ID列表",
  19313. "type": "array",
  19314. "items": {
  19315. "type": "integer"
  19316. }
  19317. },
  19318. "customername": {
  19319. "description": "名称(企业名称)",
  19320. "type": "string"
  19321. },
  19322. "mobile": {
  19323. "description": "手机号码",
  19324. "type": "string"
  19325. },
  19326. "userid": {
  19327. "description": "用户ID",
  19328. "type": "integer"
  19329. }
  19330. }
  19331. },
  19332. "erms3.ModifyUserInfoApplyReq": {
  19333. "type": "object",
  19334. "required": [
  19335. "userid"
  19336. ],
  19337. "properties": {
  19338. "accountid": {
  19339. "description": "交易系统帐号Id (加密存储)",
  19340. "type": "integer"
  19341. },
  19342. "areacode": {
  19343. "description": "机构代码",
  19344. "type": "string"
  19345. },
  19346. "areaid": {
  19347. "description": "机构Id",
  19348. "type": "integer"
  19349. },
  19350. "attachment1": {
  19351. "description": "附件1",
  19352. "type": "string"
  19353. },
  19354. "attachment2": {
  19355. "description": "附件2",
  19356. "type": "string"
  19357. },
  19358. "attachment3": {
  19359. "description": "附件3",
  19360. "type": "string"
  19361. },
  19362. "attachment4": {
  19363. "description": "附件4",
  19364. "type": "string"
  19365. },
  19366. "attachment5": {
  19367. "description": "附件5",
  19368. "type": "string"
  19369. },
  19370. "auditedby": {
  19371. "description": "审核人",
  19372. "type": "string"
  19373. },
  19374. "auditime": {
  19375. "description": "审核时间",
  19376. "type": "string"
  19377. },
  19378. "auditsrc": {
  19379. "description": "审核来源 - 1:管理端 2:终端",
  19380. "type": "integer"
  19381. },
  19382. "bankaccount": {
  19383. "description": "银行帐号 (加密存储)",
  19384. "type": "string"
  19385. },
  19386. "bankaccountname": {
  19387. "description": "收款人名称",
  19388. "type": "string"
  19389. },
  19390. "bankcardbackphotourl": {
  19391. "description": "银行卡背面照地址",
  19392. "type": "string"
  19393. },
  19394. "bankcardfrontphotourl": {
  19395. "description": "银行卡正面照地址",
  19396. "type": "string"
  19397. },
  19398. "bankid": {
  19399. "description": "银行编码",
  19400. "type": "string"
  19401. },
  19402. "bankname": {
  19403. "description": "银行名称",
  19404. "type": "string"
  19405. },
  19406. "bankpictureurl": {
  19407. "description": "银行卡正面地址",
  19408. "type": "string"
  19409. },
  19410. "biznature": {
  19411. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19412. "type": "integer"
  19413. },
  19414. "bizscope": {
  19415. "description": "企业经营范围(企业)",
  19416. "type": "string"
  19417. },
  19418. "biztype": {
  19419. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19420. "type": "integer"
  19421. },
  19422. "brokerid": {
  19423. "description": "经纪人ID(加密存储)",
  19424. "type": "string"
  19425. },
  19426. "cardaddress": {
  19427. "description": "证件地址 (加密存储)",
  19428. "type": "string"
  19429. },
  19430. "cardbackphotourl": {
  19431. "description": "背面证件照地址",
  19432. "type": "string"
  19433. },
  19434. "cardfrontphotourl": {
  19435. "description": "正面证件照地址",
  19436. "type": "string"
  19437. },
  19438. "cardnum": {
  19439. "description": "证件号码 (加密存储)",
  19440. "type": "string"
  19441. },
  19442. "cardtype": {
  19443. "description": "证件类型",
  19444. "type": "integer"
  19445. },
  19446. "cityid": {
  19447. "description": "市",
  19448. "type": "integer"
  19449. },
  19450. "company": {
  19451. "description": "公司(个人)",
  19452. "type": "string"
  19453. },
  19454. "contactcardbackphotourl": {
  19455. "description": "联系人证件背面图片地址",
  19456. "type": "string"
  19457. },
  19458. "contactcardfrontphotourl": {
  19459. "description": "联系人证件正面图片地址",
  19460. "type": "string"
  19461. },
  19462. "contactname": {
  19463. "description": "联系人",
  19464. "type": "string"
  19465. },
  19466. "countryid": {
  19467. "description": "国家",
  19468. "type": "integer"
  19469. },
  19470. "createtime": {
  19471. "description": "开户申请时间",
  19472. "type": "string"
  19473. },
  19474. "cusbankid": {
  19475. "description": "签约类型",
  19476. "type": "string"
  19477. },
  19478. "cusbankname": {
  19479. "description": "签约类型名称",
  19480. "type": "string"
  19481. },
  19482. "customername": {
  19483. "description": "客户名称(企业名称)",
  19484. "type": "string"
  19485. },
  19486. "districtid": {
  19487. "description": "地区",
  19488. "type": "integer"
  19489. },
  19490. "email": {
  19491. "description": "Email地址(加密存储)",
  19492. "type": "string"
  19493. },
  19494. "halfbodyphotourl": {
  19495. "description": "半身照地址",
  19496. "type": "string"
  19497. },
  19498. "headurl": {
  19499. "description": "头像地址",
  19500. "type": "string"
  19501. },
  19502. "ipaddress": {
  19503. "description": "IP地址",
  19504. "type": "string"
  19505. },
  19506. "isvalidate": {
  19507. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19508. "type": "string"
  19509. },
  19510. "legalcardbackphotourl": {
  19511. "description": "法人身份证背面照地址",
  19512. "type": "string"
  19513. },
  19514. "legalcardfrontphotourl": {
  19515. "description": "法人身份证正面照地址",
  19516. "type": "string"
  19517. },
  19518. "legalpersonname": {
  19519. "description": "法人姓名(企业)",
  19520. "type": "string"
  19521. },
  19522. "logincode": {
  19523. "description": "登录帐号 (加密存储)",
  19524. "type": "string"
  19525. },
  19526. "memberareaid": {
  19527. "description": "所属会员ID",
  19528. "type": "integer"
  19529. },
  19530. "mobile2": {
  19531. "description": "手机号码[明文-尚志]",
  19532. "type": "string"
  19533. },
  19534. "mobilephone": {
  19535. "description": "手机号码 (加密存储)",
  19536. "type": "string"
  19537. },
  19538. "modifiedby": {
  19539. "description": "修改人帐号",
  19540. "type": "integer"
  19541. },
  19542. "modifiedtime": {
  19543. "description": "修改时间",
  19544. "type": "string"
  19545. },
  19546. "nickname": {
  19547. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19548. "type": "string"
  19549. },
  19550. "openmode": {
  19551. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19552. "type": "integer"
  19553. },
  19554. "otherurl": {
  19555. "description": "其它图片地址[使用分号分隔]",
  19556. "type": "string"
  19557. },
  19558. "postalcode": {
  19559. "description": "邮政编码",
  19560. "type": "string"
  19561. },
  19562. "provinceid": {
  19563. "description": "省",
  19564. "type": "integer"
  19565. },
  19566. "proxystatementurl": {
  19567. "description": "授权委托书",
  19568. "type": "string"
  19569. },
  19570. "qq": {
  19571. "description": "QQ(加密存储",
  19572. "type": "string"
  19573. },
  19574. "referral": {
  19575. "description": "推荐人编码",
  19576. "type": "string"
  19577. },
  19578. "remark": {
  19579. "description": "备注",
  19580. "type": "string"
  19581. },
  19582. "removebeforestatus": {
  19583. "description": "REMOVEBEFORESTATUS",
  19584. "type": "integer"
  19585. },
  19586. "sex": {
  19587. "description": "性别 - 0:女 1:男",
  19588. "type": "integer"
  19589. },
  19590. "signedstatus": {
  19591. "description": "账户一号签签约状态",
  19592. "type": "integer"
  19593. },
  19594. "signpdfurl": {
  19595. "description": "签约pdf文件",
  19596. "type": "string"
  19597. },
  19598. "subbranch": {
  19599. "description": "开户支行",
  19600. "type": "string"
  19601. },
  19602. "taxpayernum": {
  19603. "description": "纳税人识别号",
  19604. "type": "string"
  19605. },
  19606. "telphone": {
  19607. "description": "联系电话(加密存储)",
  19608. "type": "string"
  19609. },
  19610. "userid": {
  19611. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19612. "type": "integer"
  19613. },
  19614. "userinfotype": {
  19615. "description": "用户信息类型 - 1:个人 2:企业",
  19616. "type": "integer"
  19617. },
  19618. "username": {
  19619. "description": "用户姓名",
  19620. "type": "string"
  19621. },
  19622. "userstate": {
  19623. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19624. "type": "integer"
  19625. },
  19626. "usertype": {
  19627. "description": "用户类型 - 1:投资者 2:机构",
  19628. "type": "integer"
  19629. },
  19630. "videourl": {
  19631. "description": "视频地址",
  19632. "type": "string"
  19633. },
  19634. "wechat": {
  19635. "description": "微信号 (加密存储)",
  19636. "type": "string"
  19637. }
  19638. }
  19639. },
  19640. "erms3.QryAuditContractRsp": {
  19641. "type": "object",
  19642. "required": [
  19643. "matchcustomername",
  19644. "spotcontractid"
  19645. ],
  19646. "properties": {
  19647. "accountid": {
  19648. "description": "交易员ID",
  19649. "type": "string"
  19650. },
  19651. "applystatus": {
  19652. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19653. "type": "integer"
  19654. },
  19655. "curdeliveryqty": {
  19656. "description": "未交收量",
  19657. "type": "integer"
  19658. },
  19659. "customername": {
  19660. "description": "采购方ID",
  19661. "type": "string"
  19662. },
  19663. "deliverygoodsid": {
  19664. "description": "品种ID",
  19665. "type": "string"
  19666. },
  19667. "deliveryqty": {
  19668. "description": "交收量",
  19669. "type": "integer"
  19670. },
  19671. "enumdicname": {
  19672. "description": "单位名称",
  19673. "type": "string"
  19674. },
  19675. "matchaccountid": {
  19676. "description": "业务员ID",
  19677. "type": "string"
  19678. },
  19679. "matchcustomername": {
  19680. "description": "销售方ID",
  19681. "type": "string"
  19682. },
  19683. "pricedqty": {
  19684. "description": "定价量",
  19685. "type": "number"
  19686. },
  19687. "signdate": {
  19688. "description": "签订日期",
  19689. "type": "string"
  19690. },
  19691. "spotcontractid": {
  19692. "description": "合同ID",
  19693. "type": "string"
  19694. },
  19695. "totaldqty": {
  19696. "description": "合同量",
  19697. "type": "number"
  19698. },
  19699. "unpricedqty": {
  19700. "description": "未定价量",
  19701. "type": "number"
  19702. },
  19703. "wrstandardname": {
  19704. "description": "商品名称",
  19705. "type": "string"
  19706. }
  19707. }
  19708. },
  19709. "erms3.QryPendingBizRsp": {
  19710. "type": "object",
  19711. "properties": {
  19712. "accountid": {
  19713. "description": "现货账户",
  19714. "type": "string"
  19715. },
  19716. "areaname": {
  19717. "description": "所属部门",
  19718. "type": "string"
  19719. },
  19720. "bizid": {
  19721. "description": "业务ID",
  19722. "type": "string"
  19723. },
  19724. "bizname": {
  19725. "description": "业务名称",
  19726. "type": "string"
  19727. },
  19728. "status": {
  19729. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19730. "type": "integer"
  19731. },
  19732. "type": {
  19733. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19734. "type": "integer"
  19735. }
  19736. }
  19737. },
  19738. "erms3.QueryBusinessInfoRsp": {
  19739. "type": "object",
  19740. "properties": {
  19741. "businessid": {
  19742. "description": "业务ID.",
  19743. "type": "integer"
  19744. },
  19745. "buyamount": {
  19746. "description": "采购额.",
  19747. "type": "number"
  19748. },
  19749. "buyqty": {
  19750. "description": "采购量.",
  19751. "type": "string"
  19752. },
  19753. "futurepl": {
  19754. "description": "期货盈亏.",
  19755. "type": "number"
  19756. },
  19757. "futureqty": {
  19758. "description": "期货敞口.",
  19759. "type": "string"
  19760. },
  19761. "goodsid": {
  19762. "description": "商品名称/商品代码.",
  19763. "type": "string"
  19764. },
  19765. "hedgingqty": {
  19766. "description": "套保量.",
  19767. "type": "string"
  19768. },
  19769. "sellamount": {
  19770. "description": "销售额.",
  19771. "type": "number"
  19772. },
  19773. "sellqty": {
  19774. "description": "销售量.",
  19775. "type": "string"
  19776. },
  19777. "spotmarketvalue": {
  19778. "description": "现货市值.",
  19779. "type": "number"
  19780. },
  19781. "spotpl": {
  19782. "description": "浮动权益.",
  19783. "type": "number"
  19784. },
  19785. "spotqty": {
  19786. "description": "现货量.",
  19787. "type": "string"
  19788. },
  19789. "statu": {
  19790. "description": "状态,0-未结束 1-已结束.",
  19791. "type": "integer"
  19792. },
  19793. "totalpl": {
  19794. "description": "总盈亏.",
  19795. "type": "number"
  19796. },
  19797. "totalqty": {
  19798. "description": "总敞口.",
  19799. "type": "string"
  19800. },
  19801. "type": {
  19802. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  19803. "type": "integer"
  19804. }
  19805. }
  19806. },
  19807. "erms3.QuerySpotContractAppleFormRsp": {
  19808. "type": "object",
  19809. "properties": {
  19810. "goodses": {
  19811. "description": "合约列表",
  19812. "type": "array",
  19813. "items": {
  19814. "$ref": "#/definitions/models.GoodsIDAndName"
  19815. }
  19816. },
  19817. "oppositeusers": {
  19818. "description": "对方账号列表",
  19819. "type": "array",
  19820. "items": {
  19821. "$ref": "#/definitions/erms3.CustomerInfo"
  19822. }
  19823. },
  19824. "ouruser": {
  19825. "description": "我方账号",
  19826. "$ref": "#/definitions/erms3.CustomerInfo"
  19827. },
  19828. "warehouseinfos": {
  19829. "description": "仓库信息列表",
  19830. "type": "array",
  19831. "items": {
  19832. "$ref": "#/definitions/models.Warehouseinfo"
  19833. }
  19834. },
  19835. "wrstandards": {
  19836. "description": "仓单标准列表",
  19837. "type": "array",
  19838. "items": {
  19839. "$ref": "#/definitions/models.WRStandardInfo"
  19840. }
  19841. }
  19842. }
  19843. },
  19844. "erms3.QuerySpotContractInfoRsp": {
  19845. "type": "object",
  19846. "properties": {
  19847. "accountid": {
  19848. "description": "表示交易员ID.",
  19849. "type": "integer"
  19850. },
  19851. "curdeliveryqty": {
  19852. "description": "表示未交收量.",
  19853. "type": "number"
  19854. },
  19855. "customername": {
  19856. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  19857. "type": "string"
  19858. },
  19859. "deliverygoodsid": {
  19860. "description": "表示品种ID.",
  19861. "type": "string"
  19862. },
  19863. "deliveryqty": {
  19864. "description": "表示交收量.",
  19865. "type": "number"
  19866. },
  19867. "matchaccountid": {
  19868. "description": "表示业务员ID.",
  19869. "type": "integer"
  19870. },
  19871. "matchcustomername": {
  19872. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  19873. "type": "string"
  19874. },
  19875. "priceqty": {
  19876. "description": "表示定价量.",
  19877. "type": "number"
  19878. },
  19879. "relatedbizid": {
  19880. "description": "表示业务ID.",
  19881. "type": "string"
  19882. },
  19883. "signdate": {
  19884. "description": "表示签订日期.",
  19885. "type": "string"
  19886. },
  19887. "spotcontractid": {
  19888. "description": "合同ID",
  19889. "type": "string"
  19890. },
  19891. "status": {
  19892. "description": "表示状态,0-履约中 1-已完成.",
  19893. "type": "integer"
  19894. },
  19895. "totalqty": {
  19896. "description": "表示合同量.",
  19897. "type": "number"
  19898. },
  19899. "unpricedqty": {
  19900. "description": "表示未定价量.",
  19901. "type": "number"
  19902. },
  19903. "wrstandardname": {
  19904. "description": "表示商品ID.",
  19905. "type": "string"
  19906. }
  19907. }
  19908. },
  19909. "erms3.QueryUserInfoAppliesRsp": {
  19910. "type": "object",
  19911. "required": [
  19912. "userid"
  19913. ],
  19914. "properties": {
  19915. "biznature": {
  19916. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19917. "type": "integer"
  19918. },
  19919. "contactname": {
  19920. "description": "联系人",
  19921. "type": "string"
  19922. },
  19923. "createtime": {
  19924. "description": "开户申请时间",
  19925. "type": "string"
  19926. },
  19927. "userid": {
  19928. "description": "用户ID(自增ID)",
  19929. "type": "integer"
  19930. },
  19931. "userinfotype": {
  19932. "description": "用户信息类型 - 1:个人 2:企业",
  19933. "type": "integer"
  19934. },
  19935. "username": {
  19936. "description": "用户姓名",
  19937. "type": "string"
  19938. },
  19939. "userstate": {
  19940. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19941. "type": "integer"
  19942. }
  19943. }
  19944. },
  19945. "erms3.QueryUserInfosRsp": {
  19946. "type": "object",
  19947. "required": [
  19948. "userid"
  19949. ],
  19950. "properties": {
  19951. "biznature": {
  19952. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19953. "type": "integer"
  19954. },
  19955. "contactname": {
  19956. "description": "联系人",
  19957. "type": "string"
  19958. },
  19959. "customername": {
  19960. "description": "客户名称(企业名称)",
  19961. "type": "string"
  19962. },
  19963. "userid": {
  19964. "description": "用户ID",
  19965. "type": "integer"
  19966. },
  19967. "userinfotype": {
  19968. "description": "用户信息类型 - 1:个人 2:企业",
  19969. "type": "integer"
  19970. },
  19971. "userstatus": {
  19972. "description": "用户状态 - 1:正常 2:注销",
  19973. "type": "integer"
  19974. }
  19975. }
  19976. },
  19977. "erms3.SoptContractDetail": {
  19978. "type": "object",
  19979. "required": [
  19980. "deliverygoodsid",
  19981. "producttype",
  19982. "unitname",
  19983. "warehouseid",
  19984. "wrstandardid",
  19985. "wrstandardname"
  19986. ],
  19987. "properties": {
  19988. "deliverygoodsdesc": {
  19989. "description": "现货品种说明",
  19990. "type": "string"
  19991. },
  19992. "deliverygoodsid": {
  19993. "description": "现货品种ID",
  19994. "type": "integer"
  19995. },
  19996. "deliverygoodsname": {
  19997. "description": "现货品种名称",
  19998. "type": "string"
  19999. },
  20000. "pointdesc": {
  20001. "description": "点价描述",
  20002. "type": "string"
  20003. },
  20004. "producttype": {
  20005. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20006. "type": "integer"
  20007. },
  20008. "producttypename": {
  20009. "description": "产品类型名称",
  20010. "type": "string"
  20011. },
  20012. "spotPointOrderVoList": {
  20013. "description": "点价列表",
  20014. "type": "array",
  20015. "items": {
  20016. "$ref": "#/definitions/erms3.SpotPointOrder"
  20017. }
  20018. },
  20019. "spotPriceOrderList": {
  20020. "description": "定价列表",
  20021. "type": "array",
  20022. "items": {
  20023. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20024. }
  20025. },
  20026. "unitname": {
  20027. "description": "单位名称",
  20028. "type": "string"
  20029. },
  20030. "warehouseid": {
  20031. "description": "仓库ID",
  20032. "type": "integer"
  20033. },
  20034. "warehousename": {
  20035. "description": "仓库名称",
  20036. "type": "string"
  20037. },
  20038. "wrstandardid": {
  20039. "description": "交易标的ID",
  20040. "type": "integer"
  20041. },
  20042. "wrstandardname": {
  20043. "description": "交易标的名称",
  20044. "type": "string"
  20045. }
  20046. }
  20047. },
  20048. "erms3.SpotPointOrder": {
  20049. "type": "object",
  20050. "required": [
  20051. "basic",
  20052. "goodsid",
  20053. "qty"
  20054. ],
  20055. "properties": {
  20056. "basic": {
  20057. "description": "基差",
  20058. "type": "number"
  20059. },
  20060. "deliveryenddate": {
  20061. "description": "交收结束日期",
  20062. "type": "string"
  20063. },
  20064. "deliverystartdate": {
  20065. "description": "交收开始日期",
  20066. "type": "string"
  20067. },
  20068. "enddate": {
  20069. "description": "点价结束日期",
  20070. "type": "string"
  20071. },
  20072. "goodsid": {
  20073. "description": "商品ID",
  20074. "type": "integer"
  20075. },
  20076. "goodsname": {
  20077. "description": "商品名称",
  20078. "type": "string"
  20079. },
  20080. "qty": {
  20081. "description": "数量",
  20082. "type": "number"
  20083. },
  20084. "startdate": {
  20085. "description": "点价开始日期",
  20086. "type": "string"
  20087. }
  20088. }
  20089. },
  20090. "erms3.SpotPriceOrder": {
  20091. "type": "object",
  20092. "required": [
  20093. "amount",
  20094. "price",
  20095. "qty"
  20096. ],
  20097. "properties": {
  20098. "amount": {
  20099. "description": "金额",
  20100. "type": "number"
  20101. },
  20102. "deliveryenddate": {
  20103. "description": "交收结束日期",
  20104. "type": "string"
  20105. },
  20106. "deliverystartdate": {
  20107. "description": "交收开始日期",
  20108. "type": "string"
  20109. },
  20110. "price": {
  20111. "description": "价格",
  20112. "type": "number"
  20113. },
  20114. "qty": {
  20115. "description": "数量",
  20116. "type": "number"
  20117. }
  20118. }
  20119. },
  20120. "hsby.GetHsbyMyCountRsp": {
  20121. "type": "object",
  20122. "properties": {
  20123. "myCouponCount": {
  20124. "description": "我的优惠卷数量",
  20125. "type": "integer"
  20126. },
  20127. "myOrderDetailListingCount": {
  20128. "description": "我的订单求购中数量",
  20129. "type": "integer"
  20130. },
  20131. "myOrderDetailPreCount": {
  20132. "description": "我的订单抢购中数量",
  20133. "type": "integer"
  20134. },
  20135. "myPackageUnReceiveCount": {
  20136. "description": "我的包裹待收货数量",
  20137. "type": "integer"
  20138. },
  20139. "myPackageUnSendCount": {
  20140. "description": "我的包裹待发货数量",
  20141. "type": "integer"
  20142. },
  20143. "myPayOrderCount": {
  20144. "description": "我的订单待付款数量",
  20145. "type": "integer"
  20146. }
  20147. }
  20148. },
  20149. "hsby.QueryProvincesAndCitiesRsp": {
  20150. "type": "object",
  20151. "properties": {
  20152. "cities": {
  20153. "description": "市",
  20154. "type": "array",
  20155. "items": {
  20156. "$ref": "#/definitions/models.Division"
  20157. }
  20158. },
  20159. "province": {
  20160. "description": "省",
  20161. "$ref": "#/definitions/models.Division"
  20162. }
  20163. }
  20164. },
  20165. "models.Arearole": {
  20166. "type": "object",
  20167. "required": [
  20168. "roletype",
  20169. "userid"
  20170. ],
  20171. "properties": {
  20172. "createtime": {
  20173. "description": "创建时间",
  20174. "type": "string"
  20175. },
  20176. "creatorid": {
  20177. "description": "创建人ID",
  20178. "type": "integer"
  20179. },
  20180. "fromuserid": {
  20181. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20182. "type": "integer"
  20183. },
  20184. "isreturnscore": {
  20185. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20186. "type": "integer"
  20187. },
  20188. "modifierid": {
  20189. "description": "修改人ID",
  20190. "type": "integer"
  20191. },
  20192. "modifytime": {
  20193. "description": "修改时间",
  20194. "type": "string"
  20195. },
  20196. "orgtype": {
  20197. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  20198. "type": "integer"
  20199. },
  20200. "outuserid": {
  20201. "description": "外部账户[场外期权做市商]",
  20202. "type": "string"
  20203. },
  20204. "parentuserid": {
  20205. "description": "上级组织机构(组织机构)",
  20206. "type": "integer"
  20207. },
  20208. "roletype": {
  20209. "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:门店",
  20210. "type": "integer"
  20211. },
  20212. "rootuserid": {
  20213. "description": "顶级组织机构用户ID(组织机构)",
  20214. "type": "integer"
  20215. },
  20216. "shoppassword": {
  20217. "description": "商城店铺登陆密码(商城店铺角色使用)",
  20218. "type": "string"
  20219. },
  20220. "sublevelpath": {
  20221. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  20222. "type": "string"
  20223. },
  20224. "suborgtype": {
  20225. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20226. "type": "integer"
  20227. },
  20228. "tradeaccountid": {
  20229. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  20230. "type": "integer"
  20231. },
  20232. "transurl": {
  20233. "description": "物流地址(物流机构)",
  20234. "type": "string"
  20235. },
  20236. "userid": {
  20237. "description": "机构用户ID其他做市关系,都设置为 1",
  20238. "type": "integer"
  20239. }
  20240. }
  20241. },
  20242. "models.Clientfixedadconfig": {
  20243. "type": "object",
  20244. "required": [
  20245. "adsort",
  20246. "adtype"
  20247. ],
  20248. "properties": {
  20249. "adsort": {
  20250. "description": "排序",
  20251. "type": "integer"
  20252. },
  20253. "adtype": {
  20254. "description": "广告位类型 - 1:新品抢购(HSBY)",
  20255. "type": "integer"
  20256. },
  20257. "areauserid": {
  20258. "description": "所属机构ID",
  20259. "type": "integer"
  20260. },
  20261. "createdate": {
  20262. "description": "创建时间",
  20263. "type": "string"
  20264. },
  20265. "creatorid": {
  20266. "description": "创建人",
  20267. "type": "integer"
  20268. },
  20269. "imagepath": {
  20270. "description": "图片",
  20271. "type": "string"
  20272. },
  20273. "isshow": {
  20274. "description": "是否展示 - 0:不展示 1:展示",
  20275. "type": "integer"
  20276. },
  20277. "modifierid": {
  20278. "description": "操作人",
  20279. "type": "integer"
  20280. },
  20281. "recsize": {
  20282. "description": "推荐尺寸",
  20283. "type": "string"
  20284. },
  20285. "title": {
  20286. "description": "标题",
  20287. "type": "string"
  20288. },
  20289. "updatedate": {
  20290. "description": "更新时间",
  20291. "type": "string"
  20292. },
  20293. "urlcontent": {
  20294. "description": "链接(地址或商品ID)",
  20295. "type": "string"
  20296. },
  20297. "urltype": {
  20298. "description": "链接类型 - 1:直接地址 2:商品ID",
  20299. "type": "integer"
  20300. }
  20301. }
  20302. },
  20303. "models.DgFactoryItem": {
  20304. "type": "object",
  20305. "properties": {
  20306. "dgfactoryitemid": {
  20307. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20308. "type": "integer"
  20309. },
  20310. "dgfactoryitemtypeid": {
  20311. "description": "要素项类型",
  20312. "type": "integer"
  20313. },
  20314. "dgfactoryitemvalue": {
  20315. "description": "要素项值(类型为仓库时填写仓库名称)",
  20316. "type": "string"
  20317. },
  20318. "orderindex": {
  20319. "description": "顺序",
  20320. "type": "integer"
  20321. }
  20322. }
  20323. },
  20324. "models.Division": {
  20325. "type": "object",
  20326. "required": [
  20327. "autoid",
  20328. "divisioncode"
  20329. ],
  20330. "properties": {
  20331. "autoid": {
  20332. "description": "自增ID",
  20333. "type": "integer"
  20334. },
  20335. "divisioncode": {
  20336. "description": "行政代码",
  20337. "type": "string"
  20338. },
  20339. "divisionlevel": {
  20340. "description": "行政级别",
  20341. "type": "string"
  20342. },
  20343. "divisionname": {
  20344. "description": "行政名称",
  20345. "type": "string"
  20346. },
  20347. "modifierid": {
  20348. "description": "修改人",
  20349. "type": "integer"
  20350. },
  20351. "modifytime": {
  20352. "description": "修改时间",
  20353. "type": "string"
  20354. },
  20355. "parentcode": {
  20356. "description": "上级行政代码",
  20357. "type": "string"
  20358. },
  20359. "pathname": {
  20360. "description": "路径名称",
  20361. "type": "string"
  20362. },
  20363. "postcode": {
  20364. "description": "邮政编码",
  20365. "type": "string"
  20366. },
  20367. "separablename": {
  20368. "description": "可拆分的全称",
  20369. "type": "string"
  20370. },
  20371. "shortcode": {
  20372. "description": "地区简码",
  20373. "type": "string"
  20374. }
  20375. }
  20376. },
  20377. "models.Enumdicitem": {
  20378. "type": "object",
  20379. "required": [
  20380. "autoid",
  20381. "enumdiccode",
  20382. "enumdicid",
  20383. "enumitemname"
  20384. ],
  20385. "properties": {
  20386. "autoid": {
  20387. "description": "自增ID",
  20388. "type": "integer"
  20389. },
  20390. "bankmappedvalue": {
  20391. "description": "银行服务对应值",
  20392. "type": "string"
  20393. },
  20394. "enumdiccode": {
  20395. "description": "所属枚举代码",
  20396. "type": "string"
  20397. },
  20398. "enumdicid": {
  20399. "description": "所属枚举ID",
  20400. "type": "integer"
  20401. },
  20402. "enumdicname": {
  20403. "description": "枚举项名称",
  20404. "type": "string"
  20405. },
  20406. "enumitemname": {
  20407. "description": "枚举项值",
  20408. "type": "integer"
  20409. },
  20410. "enumitemstatus": {
  20411. "description": "枚举项状态 - 1.启用 2.不启用",
  20412. "type": "integer"
  20413. },
  20414. "enumitemvalue": {
  20415. "description": "通用值 - [币种通用简写]",
  20416. "type": "string"
  20417. },
  20418. "param1": {
  20419. "description": "参数1[币种:币种小数位]",
  20420. "type": "string"
  20421. },
  20422. "param2": {
  20423. "description": "参数1[币种:币种显示单位]",
  20424. "type": "string"
  20425. },
  20426. "remark": {
  20427. "description": "备注",
  20428. "type": "string"
  20429. }
  20430. }
  20431. },
  20432. "models.Ermcp2hedgeditem": {
  20433. "type": "object",
  20434. "properties": {
  20435. "accountName": {
  20436. "description": "套期主体",
  20437. "type": "string"
  20438. },
  20439. "applyid": {
  20440. "description": "申请人",
  20441. "type": "integer"
  20442. },
  20443. "applysrc": {
  20444. "description": "申请来源 - 1:管理端 2:终端",
  20445. "type": "integer"
  20446. },
  20447. "areauserid": {
  20448. "description": "企业ID",
  20449. "type": "integer"
  20450. },
  20451. "auditid": {
  20452. "description": "审核人",
  20453. "type": "integer"
  20454. },
  20455. "auditremark": {
  20456. "description": "审核备注",
  20457. "type": "string"
  20458. },
  20459. "auditsrc": {
  20460. "description": "审核来源 - 1:管理端 2:终端",
  20461. "type": "integer"
  20462. },
  20463. "audittime": {
  20464. "description": "审核时间",
  20465. "type": "string"
  20466. },
  20467. "audittradedate": {
  20468. "description": "审核交易日(yyyyMMdd)",
  20469. "type": "string"
  20470. },
  20471. "createtime": {
  20472. "description": "申请时间",
  20473. "type": "string"
  20474. },
  20475. "curprice": {
  20476. "description": "当前市场价",
  20477. "type": "number"
  20478. },
  20479. "curstock": {
  20480. "description": "期末库存量 = 采购总量 - 销售总量",
  20481. "type": "number"
  20482. },
  20483. "deliverygoodsid": {
  20484. "description": "现货品种ID",
  20485. "type": "integer"
  20486. },
  20487. "enddate": {
  20488. "description": "完成日期",
  20489. "type": "string"
  20490. },
  20491. "endtradedate": {
  20492. "description": "完成交易日",
  20493. "type": "string"
  20494. },
  20495. "enumdicname": {
  20496. "description": "单位",
  20497. "type": "string"
  20498. },
  20499. "exeamount": {
  20500. "description": "执行市价总额",
  20501. "type": "number"
  20502. },
  20503. "exeavgprice": {
  20504. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  20505. "type": "number"
  20506. },
  20507. "execontractamount": {
  20508. "description": "执行定价总额",
  20509. "type": "number"
  20510. },
  20511. "exeqty": {
  20512. "description": "执行现货量",
  20513. "type": "number"
  20514. },
  20515. "exerestamount": {
  20516. "description": "执行剩余市价总额【现货贸易】",
  20517. "type": "number"
  20518. },
  20519. "futurefloatpl": {
  20520. "description": "期货浮动损益",
  20521. "type": "number"
  20522. },
  20523. "futurehedgepl": {
  20524. "description": "期货实际损益",
  20525. "type": "number"
  20526. },
  20527. "futurehedgeplchange": {
  20528. "description": "期货实际损益变动",
  20529. "type": "number"
  20530. },
  20531. "futurepl": {
  20532. "description": "期货套期损益",
  20533. "type": "number"
  20534. },
  20535. "futureplchange": {
  20536. "description": "期货套期损益变动",
  20537. "type": "number"
  20538. },
  20539. "hedgeamount": {
  20540. "description": "套期市价总额",
  20541. "type": "number"
  20542. },
  20543. "hedgecontractamount": {
  20544. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  20545. "type": "number"
  20546. },
  20547. "hedgeditemid": {
  20548. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  20549. "type": "string"
  20550. },
  20551. "hedgeditemname": {
  20552. "description": "项目名称",
  20553. "type": "string"
  20554. },
  20555. "hedgeditemnum": {
  20556. "description": "项目编号",
  20557. "type": "string"
  20558. },
  20559. "hedgeditemstatus": {
  20560. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20561. "type": "integer"
  20562. },
  20563. "hedgedtype": {
  20564. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  20565. "type": "integer"
  20566. },
  20567. "hedgeqty": {
  20568. "description": "套期现货量",
  20569. "type": "number"
  20570. },
  20571. "hedgerate": {
  20572. "description": "套保比率",
  20573. "type": "number"
  20574. },
  20575. "hedgerestamount": {
  20576. "description": "套期剩余市价总额【现货贸易】",
  20577. "type": "number"
  20578. },
  20579. "hedgesumpl": {
  20580. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  20581. "type": "number"
  20582. },
  20583. "middlegoodslist": {
  20584. "description": "套期商品列表",
  20585. "type": "array",
  20586. "items": {
  20587. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  20588. }
  20589. },
  20590. "oriavgprice": {
  20591. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  20592. "type": "number"
  20593. },
  20594. "orifuturehedgepl": {
  20595. "description": "期初期货实际损益",
  20596. "type": "number"
  20597. },
  20598. "orifuturepl": {
  20599. "description": "期初期货套期损益",
  20600. "type": "number"
  20601. },
  20602. "orispothedgepl": {
  20603. "description": "期初现货实际损益",
  20604. "type": "number"
  20605. },
  20606. "orispotpl": {
  20607. "description": "期初现货套期损益",
  20608. "type": "number"
  20609. },
  20610. "planenddate": {
  20611. "description": "计划结束日期",
  20612. "type": "string"
  20613. },
  20614. "planstartdate": {
  20615. "description": "计划开始日期",
  20616. "type": "string"
  20617. },
  20618. "remark": {
  20619. "description": "备注",
  20620. "type": "string"
  20621. },
  20622. "spotbookamount": {
  20623. "description": "现货账面总额",
  20624. "type": "number"
  20625. },
  20626. "spotfloatpl": {
  20627. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  20628. "type": "number"
  20629. },
  20630. "spothedgepl": {
  20631. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  20632. "type": "number"
  20633. },
  20634. "spothedgeplchange": {
  20635. "description": "现货实际损益变动",
  20636. "type": "number"
  20637. },
  20638. "spotpl": {
  20639. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  20640. "type": "number"
  20641. },
  20642. "spotplchange": {
  20643. "description": "现货套期损益变动",
  20644. "type": "number"
  20645. },
  20646. "spottradepl": {
  20647. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  20648. "type": "number"
  20649. },
  20650. "sumobspl": {
  20651. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  20652. "type": "number"
  20653. },
  20654. "tradeuserid": {
  20655. "description": "交易用户ID",
  20656. "type": "integer"
  20657. },
  20658. "unexeqty": {
  20659. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  20660. "type": "number"
  20661. },
  20662. "updatetime": {
  20663. "description": "更新时间",
  20664. "type": "string"
  20665. },
  20666. "vatpl": {
  20667. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  20668. "type": "number"
  20669. },
  20670. "vatrate": {
  20671. "description": "增值税",
  20672. "type": "number"
  20673. },
  20674. "wrstandardid": {
  20675. "description": "现货商品ID",
  20676. "type": "integer"
  20677. },
  20678. "wrstandardname": {
  20679. "description": "商品名称",
  20680. "type": "string"
  20681. }
  20682. }
  20683. },
  20684. "models.Ermcp2hedgeditemspot": {
  20685. "type": "object",
  20686. "required": [
  20687. "hedgeditemid"
  20688. ],
  20689. "properties": {
  20690. "areauserid": {
  20691. "description": "企业ID",
  20692. "type": "integer"
  20693. },
  20694. "createtime": {
  20695. "description": "创建时间",
  20696. "type": "string"
  20697. },
  20698. "customeruserid": {
  20699. "description": "对手方 【3:采购合同 4:销售合同】",
  20700. "type": "integer"
  20701. },
  20702. "deliverygoodsid": {
  20703. "description": "现货品种ID",
  20704. "type": "integer"
  20705. },
  20706. "enumdicname": {
  20707. "description": "单位",
  20708. "type": "string"
  20709. },
  20710. "hedgeditemid": {
  20711. "description": "被套期项目ID",
  20712. "type": "string"
  20713. },
  20714. "hedgeditemspotid": {
  20715. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  20716. "type": "string"
  20717. },
  20718. "hedgedtype": {
  20719. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  20720. "type": "integer"
  20721. },
  20722. "hedgeplanno": {
  20723. "description": "计划编号",
  20724. "type": "string"
  20725. },
  20726. "oriavgprice": {
  20727. "description": "期初市场价[当初市场价]",
  20728. "type": "number"
  20729. },
  20730. "relatedamount": {
  20731. "description": "市价总额 = 关联数量 * 期初市场价",
  20732. "type": "number"
  20733. },
  20734. "relatedhedgeplanid": {
  20735. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  20736. "type": "integer"
  20737. },
  20738. "relatedqty": {
  20739. "description": "关联数量[数量]",
  20740. "type": "number"
  20741. },
  20742. "relatedspotcontractid": {
  20743. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  20744. "type": "integer"
  20745. },
  20746. "relatedtype": {
  20747. "description": "关联类型 - 1:套期关联 2:执行关联",
  20748. "type": "integer"
  20749. },
  20750. "spotgoodsbrandid": {
  20751. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  20752. "type": "integer"
  20753. },
  20754. "spotpricedamount": {
  20755. "description": "定价总额",
  20756. "type": "number"
  20757. },
  20758. "spotpricedavgprice": {
  20759. "description": "现货均价 = 定价总额 / 关联数量",
  20760. "type": "number"
  20761. },
  20762. "spottype": {
  20763. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  20764. "type": "integer"
  20765. },
  20766. "tradeuserid": {
  20767. "description": "交易用户ID",
  20768. "type": "integer"
  20769. },
  20770. "wrstandardid": {
  20771. "description": "现货商品ID",
  20772. "type": "integer"
  20773. },
  20774. "wrstandardname": {
  20775. "description": "现货商品",
  20776. "type": "string"
  20777. }
  20778. }
  20779. },
  20780. "models.Ermcp2hedgeditemspotDetail": {
  20781. "type": "object",
  20782. "required": [
  20783. "hedgeditemid"
  20784. ],
  20785. "properties": {
  20786. "accountName": {
  20787. "description": "对手方",
  20788. "type": "string"
  20789. },
  20790. "areauserid": {
  20791. "description": "企业ID",
  20792. "type": "integer"
  20793. },
  20794. "brandname": {
  20795. "description": "品牌",
  20796. "type": "string"
  20797. },
  20798. "contractno": {
  20799. "description": "合同编号",
  20800. "type": "string"
  20801. },
  20802. "createtime": {
  20803. "description": "创建时间",
  20804. "type": "string"
  20805. },
  20806. "customeruserid": {
  20807. "description": "对手方 【3:采购合同 4:销售合同】",
  20808. "type": "integer"
  20809. },
  20810. "deliverygoodsid": {
  20811. "description": "现货品种ID",
  20812. "type": "integer"
  20813. },
  20814. "enumdicname": {
  20815. "description": "单位",
  20816. "type": "string"
  20817. },
  20818. "hedgeditemid": {
  20819. "description": "被套期项目ID",
  20820. "type": "string"
  20821. },
  20822. "hedgeditemspotid": {
  20823. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  20824. "type": "string"
  20825. },
  20826. "hedgedtype": {
  20827. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  20828. "type": "integer"
  20829. },
  20830. "oriavgprice": {
  20831. "description": "期初市场价[当初市场价]",
  20832. "type": "number"
  20833. },
  20834. "relatedamount": {
  20835. "description": "市价总额 = 关联数量 * 期初市场价",
  20836. "type": "number"
  20837. },
  20838. "relatedhedgeplanid": {
  20839. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  20840. "type": "integer"
  20841. },
  20842. "relatedqty": {
  20843. "description": "关联数量[数量]",
  20844. "type": "number"
  20845. },
  20846. "relatedspotcontractid": {
  20847. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  20848. "type": "integer"
  20849. },
  20850. "relatedtype": {
  20851. "description": "关联类型 - 1:套期关联 2:执行关联",
  20852. "type": "integer"
  20853. },
  20854. "spotgoodsbrandid": {
  20855. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  20856. "type": "integer"
  20857. },
  20858. "spotpricedamount": {
  20859. "description": "定价总额[金额]",
  20860. "type": "number"
  20861. },
  20862. "spotpricedavgprice": {
  20863. "description": "现货均价 = 定价总额 / 关联数量",
  20864. "type": "number"
  20865. },
  20866. "spottype": {
  20867. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  20868. "type": "integer"
  20869. },
  20870. "tradeuserid": {
  20871. "description": "交易用户ID",
  20872. "type": "integer"
  20873. },
  20874. "wrstandardid": {
  20875. "description": "现货商品ID",
  20876. "type": "integer"
  20877. },
  20878. "wrstandardname": {
  20879. "description": "现货商品",
  20880. "type": "string"
  20881. }
  20882. }
  20883. },
  20884. "models.Ermcp2himiddlegoods": {
  20885. "type": "object",
  20886. "required": [
  20887. "hedgeditemid",
  20888. "middlegoodsid"
  20889. ],
  20890. "properties": {
  20891. "futurehedgeqty": {
  20892. "description": "期货持仓套期量",
  20893. "type": "number"
  20894. },
  20895. "hedgeditemid": {
  20896. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  20897. "type": "integer"
  20898. },
  20899. "hiexpsoure": {
  20900. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  20901. "type": "number"
  20902. },
  20903. "middlegoodscode": {
  20904. "description": "套保商品代码",
  20905. "type": "string"
  20906. },
  20907. "middlegoodsid": {
  20908. "description": "套保品种ID",
  20909. "type": "integer"
  20910. },
  20911. "middlegoodsname": {
  20912. "description": "套保商品名称",
  20913. "type": "string"
  20914. },
  20915. "unexehedgeqty": {
  20916. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  20917. "type": "number"
  20918. }
  20919. }
  20920. },
  20921. "models.Ermcp3AreaSpot": {
  20922. "type": "object",
  20923. "properties": {
  20924. "areauserid": {
  20925. "description": "所属机构",
  20926. "type": "integer"
  20927. },
  20928. "convertratio": {
  20929. "description": "套保系数",
  20930. "type": "number"
  20931. },
  20932. "decreaseqty": {
  20933. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  20934. "type": "number"
  20935. },
  20936. "enumdicname": {
  20937. "description": "单位名称",
  20938. "type": "string"
  20939. },
  20940. "increaseqty": {
  20941. "description": "增加数量=销售计划数量+采购已定价数量",
  20942. "type": "number"
  20943. },
  20944. "oritoalspotqty": {
  20945. "description": "昨日数量",
  20946. "type": "number"
  20947. },
  20948. "totalspotqty": {
  20949. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  20950. "type": "number"
  20951. },
  20952. "unitid": {
  20953. "description": "现货商品单位id",
  20954. "type": "integer"
  20955. },
  20956. "updatetime": {
  20957. "description": "更新时间",
  20958. "type": "string"
  20959. },
  20960. "wrstandardcode": {
  20961. "description": "现货商品代码",
  20962. "type": "string"
  20963. },
  20964. "wrstandardid": {
  20965. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20966. "type": "integer"
  20967. },
  20968. "wrstandardname": {
  20969. "description": "现货商品名称",
  20970. "type": "string"
  20971. }
  20972. }
  20973. },
  20974. "models.Ermcp3AreaSpotDetail": {
  20975. "type": "object",
  20976. "properties": {
  20977. "contracttype": {
  20978. "description": "合同类型 1-采购 -1-销售",
  20979. "type": "integer"
  20980. },
  20981. "createtime": {
  20982. "description": "创建时间",
  20983. "type": "string"
  20984. },
  20985. "enumdicname": {
  20986. "description": "现货商品单位名称",
  20987. "type": "string"
  20988. },
  20989. "logtype": {
  20990. "description": "记录类型 1-套保 2-现货合同",
  20991. "type": "integer"
  20992. },
  20993. "qty": {
  20994. "description": "数量",
  20995. "type": "number"
  20996. },
  20997. "recordname": {
  20998. "description": "类型名称",
  20999. "type": "string"
  21000. },
  21001. "relatedid": {
  21002. "description": "套保计划ID/现货合同ID",
  21003. "type": "string"
  21004. },
  21005. "relatedno": {
  21006. "description": "编号",
  21007. "type": "string"
  21008. },
  21009. "strtime": {
  21010. "description": "时间",
  21011. "type": "string"
  21012. },
  21013. "wrstandardcode": {
  21014. "description": "现货商品代码",
  21015. "type": "string"
  21016. },
  21017. "wrstandardid": {
  21018. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21019. "type": "integer"
  21020. },
  21021. "wrstandardname": {
  21022. "description": "现货商品名称",
  21023. "type": "string"
  21024. }
  21025. }
  21026. },
  21027. "models.Ermcp3AreaSpotPLReport": {
  21028. "type": "object",
  21029. "properties": {
  21030. "accountid": {
  21031. "description": "期货账户ID (作废, 默认为0)",
  21032. "type": "integer"
  21033. },
  21034. "accountname": {
  21035. "description": "机构名称",
  21036. "type": "string"
  21037. },
  21038. "actualpl": {
  21039. "description": "现货损益",
  21040. "type": "number"
  21041. },
  21042. "areauserid": {
  21043. "description": "所属机构\\交易用户ID",
  21044. "type": "integer"
  21045. },
  21046. "begindate": {
  21047. "description": "开始交易日",
  21048. "type": "string"
  21049. },
  21050. "biztype": {
  21051. "description": "业务类型 - 1:套保 2:套利",
  21052. "type": "integer"
  21053. },
  21054. "brandname": {
  21055. "description": "品牌名称",
  21056. "type": "string"
  21057. },
  21058. "curamount": {
  21059. "description": "期末额",
  21060. "type": "number"
  21061. },
  21062. "curaverageprice": {
  21063. "description": "期末均价",
  21064. "type": "number"
  21065. },
  21066. "curbuyamount": {
  21067. "description": "期末采购总额",
  21068. "type": "number"
  21069. },
  21070. "curbuyqty": {
  21071. "description": "期末采购总量",
  21072. "type": "number"
  21073. },
  21074. "curmarketvalue": {
  21075. "description": "参考市值(期末市值)",
  21076. "type": "number"
  21077. },
  21078. "curqty": {
  21079. "description": "期末量",
  21080. "type": "number"
  21081. },
  21082. "currencyid": {
  21083. "description": "结算币种ID【原值】",
  21084. "type": "integer"
  21085. },
  21086. "currencyname": {
  21087. "description": "币种名称",
  21088. "type": "string"
  21089. },
  21090. "cursellamount": {
  21091. "description": "期末销售总额",
  21092. "type": "number"
  21093. },
  21094. "cursellqty": {
  21095. "description": "期末销售总量",
  21096. "type": "number"
  21097. },
  21098. "curspotprice": {
  21099. "description": "参考市价(最新价)",
  21100. "type": "number"
  21101. },
  21102. "cycletime": {
  21103. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21104. "type": "string"
  21105. },
  21106. "cycletype": {
  21107. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21108. "type": "integer"
  21109. },
  21110. "deliverygoodscode": {
  21111. "description": "现货品种代码",
  21112. "type": "string"
  21113. },
  21114. "deliverygoodsid": {
  21115. "description": "现货品种ID",
  21116. "type": "integer"
  21117. },
  21118. "deliverygoodsname": {
  21119. "description": "现货品种名称",
  21120. "type": "string"
  21121. },
  21122. "enddate": {
  21123. "description": "结束交易日",
  21124. "type": "string"
  21125. },
  21126. "enumdicname": {
  21127. "description": "现货品种单位名称(作废)",
  21128. "type": "string"
  21129. },
  21130. "floatpl": {
  21131. "description": "浮动损益",
  21132. "type": "number"
  21133. },
  21134. "goodsunitid": {
  21135. "description": "现货品种单位id(作废)",
  21136. "type": "integer"
  21137. },
  21138. "oriamount": {
  21139. "description": "期初额",
  21140. "type": "number"
  21141. },
  21142. "oriaverageprice": {
  21143. "description": "期初均价",
  21144. "type": "number"
  21145. },
  21146. "oribuyamount": {
  21147. "description": "期初采购总额",
  21148. "type": "number"
  21149. },
  21150. "oribuyqty": {
  21151. "description": "期初采购总量",
  21152. "type": "number"
  21153. },
  21154. "oriqty": {
  21155. "description": "期初量",
  21156. "type": "number"
  21157. },
  21158. "orisellamount": {
  21159. "description": "期初销售总额",
  21160. "type": "number"
  21161. },
  21162. "orisellqty": {
  21163. "description": "期初销售总量",
  21164. "type": "number"
  21165. },
  21166. "reckondate": {
  21167. "description": "日照时期(yyyyMMdd)",
  21168. "type": "string"
  21169. },
  21170. "spotgoodsbrandid": {
  21171. "description": "现货品牌ID",
  21172. "type": "integer"
  21173. },
  21174. "todaybuyamount": {
  21175. "description": "今日采购额(今采购额)",
  21176. "type": "number"
  21177. },
  21178. "todaybuyaverageprice": {
  21179. "description": "今日采购均价",
  21180. "type": "number"
  21181. },
  21182. "todaybuyqty": {
  21183. "description": "今日采购量(今采购量)",
  21184. "type": "number"
  21185. },
  21186. "todayinqty": {
  21187. "description": "今日入库量(今入库量)",
  21188. "type": "number"
  21189. },
  21190. "todayoutqty": {
  21191. "description": "今日出库量(今出库量)",
  21192. "type": "number"
  21193. },
  21194. "todaysellamount": {
  21195. "description": "今日销售额(今销售额)",
  21196. "type": "number"
  21197. },
  21198. "todaysellaverageprice": {
  21199. "description": "今日销售均价",
  21200. "type": "number"
  21201. },
  21202. "todaysellqty": {
  21203. "description": "今日销售量(今销售量)",
  21204. "type": "number"
  21205. },
  21206. "unitid": {
  21207. "description": "品类单位id",
  21208. "type": "integer"
  21209. },
  21210. "unitidname": {
  21211. "description": "品类单位名称",
  21212. "type": "string"
  21213. },
  21214. "updatetime": {
  21215. "description": "更新时间",
  21216. "type": "string"
  21217. },
  21218. "wrfactortypeid": {
  21219. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21220. "type": "integer"
  21221. },
  21222. "wrstandardcode": {
  21223. "description": "现货商品(品类)代码",
  21224. "type": "string"
  21225. },
  21226. "wrstandardid": {
  21227. "description": "现货品类ID",
  21228. "type": "integer"
  21229. },
  21230. "wrstandardname": {
  21231. "description": "现货商品(品类)名称",
  21232. "type": "string"
  21233. }
  21234. }
  21235. },
  21236. "models.Ermcp3AreaStock": {
  21237. "type": "object",
  21238. "required": [
  21239. "userid"
  21240. ],
  21241. "properties": {
  21242. "brandname": {
  21243. "description": "品牌名称",
  21244. "type": "string"
  21245. },
  21246. "curstock": {
  21247. "description": "期末库存量(今日量)",
  21248. "type": "number"
  21249. },
  21250. "deliverygoodscode": {
  21251. "description": "现货品种代码",
  21252. "type": "string"
  21253. },
  21254. "deliverygoodsid": {
  21255. "description": "现货品种id",
  21256. "type": "integer"
  21257. },
  21258. "deliverygoodsname": {
  21259. "description": "现货品种名称",
  21260. "type": "string"
  21261. },
  21262. "enumdicname": {
  21263. "description": "单位名称",
  21264. "type": "string"
  21265. },
  21266. "goodsunitid": {
  21267. "description": "现货商品单位id",
  21268. "type": "integer"
  21269. },
  21270. "oristock": {
  21271. "description": "期初库存量(昨日量)",
  21272. "type": "number"
  21273. },
  21274. "spotgoodsbrandid": {
  21275. "description": "现货品牌ID",
  21276. "type": "integer"
  21277. },
  21278. "todaybuyinqty": {
  21279. "description": "今日采购入库量",
  21280. "type": "number"
  21281. },
  21282. "todayproduceinqty": {
  21283. "description": "今日生产入库量",
  21284. "type": "number"
  21285. },
  21286. "todayproduceoutqty": {
  21287. "description": "今日生产出库量",
  21288. "type": "number"
  21289. },
  21290. "todayselloutqty": {
  21291. "description": "今日销售出库量",
  21292. "type": "number"
  21293. },
  21294. "unitid": {
  21295. "description": "单位id",
  21296. "type": "integer"
  21297. },
  21298. "updatetime": {
  21299. "description": "更新时间",
  21300. "type": "string"
  21301. },
  21302. "userid": {
  21303. "description": "机构ID",
  21304. "type": "integer"
  21305. },
  21306. "username": {
  21307. "description": "机构名称",
  21308. "type": "string"
  21309. },
  21310. "warehousecode": {
  21311. "description": "仓库代码",
  21312. "type": "string"
  21313. },
  21314. "warehouseinfoid": {
  21315. "description": "仓库ID",
  21316. "type": "string"
  21317. },
  21318. "warehousename": {
  21319. "description": "仓库名称",
  21320. "type": "string"
  21321. },
  21322. "warehousetype": {
  21323. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21324. "type": "integer"
  21325. },
  21326. "wrstandardcode": {
  21327. "description": "品类代码",
  21328. "type": "string"
  21329. },
  21330. "wrstandardid": {
  21331. "description": "品类ID",
  21332. "type": "string"
  21333. },
  21334. "wrstandardname": {
  21335. "description": "品类名称",
  21336. "type": "string"
  21337. }
  21338. }
  21339. },
  21340. "models.Ermcp3AreaStockApply": {
  21341. "type": "object",
  21342. "properties": {
  21343. "applyid": {
  21344. "description": "申请人",
  21345. "type": "integer"
  21346. },
  21347. "applyname": {
  21348. "description": "申请人名称",
  21349. "type": "string"
  21350. },
  21351. "applyremark": {
  21352. "description": "申请备注",
  21353. "type": "string"
  21354. },
  21355. "applysrc": {
  21356. "description": "申请来源 - 1:管理端 2:终端",
  21357. "type": "integer"
  21358. },
  21359. "applystatus": {
  21360. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21361. "type": "integer"
  21362. },
  21363. "applytime": {
  21364. "description": "申请时间",
  21365. "type": "string"
  21366. },
  21367. "auditid": {
  21368. "description": "审核人",
  21369. "type": "integer"
  21370. },
  21371. "auditname": {
  21372. "description": "审核人名称",
  21373. "type": "string"
  21374. },
  21375. "auditremark": {
  21376. "description": "审核备注",
  21377. "type": "string"
  21378. },
  21379. "auditsrc": {
  21380. "description": "审核来源 - 1:管理端 2:终端",
  21381. "type": "integer"
  21382. },
  21383. "audittime": {
  21384. "description": "审核时间",
  21385. "type": "string"
  21386. },
  21387. "audittradedate": {
  21388. "description": "审核交易日(yyyyMMdd)",
  21389. "type": "string"
  21390. },
  21391. "brandname": {
  21392. "description": "品牌名称",
  21393. "type": "string"
  21394. },
  21395. "buynickname": {
  21396. "description": "采购方昵称",
  21397. "type": "string"
  21398. },
  21399. "buyuserid": {
  21400. "description": "采购方userid",
  21401. "type": "integer"
  21402. },
  21403. "buyusername": {
  21404. "description": "采购方名称",
  21405. "type": "string"
  21406. },
  21407. "contractno": {
  21408. "description": "合同编号",
  21409. "type": "string"
  21410. },
  21411. "contractqty": {
  21412. "description": "合同量",
  21413. "type": "number"
  21414. },
  21415. "contracttype": {
  21416. "description": "现货合同类型 - 1:采购 -1:销售",
  21417. "type": "integer"
  21418. },
  21419. "deliverygoodscode": {
  21420. "description": "现货品种代码",
  21421. "type": "string"
  21422. },
  21423. "deliverygoodsid": {
  21424. "description": "现货品种id",
  21425. "type": "integer"
  21426. },
  21427. "deliverygoodsname": {
  21428. "description": "现货品种名称",
  21429. "type": "string"
  21430. },
  21431. "detailjson": {
  21432. "description": "明细数据",
  21433. "type": "string"
  21434. },
  21435. "enumdicname": {
  21436. "description": "现货商品单位名称",
  21437. "type": "string"
  21438. },
  21439. "inoutapplyid": {
  21440. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  21441. "type": "string"
  21442. },
  21443. "inouttype": {
  21444. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  21445. "type": "integer"
  21446. },
  21447. "pricetype": {
  21448. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21449. "type": "integer"
  21450. },
  21451. "qty": {
  21452. "description": "数量",
  21453. "type": "number"
  21454. },
  21455. "sellnickname": {
  21456. "description": "销售方昵称",
  21457. "type": "string"
  21458. },
  21459. "selluserid": {
  21460. "description": "销售方userid",
  21461. "type": "integer"
  21462. },
  21463. "sellusername": {
  21464. "description": "销售方名称",
  21465. "type": "string"
  21466. },
  21467. "spotcontractid": {
  21468. "description": "关联现货合同ID",
  21469. "type": "string"
  21470. },
  21471. "spotgoodsbrandid": {
  21472. "description": "现货品牌ID",
  21473. "type": "integer"
  21474. },
  21475. "unitid": {
  21476. "description": "单位id",
  21477. "type": "integer"
  21478. },
  21479. "userid": {
  21480. "description": "机构ID",
  21481. "type": "integer"
  21482. },
  21483. "warehousecode": {
  21484. "description": "仓库代码",
  21485. "type": "string"
  21486. },
  21487. "warehouseinfoid": {
  21488. "description": "现货仓库ID",
  21489. "type": "string"
  21490. },
  21491. "warehousename": {
  21492. "description": "仓库名称",
  21493. "type": "string"
  21494. },
  21495. "warehousetype": {
  21496. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21497. "type": "integer"
  21498. },
  21499. "wrstandardcode": {
  21500. "description": "品类代码",
  21501. "type": "string"
  21502. },
  21503. "wrstandardid": {
  21504. "description": "品类ID",
  21505. "type": "integer"
  21506. },
  21507. "wrstandardname": {
  21508. "description": "品类名称",
  21509. "type": "string"
  21510. }
  21511. }
  21512. },
  21513. "models.Ermcp3AreaStockApplySum": {
  21514. "type": "object",
  21515. "properties": {
  21516. "brandname": {
  21517. "description": "品牌名称",
  21518. "type": "string"
  21519. },
  21520. "inouttype": {
  21521. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  21522. "type": "integer"
  21523. },
  21524. "spotcontractid": {
  21525. "description": "关联现货合同ID",
  21526. "type": "string"
  21527. },
  21528. "spotgoodsbrandid": {
  21529. "description": "品牌id",
  21530. "type": "integer"
  21531. },
  21532. "totalqty": {
  21533. "description": "总数量",
  21534. "type": "number"
  21535. },
  21536. "wrstandardid": {
  21537. "description": "品类id",
  21538. "type": "integer"
  21539. },
  21540. "wrstandardname": {
  21541. "description": "品类名称",
  21542. "type": "string"
  21543. }
  21544. }
  21545. },
  21546. "models.Ermcp3AreaStockReportEx": {
  21547. "type": "object",
  21548. "properties": {
  21549. "begindate": {
  21550. "description": "开始交易日",
  21551. "type": "string"
  21552. },
  21553. "brandname": {
  21554. "description": "品牌名称",
  21555. "type": "string"
  21556. },
  21557. "curstock": {
  21558. "description": "期末库存量",
  21559. "type": "number"
  21560. },
  21561. "cycletime": {
  21562. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21563. "type": "string"
  21564. },
  21565. "cycletype": {
  21566. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21567. "type": "integer"
  21568. },
  21569. "deliverygoodscode": {
  21570. "description": "现货品种代码",
  21571. "type": "string"
  21572. },
  21573. "deliverygoodsid": {
  21574. "description": "现货品种id",
  21575. "type": "integer"
  21576. },
  21577. "deliverygoodsname": {
  21578. "description": "现货品种名称",
  21579. "type": "string"
  21580. },
  21581. "diffqty": {
  21582. "description": "库存变化量 = 期末 - 期初",
  21583. "type": "number"
  21584. },
  21585. "enddate": {
  21586. "description": "结束交易日",
  21587. "type": "string"
  21588. },
  21589. "enumdicname": {
  21590. "description": "单位名称",
  21591. "type": "string"
  21592. },
  21593. "goodsunitid": {
  21594. "description": "现货单位id",
  21595. "type": "integer"
  21596. },
  21597. "oristock": {
  21598. "description": "期初库存量",
  21599. "type": "number"
  21600. },
  21601. "reckondate": {
  21602. "description": "日照时期(yyyyMMdd)",
  21603. "type": "string"
  21604. },
  21605. "spotgoodsbrandid": {
  21606. "description": "现货品牌ID",
  21607. "type": "integer"
  21608. },
  21609. "todaybuyinqty": {
  21610. "description": "今采购入库量",
  21611. "type": "number"
  21612. },
  21613. "todayproduceinqty": {
  21614. "description": "今内部入库量",
  21615. "type": "number"
  21616. },
  21617. "todayproduceoutqty": {
  21618. "description": "今内部出库量",
  21619. "type": "number"
  21620. },
  21621. "todayselloutqty": {
  21622. "description": "今销售出库量",
  21623. "type": "number"
  21624. },
  21625. "unbuyinqty": {
  21626. "description": "采购未入库量(数据库未找到相关字段?)",
  21627. "type": "number"
  21628. },
  21629. "unitid": {
  21630. "description": "品类单位id",
  21631. "type": "integer"
  21632. },
  21633. "unselloutqty": {
  21634. "description": "销售未出库量(数据库未找到相关字段?)",
  21635. "type": "number"
  21636. },
  21637. "updatetime": {
  21638. "description": "更新时间",
  21639. "type": "string"
  21640. },
  21641. "userid": {
  21642. "description": "机构ID",
  21643. "type": "integer"
  21644. },
  21645. "username": {
  21646. "description": "机构名称",
  21647. "type": "string"
  21648. },
  21649. "warehousecode": {
  21650. "description": "仓库代码",
  21651. "type": "string"
  21652. },
  21653. "warehouseinfoid": {
  21654. "description": "仓库ID",
  21655. "type": "string"
  21656. },
  21657. "warehousename": {
  21658. "description": "仓库名称",
  21659. "type": "string"
  21660. },
  21661. "warehousetype": {
  21662. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21663. "type": "integer"
  21664. },
  21665. "wrstandardcode": {
  21666. "description": "品类代码",
  21667. "type": "string"
  21668. },
  21669. "wrstandardid": {
  21670. "description": "品类ID",
  21671. "type": "integer"
  21672. },
  21673. "wrstandardname": {
  21674. "description": "品类名称",
  21675. "type": "string"
  21676. }
  21677. }
  21678. },
  21679. "models.Ermcp3ArealSumPL": {
  21680. "type": "object",
  21681. "properties": {
  21682. "accountname": {
  21683. "description": "机构名称",
  21684. "type": "string"
  21685. },
  21686. "areauserid": {
  21687. "description": "所属机构\\交易用户ID",
  21688. "type": "integer"
  21689. },
  21690. "begindate": {
  21691. "description": "开始交易日",
  21692. "type": "string"
  21693. },
  21694. "currencyid": {
  21695. "description": "结算币种ID",
  21696. "type": "integer"
  21697. },
  21698. "currencyname": {
  21699. "description": "币种名称",
  21700. "type": "string"
  21701. },
  21702. "cycletime": {
  21703. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21704. "type": "string"
  21705. },
  21706. "cycletype": {
  21707. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21708. "type": "integer"
  21709. },
  21710. "enddate": {
  21711. "description": "结束交易日",
  21712. "type": "string"
  21713. },
  21714. "enumdicname": {
  21715. "description": "单位名称(套保品种)",
  21716. "type": "string"
  21717. },
  21718. "futureactualpl": {
  21719. "description": "期货损益",
  21720. "type": "number"
  21721. },
  21722. "futurefloatpl": {
  21723. "description": "期货浮动损益",
  21724. "type": "number"
  21725. },
  21726. "futurespotratio": {
  21727. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  21728. "type": "number"
  21729. },
  21730. "goodsunitid": {
  21731. "description": "套保品种单位id",
  21732. "type": "integer"
  21733. },
  21734. "hedgeexposurepl": {
  21735. "description": "套保敞口损益",
  21736. "type": "number"
  21737. },
  21738. "middlegoodscode": {
  21739. "description": "套保品种代码",
  21740. "type": "string"
  21741. },
  21742. "middlegoodsid": {
  21743. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21744. "type": "integer"
  21745. },
  21746. "middlegoodsname": {
  21747. "description": "套保品种名称",
  21748. "type": "string"
  21749. },
  21750. "reckondate": {
  21751. "description": "日照时期(yyyyMMdd)",
  21752. "type": "string"
  21753. },
  21754. "spotactualpl": {
  21755. "description": "现货损益",
  21756. "type": "number"
  21757. },
  21758. "spotfloatpl": {
  21759. "description": "现货浮动损益",
  21760. "type": "number"
  21761. },
  21762. "sumactualpl": {
  21763. "description": "实际损益 = (ActualPL + FutureActualPL)",
  21764. "type": "number"
  21765. },
  21766. "sumpl": {
  21767. "description": "总敞口损益 | 汇总损益",
  21768. "type": "number"
  21769. },
  21770. "totalfutureqty": {
  21771. "description": "期货头寸总量",
  21772. "type": "number"
  21773. },
  21774. "totalneedhedgeqty": {
  21775. "description": "应套保总量",
  21776. "type": "number"
  21777. },
  21778. "totalspotqty": {
  21779. "description": "现货头寸总量",
  21780. "type": "number"
  21781. },
  21782. "updatetime": {
  21783. "description": "更新时间",
  21784. "type": "string"
  21785. }
  21786. }
  21787. },
  21788. "models.Ermcp3Brand": {
  21789. "type": "object",
  21790. "properties": {
  21791. "areauserid": {
  21792. "description": "用户id",
  21793. "type": "integer"
  21794. },
  21795. "brandid": {
  21796. "description": "品牌id",
  21797. "type": "integer"
  21798. },
  21799. "brandname": {
  21800. "description": "品牌名称",
  21801. "type": "string"
  21802. },
  21803. "deliverygoodsid": {
  21804. "description": "品种ID",
  21805. "type": "integer"
  21806. },
  21807. "isvalid": {
  21808. "description": "是否有效",
  21809. "type": "integer"
  21810. }
  21811. }
  21812. },
  21813. "models.Ermcp3Contract": {
  21814. "type": "object",
  21815. "properties": {
  21816. "accountid": {
  21817. "description": "期货账户id",
  21818. "type": "string"
  21819. },
  21820. "amount": {
  21821. "description": "金额 [1:一口价、3:暂定价]",
  21822. "type": "number"
  21823. },
  21824. "attachment": {
  21825. "description": "附件",
  21826. "type": "string"
  21827. },
  21828. "auditremark": {
  21829. "description": "审核意见",
  21830. "type": "string"
  21831. },
  21832. "audittime": {
  21833. "description": "审核时间",
  21834. "type": "string"
  21835. },
  21836. "biztype": {
  21837. "description": "业务类型 1-套保 2-套利",
  21838. "type": "integer"
  21839. },
  21840. "brandname": {
  21841. "description": "品牌名称",
  21842. "type": "string"
  21843. },
  21844. "buynickname": {
  21845. "description": "销售方昵称",
  21846. "type": "string"
  21847. },
  21848. "buyuserid": {
  21849. "description": "采购方ID",
  21850. "type": "integer"
  21851. },
  21852. "buyusername": {
  21853. "description": "采购方名称",
  21854. "type": "string"
  21855. },
  21856. "contracctstatus": {
  21857. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21858. "type": "integer"
  21859. },
  21860. "contractmargin": {
  21861. "description": "合同保证金",
  21862. "type": "number"
  21863. },
  21864. "contractno": {
  21865. "description": "现货合同编号",
  21866. "type": "string"
  21867. },
  21868. "contracttype": {
  21869. "description": "现货合同类型 - 1:采购 -1:销售",
  21870. "type": "integer"
  21871. },
  21872. "convertfactor": {
  21873. "description": "标仓系数(品类)",
  21874. "type": "number"
  21875. },
  21876. "createtime": {
  21877. "description": "创建时间",
  21878. "type": "string"
  21879. },
  21880. "currencyid": {
  21881. "description": "币种id",
  21882. "type": "integer"
  21883. },
  21884. "currencyname": {
  21885. "description": "币种名称",
  21886. "type": "string"
  21887. },
  21888. "deliveryenddate": {
  21889. "description": "交收期(结束)",
  21890. "type": "string"
  21891. },
  21892. "deliverygoodscode": {
  21893. "description": "现货品种代码",
  21894. "type": "string"
  21895. },
  21896. "deliverygoodsid": {
  21897. "description": "现货品种ID",
  21898. "type": "integer"
  21899. },
  21900. "deliverygoodsname": {
  21901. "description": "现货品种名称",
  21902. "type": "string"
  21903. },
  21904. "deliverystartdate": {
  21905. "description": "交收期(开始)",
  21906. "type": "string"
  21907. },
  21908. "enddate": {
  21909. "description": "点价结束日期 [2:点价 3:暂定价]",
  21910. "type": "string"
  21911. },
  21912. "enumdicname": {
  21913. "description": "单位名称",
  21914. "type": "string"
  21915. },
  21916. "goodscode": {
  21917. "description": "点价合约代码",
  21918. "type": "string"
  21919. },
  21920. "goodsid": {
  21921. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  21922. "type": "integer"
  21923. },
  21924. "goodsname": {
  21925. "description": "点价商品名称",
  21926. "type": "string"
  21927. },
  21928. "margin": {
  21929. "description": "当前保证金",
  21930. "type": "number"
  21931. },
  21932. "meruserid": {
  21933. "description": "跟单员id",
  21934. "type": "integer"
  21935. },
  21936. "meruserlogincode": {
  21937. "description": "跟单员登录代码",
  21938. "type": "string"
  21939. },
  21940. "merusername": {
  21941. "description": "跟单员名称",
  21942. "type": "string"
  21943. },
  21944. "pointdesc": {
  21945. "description": "点价备注",
  21946. "type": "string"
  21947. },
  21948. "price": {
  21949. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  21950. "type": "number"
  21951. },
  21952. "pricemove": {
  21953. "description": "升贴水 [2:点价 3:暂定价]",
  21954. "type": "number"
  21955. },
  21956. "pricetype": {
  21957. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21958. "type": "integer"
  21959. },
  21960. "producttype": {
  21961. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21962. "type": "integer"
  21963. },
  21964. "qty": {
  21965. "description": "数量",
  21966. "type": "number"
  21967. },
  21968. "remark": {
  21969. "description": "备注",
  21970. "type": "string"
  21971. },
  21972. "saleuserid": {
  21973. "description": "业务员id",
  21974. "type": "integer"
  21975. },
  21976. "saleuserlogincode": {
  21977. "description": "业务员登录代码",
  21978. "type": "string"
  21979. },
  21980. "saleusername": {
  21981. "description": "业务员名称",
  21982. "type": "string"
  21983. },
  21984. "sellnickname": {
  21985. "description": "采购方昵称",
  21986. "type": "string"
  21987. },
  21988. "selluserid": {
  21989. "description": "销售方ID",
  21990. "type": "integer"
  21991. },
  21992. "sellusername": {
  21993. "description": "销售方名称",
  21994. "type": "string"
  21995. },
  21996. "spotcontractid": {
  21997. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21998. "type": "string"
  21999. },
  22000. "spotgoodsbrandid": {
  22001. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22002. "type": "integer"
  22003. },
  22004. "spotgoodsdesc": {
  22005. "description": "商品型号",
  22006. "type": "string"
  22007. },
  22008. "startdate": {
  22009. "description": "点价开始日期 [2:点价 3:暂定价]",
  22010. "type": "string"
  22011. },
  22012. "subjectid": {
  22013. "description": "交易主体ID",
  22014. "type": "integer"
  22015. },
  22016. "subjectname": {
  22017. "description": "交易主体名称",
  22018. "type": "string"
  22019. },
  22020. "tradeuserid": {
  22021. "description": "交易员id",
  22022. "type": "integer"
  22023. },
  22024. "tradeuserlogincode": {
  22025. "description": "交易员登录代码",
  22026. "type": "string"
  22027. },
  22028. "tradeusername": {
  22029. "description": "交易员名称",
  22030. "type": "string"
  22031. },
  22032. "unitid": {
  22033. "description": "单位id(取品类上的单位id)",
  22034. "type": "integer"
  22035. },
  22036. "updatetime": {
  22037. "description": "更新时间",
  22038. "type": "string"
  22039. },
  22040. "userid": {
  22041. "description": "所属机构ID",
  22042. "type": "integer"
  22043. },
  22044. "vatrate": {
  22045. "description": "增值税率",
  22046. "type": "number"
  22047. },
  22048. "wrstandardcode": {
  22049. "description": "品类代码",
  22050. "type": "string"
  22051. },
  22052. "wrstandardid": {
  22053. "description": "品类ID",
  22054. "type": "integer"
  22055. },
  22056. "wrstandardname": {
  22057. "description": "品类名称",
  22058. "type": "string"
  22059. }
  22060. }
  22061. },
  22062. "models.Ermcp3ContractMiddleGoodsCfg": {
  22063. "type": "object",
  22064. "properties": {
  22065. "agreeunit": {
  22066. "description": "合约乘数",
  22067. "type": "number"
  22068. },
  22069. "convertratio": {
  22070. "description": "期货品种系数",
  22071. "type": "number"
  22072. },
  22073. "covertqty": {
  22074. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  22075. "type": "integer"
  22076. },
  22077. "middlegoodsid": {
  22078. "description": "套保品种ID",
  22079. "type": "integer"
  22080. },
  22081. "middlegoodspricedqty3": {
  22082. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22083. "type": "string",
  22084. "example": "0"
  22085. },
  22086. "pendingpricedqty": {
  22087. "description": "待点价量",
  22088. "type": "string",
  22089. "example": "0"
  22090. },
  22091. "relatedmiddlegoodsqty": {
  22092. "description": "已关联量(套保品种-期货)",
  22093. "type": "string",
  22094. "example": "0"
  22095. },
  22096. "spotcontractid": {
  22097. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22098. "type": "string"
  22099. }
  22100. }
  22101. },
  22102. "models.Ermcp3ExposureContractDetail": {
  22103. "type": "object",
  22104. "properties": {
  22105. "biztype": {
  22106. "description": "业务类型 1-套保 2-套利",
  22107. "type": "integer"
  22108. },
  22109. "brandname": {
  22110. "description": "品牌名称",
  22111. "type": "string"
  22112. },
  22113. "buyuserid": {
  22114. "description": "采购方id",
  22115. "type": "integer"
  22116. },
  22117. "buyusername": {
  22118. "description": "采购方名称",
  22119. "type": "string"
  22120. },
  22121. "contractno": {
  22122. "description": "合同编号",
  22123. "type": "string"
  22124. },
  22125. "contracttype": {
  22126. "description": "现货合同类型 - 1:采购 -1:销售",
  22127. "type": "integer"
  22128. },
  22129. "convertfactor": {
  22130. "description": "标仓系数",
  22131. "type": "number"
  22132. },
  22133. "convertratio": {
  22134. "description": "折算系数(套保品种)",
  22135. "type": "number"
  22136. },
  22137. "curqty": {
  22138. "description": "今定价量",
  22139. "type": "number"
  22140. },
  22141. "deliverygoodscode": {
  22142. "description": "现货品种代码",
  22143. "type": "string"
  22144. },
  22145. "deliverygoodsid": {
  22146. "description": "现货品种id",
  22147. "type": "integer"
  22148. },
  22149. "deliverygoodsname": {
  22150. "description": "现货品种名称",
  22151. "type": "string"
  22152. },
  22153. "diffhedgeqty": {
  22154. "description": "套保变动量",
  22155. "type": "number"
  22156. },
  22157. "diffneedhedgeqty": {
  22158. "description": "应套保变动量",
  22159. "type": "number"
  22160. },
  22161. "diffqty": {
  22162. "description": "套保品种今变动量",
  22163. "type": "number"
  22164. },
  22165. "enumdicname": {
  22166. "description": "单位名称",
  22167. "type": "string"
  22168. },
  22169. "mgunitname": {
  22170. "description": "套保品种单位名称",
  22171. "type": "string"
  22172. },
  22173. "middlegoodscode": {
  22174. "description": "套保品种代码",
  22175. "type": "string"
  22176. },
  22177. "middlegoodsid": {
  22178. "description": "套保品种id",
  22179. "type": "integer"
  22180. },
  22181. "middlegoodsname": {
  22182. "description": "套保品种名称",
  22183. "type": "string"
  22184. },
  22185. "needarbitrageratio": {
  22186. "description": "应套利比例",
  22187. "type": "number"
  22188. },
  22189. "needhedgeratio": {
  22190. "description": "应套保比例",
  22191. "type": "number"
  22192. },
  22193. "pricedqty": {
  22194. "description": "已定价量",
  22195. "type": "number"
  22196. },
  22197. "qty": {
  22198. "description": "合同量",
  22199. "type": "number"
  22200. },
  22201. "reckondate": {
  22202. "description": "交易日(reckondate)",
  22203. "type": "string"
  22204. },
  22205. "selluserid": {
  22206. "description": "销售方id",
  22207. "type": "integer"
  22208. },
  22209. "sellusername": {
  22210. "description": "销售方名称",
  22211. "type": "string"
  22212. },
  22213. "spotcontractid": {
  22214. "description": "合同id",
  22215. "type": "string"
  22216. },
  22217. "todaypricedqty": {
  22218. "description": "今定价量",
  22219. "type": "number"
  22220. },
  22221. "tradedate": {
  22222. "description": "交易日",
  22223. "type": "string"
  22224. },
  22225. "unitid": {
  22226. "description": "品类单位id",
  22227. "type": "integer"
  22228. },
  22229. "userid": {
  22230. "description": "机构id",
  22231. "type": "integer"
  22232. },
  22233. "username": {
  22234. "description": "交易用户",
  22235. "type": "string"
  22236. },
  22237. "wrstandardcode": {
  22238. "description": "现货商品代码",
  22239. "type": "string"
  22240. },
  22241. "wrstandardid": {
  22242. "description": "现货商品id",
  22243. "type": "integer"
  22244. },
  22245. "wrstandardname": {
  22246. "description": "现货商品名称",
  22247. "type": "string"
  22248. }
  22249. }
  22250. },
  22251. "models.Ermcp3ExposureDetail": {
  22252. "type": "object",
  22253. "properties": {
  22254. "areauserid": {
  22255. "description": "机构ID",
  22256. "type": "integer"
  22257. },
  22258. "changeQty": {
  22259. "description": "套保变动量",
  22260. "type": "number"
  22261. },
  22262. "contracttype": {
  22263. "description": "现货合同类型 - 1:采购 -1:销售",
  22264. "type": "integer"
  22265. },
  22266. "convertfactor": {
  22267. "description": "标仓系数",
  22268. "type": "number"
  22269. },
  22270. "convertratio": {
  22271. "description": "折算系数",
  22272. "type": "number"
  22273. },
  22274. "createtime": {
  22275. "description": "时间",
  22276. "type": "string"
  22277. },
  22278. "enumdicname": {
  22279. "description": "现货商品单位名称",
  22280. "type": "string"
  22281. },
  22282. "logtype": {
  22283. "description": "类型 - 1:套保计划 2:现货合同",
  22284. "type": "integer"
  22285. },
  22286. "mgunitid": {
  22287. "description": "套保品种单位id",
  22288. "type": "integer"
  22289. },
  22290. "mgunitidname": {
  22291. "description": "套保品种单位名称",
  22292. "type": "string"
  22293. },
  22294. "middlegoodsId": {
  22295. "description": "套保商品id",
  22296. "type": "integer"
  22297. },
  22298. "middlegoodscode": {
  22299. "description": "套保商品代码",
  22300. "type": "string"
  22301. },
  22302. "middlegoodsname": {
  22303. "description": "套保商品名称",
  22304. "type": "string"
  22305. },
  22306. "qty": {
  22307. "description": "数量",
  22308. "type": "number"
  22309. },
  22310. "relateNo": {
  22311. "description": "现货合同/套保计划编号",
  22312. "type": "string"
  22313. },
  22314. "unitid": {
  22315. "description": "现货商品单位id",
  22316. "type": "integer"
  22317. },
  22318. "wrstandardcode": {
  22319. "description": "现货商品代码",
  22320. "type": "string"
  22321. },
  22322. "wrstandardid": {
  22323. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22324. "type": "integer"
  22325. },
  22326. "wrstandardname": {
  22327. "description": "现货商品名称",
  22328. "type": "string"
  22329. }
  22330. }
  22331. },
  22332. "models.Ermcp3ExposureFutuDetail": {
  22333. "type": "object",
  22334. "properties": {
  22335. "accountid": {
  22336. "description": "交易账户id",
  22337. "type": "integer"
  22338. },
  22339. "accountname": {
  22340. "description": "交易账户",
  22341. "type": "string"
  22342. },
  22343. "begindate": {
  22344. "description": "开始交易日",
  22345. "type": "string"
  22346. },
  22347. "buyorsell": {
  22348. "description": "方向 0-买 1-卖",
  22349. "type": "integer"
  22350. },
  22351. "diffmgqty": {
  22352. "description": "套保品种今变化量",
  22353. "type": "number"
  22354. },
  22355. "diffneedqty": {
  22356. "description": "应套保总量变化量",
  22357. "type": "number"
  22358. },
  22359. "difftradeqty": {
  22360. "description": "交易品种今变化量",
  22361. "type": "number"
  22362. },
  22363. "enddate": {
  22364. "description": "结束交易日",
  22365. "type": "string"
  22366. },
  22367. "enumdicname": {
  22368. "description": "单位名称",
  22369. "type": "string"
  22370. },
  22371. "goodscode": {
  22372. "description": "商品代码",
  22373. "type": "string"
  22374. },
  22375. "goodsid": {
  22376. "description": "商品id",
  22377. "type": "integer"
  22378. },
  22379. "goodsname": {
  22380. "description": "商品名称",
  22381. "type": "string"
  22382. },
  22383. "holdqty": {
  22384. "description": "期末持仓量",
  22385. "type": "number"
  22386. },
  22387. "middlegoodscode": {
  22388. "description": "套保商品代码",
  22389. "type": "string"
  22390. },
  22391. "middlegoodsid": {
  22392. "description": "套保商品id",
  22393. "type": "integer"
  22394. },
  22395. "middlegoodsname": {
  22396. "description": "套保商品名称",
  22397. "type": "string"
  22398. },
  22399. "oriholdqty": {
  22400. "description": "期初持仓量",
  22401. "type": "number"
  22402. },
  22403. "reckondate": {
  22404. "description": "交易日(RECKONDATE)",
  22405. "type": "string"
  22406. },
  22407. "todaycloseqty": {
  22408. "description": "今平仓量",
  22409. "type": "number"
  22410. },
  22411. "todayopenqty": {
  22412. "description": "今开仓量",
  22413. "type": "number"
  22414. },
  22415. "tradedate": {
  22416. "description": "交易日(RECKONDATE)",
  22417. "type": "string"
  22418. },
  22419. "username": {
  22420. "description": "用户名称(交易用户)",
  22421. "type": "string"
  22422. }
  22423. }
  22424. },
  22425. "models.Ermcp3ExposureHedgeplanDetail": {
  22426. "type": "object",
  22427. "properties": {
  22428. "biztype": {
  22429. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  22430. "type": "integer"
  22431. },
  22432. "changqty": {
  22433. "description": "应套保总量变化量",
  22434. "type": "number"
  22435. },
  22436. "contracttype": {
  22437. "description": "计划类型 - 1:采购 -1:销售",
  22438. "type": "integer"
  22439. },
  22440. "convertratio": {
  22441. "description": "折算系数(套保品种)",
  22442. "type": "number"
  22443. },
  22444. "deliverygoodscode": {
  22445. "description": "现货商品代码",
  22446. "type": "string"
  22447. },
  22448. "deliverygoodsid": {
  22449. "description": "现货商品id",
  22450. "type": "integer"
  22451. },
  22452. "deliverygoodsname": {
  22453. "description": "现货商吕名称",
  22454. "type": "string"
  22455. },
  22456. "dgunitid": {
  22457. "description": "现货商品单位id",
  22458. "type": "integer"
  22459. },
  22460. "dgunitidname": {
  22461. "description": "单位名称(现货商品)",
  22462. "type": "string"
  22463. },
  22464. "diffqty": {
  22465. "description": "套保品种今变动量",
  22466. "type": "number"
  22467. },
  22468. "enumdicname": {
  22469. "description": "单位名称(品类)",
  22470. "type": "string"
  22471. },
  22472. "hedgeplanid": {
  22473. "description": "套保计划id",
  22474. "type": "string"
  22475. },
  22476. "hedgeplanno": {
  22477. "description": "套保计划名称",
  22478. "type": "string"
  22479. },
  22480. "hedgeplanstatus": {
  22481. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22482. "type": "integer"
  22483. },
  22484. "mgunitidname": {
  22485. "description": "单位名称(套保商品)",
  22486. "type": "string"
  22487. },
  22488. "middlegoodscode": {
  22489. "description": "套保品种代码",
  22490. "type": "string"
  22491. },
  22492. "middlegoodsid": {
  22493. "description": "套保品种id",
  22494. "type": "integer"
  22495. },
  22496. "middlegoodsname": {
  22497. "description": "套保品种名称",
  22498. "type": "string"
  22499. },
  22500. "needarbitrageratio": {
  22501. "description": "应套利比例",
  22502. "type": "number"
  22503. },
  22504. "needhedgeratio": {
  22505. "description": "应套保比例",
  22506. "type": "number"
  22507. },
  22508. "pricedqty": {
  22509. "description": "已定价量",
  22510. "type": "number"
  22511. },
  22512. "qty": {
  22513. "description": "合同量",
  22514. "type": "number"
  22515. },
  22516. "reckondate": {
  22517. "description": "交易日(reckondate)",
  22518. "type": "string"
  22519. },
  22520. "tradedate": {
  22521. "description": "交易日(登记日)",
  22522. "type": "string"
  22523. },
  22524. "unitid": {
  22525. "description": "品类单位id",
  22526. "type": "integer"
  22527. },
  22528. "userid": {
  22529. "description": "机构id",
  22530. "type": "integer"
  22531. },
  22532. "wrstandardcode": {
  22533. "description": "品类代码",
  22534. "type": "string"
  22535. },
  22536. "wrstandardid": {
  22537. "description": "品类id",
  22538. "type": "integer"
  22539. },
  22540. "wrstandardname": {
  22541. "description": "品类名称",
  22542. "type": "string"
  22543. }
  22544. }
  22545. },
  22546. "models.Ermcp3ExposureParamChLog": {
  22547. "type": "object",
  22548. "properties": {
  22549. "accountid": {
  22550. "description": "期货账户ID (作废, 默认为0)",
  22551. "type": "integer"
  22552. },
  22553. "aftervalue": {
  22554. "description": "应套保\\套利量变更后(调整后应套保总量)",
  22555. "type": "number"
  22556. },
  22557. "areauserid": {
  22558. "description": "所属机构\\交易用户ID",
  22559. "type": "integer"
  22560. },
  22561. "beforevalue": {
  22562. "description": "应套保\\套利量变更前(调整前应套保总量)",
  22563. "type": "number"
  22564. },
  22565. "begindate": {
  22566. "description": "开始交易日",
  22567. "type": "string"
  22568. },
  22569. "changelogtype": {
  22570. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  22571. "type": "integer"
  22572. },
  22573. "curvalue": {
  22574. "description": "当前套保\\套利量(套保总量|套利总量)",
  22575. "type": "number"
  22576. },
  22577. "diffvalue": {
  22578. "description": "应套保总量变化量",
  22579. "type": "number"
  22580. },
  22581. "enddate": {
  22582. "description": "结束交易日",
  22583. "type": "string"
  22584. },
  22585. "logdatetime": {
  22586. "description": "流水日期",
  22587. "type": "string"
  22588. },
  22589. "logid": {
  22590. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  22591. "type": "string"
  22592. },
  22593. "middlegoodscode": {
  22594. "description": "套保品种代码",
  22595. "type": "string"
  22596. },
  22597. "middlegoodsid": {
  22598. "description": "套保品种",
  22599. "type": "integer"
  22600. },
  22601. "middlegoodsname": {
  22602. "description": "套保品种名称",
  22603. "type": "string"
  22604. },
  22605. "paramaftervalue": {
  22606. "description": "参数变更后(调整后参数值)",
  22607. "type": "number"
  22608. },
  22609. "parambeforevalue": {
  22610. "description": "参数变更前(调整前参数值)",
  22611. "type": "number"
  22612. },
  22613. "reckondate": {
  22614. "description": "交易日(reckondate)",
  22615. "type": "string"
  22616. },
  22617. "tradedate": {
  22618. "description": "交易日(yyyyMMdd)",
  22619. "type": "string"
  22620. }
  22621. }
  22622. },
  22623. "models.Ermcp3ExpourseReport": {
  22624. "type": "object",
  22625. "properties": {
  22626. "accountid": {
  22627. "description": "期货账户ID (作废, 默认为0)",
  22628. "type": "integer"
  22629. },
  22630. "accountname": {
  22631. "description": "机构名称",
  22632. "type": "string"
  22633. },
  22634. "arbitrageqty": {
  22635. "description": "套利量",
  22636. "type": "number"
  22637. },
  22638. "areauserid": {
  22639. "description": "所属机构\\交易用户ID",
  22640. "type": "integer"
  22641. },
  22642. "begindate": {
  22643. "description": "开始交易日",
  22644. "type": "string"
  22645. },
  22646. "buyfutureqty": {
  22647. "description": "买入期货数量",
  22648. "type": "number"
  22649. },
  22650. "buyplanqty": {
  22651. "description": "采购计划数量",
  22652. "type": "number"
  22653. },
  22654. "buypricedqty": {
  22655. "description": "采购合同已定价数量",
  22656. "type": "number"
  22657. },
  22658. "cycletime": {
  22659. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22660. "type": "string"
  22661. },
  22662. "cycletype": {
  22663. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22664. "type": "integer"
  22665. },
  22666. "diffexposure": {
  22667. "description": "变动量(套保敞口)",
  22668. "type": "number"
  22669. },
  22670. "difffutuqty": {
  22671. "description": "变动量(期货)",
  22672. "type": "number"
  22673. },
  22674. "diffhedgeqty": {
  22675. "description": "变动量(现货应套保总量)",
  22676. "type": "number"
  22677. },
  22678. "diffmgqtya": {
  22679. "description": "套保变动量",
  22680. "type": "number"
  22681. },
  22682. "diffmgqtyb": {
  22683. "description": "套利变动量",
  22684. "type": "number"
  22685. },
  22686. "diffneedqty": {
  22687. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  22688. "type": "number"
  22689. },
  22690. "diffqty": {
  22691. "description": "变动量(总敞口)",
  22692. "type": "number"
  22693. },
  22694. "diffspotqty": {
  22695. "description": "变动量(现货) | 除税变动量",
  22696. "type": "number"
  22697. },
  22698. "enddate": {
  22699. "description": "结束交易日",
  22700. "type": "string"
  22701. },
  22702. "enumdicname": {
  22703. "description": "单位名称",
  22704. "type": "string"
  22705. },
  22706. "hedgeqty": {
  22707. "description": "套保量",
  22708. "type": "number"
  22709. },
  22710. "mgneedhedgeratio": {
  22711. "description": "套保比例(套保品的)",
  22712. "type": "number"
  22713. },
  22714. "middlegoodsid": {
  22715. "description": "套保品种ID",
  22716. "type": "integer"
  22717. },
  22718. "middlegoodsname": {
  22719. "description": "套保商品名称",
  22720. "type": "string"
  22721. },
  22722. "middlgoodscode": {
  22723. "description": "套保商品代码",
  22724. "type": "string"
  22725. },
  22726. "needarbitrageqty": {
  22727. "description": "应套利量",
  22728. "type": "number"
  22729. },
  22730. "needarbitrageratio": {
  22731. "description": "套利比例(套保品的)",
  22732. "type": "number"
  22733. },
  22734. "needhedgeexposoure": {
  22735. "description": "应套保敞口(套保敞口)",
  22736. "type": "number"
  22737. },
  22738. "needhedgeqty": {
  22739. "description": "应套保量",
  22740. "type": "number"
  22741. },
  22742. "needhedgeratio": {
  22743. "description": "应套保敞口比例",
  22744. "type": "number"
  22745. },
  22746. "needqty": {
  22747. "description": "应套总量 = 应套保量 + 应套利量",
  22748. "type": "number"
  22749. },
  22750. "oriarbitrageqty": {
  22751. "description": "期初套利量",
  22752. "type": "number"
  22753. },
  22754. "oribuyfutureqty": {
  22755. "description": "期初买入期货数量",
  22756. "type": "number"
  22757. },
  22758. "oribuyplanqty": {
  22759. "description": "期初采购计划数量",
  22760. "type": "number"
  22761. },
  22762. "oribuypricedqty": {
  22763. "description": "期初采购合同已定价数量",
  22764. "type": "number"
  22765. },
  22766. "orihedgeqty": {
  22767. "description": "期初套保量",
  22768. "type": "number"
  22769. },
  22770. "orineedarbitrageqty": {
  22771. "description": "期初应套利量",
  22772. "type": "number"
  22773. },
  22774. "orineedhedgeexposoure": {
  22775. "description": "期初应套保敞口",
  22776. "type": "number"
  22777. },
  22778. "orineedhedgeqty": {
  22779. "description": "期初应套保量",
  22780. "type": "number"
  22781. },
  22782. "orisellfutureqty": {
  22783. "description": "期初卖出期货数量",
  22784. "type": "number"
  22785. },
  22786. "orisellplanqty": {
  22787. "description": "期初销售计划数量",
  22788. "type": "number"
  22789. },
  22790. "orisellpricedqty": {
  22791. "description": "期初销售合同已定价数量",
  22792. "type": "number"
  22793. },
  22794. "oritotalexposure": {
  22795. "description": "期初实时总敞口",
  22796. "type": "number"
  22797. },
  22798. "oritotalfutureqty": {
  22799. "description": "期初期货头寸总量",
  22800. "type": "number"
  22801. },
  22802. "oritotalneedhedgeqty": {
  22803. "description": "期初应套保总量",
  22804. "type": "number"
  22805. },
  22806. "oritotalspotqty": {
  22807. "description": "期初现货头寸总量",
  22808. "type": "number"
  22809. },
  22810. "reckondate": {
  22811. "description": "日照时期(yyyyMMdd)",
  22812. "type": "string"
  22813. },
  22814. "sellfutureqty": {
  22815. "description": "卖出期货数量",
  22816. "type": "number"
  22817. },
  22818. "sellplanqty": {
  22819. "description": "销售计划数量",
  22820. "type": "number"
  22821. },
  22822. "sellpricedqty": {
  22823. "description": "销售合同已定价数量",
  22824. "type": "number"
  22825. },
  22826. "totalexposure": {
  22827. "description": "实时总敞口(总敞口)",
  22828. "type": "number"
  22829. },
  22830. "totalfutureqty": {
  22831. "description": "期货头寸总量(期货总量)",
  22832. "type": "number"
  22833. },
  22834. "totalhedgeratio": {
  22835. "description": "敞口比例",
  22836. "type": "number"
  22837. },
  22838. "totalneedhedgeqty": {
  22839. "description": "应套保总量(现货应套保总量)",
  22840. "type": "number"
  22841. },
  22842. "totalspotqty": {
  22843. "description": "现货头寸总量 | 除税总量",
  22844. "type": "number"
  22845. },
  22846. "unitid": {
  22847. "description": "单位id",
  22848. "type": "integer"
  22849. },
  22850. "updatetime": {
  22851. "description": "更新时间",
  22852. "type": "string"
  22853. }
  22854. }
  22855. },
  22856. "models.Ermcp3FinanceReport": {
  22857. "type": "object",
  22858. "properties": {
  22859. "accountname": {
  22860. "description": "机构名称",
  22861. "type": "string"
  22862. },
  22863. "areauserid": {
  22864. "description": "所属机构\\交易用户ID",
  22865. "type": "integer"
  22866. },
  22867. "begindate": {
  22868. "description": "开始交易日",
  22869. "type": "string"
  22870. },
  22871. "biztype": {
  22872. "description": "业务类型 - 1:套保 2:套利",
  22873. "type": "integer"
  22874. },
  22875. "brandname": {
  22876. "description": "品牌名称",
  22877. "type": "string"
  22878. },
  22879. "buypreinvoicedamount": {
  22880. "description": "采购预收票额(预收票额)",
  22881. "type": "number"
  22882. },
  22883. "buyprepaidamount": {
  22884. "description": "采购预付款额(预付货款额)",
  22885. "type": "number"
  22886. },
  22887. "buytodayinvoiceamount": {
  22888. "description": "采购今收票额(今收票额)",
  22889. "type": "number"
  22890. },
  22891. "buytodayrefundamount": {
  22892. "description": "采购今收退款额(今收退款额)",
  22893. "type": "number"
  22894. },
  22895. "buytodaysettleamount": {
  22896. "description": "采购今付款额(今付货款额)",
  22897. "type": "number"
  22898. },
  22899. "buyuninvoicedamount": {
  22900. "description": "采购应收票额(应收票额)",
  22901. "type": "number"
  22902. },
  22903. "buyunpaidamount": {
  22904. "description": "采购应付款额(应付货款额)",
  22905. "type": "number"
  22906. },
  22907. "currencyid": {
  22908. "description": "结算币种ID",
  22909. "type": "integer"
  22910. },
  22911. "currencyname": {
  22912. "description": "币种名称",
  22913. "type": "string"
  22914. },
  22915. "cycletime": {
  22916. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22917. "type": "string"
  22918. },
  22919. "cycletype": {
  22920. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22921. "type": "integer"
  22922. },
  22923. "deliverygoodscode": {
  22924. "description": "现货品种代码",
  22925. "type": "string"
  22926. },
  22927. "deliverygoodsid": {
  22928. "description": "现货品种ID",
  22929. "type": "integer"
  22930. },
  22931. "deliverygoodsname": {
  22932. "description": "现货品种名称",
  22933. "type": "string"
  22934. },
  22935. "enddate": {
  22936. "description": "结束交易日",
  22937. "type": "string"
  22938. },
  22939. "reckondate": {
  22940. "description": "日照时期(yyyyMMdd)",
  22941. "type": "string"
  22942. },
  22943. "sellpreinvoicedamount": {
  22944. "description": "销售预开票额(预开票额)",
  22945. "type": "number"
  22946. },
  22947. "sellprepaidamount": {
  22948. "description": "销售预收款额(预收货款额)",
  22949. "type": "number"
  22950. },
  22951. "selltodayinvoiceamount": {
  22952. "description": "销售今开票额(今开票额)",
  22953. "type": "number"
  22954. },
  22955. "selltodayrefundamount": {
  22956. "description": "销售今付退款额(今付退款额)",
  22957. "type": "number"
  22958. },
  22959. "selltodaysettleamount": {
  22960. "description": "销售今收款额(今收货款额)",
  22961. "type": "number"
  22962. },
  22963. "selluninvoicedamount": {
  22964. "description": "销售应开票额(应开票额)",
  22965. "type": "number"
  22966. },
  22967. "sellunpaidamount": {
  22968. "description": "销售应收款额(应收货款额)",
  22969. "type": "number"
  22970. },
  22971. "spotgoodsbrandid": {
  22972. "description": "现货品牌ID",
  22973. "type": "integer"
  22974. },
  22975. "todaypaysum": {
  22976. "description": "今付款合计",
  22977. "type": "number"
  22978. },
  22979. "todayreceivesum": {
  22980. "description": "今收款合计",
  22981. "type": "number"
  22982. },
  22983. "updatetime": {
  22984. "description": "更新时间",
  22985. "type": "string"
  22986. },
  22987. "wrfactortypeid": {
  22988. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22989. "type": "integer"
  22990. },
  22991. "wrstandardcode": {
  22992. "description": "品类代码",
  22993. "type": "string"
  22994. },
  22995. "wrstandardid": {
  22996. "description": "现货商品ID",
  22997. "type": "integer"
  22998. },
  22999. "wrstandardname": {
  23000. "description": "品类名称",
  23001. "type": "string"
  23002. }
  23003. }
  23004. },
  23005. "models.Ermcp3GoodsGroup": {
  23006. "type": "object",
  23007. "required": [
  23008. "areauserid"
  23009. ],
  23010. "properties": {
  23011. "agreeunit": {
  23012. "description": "合约单位",
  23013. "type": "number"
  23014. },
  23015. "areauserid": {
  23016. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  23017. "type": "integer"
  23018. },
  23019. "canshort": {
  23020. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23021. "type": "integer"
  23022. },
  23023. "closepricemode": {
  23024. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23025. "type": "integer"
  23026. },
  23027. "createtime": {
  23028. "description": "创建时间",
  23029. "type": "string"
  23030. },
  23031. "creatorid": {
  23032. "description": "创建人",
  23033. "type": "integer"
  23034. },
  23035. "currencyid": {
  23036. "description": "报价货币ID",
  23037. "type": "integer"
  23038. },
  23039. "decimalplace": {
  23040. "description": "报价小数位",
  23041. "type": "integer"
  23042. },
  23043. "enumdicname": {
  23044. "description": "单位名称",
  23045. "type": "string"
  23046. },
  23047. "exchangefullname": {
  23048. "description": "交易所全称",
  23049. "type": "string"
  23050. },
  23051. "excludecfg": {
  23052. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  23053. "type": "integer"
  23054. },
  23055. "exexchangecode": {
  23056. "description": "交易所代码",
  23057. "type": "string"
  23058. },
  23059. "exexchangeid": {
  23060. "description": "外部交易所ID[通道交易]",
  23061. "type": "integer"
  23062. },
  23063. "exexchangename": {
  23064. "description": "交易所名称",
  23065. "type": "string"
  23066. },
  23067. "goodsgroupid": {
  23068. "description": "商品组ID(自增ID)",
  23069. "type": "integer"
  23070. },
  23071. "goodsgroupname": {
  23072. "description": "商品组名称",
  23073. "type": "string"
  23074. },
  23075. "goodsgroupstatus": {
  23076. "description": "商品组状态 - 1:正常 2:注销",
  23077. "type": "integer"
  23078. },
  23079. "goodunitid": {
  23080. "description": "报价单位ID",
  23081. "type": "integer"
  23082. },
  23083. "groupcategroyid": {
  23084. "description": "品种分类ID",
  23085. "type": "integer"
  23086. },
  23087. "innerdealmode": {
  23088. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23089. "type": "integer"
  23090. },
  23091. "marketid": {
  23092. "description": "所属市场ID",
  23093. "type": "integer"
  23094. },
  23095. "modifierid": {
  23096. "description": "修改人",
  23097. "type": "integer"
  23098. },
  23099. "modifytime": {
  23100. "description": "修改时间",
  23101. "type": "string"
  23102. },
  23103. "outerdealmode": {
  23104. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23105. "type": "integer"
  23106. },
  23107. "outergroupcode": {
  23108. "description": "外部商品组代码[通道交易]",
  23109. "type": "string"
  23110. },
  23111. "quoteminunit": {
  23112. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23113. "type": "integer"
  23114. },
  23115. "quotesourcegroupid": {
  23116. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23117. "type": "integer"
  23118. },
  23119. "syncgoodsqty": {
  23120. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23121. "type": "integer"
  23122. }
  23123. }
  23124. },
  23125. "models.Ermcp3HPMiddleGoods": {
  23126. "type": "object",
  23127. "properties": {
  23128. "biztype": {
  23129. "description": "业务类型 1:套保 2:套利",
  23130. "type": "integer"
  23131. },
  23132. "contracttype": {
  23133. "description": "合同类型 1:采购 -1:销售",
  23134. "type": "integer"
  23135. },
  23136. "convertratio": {
  23137. "description": "折算系数",
  23138. "type": "number"
  23139. },
  23140. "customername": {
  23141. "description": "对手手名称",
  23142. "type": "string"
  23143. },
  23144. "customeruserid": {
  23145. "description": "对手id",
  23146. "type": "integer"
  23147. },
  23148. "enumdicname": {
  23149. "description": "现货单位名称",
  23150. "type": "string"
  23151. },
  23152. "hedgeplanid": {
  23153. "description": "计划id",
  23154. "type": "string"
  23155. },
  23156. "hedgeplanno": {
  23157. "description": "计划编号",
  23158. "type": "string"
  23159. },
  23160. "middlegoodsid": {
  23161. "description": "套保品种ID",
  23162. "type": "integer"
  23163. },
  23164. "middlegoodsplanqty3": {
  23165. "description": "应套保计划量",
  23166. "type": "number"
  23167. },
  23168. "needhedgeratio": {
  23169. "description": "套保比例",
  23170. "type": "number"
  23171. },
  23172. "pricedqty": {
  23173. "description": "已定价量",
  23174. "type": "number"
  23175. },
  23176. "relatedmiddlegoodsqty": {
  23177. "description": "已关联量(套保品种)(期货)",
  23178. "type": "number"
  23179. },
  23180. "unitid": {
  23181. "description": "现货单位id",
  23182. "type": "integer"
  23183. },
  23184. "userid": {
  23185. "description": "用户id",
  23186. "type": "integer"
  23187. },
  23188. "vatrate": {
  23189. "description": "增值税率",
  23190. "type": "number"
  23191. },
  23192. "wrstandardcode": {
  23193. "description": "现货商品代码",
  23194. "type": "string"
  23195. },
  23196. "wrstandardid": {
  23197. "description": "现货商品id",
  23198. "type": "integer"
  23199. },
  23200. "wrstandardname": {
  23201. "description": "现货商品名称",
  23202. "type": "string"
  23203. }
  23204. }
  23205. },
  23206. "models.Ermcp3HedgePlan": {
  23207. "type": "object",
  23208. "properties": {
  23209. "accountid": {
  23210. "description": "资金账号",
  23211. "type": "integer"
  23212. },
  23213. "areauserid": {
  23214. "description": "用户ID",
  23215. "type": "integer"
  23216. },
  23217. "auditid": {
  23218. "description": "审核id",
  23219. "type": "integer"
  23220. },
  23221. "auditname": {
  23222. "description": "审核人名称",
  23223. "type": "string"
  23224. },
  23225. "auditremark": {
  23226. "description": "审核备注",
  23227. "type": "string"
  23228. },
  23229. "auditsrc": {
  23230. "description": "审核来源 1-管理端 2-终端",
  23231. "type": "integer"
  23232. },
  23233. "audittime": {
  23234. "description": "审核时间",
  23235. "type": "string"
  23236. },
  23237. "contracttype": {
  23238. "description": "计划类型 - 1:采购 -1:销售",
  23239. "type": "integer"
  23240. },
  23241. "convertfactor": {
  23242. "description": "标仓系数",
  23243. "type": "number"
  23244. },
  23245. "createtime": {
  23246. "description": "创建时间",
  23247. "type": "string"
  23248. },
  23249. "currencyid": {
  23250. "description": "币种id",
  23251. "type": "integer"
  23252. },
  23253. "currencyname": {
  23254. "description": "币种名称",
  23255. "type": "string"
  23256. },
  23257. "deliverygoodscode": {
  23258. "description": "现货品种代码",
  23259. "type": "string"
  23260. },
  23261. "deliverygoodsid": {
  23262. "description": "现货品种ID",
  23263. "type": "integer"
  23264. },
  23265. "deliverygoodsname": {
  23266. "description": "现货品种名称",
  23267. "type": "string"
  23268. },
  23269. "enumdicname": {
  23270. "description": "单位名称(现货商品)",
  23271. "type": "string"
  23272. },
  23273. "hedgeplanid": {
  23274. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  23275. "type": "string"
  23276. },
  23277. "hedgeplanno": {
  23278. "description": "套保计划编号(名称)",
  23279. "type": "string"
  23280. },
  23281. "hedgeplanstatus": {
  23282. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23283. "type": "integer"
  23284. },
  23285. "planqty": {
  23286. "description": "计划数量",
  23287. "type": "number"
  23288. },
  23289. "plantime": {
  23290. "description": "计划时间",
  23291. "type": "string"
  23292. },
  23293. "producttype": {
  23294. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23295. "type": "integer"
  23296. },
  23297. "remark": {
  23298. "description": "备注",
  23299. "type": "string"
  23300. },
  23301. "spotgoodsdesc": {
  23302. "description": "商品型号",
  23303. "type": "string"
  23304. },
  23305. "taaccountname": {
  23306. "description": "资金账号名称",
  23307. "type": "string"
  23308. },
  23309. "tradeuserid": {
  23310. "description": "交易用户id",
  23311. "type": "integer"
  23312. },
  23313. "tradeusername": {
  23314. "description": "交易用户名称",
  23315. "type": "string"
  23316. },
  23317. "unitid": {
  23318. "description": "单位id(现货商品)",
  23319. "type": "integer"
  23320. },
  23321. "updatetime": {
  23322. "description": "更新时间",
  23323. "type": "string"
  23324. },
  23325. "vatrate": {
  23326. "description": "增值税率",
  23327. "type": "number"
  23328. },
  23329. "wrstandardcode": {
  23330. "description": "品类代码",
  23331. "type": "string"
  23332. },
  23333. "wrstandardid": {
  23334. "description": "品类id",
  23335. "type": "integer"
  23336. },
  23337. "wrstandardname": {
  23338. "description": "品类名称",
  23339. "type": "string"
  23340. },
  23341. "wrunitid": {
  23342. "description": "品类单位id",
  23343. "type": "integer"
  23344. },
  23345. "wrunitidame": {
  23346. "description": "品类单位名称",
  23347. "type": "string"
  23348. }
  23349. }
  23350. },
  23351. "models.Ermcp3InnerTradeLink": {
  23352. "type": "object",
  23353. "properties": {
  23354. "accountid": {
  23355. "description": "期货账号代码 | 资金账号ID",
  23356. "type": "integer"
  23357. },
  23358. "buyorsell": {
  23359. "description": "方向 - 0:买 1:卖",
  23360. "type": "integer"
  23361. },
  23362. "channelbuildtype": {
  23363. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23364. "type": "integer"
  23365. },
  23366. "currencyid": {
  23367. "description": "币种id",
  23368. "type": "integer"
  23369. },
  23370. "currencyname": {
  23371. "description": "结算币种 名称",
  23372. "type": "string"
  23373. },
  23374. "goodscode": {
  23375. "description": "商品代码",
  23376. "type": "string"
  23377. },
  23378. "goodsid": {
  23379. "description": "商品ID",
  23380. "type": "integer"
  23381. },
  23382. "goodsname": {
  23383. "description": "商品名称",
  23384. "type": "string"
  23385. },
  23386. "outtradeid": {
  23387. "description": "外部成交单号",
  23388. "type": "string"
  23389. },
  23390. "taname": {
  23391. "description": "期货账户名称",
  23392. "type": "string"
  23393. },
  23394. "tradeid": {
  23395. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23396. "type": "string"
  23397. },
  23398. "tradeprice": {
  23399. "description": "成交价格",
  23400. "type": "number"
  23401. },
  23402. "tradeqty": {
  23403. "description": "期货成交数量",
  23404. "type": "integer"
  23405. },
  23406. "tradetime": {
  23407. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  23408. "type": "string"
  23409. },
  23410. "username": {
  23411. "description": "用户名称",
  23412. "type": "string"
  23413. }
  23414. }
  23415. },
  23416. "models.Ermcp3OutTradeLink": {
  23417. "type": "object",
  23418. "properties": {
  23419. "buyorsell": {
  23420. "description": "买卖方向 - 0:买 1:卖",
  23421. "type": "integer"
  23422. },
  23423. "channelbuildtype": {
  23424. "description": "开平标志- 0:无 1:建仓 2:平仓",
  23425. "type": "integer"
  23426. },
  23427. "currencyname": {
  23428. "description": "币种名称",
  23429. "type": "string"
  23430. },
  23431. "exexchangecode": {
  23432. "description": "交易所代码",
  23433. "type": "string"
  23434. },
  23435. "exexchangename": {
  23436. "description": "交易所名称",
  23437. "type": "string"
  23438. },
  23439. "goodscode": {
  23440. "description": "合约代码",
  23441. "type": "string"
  23442. },
  23443. "goodsid": {
  23444. "description": "合约id",
  23445. "type": "integer"
  23446. },
  23447. "goodsname": {
  23448. "description": "合约名称",
  23449. "type": "string"
  23450. },
  23451. "hasinnerorder": {
  23452. "description": "是否有内部单关联 - 0:无 1:有",
  23453. "type": "integer"
  23454. },
  23455. "hedgeaccountcode": {
  23456. "description": "外部账号 | 对冲账号",
  23457. "type": "string"
  23458. },
  23459. "outtradeid": {
  23460. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23461. "type": "string"
  23462. },
  23463. "tradeprice": {
  23464. "description": "成交价格",
  23465. "type": "number"
  23466. },
  23467. "tradeqty": {
  23468. "description": "成交数量",
  23469. "type": "integer"
  23470. },
  23471. "tradetime": {
  23472. "description": "成交时间",
  23473. "type": "string"
  23474. }
  23475. }
  23476. },
  23477. "models.Ermcp3PaAreaAuditCfg": {
  23478. "type": "object",
  23479. "properties": {
  23480. "areauserid": {
  23481. "description": "用户ID",
  23482. "type": "integer"
  23483. },
  23484. "buyinauditflag": {
  23485. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  23486. "type": "integer"
  23487. },
  23488. "costratioauditflag": {
  23489. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  23490. "type": "integer"
  23491. },
  23492. "customerauditflag": {
  23493. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  23494. "type": "integer"
  23495. },
  23496. "deliveryauditflag": {
  23497. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  23498. "type": "integer"
  23499. },
  23500. "invoiceauditflag": {
  23501. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  23502. "type": "integer"
  23503. },
  23504. "mgneedhedgeratioauditflag": {
  23505. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  23506. "type": "integer"
  23507. },
  23508. "moneyauditflag": {
  23509. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  23510. "type": "integer"
  23511. },
  23512. "operatorid": {
  23513. "description": "操作人",
  23514. "type": "integer"
  23515. },
  23516. "operatorsrc": {
  23517. "description": "操作来源 - 1:管理端 2:终端",
  23518. "type": "integer"
  23519. },
  23520. "pointpriceauditflag": {
  23521. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  23522. "type": "integer"
  23523. },
  23524. "produceinauditflag": {
  23525. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  23526. "type": "integer"
  23527. },
  23528. "produceoutauditflag": {
  23529. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  23530. "type": "integer"
  23531. },
  23532. "selloutauditflag": {
  23533. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  23534. "type": "integer"
  23535. },
  23536. "sgconvertratioauditflag": {
  23537. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  23538. "type": "integer"
  23539. },
  23540. "sgvtaratioauditflag": {
  23541. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  23542. "type": "integer"
  23543. },
  23544. "spotcontractauditflag": {
  23545. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  23546. "type": "integer"
  23547. },
  23548. "updatetime": {
  23549. "description": "更新时间",
  23550. "type": "string"
  23551. }
  23552. }
  23553. },
  23554. "models.Ermcp3PaAreaSubject": {
  23555. "type": "object",
  23556. "properties": {
  23557. "areauserid": {
  23558. "description": "所属机构",
  23559. "type": "integer"
  23560. },
  23561. "canmodify": {
  23562. "description": "是否可修改 - 0:否 1:是",
  23563. "type": "integer"
  23564. },
  23565. "createtime": {
  23566. "description": "创建时间",
  23567. "type": "string"
  23568. },
  23569. "creatorid": {
  23570. "description": "创建人ID",
  23571. "type": "string"
  23572. },
  23573. "creatorsrc": {
  23574. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23575. "type": "integer"
  23576. },
  23577. "modifierid": {
  23578. "description": "修改人",
  23579. "type": "string"
  23580. },
  23581. "modifiersrc": {
  23582. "description": "修改人来源 - 1:管理端 2:终端",
  23583. "type": "integer"
  23584. },
  23585. "modifytime": {
  23586. "description": "修改时间",
  23587. "type": "string"
  23588. },
  23589. "parentsubjectid": {
  23590. "description": "上级主体ID",
  23591. "type": "string"
  23592. },
  23593. "remark": {
  23594. "description": "备注",
  23595. "type": "string"
  23596. },
  23597. "subjectid": {
  23598. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  23599. "type": "integer"
  23600. },
  23601. "subjectname": {
  23602. "description": "主体名称",
  23603. "type": "string"
  23604. },
  23605. "subjectstatus": {
  23606. "description": "主体状态 - 1:正常 2: 停用",
  23607. "type": "integer"
  23608. },
  23609. "subjecttype": {
  23610. "description": "主体类型 - 1:交易主体 2:业务部门",
  23611. "type": "integer"
  23612. }
  23613. }
  23614. },
  23615. "models.Ermcp3PaTradeLink": {
  23616. "type": "object",
  23617. "properties": {
  23618. "accountid": {
  23619. "description": "期货账户代码 | 账号ID",
  23620. "type": "integer"
  23621. },
  23622. "agreeunit": {
  23623. "description": "合约乘数",
  23624. "type": "number"
  23625. },
  23626. "buyorsell": {
  23627. "description": "方向 - 0:买 1:卖",
  23628. "type": "integer"
  23629. },
  23630. "channelbuildtype": {
  23631. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23632. "type": "integer"
  23633. },
  23634. "charge": {
  23635. "description": "手续费",
  23636. "type": "number"
  23637. },
  23638. "closepl": {
  23639. "description": "平仓盈亏",
  23640. "type": "number"
  23641. },
  23642. "closetype": {
  23643. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23644. "type": "integer"
  23645. },
  23646. "convertratio": {
  23647. "description": "折算系数",
  23648. "type": "number"
  23649. },
  23650. "enumdicname": {
  23651. "description": "单位名称",
  23652. "type": "string"
  23653. },
  23654. "executeprice": {
  23655. "description": "执行价 [期权]",
  23656. "type": "integer"
  23657. },
  23658. "goodscode": {
  23659. "description": "合约代码",
  23660. "type": "string"
  23661. },
  23662. "goodsgroupid": {
  23663. "description": "对冲品种ID[期货合约商品组ID]",
  23664. "type": "integer"
  23665. },
  23666. "goodsid": {
  23667. "description": "商品ID",
  23668. "type": "integer"
  23669. },
  23670. "goodsname": {
  23671. "description": "合约名称",
  23672. "type": "string"
  23673. },
  23674. "goodunitid": {
  23675. "description": "单位id",
  23676. "type": "integer"
  23677. },
  23678. "hedgeflag": {
  23679. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23680. "type": "integer"
  23681. },
  23682. "marketid": {
  23683. "description": "市场ID",
  23684. "type": "integer"
  23685. },
  23686. "middlegoodsid": {
  23687. "description": "套保品种ID",
  23688. "type": "integer"
  23689. },
  23690. "middlegoodsqty": {
  23691. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  23692. "type": "number"
  23693. },
  23694. "optioncode": {
  23695. "description": "期权代码 [期权]",
  23696. "type": "string"
  23697. },
  23698. "ordertype": {
  23699. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  23700. "type": "integer"
  23701. },
  23702. "ordertypename": {
  23703. "description": "订单类型",
  23704. "type": "string"
  23705. },
  23706. "parentaccountid": {
  23707. "description": "所属母账户",
  23708. "type": "integer"
  23709. },
  23710. "premium": {
  23711. "description": "权利金 [期权]",
  23712. "type": "number"
  23713. },
  23714. "relatedlot": {
  23715. "description": "已关联数量(已关联数量手) | db:关联手数",
  23716. "type": "number"
  23717. },
  23718. "relatedouttradeid": {
  23719. "description": "关联外部成交单ID",
  23720. "type": "string"
  23721. },
  23722. "relatedqty": {
  23723. "description": "关联数量",
  23724. "type": "number"
  23725. },
  23726. "spotcontractid": {
  23727. "description": "现货合同ID [4:套期保值\\10\\11]",
  23728. "type": "string"
  23729. },
  23730. "taname": {
  23731. "description": "期货账户名称",
  23732. "type": "string"
  23733. },
  23734. "tradeamount": {
  23735. "description": "成交金额(账户)",
  23736. "type": "number"
  23737. },
  23738. "tradedate": {
  23739. "description": "交易日(yyyyMMdd)",
  23740. "type": "string"
  23741. },
  23742. "tradeid": {
  23743. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23744. "type": "string"
  23745. },
  23746. "tradelot": {
  23747. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  23748. "type": "integer"
  23749. },
  23750. "tradeprice": {
  23751. "description": "成交价格",
  23752. "type": "number"
  23753. },
  23754. "tradetime": {
  23755. "description": "时间 | db:成交时间",
  23756. "type": "string"
  23757. },
  23758. "tradetype": {
  23759. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  23760. "type": "integer"
  23761. },
  23762. "userid": {
  23763. "description": "所属机构 - 所属母账户的UserID",
  23764. "type": "string"
  23765. },
  23766. "username": {
  23767. "description": "用户名称",
  23768. "type": "string"
  23769. }
  23770. }
  23771. },
  23772. "models.Ermcp3ParamChangeApp": {
  23773. "type": "object",
  23774. "properties": {
  23775. "aftervalue": {
  23776. "description": "变更后",
  23777. "type": "number"
  23778. },
  23779. "applicationid": {
  23780. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  23781. "type": "string"
  23782. },
  23783. "applyid": {
  23784. "description": "申请人",
  23785. "type": "string"
  23786. },
  23787. "applyname": {
  23788. "description": "申请人名称(代码)",
  23789. "type": "string"
  23790. },
  23791. "applyremark": {
  23792. "description": "申请备注",
  23793. "type": "string"
  23794. },
  23795. "applysrc": {
  23796. "description": "申请来源 - 1:管理端 2:终端",
  23797. "type": "integer"
  23798. },
  23799. "applystatus": {
  23800. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23801. "type": "integer"
  23802. },
  23803. "applytime": {
  23804. "description": "申请时间",
  23805. "type": "string"
  23806. },
  23807. "areauserid": {
  23808. "description": "所属机构用户ID",
  23809. "type": "integer"
  23810. },
  23811. "auditid": {
  23812. "description": "审核人",
  23813. "type": "string"
  23814. },
  23815. "auditname": {
  23816. "description": "审核人名称(代码)",
  23817. "type": "string"
  23818. },
  23819. "auditremark": {
  23820. "description": "审核备注",
  23821. "type": "string"
  23822. },
  23823. "auditsrc": {
  23824. "description": "审核来源 - 1:管理端 2:终端",
  23825. "type": "integer"
  23826. },
  23827. "audittime": {
  23828. "description": "审核时间",
  23829. "type": "string"
  23830. },
  23831. "audittradedate": {
  23832. "description": "审核交易日(yyyyMMdd)",
  23833. "type": "string"
  23834. },
  23835. "beforevalue": {
  23836. "description": "变更前",
  23837. "type": "number"
  23838. },
  23839. "deliverygoodscode": {
  23840. "description": "品种代码",
  23841. "type": "string"
  23842. },
  23843. "deliverygoodsid": {
  23844. "description": "品种id",
  23845. "type": "integer"
  23846. },
  23847. "deliverygoodsname": {
  23848. "description": "品种名称",
  23849. "type": "string"
  23850. },
  23851. "middlegoodscode": {
  23852. "description": "套保品种代码",
  23853. "type": "string"
  23854. },
  23855. "middlegoodsid": {
  23856. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  23857. "type": "integer"
  23858. },
  23859. "middlegoodsname": {
  23860. "description": "套保品种名称",
  23861. "type": "string"
  23862. },
  23863. "operatetype": {
  23864. "description": "操作类型 - 1:新增 2:修改",
  23865. "type": "integer"
  23866. },
  23867. "paramchangetype": {
  23868. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  23869. "type": "integer"
  23870. },
  23871. "wrstandardcode": {
  23872. "description": "现货商品代码",
  23873. "type": "string"
  23874. },
  23875. "wrstandardid": {
  23876. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  23877. "type": "integer"
  23878. },
  23879. "wrstandardname": {
  23880. "description": "现货商品名称",
  23881. "type": "string"
  23882. }
  23883. }
  23884. },
  23885. "models.Ermcp3RootUserAccount": {
  23886. "type": "object",
  23887. "properties": {
  23888. "accountname": {
  23889. "description": "账户名称(机构名称)",
  23890. "type": "string"
  23891. },
  23892. "accountstatus": {
  23893. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23894. "type": "integer"
  23895. },
  23896. "applysrc": {
  23897. "description": "申请来源 - 1:管理端 2:终端",
  23898. "type": "integer"
  23899. },
  23900. "auditremark": {
  23901. "description": "审核备注",
  23902. "type": "string"
  23903. },
  23904. "auditsrc": {
  23905. "description": "审核来源 - 1:管理端 2:终端",
  23906. "type": "integer"
  23907. },
  23908. "audittime": {
  23909. "description": "审核时间",
  23910. "type": "string"
  23911. },
  23912. "audituserid": {
  23913. "description": "审核人",
  23914. "type": "integer"
  23915. },
  23916. "broker": {
  23917. "description": "所属经纪人ID",
  23918. "type": "integer"
  23919. },
  23920. "canceltime": {
  23921. "description": "销户时间",
  23922. "type": "string"
  23923. },
  23924. "canceluserid": {
  23925. "description": "销户人",
  23926. "type": "integer"
  23927. },
  23928. "canrecommend": {
  23929. "description": "是否可推荐 - 0:不可 1;可",
  23930. "type": "integer"
  23931. },
  23932. "createtime": {
  23933. "description": "创建时间",
  23934. "type": "string"
  23935. },
  23936. "creatorid": {
  23937. "description": "创建人",
  23938. "type": "integer"
  23939. },
  23940. "hasauth": {
  23941. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23942. "type": "integer"
  23943. },
  23944. "isanonymous": {
  23945. "description": "是否匿名下单 - 0:否 1:是",
  23946. "type": "integer"
  23947. },
  23948. "maxinvestornum": {
  23949. "description": "最大用户数(经纪会员下投资者个数)",
  23950. "type": "integer"
  23951. },
  23952. "memberuserid": {
  23953. "description": "所属会员ID",
  23954. "type": "integer"
  23955. },
  23956. "modifierid": {
  23957. "description": "修改人",
  23958. "type": "integer"
  23959. },
  23960. "modifyremark": {
  23961. "description": "变更备注",
  23962. "type": "string"
  23963. },
  23964. "modifystatus": {
  23965. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23966. "type": "integer"
  23967. },
  23968. "modifytime": {
  23969. "description": "修改时间",
  23970. "type": "string"
  23971. },
  23972. "nickname": {
  23973. "description": "昵称",
  23974. "type": "string"
  23975. },
  23976. "parenttopuser": {
  23977. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23978. "type": "string"
  23979. },
  23980. "parentuserid": {
  23981. "description": "所属机构ID",
  23982. "type": "integer"
  23983. },
  23984. "reckonaccountid": {
  23985. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23986. "type": "integer"
  23987. },
  23988. "refercount": {
  23989. "description": "推荐总人数",
  23990. "type": "integer"
  23991. },
  23992. "refereeuserid": {
  23993. "description": "推荐人ID",
  23994. "type": "integer"
  23995. },
  23996. "refernum": {
  23997. "description": "推荐码",
  23998. "type": "string"
  23999. },
  24000. "rootuserid": {
  24001. "description": "根用户ID",
  24002. "type": "integer"
  24003. },
  24004. "subaccountlevel": {
  24005. "description": "子账户层数",
  24006. "type": "integer"
  24007. },
  24008. "subarealevelpath": {
  24009. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24010. "type": "string"
  24011. },
  24012. "userid": {
  24013. "description": "用户ID",
  24014. "type": "integer"
  24015. },
  24016. "usertype": {
  24017. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24018. "type": "integer"
  24019. }
  24020. }
  24021. },
  24022. "models.Ermcp3SCMiddleGoods": {
  24023. "type": "object",
  24024. "properties": {
  24025. "biztype": {
  24026. "description": "业务类型 1:套保 2:套利",
  24027. "type": "integer"
  24028. },
  24029. "contractno": {
  24030. "description": "合同编号",
  24031. "type": "string"
  24032. },
  24033. "contracttype": {
  24034. "description": "合同类型 1:采购 -1:销售",
  24035. "type": "integer"
  24036. },
  24037. "convertratio": {
  24038. "description": "折算系数",
  24039. "type": "number"
  24040. },
  24041. "customername": {
  24042. "description": "对手手名称",
  24043. "type": "string"
  24044. },
  24045. "customeruserid": {
  24046. "description": "对手id",
  24047. "type": "integer"
  24048. },
  24049. "deliverygoodscode": {
  24050. "description": "现货品种代码",
  24051. "type": "string"
  24052. },
  24053. "deliverygoodsid": {
  24054. "description": "现货品种ID",
  24055. "type": "integer"
  24056. },
  24057. "deliverygoodsname": {
  24058. "description": "现货品种名称",
  24059. "type": "string"
  24060. },
  24061. "enumdicname": {
  24062. "description": "现货单位名称",
  24063. "type": "string"
  24064. },
  24065. "middlegoodsid": {
  24066. "description": "套保品种ID",
  24067. "type": "integer"
  24068. },
  24069. "middlegoodspricedqty3": {
  24070. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  24071. "type": "number"
  24072. },
  24073. "needhedgeratio": {
  24074. "description": "套保比例",
  24075. "type": "number"
  24076. },
  24077. "pricedqty": {
  24078. "description": "已定价量",
  24079. "type": "number"
  24080. },
  24081. "relatedmiddlegoodsqty": {
  24082. "description": "已关联量(套保品种)(期货)",
  24083. "type": "number"
  24084. },
  24085. "spotcontractid": {
  24086. "description": "合同编号",
  24087. "type": "string"
  24088. },
  24089. "unitid": {
  24090. "description": "现货单位id",
  24091. "type": "integer"
  24092. },
  24093. "userid": {
  24094. "description": "用户id",
  24095. "type": "integer"
  24096. },
  24097. "vatrate": {
  24098. "description": "增值税率",
  24099. "type": "number"
  24100. },
  24101. "wrstandardcode": {
  24102. "description": "现货商品代码",
  24103. "type": "string"
  24104. },
  24105. "wrstandardid": {
  24106. "description": "现货商品id",
  24107. "type": "integer"
  24108. },
  24109. "wrstandardname": {
  24110. "description": "现货商品名称",
  24111. "type": "string"
  24112. }
  24113. }
  24114. },
  24115. "models.Ermcp3SCMiddleGoodsReport": {
  24116. "type": "object",
  24117. "properties": {
  24118. "begindate": {
  24119. "description": "开始交易日",
  24120. "type": "string"
  24121. },
  24122. "contractno": {
  24123. "description": "合同编号",
  24124. "type": "string"
  24125. },
  24126. "contracttype": {
  24127. "description": "合同类型 1:采购 -1:销售",
  24128. "type": "integer"
  24129. },
  24130. "convertratio": {
  24131. "description": "折算系数",
  24132. "type": "number"
  24133. },
  24134. "cycletime": {
  24135. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24136. "type": "string"
  24137. },
  24138. "cycletype": {
  24139. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24140. "type": "integer"
  24141. },
  24142. "deliverygoodscode": {
  24143. "description": "品种代码",
  24144. "type": "string"
  24145. },
  24146. "deliverygoodsid": {
  24147. "description": "现货品种ID",
  24148. "type": "integer"
  24149. },
  24150. "deliverygoodsname": {
  24151. "description": "品种名称",
  24152. "type": "string"
  24153. },
  24154. "diffprice": {
  24155. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  24156. "type": "number"
  24157. },
  24158. "diffqty": {
  24159. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  24160. "type": "number"
  24161. },
  24162. "enddate": {
  24163. "description": "结束交易日",
  24164. "type": "string"
  24165. },
  24166. "hedgeplanqty": {
  24167. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  24168. "type": "number"
  24169. },
  24170. "matchname": {
  24171. "description": "交易对手方(个人:用户名称 企业:简称)",
  24172. "type": "string"
  24173. },
  24174. "matchnickname": {
  24175. "description": "交易对手方昵称",
  24176. "type": "string"
  24177. },
  24178. "middlegoodscode": {
  24179. "description": "套保品种代码",
  24180. "type": "string"
  24181. },
  24182. "middlegoodsid": {
  24183. "description": "套保品种ID",
  24184. "type": "integer"
  24185. },
  24186. "middlegoodsname": {
  24187. "description": "套保品种名称",
  24188. "type": "string"
  24189. },
  24190. "middlegoodspricedqty": {
  24191. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  24192. "type": "number"
  24193. },
  24194. "middlegoodspricedqty2": {
  24195. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  24196. "type": "number"
  24197. },
  24198. "middlegoodspricedqty3": {
  24199. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  24200. "type": "number"
  24201. },
  24202. "needhedgeratio": {
  24203. "description": "套保系数",
  24204. "type": "number"
  24205. },
  24206. "pricedamount": {
  24207. "description": "已定价额(现货)",
  24208. "type": "number"
  24209. },
  24210. "pricedamount2": {
  24211. "description": "已定价额(现货-基价额)",
  24212. "type": "number"
  24213. },
  24214. "pricedqty": {
  24215. "description": "已定价量(现货)",
  24216. "type": "number"
  24217. },
  24218. "reckondate": {
  24219. "description": "日照时期(yyyyMMdd)",
  24220. "type": "string"
  24221. },
  24222. "relatedmiddlegoodsamount": {
  24223. "description": "已关联额(期货)",
  24224. "type": "number"
  24225. },
  24226. "relatedmiddlegoodsqty": {
  24227. "description": "已关联量(套保品种)(期货)",
  24228. "type": "number"
  24229. },
  24230. "spotcontractid": {
  24231. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24232. "type": "string"
  24233. },
  24234. "todayavgfutuprice": {
  24235. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  24236. "type": "number"
  24237. },
  24238. "todayavgprice": {
  24239. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  24240. "type": "number"
  24241. },
  24242. "todayavgprice2": {
  24243. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  24244. "type": "number"
  24245. },
  24246. "todaypricedamount": {
  24247. "description": "今日定价额(现货)",
  24248. "type": "number"
  24249. },
  24250. "todaypricedamount2": {
  24251. "description": "今日定价额(现货-基价额)",
  24252. "type": "number"
  24253. },
  24254. "todaypricedqty": {
  24255. "description": "今日定价量(现货)",
  24256. "type": "number"
  24257. },
  24258. "todayrelatedfutureqty": {
  24259. "description": "今日关联量(期货)",
  24260. "type": "number"
  24261. },
  24262. "todayrelatedmiddlegoodsamount": {
  24263. "description": "今日关联额(期货)",
  24264. "type": "number"
  24265. },
  24266. "todayrelatedmiddlegoodsqty": {
  24267. "description": "今日关联量(套保品-期货)",
  24268. "type": "number"
  24269. },
  24270. "updatetime": {
  24271. "description": "更新时间",
  24272. "type": "string"
  24273. },
  24274. "userid": {
  24275. "description": "合同所属用户id",
  24276. "type": "integer"
  24277. },
  24278. "vatrate": {
  24279. "description": "增值税率",
  24280. "type": "number"
  24281. },
  24282. "wrstandardcode": {
  24283. "description": "商品(品类) 代码",
  24284. "type": "string"
  24285. },
  24286. "wrstandardid": {
  24287. "description": "现货商品ID",
  24288. "type": "integer"
  24289. },
  24290. "wrstandardname": {
  24291. "description": "商品(品类) 名称",
  24292. "type": "string"
  24293. }
  24294. }
  24295. },
  24296. "models.Ermcp3SellBuyContract": {
  24297. "type": "object",
  24298. "properties": {
  24299. "accountid": {
  24300. "description": "期货账户id",
  24301. "type": "string"
  24302. },
  24303. "accountname": {
  24304. "description": "账户名称",
  24305. "type": "string"
  24306. },
  24307. "attachment": {
  24308. "description": "附件",
  24309. "type": "string"
  24310. },
  24311. "audittime": {
  24312. "description": "审核时间",
  24313. "type": "string"
  24314. },
  24315. "bizsubjectid": {
  24316. "description": "归属业务部门ID - SubjectID",
  24317. "type": "integer"
  24318. },
  24319. "biztype": {
  24320. "description": "业务类型 1-套保 2-套利",
  24321. "type": "integer"
  24322. },
  24323. "brandname": {
  24324. "description": "品牌名称",
  24325. "type": "string"
  24326. },
  24327. "contracctstatus": {
  24328. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24329. "type": "integer"
  24330. },
  24331. "contractmargin": {
  24332. "description": "合同保证金",
  24333. "type": "number"
  24334. },
  24335. "contractno": {
  24336. "description": "合同编号",
  24337. "type": "string"
  24338. },
  24339. "contracttype": {
  24340. "description": "合同类型 1-采购, -1-销售",
  24341. "type": "integer"
  24342. },
  24343. "convertfactor": {
  24344. "description": "标仓系数(品类)",
  24345. "type": "number"
  24346. },
  24347. "createtime": {
  24348. "description": "创建时间",
  24349. "type": "string"
  24350. },
  24351. "currencyid": {
  24352. "description": "币种id",
  24353. "type": "integer"
  24354. },
  24355. "currencyname": {
  24356. "description": "币种名称",
  24357. "type": "string"
  24358. },
  24359. "daikaiamount": {
  24360. "description": "应收(开)票额 | 未收票额",
  24361. "type": "number"
  24362. },
  24363. "deliveryenddate": {
  24364. "description": "交割结束日",
  24365. "type": "string"
  24366. },
  24367. "deliverygoodscode": {
  24368. "description": "现货品种代码",
  24369. "type": "string"
  24370. },
  24371. "deliverygoodsid": {
  24372. "description": "现货商品ID",
  24373. "type": "integer"
  24374. },
  24375. "deliverygoodsname": {
  24376. "description": "现货品种名称",
  24377. "type": "string"
  24378. },
  24379. "deliverystartdate": {
  24380. "description": "交割开始日",
  24381. "type": "string"
  24382. },
  24383. "enddate": {
  24384. "description": "点价结束日",
  24385. "type": "string"
  24386. },
  24387. "enumdicname": {
  24388. "description": "单位名称",
  24389. "type": "string"
  24390. },
  24391. "goodscode": {
  24392. "description": "点价商品代码",
  24393. "type": "string"
  24394. },
  24395. "goodsgroupid": {
  24396. "description": "点价商品组id",
  24397. "type": "integer"
  24398. },
  24399. "goodsid": {
  24400. "description": "点价商品ID",
  24401. "type": "integer"
  24402. },
  24403. "goodsname": {
  24404. "description": "点价商品名称",
  24405. "type": "string"
  24406. },
  24407. "invoiceamount": {
  24408. "description": "已开票额",
  24409. "type": "number"
  24410. },
  24411. "loanamount": {
  24412. "description": "贷款总额=已定价额+调整金额",
  24413. "type": "number"
  24414. },
  24415. "margin": {
  24416. "description": "保证金",
  24417. "type": "number"
  24418. },
  24419. "meruserid": {
  24420. "description": "跟单员id",
  24421. "type": "integer"
  24422. },
  24423. "meruserlogincode": {
  24424. "description": "跟单员登录代码",
  24425. "type": "string"
  24426. },
  24427. "merusername": {
  24428. "description": "跟单员名称",
  24429. "type": "string"
  24430. },
  24431. "nickname": {
  24432. "description": "账户昵称",
  24433. "type": "string"
  24434. },
  24435. "orireckonrealqty": {
  24436. "description": "应交收量",
  24437. "type": "number"
  24438. },
  24439. "payamount": {
  24440. "description": "已收付额(收款或付款)",
  24441. "type": "number"
  24442. },
  24443. "preinvoiceamount": {
  24444. "description": "预收(开)票额",
  24445. "type": "number"
  24446. },
  24447. "prepayamount": {
  24448. "description": "预收付额",
  24449. "type": "number"
  24450. },
  24451. "price": {
  24452. "description": "价格",
  24453. "type": "number"
  24454. },
  24455. "pricedamount": {
  24456. "description": "已定价额",
  24457. "type": "number"
  24458. },
  24459. "pricedavg": {
  24460. "description": "已点均价",
  24461. "type": "number"
  24462. },
  24463. "pricedqty": {
  24464. "description": "已定价量",
  24465. "type": "number"
  24466. },
  24467. "pricemove": {
  24468. "description": "升贴水",
  24469. "type": "number"
  24470. },
  24471. "pricetype": {
  24472. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24473. "type": "integer"
  24474. },
  24475. "producttype": {
  24476. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24477. "type": "integer"
  24478. },
  24479. "qty": {
  24480. "description": "合同量",
  24481. "type": "number"
  24482. },
  24483. "reckonadjustamount": {
  24484. "description": "调整金额",
  24485. "type": "number"
  24486. },
  24487. "reckonedamount": {
  24488. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  24489. "type": "number"
  24490. },
  24491. "reckonotheramount": {
  24492. "description": "其它费用",
  24493. "type": "number"
  24494. },
  24495. "reckonrealqty": {
  24496. "description": "已交收量",
  24497. "type": "number"
  24498. },
  24499. "remark": {
  24500. "description": "备注",
  24501. "type": "string"
  24502. },
  24503. "saleuserid": {
  24504. "description": "业务员id",
  24505. "type": "integer"
  24506. },
  24507. "saleuserlogincode": {
  24508. "description": "业务员登录代码",
  24509. "type": "string"
  24510. },
  24511. "saleusername": {
  24512. "description": "业务员名称",
  24513. "type": "string"
  24514. },
  24515. "spotcontractid": {
  24516. "description": "合同ID",
  24517. "type": "string"
  24518. },
  24519. "spotgoodsbrandid": {
  24520. "description": "现货品牌ID(DGFactoryItem表的ID)",
  24521. "type": "integer"
  24522. },
  24523. "spotgoodsdesc": {
  24524. "description": "商品型号(商品规格)",
  24525. "type": "string"
  24526. },
  24527. "startdate": {
  24528. "description": "点价开始日",
  24529. "type": "string"
  24530. },
  24531. "subjectid": {
  24532. "description": "交易主体ID",
  24533. "type": "integer"
  24534. },
  24535. "subjectname": {
  24536. "description": "交易主体名称",
  24537. "type": "string"
  24538. },
  24539. "totalamount": {
  24540. "description": "合计总额",
  24541. "type": "number"
  24542. },
  24543. "tradeuserid": {
  24544. "description": "交易员id",
  24545. "type": "integer"
  24546. },
  24547. "tradeuserlogincode": {
  24548. "description": "交易员登录代码",
  24549. "type": "string"
  24550. },
  24551. "tradeusername": {
  24552. "description": "交易员名称",
  24553. "type": "string"
  24554. },
  24555. "unpayamount": {
  24556. "description": "应收付款额(应支付或应收款) | 未付款额",
  24557. "type": "number"
  24558. },
  24559. "unpricedqty": {
  24560. "description": "未定价量",
  24561. "type": "number"
  24562. },
  24563. "unsureqty": {
  24564. "description": "未确定量 | 未交收量",
  24565. "type": "number"
  24566. },
  24567. "userid": {
  24568. "description": "机构ID",
  24569. "type": "integer"
  24570. },
  24571. "vatrate": {
  24572. "description": "增值税率",
  24573. "type": "number"
  24574. },
  24575. "wrstandardcode": {
  24576. "description": "品类代码",
  24577. "type": "string"
  24578. },
  24579. "wrstandardid": {
  24580. "description": "品类ID",
  24581. "type": "integer"
  24582. },
  24583. "wrstandardname": {
  24584. "description": "品类名称",
  24585. "type": "string"
  24586. }
  24587. }
  24588. },
  24589. "models.Ermcp3SpotGoodsPrice": {
  24590. "type": "object",
  24591. "properties": {
  24592. "areauserid": {
  24593. "description": "所属机构id",
  24594. "type": "integer"
  24595. },
  24596. "brandname": {
  24597. "description": "品牌名称",
  24598. "type": "string"
  24599. },
  24600. "currencyid": {
  24601. "description": "报价货币ID",
  24602. "type": "integer"
  24603. },
  24604. "currencyname": {
  24605. "description": "币种名称",
  24606. "type": "string"
  24607. },
  24608. "deliverygoodscode": {
  24609. "description": "现货商品代码",
  24610. "type": "string"
  24611. },
  24612. "deliverygoodsid": {
  24613. "description": "现货商品id",
  24614. "type": "integer"
  24615. },
  24616. "deliverygoodsname": {
  24617. "description": "现货商品名称",
  24618. "type": "string"
  24619. },
  24620. "enumdicname": {
  24621. "description": "现货商品单位名称",
  24622. "type": "string"
  24623. },
  24624. "gbenumdicname": {
  24625. "description": "品类单位名称",
  24626. "type": "string"
  24627. },
  24628. "gmunitid": {
  24629. "description": "品类单位id",
  24630. "type": "integer"
  24631. },
  24632. "isvalid": {
  24633. "description": "是否有效 - 0:无效 1:有效",
  24634. "type": "integer"
  24635. },
  24636. "operateid": {
  24637. "description": "最后操作人",
  24638. "type": "integer"
  24639. },
  24640. "operatesrc": {
  24641. "description": "最后操作来源 - 1:管理端 2:终端",
  24642. "type": "integer"
  24643. },
  24644. "operatetime": {
  24645. "description": "最后操作时间",
  24646. "type": "string"
  24647. },
  24648. "operatorname": {
  24649. "description": "操作人名称",
  24650. "type": "string"
  24651. },
  24652. "spotgoodsbrandid": {
  24653. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  24654. "type": "integer"
  24655. },
  24656. "spotgoodsprice": {
  24657. "description": "现货价格",
  24658. "type": "number"
  24659. },
  24660. "tradedate": {
  24661. "description": "交易日(yyyyMMdd)",
  24662. "type": "string"
  24663. },
  24664. "unitid": {
  24665. "description": "现货商品单位id",
  24666. "type": "integer"
  24667. },
  24668. "wrstandardcode": {
  24669. "description": "品类代码",
  24670. "type": "string"
  24671. },
  24672. "wrstandardid": {
  24673. "description": "现货品类ID(通用则为0)",
  24674. "type": "integer"
  24675. },
  24676. "wrstandardname": {
  24677. "description": "品类名称",
  24678. "type": "string"
  24679. }
  24680. }
  24681. },
  24682. "models.Ermcp3SpotGoodsPriceLog": {
  24683. "type": "object",
  24684. "properties": {
  24685. "areauserid": {
  24686. "description": "所属机构id",
  24687. "type": "integer"
  24688. },
  24689. "brandname": {
  24690. "description": "品牌名称",
  24691. "type": "string"
  24692. },
  24693. "currencyid": {
  24694. "description": "报价货币ID",
  24695. "type": "integer"
  24696. },
  24697. "deliverygoodscode": {
  24698. "description": "现货商品代码",
  24699. "type": "string"
  24700. },
  24701. "deliverygoodsid": {
  24702. "description": "现货商品id",
  24703. "type": "integer"
  24704. },
  24705. "deliverygoodsname": {
  24706. "description": "现货商品名称",
  24707. "type": "string"
  24708. },
  24709. "enumdicname": {
  24710. "description": "现货商品单位名称",
  24711. "type": "string"
  24712. },
  24713. "gbenumdicname": {
  24714. "description": "品类单位名称",
  24715. "type": "string"
  24716. },
  24717. "gmunitid": {
  24718. "description": "品类单位id",
  24719. "type": "integer"
  24720. },
  24721. "logid": {
  24722. "description": "日志id",
  24723. "type": "integer"
  24724. },
  24725. "operateid": {
  24726. "description": "最后操作人",
  24727. "type": "integer"
  24728. },
  24729. "operatesrc": {
  24730. "description": "最后操作来源 - 1:管理端 2:终端",
  24731. "type": "integer"
  24732. },
  24733. "operatetime": {
  24734. "description": "最后操作时间",
  24735. "type": "string"
  24736. },
  24737. "operatorname": {
  24738. "description": "操作人名称",
  24739. "type": "string"
  24740. },
  24741. "spotgoodsbrandid": {
  24742. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  24743. "type": "integer"
  24744. },
  24745. "spotgoodsprice": {
  24746. "description": "现货价格",
  24747. "type": "number"
  24748. },
  24749. "tradedate": {
  24750. "description": "交易日(yyyyMMdd)",
  24751. "type": "string"
  24752. },
  24753. "unitid": {
  24754. "description": "现货商品单位id",
  24755. "type": "integer"
  24756. },
  24757. "wrstandardcode": {
  24758. "description": "品类代码",
  24759. "type": "string"
  24760. },
  24761. "wrstandardid": {
  24762. "description": "现货品类ID(通用则为0)",
  24763. "type": "integer"
  24764. },
  24765. "wrstandardname": {
  24766. "description": "品类名称",
  24767. "type": "string"
  24768. }
  24769. }
  24770. },
  24771. "models.Ermcp3SubTaaccount": {
  24772. "type": "object",
  24773. "properties": {
  24774. "accountid": {
  24775. "description": "资金账户ID",
  24776. "type": "integer"
  24777. },
  24778. "parentaccountcode": {
  24779. "description": "所属根账号代码(母账号代码)",
  24780. "type": "string"
  24781. },
  24782. "parentaccountid": {
  24783. "description": "所属根账号(母账号)",
  24784. "type": "integer"
  24785. },
  24786. "taname": {
  24787. "description": "资金账号名称",
  24788. "type": "string"
  24789. },
  24790. "tradestatus": {
  24791. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  24792. "type": "integer"
  24793. },
  24794. "username": {
  24795. "description": "交易用户",
  24796. "type": "string"
  24797. }
  24798. }
  24799. },
  24800. "models.Ermcp3TaFutuReDataReport": {
  24801. "type": "object",
  24802. "properties": {
  24803. "accountid": {
  24804. "description": "交易账户",
  24805. "type": "integer"
  24806. },
  24807. "accountname": {
  24808. "description": "交易账号名称",
  24809. "type": "string"
  24810. },
  24811. "agreeunit": {
  24812. "description": "商品合约单位",
  24813. "type": "number"
  24814. },
  24815. "begindate": {
  24816. "description": "开始交易日",
  24817. "type": "string"
  24818. },
  24819. "buyorsell": {
  24820. "description": "持仓方向",
  24821. "type": "integer"
  24822. },
  24823. "charge": {
  24824. "description": "手续费",
  24825. "type": "number"
  24826. },
  24827. "closeavgprice": {
  24828. "description": "平仓均价",
  24829. "type": "number"
  24830. },
  24831. "closepl": {
  24832. "description": "平仓损益",
  24833. "type": "number"
  24834. },
  24835. "currencyid": {
  24836. "description": "结算币种ID",
  24837. "type": "integer"
  24838. },
  24839. "currencyname": {
  24840. "description": "币种名称",
  24841. "type": "string"
  24842. },
  24843. "cycletime": {
  24844. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24845. "type": "string"
  24846. },
  24847. "cycletype": {
  24848. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24849. "type": "integer"
  24850. },
  24851. "enddate": {
  24852. "description": "结束交易日",
  24853. "type": "string"
  24854. },
  24855. "enumdicname": {
  24856. "description": "单位名称",
  24857. "type": "string"
  24858. },
  24859. "floatpl": {
  24860. "description": "浮动损益",
  24861. "type": "number"
  24862. },
  24863. "goodscode": {
  24864. "description": "交易合约代码",
  24865. "type": "string"
  24866. },
  24867. "goodsgroupid": {
  24868. "description": "交易品种",
  24869. "type": "integer"
  24870. },
  24871. "goodsgroupname": {
  24872. "description": "交易品种名称",
  24873. "type": "string"
  24874. },
  24875. "goodsgroupspotqty": {
  24876. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  24877. "type": "number"
  24878. },
  24879. "goodsid": {
  24880. "description": "交易合约",
  24881. "type": "integer"
  24882. },
  24883. "goodsname": {
  24884. "description": "交易合约名称",
  24885. "type": "string"
  24886. },
  24887. "goodunitid": {
  24888. "description": "交易合约单位id",
  24889. "type": "integer"
  24890. },
  24891. "holdamount": {
  24892. "description": "期末持仓额",
  24893. "type": "number"
  24894. },
  24895. "holdqty": {
  24896. "description": "期末持仓量",
  24897. "type": "number"
  24898. },
  24899. "lastholdamount": {
  24900. "description": "当前持仓额",
  24901. "type": "number"
  24902. },
  24903. "lastprice": {
  24904. "description": "最新价",
  24905. "type": "number"
  24906. },
  24907. "middlegoodsid": {
  24908. "description": "套保品种id",
  24909. "type": "integer"
  24910. },
  24911. "middlegoodsname": {
  24912. "description": "套保商品名称",
  24913. "type": "string"
  24914. },
  24915. "middlegoodsqty": {
  24916. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  24917. "type": "number"
  24918. },
  24919. "middlgoodscode": {
  24920. "description": "套保商品代码",
  24921. "type": "string"
  24922. },
  24923. "openamount": {
  24924. "description": "期末开仓额",
  24925. "type": "number"
  24926. },
  24927. "openavgprice": {
  24928. "description": "开仓均价",
  24929. "type": "number"
  24930. },
  24931. "oriholdamount": {
  24932. "description": "期初持仓额",
  24933. "type": "number"
  24934. },
  24935. "oriholdqty": {
  24936. "description": "期初持仓量",
  24937. "type": "number"
  24938. },
  24939. "oriopenamount": {
  24940. "description": "期初开仓额",
  24941. "type": "number"
  24942. },
  24943. "outergroupcode": {
  24944. "description": "交易品种代码",
  24945. "type": "string"
  24946. },
  24947. "qtydecimalplace": {
  24948. "description": "成交量小数位",
  24949. "type": "integer"
  24950. },
  24951. "reckondate": {
  24952. "description": "日照时期(yyyyMMdd)",
  24953. "type": "string"
  24954. },
  24955. "reckonholdamount": {
  24956. "description": "结算持仓额",
  24957. "type": "number"
  24958. },
  24959. "reckonpl": {
  24960. "description": "结算损益",
  24961. "type": "number"
  24962. },
  24963. "reckonpl2": {
  24964. "description": "结算逐笔盈亏",
  24965. "type": "number"
  24966. },
  24967. "reckonprice": {
  24968. "description": "结算价",
  24969. "type": "number"
  24970. },
  24971. "relateduserid": {
  24972. "description": "账户关联用户ID",
  24973. "type": "integer"
  24974. },
  24975. "todaycloseamount": {
  24976. "description": "今平仓额",
  24977. "type": "number"
  24978. },
  24979. "todaycloseqty": {
  24980. "description": "今平仓量",
  24981. "type": "number"
  24982. },
  24983. "todaygoodsgroupspotqty": {
  24984. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  24985. "type": "number"
  24986. },
  24987. "todaymiddlegoodsqty": {
  24988. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  24989. "type": "number"
  24990. },
  24991. "todayopenamount": {
  24992. "description": "今开仓额",
  24993. "type": "number"
  24994. },
  24995. "todayopenqty": {
  24996. "description": "今开仓量",
  24997. "type": "number"
  24998. },
  24999. "userid": {
  25000. "description": "账户所属用户ID",
  25001. "type": "integer"
  25002. }
  25003. }
  25004. },
  25005. "models.Ermcp3TradeLinkDetail": {
  25006. "type": "object",
  25007. "properties": {
  25008. "accountid": {
  25009. "description": "资金账号",
  25010. "type": "integer"
  25011. },
  25012. "agreeunit": {
  25013. "description": "合约乘数",
  25014. "type": "number"
  25015. },
  25016. "areauserid": {
  25017. "description": "所属机构",
  25018. "type": "string"
  25019. },
  25020. "bizsubjectid": {
  25021. "description": "归属业务部门ID - SubjectID",
  25022. "type": "string"
  25023. },
  25024. "buyorsell": {
  25025. "description": "方向 - 0:买 1:卖",
  25026. "type": "integer"
  25027. },
  25028. "channelbuildtype": {
  25029. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25030. "type": "integer"
  25031. },
  25032. "contractno": {
  25033. "description": "现货编号 (合同编号)",
  25034. "type": "string"
  25035. },
  25036. "convertratio": {
  25037. "description": "折算系数",
  25038. "type": "number"
  25039. },
  25040. "createtime": {
  25041. "description": "关联时间 | 创建时间",
  25042. "type": "string"
  25043. },
  25044. "creatorid": {
  25045. "description": "创建人ID",
  25046. "type": "string"
  25047. },
  25048. "creatorsrc": {
  25049. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25050. "type": "integer"
  25051. },
  25052. "enumdicname": {
  25053. "description": "单位名称",
  25054. "type": "string"
  25055. },
  25056. "goodscode": {
  25057. "description": "合约代码",
  25058. "type": "string"
  25059. },
  25060. "goodsgroupid": {
  25061. "description": "对冲品种ID[期货合约商品组ID]",
  25062. "type": "integer"
  25063. },
  25064. "goodsid": {
  25065. "description": "商品ID",
  25066. "type": "integer"
  25067. },
  25068. "goodsname": {
  25069. "description": "合约名称",
  25070. "type": "string"
  25071. },
  25072. "hedgeflag": {
  25073. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25074. "type": "integer"
  25075. },
  25076. "linkdetailid": {
  25077. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25078. "type": "string"
  25079. },
  25080. "linkstatus": {
  25081. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25082. "type": "integer"
  25083. },
  25084. "middlegoodscode": {
  25085. "description": "套保品种代码",
  25086. "type": "string"
  25087. },
  25088. "middlegoodsid": {
  25089. "description": "套保品种ID",
  25090. "type": "integer"
  25091. },
  25092. "middlegoodsname": {
  25093. "description": "套保品种名称",
  25094. "type": "string"
  25095. },
  25096. "relatedlot": {
  25097. "description": "关联手数",
  25098. "type": "number"
  25099. },
  25100. "relatedmode": {
  25101. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  25102. "type": "integer"
  25103. },
  25104. "relatedqty": {
  25105. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  25106. "type": "number"
  25107. },
  25108. "retcode": {
  25109. "description": "返回码",
  25110. "type": "integer"
  25111. },
  25112. "saleuserid": {
  25113. "description": "业务员ID",
  25114. "type": "string"
  25115. },
  25116. "spotcontractid": {
  25117. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  25118. "type": "string"
  25119. },
  25120. "taname": {
  25121. "description": "期货账户",
  25122. "type": "string"
  25123. },
  25124. "tradedate": {
  25125. "description": "关联交易日(yyyyMMdd)",
  25126. "type": "string"
  25127. },
  25128. "tradeid": {
  25129. "description": "期货订单号 | 内部成交单ID",
  25130. "type": "string"
  25131. },
  25132. "tradelot": {
  25133. "description": "成交数量 | 成交手数",
  25134. "type": "integer"
  25135. },
  25136. "tradeprice": {
  25137. "description": "成交价格",
  25138. "type": "number"
  25139. },
  25140. "tradetime": {
  25141. "description": "期货成交时间",
  25142. "type": "string"
  25143. },
  25144. "tradetradedate": {
  25145. "description": "成交交易日(yyyyMMdd)",
  25146. "type": "string"
  25147. },
  25148. "username": {
  25149. "description": "用户名称",
  25150. "type": "string"
  25151. }
  25152. }
  25153. },
  25154. "models.Ermcp3Wrstandard": {
  25155. "type": "object",
  25156. "properties": {
  25157. "areauserid": {
  25158. "description": "所属机构",
  25159. "type": "integer"
  25160. },
  25161. "cantrade": {
  25162. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  25163. "type": "integer"
  25164. },
  25165. "convertfactor": {
  25166. "description": "标仓系数",
  25167. "type": "number"
  25168. },
  25169. "createtime": {
  25170. "description": "创建时间",
  25171. "type": "string"
  25172. },
  25173. "creatorid": {
  25174. "description": "创建人",
  25175. "type": "integer"
  25176. },
  25177. "deliverygoodsid": {
  25178. "description": "现货品种ID",
  25179. "type": "integer"
  25180. },
  25181. "enumdicname": {
  25182. "description": "品类单位名称",
  25183. "type": "string"
  25184. },
  25185. "isvalid": {
  25186. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  25187. "type": "integer"
  25188. },
  25189. "minivalue": {
  25190. "description": "最小变动值",
  25191. "type": "integer"
  25192. },
  25193. "minivaluedp": {
  25194. "description": "最小变动值小数位",
  25195. "type": "integer"
  25196. },
  25197. "realminivalue": {
  25198. "description": "实际最小变动值",
  25199. "type": "integer"
  25200. },
  25201. "realminivaluedp": {
  25202. "description": "实际最小变动值小数位",
  25203. "type": "integer"
  25204. },
  25205. "remark": {
  25206. "description": "备注",
  25207. "type": "string"
  25208. },
  25209. "unitid": {
  25210. "description": "品类单位ID",
  25211. "type": "integer"
  25212. },
  25213. "updatetime": {
  25214. "description": "更新时间",
  25215. "type": "string"
  25216. },
  25217. "wrstandardcode": {
  25218. "description": "品类代码",
  25219. "type": "string"
  25220. },
  25221. "wrstandardid": {
  25222. "description": "品类ID(SEQ_WRSTANDARD)",
  25223. "type": "integer"
  25224. },
  25225. "wrstandardname": {
  25226. "description": "品类名称",
  25227. "type": "string"
  25228. }
  25229. }
  25230. },
  25231. "models.ErmcpBizGroupEx": {
  25232. "type": "object",
  25233. "properties": {
  25234. "acclist": {
  25235. "description": "账号列表",
  25236. "type": "array",
  25237. "items": {
  25238. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  25239. }
  25240. },
  25241. "bizgroupid": {
  25242. "description": "业务分组id",
  25243. "type": "integer"
  25244. },
  25245. "biztype": {
  25246. "description": "业务类型 1-套保 2-套利",
  25247. "type": "integer"
  25248. },
  25249. "wrlist": {
  25250. "description": "现货商品表",
  25251. "type": "array",
  25252. "items": {
  25253. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  25254. }
  25255. }
  25256. }
  25257. },
  25258. "models.ErmcpBizGroupSpotGoods": {
  25259. "type": "object",
  25260. "properties": {
  25261. "areauserid": {
  25262. "description": "所属机构id",
  25263. "type": "integer"
  25264. },
  25265. "bizgroupid": {
  25266. "description": "分组id",
  25267. "type": "integer"
  25268. },
  25269. "biztype": {
  25270. "description": "业务类型 1-套保 2-套利",
  25271. "type": "integer"
  25272. },
  25273. "deliverygoodscode": {
  25274. "description": "现货商品代码",
  25275. "type": "string"
  25276. },
  25277. "deliverygoodsid": {
  25278. "description": "现货商品id",
  25279. "type": "integer"
  25280. },
  25281. "deliverygoodsname": {
  25282. "description": "现货商品名称",
  25283. "type": "string"
  25284. },
  25285. "unitid": {
  25286. "description": "现货商品单位id",
  25287. "type": "integer"
  25288. }
  25289. }
  25290. },
  25291. "models.ErmcpBizGroupTaAccount": {
  25292. "type": "object",
  25293. "properties": {
  25294. "accountid": {
  25295. "description": "账号id",
  25296. "type": "integer"
  25297. },
  25298. "accountname": {
  25299. "description": "账号名称",
  25300. "type": "string"
  25301. },
  25302. "areauserid": {
  25303. "description": "所属机构id",
  25304. "type": "integer"
  25305. },
  25306. "bizgroupid": {
  25307. "description": "业务分组id",
  25308. "type": "integer"
  25309. },
  25310. "ismain": {
  25311. "description": "是否主账号 1-是 0-否",
  25312. "type": "integer"
  25313. }
  25314. }
  25315. },
  25316. "models.ErmcpDGFactoryItem": {
  25317. "type": "object",
  25318. "properties": {
  25319. "areauserid": {
  25320. "description": "用户id",
  25321. "type": "integer"
  25322. },
  25323. "deliverygoodsid": {
  25324. "description": "现货品种ID",
  25325. "type": "integer"
  25326. },
  25327. "dgfactoryitemid": {
  25328. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  25329. "type": "integer"
  25330. },
  25331. "dgfactoryitemtypeid": {
  25332. "description": "要素项类型",
  25333. "type": "integer"
  25334. },
  25335. "dgfactoryitemvalue": {
  25336. "description": "要素项值(类型为仓库时填写仓库名称)",
  25337. "type": "string"
  25338. },
  25339. "isvalid": {
  25340. "description": "是否有效 - 0:无效 1:有效",
  25341. "type": "integer"
  25342. },
  25343. "orderindex": {
  25344. "description": "顺序",
  25345. "type": "integer"
  25346. },
  25347. "warehouseid": {
  25348. "description": "仓库ID(类型为仓库时填写)",
  25349. "type": "integer"
  25350. }
  25351. }
  25352. },
  25353. "models.ErmcpDeliveryGoods": {
  25354. "type": "object",
  25355. "properties": {
  25356. "agreeunit": {
  25357. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  25358. "type": "integer"
  25359. },
  25360. "areauserid": {
  25361. "description": "所属机构",
  25362. "type": "integer"
  25363. },
  25364. "auditflag": {
  25365. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  25366. "type": "integer"
  25367. },
  25368. "categoryid": {
  25369. "description": "类别ID(SEQ_WRCATEGORY)",
  25370. "type": "integer"
  25371. },
  25372. "deliverygoodscode": {
  25373. "description": "现货品种代码",
  25374. "type": "string"
  25375. },
  25376. "deliverygoodsid": {
  25377. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  25378. "type": "integer"
  25379. },
  25380. "deliverygoodsname": {
  25381. "description": "现货品种名称",
  25382. "type": "string"
  25383. },
  25384. "deliverygoodstype": {
  25385. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  25386. "type": "integer"
  25387. },
  25388. "dgstatus": {
  25389. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  25390. "type": "integer"
  25391. },
  25392. "enumdicname": {
  25393. "description": "现货品种单位名称",
  25394. "type": "string"
  25395. },
  25396. "goodsunitid": {
  25397. "description": "现货品种单位ID",
  25398. "type": "integer"
  25399. },
  25400. "isvalid": {
  25401. "description": "是否有效 - 0:无效 1:有效",
  25402. "type": "integer"
  25403. },
  25404. "qtydecimalplace": {
  25405. "description": "成交量小数位",
  25406. "type": "integer"
  25407. },
  25408. "remark": {
  25409. "description": "备注",
  25410. "type": "string"
  25411. },
  25412. "standardqty": {
  25413. "description": "标准数量(库位数量) [标准品特有]",
  25414. "type": "integer"
  25415. },
  25416. "standardqtyrange": {
  25417. "description": "标准数量偏差范围 [标准品特有]",
  25418. "type": "integer"
  25419. }
  25420. }
  25421. },
  25422. "models.ErmcpFuturesCompany": {
  25423. "type": "object",
  25424. "properties": {
  25425. "brokerid": {
  25426. "description": "经纪公司代码",
  25427. "type": "string"
  25428. },
  25429. "channeladdress": {
  25430. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  25431. "type": "string"
  25432. },
  25433. "channelid": {
  25434. "description": "对冲渠道ID",
  25435. "type": "string"
  25436. },
  25437. "createtime": {
  25438. "description": "创建时间",
  25439. "type": "string"
  25440. },
  25441. "creatorid": {
  25442. "description": "创建人",
  25443. "type": "string"
  25444. },
  25445. "fcid": {
  25446. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  25447. "type": "integer"
  25448. },
  25449. "fcname": {
  25450. "description": "期货公司名称",
  25451. "type": "string"
  25452. },
  25453. "isvalid": {
  25454. "description": "是否有效 - 0:无效 1:有效",
  25455. "type": "integer"
  25456. },
  25457. "mhpaddress": {
  25458. "description": "MHP服务地址(IP:Port)",
  25459. "type": "string"
  25460. },
  25461. "riskrulegroupid": {
  25462. "description": "风控规则组ID",
  25463. "type": "string"
  25464. },
  25465. "tradefeetmpid": {
  25466. "description": "手续费模板ID[TradeConfigTmpType为2]",
  25467. "type": "string"
  25468. },
  25469. "trademargintmpid": {
  25470. "description": "保证金模板ID [TradeConfigTmpType为1]",
  25471. "type": "string"
  25472. },
  25473. "traderatetmpid": {
  25474. "description": "汇率模板ID[TradeConfigTmpType为3]",
  25475. "type": "string"
  25476. },
  25477. "updatetime": {
  25478. "description": "更新时间",
  25479. "type": "string"
  25480. },
  25481. "updatorid": {
  25482. "description": "更新人",
  25483. "type": "string"
  25484. }
  25485. }
  25486. },
  25487. "models.ErmcpGGConvertCfg": {
  25488. "type": "object",
  25489. "properties": {
  25490. "convertratio": {
  25491. "description": "折算系数",
  25492. "type": "number"
  25493. },
  25494. "destgoodsgroupid": {
  25495. "description": "目标品种ID",
  25496. "type": "integer"
  25497. },
  25498. "dstcode": {
  25499. "description": "目录品种代码",
  25500. "type": "string"
  25501. },
  25502. "dstexchangecode": {
  25503. "description": "目标期货交易所",
  25504. "type": "string"
  25505. },
  25506. "dstname": {
  25507. "description": "目标品种名称",
  25508. "type": "string"
  25509. },
  25510. "dstunitid": {
  25511. "description": "目标品种单位ID",
  25512. "type": "integer"
  25513. },
  25514. "dstunitidname": {
  25515. "description": "目标品种单位名称",
  25516. "type": "string"
  25517. },
  25518. "modifytime": {
  25519. "description": "修改时间",
  25520. "type": "string"
  25521. },
  25522. "srccode": {
  25523. "description": "源品种代码",
  25524. "type": "string"
  25525. },
  25526. "srcexchangecode": {
  25527. "description": "源期货交易所",
  25528. "type": "string"
  25529. },
  25530. "srcgoodsgroupid": {
  25531. "description": "源品种ID",
  25532. "type": "integer"
  25533. },
  25534. "srcname": {
  25535. "description": "源品种名称",
  25536. "type": "string"
  25537. },
  25538. "srcunitid": {
  25539. "description": "源品种单位ID",
  25540. "type": "integer"
  25541. },
  25542. "srcunitidname": {
  25543. "description": "源品种单位名称",
  25544. "type": "string"
  25545. }
  25546. }
  25547. },
  25548. "models.ErmcpGoods": {
  25549. "type": "object",
  25550. "required": [
  25551. "goodscode",
  25552. "goodsid",
  25553. "goodsname",
  25554. "marketid"
  25555. ],
  25556. "properties": {
  25557. "agreeunit": {
  25558. "description": "合约单位",
  25559. "type": "number"
  25560. },
  25561. "areauserid": {
  25562. "description": "所属机构",
  25563. "type": "integer"
  25564. },
  25565. "auditaccountid": {
  25566. "description": "审核操作员账号",
  25567. "type": "integer"
  25568. },
  25569. "audittime": {
  25570. "description": "审核时间",
  25571. "type": "string"
  25572. },
  25573. "cancelaccountid": {
  25574. "description": "注销操作员账号",
  25575. "type": "integer"
  25576. },
  25577. "canceltime": {
  25578. "description": "注销时间",
  25579. "type": "string"
  25580. },
  25581. "closepricemode": {
  25582. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25583. "type": "integer"
  25584. },
  25585. "closepriceparam": {
  25586. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25587. "type": "number"
  25588. },
  25589. "createtime": {
  25590. "description": "创建时间",
  25591. "type": "string"
  25592. },
  25593. "creatorid": {
  25594. "description": "创建人",
  25595. "type": "integer"
  25596. },
  25597. "currencyid": {
  25598. "description": "报价货币ID",
  25599. "type": "integer"
  25600. },
  25601. "cutmode": {
  25602. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25603. "type": "integer"
  25604. },
  25605. "decimalplace": {
  25606. "description": "报价小数位",
  25607. "type": "integer"
  25608. },
  25609. "delistingdate": {
  25610. "description": "商品退市时间(状态:退市) -- 已作废",
  25611. "type": "string"
  25612. },
  25613. "delistingmode": {
  25614. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25615. "type": "integer"
  25616. },
  25617. "deliveryflag": {
  25618. "description": "交割标志 - 0:不可交割 1:可交割",
  25619. "type": "integer"
  25620. },
  25621. "enumdicname": {
  25622. "description": "单位名称",
  25623. "type": "string"
  25624. },
  25625. "forceclosemode": {
  25626. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25627. "type": "integer"
  25628. },
  25629. "forceclosevalue": {
  25630. "description": "定期强平参数 [收益权]",
  25631. "type": "integer"
  25632. },
  25633. "goodscode": {
  25634. "description": "商品代码(内部)",
  25635. "type": "string"
  25636. },
  25637. "goodscurrencyid": {
  25638. "description": "合约货币ID",
  25639. "type": "integer"
  25640. },
  25641. "goodsgroupid": {
  25642. "description": "所属商品组ID",
  25643. "type": "integer"
  25644. },
  25645. "goodsid": {
  25646. "description": "商品ID(自增ID SEQ_GOODS)",
  25647. "type": "integer"
  25648. },
  25649. "goodsname": {
  25650. "description": "商品名称",
  25651. "type": "string"
  25652. },
  25653. "goodsquotetype": {
  25654. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25655. "type": "integer"
  25656. },
  25657. "goodsstatus": {
  25658. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25659. "type": "integer"
  25660. },
  25661. "goodstradetype": {
  25662. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25663. "type": "integer"
  25664. },
  25665. "goodunitid": {
  25666. "description": "报价单位ID",
  25667. "type": "integer"
  25668. },
  25669. "hasquoter": {
  25670. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25671. "type": "integer"
  25672. },
  25673. "hqprotecttime": {
  25674. "description": "行情保护时间(秒)",
  25675. "type": "integer"
  25676. },
  25677. "innerdealmode": {
  25678. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25679. "type": "integer"
  25680. },
  25681. "isbuylimited": {
  25682. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25683. "type": "integer"
  25684. },
  25685. "isvisible": {
  25686. "description": "游客是否可见 - 0:不可见 1:可见",
  25687. "type": "integer"
  25688. },
  25689. "lasttradedate": {
  25690. "description": "最后交易日期(状态:待退市)",
  25691. "type": "string"
  25692. },
  25693. "listingdate": {
  25694. "description": "交易开始日期",
  25695. "type": "string"
  25696. },
  25697. "marketid": {
  25698. "description": "所属市场ID",
  25699. "type": "integer"
  25700. },
  25701. "modifierid": {
  25702. "description": "修改人",
  25703. "type": "integer"
  25704. },
  25705. "modifystatus": {
  25706. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25707. "type": "integer"
  25708. },
  25709. "modifytime": {
  25710. "description": "修改时间",
  25711. "type": "string"
  25712. },
  25713. "outerdealmode": {
  25714. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25715. "type": "integer"
  25716. },
  25717. "outgoodscode": {
  25718. "description": "商品代码(外部)",
  25719. "type": "string"
  25720. },
  25721. "pictureurl": {
  25722. "description": "商品图片",
  25723. "type": "string"
  25724. },
  25725. "qtydecimalplace": {
  25726. "description": "成交量小数位",
  25727. "type": "integer"
  25728. },
  25729. "quotegear": {
  25730. "description": "行情档位(1-10)",
  25731. "type": "integer"
  25732. },
  25733. "quoteminunit": {
  25734. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25735. "type": "integer"
  25736. },
  25737. "quoteshowtype": {
  25738. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25739. "type": "integer"
  25740. },
  25741. "quoteshowtypeinterval": {
  25742. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25743. "type": "integer"
  25744. },
  25745. "relatedgoodsid": {
  25746. "description": "关联参考商品ID",
  25747. "type": "integer"
  25748. },
  25749. "remark": {
  25750. "description": "备注",
  25751. "type": "string"
  25752. },
  25753. "trademode": {
  25754. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25755. "type": "integer"
  25756. }
  25757. }
  25758. },
  25759. "models.ErmcpGoodsBrand": {
  25760. "type": "object",
  25761. "properties": {
  25762. "areauserid": {
  25763. "description": "所属机构",
  25764. "type": "integer"
  25765. },
  25766. "brandid": {
  25767. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  25768. "type": "integer"
  25769. },
  25770. "brandname": {
  25771. "description": "品牌名称",
  25772. "type": "string"
  25773. },
  25774. "createtime": {
  25775. "description": "创建时间",
  25776. "type": "string"
  25777. },
  25778. "creatorid": {
  25779. "description": "创建人",
  25780. "type": "integer"
  25781. },
  25782. "creatorsrc": {
  25783. "description": "创建人来源 - 1:管理端 2:终端",
  25784. "type": "integer"
  25785. },
  25786. "deliverygoodsid": {
  25787. "description": "现货品种ID",
  25788. "type": "integer"
  25789. },
  25790. "isvalid": {
  25791. "description": "是否有效 - 0:无效 1:有效",
  25792. "type": "integer"
  25793. },
  25794. "updatetime": {
  25795. "description": "更新时间",
  25796. "type": "string"
  25797. },
  25798. "updatorid": {
  25799. "description": "更新人",
  25800. "type": "integer"
  25801. },
  25802. "updatorsrc": {
  25803. "description": "更新人来源 - 1:管理端 2:终端",
  25804. "type": "integer"
  25805. },
  25806. "wrstandardid": {
  25807. "description": "现货商品ID",
  25808. "type": "integer"
  25809. }
  25810. }
  25811. },
  25812. "models.ErmcpGoodsModel": {
  25813. "type": "object",
  25814. "properties": {
  25815. "areauserid": {
  25816. "description": "所属机构",
  25817. "type": "integer"
  25818. },
  25819. "convertfactor": {
  25820. "description": "标仓系数",
  25821. "type": "number"
  25822. },
  25823. "createtime": {
  25824. "description": "创建时间",
  25825. "type": "string"
  25826. },
  25827. "creatorid": {
  25828. "description": "创建人",
  25829. "type": "integer"
  25830. },
  25831. "creatorsrc": {
  25832. "description": "创建人来源 - 1:管理端 2:终端",
  25833. "type": "integer"
  25834. },
  25835. "deliverygoodsid": {
  25836. "description": "现货品种ID",
  25837. "type": "integer"
  25838. },
  25839. "isvalid": {
  25840. "description": "是否有效 - 0:无效 1:有效",
  25841. "type": "integer"
  25842. },
  25843. "modelid": {
  25844. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  25845. "type": "integer"
  25846. },
  25847. "modelname": {
  25848. "description": "型号名称",
  25849. "type": "string"
  25850. },
  25851. "updatetime": {
  25852. "description": "更新时间",
  25853. "type": "string"
  25854. },
  25855. "updatorid": {
  25856. "description": "更新人",
  25857. "type": "integer"
  25858. },
  25859. "updatorsrc": {
  25860. "description": "更新人来源 - 1:管理端 2:终端",
  25861. "type": "integer"
  25862. },
  25863. "wrstandardid": {
  25864. "description": "现货商品ID",
  25865. "type": "integer"
  25866. }
  25867. }
  25868. },
  25869. "models.ErmcpHisExposure": {
  25870. "type": "object",
  25871. "properties": {
  25872. "needhedgeexposoure": {
  25873. "description": "应套保敞口",
  25874. "type": "number"
  25875. },
  25876. "reckondate": {
  25877. "description": "日照时期(yyyyMMdd)",
  25878. "type": "string"
  25879. },
  25880. "totalexposure": {
  25881. "description": "总敞口",
  25882. "type": "number"
  25883. }
  25884. }
  25885. },
  25886. "models.ErmcpLoginTaAccount": {
  25887. "type": "object",
  25888. "properties": {
  25889. "accountid": {
  25890. "description": "账号id",
  25891. "type": "integer"
  25892. },
  25893. "accountname": {
  25894. "description": "账号名称",
  25895. "type": "string"
  25896. }
  25897. }
  25898. },
  25899. "models.ErmcpLoginUser": {
  25900. "type": "object",
  25901. "properties": {
  25902. "acclist": {
  25903. "description": "关联资金账号",
  25904. "type": "array",
  25905. "items": {
  25906. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  25907. }
  25908. },
  25909. "accountname": {
  25910. "description": "用户名称",
  25911. "type": "string"
  25912. },
  25913. "clientroleid": {
  25914. "description": "角色id(usertype=2)",
  25915. "type": "integer"
  25916. },
  25917. "createtime": {
  25918. "description": "创建时间",
  25919. "type": "string"
  25920. },
  25921. "logincode": {
  25922. "description": "登录代码",
  25923. "type": "string"
  25924. },
  25925. "loginid": {
  25926. "description": "登录id(LOGINID)",
  25927. "type": "integer"
  25928. },
  25929. "loginname": {
  25930. "description": "登录名称(loginaccount表中的accountname字段)",
  25931. "type": "string"
  25932. },
  25933. "loginstatus": {
  25934. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  25935. "type": "integer"
  25936. },
  25937. "memberuserid": {
  25938. "description": "所属会员id",
  25939. "type": "integer"
  25940. },
  25941. "mobile": {
  25942. "description": "手机号",
  25943. "type": "string"
  25944. },
  25945. "modifytime": {
  25946. "description": "修改时间",
  25947. "type": "string"
  25948. },
  25949. "password": {
  25950. "description": "密码(不可解密)",
  25951. "type": "string"
  25952. },
  25953. "rolename": {
  25954. "description": "角色名称",
  25955. "type": "string"
  25956. },
  25957. "rolestatus": {
  25958. "description": "角色状态 1-启用 2-停用",
  25959. "type": "integer"
  25960. },
  25961. "roletype": {
  25962. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  25963. "type": "string"
  25964. },
  25965. "userid": {
  25966. "description": "用户id",
  25967. "type": "integer"
  25968. },
  25969. "usertype": {
  25970. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25971. "type": "integer"
  25972. }
  25973. }
  25974. },
  25975. "models.ErmcpLoginUserEx": {
  25976. "type": "object",
  25977. "properties": {
  25978. "accountstatus": {
  25979. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25980. "type": "integer"
  25981. },
  25982. "mobile": {
  25983. "description": "手机号",
  25984. "type": "string"
  25985. },
  25986. "querytype": {
  25987. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  25988. "type": "integer"
  25989. },
  25990. "roleid": {
  25991. "description": "角色id(交易账户-\u003e用户id)",
  25992. "type": "integer"
  25993. },
  25994. "rolename": {
  25995. "description": "角色名称(交易账户-\u003e用户名称)",
  25996. "type": "string"
  25997. },
  25998. "userlist": {
  25999. "description": "用户列表",
  26000. "type": "array",
  26001. "items": {
  26002. "$ref": "#/definitions/models.ErmcpLoginUser"
  26003. }
  26004. },
  26005. "usertype": {
  26006. "description": "用户类型 2-机构 7-企业成员(云平台)",
  26007. "type": "integer"
  26008. }
  26009. }
  26010. },
  26011. "models.ErmcpMiddleGoodsModel": {
  26012. "type": "object",
  26013. "properties": {
  26014. "areauserid": {
  26015. "description": "机构用户ID",
  26016. "type": "integer"
  26017. },
  26018. "createtime": {
  26019. "description": "修改时间",
  26020. "type": "string"
  26021. },
  26022. "enumdicname": {
  26023. "description": "单位名称",
  26024. "type": "string"
  26025. },
  26026. "evaluateratio": {
  26027. "description": "估价系数",
  26028. "type": "number"
  26029. },
  26030. "goodsgroupid": {
  26031. "description": "关联期货品种ID",
  26032. "type": "integer"
  26033. },
  26034. "goodsunitid": {
  26035. "description": "单位ID",
  26036. "type": "integer"
  26037. },
  26038. "isvalid": {
  26039. "description": "状态 0-无效(停用) 1-有效(正常)",
  26040. "type": "integer"
  26041. },
  26042. "middlegoodscode": {
  26043. "description": "套保品种代码",
  26044. "type": "string"
  26045. },
  26046. "middlegoodsid": {
  26047. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  26048. "type": "integer"
  26049. },
  26050. "middlegoodsname": {
  26051. "description": "套保品种名称",
  26052. "type": "string"
  26053. },
  26054. "modifytime": {
  26055. "description": "修改时间",
  26056. "type": "string"
  26057. },
  26058. "needarbitrageratio": {
  26059. "description": "套利比例",
  26060. "type": "number"
  26061. },
  26062. "needhedgeratio": {
  26063. "description": "套保比率",
  26064. "type": "number"
  26065. },
  26066. "qtydecimalplace": {
  26067. "description": "数量小数位",
  26068. "type": "integer"
  26069. },
  26070. "relatedgoodsid": {
  26071. "description": "关联交易商品ID",
  26072. "type": "integer"
  26073. },
  26074. "relatedgoodstype": {
  26075. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  26076. "type": "integer"
  26077. },
  26078. "remark": {
  26079. "description": "备注",
  26080. "type": "string"
  26081. }
  26082. }
  26083. },
  26084. "models.ErmcpMiddlegoodsRelateGoods": {
  26085. "type": "object",
  26086. "properties": {
  26087. "agreeunit": {
  26088. "description": "合约乘数",
  26089. "type": "number"
  26090. },
  26091. "convertratio": {
  26092. "description": "折算系数",
  26093. "type": "number"
  26094. },
  26095. "enumdicname": {
  26096. "description": "单位名称(交易商品)",
  26097. "type": "string"
  26098. },
  26099. "goodscode": {
  26100. "description": "交易商品代码",
  26101. "type": "string"
  26102. },
  26103. "goodsgroupid": {
  26104. "description": "交易品种id",
  26105. "type": "integer"
  26106. },
  26107. "goodsid": {
  26108. "description": "商品Id",
  26109. "type": "integer"
  26110. },
  26111. "goodsname": {
  26112. "description": "交易商品名称",
  26113. "type": "string"
  26114. },
  26115. "goodunitid": {
  26116. "description": "交易商品单位id",
  26117. "type": "integer"
  26118. },
  26119. "middlegoodsid": {
  26120. "description": "套保商品id",
  26121. "type": "integer"
  26122. },
  26123. "middlegoodsname": {
  26124. "description": "套保商品名称",
  26125. "type": "string"
  26126. },
  26127. "middlegoodsswcode": {
  26128. "description": "套保商品代码",
  26129. "type": "string"
  26130. },
  26131. "needarbitrageratio": {
  26132. "description": "应套利比例",
  26133. "type": "number"
  26134. },
  26135. "needhedgeratio": {
  26136. "description": "应套保比例",
  26137. "type": "number"
  26138. }
  26139. }
  26140. },
  26141. "models.ErmcpRole": {
  26142. "type": "object",
  26143. "properties": {
  26144. "areauserid": {
  26145. "description": "所属机构",
  26146. "type": "integer"
  26147. },
  26148. "autoid": {
  26149. "description": "角色ID(自增ID)",
  26150. "type": "integer"
  26151. },
  26152. "modifierid": {
  26153. "description": "修改人(创建人)",
  26154. "type": "integer"
  26155. },
  26156. "modifiername": {
  26157. "description": "修改人名称",
  26158. "type": "string"
  26159. },
  26160. "modifytime": {
  26161. "description": "修改时间(创建时间)",
  26162. "type": "string"
  26163. },
  26164. "rolename": {
  26165. "description": "角色名称",
  26166. "type": "string"
  26167. },
  26168. "rolestatus": {
  26169. "description": "角色状态 - 1:启用 2:停用",
  26170. "type": "integer"
  26171. },
  26172. "roletype": {
  26173. "description": "角色类型 - 1- 管理端 2- 交易端",
  26174. "type": "integer"
  26175. }
  26176. }
  26177. },
  26178. "models.ErmcpRoleMenu": {
  26179. "type": "object",
  26180. "properties": {
  26181. "iconame": {
  26182. "description": "菜单图标",
  26183. "type": "string"
  26184. },
  26185. "ishadrole": {
  26186. "description": "是否有权限",
  26187. "type": "boolean"
  26188. },
  26189. "menutype": {
  26190. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  26191. "type": "integer"
  26192. },
  26193. "parentcode": {
  26194. "description": "上级资源代码",
  26195. "type": "string"
  26196. },
  26197. "remark": {
  26198. "description": "菜单备注",
  26199. "type": "string"
  26200. },
  26201. "resourcecode": {
  26202. "description": "菜单代码",
  26203. "type": "string"
  26204. },
  26205. "resourcelevel": {
  26206. "description": "级别",
  26207. "type": "integer"
  26208. },
  26209. "resourcename": {
  26210. "description": "菜单名称",
  26211. "type": "string"
  26212. },
  26213. "roleid": {
  26214. "description": "角色id",
  26215. "type": "integer"
  26216. },
  26217. "sort": {
  26218. "description": "排序",
  26219. "type": "integer"
  26220. },
  26221. "url": {
  26222. "description": "URL",
  26223. "type": "string"
  26224. },
  26225. "userid": {
  26226. "description": "用户id",
  26227. "type": "integer"
  26228. }
  26229. }
  26230. },
  26231. "models.ErmcpRoleMenuEx": {
  26232. "type": "object",
  26233. "properties": {
  26234. "menu": {
  26235. "description": "父级菜单",
  26236. "$ref": "#/definitions/models.ErmcpRoleMenu"
  26237. },
  26238. "subMenu": {
  26239. "description": "子级菜单",
  26240. "type": "array",
  26241. "items": {
  26242. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  26243. }
  26244. }
  26245. }
  26246. },
  26247. "models.ErmcpTaAccount": {
  26248. "type": "object",
  26249. "properties": {
  26250. "accountid": {
  26251. "description": "账户id",
  26252. "type": "integer"
  26253. },
  26254. "accountname": {
  26255. "description": "账户名称",
  26256. "type": "string"
  26257. },
  26258. "currencyid": {
  26259. "description": "币种id",
  26260. "type": "integer"
  26261. },
  26262. "hedgeaccountcode": {
  26263. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  26264. "type": "string"
  26265. },
  26266. "ismain": {
  26267. "description": "是否主账户 0-否 1-是",
  26268. "type": "integer"
  26269. },
  26270. "parentaccountid": {
  26271. "description": "父账户id",
  26272. "type": "integer"
  26273. },
  26274. "relateduserid": {
  26275. "description": "关联userid",
  26276. "type": "integer"
  26277. },
  26278. "tradefeetmpid": {
  26279. "description": "手续费模板id",
  26280. "type": "integer"
  26281. },
  26282. "tradefeetmpname": {
  26283. "description": "手续费模板名称",
  26284. "type": "string"
  26285. },
  26286. "trademargintmpid": {
  26287. "description": "保证金模板id",
  26288. "type": "integer"
  26289. },
  26290. "trademargintmpname": {
  26291. "description": "保证金模板名称",
  26292. "type": "string"
  26293. },
  26294. "traderatetmpid": {
  26295. "description": "汇率模板id",
  26296. "type": "integer"
  26297. },
  26298. "traderatetmpname": {
  26299. "description": "汇率模板名称",
  26300. "type": "string"
  26301. },
  26302. "tradestatus": {
  26303. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26304. "type": "integer"
  26305. },
  26306. "userid": {
  26307. "description": "用户id",
  26308. "type": "integer"
  26309. }
  26310. }
  26311. },
  26312. "models.ErmcpTaAccountEx": {
  26313. "type": "object",
  26314. "properties": {
  26315. "mainAcc": {
  26316. "description": "主账号",
  26317. "$ref": "#/definitions/models.ErmcpTaAccountM"
  26318. },
  26319. "subacclist": {
  26320. "description": "子账号列表",
  26321. "type": "array",
  26322. "items": {
  26323. "$ref": "#/definitions/models.ErmcpTaAccount"
  26324. }
  26325. }
  26326. }
  26327. },
  26328. "models.ErmcpTaAccountInfo": {
  26329. "type": "object",
  26330. "properties": {
  26331. "accountid": {
  26332. "description": "资金账户ID",
  26333. "type": "integer"
  26334. },
  26335. "accountname": {
  26336. "description": "账户名称",
  26337. "type": "string"
  26338. },
  26339. "balance": {
  26340. "description": "期初余额",
  26341. "type": "number"
  26342. },
  26343. "capitalbalance": {
  26344. "description": "本金余额[外部子账户实际出入金余额]",
  26345. "type": "number"
  26346. },
  26347. "closepl": {
  26348. "description": "今日平仓盈亏",
  26349. "type": "number"
  26350. },
  26351. "creditdecrease": {
  26352. "description": "今日授信减少",
  26353. "type": "number"
  26354. },
  26355. "creditincrease": {
  26356. "description": "今日授信增加",
  26357. "type": "number"
  26358. },
  26359. "curdebt": {
  26360. "description": "期末欠款",
  26361. "type": "number"
  26362. },
  26363. "currencyid": {
  26364. "description": "货币ID",
  26365. "type": "integer"
  26366. },
  26367. "currentbalance": {
  26368. "description": "期末余额",
  26369. "type": "number"
  26370. },
  26371. "freezecharge": {
  26372. "description": "手续费冻结",
  26373. "type": "number"
  26374. },
  26375. "freezemargin": {
  26376. "description": "冻结保证金",
  26377. "type": "number"
  26378. },
  26379. "fromaccountid": {
  26380. "description": "所属上级账户",
  26381. "type": "integer"
  26382. },
  26383. "inamount": {
  26384. "description": "今日入金金额(包括三方入金)",
  26385. "type": "number"
  26386. },
  26387. "ismain": {
  26388. "description": "是否母账号 0:不是母账户 1:是母账户",
  26389. "type": "integer"
  26390. },
  26391. "mortgagecredit": {
  26392. "description": "授信金额",
  26393. "type": "number"
  26394. },
  26395. "oridebt": {
  26396. "description": "期初欠款",
  26397. "type": "number"
  26398. },
  26399. "orifreezecharge": {
  26400. "description": "期初手续费冻结",
  26401. "type": "number"
  26402. },
  26403. "orifreezemargin": {
  26404. "description": "期初冻结保证金",
  26405. "type": "number"
  26406. },
  26407. "orimortgagecredit": {
  26408. "description": "期初授信金额",
  26409. "type": "number"
  26410. },
  26411. "oriothercredit": {
  26412. "description": "期初其它授信金额",
  26413. "type": "number"
  26414. },
  26415. "oriotherfreezemargin": {
  26416. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  26417. "type": "number"
  26418. },
  26419. "orioutamountfreeze": {
  26420. "description": "期初出金冻结",
  26421. "type": "number"
  26422. },
  26423. "oriusedmargin": {
  26424. "description": "期初占用保证金",
  26425. "type": "number"
  26426. },
  26427. "othercredit": {
  26428. "description": "其它授信金额",
  26429. "type": "number"
  26430. },
  26431. "othercreditdecrease": {
  26432. "description": "今日其它授信减少",
  26433. "type": "number"
  26434. },
  26435. "othercreditincrease": {
  26436. "description": "今日其它授信增加",
  26437. "type": "number"
  26438. },
  26439. "otherfreezemargin": {
  26440. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  26441. "type": "number"
  26442. },
  26443. "outamount": {
  26444. "description": "今日出金金额(包括三方出金)",
  26445. "type": "number"
  26446. },
  26447. "outamountfreeze": {
  26448. "description": "出金冻结",
  26449. "type": "number"
  26450. },
  26451. "outthreshold": {
  26452. "description": "出金阈值",
  26453. "type": "number"
  26454. },
  26455. "parentaccountid": {
  26456. "description": "所属根账号",
  26457. "type": "integer"
  26458. },
  26459. "paycharge": {
  26460. "description": "今日手续费支出",
  26461. "type": "number"
  26462. },
  26463. "relateduserid": {
  26464. "description": "关联用户",
  26465. "type": "integer"
  26466. },
  26467. "signstatus": {
  26468. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  26469. "type": "integer"
  26470. },
  26471. "sublevelpath": {
  26472. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  26473. "type": "string"
  26474. },
  26475. "taaccounttype": {
  26476. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  26477. "type": "integer"
  26478. },
  26479. "thirdinamount": {
  26480. "description": "今日三方入金",
  26481. "type": "number"
  26482. },
  26483. "thirdoutamount": {
  26484. "description": "今日三方出金",
  26485. "type": "number"
  26486. },
  26487. "tradestatus": {
  26488. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26489. "type": "integer"
  26490. },
  26491. "transferamount": {
  26492. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  26493. "type": "number"
  26494. },
  26495. "usedmargin": {
  26496. "description": "占用保证金",
  26497. "type": "number"
  26498. },
  26499. "userid": {
  26500. "description": "用户ID",
  26501. "type": "integer"
  26502. }
  26503. }
  26504. },
  26505. "models.ErmcpTaAccountM": {
  26506. "type": "object",
  26507. "properties": {
  26508. "accountid": {
  26509. "description": "账户id",
  26510. "type": "integer"
  26511. },
  26512. "accountname": {
  26513. "description": "账户名称",
  26514. "type": "string"
  26515. },
  26516. "currencyid": {
  26517. "description": "币种id",
  26518. "type": "integer"
  26519. },
  26520. "fcid": {
  26521. "description": "期货公司id",
  26522. "type": "integer"
  26523. },
  26524. "fcname": {
  26525. "description": "期货公司代码",
  26526. "type": "string"
  26527. },
  26528. "hedgeaccountcode": {
  26529. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  26530. "type": "string"
  26531. },
  26532. "ismain": {
  26533. "description": "是否主账户 0-否 1-是",
  26534. "type": "integer"
  26535. },
  26536. "parentaccountid": {
  26537. "description": "父账户id",
  26538. "type": "integer"
  26539. },
  26540. "relateduserid": {
  26541. "description": "关联userid",
  26542. "type": "integer"
  26543. },
  26544. "tradefeetmpid": {
  26545. "description": "手续费模板id",
  26546. "type": "integer"
  26547. },
  26548. "tradefeetmpname": {
  26549. "description": "手续费模板名称",
  26550. "type": "string"
  26551. },
  26552. "trademargintmpid": {
  26553. "description": "保证金模板id",
  26554. "type": "integer"
  26555. },
  26556. "trademargintmpname": {
  26557. "description": "保证金模板名称",
  26558. "type": "string"
  26559. },
  26560. "traderatetmpid": {
  26561. "description": "汇率模板id",
  26562. "type": "integer"
  26563. },
  26564. "traderatetmpname": {
  26565. "description": "汇率模板名称",
  26566. "type": "string"
  26567. },
  26568. "tradestatus": {
  26569. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26570. "type": "integer"
  26571. },
  26572. "userid": {
  26573. "description": "用户id",
  26574. "type": "integer"
  26575. }
  26576. }
  26577. },
  26578. "models.ErmcpTradeConfigTMP": {
  26579. "type": "object",
  26580. "properties": {
  26581. "areauserid": {
  26582. "description": "所属机构",
  26583. "type": "integer"
  26584. },
  26585. "basiccurrencyid": {
  26586. "description": "基本币种ID[汇率] - 目标币种",
  26587. "type": "integer"
  26588. },
  26589. "mainaccountid": {
  26590. "description": "主账户ID",
  26591. "type": "integer"
  26592. },
  26593. "modifierid": {
  26594. "description": "修改人",
  26595. "type": "integer"
  26596. },
  26597. "remark": {
  26598. "description": "备注",
  26599. "type": "string"
  26600. },
  26601. "tradeconfigtmpid": {
  26602. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  26603. "type": "integer"
  26604. },
  26605. "tradeconfigtmpname": {
  26606. "description": "交易配置模板名称",
  26607. "type": "string"
  26608. },
  26609. "tradeconfigtmptype": {
  26610. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  26611. "type": "integer"
  26612. },
  26613. "updatetime": {
  26614. "description": "更新时间",
  26615. "type": "string"
  26616. }
  26617. }
  26618. },
  26619. "models.Ermcpjrlinkpos": {
  26620. "type": "object",
  26621. "required": [
  26622. "spotcontractid"
  26623. ],
  26624. "properties": {
  26625. "areauserid": {
  26626. "description": "所属企业",
  26627. "type": "integer"
  26628. },
  26629. "averageprice": {
  26630. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  26631. "type": "number"
  26632. },
  26633. "closepl": {
  26634. "description": "总平仓盈亏 [期货损益]",
  26635. "type": "number"
  26636. },
  26637. "executeprice": {
  26638. "description": "执行价 - 1:期货单 为 0",
  26639. "type": "integer"
  26640. },
  26641. "futurehedgeqty": {
  26642. "description": "期货套期量",
  26643. "type": "number"
  26644. },
  26645. "goodsid": {
  26646. "description": "期货合约",
  26647. "type": "integer"
  26648. },
  26649. "middlegoodscode": {
  26650. "description": "套保商品代码",
  26651. "type": "string"
  26652. },
  26653. "middlegoodsname": {
  26654. "description": "套保商品名称",
  26655. "type": "string"
  26656. },
  26657. "netqty": {
  26658. "description": "净头寸",
  26659. "type": "number"
  26660. },
  26661. "optioncode": {
  26662. "description": "期权代码",
  26663. "type": "string"
  26664. },
  26665. "ordertype": {
  26666. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  26667. "type": "integer"
  26668. },
  26669. "reckonpl": {
  26670. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  26671. "type": "number"
  26672. },
  26673. "spotcontractid": {
  26674. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  26675. "type": "string"
  26676. },
  26677. "todayfutureclosepl": {
  26678. "description": "今日平仓盈亏",
  26679. "type": "number"
  26680. },
  26681. "totalbuyamount": {
  26682. "description": "买金额 [期货]",
  26683. "type": "number"
  26684. },
  26685. "totalbuyholdamount": {
  26686. "description": "买持仓总金额[期货]",
  26687. "type": "number"
  26688. },
  26689. "totalbuyqty": {
  26690. "description": "买数量",
  26691. "type": "number"
  26692. },
  26693. "totalcharge": {
  26694. "description": "手续费",
  26695. "type": "number"
  26696. },
  26697. "totalpremium": {
  26698. "description": "权利金 [期权]",
  26699. "type": "number"
  26700. },
  26701. "totalsellamount": {
  26702. "description": "卖金额 [期货]",
  26703. "type": "number"
  26704. },
  26705. "totalsellholdamount": {
  26706. "description": "卖持仓总金额[期货]",
  26707. "type": "number"
  26708. },
  26709. "totalsellqty": {
  26710. "description": "卖数量",
  26711. "type": "number"
  26712. },
  26713. "updatetime": {
  26714. "description": "更新时间",
  26715. "type": "string"
  26716. }
  26717. }
  26718. },
  26719. "models.Ermcppatradelinkdetail": {
  26720. "type": "object",
  26721. "required": [
  26722. "hedgeditemid"
  26723. ],
  26724. "properties": {
  26725. "agreeunit": {
  26726. "description": "合约乘数",
  26727. "type": "number"
  26728. },
  26729. "amount": {
  26730. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  26731. "type": "number"
  26732. },
  26733. "areauserid": {
  26734. "description": "所属机构",
  26735. "type": "integer"
  26736. },
  26737. "bizsubjectid": {
  26738. "description": "归属业务部门ID - SubjectID",
  26739. "type": "integer"
  26740. },
  26741. "buyorsell": {
  26742. "description": "方向 - 0:买 1:卖",
  26743. "type": "integer"
  26744. },
  26745. "convertratio": {
  26746. "description": "品种系数",
  26747. "type": "number"
  26748. },
  26749. "createtime": {
  26750. "description": "创建时间",
  26751. "type": "string"
  26752. },
  26753. "creatorid": {
  26754. "description": "创建人ID",
  26755. "type": "integer"
  26756. },
  26757. "creatorsrc": {
  26758. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26759. "type": "integer"
  26760. },
  26761. "goodsgroupid": {
  26762. "description": "对冲品种ID[期货合约商品组ID]",
  26763. "type": "integer"
  26764. },
  26765. "goodsid": {
  26766. "description": "商品ID",
  26767. "type": "integer"
  26768. },
  26769. "hedgeditemid": {
  26770. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  26771. "type": "integer"
  26772. },
  26773. "hedgeflag": {
  26774. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  26775. "type": "integer"
  26776. },
  26777. "linkdetailid": {
  26778. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26779. "type": "string"
  26780. },
  26781. "linkstatus": {
  26782. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26783. "type": "integer"
  26784. },
  26785. "middlegoodsid": {
  26786. "description": "套保品种ID",
  26787. "type": "integer"
  26788. },
  26789. "name": {
  26790. "description": "账户名/子账户",
  26791. "type": "string"
  26792. },
  26793. "optioncode": {
  26794. "description": "[期货合约]期权代码 [期权]",
  26795. "type": "string"
  26796. },
  26797. "ordertype": {
  26798. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  26799. "type": "integer"
  26800. },
  26801. "relatedlot": {
  26802. "description": "[数量]关联手数",
  26803. "type": "number"
  26804. },
  26805. "relatedmode": {
  26806. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26807. "type": "integer"
  26808. },
  26809. "relatedqty": {
  26810. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26811. "type": "number"
  26812. },
  26813. "retcode": {
  26814. "description": "返回码",
  26815. "type": "integer"
  26816. },
  26817. "saleuserid": {
  26818. "description": "业务员ID",
  26819. "type": "integer"
  26820. },
  26821. "tradedate": {
  26822. "description": "关联交易日(yyyyMMdd)",
  26823. "type": "string"
  26824. },
  26825. "tradeid": {
  26826. "description": "[成交单号]内部成交单ID",
  26827. "type": "string"
  26828. },
  26829. "tradelot": {
  26830. "description": "成交手数",
  26831. "type": "integer"
  26832. },
  26833. "tradeprice": {
  26834. "description": "[价格]成交价格",
  26835. "type": "number"
  26836. },
  26837. "tradetime": {
  26838. "description": "日期时间",
  26839. "type": "string"
  26840. },
  26841. "tradetradedate": {
  26842. "description": "成交交易日(yyyyMMdd)",
  26843. "type": "string"
  26844. }
  26845. }
  26846. },
  26847. "models.Externalexchange": {
  26848. "type": "object",
  26849. "required": [
  26850. "autoid"
  26851. ],
  26852. "properties": {
  26853. "autoid": {
  26854. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  26855. "type": "integer"
  26856. },
  26857. "exchangefullname": {
  26858. "description": "外部交易所全称",
  26859. "type": "string"
  26860. },
  26861. "exexchangecode": {
  26862. "description": "外部交易所代码",
  26863. "type": "string"
  26864. },
  26865. "exexchangename": {
  26866. "description": "外部交易所名称(简称)",
  26867. "type": "string"
  26868. },
  26869. "ismarketprice": {
  26870. "description": "是否支持市价 - 0:不支持 1:支持",
  26871. "type": "integer"
  26872. },
  26873. "quotegear": {
  26874. "description": "行情档位(1-10)",
  26875. "type": "integer"
  26876. },
  26877. "showbrokerflag": {
  26878. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  26879. "type": "integer"
  26880. },
  26881. "updatetime": {
  26882. "description": "更新时间",
  26883. "type": "string"
  26884. }
  26885. }
  26886. },
  26887. "models.Funcmenulist": {
  26888. "type": "object",
  26889. "required": [
  26890. "resourcecode"
  26891. ],
  26892. "properties": {
  26893. "iconame": {
  26894. "description": "菜单图标",
  26895. "type": "string"
  26896. },
  26897. "menutype": {
  26898. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  26899. "type": "integer"
  26900. },
  26901. "parentcode": {
  26902. "description": "上级资源代码",
  26903. "type": "string"
  26904. },
  26905. "remark": {
  26906. "description": "备注",
  26907. "type": "string"
  26908. },
  26909. "resourcecode": {
  26910. "description": "资源代码",
  26911. "type": "string"
  26912. },
  26913. "resourcelevel": {
  26914. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  26915. "type": "integer"
  26916. },
  26917. "resourcename": {
  26918. "description": "资源名",
  26919. "type": "string"
  26920. },
  26921. "sort": {
  26922. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  26923. "type": "integer"
  26924. },
  26925. "url": {
  26926. "description": "URL",
  26927. "type": "string"
  26928. }
  26929. }
  26930. },
  26931. "models.Goods": {
  26932. "type": "object",
  26933. "required": [
  26934. "goodscode",
  26935. "goodsid",
  26936. "goodsname",
  26937. "marketid"
  26938. ],
  26939. "properties": {
  26940. "agreeunit": {
  26941. "description": "合约单位",
  26942. "type": "number"
  26943. },
  26944. "areauserid": {
  26945. "description": "所属机构",
  26946. "type": "integer"
  26947. },
  26948. "auditaccountid": {
  26949. "description": "审核操作员账号",
  26950. "type": "integer"
  26951. },
  26952. "audittime": {
  26953. "description": "审核时间",
  26954. "type": "string"
  26955. },
  26956. "cancelaccountid": {
  26957. "description": "注销操作员账号",
  26958. "type": "integer"
  26959. },
  26960. "canceltime": {
  26961. "description": "注销时间",
  26962. "type": "string"
  26963. },
  26964. "closepricemode": {
  26965. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26966. "type": "integer"
  26967. },
  26968. "closepriceparam": {
  26969. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26970. "type": "number"
  26971. },
  26972. "createtime": {
  26973. "description": "创建时间",
  26974. "type": "string"
  26975. },
  26976. "creatorid": {
  26977. "description": "创建人",
  26978. "type": "integer"
  26979. },
  26980. "currencyid": {
  26981. "description": "报价货币ID",
  26982. "type": "integer"
  26983. },
  26984. "cutmode": {
  26985. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26986. "type": "integer"
  26987. },
  26988. "decimalplace": {
  26989. "description": "报价小数位",
  26990. "type": "integer"
  26991. },
  26992. "delistingdate": {
  26993. "description": "商品退市时间(状态:退市) -- 已作废",
  26994. "type": "string"
  26995. },
  26996. "delistingmode": {
  26997. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26998. "type": "integer"
  26999. },
  27000. "deliveryflag": {
  27001. "description": "交割标志 - 0:不可交割 1:可交割",
  27002. "type": "integer"
  27003. },
  27004. "forceclosemode": {
  27005. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27006. "type": "integer"
  27007. },
  27008. "forceclosevalue": {
  27009. "description": "定期强平参数 [收益权]",
  27010. "type": "integer"
  27011. },
  27012. "goodscode": {
  27013. "description": "商品代码(内部)",
  27014. "type": "string"
  27015. },
  27016. "goodscurrencyid": {
  27017. "description": "合约货币ID",
  27018. "type": "integer"
  27019. },
  27020. "goodsgroupid": {
  27021. "description": "所属商品组ID",
  27022. "type": "integer"
  27023. },
  27024. "goodsid": {
  27025. "description": "商品ID(自增ID SEQ_GOODS)",
  27026. "type": "integer"
  27027. },
  27028. "goodsname": {
  27029. "description": "商品名称",
  27030. "type": "string"
  27031. },
  27032. "goodsquotetype": {
  27033. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27034. "type": "integer"
  27035. },
  27036. "goodsstatus": {
  27037. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27038. "type": "integer"
  27039. },
  27040. "goodstradetype": {
  27041. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27042. "type": "integer"
  27043. },
  27044. "goodunitid": {
  27045. "description": "报价单位ID",
  27046. "type": "integer"
  27047. },
  27048. "hasquoter": {
  27049. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27050. "type": "integer"
  27051. },
  27052. "hqprotecttime": {
  27053. "description": "行情保护时间(秒)",
  27054. "type": "integer"
  27055. },
  27056. "innerdealmode": {
  27057. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27058. "type": "integer"
  27059. },
  27060. "isbuylimited": {
  27061. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27062. "type": "integer"
  27063. },
  27064. "isvisible": {
  27065. "description": "游客是否可见 - 0:不可见 1:可见",
  27066. "type": "integer"
  27067. },
  27068. "lasttradedate": {
  27069. "description": "最后交易日期(状态:待退市)",
  27070. "type": "string"
  27071. },
  27072. "listingdate": {
  27073. "description": "交易开始日期",
  27074. "type": "string"
  27075. },
  27076. "marketid": {
  27077. "description": "所属市场ID",
  27078. "type": "integer"
  27079. },
  27080. "modifierid": {
  27081. "description": "修改人",
  27082. "type": "integer"
  27083. },
  27084. "modifystatus": {
  27085. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27086. "type": "integer"
  27087. },
  27088. "modifytime": {
  27089. "description": "修改时间",
  27090. "type": "string"
  27091. },
  27092. "outerdealmode": {
  27093. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27094. "type": "integer"
  27095. },
  27096. "outgoodscode": {
  27097. "description": "商品代码(外部)",
  27098. "type": "string"
  27099. },
  27100. "pictureurl": {
  27101. "description": "商品图片",
  27102. "type": "string"
  27103. },
  27104. "qtydecimalplace": {
  27105. "description": "成交量小数位",
  27106. "type": "integer"
  27107. },
  27108. "quotegear": {
  27109. "description": "行情档位(1-10)",
  27110. "type": "integer"
  27111. },
  27112. "quoteminunit": {
  27113. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27114. "type": "integer"
  27115. },
  27116. "quoteshowtype": {
  27117. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27118. "type": "integer"
  27119. },
  27120. "quoteshowtypeinterval": {
  27121. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27122. "type": "integer"
  27123. },
  27124. "remark": {
  27125. "description": "备注",
  27126. "type": "string"
  27127. }
  27128. }
  27129. },
  27130. "models.GoodsIDAndName": {
  27131. "type": "object",
  27132. "required": [
  27133. "goodscode",
  27134. "goodsid",
  27135. "goodsname",
  27136. "marketid"
  27137. ],
  27138. "properties": {
  27139. "goodscode": {
  27140. "description": "商品代码(内部)",
  27141. "type": "string"
  27142. },
  27143. "goodsid": {
  27144. "description": "商品ID(自增ID SEQ_GOODS)",
  27145. "type": "integer"
  27146. },
  27147. "goodsname": {
  27148. "description": "商品名称",
  27149. "type": "string"
  27150. },
  27151. "marketid": {
  27152. "description": "所属市场ID",
  27153. "type": "integer"
  27154. }
  27155. }
  27156. },
  27157. "models.Goodsgroup": {
  27158. "type": "object",
  27159. "required": [
  27160. "goodsgroupid",
  27161. "goodsgroupname",
  27162. "goodsgroupstatus",
  27163. "marketid"
  27164. ],
  27165. "properties": {
  27166. "agreeunit": {
  27167. "description": "合约单位",
  27168. "type": "number"
  27169. },
  27170. "canshort": {
  27171. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  27172. "type": "integer"
  27173. },
  27174. "closepricemode": {
  27175. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27176. "type": "integer"
  27177. },
  27178. "closepriceparam": {
  27179. "description": "强平最新价浮动比例 - 方式为2时使用",
  27180. "type": "number"
  27181. },
  27182. "createtime": {
  27183. "description": "创建时间",
  27184. "type": "string"
  27185. },
  27186. "creatorid": {
  27187. "description": "创建人",
  27188. "type": "integer"
  27189. },
  27190. "currencyid": {
  27191. "description": "报价货币ID",
  27192. "type": "integer"
  27193. },
  27194. "decimalplace": {
  27195. "description": "报价小数位",
  27196. "type": "integer"
  27197. },
  27198. "exercisetype": {
  27199. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  27200. "type": "integer"
  27201. },
  27202. "exexchangeid": {
  27203. "description": "外部交易所ID[通道交易]",
  27204. "type": "integer"
  27205. },
  27206. "goodsgroupid": {
  27207. "description": "商品组ID(自增ID)",
  27208. "type": "integer"
  27209. },
  27210. "goodsgroupname": {
  27211. "description": "商品组名称",
  27212. "type": "string"
  27213. },
  27214. "goodsgroupstatus": {
  27215. "description": "商品组状态 - 1:正常 2:注销",
  27216. "type": "integer"
  27217. },
  27218. "goodunitid": {
  27219. "description": "报价单位ID",
  27220. "type": "integer"
  27221. },
  27222. "innerdealmode": {
  27223. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27224. "type": "integer"
  27225. },
  27226. "isbuylimited": {
  27227. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27228. "type": "integer"
  27229. },
  27230. "marketid": {
  27231. "description": "所属市场ID",
  27232. "type": "integer"
  27233. },
  27234. "modifierid": {
  27235. "description": "修改人",
  27236. "type": "integer"
  27237. },
  27238. "modifytime": {
  27239. "description": "修改时间",
  27240. "type": "string"
  27241. },
  27242. "outerdealmode": {
  27243. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27244. "type": "integer"
  27245. },
  27246. "outergroupcode": {
  27247. "description": "外部商品组代码[通道交易]",
  27248. "type": "string"
  27249. },
  27250. "premiumdecimalplace": {
  27251. "description": "权利金小数位[场外期权]",
  27252. "type": "integer"
  27253. },
  27254. "premiumspreadalgorithm": {
  27255. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  27256. "type": "integer"
  27257. },
  27258. "premiumspreadvalue": {
  27259. "description": "权利金点差值[场外期权]",
  27260. "type": "number"
  27261. },
  27262. "qtydecimalplace": {
  27263. "description": "成交量小数位",
  27264. "type": "integer"
  27265. },
  27266. "quotegear": {
  27267. "description": "行情档位(1-10)",
  27268. "type": "integer"
  27269. },
  27270. "quoteminunit": {
  27271. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27272. "type": "integer"
  27273. },
  27274. "quoterid": {
  27275. "description": "报价商ID[场外期权]",
  27276. "type": "integer"
  27277. },
  27278. "quotesourcegroupid": {
  27279. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  27280. "type": "integer"
  27281. },
  27282. "syncgoodsqty": {
  27283. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  27284. "type": "integer"
  27285. }
  27286. }
  27287. },
  27288. "models.Goodssortbypreposition": {
  27289. "type": "object",
  27290. "required": [
  27291. "goodscode",
  27292. "tradedate"
  27293. ],
  27294. "properties": {
  27295. "goodscode": {
  27296. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  27297. "type": "string"
  27298. },
  27299. "goodsgroupcode": {
  27300. "description": "品种代码",
  27301. "type": "string"
  27302. },
  27303. "prepositionqty": {
  27304. "description": "昨持仓量",
  27305. "type": "integer"
  27306. },
  27307. "sortindex": {
  27308. "description": "排序",
  27309. "type": "integer"
  27310. },
  27311. "tradedate": {
  27312. "description": "交易日",
  27313. "type": "string"
  27314. },
  27315. "updatetime": {
  27316. "description": "更新时间",
  27317. "type": "string"
  27318. }
  27319. }
  27320. },
  27321. "models.Hedgeinnerholderdetail": {
  27322. "type": "object",
  27323. "required": [
  27324. "buyorsell",
  27325. "tradeid"
  27326. ],
  27327. "properties": {
  27328. "accountid": {
  27329. "description": "账号ID",
  27330. "type": "integer"
  27331. },
  27332. "buyorsell": {
  27333. "description": "方向 - 0:买 1:卖",
  27334. "type": "integer"
  27335. },
  27336. "freezeqty": {
  27337. "description": "冻结数量 - 按单平使用",
  27338. "type": "integer"
  27339. },
  27340. "goodsid": {
  27341. "description": "商品ID",
  27342. "type": "integer"
  27343. },
  27344. "holderamount": {
  27345. "description": "持仓金额 [商品币种]",
  27346. "type": "number"
  27347. },
  27348. "holderdays": {
  27349. "description": "剩余冻结天数",
  27350. "type": "integer"
  27351. },
  27352. "holderprice": {
  27353. "description": "持仓价格",
  27354. "type": "number"
  27355. },
  27356. "holderqty": {
  27357. "description": "持仓数量",
  27358. "type": "integer"
  27359. },
  27360. "marketid": {
  27361. "description": "市场ID",
  27362. "type": "integer"
  27363. },
  27364. "openprice": {
  27365. "description": "建仓价格",
  27366. "type": "number"
  27367. },
  27368. "openqty": {
  27369. "description": "建仓数量",
  27370. "type": "integer"
  27371. },
  27372. "parentaccountid": {
  27373. "description": "所属母账户",
  27374. "type": "integer"
  27375. },
  27376. "releaseamount": {
  27377. "description": "释放持仓金额[商品币种]",
  27378. "type": "number"
  27379. },
  27380. "tradeamount": {
  27381. "description": "成交金额[账户]",
  27382. "type": "number"
  27383. },
  27384. "tradedate": {
  27385. "description": "交易日(yyyyMMdd)",
  27386. "type": "string"
  27387. },
  27388. "tradeid": {
  27389. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27390. "type": "string"
  27391. },
  27392. "tradetime": {
  27393. "description": "交易时间",
  27394. "type": "string"
  27395. }
  27396. }
  27397. },
  27398. "models.Hedgemarketopenlog": {
  27399. "type": "object",
  27400. "required": [
  27401. "accountid"
  27402. ],
  27403. "properties": {
  27404. "accountid": {
  27405. "description": "资金账号[外部母账户]",
  27406. "type": "integer"
  27407. },
  27408. "fcname": {
  27409. "description": "期货公司名称",
  27410. "type": "string"
  27411. },
  27412. "handlestatus": {
  27413. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  27414. "type": "integer"
  27415. },
  27416. "marketid": {
  27417. "description": "市场ID",
  27418. "type": "integer"
  27419. },
  27420. "status": {
  27421. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  27422. "type": "integer"
  27423. },
  27424. "tradedate": {
  27425. "description": "交易日(yyyyMMdd)",
  27426. "type": "string"
  27427. },
  27428. "updatetime": {
  27429. "description": "更新时间",
  27430. "type": "string"
  27431. }
  27432. }
  27433. },
  27434. "models.HsbyBuyMyPayOrder": {
  27435. "type": "object",
  27436. "required": [
  27437. "goodscode",
  27438. "goodsname",
  27439. "tradeid",
  27440. "trademode"
  27441. ],
  27442. "properties": {
  27443. "agreeunit": {
  27444. "description": "合约单位",
  27445. "type": "number"
  27446. },
  27447. "buyaccountid": {
  27448. "description": "买方账号ID[报价币种]",
  27449. "type": "integer"
  27450. },
  27451. "buyorderid": {
  27452. "description": "买方委托单号",
  27453. "type": "string"
  27454. },
  27455. "createtime": {
  27456. "description": "创建时间",
  27457. "type": "string"
  27458. },
  27459. "currencysign": {
  27460. "description": "货币符号",
  27461. "type": "string"
  27462. },
  27463. "decimalplace": {
  27464. "description": "报价小数位",
  27465. "type": "integer"
  27466. },
  27467. "goodscode": {
  27468. "description": "商品代码(内部)",
  27469. "type": "string"
  27470. },
  27471. "goodsid": {
  27472. "description": "商品ID",
  27473. "type": "integer"
  27474. },
  27475. "goodsname": {
  27476. "description": "商品名称",
  27477. "type": "string"
  27478. },
  27479. "marketid": {
  27480. "description": "市场ID",
  27481. "type": "integer"
  27482. },
  27483. "offamount": {
  27484. "description": "优惠金额",
  27485. "type": "number"
  27486. },
  27487. "originalamount": {
  27488. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  27489. "type": "number"
  27490. },
  27491. "payamount": {
  27492. "description": "支付金额 = TradeAmount + TradeCharge",
  27493. "type": "number"
  27494. },
  27495. "payflag": {
  27496. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27497. "type": "integer"
  27498. },
  27499. "paylimitedtime": {
  27500. "description": "支付期限",
  27501. "type": "string"
  27502. },
  27503. "paytime": {
  27504. "description": "付款时间",
  27505. "type": "string"
  27506. },
  27507. "picurls1": {
  27508. "description": "预售商品介绍图片[多张用逗号分隔]",
  27509. "type": "string"
  27510. },
  27511. "picurls2": {
  27512. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27513. "type": "string"
  27514. },
  27515. "sellaccountid": {
  27516. "description": "卖方账号ID[报价币种]",
  27517. "type": "integer"
  27518. },
  27519. "sellorderid": {
  27520. "description": "卖方委托单号",
  27521. "type": "string"
  27522. },
  27523. "tradeamount": {
  27524. "description": "成交金额",
  27525. "type": "number"
  27526. },
  27527. "tradecharge": {
  27528. "description": "成交手续费(买方)",
  27529. "type": "number"
  27530. },
  27531. "tradedate": {
  27532. "description": "交易日(yyyyMMdd)",
  27533. "type": "string"
  27534. },
  27535. "tradeid": {
  27536. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27537. "type": "string"
  27538. },
  27539. "trademode": {
  27540. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27541. "type": "integer"
  27542. },
  27543. "tradeprice": {
  27544. "description": "成交价格",
  27545. "type": "number"
  27546. },
  27547. "tradeqty": {
  27548. "description": "成交数量",
  27549. "type": "integer"
  27550. },
  27551. "vendorname1": {
  27552. "description": "预售商品供应商名称",
  27553. "type": "string"
  27554. },
  27555. "vendorname2": {
  27556. "description": "挂牌商品供应商名称",
  27557. "type": "string"
  27558. }
  27559. }
  27560. },
  27561. "models.HsbyBuyMyTradeDetail": {
  27562. "type": "object",
  27563. "required": [
  27564. "accountid",
  27565. "buyorsell",
  27566. "goodscode",
  27567. "goodsid",
  27568. "goodsname",
  27569. "marketid",
  27570. "orderid",
  27571. "qty",
  27572. "time",
  27573. "trademode"
  27574. ],
  27575. "properties": {
  27576. "accountid": {
  27577. "description": "账户ID[报价币种]",
  27578. "type": "integer"
  27579. },
  27580. "agreeunit": {
  27581. "description": "合约单位",
  27582. "type": "number"
  27583. },
  27584. "amount": {
  27585. "description": "金额 = 价格 * 数量 * 合约单位",
  27586. "type": "number"
  27587. },
  27588. "buyorsell": {
  27589. "description": "买卖 - 0:买 1:卖",
  27590. "type": "integer"
  27591. },
  27592. "currencysign": {
  27593. "description": "货币符号",
  27594. "type": "string"
  27595. },
  27596. "decimalplace": {
  27597. "description": "报价小数位",
  27598. "type": "integer"
  27599. },
  27600. "goodscode": {
  27601. "description": "商品代码(内部)",
  27602. "type": "string"
  27603. },
  27604. "goodsid": {
  27605. "description": "商品ID",
  27606. "type": "integer"
  27607. },
  27608. "goodsname": {
  27609. "description": "商品名称",
  27610. "type": "string"
  27611. },
  27612. "marketid": {
  27613. "description": "市场ID",
  27614. "type": "integer"
  27615. },
  27616. "orderamount": {
  27617. "description": "委托金额",
  27618. "type": "number"
  27619. },
  27620. "orderid": {
  27621. "description": "单号(成交单号)",
  27622. "type": "string"
  27623. },
  27624. "picurls1": {
  27625. "description": "预售商品介绍图片[多张用逗号分隔]",
  27626. "type": "string"
  27627. },
  27628. "picurls2": {
  27629. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27630. "type": "string"
  27631. },
  27632. "price": {
  27633. "description": "价格",
  27634. "type": "number"
  27635. },
  27636. "qty": {
  27637. "description": "数量",
  27638. "type": "integer"
  27639. },
  27640. "time": {
  27641. "description": "时间",
  27642. "type": "string"
  27643. },
  27644. "trademode": {
  27645. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27646. "type": "integer"
  27647. },
  27648. "vendorname1": {
  27649. "description": "预售商品供应商名称",
  27650. "type": "string"
  27651. },
  27652. "vendorname2": {
  27653. "description": "挂牌商品供应商名称",
  27654. "type": "string"
  27655. }
  27656. }
  27657. },
  27658. "models.HsbyGoodsOrderDetail": {
  27659. "type": "object",
  27660. "required": [
  27661. "buyorsell",
  27662. "orderid",
  27663. "ordertime"
  27664. ],
  27665. "properties": {
  27666. "buyorsell": {
  27667. "description": "买卖 - 0:买 1:卖",
  27668. "type": "integer"
  27669. },
  27670. "currencysign": {
  27671. "description": "货币符号",
  27672. "type": "string"
  27673. },
  27674. "customername": {
  27675. "description": "客户名称(企业名称),已脱敏",
  27676. "type": "string"
  27677. },
  27678. "enableqty": {
  27679. "description": "可用数量",
  27680. "type": "integer"
  27681. },
  27682. "goodunit": {
  27683. "description": "报价单位",
  27684. "type": "string"
  27685. },
  27686. "orderid": {
  27687. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27688. "type": "string"
  27689. },
  27690. "orderprice": {
  27691. "description": "委托价格",
  27692. "type": "number"
  27693. },
  27694. "ordertime": {
  27695. "description": "委托时间",
  27696. "type": "string"
  27697. }
  27698. }
  27699. },
  27700. "models.HsbyListingGoodsDetail": {
  27701. "type": "object",
  27702. "required": [
  27703. "goodscode",
  27704. "goodsid",
  27705. "goodsname",
  27706. "marketid",
  27707. "trademode"
  27708. ],
  27709. "properties": {
  27710. "agreeunit": {
  27711. "description": "合约单位",
  27712. "type": "number"
  27713. },
  27714. "buymaxqty": {
  27715. "description": "购买上限 [71] - 0为不限",
  27716. "type": "integer"
  27717. },
  27718. "currency": {
  27719. "description": "货币",
  27720. "type": "string"
  27721. },
  27722. "currencysign": {
  27723. "description": "货币符号",
  27724. "type": "string"
  27725. },
  27726. "decimalplace": {
  27727. "description": "报价小数位",
  27728. "type": "integer"
  27729. },
  27730. "desccityid": {
  27731. "description": "目的地(市)ID",
  27732. "type": "integer"
  27733. },
  27734. "descprovinceid": {
  27735. "description": "目的地(省)ID",
  27736. "type": "integer"
  27737. },
  27738. "goodscode": {
  27739. "description": "商品代码(内部)",
  27740. "type": "string"
  27741. },
  27742. "goodsdesc": {
  27743. "description": "商品详情",
  27744. "type": "string"
  27745. },
  27746. "goodsid": {
  27747. "description": "商品ID(自增ID SEQ_GOODS)",
  27748. "type": "integer"
  27749. },
  27750. "goodsname": {
  27751. "description": "商品名称",
  27752. "type": "string"
  27753. },
  27754. "goodsprice": {
  27755. "description": "商品价格",
  27756. "type": "number"
  27757. },
  27758. "hotindex": {
  27759. "description": "景点热度",
  27760. "type": "integer"
  27761. },
  27762. "last": {
  27763. "description": "现价",
  27764. "type": "number"
  27765. },
  27766. "limitdown": {
  27767. "description": "跌停价",
  27768. "type": "number"
  27769. },
  27770. "limitup": {
  27771. "description": "涨停价",
  27772. "type": "number"
  27773. },
  27774. "lotsize": {
  27775. "description": "手数最小变动单位",
  27776. "type": "integer"
  27777. },
  27778. "marketid": {
  27779. "description": "所属市场ID",
  27780. "type": "integer"
  27781. },
  27782. "picurls": {
  27783. "description": "介绍图片[多张用逗号分隔]",
  27784. "type": "string"
  27785. },
  27786. "quoteminunit": {
  27787. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27788. "type": "integer"
  27789. },
  27790. "stepvalue": {
  27791. "description": "价格最小变动单位",
  27792. "type": "number"
  27793. },
  27794. "trademode": {
  27795. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27796. "type": "integer"
  27797. },
  27798. "vendorattr": {
  27799. "description": "供应商附件(多张,逗号分隔)",
  27800. "type": "string"
  27801. },
  27802. "vendorname": {
  27803. "description": "供应商名称",
  27804. "type": "string"
  27805. },
  27806. "vendorphone": {
  27807. "description": "供应商客服电话",
  27808. "type": "string"
  27809. },
  27810. "videourls": {
  27811. "description": "介绍视频[多张用逗号分隔]",
  27812. "type": "string"
  27813. }
  27814. }
  27815. },
  27816. "models.HsbyMarketGoods": {
  27817. "type": "object",
  27818. "required": [
  27819. "accountid",
  27820. "buyorsell",
  27821. "goodscode",
  27822. "goodsid",
  27823. "goodsname",
  27824. "marketid",
  27825. "orderid",
  27826. "trademode"
  27827. ],
  27828. "properties": {
  27829. "accountid": {
  27830. "description": "账户ID[报价币种]",
  27831. "type": "integer"
  27832. },
  27833. "agreeunit": {
  27834. "description": "合约单位",
  27835. "type": "number"
  27836. },
  27837. "buyorsell": {
  27838. "description": "买卖 - 0:买 1:卖",
  27839. "type": "integer"
  27840. },
  27841. "categoryid": {
  27842. "description": "类别ID(WRCATEGORY)",
  27843. "type": "integer"
  27844. },
  27845. "currency": {
  27846. "description": "货币",
  27847. "type": "string"
  27848. },
  27849. "currencysign": {
  27850. "description": "货币符号",
  27851. "type": "string"
  27852. },
  27853. "customername": {
  27854. "description": "卖家名称",
  27855. "type": "string"
  27856. },
  27857. "decimalplace": {
  27858. "description": "报价小数位",
  27859. "type": "integer"
  27860. },
  27861. "goodscode": {
  27862. "description": "商品代码(内部)",
  27863. "type": "string"
  27864. },
  27865. "goodsid": {
  27866. "description": "商品ID",
  27867. "type": "integer"
  27868. },
  27869. "goodsname": {
  27870. "description": "商品名称",
  27871. "type": "string"
  27872. },
  27873. "goodsprice": {
  27874. "description": "商品价格",
  27875. "type": "number"
  27876. },
  27877. "hascoupon": {
  27878. "description": "是否可用优惠卷",
  27879. "type": "boolean"
  27880. },
  27881. "hotindex": {
  27882. "description": "景点热度",
  27883. "type": "integer"
  27884. },
  27885. "marketid": {
  27886. "description": "市场ID",
  27887. "type": "integer"
  27888. },
  27889. "orderid": {
  27890. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27891. "type": "string"
  27892. },
  27893. "orderprice": {
  27894. "description": "委托价格",
  27895. "type": "number"
  27896. },
  27897. "orderstatus": {
  27898. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27899. "type": "integer"
  27900. },
  27901. "picurls": {
  27902. "description": "介绍图片[多张用逗号分隔]",
  27903. "type": "string"
  27904. },
  27905. "quoteminunit": {
  27906. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27907. "type": "integer"
  27908. },
  27909. "sellUserID": {
  27910. "description": "卖方UserID",
  27911. "type": "integer"
  27912. },
  27913. "trademode": {
  27914. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27915. "type": "integer"
  27916. },
  27917. "videourls": {
  27918. "description": "介绍视频[多张用逗号分隔]",
  27919. "type": "string"
  27920. }
  27921. }
  27922. },
  27923. "models.HsbyMarketGoodsDetail": {
  27924. "type": "object",
  27925. "required": [
  27926. "accountid",
  27927. "buyorsell",
  27928. "goodscode",
  27929. "goodsid",
  27930. "goodsname",
  27931. "marketid",
  27932. "orderid",
  27933. "orderqty",
  27934. "trademode"
  27935. ],
  27936. "properties": {
  27937. "accountid": {
  27938. "description": "账户ID[报价币种]",
  27939. "type": "integer"
  27940. },
  27941. "agreeunit": {
  27942. "description": "合约单位",
  27943. "type": "number"
  27944. },
  27945. "buymaxqty": {
  27946. "description": "购买上限 [71] - 0为不限",
  27947. "type": "integer"
  27948. },
  27949. "buyorsell": {
  27950. "description": "买卖 - 0:买 1:卖",
  27951. "type": "integer"
  27952. },
  27953. "cancelqty": {
  27954. "description": "撤单数量",
  27955. "type": "integer"
  27956. },
  27957. "categoryid": {
  27958. "description": "类别ID(WRCATEGORY)",
  27959. "type": "integer"
  27960. },
  27961. "currency": {
  27962. "description": "货币",
  27963. "type": "string"
  27964. },
  27965. "currencysign": {
  27966. "description": "货币符号",
  27967. "type": "string"
  27968. },
  27969. "customername": {
  27970. "description": "卖家名称",
  27971. "type": "string"
  27972. },
  27973. "decimalplace": {
  27974. "description": "报价小数位",
  27975. "type": "integer"
  27976. },
  27977. "goodscode": {
  27978. "description": "商品代码(内部)",
  27979. "type": "string"
  27980. },
  27981. "goodsdesc": {
  27982. "description": "商品详情",
  27983. "type": "string"
  27984. },
  27985. "goodsid": {
  27986. "description": "商品ID",
  27987. "type": "integer"
  27988. },
  27989. "goodsname": {
  27990. "description": "商品名称",
  27991. "type": "string"
  27992. },
  27993. "goodsprice": {
  27994. "description": "商品价格",
  27995. "type": "number"
  27996. },
  27997. "hotindex": {
  27998. "description": "景点热度",
  27999. "type": "integer"
  28000. },
  28001. "lotsize": {
  28002. "description": "手数最小变动单位",
  28003. "type": "integer"
  28004. },
  28005. "marketid": {
  28006. "description": "市场ID",
  28007. "type": "integer"
  28008. },
  28009. "orderid": {
  28010. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28011. "type": "string"
  28012. },
  28013. "orderprice": {
  28014. "description": "委托价格",
  28015. "type": "number"
  28016. },
  28017. "orderqty": {
  28018. "description": "委托数量",
  28019. "type": "integer"
  28020. },
  28021. "orderstatus": {
  28022. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28023. "type": "integer"
  28024. },
  28025. "picurls": {
  28026. "description": "介绍图片[多张用逗号分隔]",
  28027. "type": "string"
  28028. },
  28029. "quoteminunit": {
  28030. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28031. "type": "integer"
  28032. },
  28033. "sellUserID": {
  28034. "description": "卖方UserID",
  28035. "type": "integer"
  28036. },
  28037. "trademode": {
  28038. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28039. "type": "integer"
  28040. },
  28041. "tradeqty": {
  28042. "description": "成交数量",
  28043. "type": "integer"
  28044. },
  28045. "vendorattr": {
  28046. "description": "供应商附件(多张,逗号分隔)",
  28047. "type": "string"
  28048. },
  28049. "vendorname": {
  28050. "description": "供应商名称",
  28051. "type": "string"
  28052. },
  28053. "vendorphone": {
  28054. "description": "供应商客服电话",
  28055. "type": "string"
  28056. },
  28057. "videourls": {
  28058. "description": "介绍视频[多张用逗号分隔]",
  28059. "type": "string"
  28060. }
  28061. }
  28062. },
  28063. "models.HsbyMarketInfo": {
  28064. "type": "object",
  28065. "required": [
  28066. "marketid",
  28067. "marketstatus",
  28068. "trademode"
  28069. ],
  28070. "properties": {
  28071. "marketid": {
  28072. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  28073. "type": "integer"
  28074. },
  28075. "marketname": {
  28076. "description": "市场名称",
  28077. "type": "string"
  28078. },
  28079. "marketstatus": {
  28080. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  28081. "type": "integer"
  28082. },
  28083. "trademode": {
  28084. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28085. "type": "integer"
  28086. }
  28087. }
  28088. },
  28089. "models.HsbyMyGoods": {
  28090. "type": "object",
  28091. "required": [
  28092. "accountid",
  28093. "goodscode",
  28094. "goodsid",
  28095. "goodsname",
  28096. "marketid",
  28097. "trademode"
  28098. ],
  28099. "properties": {
  28100. "accountid": {
  28101. "description": "账号Id",
  28102. "type": "integer"
  28103. },
  28104. "agreeunit": {
  28105. "description": "合约单位",
  28106. "type": "number"
  28107. },
  28108. "buyaverageprice": {
  28109. "description": "持仓均价",
  28110. "type": "number"
  28111. },
  28112. "buycurholderamount": {
  28113. "description": "买当前持仓总金额[商品币种]",
  28114. "type": "number"
  28115. },
  28116. "buycurpositionqty": {
  28117. "description": "买当前持仓总数量",
  28118. "type": "integer"
  28119. },
  28120. "buymaxqty": {
  28121. "description": "购买上限 [71] - 0为不限",
  28122. "type": "integer"
  28123. },
  28124. "currencysign": {
  28125. "description": "货币符号",
  28126. "type": "string"
  28127. },
  28128. "decimalplace": {
  28129. "description": "报价小数位",
  28130. "type": "integer"
  28131. },
  28132. "enableqty": {
  28133. "description": "可用数量",
  28134. "type": "integer"
  28135. },
  28136. "goodscode": {
  28137. "description": "商品代码(内部)",
  28138. "type": "string"
  28139. },
  28140. "goodsid": {
  28141. "description": "商品Id",
  28142. "type": "integer"
  28143. },
  28144. "goodsname": {
  28145. "description": "商品名称",
  28146. "type": "string"
  28147. },
  28148. "goodsprice": {
  28149. "description": "商品价格",
  28150. "type": "number"
  28151. },
  28152. "goodsstatus": {
  28153. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28154. "type": "integer"
  28155. },
  28156. "last": {
  28157. "description": "现价(仅使用于挂牌点选)",
  28158. "type": "number"
  28159. },
  28160. "limitdown": {
  28161. "description": "跌停价(仅使用于挂牌点选)",
  28162. "type": "number"
  28163. },
  28164. "limitup": {
  28165. "description": "涨停价(仅使用于挂牌点选)",
  28166. "type": "number"
  28167. },
  28168. "lotsize": {
  28169. "description": "手数最小变动单位",
  28170. "type": "integer"
  28171. },
  28172. "marketid": {
  28173. "description": "所属市场ID",
  28174. "type": "integer"
  28175. },
  28176. "picurls": {
  28177. "description": "介绍图片[多张用逗号分隔]",
  28178. "type": "string"
  28179. },
  28180. "quoteminunit": {
  28181. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28182. "type": "integer"
  28183. },
  28184. "stepvalue": {
  28185. "description": "价格最小变动单位",
  28186. "type": "number"
  28187. },
  28188. "trademode": {
  28189. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28190. "type": "integer"
  28191. }
  28192. }
  28193. },
  28194. "models.HsbyMyPackage": {
  28195. "type": "object",
  28196. "required": [
  28197. "goodscode",
  28198. "goodsname",
  28199. "takeorderid",
  28200. "trademode"
  28201. ],
  28202. "properties": {
  28203. "accountid": {
  28204. "description": "账户ID",
  28205. "type": "integer"
  28206. },
  28207. "address": {
  28208. "description": "提货人详细地址",
  28209. "type": "string"
  28210. },
  28211. "agreeunit": {
  28212. "description": "合约单位",
  28213. "type": "number"
  28214. },
  28215. "amount": {
  28216. "description": "提货金额",
  28217. "type": "number"
  28218. },
  28219. "auditer": {
  28220. "description": "审核人",
  28221. "type": "integer"
  28222. },
  28223. "audittime": {
  28224. "description": "审核时间",
  28225. "type": "string"
  28226. },
  28227. "averageprice": {
  28228. "description": "均价",
  28229. "type": "number"
  28230. },
  28231. "cardnum": {
  28232. "description": "提货人证件号码",
  28233. "type": "string"
  28234. },
  28235. "cardtypeid": {
  28236. "description": "提货人证件类型",
  28237. "type": "integer"
  28238. },
  28239. "checkremark": {
  28240. "description": "审核备注",
  28241. "type": "string"
  28242. },
  28243. "currencysign": {
  28244. "description": "货币符号",
  28245. "type": "string"
  28246. },
  28247. "decimalplace": {
  28248. "description": "报价小数位",
  28249. "type": "integer"
  28250. },
  28251. "goodscode": {
  28252. "description": "商品代码(内部)",
  28253. "type": "string"
  28254. },
  28255. "goodsid": {
  28256. "description": "商品ID",
  28257. "type": "integer"
  28258. },
  28259. "goodsname": {
  28260. "description": "商品名称",
  28261. "type": "string"
  28262. },
  28263. "handlestatus": {
  28264. "description": "处理状态",
  28265. "type": "integer"
  28266. },
  28267. "marketid": {
  28268. "description": "市场ID",
  28269. "type": "integer"
  28270. },
  28271. "phonenum": {
  28272. "description": "提货人联系方式",
  28273. "type": "string"
  28274. },
  28275. "picurls": {
  28276. "description": "介绍图片[多张用逗号分隔]",
  28277. "type": "string"
  28278. },
  28279. "qty": {
  28280. "description": "提货数量",
  28281. "type": "number"
  28282. },
  28283. "recivername": {
  28284. "description": "提货人姓名",
  28285. "type": "string"
  28286. },
  28287. "reqtime": {
  28288. "description": "更新时间",
  28289. "type": "string"
  28290. },
  28291. "takemode": {
  28292. "description": "提货方式 - 2:自提 3:配送",
  28293. "type": "integer"
  28294. },
  28295. "takeorderid": {
  28296. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28297. "type": "string"
  28298. },
  28299. "takeorderstatus": {
  28300. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  28301. "type": "integer"
  28302. },
  28303. "takeremark": {
  28304. "description": "提货备注",
  28305. "type": "string"
  28306. },
  28307. "tradedate": {
  28308. "description": "交易日(yyyyMMdd)",
  28309. "type": "string"
  28310. },
  28311. "trademode": {
  28312. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28313. "type": "integer"
  28314. },
  28315. "userid": {
  28316. "description": "用户ID",
  28317. "type": "integer"
  28318. },
  28319. "vendorname": {
  28320. "description": "供应商名称",
  28321. "type": "string"
  28322. }
  28323. }
  28324. },
  28325. "models.HsbyPreGoods": {
  28326. "type": "object",
  28327. "required": [
  28328. "goodscode",
  28329. "goodsid",
  28330. "goodsname",
  28331. "marketid",
  28332. "trademode"
  28333. ],
  28334. "properties": {
  28335. "agreeunit": {
  28336. "description": "合约单位",
  28337. "type": "number"
  28338. },
  28339. "currency": {
  28340. "description": "货币",
  28341. "type": "string"
  28342. },
  28343. "currencysign": {
  28344. "description": "货币符号",
  28345. "type": "string"
  28346. },
  28347. "decimalplace": {
  28348. "description": "报价小数位",
  28349. "type": "integer"
  28350. },
  28351. "desccityid": {
  28352. "description": "目的地(市)",
  28353. "type": "integer"
  28354. },
  28355. "descprovinceid": {
  28356. "description": "目的地(省)",
  28357. "type": "integer"
  28358. },
  28359. "enableqty": {
  28360. "description": "剩余数量",
  28361. "type": "integer"
  28362. },
  28363. "goodscode": {
  28364. "description": "商品代码(内部)",
  28365. "type": "string"
  28366. },
  28367. "goodsid": {
  28368. "description": "商品ID(自增ID SEQ_GOODS)",
  28369. "type": "integer"
  28370. },
  28371. "goodsname": {
  28372. "description": "商品名称",
  28373. "type": "string"
  28374. },
  28375. "goodsstatus": {
  28376. "description": "商品状态- 2:未上市 3:上市",
  28377. "type": "integer"
  28378. },
  28379. "lasttradedate": {
  28380. "description": "最后交易日期(状态:待退市)",
  28381. "type": "string"
  28382. },
  28383. "listingdate": {
  28384. "description": "交易开始日期",
  28385. "type": "string"
  28386. },
  28387. "marketid": {
  28388. "description": "所属市场ID",
  28389. "type": "integer"
  28390. },
  28391. "picurls": {
  28392. "description": "介绍图片[多张用逗号分隔]",
  28393. "type": "string"
  28394. },
  28395. "presaledqty": {
  28396. "description": "已预售量(预售结束时更新)",
  28397. "type": "integer"
  28398. },
  28399. "presaleqty": {
  28400. "description": "预售数量",
  28401. "type": "integer"
  28402. },
  28403. "quoteminunit": {
  28404. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28405. "type": "integer"
  28406. },
  28407. "refprice": {
  28408. "description": "参考价格[一口价]",
  28409. "type": "number"
  28410. },
  28411. "relatedgoodsid": {
  28412. "description": "关联交易合约ID",
  28413. "type": "integer"
  28414. },
  28415. "trademode": {
  28416. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28417. "type": "integer"
  28418. },
  28419. "videourls": {
  28420. "description": "介绍视频[多张用逗号分隔]",
  28421. "type": "string"
  28422. }
  28423. }
  28424. },
  28425. "models.HsbyPreGoodsDetail": {
  28426. "type": "object",
  28427. "required": [
  28428. "goodscode",
  28429. "goodsid",
  28430. "goodsname",
  28431. "marketid",
  28432. "trademode"
  28433. ],
  28434. "properties": {
  28435. "agreeunit": {
  28436. "description": "合约单位",
  28437. "type": "number"
  28438. },
  28439. "buymaxqty": {
  28440. "description": "购买上限 [71] - 0为不限",
  28441. "type": "integer"
  28442. },
  28443. "currency": {
  28444. "description": "货币",
  28445. "type": "string"
  28446. },
  28447. "currencysign": {
  28448. "description": "货币符号",
  28449. "type": "string"
  28450. },
  28451. "customername": {
  28452. "description": "发行单位",
  28453. "type": "string"
  28454. },
  28455. "decimalplace": {
  28456. "description": "报价小数位",
  28457. "type": "integer"
  28458. },
  28459. "desccityid": {
  28460. "description": "目的地(市)ID",
  28461. "type": "integer"
  28462. },
  28463. "descprovinceid": {
  28464. "description": "目的地(省)ID",
  28465. "type": "integer"
  28466. },
  28467. "enableqty": {
  28468. "description": "剩余数量",
  28469. "type": "integer"
  28470. },
  28471. "goodscode": {
  28472. "description": "商品代码(内部)",
  28473. "type": "string"
  28474. },
  28475. "goodsdesc": {
  28476. "description": "商品详情",
  28477. "type": "string"
  28478. },
  28479. "goodsid": {
  28480. "description": "商品ID(自增ID SEQ_GOODS)",
  28481. "type": "integer"
  28482. },
  28483. "goodsname": {
  28484. "description": "商品名称",
  28485. "type": "string"
  28486. },
  28487. "goodsstatus": {
  28488. "description": "商品状态- 2:未上市 3:上市",
  28489. "type": "integer"
  28490. },
  28491. "goodunit": {
  28492. "description": "报价单位",
  28493. "type": "string"
  28494. },
  28495. "lasttradedate": {
  28496. "description": "最后交易日期(状态:待退市)",
  28497. "type": "string"
  28498. },
  28499. "listingdate": {
  28500. "description": "交易开始日期",
  28501. "type": "string"
  28502. },
  28503. "lotsize": {
  28504. "description": "手数最小变动单位",
  28505. "type": "integer"
  28506. },
  28507. "marketid": {
  28508. "description": "所属市场ID",
  28509. "type": "integer"
  28510. },
  28511. "picurls": {
  28512. "description": "介绍图片[多张用逗号分隔]",
  28513. "type": "string"
  28514. },
  28515. "presaledqty": {
  28516. "description": "已预售量(预售结束时更新)",
  28517. "type": "integer"
  28518. },
  28519. "presaleqty": {
  28520. "description": "预售数量",
  28521. "type": "integer"
  28522. },
  28523. "quoteminunit": {
  28524. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28525. "type": "integer"
  28526. },
  28527. "refprice": {
  28528. "description": "参考价格[一口价]",
  28529. "type": "number"
  28530. },
  28531. "relatedgoodsid": {
  28532. "description": "关联交易合约ID",
  28533. "type": "integer"
  28534. },
  28535. "stepvalue": {
  28536. "description": "价格最小变动单位",
  28537. "type": "number"
  28538. },
  28539. "trademode": {
  28540. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28541. "type": "integer"
  28542. },
  28543. "vendorattr": {
  28544. "description": "供应商附件(多张,逗号分隔)",
  28545. "type": "string"
  28546. },
  28547. "vendorname": {
  28548. "description": "供应商名称",
  28549. "type": "string"
  28550. },
  28551. "vendorphone": {
  28552. "description": "供应商客服电话",
  28553. "type": "string"
  28554. },
  28555. "videourls": {
  28556. "description": "介绍视频[多张用逗号分隔]",
  28557. "type": "string"
  28558. }
  28559. }
  28560. },
  28561. "models.HsbySellCollectionOrder": {
  28562. "type": "object",
  28563. "required": [
  28564. "goodscode",
  28565. "goodsname",
  28566. "tradeid",
  28567. "trademode"
  28568. ],
  28569. "properties": {
  28570. "agreeunit": {
  28571. "description": "合约单位",
  28572. "type": "number"
  28573. },
  28574. "buyaccountid": {
  28575. "description": "买方账号ID[报价币种]",
  28576. "type": "integer"
  28577. },
  28578. "buyorderid": {
  28579. "description": "买方委托单号",
  28580. "type": "string"
  28581. },
  28582. "createtime": {
  28583. "description": "创建时间",
  28584. "type": "string"
  28585. },
  28586. "currencysign": {
  28587. "description": "货币符号",
  28588. "type": "string"
  28589. },
  28590. "decimalplace": {
  28591. "description": "报价小数位",
  28592. "type": "integer"
  28593. },
  28594. "goodscode": {
  28595. "description": "商品代码(内部)",
  28596. "type": "string"
  28597. },
  28598. "goodsid": {
  28599. "description": "商品ID",
  28600. "type": "integer"
  28601. },
  28602. "goodsname": {
  28603. "description": "商品名称",
  28604. "type": "string"
  28605. },
  28606. "marketid": {
  28607. "description": "市场ID",
  28608. "type": "integer"
  28609. },
  28610. "offamount": {
  28611. "description": "优惠金额",
  28612. "type": "number"
  28613. },
  28614. "payamount": {
  28615. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  28616. "type": "number"
  28617. },
  28618. "payflag": {
  28619. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28620. "type": "integer"
  28621. },
  28622. "paylimitedtime": {
  28623. "description": "支付期限",
  28624. "type": "string"
  28625. },
  28626. "paytime": {
  28627. "description": "付款时间",
  28628. "type": "string"
  28629. },
  28630. "picurls": {
  28631. "description": "商品介绍图片[多张用逗号分隔]",
  28632. "type": "string"
  28633. },
  28634. "sellaccountid": {
  28635. "description": "卖方账号ID[报价币种]",
  28636. "type": "integer"
  28637. },
  28638. "sellorderid": {
  28639. "description": "卖方委托单号",
  28640. "type": "string"
  28641. },
  28642. "tradeamount": {
  28643. "description": "成交金额",
  28644. "type": "number"
  28645. },
  28646. "tradecharge": {
  28647. "description": "成交手续费(买方)",
  28648. "type": "number"
  28649. },
  28650. "tradedate": {
  28651. "description": "交易日(yyyyMMdd)",
  28652. "type": "string"
  28653. },
  28654. "tradeid": {
  28655. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28656. "type": "string"
  28657. },
  28658. "trademode": {
  28659. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28660. "type": "integer"
  28661. },
  28662. "tradeprice": {
  28663. "description": "成交价格",
  28664. "type": "number"
  28665. },
  28666. "tradeqty": {
  28667. "description": "成交数量",
  28668. "type": "integer"
  28669. }
  28670. }
  28671. },
  28672. "models.HsbySellMyDetail": {
  28673. "type": "object",
  28674. "required": [
  28675. "accountid",
  28676. "buyorsell",
  28677. "goodscode",
  28678. "goodsid",
  28679. "goodsname",
  28680. "marketid",
  28681. "orderid",
  28682. "time",
  28683. "trademode"
  28684. ],
  28685. "properties": {
  28686. "accountid": {
  28687. "description": "账户ID[报价币种]",
  28688. "type": "integer"
  28689. },
  28690. "agreeunit": {
  28691. "description": "合约单位",
  28692. "type": "number"
  28693. },
  28694. "buyorsell": {
  28695. "description": "买卖 - 0:买 1:卖",
  28696. "type": "integer"
  28697. },
  28698. "currencysign": {
  28699. "description": "货币符号",
  28700. "type": "string"
  28701. },
  28702. "decimalplace": {
  28703. "description": "报价小数位",
  28704. "type": "integer"
  28705. },
  28706. "goodscode": {
  28707. "description": "商品代码(内部)",
  28708. "type": "string"
  28709. },
  28710. "goodsid": {
  28711. "description": "商品ID",
  28712. "type": "integer"
  28713. },
  28714. "goodsname": {
  28715. "description": "商品名称",
  28716. "type": "string"
  28717. },
  28718. "marketid": {
  28719. "description": "市场ID",
  28720. "type": "integer"
  28721. },
  28722. "orderid": {
  28723. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  28724. "type": "string"
  28725. },
  28726. "ordertype": {
  28727. "description": "单据类型:0 - 发布中, 1 - 已完成",
  28728. "type": "integer"
  28729. },
  28730. "picurls": {
  28731. "description": "介绍图片[多张用逗号分隔]",
  28732. "type": "string"
  28733. },
  28734. "price": {
  28735. "description": "价格",
  28736. "type": "number"
  28737. },
  28738. "qty": {
  28739. "description": "数量",
  28740. "type": "integer"
  28741. },
  28742. "time": {
  28743. "description": "时间",
  28744. "type": "string"
  28745. },
  28746. "trademode": {
  28747. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28748. "type": "integer"
  28749. },
  28750. "vendorname": {
  28751. "description": "供应商名称",
  28752. "type": "string"
  28753. }
  28754. }
  28755. },
  28756. "models.HsbyTopGoods": {
  28757. "type": "object",
  28758. "required": [
  28759. "goodscode",
  28760. "goodsid",
  28761. "goodsname",
  28762. "marketid",
  28763. "trademode"
  28764. ],
  28765. "properties": {
  28766. "agreeunit": {
  28767. "description": "合约单位",
  28768. "type": "number"
  28769. },
  28770. "currency": {
  28771. "description": "货币",
  28772. "type": "string"
  28773. },
  28774. "currencysign": {
  28775. "description": "货币符号",
  28776. "type": "string"
  28777. },
  28778. "decimalplace": {
  28779. "description": "报价小数位",
  28780. "type": "integer"
  28781. },
  28782. "desccityid": {
  28783. "description": "目的地(市)",
  28784. "type": "integer"
  28785. },
  28786. "descprovinceid": {
  28787. "description": "目的地(省)",
  28788. "type": "integer"
  28789. },
  28790. "goodscode": {
  28791. "description": "商品代码(内部)",
  28792. "type": "string"
  28793. },
  28794. "goodsid": {
  28795. "description": "商品ID(自增ID SEQ_GOODS)",
  28796. "type": "integer"
  28797. },
  28798. "goodsname": {
  28799. "description": "商品名称",
  28800. "type": "string"
  28801. },
  28802. "hotindex": {
  28803. "description": "景点热度",
  28804. "type": "integer"
  28805. },
  28806. "last": {
  28807. "description": "现价",
  28808. "type": "number"
  28809. },
  28810. "marketid": {
  28811. "description": "所属市场ID",
  28812. "type": "integer"
  28813. },
  28814. "picurls": {
  28815. "description": "介绍图片[多张用逗号分隔]",
  28816. "type": "string"
  28817. },
  28818. "quoteminunit": {
  28819. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28820. "type": "integer"
  28821. },
  28822. "trademode": {
  28823. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28824. "type": "integer"
  28825. },
  28826. "videourls": {
  28827. "description": "介绍视频[多张用逗号分隔]",
  28828. "type": "string"
  28829. }
  28830. }
  28831. },
  28832. "models.HybsMyBuyOrderDetail": {
  28833. "type": "object",
  28834. "required": [
  28835. "accountid",
  28836. "buyorsell",
  28837. "goodscode",
  28838. "goodsid",
  28839. "goodsname",
  28840. "marketid",
  28841. "orderid",
  28842. "orderqty",
  28843. "ordertime",
  28844. "trademode"
  28845. ],
  28846. "properties": {
  28847. "accountid": {
  28848. "description": "账户ID[报价币种]",
  28849. "type": "integer"
  28850. },
  28851. "agreeunit": {
  28852. "description": "合约单位",
  28853. "type": "number"
  28854. },
  28855. "buyorsell": {
  28856. "description": "买卖 - 0:买 1:卖",
  28857. "type": "integer"
  28858. },
  28859. "cancelqty": {
  28860. "description": "撤单数量",
  28861. "type": "integer"
  28862. },
  28863. "currencysign": {
  28864. "description": "货币符号",
  28865. "type": "string"
  28866. },
  28867. "decimalplace": {
  28868. "description": "报价小数位",
  28869. "type": "integer"
  28870. },
  28871. "goodscode": {
  28872. "description": "商品代码(内部)",
  28873. "type": "string"
  28874. },
  28875. "goodsid": {
  28876. "description": "商品ID",
  28877. "type": "integer"
  28878. },
  28879. "goodsname": {
  28880. "description": "商品名称",
  28881. "type": "string"
  28882. },
  28883. "listingselecttype": {
  28884. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28885. "type": "integer"
  28886. },
  28887. "marketid": {
  28888. "description": "市场ID",
  28889. "type": "integer"
  28890. },
  28891. "mybuystatus": {
  28892. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  28893. "type": "integer"
  28894. },
  28895. "orderamount": {
  28896. "description": "委托金额",
  28897. "type": "number"
  28898. },
  28899. "orderid": {
  28900. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28901. "type": "string"
  28902. },
  28903. "orderprice": {
  28904. "description": "委托价格",
  28905. "type": "number"
  28906. },
  28907. "orderqty": {
  28908. "description": "委托数量",
  28909. "type": "integer"
  28910. },
  28911. "orderstatus": {
  28912. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28913. "type": "integer"
  28914. },
  28915. "ordertime": {
  28916. "description": "委托时间",
  28917. "type": "string"
  28918. },
  28919. "picurls1": {
  28920. "description": "预售商品介绍图片[多张用逗号分隔]",
  28921. "type": "string"
  28922. },
  28923. "picurls2": {
  28924. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  28925. "type": "string"
  28926. },
  28927. "trademode": {
  28928. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28929. "type": "integer"
  28930. },
  28931. "tradeqty": {
  28932. "description": "成交数量",
  28933. "type": "integer"
  28934. },
  28935. "vendorname1": {
  28936. "description": "预售商品供应商名称",
  28937. "type": "string"
  28938. },
  28939. "vendorname2": {
  28940. "description": "挂牌商品供应商名称",
  28941. "type": "string"
  28942. }
  28943. }
  28944. },
  28945. "models.InternalUncorrelatedTradeDetail": {
  28946. "type": "object",
  28947. "required": [
  28948. "userid"
  28949. ],
  28950. "properties": {
  28951. "accountname": {
  28952. "description": "套期主体",
  28953. "type": "string"
  28954. },
  28955. "agreeunit": {
  28956. "description": "合约乘数",
  28957. "type": "number"
  28958. },
  28959. "areauserid": {
  28960. "description": "所属机构",
  28961. "type": "integer"
  28962. },
  28963. "bizsubjectid": {
  28964. "description": "归属业务部门ID - SubjectID",
  28965. "type": "integer"
  28966. },
  28967. "buyorsell": {
  28968. "description": "方向 - 0:买 1:卖",
  28969. "type": "integer"
  28970. },
  28971. "convertratio": {
  28972. "description": "品种系数",
  28973. "type": "number"
  28974. },
  28975. "createtime": {
  28976. "description": "创建时间",
  28977. "type": "string"
  28978. },
  28979. "creatorid": {
  28980. "description": "创建人ID",
  28981. "type": "integer"
  28982. },
  28983. "creatorsrc": {
  28984. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28985. "type": "integer"
  28986. },
  28987. "enableqty": {
  28988. "description": "项目可关联手数 = 成交手数 - 关联数量",
  28989. "type": "number"
  28990. },
  28991. "goodscode": {
  28992. "description": "合约代码",
  28993. "type": "string"
  28994. },
  28995. "goodsgroupid": {
  28996. "description": "对冲品种ID[期货合约商品组ID]",
  28997. "type": "integer"
  28998. },
  28999. "goodsid": {
  29000. "description": "商品ID",
  29001. "type": "integer"
  29002. },
  29003. "goodsname": {
  29004. "description": "合约名称",
  29005. "type": "string"
  29006. },
  29007. "hedgeditemid": {
  29008. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29009. "type": "integer"
  29010. },
  29011. "hedgeflag": {
  29012. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29013. "type": "integer"
  29014. },
  29015. "linkdetailid": {
  29016. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29017. "type": "string"
  29018. },
  29019. "linkstatus": {
  29020. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29021. "type": "integer"
  29022. },
  29023. "middlegoodsid": {
  29024. "description": "套保品种ID",
  29025. "type": "integer"
  29026. },
  29027. "relatedlot": {
  29028. "description": "[数量]关联手数",
  29029. "type": "number"
  29030. },
  29031. "relatedmode": {
  29032. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29033. "type": "integer"
  29034. },
  29035. "relatedqty": {
  29036. "description": "[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29037. "type": "number"
  29038. },
  29039. "retcode": {
  29040. "description": "返回码",
  29041. "type": "integer"
  29042. },
  29043. "saleuserid": {
  29044. "description": "业务员ID",
  29045. "type": "integer"
  29046. },
  29047. "tradedate": {
  29048. "description": "关联交易日(yyyyMMdd)",
  29049. "type": "string"
  29050. },
  29051. "tradeid": {
  29052. "description": "成交单号",
  29053. "type": "string"
  29054. },
  29055. "tradelot": {
  29056. "description": "成交手数",
  29057. "type": "integer"
  29058. },
  29059. "tradeprice": {
  29060. "description": "成交价",
  29061. "type": "number"
  29062. },
  29063. "tradetime": {
  29064. "description": "成交时间",
  29065. "type": "string"
  29066. },
  29067. "tradetradedate": {
  29068. "description": "成交交易日(yyyyMMdd)",
  29069. "type": "string"
  29070. },
  29071. "userid": {
  29072. "description": "用户编号",
  29073. "type": "integer"
  29074. }
  29075. }
  29076. },
  29077. "models.Loginaccount": {
  29078. "type": "object",
  29079. "required": [
  29080. "loginid"
  29081. ],
  29082. "properties": {
  29083. "accountname": {
  29084. "description": "账户名称",
  29085. "type": "string"
  29086. },
  29087. "canoutin": {
  29088. "description": "是否可出入金 - 0:不可 1:可",
  29089. "type": "integer"
  29090. },
  29091. "clientroleid": {
  29092. "description": "终端角色ID",
  29093. "type": "integer"
  29094. },
  29095. "haslogined": {
  29096. "description": "是否已登录 - 0:未登录 1:已登录",
  29097. "type": "integer"
  29098. },
  29099. "hasupdatedpwd": {
  29100. "description": "是否已更改密码 - 0:未修改 1:已修改",
  29101. "type": "integer"
  29102. },
  29103. "lastloginip": {
  29104. "description": "最新登录地址",
  29105. "type": "string"
  29106. },
  29107. "lastloginmode": {
  29108. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  29109. "type": "integer"
  29110. },
  29111. "lastloginremark": {
  29112. "description": "最新登录描述",
  29113. "type": "string"
  29114. },
  29115. "lastlogintime": {
  29116. "description": "最新登录时间",
  29117. "type": "string"
  29118. },
  29119. "logincode": {
  29120. "description": "登录代码",
  29121. "type": "string"
  29122. },
  29123. "loginfailnum": {
  29124. "description": "连续登录失败次数(登录成功时清零)",
  29125. "type": "integer"
  29126. },
  29127. "loginid": {
  29128. "description": "登陆账号",
  29129. "type": "integer"
  29130. },
  29131. "loginport": {
  29132. "description": "最新登录端口",
  29133. "type": "integer"
  29134. },
  29135. "loginstatus": {
  29136. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  29137. "type": "integer"
  29138. },
  29139. "loginusertype": {
  29140. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  29141. "type": "integer"
  29142. },
  29143. "mobile": {
  29144. "description": "手机号码(加密存储)",
  29145. "type": "string"
  29146. },
  29147. "modifierid": {
  29148. "description": "修改人",
  29149. "type": "integer"
  29150. },
  29151. "modifysrc": {
  29152. "description": "审核来源 - 1:管理端 2:终端",
  29153. "type": "integer"
  29154. },
  29155. "modifytime": {
  29156. "description": "修改时间",
  29157. "type": "string"
  29158. },
  29159. "password": {
  29160. "description": "登陆密码",
  29161. "type": "string"
  29162. },
  29163. "pwdwrongcount": {
  29164. "description": "密码错误次数",
  29165. "type": "integer"
  29166. },
  29167. "relateduserid": {
  29168. "description": "关联用户ID(机构)",
  29169. "type": "integer"
  29170. },
  29171. "taaccountrighttype": {
  29172. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  29173. "type": "integer"
  29174. },
  29175. "unfreezetime": {
  29176. "description": "账户解冻时间",
  29177. "type": "string"
  29178. },
  29179. "userid": {
  29180. "description": "用户ID",
  29181. "type": "integer"
  29182. }
  29183. }
  29184. },
  29185. "models.MainAccountInfo": {
  29186. "type": "object",
  29187. "properties": {
  29188. "accountid": {
  29189. "description": "账号id",
  29190. "type": "integer"
  29191. },
  29192. "accountname": {
  29193. "description": "账号名称(taaccount表中的名称)",
  29194. "type": "string"
  29195. },
  29196. "appid": {
  29197. "description": "AppID",
  29198. "type": "string"
  29199. },
  29200. "authcode": {
  29201. "description": "授权码",
  29202. "type": "string"
  29203. },
  29204. "brokerid": {
  29205. "description": "经纪商id",
  29206. "type": "string"
  29207. },
  29208. "fcid": {
  29209. "description": "期货公司id",
  29210. "type": "integer"
  29211. },
  29212. "fcname": {
  29213. "description": "期货公司代码",
  29214. "type": "string"
  29215. },
  29216. "hedgeaccountcode": {
  29217. "description": "外部账号代码(主账号登录代码)",
  29218. "type": "string"
  29219. },
  29220. "hedgeaccountpwd": {
  29221. "description": "密码",
  29222. "type": "string"
  29223. },
  29224. "ismain": {
  29225. "description": "是否主账号",
  29226. "type": "integer"
  29227. },
  29228. "relateduserid": {
  29229. "description": "关联用户id",
  29230. "type": "integer"
  29231. },
  29232. "userid": {
  29233. "description": "关联用户id",
  29234. "type": "integer"
  29235. }
  29236. }
  29237. },
  29238. "models.Market": {
  29239. "type": "object",
  29240. "required": [
  29241. "marketid",
  29242. "marketstatus",
  29243. "openmethod",
  29244. "reckonpricealgorithm",
  29245. "trademode",
  29246. "tradeproperty"
  29247. ],
  29248. "properties": {
  29249. "auctionwrtype": {
  29250. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  29251. "type": "integer"
  29252. },
  29253. "canacceptquote": {
  29254. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  29255. "type": "integer"
  29256. },
  29257. "cangoodsexercise": {
  29258. "description": "[期权]是否可现货行权- 0:否 1:是",
  29259. "type": "integer"
  29260. },
  29261. "cangoodsexercisetype": {
  29262. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  29263. "type": "integer"
  29264. },
  29265. "canmanualquotestrike": {
  29266. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  29267. "type": "integer"
  29268. },
  29269. "canmutistage": {
  29270. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  29271. "type": "integer"
  29272. },
  29273. "canpreexercise": {
  29274. "description": "[期权]是否可预申报- 0:否 1:是",
  29275. "type": "integer"
  29276. },
  29277. "clearinterval": {
  29278. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  29279. "type": "integer"
  29280. },
  29281. "contracttmp": {
  29282. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  29283. "type": "string"
  29284. },
  29285. "exchareaid": {
  29286. "description": "所属交易所,可以没有",
  29287. "type": "integer"
  29288. },
  29289. "goodstype": {
  29290. "description": "商品类型 - 1:交易商品 2:仓单商品",
  29291. "type": "integer"
  29292. },
  29293. "hasrebate": {
  29294. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  29295. "type": "integer"
  29296. },
  29297. "hastradecredit": {
  29298. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  29299. "type": "integer"
  29300. },
  29301. "haswr": {
  29302. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  29303. "type": "integer"
  29304. },
  29305. "isdeductmargin": {
  29306. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  29307. "type": "integer"
  29308. },
  29309. "isrecordsource": {
  29310. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  29311. "type": "integer"
  29312. },
  29313. "isreleasemargin": {
  29314. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  29315. "type": "integer"
  29316. },
  29317. "marginformula": {
  29318. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  29319. "type": "integer"
  29320. },
  29321. "marginformula2": {
  29322. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  29323. "type": "integer"
  29324. },
  29325. "marketid": {
  29326. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29327. "type": "integer"
  29328. },
  29329. "marketname": {
  29330. "description": "市场名称",
  29331. "type": "string"
  29332. },
  29333. "marketserviceid": {
  29334. "description": "市场服务ID",
  29335. "type": "integer"
  29336. },
  29337. "marketstatus": {
  29338. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29339. "type": "integer"
  29340. },
  29341. "markettype": {
  29342. "description": "市场类型- 1:非交易服务 2:交易服务",
  29343. "type": "integer"
  29344. },
  29345. "matchermode": {
  29346. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  29347. "type": "integer"
  29348. },
  29349. "openmethod": {
  29350. "description": "开盘模式 - 0 自动 1手动",
  29351. "type": "integer"
  29352. },
  29353. "otcuserid": {
  29354. "description": "场外期权做市商[场外期权]",
  29355. "type": "integer"
  29356. },
  29357. "outersynctime": {
  29358. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  29359. "type": "string"
  29360. },
  29361. "pendingflag": {
  29362. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  29363. "type": "integer"
  29364. },
  29365. "pendingtime": {
  29366. "description": "待开市时间[通道交易-对冲](HH:mm)",
  29367. "type": "string"
  29368. },
  29369. "performancetempid": {
  29370. "description": "履约计划模板ID - 作废",
  29371. "type": "integer"
  29372. },
  29373. "premiumquotemode": {
  29374. "description": "权利金报价方式 - 1:自动 2:手动",
  29375. "type": "integer"
  29376. },
  29377. "rebateratio": {
  29378. "description": "返利比率[竞价式]",
  29379. "type": "number"
  29380. },
  29381. "reckonorder": {
  29382. "description": "结算顺序",
  29383. "type": "integer"
  29384. },
  29385. "reckonpricealgorithm": {
  29386. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  29387. "type": "integer"
  29388. },
  29389. "reckonpriceparam": {
  29390. "description": "结算价参数",
  29391. "type": "integer"
  29392. },
  29393. "reckontime": {
  29394. "description": "结算时间[通道交易-对冲](HH:mm)",
  29395. "type": "string"
  29396. },
  29397. "roleprioritytype": {
  29398. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  29399. "type": "integer"
  29400. },
  29401. "selllistingauditflag": {
  29402. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  29403. "type": "integer"
  29404. },
  29405. "trademarkettype": {
  29406. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  29407. "type": "integer"
  29408. },
  29409. "trademode": {
  29410. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29411. "type": "integer"
  29412. },
  29413. "tradeproperty": {
  29414. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  29415. "type": "integer"
  29416. },
  29417. "tradetype": {
  29418. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  29419. "type": "integer"
  29420. }
  29421. }
  29422. },
  29423. "models.Marketrun": {
  29424. "type": "object",
  29425. "required": [
  29426. "marketid",
  29427. "nexttradedate",
  29428. "reckonflag",
  29429. "runstatus",
  29430. "tradedate",
  29431. "tradedate2"
  29432. ],
  29433. "properties": {
  29434. "afternexttradedate": {
  29435. "description": "下下交易日",
  29436. "type": "string"
  29437. },
  29438. "clearquoteflag": {
  29439. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  29440. "type": "integer"
  29441. },
  29442. "lastreckondate": {
  29443. "description": "最新交易日(结算成功)",
  29444. "type": "string"
  29445. },
  29446. "machinedate": {
  29447. "description": "机器时间",
  29448. "type": "string"
  29449. },
  29450. "manualflag": {
  29451. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  29452. "type": "integer"
  29453. },
  29454. "marketid": {
  29455. "description": "市场ID",
  29456. "type": "integer"
  29457. },
  29458. "nexttradedate": {
  29459. "description": "下一交易日",
  29460. "type": "string"
  29461. },
  29462. "pretradedate": {
  29463. "description": "上一交易日",
  29464. "type": "string"
  29465. },
  29466. "reckonflag": {
  29467. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  29468. "type": "integer"
  29469. },
  29470. "runstatus": {
  29471. "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.今日免清算",
  29472. "type": "integer"
  29473. },
  29474. "sectionid": {
  29475. "description": "时间段号[多时段时用]",
  29476. "type": "integer"
  29477. },
  29478. "tradedate": {
  29479. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  29480. "type": "string"
  29481. },
  29482. "tradedate2": {
  29483. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  29484. "type": "string"
  29485. },
  29486. "updatetime": {
  29487. "description": "更新时间",
  29488. "type": "string"
  29489. }
  29490. }
  29491. },
  29492. "models.Messageboard": {
  29493. "type": "object",
  29494. "required": [
  29495. "messageboardid"
  29496. ],
  29497. "properties": {
  29498. "contactnum": {
  29499. "description": "联系电话",
  29500. "type": "string"
  29501. },
  29502. "createtime": {
  29503. "description": "创建时间",
  29504. "type": "string"
  29505. },
  29506. "message": {
  29507. "description": "留言信息",
  29508. "type": "string"
  29509. },
  29510. "messageboardid": {
  29511. "description": "留言簿ID(SEQ_MessageBoard)",
  29512. "type": "integer"
  29513. },
  29514. "userid": {
  29515. "description": "用户ID",
  29516. "type": "integer"
  29517. }
  29518. }
  29519. },
  29520. "models.MyCoupon": {
  29521. "type": "object",
  29522. "required": [
  29523. "accountid",
  29524. "coupontypeid"
  29525. ],
  29526. "properties": {
  29527. "accountid": {
  29528. "description": "资金账户ID",
  29529. "type": "integer"
  29530. },
  29531. "areauserid": {
  29532. "description": "所属机构",
  29533. "type": "integer"
  29534. },
  29535. "conditionvalue": {
  29536. "description": "条件阈值(可为0)",
  29537. "type": "number"
  29538. },
  29539. "couponcategroy": {
  29540. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  29541. "type": "integer"
  29542. },
  29543. "couponname": {
  29544. "description": "优惠券名称",
  29545. "type": "string"
  29546. },
  29547. "coupontypeid": {
  29548. "description": "优惠券类型ID",
  29549. "type": "string"
  29550. },
  29551. "couponvalue": {
  29552. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  29553. "type": "number"
  29554. },
  29555. "curfreezeqty": {
  29556. "description": "期末冻结数量",
  29557. "type": "integer"
  29558. },
  29559. "curqty": {
  29560. "description": "期末数量",
  29561. "type": "integer"
  29562. },
  29563. "isgeneral": {
  29564. "description": "是否通用券 - 0:否 1:是",
  29565. "type": "integer"
  29566. },
  29567. "isunusable": {
  29568. "description": "是否不可用",
  29569. "type": "boolean"
  29570. },
  29571. "limitedflag": {
  29572. "description": "是否指定商品 - 0:不限 1:限制",
  29573. "type": "integer"
  29574. },
  29575. "limitedgoodsids": {
  29576. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  29577. "type": "string"
  29578. },
  29579. "orifreezeqty": {
  29580. "description": "期初冻结数量",
  29581. "type": "integer"
  29582. },
  29583. "oriqty": {
  29584. "description": "期初数量",
  29585. "type": "integer"
  29586. },
  29587. "reasontype": {
  29588. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  29589. "type": "integer"
  29590. },
  29591. "todaydecrease": {
  29592. "description": "今日减少",
  29593. "type": "integer"
  29594. },
  29595. "todayincrease": {
  29596. "description": "今日增加",
  29597. "type": "integer"
  29598. },
  29599. "userid": {
  29600. "description": "用户ID",
  29601. "type": "integer"
  29602. },
  29603. "userscope": {
  29604. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  29605. "type": "string"
  29606. }
  29607. }
  29608. },
  29609. "models.MyCouponHold": {
  29610. "type": "object",
  29611. "required": [
  29612. "couponholdid"
  29613. ],
  29614. "properties": {
  29615. "accountid": {
  29616. "description": "资金账户ID",
  29617. "type": "integer"
  29618. },
  29619. "conditionvalue": {
  29620. "description": "条件阈值(可为0)",
  29621. "type": "number"
  29622. },
  29623. "couponcategroy": {
  29624. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  29625. "type": "integer"
  29626. },
  29627. "couponholdid": {
  29628. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  29629. "type": "string"
  29630. },
  29631. "couponname": {
  29632. "description": "优惠券名称",
  29633. "type": "string"
  29634. },
  29635. "coupontypeid": {
  29636. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  29637. "type": "string"
  29638. },
  29639. "couponvalue": {
  29640. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  29641. "type": "number"
  29642. },
  29643. "createtime": {
  29644. "description": "创建时间",
  29645. "type": "string"
  29646. },
  29647. "enddate": {
  29648. "description": "结束日期",
  29649. "type": "string"
  29650. },
  29651. "giveapplyid": {
  29652. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  29653. "type": "integer"
  29654. },
  29655. "holdstatus": {
  29656. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  29657. "type": "integer"
  29658. },
  29659. "isgeneral": {
  29660. "description": "是否通用券 - 0:否 1:是",
  29661. "type": "integer"
  29662. },
  29663. "limitedflag": {
  29664. "description": "是否指定商品 - 0:不限 1:限制",
  29665. "type": "integer"
  29666. },
  29667. "limitedgoodsids": {
  29668. "description": "指定商品IDs[逗号分隔]",
  29669. "type": "string"
  29670. },
  29671. "qty": {
  29672. "description": "数量(按1平铺)",
  29673. "type": "integer"
  29674. },
  29675. "startdate": {
  29676. "description": "开始日期",
  29677. "type": "string"
  29678. },
  29679. "userid": {
  29680. "description": "用户ID",
  29681. "type": "integer"
  29682. },
  29683. "userscope": {
  29684. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  29685. "type": "string"
  29686. }
  29687. }
  29688. },
  29689. "models.MyUsedCoupon": {
  29690. "type": "object",
  29691. "required": [
  29692. "coupontypeid",
  29693. "orderid"
  29694. ],
  29695. "properties": {
  29696. "accountid": {
  29697. "description": "资金账户ID(买方)",
  29698. "type": "integer"
  29699. },
  29700. "conditionvalue": {
  29701. "description": "条件阈值(可为0)",
  29702. "type": "number"
  29703. },
  29704. "couponcategroy": {
  29705. "description": "种类 - 1:现金券 2:折扣券",
  29706. "type": "integer"
  29707. },
  29708. "couponname": {
  29709. "description": "优惠券名称",
  29710. "type": "string"
  29711. },
  29712. "coupontypeid": {
  29713. "description": "优惠券类型ID(买方)",
  29714. "type": "string"
  29715. },
  29716. "couponvalue": {
  29717. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  29718. "type": "number"
  29719. },
  29720. "createtime": {
  29721. "description": "创建时间",
  29722. "type": "string"
  29723. },
  29724. "goodsid": {
  29725. "description": "商品ID",
  29726. "type": "integer"
  29727. },
  29728. "handlestatus": {
  29729. "description": "处理状态",
  29730. "type": "integer"
  29731. },
  29732. "marketid": {
  29733. "description": "市场ID",
  29734. "type": "integer"
  29735. },
  29736. "offamount": {
  29737. "description": "优惠金额",
  29738. "type": "number"
  29739. },
  29740. "orderid": {
  29741. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29742. "type": "string"
  29743. },
  29744. "sellaccountid": {
  29745. "description": "资金账户ID(卖方)",
  29746. "type": "integer"
  29747. },
  29748. "tradeamount": {
  29749. "description": "成交金额",
  29750. "type": "number"
  29751. },
  29752. "tradeid": {
  29753. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29754. "type": "string"
  29755. },
  29756. "usedqty": {
  29757. "description": "使用数量",
  29758. "type": "integer"
  29759. }
  29760. }
  29761. },
  29762. "models.OperationPrimaryMenu": {
  29763. "type": "object",
  29764. "properties": {
  29765. "Children": {
  29766. "description": "二级功能菜单",
  29767. "type": "array",
  29768. "items": {
  29769. "$ref": "#/definitions/models.OperationSecondaryMenu"
  29770. }
  29771. },
  29772. "Key": {
  29773. "description": "菜单KEY",
  29774. "type": "string"
  29775. },
  29776. "Label": {
  29777. "description": "菜单标题",
  29778. "type": "string"
  29779. }
  29780. }
  29781. },
  29782. "models.OperationSecondaryMenu": {
  29783. "type": "object",
  29784. "properties": {
  29785. "Key": {
  29786. "description": "菜单KEY",
  29787. "type": "string"
  29788. },
  29789. "Label": {
  29790. "description": "菜单标题",
  29791. "type": "string"
  29792. },
  29793. "TabList": {
  29794. "description": "三级功能菜单",
  29795. "type": "array",
  29796. "items": {
  29797. "$ref": "#/definitions/models.OperationTabMenu"
  29798. }
  29799. }
  29800. }
  29801. },
  29802. "models.OperationTabMenu": {
  29803. "type": "object",
  29804. "properties": {
  29805. "Key": {
  29806. "description": "菜单KEY",
  29807. "type": "string"
  29808. },
  29809. "Label": {
  29810. "description": "菜单标题",
  29811. "type": "string"
  29812. }
  29813. }
  29814. },
  29815. "models.QhjAccountOutInApply": {
  29816. "type": "object",
  29817. "properties": {
  29818. "accountcode": {
  29819. "description": "资金账号",
  29820. "type": "string"
  29821. },
  29822. "accountname": {
  29823. "description": "用户名称(名称)",
  29824. "type": "string"
  29825. },
  29826. "accountpwd": {
  29827. "description": "资金密码",
  29828. "type": "string"
  29829. },
  29830. "accountticket": {
  29831. "description": "最新账户服务流水号",
  29832. "type": "string"
  29833. },
  29834. "amount": {
  29835. "description": "金额",
  29836. "type": "number"
  29837. },
  29838. "applyremark": {
  29839. "description": "申请备注",
  29840. "type": "string"
  29841. },
  29842. "applystatus": {
  29843. "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: 复审通过,账户冻结金额检查中;",
  29844. "type": "integer"
  29845. },
  29846. "auditid": {
  29847. "description": "审核人",
  29848. "type": "integer"
  29849. },
  29850. "audittime": {
  29851. "description": "审核时间",
  29852. "type": "string"
  29853. },
  29854. "bank_apply_ticket": {
  29855. "description": "银行申请流水",
  29856. "type": "string"
  29857. },
  29858. "bankaccountname": {
  29859. "description": "银行账户名",
  29860. "type": "string"
  29861. },
  29862. "bankaccountno": {
  29863. "description": "银行卡号",
  29864. "type": "string"
  29865. },
  29866. "bankid": {
  29867. "description": "银行编号",
  29868. "type": "string"
  29869. },
  29870. "bankticket": {
  29871. "description": "银行流水",
  29872. "type": "string"
  29873. },
  29874. "branchbankid": {
  29875. "description": "银行支行号",
  29876. "type": "string"
  29877. },
  29878. "branchbankname": {
  29879. "description": "银行支行名称",
  29880. "type": "string"
  29881. },
  29882. "capamountout": {
  29883. "description": "出金(劣后本金) - 外部子账户",
  29884. "type": "number"
  29885. },
  29886. "certificatephotourl": {
  29887. "description": "凭证地址",
  29888. "type": "string"
  29889. },
  29890. "charge": {
  29891. "description": "手续费",
  29892. "type": "number"
  29893. },
  29894. "checkerrorflag": {
  29895. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29896. "type": "integer"
  29897. },
  29898. "currency": {
  29899. "description": "币种",
  29900. "type": "string"
  29901. },
  29902. "cusbankid": {
  29903. "description": "托管银行编号",
  29904. "type": "string"
  29905. },
  29906. "exchticket": {
  29907. "description": "银行服务流水号",
  29908. "type": "string"
  29909. },
  29910. "executetype": {
  29911. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29912. "type": "integer"
  29913. },
  29914. "extendinfo": {
  29915. "description": "扩展信息",
  29916. "type": "string"
  29917. },
  29918. "extoperateid": {
  29919. "description": "交易服务流水号",
  29920. "type": "integer"
  29921. },
  29922. "infamount": {
  29923. "description": "劣后金额(自有)",
  29924. "type": "number"
  29925. },
  29926. "logincode": {
  29927. "description": "登录账号(账号)",
  29928. "type": "string"
  29929. },
  29930. "netaddr": {
  29931. "description": "调转网址",
  29932. "type": "string"
  29933. },
  29934. "priamount": {
  29935. "description": "优先金额(授信)",
  29936. "type": "number"
  29937. },
  29938. "reauditid": {
  29939. "description": "复审人",
  29940. "type": "integer"
  29941. },
  29942. "reauditremark": {
  29943. "description": "复审备注",
  29944. "type": "string"
  29945. },
  29946. "reaudittime": {
  29947. "description": "复审时间",
  29948. "type": "string"
  29949. },
  29950. "relatedorderid": {
  29951. "description": "三方关联ID",
  29952. "type": "string"
  29953. },
  29954. "remark": {
  29955. "description": "备注",
  29956. "type": "string"
  29957. },
  29958. "remark2": {
  29959. "description": "备注(失败原因)",
  29960. "type": "string"
  29961. },
  29962. "soucreamount": {
  29963. "description": "原始出入金金额",
  29964. "type": "number"
  29965. },
  29966. "soucrecurrencyid": {
  29967. "description": "原始出入金币种",
  29968. "type": "integer"
  29969. },
  29970. "tradedate": {
  29971. "description": "交易日(yyyyMMdd)",
  29972. "type": "string"
  29973. },
  29974. "updatetime": {
  29975. "description": "更新时间(申请时间)",
  29976. "type": "string"
  29977. },
  29978. "userid": {
  29979. "description": "用户id",
  29980. "type": "integer"
  29981. },
  29982. "userinfotype": {
  29983. "description": "账户类型 1-个人 2-企业",
  29984. "type": "integer"
  29985. }
  29986. }
  29987. },
  29988. "models.QhjAgreementChangeLog": {
  29989. "type": "object",
  29990. "properties": {
  29991. "agreementcontent": {
  29992. "description": "协议内容",
  29993. "type": "string"
  29994. },
  29995. "agreementfrequency": {
  29996. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  29997. "type": "integer"
  29998. },
  29999. "agreementid": {
  30000. "description": "协议ID",
  30001. "type": "integer"
  30002. },
  30003. "agreementname": {
  30004. "description": "协议名称",
  30005. "type": "string"
  30006. },
  30007. "agreementno": {
  30008. "description": "协议编号",
  30009. "type": "string"
  30010. },
  30011. "agreementtype": {
  30012. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30013. "type": "integer"
  30014. },
  30015. "agreementversion": {
  30016. "description": "协议版本号",
  30017. "type": "integer"
  30018. },
  30019. "logid": {
  30020. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  30021. "type": "integer"
  30022. },
  30023. "reviserid": {
  30024. "description": "修改人",
  30025. "type": "integer"
  30026. },
  30027. "revisersrc": {
  30028. "description": "修改来源 - 1:管理端 2:终端",
  30029. "type": "integer"
  30030. },
  30031. "updatetime": {
  30032. "description": "更新时间",
  30033. "type": "string"
  30034. }
  30035. }
  30036. },
  30037. "models.QhjAgreementConfig": {
  30038. "type": "object",
  30039. "properties": {
  30040. "agreementcontent": {
  30041. "description": "协议内容",
  30042. "type": "string"
  30043. },
  30044. "agreementfrequency": {
  30045. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  30046. "type": "integer"
  30047. },
  30048. "agreementid": {
  30049. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  30050. "type": "integer"
  30051. },
  30052. "agreementname": {
  30053. "description": "协议名称",
  30054. "type": "string"
  30055. },
  30056. "agreementno": {
  30057. "description": "协议编号",
  30058. "type": "string"
  30059. },
  30060. "agreementtype": {
  30061. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30062. "type": "integer"
  30063. },
  30064. "agreementversion": {
  30065. "description": "协议版本号(从1开始每次修改加1)",
  30066. "type": "integer"
  30067. },
  30068. "createtime": {
  30069. "description": "创建时间",
  30070. "type": "string"
  30071. },
  30072. "creatorid": {
  30073. "description": "创建人",
  30074. "type": "integer"
  30075. },
  30076. "creatorsrc": {
  30077. "description": "创建来源 - 1:管理端 2:终端",
  30078. "type": "integer"
  30079. },
  30080. "isvalid": {
  30081. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  30082. "type": "integer"
  30083. },
  30084. "reviserid": {
  30085. "description": "修改人",
  30086. "type": "integer"
  30087. },
  30088. "revisersrc": {
  30089. "description": "修改来源 - 1:管理端 2:终端",
  30090. "type": "integer"
  30091. },
  30092. "updatetime": {
  30093. "description": "更新时间",
  30094. "type": "string"
  30095. }
  30096. }
  30097. },
  30098. "models.QhjAreaFinanceConfig": {
  30099. "type": "object",
  30100. "properties": {
  30101. "additionalratio": {
  30102. "description": "追加款比例",
  30103. "type": "number"
  30104. },
  30105. "advanceratio": {
  30106. "description": "预付款比例",
  30107. "type": "number"
  30108. },
  30109. "alarmratio": {
  30110. "description": "告警比例",
  30111. "type": "number"
  30112. },
  30113. "consumptiondirectreward": {
  30114. "description": "消费直推奖励值",
  30115. "type": "number"
  30116. },
  30117. "consumptionenabled": {
  30118. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  30119. "type": "integer"
  30120. },
  30121. "consumptionindirectreward": {
  30122. "description": "消费间推奖励值",
  30123. "type": "number"
  30124. },
  30125. "consumptionmodel": {
  30126. "description": "消费奖励方式 - 1:比率 2:固定",
  30127. "type": "integer"
  30128. },
  30129. "customerservicenum": {
  30130. "description": "客服电话",
  30131. "type": "string"
  30132. },
  30133. "dayinterestrate": {
  30134. "description": "日利率",
  30135. "type": "number"
  30136. },
  30137. "disableconsumptiontips": {
  30138. "description": "关闭消费奖励提示",
  30139. "type": "string"
  30140. },
  30141. "modifierid": {
  30142. "description": "修改人ID",
  30143. "type": "integer"
  30144. },
  30145. "modifysrc": {
  30146. "description": "审核来源 - 1:管理端 2:终端",
  30147. "type": "integer"
  30148. },
  30149. "modifytime": {
  30150. "description": "修改时间",
  30151. "type": "string"
  30152. },
  30153. "promotionvalue": {
  30154. "description": "推广奖励值(固定)",
  30155. "type": "number"
  30156. },
  30157. "scoreconfigvalue1": {
  30158. "description": "提货积分配置1",
  30159. "type": "integer"
  30160. },
  30161. "scoreconfigvalue2": {
  30162. "description": "提货积分配置2",
  30163. "type": "integer"
  30164. },
  30165. "userid": {
  30166. "description": "机构用户ID其他做市关系,都设置为 1",
  30167. "type": "integer"
  30168. },
  30169. "username": {
  30170. "description": "用户名称",
  30171. "type": "string"
  30172. }
  30173. }
  30174. },
  30175. "models.QhjBankAccountSign": {
  30176. "type": "object",
  30177. "properties": {
  30178. "accountcode": {
  30179. "description": "资金账号",
  30180. "type": "string"
  30181. },
  30182. "accountname": {
  30183. "description": "资金账号对应的账号名(UserName)",
  30184. "type": "string"
  30185. },
  30186. "accountname2": {
  30187. "description": "资金账号对应的账号名(UserName) - 密文",
  30188. "type": "string"
  30189. },
  30190. "accounttype": {
  30191. "description": "账户类型(UserType)",
  30192. "type": "integer"
  30193. },
  30194. "applicationtime": {
  30195. "description": "最后一次更新的时间",
  30196. "type": "string"
  30197. },
  30198. "applyexchticket": {
  30199. "description": "申请流水",
  30200. "type": "string"
  30201. },
  30202. "auditid": {
  30203. "description": "审核人",
  30204. "type": "integer"
  30205. },
  30206. "audittime": {
  30207. "description": "审核时间",
  30208. "type": "string"
  30209. },
  30210. "bankaccountname": {
  30211. "description": "签约银行卡账号名",
  30212. "type": "string"
  30213. },
  30214. "bankaccountname2": {
  30215. "description": "签约银行卡账号名 - 密文",
  30216. "type": "string"
  30217. },
  30218. "bankaccountno": {
  30219. "description": "银行卡号",
  30220. "type": "string"
  30221. },
  30222. "bankaccountno2": {
  30223. "description": "银行卡号 - 密文",
  30224. "type": "string"
  30225. },
  30226. "bankaccounttype": {
  30227. "description": "银行账户类型 - 1-对私; 2-对公",
  30228. "type": "integer"
  30229. },
  30230. "bankcardtype": {
  30231. "description": "银行卡类型",
  30232. "type": "integer"
  30233. },
  30234. "bankchildaccount": {
  30235. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  30236. "type": "string"
  30237. },
  30238. "bankcity": {
  30239. "description": "开户行城市",
  30240. "type": "string"
  30241. },
  30242. "bankid": {
  30243. "description": "签约银行ID",
  30244. "type": "string"
  30245. },
  30246. "bankname": {
  30247. "description": "签约银行名称",
  30248. "type": "string"
  30249. },
  30250. "bankprovince": {
  30251. "description": "开户行省份",
  30252. "type": "string"
  30253. },
  30254. "branchbankid": {
  30255. "description": "签约银行支行号",
  30256. "type": "string"
  30257. },
  30258. "branchbankname": {
  30259. "description": "签约银行支行名称",
  30260. "type": "string"
  30261. },
  30262. "cardno": {
  30263. "description": "证件号码",
  30264. "type": "string"
  30265. },
  30266. "cardno2": {
  30267. "description": "证件号码 - 密文",
  30268. "type": "string"
  30269. },
  30270. "cardtype": {
  30271. "description": "证件类型",
  30272. "type": "string"
  30273. },
  30274. "currency": {
  30275. "description": "币种",
  30276. "type": "string"
  30277. },
  30278. "cusbankid": {
  30279. "description": "托管银行编号",
  30280. "type": "string"
  30281. },
  30282. "direct": {
  30283. "description": "方向(可以判断那方先发起的签约)",
  30284. "type": "integer"
  30285. },
  30286. "exchticket": {
  30287. "description": "最后一次签约成功的流水号",
  30288. "type": "string"
  30289. },
  30290. "extendinfo": {
  30291. "description": "扩展信息(JSON字符串)",
  30292. "type": "string"
  30293. },
  30294. "mobilephone": {
  30295. "description": "手机号",
  30296. "type": "string"
  30297. },
  30298. "mobilephone2": {
  30299. "description": "手机号 - 密文",
  30300. "type": "string"
  30301. },
  30302. "netaddr": {
  30303. "description": "调转网址",
  30304. "type": "string"
  30305. },
  30306. "relateduserid": {
  30307. "description": "关联使用者userid",
  30308. "type": "integer"
  30309. },
  30310. "signstatus": {
  30311. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  30312. "type": "integer"
  30313. },
  30314. "updatetime": {
  30315. "description": "更新时间(签解约更新时间)",
  30316. "type": "string"
  30317. }
  30318. }
  30319. },
  30320. "models.QhjBankInfo": {
  30321. "type": "object",
  30322. "properties": {
  30323. "bankid": {
  30324. "description": "银行ID",
  30325. "type": "string"
  30326. },
  30327. "bankname": {
  30328. "description": "银行名称",
  30329. "type": "string"
  30330. },
  30331. "clearbankno": {
  30332. "description": "清算系统银行编号",
  30333. "type": "string"
  30334. },
  30335. "orderindex": {
  30336. "description": "排序顺序",
  30337. "type": "integer"
  30338. },
  30339. "status": {
  30340. "description": "状态 - 0:正常 1:注销",
  30341. "type": "integer"
  30342. }
  30343. }
  30344. },
  30345. "models.QhjBrokerApply": {
  30346. "type": "object",
  30347. "properties": {
  30348. "applicantid": {
  30349. "description": "申请人",
  30350. "type": "integer"
  30351. },
  30352. "applysrc": {
  30353. "description": "申请来源 - 1:管理端 2:终端",
  30354. "type": "integer"
  30355. },
  30356. "applystatus": {
  30357. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  30358. "type": "integer"
  30359. },
  30360. "applytime": {
  30361. "description": "申请时间",
  30362. "type": "string"
  30363. },
  30364. "auditorid": {
  30365. "description": "审核人",
  30366. "type": "integer"
  30367. },
  30368. "auditremark": {
  30369. "description": "审核备注",
  30370. "type": "string"
  30371. },
  30372. "auditsrc": {
  30373. "description": "审核来源 - 1:管理端 2:终端",
  30374. "type": "integer"
  30375. },
  30376. "audittime": {
  30377. "description": "审核时间",
  30378. "type": "string"
  30379. },
  30380. "audittradedate": {
  30381. "description": "审核交易日(yyyyMMdd)",
  30382. "type": "string"
  30383. },
  30384. "brokerapplyid": {
  30385. "description": "申请ID(SEQ_BROKERAPPLY)",
  30386. "type": "integer"
  30387. },
  30388. "cardbackphotourl": {
  30389. "description": "证件背面图片地址",
  30390. "type": "string"
  30391. },
  30392. "cardfrontphotourl": {
  30393. "description": "证件正面图片地址",
  30394. "type": "string"
  30395. },
  30396. "cardnum": {
  30397. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  30398. "type": "string"
  30399. },
  30400. "customername": {
  30401. "description": "姓名",
  30402. "type": "string"
  30403. },
  30404. "logincode": {
  30405. "description": "登录代码",
  30406. "type": "string"
  30407. },
  30408. "mobile": {
  30409. "description": "手机号码",
  30410. "type": "string"
  30411. },
  30412. "parentuserid": {
  30413. "description": "所属机构id",
  30414. "type": "integer"
  30415. },
  30416. "parentusername": {
  30417. "description": "所属机构名称",
  30418. "type": "string"
  30419. },
  30420. "refereeuserid": {
  30421. "description": "推荐人id(经纪人)",
  30422. "type": "integer"
  30423. },
  30424. "refernum": {
  30425. "description": "推荐码",
  30426. "type": "string"
  30427. },
  30428. "remark": {
  30429. "description": "备注",
  30430. "type": "string"
  30431. },
  30432. "subarealevelpath": {
  30433. "description": "层级路径",
  30434. "type": "string"
  30435. },
  30436. "tradedate": {
  30437. "description": "交易日(yyyyMMdd)",
  30438. "type": "string"
  30439. },
  30440. "userid": {
  30441. "description": "申请人用户ID",
  30442. "type": "integer"
  30443. },
  30444. "userinfotype": {
  30445. "description": "用户类型 1-个人 2-企业",
  30446. "type": "integer"
  30447. },
  30448. "username": {
  30449. "description": "用户名称",
  30450. "type": "string"
  30451. }
  30452. }
  30453. },
  30454. "models.QhjBrokerApplyEx": {
  30455. "type": "object",
  30456. "properties": {
  30457. "applylist": {
  30458. "description": "经纪人申请记录(只返回最新一条)",
  30459. "type": "array",
  30460. "items": {
  30461. "$ref": "#/definitions/models.QhjBrokerApply"
  30462. }
  30463. },
  30464. "canrecommend": {
  30465. "description": "是否经纪人 0-不是 1-是",
  30466. "type": "integer"
  30467. },
  30468. "refernum": {
  30469. "description": "推荐码",
  30470. "type": "string"
  30471. },
  30472. "userid": {
  30473. "description": "用户id",
  30474. "type": "integer"
  30475. },
  30476. "userinfotype": {
  30477. "description": "用户类型 1-个人 2-企业",
  30478. "type": "integer"
  30479. }
  30480. }
  30481. },
  30482. "models.QhjBrokerRewardLog": {
  30483. "type": "object",
  30484. "properties": {
  30485. "accountid": {
  30486. "description": "资金账号ID",
  30487. "type": "integer"
  30488. },
  30489. "createtime": {
  30490. "description": "创建时间(时间)",
  30491. "type": "string"
  30492. },
  30493. "handlestatus": {
  30494. "description": "处理状态",
  30495. "type": "integer"
  30496. },
  30497. "logid": {
  30498. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30499. "type": "string"
  30500. },
  30501. "marketid": {
  30502. "description": "市场ID",
  30503. "type": "integer"
  30504. },
  30505. "mmaccountid": {
  30506. "description": "做市商资金账号ID",
  30507. "type": "string"
  30508. },
  30509. "mmuserid": {
  30510. "description": "做市商用户ID",
  30511. "type": "string"
  30512. },
  30513. "rewardamount": {
  30514. "description": "奖励金额",
  30515. "type": "number"
  30516. },
  30517. "rewardmodel": {
  30518. "description": "消费奖励方式 - 1:比率 2:固定",
  30519. "type": "integer"
  30520. },
  30521. "rewardtype": {
  30522. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  30523. "type": "integer"
  30524. },
  30525. "rewardvalue": {
  30526. "description": "配置奖励值",
  30527. "type": "number"
  30528. },
  30529. "srcamount": {
  30530. "description": "成交金额 [消费奖励] (金额)",
  30531. "type": "number"
  30532. },
  30533. "srcgoodsid": {
  30534. "description": "来源商品ID [消费奖励]",
  30535. "type": "string"
  30536. },
  30537. "srctime": {
  30538. "description": "来源时间 (成交时间) [消费奖励]",
  30539. "type": "string"
  30540. },
  30541. "srctradeid": {
  30542. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  30543. "type": "string"
  30544. },
  30545. "srcuserid": {
  30546. "description": "来源用户ID(推广账户)",
  30547. "type": "string"
  30548. },
  30549. "srcusername": {
  30550. "description": "推广账户名称",
  30551. "type": "string"
  30552. },
  30553. "tradedate": {
  30554. "description": "交易日(yyyyMMdd)",
  30555. "type": "string"
  30556. },
  30557. "userid": {
  30558. "description": "经纪人用户ID",
  30559. "type": "integer"
  30560. }
  30561. }
  30562. },
  30563. "models.QhjContract": {
  30564. "type": "object",
  30565. "properties": {
  30566. "contractconfirmtime": {
  30567. "description": "合同确认时间(时间)",
  30568. "type": "string"
  30569. },
  30570. "currisklevel": {
  30571. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  30572. "type": "integer"
  30573. },
  30574. "decimalplace": {
  30575. "description": "商品报价小数位",
  30576. "type": "integer"
  30577. },
  30578. "enumdicname": {
  30579. "description": "单位名称",
  30580. "type": "string"
  30581. },
  30582. "goodscode": {
  30583. "description": "商品代码",
  30584. "type": "string"
  30585. },
  30586. "goodsid": {
  30587. "description": "商品ID [5:融资单]",
  30588. "type": "integer"
  30589. },
  30590. "goodsname": {
  30591. "description": "商品名称",
  30592. "type": "string"
  30593. },
  30594. "goodunitid": {
  30595. "description": "商品单位id",
  30596. "type": "integer"
  30597. },
  30598. "initmargin": {
  30599. "description": "初始保证金(首付款)",
  30600. "type": "number"
  30601. },
  30602. "lenderamount": {
  30603. "description": "贷款金额(总额|订单总额)",
  30604. "type": "number"
  30605. },
  30606. "marginratio": {
  30607. "description": "保证金比率(首付比例)",
  30608. "type": "number"
  30609. },
  30610. "payamount": {
  30611. "description": "已付(已付货款)",
  30612. "type": "number"
  30613. },
  30614. "reckonrecovermargin": {
  30615. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  30616. "type": "number"
  30617. },
  30618. "recoveredmargin": {
  30619. "description": "已追缴保证金",
  30620. "type": "number"
  30621. },
  30622. "remainamount": {
  30623. "description": "合同剩余金额(融资额)",
  30624. "type": "number"
  30625. },
  30626. "scfcontractid": {
  30627. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  30628. "type": "string"
  30629. },
  30630. "scfcontractstatus": {
  30631. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  30632. "type": "integer"
  30633. },
  30634. "scfcontracttype": {
  30635. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  30636. "type": "integer"
  30637. },
  30638. "totalinterest": {
  30639. "description": "已计总利息(利息)",
  30640. "type": "number"
  30641. },
  30642. "tradeprice": {
  30643. "description": "成交价格(成本价格)",
  30644. "type": "number"
  30645. },
  30646. "userid": {
  30647. "description": "用户ID",
  30648. "type": "integer"
  30649. },
  30650. "username": {
  30651. "description": "用户名称",
  30652. "type": "string"
  30653. },
  30654. "wrqty": {
  30655. "description": "仓单数量(数量)",
  30656. "type": "number"
  30657. }
  30658. }
  30659. },
  30660. "models.QhjContractLog": {
  30661. "type": "object",
  30662. "properties": {
  30663. "amount": {
  30664. "description": "支付金额",
  30665. "type": "number"
  30666. },
  30667. "amounttype": {
  30668. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  30669. "type": "integer"
  30670. },
  30671. "logid": {
  30672. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30673. "type": "string"
  30674. },
  30675. "remainamount": {
  30676. "description": "剩余货款",
  30677. "type": "number"
  30678. },
  30679. "scfcontractid": {
  30680. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  30681. "type": "integer"
  30682. },
  30683. "updatetime": {
  30684. "description": "更新时间",
  30685. "type": "string"
  30686. }
  30687. }
  30688. },
  30689. "models.QhjCusBankSignBankEx": {
  30690. "type": "object",
  30691. "properties": {
  30692. "banklst": {
  30693. "description": "银行列表",
  30694. "type": "array",
  30695. "items": {
  30696. "$ref": "#/definitions/models.QhjBankInfo"
  30697. }
  30698. },
  30699. "canallot": {
  30700. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  30701. "type": "integer"
  30702. },
  30703. "canallotquery": {
  30704. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  30705. "type": "integer"
  30706. },
  30707. "canbindcard": {
  30708. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  30709. "type": "integer"
  30710. },
  30711. "caninamount": {
  30712. "description": "是否可入金 - 0:不可 1:可以",
  30713. "type": "integer"
  30714. },
  30715. "caninamount2": {
  30716. "description": "是否可入金(网银端) - 0:不可 1:可以",
  30717. "type": "integer"
  30718. },
  30719. "canmodifybankcard": {
  30720. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  30721. "type": "integer"
  30722. },
  30723. "canmodifyphone": {
  30724. "description": "是否可修改手机号 - 0:不可 1:可以",
  30725. "type": "integer"
  30726. },
  30727. "canmodifysigninfo": {
  30728. "description": "是否可修改签约信息 - 0:不可 1:可以",
  30729. "type": "integer"
  30730. },
  30731. "canoutamount": {
  30732. "description": "是否可出金 - 0:不可 1:可以",
  30733. "type": "integer"
  30734. },
  30735. "canoutamount2": {
  30736. "description": "是否可出金(网银端) - 0:不可 1:可以",
  30737. "type": "integer"
  30738. },
  30739. "canrelease": {
  30740. "description": "是否可解约 - 0:不可 1:可以",
  30741. "type": "integer"
  30742. },
  30743. "canrelease2": {
  30744. "description": "是否可解约(网银端) - 0:不可 1:可以",
  30745. "type": "integer"
  30746. },
  30747. "cansign": {
  30748. "description": "是否可签约 - 0:不可 1:可以",
  30749. "type": "integer"
  30750. },
  30751. "cansign2": {
  30752. "description": "是否可签约(网银端) - 0:不可 1:可以",
  30753. "type": "integer"
  30754. },
  30755. "currency": {
  30756. "description": "币种",
  30757. "type": "string"
  30758. },
  30759. "cusbankid": {
  30760. "description": "托管银行编号(对应清算中心TRAN_NO)",
  30761. "type": "string"
  30762. },
  30763. "cusbankname": {
  30764. "description": "银行业务名称",
  30765. "type": "string"
  30766. },
  30767. "cusbankshortname": {
  30768. "description": "银行业务简称",
  30769. "type": "string"
  30770. },
  30771. "exchbankid": {
  30772. "description": "交易所开户银行ID",
  30773. "type": "string"
  30774. },
  30775. "exchpaybankaccname": {
  30776. "description": "交易所支出结算账户户名",
  30777. "type": "string"
  30778. },
  30779. "exchpaybankaccno": {
  30780. "description": "交易所支出结算账户",
  30781. "type": "string"
  30782. },
  30783. "isneedcheck": {
  30784. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  30785. "type": "integer"
  30786. },
  30787. "isneedclear": {
  30788. "description": "是否需要清算 - 0:不需要 1:需要",
  30789. "type": "integer"
  30790. },
  30791. "lastcheckstatus": {
  30792. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  30793. "type": "integer"
  30794. },
  30795. "lastchecktime": {
  30796. "description": "最后对账时间",
  30797. "type": "string"
  30798. },
  30799. "lastclearstatus": {
  30800. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  30801. "type": "integer"
  30802. },
  30803. "lastcleartime": {
  30804. "description": "最后清算时间",
  30805. "type": "string"
  30806. },
  30807. "lastsignintime": {
  30808. "description": "最后签到时间",
  30809. "type": "string"
  30810. },
  30811. "lastsignouttime": {
  30812. "description": "最后签退时间",
  30813. "type": "string"
  30814. },
  30815. "riskinfo": {
  30816. "description": "签约风险提示书",
  30817. "type": "string"
  30818. },
  30819. "signstatus": {
  30820. "description": "当前签到/签退状态 - 1:签到 2:签退",
  30821. "type": "integer"
  30822. },
  30823. "tradedate": {
  30824. "description": "交易日(yyyyMMdd)",
  30825. "type": "string"
  30826. },
  30827. "updatetime": {
  30828. "description": "当前签到/签退更新时间",
  30829. "type": "string"
  30830. }
  30831. }
  30832. },
  30833. "models.QhjCustomer": {
  30834. "type": "object",
  30835. "properties": {
  30836. "address": {
  30837. "description": "通讯地址",
  30838. "type": "string"
  30839. },
  30840. "attachment1": {
  30841. "description": "附件1",
  30842. "type": "string"
  30843. },
  30844. "attachment2": {
  30845. "description": "附件2",
  30846. "type": "string"
  30847. },
  30848. "audittime": {
  30849. "description": "审核时间",
  30850. "type": "string"
  30851. },
  30852. "cardbackphotourl": {
  30853. "description": "证件反面图片地址",
  30854. "type": "string"
  30855. },
  30856. "cardfrontphotourl": {
  30857. "description": "证件正面图片地址",
  30858. "type": "string"
  30859. },
  30860. "cardnum": {
  30861. "description": "证件号码",
  30862. "type": "string"
  30863. },
  30864. "cardtype": {
  30865. "description": "证件类型",
  30866. "type": "integer"
  30867. },
  30868. "cardtypename": {
  30869. "description": "证件类型名称",
  30870. "type": "string"
  30871. },
  30872. "cityid": {
  30873. "description": "市",
  30874. "type": "integer"
  30875. },
  30876. "cityname": {
  30877. "description": "城市名称",
  30878. "type": "string"
  30879. },
  30880. "contactname": {
  30881. "description": "联系人",
  30882. "type": "string"
  30883. },
  30884. "countryid": {
  30885. "description": "国家",
  30886. "type": "integer"
  30887. },
  30888. "countryname": {
  30889. "description": "国家名称",
  30890. "type": "string"
  30891. },
  30892. "createtime": {
  30893. "description": "创建时间",
  30894. "type": "string"
  30895. },
  30896. "customername": {
  30897. "description": "客户名称",
  30898. "type": "string"
  30899. },
  30900. "districtid": {
  30901. "description": "区域",
  30902. "type": "integer"
  30903. },
  30904. "districtname": {
  30905. "description": "地区名称",
  30906. "type": "string"
  30907. },
  30908. "email": {
  30909. "description": "邮件",
  30910. "type": "string"
  30911. },
  30912. "legalpersonname": {
  30913. "description": "法人姓名(企业)",
  30914. "type": "string"
  30915. },
  30916. "logincode": {
  30917. "description": "登录账号(代码)",
  30918. "type": "string"
  30919. },
  30920. "memberuserid": {
  30921. "description": "所属机构ID(所属会员)",
  30922. "type": "integer"
  30923. },
  30924. "memberusername": {
  30925. "description": "所属会员名称",
  30926. "type": "string"
  30927. },
  30928. "mobile": {
  30929. "description": "手机号码",
  30930. "type": "string"
  30931. },
  30932. "modifytime": {
  30933. "description": "修改时间",
  30934. "type": "string"
  30935. },
  30936. "nickname": {
  30937. "description": "昵称",
  30938. "type": "string"
  30939. },
  30940. "parentuserid": {
  30941. "description": "上级机构(所属机构)",
  30942. "type": "integer"
  30943. },
  30944. "parentusername": {
  30945. "description": "所属机构名称",
  30946. "type": "string"
  30947. },
  30948. "provinceid": {
  30949. "description": "省",
  30950. "type": "integer"
  30951. },
  30952. "provincename": {
  30953. "description": "省名称",
  30954. "type": "string"
  30955. },
  30956. "proxystatementurl": {
  30957. "description": "授权委托书",
  30958. "type": "string"
  30959. },
  30960. "remark": {
  30961. "description": "备注",
  30962. "type": "string"
  30963. },
  30964. "status": {
  30965. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  30966. "type": "integer"
  30967. },
  30968. "statusdesc": {
  30969. "description": "账户状态中文描述",
  30970. "type": "string"
  30971. },
  30972. "taxpayernum": {
  30973. "description": "纳税人识别号",
  30974. "type": "string"
  30975. },
  30976. "telphone": {
  30977. "description": "联系电话",
  30978. "type": "string"
  30979. },
  30980. "userid": {
  30981. "description": "用户ID",
  30982. "type": "integer"
  30983. },
  30984. "userinfotype": {
  30985. "description": "客户类型 1-个人 2-企业",
  30986. "type": "integer"
  30987. },
  30988. "username": {
  30989. "description": "用户名称",
  30990. "type": "string"
  30991. }
  30992. }
  30993. },
  30994. "models.QhjCustomerSignLog": {
  30995. "type": "object",
  30996. "properties": {
  30997. "agreementcontent": {
  30998. "description": "协议内容",
  30999. "type": "string"
  31000. },
  31001. "agreementid": {
  31002. "description": "协议ID",
  31003. "type": "integer"
  31004. },
  31005. "agreementname": {
  31006. "description": "协议名称",
  31007. "type": "string"
  31008. },
  31009. "agreementno": {
  31010. "description": "协议编号",
  31011. "type": "string"
  31012. },
  31013. "agreementtype": {
  31014. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31015. "type": "integer"
  31016. },
  31017. "agreementversion": {
  31018. "description": "协议版本号",
  31019. "type": "integer"
  31020. },
  31021. "createtime": {
  31022. "description": "创建时间",
  31023. "type": "string"
  31024. },
  31025. "goodscode": {
  31026. "description": "商品代码",
  31027. "type": "string"
  31028. },
  31029. "goodsid": {
  31030. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31031. "type": "integer"
  31032. },
  31033. "goodsname": {
  31034. "description": "商品名称",
  31035. "type": "string"
  31036. },
  31037. "logid": {
  31038. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  31039. "type": "integer"
  31040. },
  31041. "nodetype": {
  31042. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31043. "type": "integer"
  31044. },
  31045. "signadressurl": {
  31046. "description": "签约文件地址",
  31047. "type": "string"
  31048. },
  31049. "signtimestamp": {
  31050. "description": "签约状态时间戳",
  31051. "type": "string"
  31052. },
  31053. "userid": {
  31054. "description": "客户ID",
  31055. "type": "integer"
  31056. },
  31057. "username": {
  31058. "description": "客户名称",
  31059. "type": "string"
  31060. }
  31061. }
  31062. },
  31063. "models.QhjCustomerSignStatus": {
  31064. "type": "object",
  31065. "properties": {
  31066. "createtime": {
  31067. "description": "创建时间",
  31068. "type": "string"
  31069. },
  31070. "goodscode": {
  31071. "description": "商品代码",
  31072. "type": "string"
  31073. },
  31074. "goodsid": {
  31075. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31076. "type": "integer"
  31077. },
  31078. "goodsname": {
  31079. "description": "商品名称",
  31080. "type": "string"
  31081. },
  31082. "nodetype": {
  31083. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  31084. "type": "integer"
  31085. },
  31086. "signtimestamp": {
  31087. "description": "签约状态时间戳",
  31088. "type": "string"
  31089. },
  31090. "tradedate": {
  31091. "description": "创建交易日(yyyyMMdd)",
  31092. "type": "string"
  31093. },
  31094. "updatetime": {
  31095. "description": "更新时间",
  31096. "type": "string"
  31097. },
  31098. "userid": {
  31099. "description": "客户ID",
  31100. "type": "integer"
  31101. },
  31102. "username": {
  31103. "description": "客户名称",
  31104. "type": "string"
  31105. }
  31106. }
  31107. },
  31108. "models.QhjMgrAccountOutInApply": {
  31109. "type": "object",
  31110. "properties": {
  31111. "accountcode": {
  31112. "description": "资金账号",
  31113. "type": "string"
  31114. },
  31115. "accountname": {
  31116. "description": "用户名称(名称)",
  31117. "type": "string"
  31118. },
  31119. "accountpwd": {
  31120. "description": "资金密码",
  31121. "type": "string"
  31122. },
  31123. "accountticket": {
  31124. "description": "最新账户服务流水号",
  31125. "type": "string"
  31126. },
  31127. "amount": {
  31128. "description": "金额",
  31129. "type": "number"
  31130. },
  31131. "applyremark": {
  31132. "description": "申请备注",
  31133. "type": "string"
  31134. },
  31135. "applystatus": {
  31136. "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: 复审通过,账户冻结金额检查中;",
  31137. "type": "integer"
  31138. },
  31139. "auditid": {
  31140. "description": "审核人",
  31141. "type": "integer"
  31142. },
  31143. "audittime": {
  31144. "description": "审核时间",
  31145. "type": "string"
  31146. },
  31147. "bank_apply_ticket": {
  31148. "description": "银行申请流水",
  31149. "type": "string"
  31150. },
  31151. "bankaccountname": {
  31152. "description": "银行账户名",
  31153. "type": "string"
  31154. },
  31155. "bankaccountno": {
  31156. "description": "银行卡号",
  31157. "type": "string"
  31158. },
  31159. "bankid": {
  31160. "description": "银行编号",
  31161. "type": "string"
  31162. },
  31163. "bankname": {
  31164. "description": "银行名称",
  31165. "type": "string"
  31166. },
  31167. "bankticket": {
  31168. "description": "银行流水",
  31169. "type": "string"
  31170. },
  31171. "branchbankid": {
  31172. "description": "银行支行号",
  31173. "type": "string"
  31174. },
  31175. "branchbankname": {
  31176. "description": "银行支行名称",
  31177. "type": "string"
  31178. },
  31179. "capamountout": {
  31180. "description": "出金(劣后本金) - 外部子账户",
  31181. "type": "number"
  31182. },
  31183. "certificatephotourl": {
  31184. "description": "凭证地址",
  31185. "type": "string"
  31186. },
  31187. "charge": {
  31188. "description": "手续费",
  31189. "type": "number"
  31190. },
  31191. "checkerrorflag": {
  31192. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31193. "type": "integer"
  31194. },
  31195. "currency": {
  31196. "description": "币种",
  31197. "type": "string"
  31198. },
  31199. "cusbankid": {
  31200. "description": "托管银行编号",
  31201. "type": "string"
  31202. },
  31203. "exchticket": {
  31204. "description": "银行服务流水号",
  31205. "type": "string"
  31206. },
  31207. "executetype": {
  31208. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31209. "type": "integer"
  31210. },
  31211. "extendinfo": {
  31212. "description": "扩展信息",
  31213. "type": "string"
  31214. },
  31215. "extoperateid": {
  31216. "description": "交易服务流水号",
  31217. "type": "integer"
  31218. },
  31219. "infamount": {
  31220. "description": "劣后金额(自有)",
  31221. "type": "number"
  31222. },
  31223. "logincode": {
  31224. "description": "登录账号(账号)",
  31225. "type": "string"
  31226. },
  31227. "netaddr": {
  31228. "description": "调转网址",
  31229. "type": "string"
  31230. },
  31231. "priamount": {
  31232. "description": "优先金额(授信)",
  31233. "type": "number"
  31234. },
  31235. "reauditid": {
  31236. "description": "复审人",
  31237. "type": "integer"
  31238. },
  31239. "reauditremark": {
  31240. "description": "复审备注",
  31241. "type": "string"
  31242. },
  31243. "reaudittime": {
  31244. "description": "复审时间",
  31245. "type": "string"
  31246. },
  31247. "relatedorderid": {
  31248. "description": "三方关联ID",
  31249. "type": "string"
  31250. },
  31251. "remark": {
  31252. "description": "备注",
  31253. "type": "string"
  31254. },
  31255. "remark2": {
  31256. "description": "备注(失败原因)",
  31257. "type": "string"
  31258. },
  31259. "soucreamount": {
  31260. "description": "原始出入金金额",
  31261. "type": "number"
  31262. },
  31263. "soucrecurrencyid": {
  31264. "description": "原始出入金币种",
  31265. "type": "integer"
  31266. },
  31267. "tradedate": {
  31268. "description": "交易日(yyyyMMdd)",
  31269. "type": "string"
  31270. },
  31271. "updatetime": {
  31272. "description": "更新时间(申请时间)",
  31273. "type": "string"
  31274. },
  31275. "userid": {
  31276. "description": "用户id",
  31277. "type": "integer"
  31278. },
  31279. "userinfotype": {
  31280. "description": "账户类型 1-个人 2-企业",
  31281. "type": "integer"
  31282. }
  31283. }
  31284. },
  31285. "models.QhjMgrBrokerApply": {
  31286. "type": "object",
  31287. "properties": {
  31288. "applicantid": {
  31289. "description": "申请人",
  31290. "type": "integer"
  31291. },
  31292. "applysrc": {
  31293. "description": "申请来源 - 1:管理端 2:终端",
  31294. "type": "integer"
  31295. },
  31296. "applystatus": {
  31297. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  31298. "type": "integer"
  31299. },
  31300. "applytime": {
  31301. "description": "申请时间",
  31302. "type": "string"
  31303. },
  31304. "auditorid": {
  31305. "description": "审核人",
  31306. "type": "integer"
  31307. },
  31308. "auditremark": {
  31309. "description": "审核备注",
  31310. "type": "string"
  31311. },
  31312. "auditsrc": {
  31313. "description": "审核来源 - 1:管理端 2:终端",
  31314. "type": "integer"
  31315. },
  31316. "audittime": {
  31317. "description": "审核时间",
  31318. "type": "string"
  31319. },
  31320. "audittradedate": {
  31321. "description": "审核交易日(yyyyMMdd)",
  31322. "type": "string"
  31323. },
  31324. "brokerapplyid": {
  31325. "description": "申请ID(SEQ_BROKERAPPLY)",
  31326. "type": "integer"
  31327. },
  31328. "cardbackphotourl": {
  31329. "description": "证件背面图片地址",
  31330. "type": "string"
  31331. },
  31332. "cardfrontphotourl": {
  31333. "description": "证件正面图片地址",
  31334. "type": "string"
  31335. },
  31336. "cardnum": {
  31337. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  31338. "type": "string"
  31339. },
  31340. "customername": {
  31341. "description": "姓名",
  31342. "type": "string"
  31343. },
  31344. "filterstatus": {
  31345. "description": "筛选条件",
  31346. "type": "string"
  31347. },
  31348. "logincode": {
  31349. "description": "登录代码",
  31350. "type": "string"
  31351. },
  31352. "mobile": {
  31353. "description": "手机号码",
  31354. "type": "string"
  31355. },
  31356. "parentuserid": {
  31357. "description": "所属机构id",
  31358. "type": "integer"
  31359. },
  31360. "parentusername": {
  31361. "description": "所属机构名称",
  31362. "type": "string"
  31363. },
  31364. "refereeuserid": {
  31365. "description": "推荐人id(经纪人)",
  31366. "type": "integer"
  31367. },
  31368. "refernum": {
  31369. "description": "推荐码",
  31370. "type": "string"
  31371. },
  31372. "remark": {
  31373. "description": "备注",
  31374. "type": "string"
  31375. },
  31376. "subarealevelpath": {
  31377. "description": "层级路径",
  31378. "type": "string"
  31379. },
  31380. "tradedate": {
  31381. "description": "交易日(yyyyMMdd)",
  31382. "type": "string"
  31383. },
  31384. "userid": {
  31385. "description": "申请人用户ID",
  31386. "type": "integer"
  31387. },
  31388. "userinfotype": {
  31389. "description": "用户类型 1-个人 2-企业",
  31390. "type": "integer"
  31391. },
  31392. "username": {
  31393. "description": "用户名称",
  31394. "type": "string"
  31395. }
  31396. }
  31397. },
  31398. "models.QhjMgrBrokerRewardReport": {
  31399. "type": "object",
  31400. "properties": {
  31401. "createtime": {
  31402. "description": "创建时间(注册时间)",
  31403. "type": "string"
  31404. },
  31405. "cycletime": {
  31406. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  31407. "type": "string"
  31408. },
  31409. "cycletype": {
  31410. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  31411. "type": "integer"
  31412. },
  31413. "directtotalnum": {
  31414. "description": "直推总人数【期末】",
  31415. "type": "integer"
  31416. },
  31417. "indirecttotalnum": {
  31418. "description": "间推总人数【期末】",
  31419. "type": "integer"
  31420. },
  31421. "mobile": {
  31422. "description": "电话号码",
  31423. "type": "string"
  31424. },
  31425. "refereeuserid": {
  31426. "description": "推荐人id(经纪人id)",
  31427. "type": "integer"
  31428. },
  31429. "refereeusername": {
  31430. "description": "推荐人名称(经纪人) 上级经纪人名称",
  31431. "type": "string"
  31432. },
  31433. "refernum": {
  31434. "description": "推荐码",
  31435. "type": "string"
  31436. },
  31437. "subarealevelpath": {
  31438. "description": "用户层级路径",
  31439. "type": "string"
  31440. },
  31441. "todayrewardamount": {
  31442. "description": "奖励总金额【汇总】",
  31443. "type": "number"
  31444. },
  31445. "updatetime": {
  31446. "description": "更新时间",
  31447. "type": "string"
  31448. },
  31449. "userid": {
  31450. "description": "经纪人用户ID",
  31451. "type": "integer"
  31452. },
  31453. "userinfotype": {
  31454. "description": "用户类型 1-个人 2-企业",
  31455. "type": "integer"
  31456. },
  31457. "username": {
  31458. "description": "用户名称",
  31459. "type": "string"
  31460. }
  31461. }
  31462. },
  31463. "models.QhjMgrContract": {
  31464. "type": "object",
  31465. "properties": {
  31466. "contractconfirmtime": {
  31467. "description": "合同确认时间(时间)",
  31468. "type": "string"
  31469. },
  31470. "currisklevel": {
  31471. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  31472. "type": "integer"
  31473. },
  31474. "decimalplace": {
  31475. "description": "商品报价小数位",
  31476. "type": "integer"
  31477. },
  31478. "enumdicname": {
  31479. "description": "单位名称",
  31480. "type": "string"
  31481. },
  31482. "goodscode": {
  31483. "description": "商品代码",
  31484. "type": "string"
  31485. },
  31486. "goodsid": {
  31487. "description": "商品ID [5:融资单]",
  31488. "type": "integer"
  31489. },
  31490. "goodsname": {
  31491. "description": "商品名称",
  31492. "type": "string"
  31493. },
  31494. "goodunitid": {
  31495. "description": "商品单位id",
  31496. "type": "integer"
  31497. },
  31498. "initmargin": {
  31499. "description": "初始保证金(首付款)",
  31500. "type": "number"
  31501. },
  31502. "lenderamount": {
  31503. "description": "贷款金额(总额|订单总额)",
  31504. "type": "number"
  31505. },
  31506. "logincode": {
  31507. "description": "账号(登录代码)",
  31508. "type": "string"
  31509. },
  31510. "marginratio": {
  31511. "description": "保证金比率(首付比例)",
  31512. "type": "number"
  31513. },
  31514. "mobile": {
  31515. "description": "电话号码(用户资料里的电话)",
  31516. "type": "string"
  31517. },
  31518. "payamount": {
  31519. "description": "已付(已付货款)",
  31520. "type": "number"
  31521. },
  31522. "reckonrecovermargin": {
  31523. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  31524. "type": "number"
  31525. },
  31526. "recoveredmargin": {
  31527. "description": "已追缴保证金",
  31528. "type": "number"
  31529. },
  31530. "remainamount": {
  31531. "description": "合同剩余金额(融资额)",
  31532. "type": "number"
  31533. },
  31534. "scfcontractid": {
  31535. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  31536. "type": "string"
  31537. },
  31538. "scfcontractstatus": {
  31539. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  31540. "type": "integer"
  31541. },
  31542. "scfcontracttype": {
  31543. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  31544. "type": "integer"
  31545. },
  31546. "totalinterest": {
  31547. "description": "已计总利息(利息)",
  31548. "type": "number"
  31549. },
  31550. "tradedate": {
  31551. "description": "交易日",
  31552. "type": "string"
  31553. },
  31554. "tradeprice": {
  31555. "description": "成交价格(成本价格)",
  31556. "type": "number"
  31557. },
  31558. "userid": {
  31559. "description": "用户ID",
  31560. "type": "integer"
  31561. },
  31562. "userinfotype": {
  31563. "description": "用户类型 1-个人 2-企业",
  31564. "type": "integer"
  31565. },
  31566. "username": {
  31567. "description": "用户名称",
  31568. "type": "string"
  31569. },
  31570. "wrqty": {
  31571. "description": "仓单数量(数量)",
  31572. "type": "number"
  31573. }
  31574. }
  31575. },
  31576. "models.QhjMgrCustomer": {
  31577. "type": "object",
  31578. "properties": {
  31579. "address": {
  31580. "description": "通讯地址",
  31581. "type": "string"
  31582. },
  31583. "attachment1": {
  31584. "description": "附件1",
  31585. "type": "string"
  31586. },
  31587. "audittime": {
  31588. "description": "审核时间",
  31589. "type": "string"
  31590. },
  31591. "birthday": {
  31592. "description": "生日",
  31593. "type": "string"
  31594. },
  31595. "brokerid": {
  31596. "description": "所属客户经理id",
  31597. "type": "integer"
  31598. },
  31599. "brokername": {
  31600. "description": "所属客户经理名称",
  31601. "type": "string"
  31602. },
  31603. "cardbackphotourl": {
  31604. "description": "证件反面图片地址",
  31605. "type": "string"
  31606. },
  31607. "cardfrontphotourl": {
  31608. "description": "证件正面图片地址",
  31609. "type": "string"
  31610. },
  31611. "cardnum": {
  31612. "description": "证件号码",
  31613. "type": "string"
  31614. },
  31615. "cardtype": {
  31616. "description": "证件类型",
  31617. "type": "integer"
  31618. },
  31619. "cardtypename": {
  31620. "description": "证件类型名称",
  31621. "type": "string"
  31622. },
  31623. "cityid": {
  31624. "description": "市",
  31625. "type": "integer"
  31626. },
  31627. "cityname": {
  31628. "description": "城市名称",
  31629. "type": "string"
  31630. },
  31631. "contactname": {
  31632. "description": "联系人",
  31633. "type": "string"
  31634. },
  31635. "countryid": {
  31636. "description": "国家",
  31637. "type": "integer"
  31638. },
  31639. "countryname": {
  31640. "description": "国家名称",
  31641. "type": "string"
  31642. },
  31643. "createtime": {
  31644. "description": "创建时间",
  31645. "type": "string"
  31646. },
  31647. "customername": {
  31648. "description": "客户名称",
  31649. "type": "string"
  31650. },
  31651. "districtid": {
  31652. "description": "区域",
  31653. "type": "integer"
  31654. },
  31655. "districtname": {
  31656. "description": "地区名称",
  31657. "type": "string"
  31658. },
  31659. "email": {
  31660. "description": "邮件",
  31661. "type": "string"
  31662. },
  31663. "legalpersonname": {
  31664. "description": "法人姓名(企业)",
  31665. "type": "string"
  31666. },
  31667. "logincode": {
  31668. "description": "登录账号(代码)",
  31669. "type": "string"
  31670. },
  31671. "memberuserid": {
  31672. "description": "所属机构ID(所属会员)",
  31673. "type": "integer"
  31674. },
  31675. "memberusername": {
  31676. "description": "所属会员名称",
  31677. "type": "string"
  31678. },
  31679. "mobile": {
  31680. "description": "手机号码",
  31681. "type": "string"
  31682. },
  31683. "modifytime": {
  31684. "description": "修改时间",
  31685. "type": "string"
  31686. },
  31687. "nickname": {
  31688. "description": "昵称",
  31689. "type": "string"
  31690. },
  31691. "parentuserid": {
  31692. "description": "上级机构(所属机构)",
  31693. "type": "integer"
  31694. },
  31695. "parentusername": {
  31696. "description": "所属机构名称",
  31697. "type": "string"
  31698. },
  31699. "provinceid": {
  31700. "description": "省",
  31701. "type": "integer"
  31702. },
  31703. "provincename": {
  31704. "description": "省名称",
  31705. "type": "string"
  31706. },
  31707. "proxystatementurl": {
  31708. "description": "授权委托书",
  31709. "type": "string"
  31710. },
  31711. "querytype": {
  31712. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  31713. "type": "integer"
  31714. },
  31715. "remark": {
  31716. "description": "备注",
  31717. "type": "string"
  31718. },
  31719. "sex": {
  31720. "description": "性别 0-女 1-男",
  31721. "type": "integer"
  31722. },
  31723. "status": {
  31724. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  31725. "type": "integer"
  31726. },
  31727. "statusdesc": {
  31728. "description": "账户状态中文描述",
  31729. "type": "string"
  31730. },
  31731. "taxpayernum": {
  31732. "description": "纳税人识别号",
  31733. "type": "string"
  31734. },
  31735. "telphone": {
  31736. "description": "联系电话",
  31737. "type": "string"
  31738. },
  31739. "userid": {
  31740. "description": "用户ID",
  31741. "type": "integer"
  31742. },
  31743. "userinfotype": {
  31744. "description": "客户类型 1-个人 2-企业",
  31745. "type": "integer"
  31746. },
  31747. "username": {
  31748. "description": "用户名称",
  31749. "type": "string"
  31750. }
  31751. }
  31752. },
  31753. "models.QhjMgrPickGoods": {
  31754. "type": "object",
  31755. "properties": {
  31756. "enumdicname": {
  31757. "description": "单位名称(提货商品)",
  31758. "type": "string"
  31759. },
  31760. "goodsid": {
  31761. "description": "商品id",
  31762. "type": "integer"
  31763. },
  31764. "imageaddress": {
  31765. "description": "图片",
  31766. "type": "string"
  31767. },
  31768. "modifierid": {
  31769. "description": "修改人",
  31770. "type": "integer"
  31771. },
  31772. "modifiername": {
  31773. "description": "修改人名称",
  31774. "type": "string"
  31775. },
  31776. "modifysrc": {
  31777. "description": "修改来源 - 1:管理端 2:终端",
  31778. "type": "integer"
  31779. },
  31780. "pickupgoodsagreeunit": {
  31781. "description": "合约乘数",
  31782. "type": "number"
  31783. },
  31784. "pickupgoodsdesc": {
  31785. "description": "描述",
  31786. "type": "string"
  31787. },
  31788. "pickupgoodsid": {
  31789. "description": "提货商品ID",
  31790. "type": "string"
  31791. },
  31792. "pickupgoodsname": {
  31793. "description": "提货商品名称",
  31794. "type": "string"
  31795. },
  31796. "pickupgoodsstatus": {
  31797. "description": "状态 - 1:正常 2:停用 3:注销",
  31798. "type": "integer"
  31799. },
  31800. "pickupgoodsunitid": {
  31801. "description": "单位ID",
  31802. "type": "integer"
  31803. },
  31804. "pickupratio": {
  31805. "description": "提货系数",
  31806. "type": "number"
  31807. },
  31808. "preparedays": {
  31809. "description": "备货期(天)",
  31810. "type": "integer"
  31811. },
  31812. "remark": {
  31813. "description": "备注",
  31814. "type": "string"
  31815. },
  31816. "updatetime": {
  31817. "description": "更新时间",
  31818. "type": "string"
  31819. }
  31820. }
  31821. },
  31822. "models.QhjMgrPositionRsp": {
  31823. "type": "object",
  31824. "properties": {
  31825. "accountid": {
  31826. "description": "账号Id",
  31827. "type": "integer"
  31828. },
  31829. "accountname": {
  31830. "description": "用户名称",
  31831. "type": "string"
  31832. },
  31833. "agreeunit": {
  31834. "description": "合约乘数",
  31835. "type": "number"
  31836. },
  31837. "averageprice": {
  31838. "description": "均价",
  31839. "type": "number"
  31840. },
  31841. "avialqty": {
  31842. "description": "可用数量",
  31843. "type": "number"
  31844. },
  31845. "decimalplace": {
  31846. "description": "报价小数位",
  31847. "type": "integer"
  31848. },
  31849. "enumdicname": {
  31850. "description": "单位名称(商品)",
  31851. "type": "string"
  31852. },
  31853. "frozenqty": {
  31854. "description": "冻结数量",
  31855. "type": "number"
  31856. },
  31857. "goodscode": {
  31858. "description": "商品代码(内部)",
  31859. "type": "string"
  31860. },
  31861. "goodsid": {
  31862. "description": "商品Id",
  31863. "type": "integer"
  31864. },
  31865. "goodsname": {
  31866. "description": "商品名称",
  31867. "type": "string"
  31868. },
  31869. "goodunitid": {
  31870. "description": "报价单位ID",
  31871. "type": "integer"
  31872. },
  31873. "holderamount": {
  31874. "description": "金额",
  31875. "type": "number"
  31876. },
  31877. "holderqty": {
  31878. "description": "持有数量",
  31879. "type": "number"
  31880. },
  31881. "holdertype": {
  31882. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  31883. "type": "integer"
  31884. },
  31885. "logincode": {
  31886. "description": "登录代码(账户)",
  31887. "type": "string"
  31888. },
  31889. "marketid": {
  31890. "description": "市场id",
  31891. "type": "integer"
  31892. },
  31893. "qtydecimalplace": {
  31894. "description": "成交量小数位",
  31895. "type": "integer"
  31896. },
  31897. "trademode": {
  31898. "description": "交易模式",
  31899. "type": "integer"
  31900. },
  31901. "userid": {
  31902. "description": "用户id",
  31903. "type": "integer"
  31904. },
  31905. "userinfotype": {
  31906. "description": "账户类型 1-个人 2-企业",
  31907. "type": "integer"
  31908. }
  31909. }
  31910. },
  31911. "models.QhjMgrSubArea": {
  31912. "type": "object",
  31913. "properties": {
  31914. "accountname": {
  31915. "description": "账户名称(机构名称)",
  31916. "type": "string"
  31917. },
  31918. "memberuserid": {
  31919. "description": "所属会员ID",
  31920. "type": "integer"
  31921. },
  31922. "parenttopuser": {
  31923. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31924. "type": "string"
  31925. },
  31926. "parentuserid": {
  31927. "description": "所属机构ID",
  31928. "type": "integer"
  31929. },
  31930. "rootuserid": {
  31931. "description": "根用户ID",
  31932. "type": "string"
  31933. },
  31934. "subaccountlevel": {
  31935. "description": "子账户层数",
  31936. "type": "integer"
  31937. },
  31938. "subarealevelpath": {
  31939. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31940. "type": "string"
  31941. },
  31942. "userid": {
  31943. "description": "用户ID",
  31944. "type": "integer"
  31945. },
  31946. "usertype": {
  31947. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31948. "type": "integer"
  31949. }
  31950. }
  31951. },
  31952. "models.QhjMgrTradeDetailRsp": {
  31953. "type": "object",
  31954. "properties": {
  31955. "accountid": {
  31956. "description": "资金账号",
  31957. "type": "integer"
  31958. },
  31959. "accountname": {
  31960. "description": "用户名称",
  31961. "type": "string"
  31962. },
  31963. "agreeunit": {
  31964. "description": "合约乘数",
  31965. "type": "number"
  31966. },
  31967. "buyorsell": {
  31968. "description": "成交类型(方向) 0:买 1:卖",
  31969. "type": "integer"
  31970. },
  31971. "decimalplace": {
  31972. "description": "报价小数位",
  31973. "type": "integer"
  31974. },
  31975. "enumdicname": {
  31976. "description": "单位名称(商品)",
  31977. "type": "string"
  31978. },
  31979. "goodscode": {
  31980. "description": "商品代码(内部)",
  31981. "type": "string"
  31982. },
  31983. "goodsid": {
  31984. "description": "商品id",
  31985. "type": "integer"
  31986. },
  31987. "goodsname": {
  31988. "description": "商品名称",
  31989. "type": "string"
  31990. },
  31991. "goodunitid": {
  31992. "description": "报价单位ID",
  31993. "type": "integer"
  31994. },
  31995. "logincode": {
  31996. "description": "登录代码(账户)",
  31997. "type": "string"
  31998. },
  31999. "marketid": {
  32000. "description": "市场id",
  32001. "type": "integer"
  32002. },
  32003. "orderid": {
  32004. "description": "关联委托单号",
  32005. "type": "string"
  32006. },
  32007. "qtydecimalplace": {
  32008. "description": "成交量小数位",
  32009. "type": "integer"
  32010. },
  32011. "tradeamount": {
  32012. "description": "金额",
  32013. "type": "number"
  32014. },
  32015. "tradedate": {
  32016. "description": "交易日",
  32017. "type": "string"
  32018. },
  32019. "tradeid": {
  32020. "description": "成交单号",
  32021. "type": "string"
  32022. },
  32023. "trademode": {
  32024. "description": "交易模式",
  32025. "type": "integer"
  32026. },
  32027. "tradeprice": {
  32028. "description": "价格",
  32029. "type": "number"
  32030. },
  32031. "tradeqty": {
  32032. "description": "数量",
  32033. "type": "number"
  32034. },
  32035. "tradetime": {
  32036. "description": "成交时间",
  32037. "type": "string"
  32038. },
  32039. "userid": {
  32040. "description": "用户id",
  32041. "type": "integer"
  32042. },
  32043. "userinfotype": {
  32044. "description": "账户类型 1-个人 2-企业",
  32045. "type": "integer"
  32046. }
  32047. }
  32048. },
  32049. "models.QhjMgrTradeOrderDetailRsp": {
  32050. "type": "object",
  32051. "properties": {
  32052. "accountid": {
  32053. "description": "资金账号",
  32054. "type": "integer"
  32055. },
  32056. "accountname": {
  32057. "description": "用户名称",
  32058. "type": "string"
  32059. },
  32060. "agreeunit": {
  32061. "description": "合约乘数",
  32062. "type": "number"
  32063. },
  32064. "amount": {
  32065. "description": "金额",
  32066. "type": "number"
  32067. },
  32068. "decimalplace": {
  32069. "description": "报价小数位",
  32070. "type": "integer"
  32071. },
  32072. "enumdicname": {
  32073. "description": "单位名称(商品)",
  32074. "type": "string"
  32075. },
  32076. "goodscode": {
  32077. "description": "商品代码(内部)",
  32078. "type": "string"
  32079. },
  32080. "goodsid": {
  32081. "description": "商品id",
  32082. "type": "integer"
  32083. },
  32084. "goodsname": {
  32085. "description": "商品名称",
  32086. "type": "string"
  32087. },
  32088. "goodunitid": {
  32089. "description": "报价单位ID",
  32090. "type": "integer"
  32091. },
  32092. "logincode": {
  32093. "description": "登录代码(账户)",
  32094. "type": "string"
  32095. },
  32096. "marketid": {
  32097. "description": "市场id",
  32098. "type": "integer"
  32099. },
  32100. "orderid": {
  32101. "description": "关联委托单号",
  32102. "type": "string"
  32103. },
  32104. "orderprice": {
  32105. "description": "价格",
  32106. "type": "number"
  32107. },
  32108. "orderqty": {
  32109. "description": "数量",
  32110. "type": "number"
  32111. },
  32112. "orderstatus": {
  32113. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  32114. "type": "integer"
  32115. },
  32116. "ordertime": {
  32117. "description": "委托时间",
  32118. "type": "string"
  32119. },
  32120. "qtydecimalplace": {
  32121. "description": "成交量小数位",
  32122. "type": "integer"
  32123. },
  32124. "tradedate": {
  32125. "description": "交易日",
  32126. "type": "string"
  32127. },
  32128. "trademode": {
  32129. "description": "交易模式",
  32130. "type": "integer"
  32131. },
  32132. "userid": {
  32133. "description": "用户id",
  32134. "type": "integer"
  32135. },
  32136. "userinfotype": {
  32137. "description": "账户类型 1-个人 2-企业",
  32138. "type": "integer"
  32139. }
  32140. }
  32141. },
  32142. "models.QhjMgrTradePayOrder": {
  32143. "type": "object",
  32144. "properties": {
  32145. "accountname": {
  32146. "description": "用户名称",
  32147. "type": "string"
  32148. },
  32149. "advanceratio": {
  32150. "description": "首付比率",
  32151. "type": "number"
  32152. },
  32153. "agreeunit": {
  32154. "description": "合约乘数",
  32155. "type": "number"
  32156. },
  32157. "buyaccountid": {
  32158. "description": "买方账号ID[报价币种]",
  32159. "type": "integer"
  32160. },
  32161. "buyorderid": {
  32162. "description": "买方委托单号(关联单号)",
  32163. "type": "string"
  32164. },
  32165. "createtime": {
  32166. "description": "创建时间",
  32167. "type": "string"
  32168. },
  32169. "decimalplace": {
  32170. "description": "报价小数位",
  32171. "type": "integer"
  32172. },
  32173. "enumdicname": {
  32174. "description": "单位名称(商品)",
  32175. "type": "string"
  32176. },
  32177. "goodscode": {
  32178. "description": "商品代码(内部)",
  32179. "type": "string"
  32180. },
  32181. "goodsid": {
  32182. "description": "商品ID",
  32183. "type": "integer"
  32184. },
  32185. "goodsname": {
  32186. "description": "商品名称",
  32187. "type": "string"
  32188. },
  32189. "goodunitid": {
  32190. "description": "报价单位ID",
  32191. "type": "integer"
  32192. },
  32193. "logincode": {
  32194. "description": "登录代码(账户)",
  32195. "type": "string"
  32196. },
  32197. "marketid": {
  32198. "description": "市场id",
  32199. "type": "integer"
  32200. },
  32201. "offamount": {
  32202. "description": "优惠金额",
  32203. "type": "number"
  32204. },
  32205. "operatetype": {
  32206. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  32207. "type": "integer"
  32208. },
  32209. "payamount": {
  32210. "description": "支付金额(金额)",
  32211. "type": "number"
  32212. },
  32213. "payflag": {
  32214. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  32215. "type": "integer"
  32216. },
  32217. "paylimitedtime": {
  32218. "description": "支付期限",
  32219. "type": "string"
  32220. },
  32221. "paytime": {
  32222. "description": "付款时间",
  32223. "type": "string"
  32224. },
  32225. "qtydecimalplace": {
  32226. "description": "成交量小数位",
  32227. "type": "integer"
  32228. },
  32229. "sellaccountid": {
  32230. "description": "卖方账号ID[报价币种]",
  32231. "type": "integer"
  32232. },
  32233. "sellorderid": {
  32234. "description": "卖方委托单号",
  32235. "type": "string"
  32236. },
  32237. "tradeamount": {
  32238. "description": "成交金额(优惠后金额)",
  32239. "type": "number"
  32240. },
  32241. "tradecharge": {
  32242. "description": "成交手续费(买方)",
  32243. "type": "number"
  32244. },
  32245. "tradedate": {
  32246. "description": "交易日(yyyyMMdd)",
  32247. "type": "string"
  32248. },
  32249. "tradeid": {
  32250. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32251. "type": "string"
  32252. },
  32253. "trademode": {
  32254. "description": "交易模式",
  32255. "type": "integer"
  32256. },
  32257. "tradeprice": {
  32258. "description": "成交价格(价格)",
  32259. "type": "number"
  32260. },
  32261. "tradeqty": {
  32262. "description": "成交数量(数量)",
  32263. "type": "number"
  32264. },
  32265. "tradetime": {
  32266. "description": "成交时间",
  32267. "type": "string"
  32268. },
  32269. "userid": {
  32270. "description": "用户id",
  32271. "type": "integer"
  32272. },
  32273. "userinfotype": {
  32274. "description": "账户类型 1-个人 2-企业",
  32275. "type": "integer"
  32276. }
  32277. }
  32278. },
  32279. "models.QhjMyTeamEx": {
  32280. "type": "object",
  32281. "properties": {
  32282. "accountname": {
  32283. "description": "用户名称",
  32284. "type": "string"
  32285. },
  32286. "accountstatus": {
  32287. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32288. "type": "integer"
  32289. },
  32290. "createtime": {
  32291. "description": "创建时间",
  32292. "type": "string"
  32293. },
  32294. "mobile": {
  32295. "description": "手机号码",
  32296. "type": "string"
  32297. },
  32298. "refereeuserid": {
  32299. "description": "推荐人id",
  32300. "type": "integer"
  32301. },
  32302. "refernum": {
  32303. "description": "推荐码",
  32304. "type": "string"
  32305. },
  32306. "subList": {
  32307. "type": "array",
  32308. "items": {
  32309. "$ref": "#/definitions/models.QhjMyTeamEx"
  32310. }
  32311. },
  32312. "userid": {
  32313. "description": "用户id",
  32314. "type": "integer"
  32315. },
  32316. "userinfotype": {
  32317. "description": "用户类型 1-个人 2-企业",
  32318. "type": "integer"
  32319. }
  32320. }
  32321. },
  32322. "models.QhjNodeAgreementConfig": {
  32323. "type": "object",
  32324. "properties": {
  32325. "agreementcontent": {
  32326. "description": "协议内容",
  32327. "type": "string"
  32328. },
  32329. "agreementid": {
  32330. "description": "协议ID",
  32331. "type": "integer"
  32332. },
  32333. "agreementname": {
  32334. "description": "协议名称",
  32335. "type": "string"
  32336. },
  32337. "agreementno": {
  32338. "description": "协议编号",
  32339. "type": "string"
  32340. },
  32341. "agreementtype": {
  32342. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32343. "type": "integer"
  32344. },
  32345. "agreementversion": {
  32346. "description": "协议版本号",
  32347. "type": "integer"
  32348. },
  32349. "configid": {
  32350. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  32351. "type": "integer"
  32352. },
  32353. "createtime": {
  32354. "description": "创建时间",
  32355. "type": "string"
  32356. },
  32357. "goodsid": {
  32358. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32359. "type": "integer"
  32360. },
  32361. "nodetype": {
  32362. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32363. "type": "integer"
  32364. }
  32365. }
  32366. },
  32367. "models.QhjParentAreaList": {
  32368. "type": "object",
  32369. "properties": {
  32370. "accountname": {
  32371. "description": "账户名称(机构名称)",
  32372. "type": "string"
  32373. },
  32374. "userid": {
  32375. "description": "用户ID",
  32376. "type": "integer"
  32377. },
  32378. "usertype": {
  32379. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32380. "type": "integer"
  32381. }
  32382. }
  32383. },
  32384. "models.QhjPayOrder": {
  32385. "type": "object",
  32386. "properties": {
  32387. "advanceratio": {
  32388. "description": "首付比率",
  32389. "type": "number"
  32390. },
  32391. "buyaccountid": {
  32392. "description": "买方账号ID[报价币种]",
  32393. "type": "integer"
  32394. },
  32395. "buyorderid": {
  32396. "description": "买方委托单号",
  32397. "type": "string"
  32398. },
  32399. "createtime": {
  32400. "description": "创建时间",
  32401. "type": "string"
  32402. },
  32403. "decimalplace": {
  32404. "description": "商品报价小数位",
  32405. "type": "integer"
  32406. },
  32407. "enumdicname": {
  32408. "description": "单位名称",
  32409. "type": "string"
  32410. },
  32411. "goodscode": {
  32412. "description": "商品代码",
  32413. "type": "string"
  32414. },
  32415. "goodsid": {
  32416. "description": "商品ID",
  32417. "type": "integer"
  32418. },
  32419. "goodsname": {
  32420. "description": "商品名称",
  32421. "type": "string"
  32422. },
  32423. "goodunitid": {
  32424. "description": "商品单位id",
  32425. "type": "integer"
  32426. },
  32427. "marketid": {
  32428. "description": "市场ID",
  32429. "type": "integer"
  32430. },
  32431. "offamount": {
  32432. "description": "优惠金额",
  32433. "type": "number"
  32434. },
  32435. "operatetype": {
  32436. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  32437. "type": "integer"
  32438. },
  32439. "payamount": {
  32440. "description": "支付金额",
  32441. "type": "number"
  32442. },
  32443. "payflag": {
  32444. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  32445. "type": "integer"
  32446. },
  32447. "paylimitedtime": {
  32448. "description": "支付期限",
  32449. "type": "string"
  32450. },
  32451. "paytime": {
  32452. "description": "付款时间",
  32453. "type": "string"
  32454. },
  32455. "qtydecimalplace": {
  32456. "description": "成交量小数位",
  32457. "type": "integer"
  32458. },
  32459. "sellaccountid": {
  32460. "description": "卖方账号ID[报价币种]",
  32461. "type": "integer"
  32462. },
  32463. "sellorderid": {
  32464. "description": "卖方委托单号",
  32465. "type": "string"
  32466. },
  32467. "tradeamount": {
  32468. "description": "成交金额(优惠后金额)",
  32469. "type": "number"
  32470. },
  32471. "tradecharge": {
  32472. "description": "成交手续费(买方)",
  32473. "type": "number"
  32474. },
  32475. "tradedate": {
  32476. "description": "交易日(yyyyMMdd)",
  32477. "type": "string"
  32478. },
  32479. "tradeid": {
  32480. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32481. "type": "string"
  32482. },
  32483. "tradeprice": {
  32484. "description": "成交价格",
  32485. "type": "number"
  32486. },
  32487. "tradeqty": {
  32488. "description": "成交数量",
  32489. "type": "number"
  32490. }
  32491. }
  32492. },
  32493. "models.QhjPickArea": {
  32494. "type": "object",
  32495. "properties": {
  32496. "address": {
  32497. "description": "详细地址",
  32498. "type": "string"
  32499. },
  32500. "cityid": {
  32501. "description": "市",
  32502. "type": "integer"
  32503. },
  32504. "cityname": {
  32505. "description": "城市名称",
  32506. "type": "string"
  32507. },
  32508. "countryid": {
  32509. "description": "国家",
  32510. "type": "integer"
  32511. },
  32512. "countryname": {
  32513. "description": "国家名称",
  32514. "type": "string"
  32515. },
  32516. "districtid": {
  32517. "description": "地区",
  32518. "type": "integer"
  32519. },
  32520. "districtname": {
  32521. "description": "地区名称",
  32522. "type": "string"
  32523. },
  32524. "fromuserid": {
  32525. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  32526. "type": "integer"
  32527. },
  32528. "fromusername": {
  32529. "description": "所属机构名称",
  32530. "type": "string"
  32531. },
  32532. "provinceid": {
  32533. "description": "省",
  32534. "type": "integer"
  32535. },
  32536. "provincename": {
  32537. "description": "省名称",
  32538. "type": "string"
  32539. },
  32540. "suborgtype": {
  32541. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  32542. "type": "integer"
  32543. },
  32544. "userid": {
  32545. "description": "机构用户ID 其他做市关系,都设置为 1",
  32546. "type": "integer"
  32547. },
  32548. "username": {
  32549. "description": "机构用户名称(门店门称)",
  32550. "type": "string"
  32551. }
  32552. }
  32553. },
  32554. "models.QhjPickGoods": {
  32555. "type": "object",
  32556. "properties": {
  32557. "enumdicname": {
  32558. "description": "单位名称(提货商品)",
  32559. "type": "string"
  32560. },
  32561. "goodsid": {
  32562. "description": "商品id",
  32563. "type": "integer"
  32564. },
  32565. "imageaddress": {
  32566. "description": "图片",
  32567. "type": "string"
  32568. },
  32569. "modifierid": {
  32570. "description": "修改人",
  32571. "type": "integer"
  32572. },
  32573. "modifiername": {
  32574. "description": "修改人名称",
  32575. "type": "string"
  32576. },
  32577. "modifysrc": {
  32578. "description": "修改来源 - 1:管理端 2:终端",
  32579. "type": "integer"
  32580. },
  32581. "pickupgoodsagreeunit": {
  32582. "description": "合约乘数",
  32583. "type": "number"
  32584. },
  32585. "pickupgoodsdesc": {
  32586. "description": "描述",
  32587. "type": "string"
  32588. },
  32589. "pickupgoodsid": {
  32590. "description": "提货商品ID",
  32591. "type": "string"
  32592. },
  32593. "pickupgoodsname": {
  32594. "description": "提货商品名称",
  32595. "type": "string"
  32596. },
  32597. "pickupgoodsstatus": {
  32598. "description": "状态 - 1:正常 2:停用 3:注销",
  32599. "type": "integer"
  32600. },
  32601. "pickupgoodsunitid": {
  32602. "description": "单位ID",
  32603. "type": "integer"
  32604. },
  32605. "pickupratio": {
  32606. "description": "提货系数",
  32607. "type": "number"
  32608. },
  32609. "preparedays": {
  32610. "description": "备货期(天)",
  32611. "type": "integer"
  32612. },
  32613. "remark": {
  32614. "description": "备注",
  32615. "type": "string"
  32616. },
  32617. "updatetime": {
  32618. "description": "更新时间",
  32619. "type": "string"
  32620. }
  32621. }
  32622. },
  32623. "models.QhjRSTriggerLog": {
  32624. "type": "object",
  32625. "properties": {
  32626. "accountid": {
  32627. "description": "用户资金账户",
  32628. "type": "integer"
  32629. },
  32630. "accountname": {
  32631. "description": "账号名称(ACCOUNTID对应的名称)",
  32632. "type": "string"
  32633. },
  32634. "currencyid": {
  32635. "description": "币种id",
  32636. "type": "integer"
  32637. },
  32638. "currencyname": {
  32639. "description": "币种名称",
  32640. "type": "string"
  32641. },
  32642. "decimalplace": {
  32643. "description": "商品报价小数位",
  32644. "type": "integer"
  32645. },
  32646. "enumdicname": {
  32647. "description": "单位名称",
  32648. "type": "string"
  32649. },
  32650. "goodscode": {
  32651. "description": "定投商品代码",
  32652. "type": "string"
  32653. },
  32654. "goodsid": {
  32655. "description": "定投商品ID",
  32656. "type": "integer"
  32657. },
  32658. "goodsname": {
  32659. "description": "定投商品名称",
  32660. "type": "string"
  32661. },
  32662. "goodunitid": {
  32663. "description": "定投商品单位id",
  32664. "type": "integer"
  32665. },
  32666. "logid": {
  32667. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  32668. "type": "string"
  32669. },
  32670. "logincode": {
  32671. "description": "账号(登录代码)",
  32672. "type": "string"
  32673. },
  32674. "qtydecimalplace": {
  32675. "description": "成交量小数位",
  32676. "type": "integer"
  32677. },
  32678. "regularlycycle": {
  32679. "description": "定投频率 - 1:每周 2:每月",
  32680. "type": "integer"
  32681. },
  32682. "regularlycyclevalue": {
  32683. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  32684. "type": "string"
  32685. },
  32686. "regularlymode": {
  32687. "description": "定投方式 - 1:按数量 2:按金额",
  32688. "type": "integer"
  32689. },
  32690. "regularlymodevalue": {
  32691. "description": "定投方式值 - 数量或金额",
  32692. "type": "number"
  32693. },
  32694. "regularlystrategyid": {
  32695. "description": "定投策略ID",
  32696. "type": "integer"
  32697. },
  32698. "retcode": {
  32699. "description": "错误码",
  32700. "type": "string"
  32701. },
  32702. "tradeid": {
  32703. "description": "成交单ID",
  32704. "type": "string"
  32705. },
  32706. "triggeramount": {
  32707. "description": "触发金额",
  32708. "type": "number"
  32709. },
  32710. "triggerqty": {
  32711. "description": "触发数量",
  32712. "type": "number"
  32713. },
  32714. "triggerstatus": {
  32715. "description": "触发状态 - 1:成功 2:失败",
  32716. "type": "integer"
  32717. },
  32718. "triggertime": {
  32719. "description": "触发时间",
  32720. "type": "string"
  32721. },
  32722. "triggertradedate": {
  32723. "description": "触发交易日",
  32724. "type": "string"
  32725. },
  32726. "userid": {
  32727. "description": "所属用户ID",
  32728. "type": "integer"
  32729. },
  32730. "userinfotype": {
  32731. "description": "用户类型 1-个人 2-企业",
  32732. "type": "integer"
  32733. },
  32734. "username": {
  32735. "description": "用户名称(userid对应的名称)",
  32736. "type": "string"
  32737. }
  32738. }
  32739. },
  32740. "models.QhjRStrategy": {
  32741. "type": "object",
  32742. "properties": {
  32743. "accountid": {
  32744. "description": "用户资金账户",
  32745. "type": "integer"
  32746. },
  32747. "accountname": {
  32748. "description": "账号名称(ACCOUNTID对应的名称)",
  32749. "type": "string"
  32750. },
  32751. "currencyid": {
  32752. "description": "币种id",
  32753. "type": "integer"
  32754. },
  32755. "currencyname": {
  32756. "description": "币种名称",
  32757. "type": "string"
  32758. },
  32759. "decimalplace": {
  32760. "description": "商品报价小数位",
  32761. "type": "integer"
  32762. },
  32763. "enumdicname": {
  32764. "description": "单位名称",
  32765. "type": "string"
  32766. },
  32767. "goodscode": {
  32768. "description": "定投商品代码",
  32769. "type": "string"
  32770. },
  32771. "goodsid": {
  32772. "description": "定投商品ID",
  32773. "type": "integer"
  32774. },
  32775. "goodsname": {
  32776. "description": "定投商品名称",
  32777. "type": "string"
  32778. },
  32779. "goodunitid": {
  32780. "description": "定投商品单位id",
  32781. "type": "integer"
  32782. },
  32783. "lasteffecttradedate": {
  32784. "description": "最新生效交易日",
  32785. "type": "string"
  32786. },
  32787. "laststoptradedate": {
  32788. "description": "最新暂停交易日",
  32789. "type": "string"
  32790. },
  32791. "lasttriggertradedate": {
  32792. "description": "最新触发交易日",
  32793. "type": "string"
  32794. },
  32795. "logincode": {
  32796. "description": "账号(登录代码)",
  32797. "type": "string"
  32798. },
  32799. "nexttriggeramount": {
  32800. "description": "下次触发金额",
  32801. "type": "number"
  32802. },
  32803. "nexttriggerdate": {
  32804. "description": "下次触发日期",
  32805. "type": "string"
  32806. },
  32807. "nexttriggerqty": {
  32808. "description": "下次触发数量 [按小数位放大值]",
  32809. "type": "number"
  32810. },
  32811. "qtydecimalplace": {
  32812. "description": "成交量小数位",
  32813. "type": "integer"
  32814. },
  32815. "regularlycycle": {
  32816. "description": "定投频率 - 1:每周 2:每月",
  32817. "type": "integer"
  32818. },
  32819. "regularlycyclevalue": {
  32820. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  32821. "type": "string"
  32822. },
  32823. "regularlymode": {
  32824. "description": "定投方式 - 1:按数量 2:按金额",
  32825. "type": "integer"
  32826. },
  32827. "regularlymodevalue": {
  32828. "description": "定投方式值 - 数量或金额",
  32829. "type": "number"
  32830. },
  32831. "regularlystrategyid": {
  32832. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  32833. "type": "integer"
  32834. },
  32835. "regularlystrategystatus": {
  32836. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  32837. "type": "integer"
  32838. },
  32839. "remark": {
  32840. "description": "备注",
  32841. "type": "string"
  32842. },
  32843. "triggersuccesstimes": {
  32844. "description": "累计定投成功次数",
  32845. "type": "string"
  32846. },
  32847. "triggertotalamount": {
  32848. "description": "累计定投金额(成功)",
  32849. "type": "number"
  32850. },
  32851. "triggertotalqty": {
  32852. "description": "累计定投数量(成功) [按小数位放大值]",
  32853. "type": "number"
  32854. },
  32855. "triggertotaltimes": {
  32856. "description": "累计定投总次数",
  32857. "type": "string"
  32858. },
  32859. "updatesrc": {
  32860. "description": "更新来源 - 1:管理端 2:终端",
  32861. "type": "integer"
  32862. },
  32863. "updatetime": {
  32864. "description": "更新时间",
  32865. "type": "string"
  32866. },
  32867. "updatorid": {
  32868. "description": "更新人",
  32869. "type": "string"
  32870. },
  32871. "userid": {
  32872. "description": "所属用户ID",
  32873. "type": "integer"
  32874. },
  32875. "userinfotype": {
  32876. "description": "用户类型 1-个人 2-企业",
  32877. "type": "integer"
  32878. },
  32879. "username": {
  32880. "description": "用户名称(userid对应的名称)",
  32881. "type": "string"
  32882. }
  32883. }
  32884. },
  32885. "models.QhjReckonPriceLog": {
  32886. "type": "object",
  32887. "properties": {
  32888. "decimalplace": {
  32889. "description": "商品报价小数位",
  32890. "type": "integer"
  32891. },
  32892. "goodscode": {
  32893. "description": "商品代码",
  32894. "type": "string"
  32895. },
  32896. "goodsid": {
  32897. "description": "商品ID",
  32898. "type": "integer"
  32899. },
  32900. "goodsname": {
  32901. "description": "商品名称",
  32902. "type": "string"
  32903. },
  32904. "lastreckonprice": {
  32905. "description": "上日结算价",
  32906. "type": "number"
  32907. },
  32908. "nextdnlimitprice": {
  32909. "description": "下个交易日跌停价",
  32910. "type": "number"
  32911. },
  32912. "nexttrade": {
  32913. "description": "下个交易日",
  32914. "type": "string"
  32915. },
  32916. "nextuplimitprice": {
  32917. "description": "下个交易日涨停价",
  32918. "type": "number"
  32919. },
  32920. "reckonprice": {
  32921. "description": "今日结算价(定投价)",
  32922. "type": "number"
  32923. },
  32924. "reckontime": {
  32925. "description": "结算时间",
  32926. "type": "string"
  32927. },
  32928. "totalholderqty": {
  32929. "description": "总持仓数",
  32930. "type": "integer"
  32931. },
  32932. "totalstock": {
  32933. "description": "总库存",
  32934. "type": "integer"
  32935. },
  32936. "tradedate": {
  32937. "description": "交易日",
  32938. "type": "string"
  32939. },
  32940. "updowncount": {
  32941. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  32942. "type": "integer"
  32943. },
  32944. "updownflag": {
  32945. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  32946. "type": "integer"
  32947. },
  32948. "updownrate": {
  32949. "description": "今日涨跌幅",
  32950. "type": "number"
  32951. },
  32952. "updownrate_2d": {
  32953. "description": "连续两日涨跌幅",
  32954. "type": "number"
  32955. },
  32956. "updownrate_3d": {
  32957. "description": "连续三日涨跌幅",
  32958. "type": "number"
  32959. }
  32960. }
  32961. },
  32962. "models.QhjScoreLog": {
  32963. "type": "object",
  32964. "properties": {
  32965. "accountid": {
  32966. "description": "账户ID",
  32967. "type": "integer"
  32968. },
  32969. "createtime": {
  32970. "description": "创建时间(时间)",
  32971. "type": "string"
  32972. },
  32973. "goodsid": {
  32974. "description": "商品ID",
  32975. "type": "integer"
  32976. },
  32977. "hasuploaded": {
  32978. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  32979. "type": "integer"
  32980. },
  32981. "logid": {
  32982. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32983. "type": "string"
  32984. },
  32985. "marketid": {
  32986. "description": "市场ID",
  32987. "type": "integer"
  32988. },
  32989. "relatedamount": {
  32990. "description": "关联金额",
  32991. "type": "number"
  32992. },
  32993. "relatedorderid": {
  32994. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  32995. "type": "string"
  32996. },
  32997. "scoreconfigvalue1": {
  32998. "description": "积分配置1",
  32999. "type": "integer"
  33000. },
  33001. "scoreconfigvalue2": {
  33002. "description": "积分配置1",
  33003. "type": "integer"
  33004. },
  33005. "scoretype": {
  33006. "description": "积分类型 - 1:提货积分",
  33007. "type": "integer"
  33008. },
  33009. "scorevalue": {
  33010. "description": "积分",
  33011. "type": "number"
  33012. },
  33013. "tradedate": {
  33014. "description": "交易日(yyyyMMdd)",
  33015. "type": "string"
  33016. },
  33017. "uploadedtime": {
  33018. "description": "同步时间",
  33019. "type": "string"
  33020. },
  33021. "userid": {
  33022. "description": "用户ID",
  33023. "type": "integer"
  33024. }
  33025. }
  33026. },
  33027. "models.QhjSiteColumnDetail": {
  33028. "type": "object",
  33029. "properties": {
  33030. "author": {
  33031. "description": "作者",
  33032. "type": "string"
  33033. },
  33034. "brief": {
  33035. "description": "简介",
  33036. "type": "string"
  33037. },
  33038. "columnid": {
  33039. "description": "所属栏目",
  33040. "type": "integer"
  33041. },
  33042. "context": {
  33043. "description": "内容",
  33044. "type": "string"
  33045. },
  33046. "coverimage": {
  33047. "description": "封面图片",
  33048. "type": "string"
  33049. },
  33050. "creaedate": {
  33051. "description": "创建时间",
  33052. "type": "string"
  33053. },
  33054. "creatorid": {
  33055. "description": "创建人",
  33056. "type": "integer"
  33057. },
  33058. "hits": {
  33059. "description": "点击数",
  33060. "type": "integer"
  33061. },
  33062. "id": {
  33063. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  33064. "type": "integer"
  33065. },
  33066. "isshow": {
  33067. "description": "是否展示 - 0:不展示 1:展示",
  33068. "type": "integer"
  33069. },
  33070. "istop": {
  33071. "description": "是否置顶 - 0:不置 1:置顶",
  33072. "type": "integer"
  33073. },
  33074. "modifierid": {
  33075. "description": "操作人",
  33076. "type": "integer"
  33077. },
  33078. "publishdate": {
  33079. "description": "发布日期",
  33080. "type": "string"
  33081. },
  33082. "status": {
  33083. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  33084. "type": "integer"
  33085. },
  33086. "title": {
  33087. "description": "标题",
  33088. "type": "string"
  33089. },
  33090. "updatedate": {
  33091. "description": "修改时间",
  33092. "type": "string"
  33093. },
  33094. "userid": {
  33095. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  33096. "type": "integer"
  33097. },
  33098. "username": {
  33099. "description": "用户名称",
  33100. "type": "string"
  33101. }
  33102. }
  33103. },
  33104. "models.QhjTeamOrder": {
  33105. "type": "object",
  33106. "properties": {
  33107. "accountid": {
  33108. "description": "账户ID[报价币种]",
  33109. "type": "integer"
  33110. },
  33111. "accountname": {
  33112. "description": "账户名称",
  33113. "type": "string"
  33114. },
  33115. "agreeunit": {
  33116. "description": "合约乘数",
  33117. "type": "number"
  33118. },
  33119. "buyorsell": {
  33120. "description": "方向 - 0:买 1:卖",
  33121. "type": "integer"
  33122. },
  33123. "decimalplace": {
  33124. "description": "报价小数位",
  33125. "type": "integer"
  33126. },
  33127. "enumdicname": {
  33128. "description": "单位名称",
  33129. "type": "string"
  33130. },
  33131. "goodscode": {
  33132. "description": "商品代码(内部)",
  33133. "type": "string"
  33134. },
  33135. "goodsid": {
  33136. "description": "商品ID",
  33137. "type": "integer"
  33138. },
  33139. "goodsname": {
  33140. "description": "商品名称",
  33141. "type": "string"
  33142. },
  33143. "goodunitid": {
  33144. "description": "报价单位ID",
  33145. "type": "integer"
  33146. },
  33147. "marketid": {
  33148. "description": "市场ID",
  33149. "type": "integer"
  33150. },
  33151. "marketname": {
  33152. "description": "市场名称",
  33153. "type": "string"
  33154. },
  33155. "qtydecimalplace": {
  33156. "description": "成交量小数位",
  33157. "type": "integer"
  33158. },
  33159. "refereeuserid": {
  33160. "description": "推荐人ID",
  33161. "type": "integer"
  33162. },
  33163. "tradeamount": {
  33164. "description": "成交金额[账户币种,用于所有权]",
  33165. "type": "number"
  33166. },
  33167. "tradedate": {
  33168. "description": "交易日(yyyyMMdd)",
  33169. "type": "string"
  33170. },
  33171. "trademode": {
  33172. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33173. "type": "integer"
  33174. },
  33175. "tradeprice": {
  33176. "description": "成交价格",
  33177. "type": "number"
  33178. },
  33179. "tradeqty": {
  33180. "description": "成交数量",
  33181. "type": "number"
  33182. },
  33183. "tradetime": {
  33184. "description": "成交时间",
  33185. "type": "string"
  33186. },
  33187. "userid": {
  33188. "description": "用户ID",
  33189. "type": "integer"
  33190. }
  33191. }
  33192. },
  33193. "models.QhjTradeGoodsPickup": {
  33194. "type": "object",
  33195. "properties": {
  33196. "accountid": {
  33197. "description": "账户ID",
  33198. "type": "integer"
  33199. },
  33200. "address": {
  33201. "description": "提货人详细地址",
  33202. "type": "string"
  33203. },
  33204. "amount": {
  33205. "description": "提货金额",
  33206. "type": "number"
  33207. },
  33208. "artradedate": {
  33209. "description": "自动收货交易日(yyyyMMdd)",
  33210. "type": "string"
  33211. },
  33212. "auditer": {
  33213. "description": "审核人",
  33214. "type": "integer"
  33215. },
  33216. "auditsrc": {
  33217. "description": "更新来源 - 1:管理端 2:终端",
  33218. "type": "integer"
  33219. },
  33220. "audittime": {
  33221. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  33222. "type": "string"
  33223. },
  33224. "audittradedate": {
  33225. "description": "审核交易日(yyyyMMdd)",
  33226. "type": "string"
  33227. },
  33228. "cardnum": {
  33229. "description": "提货人证件号码",
  33230. "type": "string"
  33231. },
  33232. "cardtypeid": {
  33233. "description": "提货人证件类型",
  33234. "type": "integer"
  33235. },
  33236. "checkremark": {
  33237. "description": "审核备注",
  33238. "type": "string"
  33239. },
  33240. "cityid": {
  33241. "description": "市",
  33242. "type": "integer"
  33243. },
  33244. "cityname": {
  33245. "description": "城市名称",
  33246. "type": "string"
  33247. },
  33248. "confirmtime": {
  33249. "description": "取货时间 或 收货时间",
  33250. "type": "string"
  33251. },
  33252. "countryid": {
  33253. "description": "国家",
  33254. "type": "integer"
  33255. },
  33256. "countryname": {
  33257. "description": "国家名称",
  33258. "type": "string"
  33259. },
  33260. "decimalplace": {
  33261. "description": "商品报价小数位",
  33262. "type": "integer"
  33263. },
  33264. "districtid": {
  33265. "description": "地区",
  33266. "type": "integer"
  33267. },
  33268. "districtname": {
  33269. "description": "地区名称",
  33270. "type": "string"
  33271. },
  33272. "enumdicname": {
  33273. "description": "单位名称(提货商品)",
  33274. "type": "string"
  33275. },
  33276. "expresscompany": {
  33277. "description": "物流公司",
  33278. "type": "string"
  33279. },
  33280. "expressnum": {
  33281. "description": "物流单号",
  33282. "type": "string"
  33283. },
  33284. "goodsagreeunit": {
  33285. "description": "交易商品乘数",
  33286. "type": "number"
  33287. },
  33288. "goodscode": {
  33289. "description": "商品代码",
  33290. "type": "string"
  33291. },
  33292. "goodsid": {
  33293. "description": "商品ID",
  33294. "type": "integer"
  33295. },
  33296. "goodsname": {
  33297. "description": "商品名称",
  33298. "type": "string"
  33299. },
  33300. "goodsqty": {
  33301. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  33302. "type": "number"
  33303. },
  33304. "handlestatus": {
  33305. "description": "处理状态",
  33306. "type": "integer"
  33307. },
  33308. "logincode": {
  33309. "description": "账号(登录代码, 有可能为空)",
  33310. "type": "string"
  33311. },
  33312. "marketid": {
  33313. "description": "市场ID",
  33314. "type": "integer"
  33315. },
  33316. "phonenum": {
  33317. "description": "提货人联系方式",
  33318. "type": "string"
  33319. },
  33320. "pickupgoodsagreeunit": {
  33321. "description": "提货商品合约乘数",
  33322. "type": "number"
  33323. },
  33324. "pickupgoodsid": {
  33325. "description": "提货商品ID",
  33326. "type": "string"
  33327. },
  33328. "pickupgoodsname": {
  33329. "description": "提货商品名称",
  33330. "type": "string"
  33331. },
  33332. "pickupgoodsqty": {
  33333. "description": "提货商品手数(数量)",
  33334. "type": "number"
  33335. },
  33336. "pickupgoodsunitid": {
  33337. "description": "单位ID(提货商品)",
  33338. "type": "integer"
  33339. },
  33340. "pickupratio": {
  33341. "description": "提货系数",
  33342. "type": "number"
  33343. },
  33344. "preparedays": {
  33345. "description": "备货期(天)-提货单明细表",
  33346. "type": "integer"
  33347. },
  33348. "provinceid": {
  33349. "description": "省",
  33350. "type": "integer"
  33351. },
  33352. "provincename": {
  33353. "description": "省名称",
  33354. "type": "string"
  33355. },
  33356. "qty": {
  33357. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  33358. "type": "number"
  33359. },
  33360. "qtydecimalplace": {
  33361. "description": "商品数量小数位",
  33362. "type": "integer"
  33363. },
  33364. "recivername": {
  33365. "description": "提货人姓名",
  33366. "type": "string"
  33367. },
  33368. "reqtime": {
  33369. "description": "提货申请时间",
  33370. "type": "string"
  33371. },
  33372. "storeuserid": {
  33373. "description": "门店用户ID (千海金)",
  33374. "type": "integer"
  33375. },
  33376. "storeusername": {
  33377. "description": "门店用户名称",
  33378. "type": "string"
  33379. },
  33380. "takemode": {
  33381. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  33382. "type": "integer"
  33383. },
  33384. "takeorderid": {
  33385. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  33386. "type": "string"
  33387. },
  33388. "takeorderstatus": {
  33389. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  33390. "type": "integer"
  33391. },
  33392. "takeremark": {
  33393. "description": "提货备注",
  33394. "type": "string"
  33395. },
  33396. "tradedate": {
  33397. "description": "交易日(yyyyMMdd)",
  33398. "type": "string"
  33399. },
  33400. "updatetime": {
  33401. "description": "更新时间",
  33402. "type": "string"
  33403. },
  33404. "userid": {
  33405. "description": "用户ID",
  33406. "type": "integer"
  33407. },
  33408. "userinfotype": {
  33409. "description": "客户类型 1-个人 2-企业",
  33410. "type": "integer"
  33411. },
  33412. "username": {
  33413. "description": "用户名称",
  33414. "type": "string"
  33415. }
  33416. }
  33417. },
  33418. "models.QhjUserNodeCfgAndStatus": {
  33419. "type": "object",
  33420. "properties": {
  33421. "agreementcontent": {
  33422. "description": "协议内容",
  33423. "type": "string"
  33424. },
  33425. "agreementid": {
  33426. "description": "协议ID",
  33427. "type": "integer"
  33428. },
  33429. "agreementname": {
  33430. "description": "协议名称",
  33431. "type": "string"
  33432. },
  33433. "agreementno": {
  33434. "description": "协议编号",
  33435. "type": "string"
  33436. },
  33437. "agreementtype": {
  33438. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33439. "type": "integer"
  33440. },
  33441. "agreementversion": {
  33442. "description": "协议版本号",
  33443. "type": "integer"
  33444. },
  33445. "configid": {
  33446. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  33447. "type": "integer"
  33448. },
  33449. "createtime": {
  33450. "description": "创建时间",
  33451. "type": "string"
  33452. },
  33453. "goodsid": {
  33454. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33455. "type": "integer"
  33456. },
  33457. "nodetype": {
  33458. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33459. "type": "integer"
  33460. },
  33461. "signtimestamp": {
  33462. "description": "签约状态时间戳(最近一次)",
  33463. "type": "string"
  33464. },
  33465. "tradedate": {
  33466. "description": "签约交易日(yyyyMMdd)",
  33467. "type": "string"
  33468. },
  33469. "userid": {
  33470. "description": "客户ID",
  33471. "type": "integer"
  33472. }
  33473. }
  33474. },
  33475. "models.Qhjgoodsex": {
  33476. "type": "object",
  33477. "properties": {
  33478. "canfinance": {
  33479. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  33480. "type": "integer"
  33481. },
  33482. "canregularlybuy": {
  33483. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  33484. "type": "integer"
  33485. },
  33486. "defaulttradeuserid": {
  33487. "description": "默认交易用户ID",
  33488. "type": "integer"
  33489. },
  33490. "deliverygoodsid": {
  33491. "description": "现货品种ID",
  33492. "type": "integer"
  33493. },
  33494. "goodsid": {
  33495. "description": "商品ID(自增ID SEQ_GOODS)",
  33496. "type": "integer"
  33497. },
  33498. "minamount": {
  33499. "description": "最小购买金额",
  33500. "type": "number"
  33501. },
  33502. "regularlybuyminamount": {
  33503. "description": "定投最小金额",
  33504. "type": "number"
  33505. },
  33506. "regularlybuyminqty": {
  33507. "description": "定投最小数量",
  33508. "type": "number"
  33509. },
  33510. "spotgoodsbrandid": {
  33511. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  33512. "type": "integer"
  33513. },
  33514. "visibilityforenterprise": {
  33515. "description": "企业客户是否可见 - 0:不可见 1:可见",
  33516. "type": "integer"
  33517. },
  33518. "visibilityforpersonal": {
  33519. "description": "个人客户是否可见 - 0:不可见 1:可见",
  33520. "type": "integer"
  33521. },
  33522. "wrstandardid": {
  33523. "description": "现货商品ID",
  33524. "type": "integer"
  33525. }
  33526. }
  33527. },
  33528. "models.QueryErrorInfosRsp": {
  33529. "type": "object",
  33530. "required": [
  33531. "errorid"
  33532. ],
  33533. "properties": {
  33534. "description": {
  33535. "description": "异常描述",
  33536. "type": "string"
  33537. },
  33538. "errorcode": {
  33539. "description": "异常代码",
  33540. "type": "string"
  33541. },
  33542. "errorid": {
  33543. "description": "异常ID",
  33544. "type": "integer"
  33545. },
  33546. "modulecode": {
  33547. "description": "所属模块",
  33548. "type": "string"
  33549. },
  33550. "operatecode": {
  33551. "description": "所属操作",
  33552. "type": "string"
  33553. },
  33554. "rownumber": {
  33555. "description": "行号",
  33556. "type": "string"
  33557. }
  33558. }
  33559. },
  33560. "models.QueryHedgeOrderDetailRsp": {
  33561. "type": "object",
  33562. "properties": {
  33563. "accountid": {
  33564. "description": "账户ID",
  33565. "type": "integer"
  33566. },
  33567. "buyorsell": {
  33568. "description": "买卖 - 0:买 1:卖",
  33569. "type": "integer"
  33570. },
  33571. "cancellogincode": {
  33572. "description": "撤单人",
  33573. "type": "string"
  33574. },
  33575. "channelbuildtype": {
  33576. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  33577. "type": "integer"
  33578. },
  33579. "channelinnerorderstatus": {
  33580. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  33581. "type": "integer"
  33582. },
  33583. "channeloperatetype": {
  33584. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  33585. "type": "integer"
  33586. },
  33587. "closetype": {
  33588. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  33589. "type": "integer"
  33590. },
  33591. "curexchangerate": {
  33592. "description": "当前汇率",
  33593. "type": "number"
  33594. },
  33595. "decimalplace": {
  33596. "description": "商品报价小数位",
  33597. "type": "integer"
  33598. },
  33599. "exchangefullname": {
  33600. "description": "外部交易所全称",
  33601. "type": "string"
  33602. },
  33603. "goodscode": {
  33604. "description": "商品代码(内部)",
  33605. "type": "string"
  33606. },
  33607. "goodsid": {
  33608. "description": "商品ID",
  33609. "type": "integer"
  33610. },
  33611. "goodsname": {
  33612. "description": "商品名称",
  33613. "type": "string"
  33614. },
  33615. "marketid": {
  33616. "description": "市场ID",
  33617. "type": "integer"
  33618. },
  33619. "openfreezemargin": {
  33620. "description": "冻结保证金(冻结交易金额)",
  33621. "type": "number"
  33622. },
  33623. "orderid": {
  33624. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33625. "type": "string"
  33626. },
  33627. "orderlogincode": {
  33628. "description": "委托人",
  33629. "type": "string"
  33630. },
  33631. "orderprice": {
  33632. "description": "委托价格(账户)",
  33633. "type": "number"
  33634. },
  33635. "orderqty": {
  33636. "description": "委托数量",
  33637. "type": "integer"
  33638. },
  33639. "ordertime": {
  33640. "description": "委托时间",
  33641. "type": "string"
  33642. },
  33643. "pricemode": {
  33644. "description": "取价方式 - 1:市价 2: 限价",
  33645. "type": "integer"
  33646. },
  33647. "tradedate": {
  33648. "description": "交易日(yyyyMMdd)",
  33649. "type": "string"
  33650. },
  33651. "tradeqty": {
  33652. "description": "成交数量",
  33653. "type": "integer"
  33654. }
  33655. }
  33656. },
  33657. "models.QueryHedgeTradeDetailRsp": {
  33658. "type": "object",
  33659. "properties": {
  33660. "accountid": {
  33661. "description": "账号ID",
  33662. "type": "integer"
  33663. },
  33664. "buyorsell": {
  33665. "description": "方向 - 0:买 1:卖",
  33666. "type": "integer"
  33667. },
  33668. "channelbuildtype": {
  33669. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  33670. "type": "integer"
  33671. },
  33672. "closecharge": {
  33673. "description": "平仓手续费(账户)",
  33674. "type": "number"
  33675. },
  33676. "closecharge2": {
  33677. "description": "平仓手续费(商品)",
  33678. "type": "number"
  33679. },
  33680. "closepl": {
  33681. "description": "平仓盈亏(账户)",
  33682. "type": "number"
  33683. },
  33684. "closepl2": {
  33685. "description": "平仓盈亏(商品)",
  33686. "type": "number"
  33687. },
  33688. "closepl3": {
  33689. "description": "平仓盈亏(账户)(逐笔)",
  33690. "type": "number"
  33691. },
  33692. "closepl4": {
  33693. "description": "平仓盈亏(商品)(逐笔)",
  33694. "type": "number"
  33695. },
  33696. "closetype": {
  33697. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  33698. "type": "integer"
  33699. },
  33700. "curexchangerate": {
  33701. "description": "当前汇率",
  33702. "type": "number"
  33703. },
  33704. "decimalplace": {
  33705. "description": "商品报价小数位",
  33706. "type": "integer"
  33707. },
  33708. "exchangefullname": {
  33709. "description": "外部交易所全称",
  33710. "type": "string"
  33711. },
  33712. "goodscode": {
  33713. "description": "商品代码(内部)",
  33714. "type": "string"
  33715. },
  33716. "goodsid": {
  33717. "description": "商品ID",
  33718. "type": "integer"
  33719. },
  33720. "goodsname": {
  33721. "description": "商品名称",
  33722. "type": "string"
  33723. },
  33724. "marketid": {
  33725. "description": "市场ID",
  33726. "type": "integer"
  33727. },
  33728. "opencharge": {
  33729. "description": "建仓手续费(账户)",
  33730. "type": "number"
  33731. },
  33732. "opencharge2": {
  33733. "description": "建仓手续费(商品)",
  33734. "type": "number"
  33735. },
  33736. "orderid": {
  33737. "description": "委托单号",
  33738. "type": "string"
  33739. },
  33740. "orderlogincode": {
  33741. "description": "委托人",
  33742. "type": "string"
  33743. },
  33744. "tradeamount": {
  33745. "description": "成交金额(账户)",
  33746. "type": "number"
  33747. },
  33748. "tradedate": {
  33749. "description": "交易日(yyyyMMdd)",
  33750. "type": "string"
  33751. },
  33752. "tradeid": {
  33753. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33754. "type": "string"
  33755. },
  33756. "tradeprice": {
  33757. "description": "成交价格",
  33758. "type": "number"
  33759. },
  33760. "tradeqty": {
  33761. "description": "成交数量",
  33762. "type": "integer"
  33763. },
  33764. "tradetime": {
  33765. "description": "成交时间",
  33766. "type": "string"
  33767. },
  33768. "tradetype": {
  33769. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  33770. "type": "integer"
  33771. }
  33772. }
  33773. },
  33774. "models.QuotePrimaryMenu": {
  33775. "type": "object",
  33776. "properties": {
  33777. "Index": {
  33778. "description": "序号",
  33779. "type": "integer"
  33780. },
  33781. "Key": {
  33782. "description": "键名",
  33783. "type": "string"
  33784. },
  33785. "Name": {
  33786. "description": "菜单名称",
  33787. "type": "string"
  33788. },
  33789. "SubMenus": {
  33790. "description": "子菜单",
  33791. "type": "array",
  33792. "items": {
  33793. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  33794. }
  33795. },
  33796. "SubTitleType": {
  33797. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  33798. "type": "integer"
  33799. },
  33800. "TradeModes": {
  33801. "description": "包含市场交易类型",
  33802. "type": "string"
  33803. }
  33804. }
  33805. },
  33806. "models.QuoteSecondaryMenu": {
  33807. "type": "object",
  33808. "properties": {
  33809. "ExExchangeCode": {
  33810. "description": "外部交易所代码",
  33811. "type": "string"
  33812. },
  33813. "ExExchangeID": {
  33814. "description": "外部交易所ID",
  33815. "type": "integer"
  33816. },
  33817. "GoodsGroupIDs": {
  33818. "description": "商品组ID列表",
  33819. "type": "array",
  33820. "items": {
  33821. "type": "integer"
  33822. }
  33823. },
  33824. "Index": {
  33825. "description": "序号",
  33826. "type": "integer"
  33827. },
  33828. "MarketID": {
  33829. "description": "市场ID",
  33830. "type": "integer"
  33831. },
  33832. "MenuTitle": {
  33833. "description": "菜单标题(市场名称或外部交易所名称)",
  33834. "type": "string"
  33835. },
  33836. "TradeMode": {
  33837. "description": "交易模式",
  33838. "type": "integer"
  33839. }
  33840. }
  33841. },
  33842. "models.RelatedTaAccount": {
  33843. "type": "object",
  33844. "properties": {
  33845. "accountid": {
  33846. "description": "资金账户ID",
  33847. "type": "integer"
  33848. }
  33849. }
  33850. },
  33851. "models.RoleMenu": {
  33852. "type": "object",
  33853. "properties": {
  33854. "hasright": {
  33855. "description": "是否有权限 0-没有权限 1-有权限",
  33856. "type": "integer"
  33857. },
  33858. "iconame": {
  33859. "description": "菜单图标",
  33860. "type": "string"
  33861. },
  33862. "menutype": {
  33863. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  33864. "type": "integer"
  33865. },
  33866. "parentcode": {
  33867. "description": "上级资源代码",
  33868. "type": "string"
  33869. },
  33870. "remark": {
  33871. "description": "菜单备注",
  33872. "type": "string"
  33873. },
  33874. "resourcecode": {
  33875. "description": "菜单代码",
  33876. "type": "string"
  33877. },
  33878. "resourcelevel": {
  33879. "description": "级别",
  33880. "type": "integer"
  33881. },
  33882. "resourcename": {
  33883. "description": "菜单名称",
  33884. "type": "string"
  33885. },
  33886. "roleid": {
  33887. "description": "角色id",
  33888. "type": "integer"
  33889. },
  33890. "sort": {
  33891. "description": "排序",
  33892. "type": "integer"
  33893. },
  33894. "subMenu": {
  33895. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  33896. "type": "array",
  33897. "items": {
  33898. "$ref": "#/definitions/models.RoleMenu"
  33899. }
  33900. },
  33901. "url": {
  33902. "description": "URL",
  33903. "type": "string"
  33904. },
  33905. "userid": {
  33906. "description": "用户id",
  33907. "type": "integer"
  33908. }
  33909. }
  33910. },
  33911. "models.SearchGoods": {
  33912. "type": "object",
  33913. "required": [
  33914. "goodscode",
  33915. "goodsid",
  33916. "goodsname",
  33917. "marketid",
  33918. "trademode"
  33919. ],
  33920. "properties": {
  33921. "goodscode": {
  33922. "description": "商品代码(内部)",
  33923. "type": "string"
  33924. },
  33925. "goodsid": {
  33926. "description": "商品ID(自增ID SEQ_GOODS)",
  33927. "type": "integer"
  33928. },
  33929. "goodsname": {
  33930. "description": "商品名称",
  33931. "type": "string"
  33932. },
  33933. "marketid": {
  33934. "description": "所属市场ID",
  33935. "type": "integer"
  33936. },
  33937. "marketname": {
  33938. "description": "市场名称",
  33939. "type": "string"
  33940. },
  33941. "trademode": {
  33942. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33943. "type": "integer"
  33944. }
  33945. }
  33946. },
  33947. "models.Systemparam": {
  33948. "type": "object",
  33949. "required": [
  33950. "paramcode"
  33951. ],
  33952. "properties": {
  33953. "loginid": {
  33954. "description": "更新用户账号,登录账号",
  33955. "type": "string"
  33956. },
  33957. "modifyflag": {
  33958. "description": "修改标志0 不允许修改 1 允许修改",
  33959. "type": "integer"
  33960. },
  33961. "paramcode": {
  33962. "description": "参数代码",
  33963. "type": "string"
  33964. },
  33965. "paramname": {
  33966. "description": "参数名",
  33967. "type": "string"
  33968. },
  33969. "paramtype": {
  33970. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  33971. "type": "integer"
  33972. },
  33973. "paramvalue": {
  33974. "description": "参数值",
  33975. "type": "string"
  33976. },
  33977. "paramvalue2": {
  33978. "description": "参数值(CLOB)",
  33979. "type": "string"
  33980. },
  33981. "regexpress": {
  33982. "description": "正则表达式",
  33983. "type": "string"
  33984. },
  33985. "remark": {
  33986. "description": "备注",
  33987. "type": "string"
  33988. },
  33989. "serverip": {
  33990. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  33991. "type": "string"
  33992. },
  33993. "showflag": {
  33994. "description": "是否显示0 不显示 1 显示",
  33995. "type": "integer"
  33996. },
  33997. "updatetime": {
  33998. "description": "更新时间",
  33999. "type": "string"
  34000. },
  34001. "userid": {
  34002. "description": "更新用户ID",
  34003. "type": "integer"
  34004. }
  34005. }
  34006. },
  34007. "models.Szdz3convertconfig": {
  34008. "type": "object",
  34009. "required": [
  34010. "converttype",
  34011. "innergoodsid",
  34012. "outergoodscode"
  34013. ],
  34014. "properties": {
  34015. "canin": {
  34016. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  34017. "type": "integer"
  34018. },
  34019. "canout": {
  34020. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  34021. "type": "integer"
  34022. },
  34023. "converttype": {
  34024. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  34025. "type": "integer"
  34026. },
  34027. "createtime": {
  34028. "description": "创建时间",
  34029. "type": "string"
  34030. },
  34031. "creatorid": {
  34032. "description": "创建人",
  34033. "type": "integer"
  34034. },
  34035. "daymaxvalue": {
  34036. "description": "当日最大转入限制",
  34037. "type": "number"
  34038. },
  34039. "freezedays": {
  34040. "description": "冻结天数 [5:花生米转交易]",
  34041. "type": "integer"
  34042. },
  34043. "innergoodsid": {
  34044. "description": "内部商品ID[交易]",
  34045. "type": "integer"
  34046. },
  34047. "inratio": {
  34048. "description": "目标值",
  34049. "type": "integer"
  34050. },
  34051. "modifierid": {
  34052. "description": "修改人",
  34053. "type": "integer"
  34054. },
  34055. "modifytime": {
  34056. "description": "修改时间",
  34057. "type": "string"
  34058. },
  34059. "outergoodscode": {
  34060. "description": "外部商品代码[JD\\PD]",
  34061. "type": "string"
  34062. },
  34063. "outratio": {
  34064. "description": "源值",
  34065. "type": "integer"
  34066. },
  34067. "pddecimalplace": {
  34068. "description": "PD小数位",
  34069. "type": "integer"
  34070. },
  34071. "timemaxvalue": {
  34072. "description": "单次最大转入限制",
  34073. "type": "number"
  34074. },
  34075. "timeminvalue": {
  34076. "description": "单次最小转入限制",
  34077. "type": "number"
  34078. }
  34079. }
  34080. },
  34081. "models.Szdz3searchwhitelist": {
  34082. "type": "object",
  34083. "required": [
  34084. "userid"
  34085. ],
  34086. "properties": {
  34087. "createtime": {
  34088. "description": "创建时间",
  34089. "type": "string"
  34090. },
  34091. "creatorid": {
  34092. "description": "创建人",
  34093. "type": "integer"
  34094. },
  34095. "modifierid": {
  34096. "description": "修改人",
  34097. "type": "integer"
  34098. },
  34099. "modifytime": {
  34100. "description": "修改时间",
  34101. "type": "string"
  34102. },
  34103. "userid": {
  34104. "description": "用户ID",
  34105. "type": "integer"
  34106. }
  34107. }
  34108. },
  34109. "models.TBGoods": {
  34110. "type": "object",
  34111. "properties": {
  34112. "agreeunit": {
  34113. "description": "合约乘数",
  34114. "type": "number"
  34115. },
  34116. "enumdicname": {
  34117. "description": "单位名称",
  34118. "type": "string"
  34119. },
  34120. "goodscode": {
  34121. "description": "商品代码(内部)",
  34122. "type": "string"
  34123. },
  34124. "goodsid": {
  34125. "description": "商品ID(自增ID SEQ_GOODS)",
  34126. "type": "integer"
  34127. },
  34128. "goodsname": {
  34129. "description": "商品名称",
  34130. "type": "string"
  34131. }
  34132. }
  34133. },
  34134. "models.TBGoodsGroup": {
  34135. "type": "object",
  34136. "properties": {
  34137. "GDLST": {
  34138. "description": "商品列表",
  34139. "type": "array",
  34140. "items": {
  34141. "$ref": "#/definitions/models.TBGoods"
  34142. }
  34143. },
  34144. "convertratio": {
  34145. "description": "折算系数",
  34146. "type": "number"
  34147. },
  34148. "enumdicname": {
  34149. "description": "单位名称",
  34150. "type": "string"
  34151. },
  34152. "exexchangecode": {
  34153. "description": "交易所代码",
  34154. "type": "string"
  34155. },
  34156. "exexchangename": {
  34157. "description": "交易所名称",
  34158. "type": "string"
  34159. },
  34160. "goodsgroupid": {
  34161. "description": "商品组ID(自增ID)",
  34162. "type": "integer"
  34163. },
  34164. "goodsgroupname": {
  34165. "description": "商品组名称",
  34166. "type": "string"
  34167. },
  34168. "goodunitid": {
  34169. "description": "报价单位ID",
  34170. "type": "integer"
  34171. }
  34172. }
  34173. },
  34174. "models.TBMiddleGoods": {
  34175. "type": "object",
  34176. "properties": {
  34177. "GPLST": {
  34178. "description": "期货品种列表",
  34179. "type": "array",
  34180. "items": {
  34181. "$ref": "#/definitions/models.TBGoodsGroup"
  34182. }
  34183. },
  34184. "WDLST": {
  34185. "description": "商品信息列表(现货品类)",
  34186. "type": "array",
  34187. "items": {
  34188. "$ref": "#/definitions/models.TBWrstandard"
  34189. }
  34190. },
  34191. "areauserid": {
  34192. "description": "机构用户ID",
  34193. "type": "integer"
  34194. },
  34195. "enumdicname": {
  34196. "description": "单位名称",
  34197. "type": "string"
  34198. },
  34199. "goodsunitid": {
  34200. "description": "套保品种单位id",
  34201. "type": "integer"
  34202. },
  34203. "middlegoodscode": {
  34204. "description": "套保品种代码",
  34205. "type": "string"
  34206. },
  34207. "middlegoodsid": {
  34208. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  34209. "type": "integer"
  34210. },
  34211. "middlegoodsname": {
  34212. "description": "套保品种名称",
  34213. "type": "string"
  34214. },
  34215. "needarbitrageratio": {
  34216. "description": "套利比率",
  34217. "type": "number"
  34218. },
  34219. "needhedgeratio": {
  34220. "description": "套保比率",
  34221. "type": "number"
  34222. }
  34223. }
  34224. },
  34225. "models.TBWrstandard": {
  34226. "type": "object",
  34227. "properties": {
  34228. "convertratio": {
  34229. "description": "折算系数",
  34230. "type": "number"
  34231. },
  34232. "deliverygoodsname": {
  34233. "description": "品种名称",
  34234. "type": "string"
  34235. },
  34236. "enumdicname": {
  34237. "description": "单位名称",
  34238. "type": "string"
  34239. },
  34240. "vatrate": {
  34241. "description": "增值税率",
  34242. "type": "number"
  34243. },
  34244. "wrstandardcode": {
  34245. "description": "现货商品代码",
  34246. "type": "string"
  34247. },
  34248. "wrstandardid": {
  34249. "description": "现货商品ID(SEQ_WRSTANDARD)",
  34250. "type": "integer"
  34251. },
  34252. "wrstandardname": {
  34253. "description": "现货商品名称",
  34254. "type": "string"
  34255. }
  34256. }
  34257. },
  34258. "models.Taaccount": {
  34259. "type": "object",
  34260. "required": [
  34261. "accountid",
  34262. "userid"
  34263. ],
  34264. "properties": {
  34265. "accountflag": {
  34266. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  34267. "type": "integer"
  34268. },
  34269. "accountid": {
  34270. "description": "资金账户ID",
  34271. "type": "integer"
  34272. },
  34273. "accountname": {
  34274. "description": "账户名称",
  34275. "type": "string"
  34276. },
  34277. "balance": {
  34278. "description": "期初余额",
  34279. "type": "number"
  34280. },
  34281. "capitalbalance": {
  34282. "description": "本金余额[外部子账户实际出入金余额]",
  34283. "type": "number"
  34284. },
  34285. "changeflag": {
  34286. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  34287. "type": "integer"
  34288. },
  34289. "changetime": {
  34290. "description": "账户状态变更时间",
  34291. "type": "string"
  34292. },
  34293. "closepl": {
  34294. "description": "今日平仓盈亏",
  34295. "type": "number"
  34296. },
  34297. "creditdecrease": {
  34298. "description": "今日授信减少",
  34299. "type": "number"
  34300. },
  34301. "creditincrease": {
  34302. "description": "今日授信增加",
  34303. "type": "number"
  34304. },
  34305. "curamount": {
  34306. "description": "总市值(从持仓中统计)",
  34307. "type": "number"
  34308. },
  34309. "currencyid": {
  34310. "description": "货币ID",
  34311. "type": "integer"
  34312. },
  34313. "currentbalance": {
  34314. "description": "期末余额",
  34315. "type": "number"
  34316. },
  34317. "freezecharge": {
  34318. "description": "手续费冻结",
  34319. "type": "number"
  34320. },
  34321. "freezemargin": {
  34322. "description": "冻结保证金",
  34323. "type": "number"
  34324. },
  34325. "fromaccountid": {
  34326. "description": "所属上级账户",
  34327. "type": "integer"
  34328. },
  34329. "inamount": {
  34330. "description": "今日入金金额(包括三方入金)",
  34331. "type": "number"
  34332. },
  34333. "ismain": {
  34334. "description": "是否母账号 0:不是母账户 1:是母账户",
  34335. "type": "integer"
  34336. },
  34337. "ismarketaccount": {
  34338. "description": "是否机构接单账号 0:不是 1:是",
  34339. "type": "integer"
  34340. },
  34341. "isreckonaccount": {
  34342. "description": "是否机构分润账号 0:不是 1:是",
  34343. "type": "integer"
  34344. },
  34345. "mortgagecredit": {
  34346. "description": "授信金额",
  34347. "type": "number"
  34348. },
  34349. "orifreezecharge": {
  34350. "description": "期初手续费冻结",
  34351. "type": "number"
  34352. },
  34353. "orifreezemargin": {
  34354. "description": "期初冻结保证金",
  34355. "type": "number"
  34356. },
  34357. "orimortgagecredit": {
  34358. "description": "期初授信金额",
  34359. "type": "number"
  34360. },
  34361. "oriothercredit": {
  34362. "description": "期初其它授信金额",
  34363. "type": "number"
  34364. },
  34365. "oriotherfreezemargin": {
  34366. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  34367. "type": "number"
  34368. },
  34369. "orioutamountfreeze": {
  34370. "description": "期初出金冻结",
  34371. "type": "number"
  34372. },
  34373. "oriusedmargin": {
  34374. "description": "期初占用保证金",
  34375. "type": "number"
  34376. },
  34377. "othercredit": {
  34378. "description": "其它授信金额",
  34379. "type": "number"
  34380. },
  34381. "othercreditdecrease": {
  34382. "description": "今日其它授信减少",
  34383. "type": "number"
  34384. },
  34385. "othercreditincrease": {
  34386. "description": "今日其它授信增加",
  34387. "type": "number"
  34388. },
  34389. "otherfreezemargin": {
  34390. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  34391. "type": "number"
  34392. },
  34393. "otherincome": {
  34394. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  34395. "type": "number"
  34396. },
  34397. "otherpay": {
  34398. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  34399. "type": "number"
  34400. },
  34401. "outamount": {
  34402. "description": "今日出金金额(包括三方出金)",
  34403. "type": "number"
  34404. },
  34405. "outamountfreeze": {
  34406. "description": "出金冻结",
  34407. "type": "number"
  34408. },
  34409. "outthreshold": {
  34410. "description": "出金阈值",
  34411. "type": "number"
  34412. },
  34413. "parentaccountid": {
  34414. "description": "所属根账号",
  34415. "type": "integer"
  34416. },
  34417. "paycharge": {
  34418. "description": "今日手续费支出",
  34419. "type": "number"
  34420. },
  34421. "relatedaccountstatus": {
  34422. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  34423. "type": "integer"
  34424. },
  34425. "relateduserid": {
  34426. "description": "关联用户",
  34427. "type": "integer"
  34428. },
  34429. "remainamount": {
  34430. "description": "融资额(从融资合同中统计)",
  34431. "type": "number"
  34432. },
  34433. "serivcegroup": {
  34434. "description": "服务分组",
  34435. "type": "integer"
  34436. },
  34437. "signstatus": {
  34438. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  34439. "type": "integer"
  34440. },
  34441. "sublevelpath": {
  34442. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  34443. "type": "string"
  34444. },
  34445. "taaccounttype": {
  34446. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  34447. "type": "integer"
  34448. },
  34449. "thirdinamount": {
  34450. "description": "今日三方入金",
  34451. "type": "number"
  34452. },
  34453. "thirdoutamount": {
  34454. "description": "今日三方出金",
  34455. "type": "number"
  34456. },
  34457. "tradestatus": {
  34458. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  34459. "type": "integer"
  34460. },
  34461. "tradestatuschangetime": {
  34462. "description": "激活时间",
  34463. "type": "string"
  34464. },
  34465. "transferamount": {
  34466. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  34467. "type": "number"
  34468. },
  34469. "usedmargin": {
  34470. "description": "占用保证金",
  34471. "type": "number"
  34472. },
  34473. "userid": {
  34474. "description": "用户ID",
  34475. "type": "integer"
  34476. }
  34477. }
  34478. },
  34479. "models.Tablecolumnconfig": {
  34480. "type": "object",
  34481. "required": [
  34482. "autoid"
  34483. ],
  34484. "properties": {
  34485. "aligntype": {
  34486. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  34487. "type": "integer"
  34488. },
  34489. "autoid": {
  34490. "description": "AutoID",
  34491. "type": "integer"
  34492. },
  34493. "columnfield": {
  34494. "description": "列字段",
  34495. "type": "string"
  34496. },
  34497. "columntitle": {
  34498. "description": "列Title",
  34499. "type": "string"
  34500. },
  34501. "columnwidth": {
  34502. "description": "列宽",
  34503. "type": "string"
  34504. },
  34505. "formatterstring": {
  34506. "description": "格式化字符",
  34507. "type": "string"
  34508. },
  34509. "formattertype": {
  34510. "description": "格式化类型",
  34511. "type": "string"
  34512. },
  34513. "groupname": {
  34514. "description": "表头分组名称",
  34515. "type": "string"
  34516. },
  34517. "isshow": {
  34518. "description": "是否显示 - 0:不显示 1:显示",
  34519. "type": "integer"
  34520. },
  34521. "needsummary": {
  34522. "description": "是否需要汇总 - 0:不需要 1:需要",
  34523. "type": "integer"
  34524. },
  34525. "orderindex": {
  34526. "description": "顺序",
  34527. "type": "integer"
  34528. },
  34529. "remark": {
  34530. "description": "备注",
  34531. "type": "string"
  34532. },
  34533. "summarytype": {
  34534. "description": "汇总类型 - 1:加总 2:最后一个",
  34535. "type": "integer"
  34536. },
  34537. "tablekey": {
  34538. "description": "列表Key",
  34539. "type": "string"
  34540. }
  34541. }
  34542. },
  34543. "models.TjmdHolderDetailTradeInfo": {
  34544. "type": "object",
  34545. "properties": {
  34546. "agreeunit": {
  34547. "description": "合约乘数",
  34548. "type": "number"
  34549. },
  34550. "buyaccountid": {
  34551. "description": "买方账户",
  34552. "type": "string"
  34553. },
  34554. "buyusername": {
  34555. "description": "买方",
  34556. "type": "string"
  34557. },
  34558. "delistingdate": {
  34559. "description": "最后结算日",
  34560. "type": "string"
  34561. },
  34562. "expiredate": {
  34563. "description": "到期结算价定价日",
  34564. "type": "string"
  34565. },
  34566. "exprieprice": {
  34567. "description": "到期清算价格",
  34568. "type": "string"
  34569. },
  34570. "goodscode": {
  34571. "description": "商品代码",
  34572. "type": "string"
  34573. },
  34574. "goodsid": {
  34575. "description": "商品ID",
  34576. "type": "integer"
  34577. },
  34578. "goodsname": {
  34579. "description": "商品名称(交易标的)",
  34580. "type": "string"
  34581. },
  34582. "lasttradedate": {
  34583. "description": "最后交易日",
  34584. "type": "string"
  34585. },
  34586. "listingdate": {
  34587. "description": "开始交易日",
  34588. "type": "string"
  34589. },
  34590. "openprice": {
  34591. "description": "成交价",
  34592. "type": "number"
  34593. },
  34594. "openqty": {
  34595. "description": "交易数量",
  34596. "type": "integer"
  34597. },
  34598. "sellaccountid": {
  34599. "description": "卖方账户",
  34600. "type": "string"
  34601. },
  34602. "sellusername": {
  34603. "description": "卖方",
  34604. "type": "string"
  34605. },
  34606. "tradeamount": {
  34607. "description": "初始名义价值",
  34608. "type": "number"
  34609. },
  34610. "tradedate": {
  34611. "description": "成交日期",
  34612. "type": "string"
  34613. },
  34614. "tradeid": {
  34615. "description": "成交编号",
  34616. "type": "string"
  34617. }
  34618. }
  34619. },
  34620. "models.TjmdMarketSection": {
  34621. "type": "object",
  34622. "properties": {
  34623. "marketsectionid": {
  34624. "description": "市场版块ID(SEQ_MARKETSECTION)",
  34625. "type": "integer"
  34626. },
  34627. "marketsectionname": {
  34628. "description": "市场版块名称",
  34629. "type": "string"
  34630. },
  34631. "mlist": {
  34632. "description": "市场列表(板块下面有多少个市场)",
  34633. "type": "array",
  34634. "items": {
  34635. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  34636. }
  34637. },
  34638. "orderindex": {
  34639. "description": "排序",
  34640. "type": "integer"
  34641. },
  34642. "pictureurl": {
  34643. "description": "图片url, 规格(90*90)",
  34644. "type": "string"
  34645. },
  34646. "remark": {
  34647. "description": "备注",
  34648. "type": "string"
  34649. }
  34650. }
  34651. },
  34652. "models.TjmdMarketSectionConfig": {
  34653. "type": "object",
  34654. "properties": {
  34655. "auctionwrtype": {
  34656. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  34657. "type": "integer"
  34658. },
  34659. "canacceptquote": {
  34660. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  34661. "type": "integer"
  34662. },
  34663. "cangoodsexercise": {
  34664. "description": "[期权]是否可现货行权- 0:否 1:是",
  34665. "type": "integer"
  34666. },
  34667. "cangoodsexercisetype": {
  34668. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  34669. "type": "integer"
  34670. },
  34671. "canmanualquotestrike": {
  34672. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  34673. "type": "integer"
  34674. },
  34675. "canmutistage": {
  34676. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  34677. "type": "integer"
  34678. },
  34679. "canpreexercise": {
  34680. "description": "[期权]是否可预申报- 0:否 1:是",
  34681. "type": "integer"
  34682. },
  34683. "clearinterval": {
  34684. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  34685. "type": "integer"
  34686. },
  34687. "contracttmp": {
  34688. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  34689. "type": "string"
  34690. },
  34691. "exchareaid": {
  34692. "description": "所属交易所,可以没有",
  34693. "type": "integer"
  34694. },
  34695. "financemarketid": {
  34696. "description": "融资回购市场ID [仓单贸易]",
  34697. "type": "integer"
  34698. },
  34699. "goodstype": {
  34700. "description": "商品类型 - 1:交易商品 2:仓单商品",
  34701. "type": "integer"
  34702. },
  34703. "hasrebate": {
  34704. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  34705. "type": "integer"
  34706. },
  34707. "hastradecredit": {
  34708. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  34709. "type": "integer"
  34710. },
  34711. "haswr": {
  34712. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  34713. "type": "integer"
  34714. },
  34715. "isdeductmargin": {
  34716. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  34717. "type": "integer"
  34718. },
  34719. "isrecordsource": {
  34720. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  34721. "type": "integer"
  34722. },
  34723. "isreleasemargin": {
  34724. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  34725. "type": "integer"
  34726. },
  34727. "isupdatereckonprice": {
  34728. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  34729. "type": "integer"
  34730. },
  34731. "listingmode": {
  34732. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  34733. "type": "integer"
  34734. },
  34735. "marginformula": {
  34736. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  34737. "type": "integer"
  34738. },
  34739. "marginformula2": {
  34740. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  34741. "type": "integer"
  34742. },
  34743. "marketid": {
  34744. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  34745. "type": "integer"
  34746. },
  34747. "marketname": {
  34748. "description": "市场名称",
  34749. "type": "string"
  34750. },
  34751. "marketsectionid": {
  34752. "description": "市场版块ID(SEQ_MARKETSECTION)",
  34753. "type": "integer"
  34754. },
  34755. "marketserviceid": {
  34756. "description": "市场服务ID",
  34757. "type": "integer"
  34758. },
  34759. "marketstatus": {
  34760. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  34761. "type": "integer"
  34762. },
  34763. "markettype": {
  34764. "description": "市场类型- 1:非交易服务 2:交易服务",
  34765. "type": "integer"
  34766. },
  34767. "matchermode": {
  34768. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  34769. "type": "integer"
  34770. },
  34771. "nowrquotaflag": {
  34772. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  34773. "type": "integer"
  34774. },
  34775. "openmethod": {
  34776. "description": "开盘模式 - 0 自动 1手动",
  34777. "type": "integer"
  34778. },
  34779. "orderindex": {
  34780. "description": "排序",
  34781. "type": "integer"
  34782. },
  34783. "otcuserid": {
  34784. "description": "场外期权做市商[场外期权]",
  34785. "type": "integer"
  34786. },
  34787. "outersynctime": {
  34788. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  34789. "type": "string"
  34790. },
  34791. "paylaterflag": {
  34792. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  34793. "type": "integer"
  34794. },
  34795. "pendingflag": {
  34796. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  34797. "type": "integer"
  34798. },
  34799. "pendingtime": {
  34800. "description": "待开市时间[通道交易-对冲](HH:mm)",
  34801. "type": "string"
  34802. },
  34803. "performancetempid": {
  34804. "description": "履约计划模板ID - 作废",
  34805. "type": "integer"
  34806. },
  34807. "premiumquotemode": {
  34808. "description": "权利金报价方式 - 1:自动 2:手动",
  34809. "type": "integer"
  34810. },
  34811. "rebateratio": {
  34812. "description": "返利比率[竞价式]",
  34813. "type": "number"
  34814. },
  34815. "reckonorder": {
  34816. "description": "结算顺序",
  34817. "type": "integer"
  34818. },
  34819. "reckonpricealgorithm": {
  34820. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  34821. "type": "integer"
  34822. },
  34823. "reckonpriceparam": {
  34824. "description": "结算价参数",
  34825. "type": "integer"
  34826. },
  34827. "reckontime": {
  34828. "description": "结算时间[通道交易-对冲](HH:mm)",
  34829. "type": "string"
  34830. },
  34831. "roleprioritytype": {
  34832. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  34833. "type": "integer"
  34834. },
  34835. "selllistingauditflag": {
  34836. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  34837. "type": "integer"
  34838. },
  34839. "trademarkettype": {
  34840. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  34841. "type": "integer"
  34842. },
  34843. "trademode": {
  34844. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34845. "type": "integer"
  34846. },
  34847. "tradeproperty": {
  34848. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  34849. "type": "integer"
  34850. },
  34851. "tradetype": {
  34852. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  34853. "type": "integer"
  34854. },
  34855. "updatereckonpriceinterval": {
  34856. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  34857. "type": "integer"
  34858. }
  34859. }
  34860. },
  34861. "models.TjmdQuoteGoods": {
  34862. "type": "object",
  34863. "properties": {
  34864. "buyqty": {
  34865. "description": "买量(暂不做, 无值, 保留字段)",
  34866. "type": "number"
  34867. },
  34868. "decimalplace": {
  34869. "description": "报价小数位",
  34870. "type": "integer"
  34871. },
  34872. "goodscode": {
  34873. "description": "合约代码",
  34874. "type": "string"
  34875. },
  34876. "goodsgroupid": {
  34877. "description": "商品组ID(自增ID)",
  34878. "type": "integer"
  34879. },
  34880. "goodsgroupname": {
  34881. "description": "商品组名称",
  34882. "type": "string"
  34883. },
  34884. "goodsid": {
  34885. "description": "合约id",
  34886. "type": "integer"
  34887. },
  34888. "goodsname": {
  34889. "description": "合约名称",
  34890. "type": "string"
  34891. },
  34892. "refgoodscode": {
  34893. "description": "标的合约代码",
  34894. "type": "string"
  34895. },
  34896. "refgoodsid": {
  34897. "description": "标的合约id",
  34898. "type": "integer"
  34899. },
  34900. "refgoodsname": {
  34901. "description": "标的合约名称",
  34902. "type": "string"
  34903. },
  34904. "sellqty": {
  34905. "description": "卖量(暂不做, 无值, 保留字段)",
  34906. "type": "number"
  34907. }
  34908. }
  34909. },
  34910. "models.TjmdTodayAccountMargin": {
  34911. "type": "object",
  34912. "properties": {
  34913. "accountid": {
  34914. "description": "账号ID",
  34915. "type": "integer"
  34916. },
  34917. "goodsid": {
  34918. "description": "商品ID",
  34919. "type": "integer"
  34920. },
  34921. "infoc": {
  34922. "description": "配置参数",
  34923. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  34924. },
  34925. "marketid": {
  34926. "description": "市场ID",
  34927. "type": "integer"
  34928. }
  34929. }
  34930. },
  34931. "models.TjmdTradeOrderDetail": {
  34932. "type": "object",
  34933. "properties": {
  34934. "buyorsell": {
  34935. "description": "买卖方向 0-买 1-卖",
  34936. "type": "integer"
  34937. },
  34938. "goodsid": {
  34939. "description": "商品id",
  34940. "type": "integer"
  34941. },
  34942. "marketmaxsub": {
  34943. "description": "市价最大偏移范围 [浮动价 - 点差]",
  34944. "type": "number"
  34945. },
  34946. "orderid": {
  34947. "description": "委托单号",
  34948. "type": "string"
  34949. },
  34950. "orderprice": {
  34951. "description": "委托价格",
  34952. "type": "number"
  34953. },
  34954. "orderqty": {
  34955. "description": "委托数量",
  34956. "type": "integer"
  34957. },
  34958. "pricemode": {
  34959. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  34960. "type": "integer"
  34961. },
  34962. "userid": {
  34963. "description": "用户id",
  34964. "type": "integer"
  34965. },
  34966. "username": {
  34967. "description": "用户名称(已脱敏)",
  34968. "type": "string"
  34969. }
  34970. }
  34971. },
  34972. "models.TjmdTransferApply": {
  34973. "type": "object",
  34974. "properties": {
  34975. "applyid": {
  34976. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  34977. "type": "integer"
  34978. },
  34979. "applystatus": {
  34980. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  34981. "type": "integer"
  34982. },
  34983. "applytime": {
  34984. "description": "申请时间(时间)",
  34985. "type": "string"
  34986. },
  34987. "auditremark": {
  34988. "description": "审核备注(拒绝原因?)",
  34989. "type": "string"
  34990. },
  34991. "begindate": {
  34992. "description": "开始交易日(yyyymmdd)",
  34993. "type": "string"
  34994. },
  34995. "buyorsell": {
  34996. "description": "买卖 - 0:买 1:卖",
  34997. "type": "integer"
  34998. },
  34999. "enddate": {
  35000. "description": "结束交易日(yyyymmdd)",
  35001. "type": "string"
  35002. },
  35003. "goodscode": {
  35004. "description": "商品代码",
  35005. "type": "string"
  35006. },
  35007. "goodsid": {
  35008. "description": "商品ID",
  35009. "type": "integer"
  35010. },
  35011. "goodsname": {
  35012. "description": "商品名称",
  35013. "type": "string"
  35014. },
  35015. "marketid": {
  35016. "description": "市场ID",
  35017. "type": "integer"
  35018. },
  35019. "qty": {
  35020. "description": "转让数量(数量)",
  35021. "type": "number"
  35022. },
  35023. "tradeid": {
  35024. "description": "成交单号(关联持仓)",
  35025. "type": "string"
  35026. },
  35027. "transferamount": {
  35028. "description": "转让总金额(金额)",
  35029. "type": "number"
  35030. },
  35031. "transferprice": {
  35032. "description": "转让价格(协议价格)",
  35033. "type": "number"
  35034. }
  35035. }
  35036. },
  35037. "models.TradeHolderDetail": {
  35038. "type": "object",
  35039. "properties": {
  35040. "accountid": {
  35041. "description": "账号ID",
  35042. "type": "integer"
  35043. },
  35044. "agreeunit": {
  35045. "description": "合约乘数",
  35046. "type": "number"
  35047. },
  35048. "buyorsell": {
  35049. "description": "方向 - 0:买 1:卖",
  35050. "type": "integer"
  35051. },
  35052. "currencyid": {
  35053. "description": "商品币种id",
  35054. "type": "integer"
  35055. },
  35056. "currencyname": {
  35057. "description": "币种名称",
  35058. "type": "string"
  35059. },
  35060. "decimalplace": {
  35061. "description": "商品价格小数位",
  35062. "type": "integer"
  35063. },
  35064. "enumdicname": {
  35065. "description": "商品单位名称",
  35066. "type": "string"
  35067. },
  35068. "expirecycle": {
  35069. "description": "行权周期(天) - 1:滚动行权时填写",
  35070. "type": "integer"
  35071. },
  35072. "expiredate": {
  35073. "description": "行权日(yyyyMMdd) - 到期日",
  35074. "type": "string"
  35075. },
  35076. "expiretype": {
  35077. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  35078. "type": "integer"
  35079. },
  35080. "freezeqty": {
  35081. "description": "冻结数量",
  35082. "type": "number"
  35083. },
  35084. "goodscode": {
  35085. "description": "商品代码",
  35086. "type": "string"
  35087. },
  35088. "goodsid": {
  35089. "description": "商品ID",
  35090. "type": "integer"
  35091. },
  35092. "goodsname": {
  35093. "description": "商品名称",
  35094. "type": "string"
  35095. },
  35096. "goodunitid": {
  35097. "description": "商品单位id",
  35098. "type": "integer"
  35099. },
  35100. "holderamount": {
  35101. "description": "持仓金额",
  35102. "type": "number"
  35103. },
  35104. "holdercredit": {
  35105. "description": "持仓授信金额",
  35106. "type": "number"
  35107. },
  35108. "holderdays": {
  35109. "description": "剩余冻结天数",
  35110. "type": "integer"
  35111. },
  35112. "holderprice": {
  35113. "description": "持仓价格",
  35114. "type": "number"
  35115. },
  35116. "holderqty": {
  35117. "description": "持仓数量",
  35118. "type": "number"
  35119. },
  35120. "isconfirmexercise": {
  35121. "description": "是否确认行权- 0:否 1:是",
  35122. "type": "integer"
  35123. },
  35124. "ispreexercise": {
  35125. "description": "是否预申报- 0:否 1:是 2:不可行权",
  35126. "type": "integer"
  35127. },
  35128. "marketid": {
  35129. "description": "市场id",
  35130. "type": "integer"
  35131. },
  35132. "marketname": {
  35133. "description": "市场名称",
  35134. "type": "string"
  35135. },
  35136. "openprice": {
  35137. "description": "建仓价格",
  35138. "type": "number"
  35139. },
  35140. "openqty": {
  35141. "description": "建仓数量",
  35142. "type": "number"
  35143. },
  35144. "optiontype": {
  35145. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35146. "type": "integer"
  35147. },
  35148. "preexerciseprice": {
  35149. "description": "预申报价格",
  35150. "type": "number"
  35151. },
  35152. "premium": {
  35153. "description": "权利金",
  35154. "type": "number"
  35155. },
  35156. "qtydecimalplace": {
  35157. "description": "商品成交量小数位",
  35158. "type": "integer"
  35159. },
  35160. "refgoodscode": {
  35161. "description": "标的合约代码",
  35162. "type": "string"
  35163. },
  35164. "refgoodsid": {
  35165. "description": "标的合约id",
  35166. "type": "integer"
  35167. },
  35168. "releaseamount": {
  35169. "description": "释放持仓金额",
  35170. "type": "number"
  35171. },
  35172. "releaseholdercredit": {
  35173. "description": "释放持仓授信金额",
  35174. "type": "number"
  35175. },
  35176. "taname": {
  35177. "description": "资金账号名称",
  35178. "type": "string"
  35179. },
  35180. "tradeamount": {
  35181. "description": "成交金额",
  35182. "type": "number"
  35183. },
  35184. "tradedate": {
  35185. "description": "交易日(yyyyMMdd)",
  35186. "type": "string"
  35187. },
  35188. "tradeid": {
  35189. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35190. "type": "string"
  35191. },
  35192. "trademode": {
  35193. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  35194. "type": "integer"
  35195. },
  35196. "tradeproperty": {
  35197. "description": "交易属性",
  35198. "type": "integer"
  35199. },
  35200. "tradetime": {
  35201. "description": "交易时间",
  35202. "type": "string"
  35203. },
  35204. "userid": {
  35205. "description": "用户id",
  35206. "type": "integer"
  35207. },
  35208. "username": {
  35209. "description": "用户名称",
  35210. "type": "string"
  35211. }
  35212. }
  35213. },
  35214. "models.UserCollectConfig": {
  35215. "type": "object",
  35216. "properties": {
  35217. "accountstatus": {
  35218. "description": "账户状态 - 1:正常 2:停用 3:注销",
  35219. "type": "integer"
  35220. },
  35221. "collectaccountname": {
  35222. "description": "收款人账户名称",
  35223. "type": "string"
  35224. },
  35225. "collectaccountno": {
  35226. "description": "收款人账户",
  35227. "type": "string"
  35228. },
  35229. "collectbankname": {
  35230. "description": "收款人开户行",
  35231. "type": "string"
  35232. },
  35233. "collectbranchbankname": {
  35234. "description": "收款人开户支行",
  35235. "type": "string"
  35236. },
  35237. "collectconfigid": {
  35238. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  35239. "type": "string"
  35240. },
  35241. "remark": {
  35242. "description": "备注",
  35243. "type": "string"
  35244. },
  35245. "userid": {
  35246. "description": "收款人用户ID",
  35247. "type": "integer"
  35248. }
  35249. }
  35250. },
  35251. "models.UserReceiveInfo": {
  35252. "type": "object",
  35253. "properties": {
  35254. "address": {
  35255. "description": "提货人详细地址",
  35256. "type": "string"
  35257. },
  35258. "autoid": {
  35259. "description": "AutoID",
  35260. "type": "integer"
  35261. },
  35262. "cardnum": {
  35263. "description": "证件号码(加密存储)",
  35264. "type": "string"
  35265. },
  35266. "cardtypeid": {
  35267. "description": "证件类型",
  35268. "type": "integer"
  35269. },
  35270. "cityid": {
  35271. "description": "市",
  35272. "type": "integer"
  35273. },
  35274. "cityname": {
  35275. "description": "城市名称",
  35276. "type": "string"
  35277. },
  35278. "countryid": {
  35279. "description": "国家",
  35280. "type": "integer"
  35281. },
  35282. "countryname": {
  35283. "description": "国家名称",
  35284. "type": "string"
  35285. },
  35286. "districtid": {
  35287. "description": "地区",
  35288. "type": "integer"
  35289. },
  35290. "districtname": {
  35291. "description": "地区名称",
  35292. "type": "string"
  35293. },
  35294. "hasencrypt": {
  35295. "description": "数据是否已加密 - 0:未加密 1:已加密",
  35296. "type": "integer"
  35297. },
  35298. "isdefault": {
  35299. "description": "是否默认地址 - 0:否 1:是",
  35300. "type": "integer"
  35301. },
  35302. "phonenum": {
  35303. "description": "提货人联系方式(加密存储)",
  35304. "type": "string"
  35305. },
  35306. "provinceid": {
  35307. "description": "省",
  35308. "type": "integer"
  35309. },
  35310. "provincename": {
  35311. "description": "省名称",
  35312. "type": "string"
  35313. },
  35314. "receivername": {
  35315. "description": "提货人姓名",
  35316. "type": "string"
  35317. },
  35318. "takeremark": {
  35319. "description": "提货备注",
  35320. "type": "string"
  35321. },
  35322. "userid": {
  35323. "description": "用户ID",
  35324. "type": "integer"
  35325. }
  35326. }
  35327. },
  35328. "models.Useraccount": {
  35329. "type": "object",
  35330. "required": [
  35331. "userid"
  35332. ],
  35333. "properties": {
  35334. "accountname": {
  35335. "description": "账户名称(机构名称)",
  35336. "type": "string"
  35337. },
  35338. "accountstatus": {
  35339. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  35340. "type": "integer"
  35341. },
  35342. "applysrc": {
  35343. "description": "申请来源 - 1:管理端 2:终端",
  35344. "type": "integer"
  35345. },
  35346. "auditremark": {
  35347. "description": "审核备注",
  35348. "type": "string"
  35349. },
  35350. "auditsrc": {
  35351. "description": "审核来源 - 1:管理端 2:终端",
  35352. "type": "integer"
  35353. },
  35354. "audittime": {
  35355. "description": "审核时间",
  35356. "type": "string"
  35357. },
  35358. "audituserid": {
  35359. "description": "审核人",
  35360. "type": "integer"
  35361. },
  35362. "broker": {
  35363. "description": "所属经纪人ID",
  35364. "type": "integer"
  35365. },
  35366. "canceltime": {
  35367. "description": "销户时间",
  35368. "type": "string"
  35369. },
  35370. "canceluserid": {
  35371. "description": "销户人",
  35372. "type": "integer"
  35373. },
  35374. "canrecommend": {
  35375. "description": "是否可推荐 - 0:不可 1;可",
  35376. "type": "integer"
  35377. },
  35378. "createtime": {
  35379. "description": "创建时间",
  35380. "type": "string"
  35381. },
  35382. "creatorid": {
  35383. "description": "创建人",
  35384. "type": "integer"
  35385. },
  35386. "hasauth": {
  35387. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  35388. "type": "integer"
  35389. },
  35390. "isanonymous": {
  35391. "description": "是否匿名下单 - 0:否 1:是",
  35392. "type": "integer"
  35393. },
  35394. "maxinvestornum": {
  35395. "description": "最大用户数(经纪会员下投资者个数)",
  35396. "type": "integer"
  35397. },
  35398. "memberuserid": {
  35399. "description": "所属会员ID",
  35400. "type": "integer"
  35401. },
  35402. "modifierid": {
  35403. "description": "修改人",
  35404. "type": "integer"
  35405. },
  35406. "modifyremark": {
  35407. "description": "变更备注",
  35408. "type": "string"
  35409. },
  35410. "modifystatus": {
  35411. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  35412. "type": "integer"
  35413. },
  35414. "modifytime": {
  35415. "description": "修改时间",
  35416. "type": "string"
  35417. },
  35418. "parenttopuser": {
  35419. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  35420. "type": "string"
  35421. },
  35422. "parentuserid": {
  35423. "description": "所属机构ID",
  35424. "type": "integer"
  35425. },
  35426. "reckonaccountid": {
  35427. "description": "默认结算资金账号ID(机构分润使用) 作废",
  35428. "type": "integer"
  35429. },
  35430. "refercount": {
  35431. "description": "推荐总人数",
  35432. "type": "integer"
  35433. },
  35434. "refereeuserid": {
  35435. "description": "推荐人ID",
  35436. "type": "integer"
  35437. },
  35438. "refernum": {
  35439. "description": "推荐码",
  35440. "type": "string"
  35441. },
  35442. "rootuserid": {
  35443. "description": "根用户ID",
  35444. "type": "integer"
  35445. },
  35446. "subaccountlevel": {
  35447. "description": "子账户层数",
  35448. "type": "integer"
  35449. },
  35450. "subarealevelpath": {
  35451. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  35452. "type": "string"
  35453. },
  35454. "userid": {
  35455. "description": "用户ID",
  35456. "type": "integer"
  35457. },
  35458. "usertype": {
  35459. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35460. "type": "integer"
  35461. }
  35462. }
  35463. },
  35464. "models.Userfavoritegoods": {
  35465. "type": "object",
  35466. "required": [
  35467. "goodsid"
  35468. ],
  35469. "properties": {
  35470. "goodsid": {
  35471. "description": "商品ID",
  35472. "type": "integer"
  35473. }
  35474. }
  35475. },
  35476. "models.Userinfo": {
  35477. "type": "object",
  35478. "required": [
  35479. "userid"
  35480. ],
  35481. "properties": {
  35482. "address": {
  35483. "description": "地址",
  35484. "type": "string"
  35485. },
  35486. "attachment1": {
  35487. "description": "附件1",
  35488. "type": "string"
  35489. },
  35490. "attachment2": {
  35491. "description": "附件2",
  35492. "type": "string"
  35493. },
  35494. "bankaccount": {
  35495. "description": "银行帐号 (加密存储)",
  35496. "type": "string"
  35497. },
  35498. "bankaccountname": {
  35499. "description": "收款人名称",
  35500. "type": "string"
  35501. },
  35502. "bankcardfrontphotourl": {
  35503. "description": "银行卡正面照地址",
  35504. "type": "string"
  35505. },
  35506. "bankid": {
  35507. "description": "银行编码",
  35508. "type": "string"
  35509. },
  35510. "bankname": {
  35511. "description": "银行名称",
  35512. "type": "string"
  35513. },
  35514. "biznature": {
  35515. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  35516. "type": "integer"
  35517. },
  35518. "bizscope": {
  35519. "description": "企业经营范围(企业)",
  35520. "type": "string"
  35521. },
  35522. "cardbackphotourl": {
  35523. "description": "证件背面图片地址",
  35524. "type": "string"
  35525. },
  35526. "cardfrontphotourl": {
  35527. "description": "证件正面图片地址",
  35528. "type": "string"
  35529. },
  35530. "cardnum": {
  35531. "description": "证件号码(加密存储)",
  35532. "type": "string"
  35533. },
  35534. "cardtypeid": {
  35535. "description": "证件类型ID",
  35536. "type": "integer"
  35537. },
  35538. "cityid": {
  35539. "description": "市",
  35540. "type": "integer"
  35541. },
  35542. "company": {
  35543. "description": "公司(个人)",
  35544. "type": "string"
  35545. },
  35546. "contactname": {
  35547. "description": "联系人",
  35548. "type": "string"
  35549. },
  35550. "countryid": {
  35551. "description": "国家",
  35552. "type": "integer"
  35553. },
  35554. "createtime": {
  35555. "description": "创建时间",
  35556. "type": "string"
  35557. },
  35558. "creatorid": {
  35559. "description": "创建人",
  35560. "type": "integer"
  35561. },
  35562. "customername": {
  35563. "description": "客户名称(企业名称)",
  35564. "type": "string"
  35565. },
  35566. "districtid": {
  35567. "description": "地区",
  35568. "type": "integer"
  35569. },
  35570. "email": {
  35571. "description": "邮件(加密存储)",
  35572. "type": "string"
  35573. },
  35574. "fax": {
  35575. "description": "传真(加密存储)",
  35576. "type": "string"
  35577. },
  35578. "halfbodyphotourl": {
  35579. "description": "半身照地址",
  35580. "type": "string"
  35581. },
  35582. "hasencrypt": {
  35583. "description": "数据是否已加密 - 0:未加密 1:已加密",
  35584. "type": "integer"
  35585. },
  35586. "headurl": {
  35587. "description": "头像地址",
  35588. "type": "string"
  35589. },
  35590. "legalcardbackphotourl": {
  35591. "description": "法人身份证背面照地址",
  35592. "type": "string"
  35593. },
  35594. "legalcardfrontphotourl": {
  35595. "description": "法人身份证正面照地址",
  35596. "type": "string"
  35597. },
  35598. "legalpersonname": {
  35599. "description": "法人姓名(企业)",
  35600. "type": "string"
  35601. },
  35602. "mobile": {
  35603. "description": "手机号码(加密存储)",
  35604. "type": "string"
  35605. },
  35606. "mobile2": {
  35607. "description": "手机号码[明文-尚志]",
  35608. "type": "string"
  35609. },
  35610. "modifierid": {
  35611. "description": "修改人",
  35612. "type": "integer"
  35613. },
  35614. "modifiertime": {
  35615. "description": "修改时间",
  35616. "type": "string"
  35617. },
  35618. "needinvoice": {
  35619. "description": "是否需要发票 - 0:不需要 1:需要",
  35620. "type": "integer"
  35621. },
  35622. "nickname": {
  35623. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  35624. "type": "string"
  35625. },
  35626. "openmode": {
  35627. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  35628. "type": "integer"
  35629. },
  35630. "otherurl": {
  35631. "description": "其它图片地址[使用分号分隔]",
  35632. "type": "string"
  35633. },
  35634. "postalcode": {
  35635. "description": "邮政编码",
  35636. "type": "string"
  35637. },
  35638. "provinceid": {
  35639. "description": "省",
  35640. "type": "integer"
  35641. },
  35642. "qq": {
  35643. "description": "QQ(加密存储",
  35644. "type": "string"
  35645. },
  35646. "remark": {
  35647. "description": "备注",
  35648. "type": "string"
  35649. },
  35650. "sex": {
  35651. "description": "用户性别 0: 女 1: 男",
  35652. "type": "integer"
  35653. },
  35654. "signpdfurl": {
  35655. "description": "签约pdf文件",
  35656. "type": "string"
  35657. },
  35658. "telphone": {
  35659. "description": "联系电话(加密存储)",
  35660. "type": "string"
  35661. },
  35662. "userid": {
  35663. "description": "用户ID",
  35664. "type": "integer"
  35665. },
  35666. "userinfotype": {
  35667. "description": "用户信息类型 - 1:个人 2:企业",
  35668. "type": "integer"
  35669. },
  35670. "userstatus": {
  35671. "description": "用户状态 - 1:正常 2:注销",
  35672. "type": "integer"
  35673. },
  35674. "usertype": {
  35675. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  35676. "type": "integer"
  35677. },
  35678. "wechat": {
  35679. "description": "微信(加密存储)",
  35680. "type": "string"
  35681. },
  35682. "wskhinfo": {
  35683. "description": "开户申请信息(JSON)",
  35684. "type": "string"
  35685. }
  35686. }
  35687. },
  35688. "models.WRSConverTDetail": {
  35689. "type": "object",
  35690. "properties": {
  35691. "convertratio": {
  35692. "description": "套保系数",
  35693. "type": "number"
  35694. },
  35695. "deliverygoodscode": {
  35696. "description": "现货商品代码",
  35697. "type": "string"
  35698. },
  35699. "deliverygoodsid": {
  35700. "description": "现货品种ID",
  35701. "type": "integer"
  35702. },
  35703. "deliverygoodsname": {
  35704. "description": "现货商品名称",
  35705. "type": "string"
  35706. },
  35707. "enumdicname": {
  35708. "description": "单位名称",
  35709. "type": "string"
  35710. },
  35711. "goodsunitid": {
  35712. "description": "套保品种单位id",
  35713. "type": "integer"
  35714. },
  35715. "middlegoodscode": {
  35716. "description": "套保品种代码",
  35717. "type": "string"
  35718. },
  35719. "middlegoodsid": {
  35720. "description": "套保品种ID",
  35721. "type": "integer"
  35722. },
  35723. "middlegoodsname": {
  35724. "description": "套保品种名称",
  35725. "type": "string"
  35726. },
  35727. "modifytime": {
  35728. "description": "修改时间",
  35729. "type": "string"
  35730. },
  35731. "wrstandardid": {
  35732. "description": "品类ID",
  35733. "type": "integer"
  35734. }
  35735. }
  35736. },
  35737. "models.WRStandardInfo": {
  35738. "type": "object",
  35739. "required": [
  35740. "wrstandardid"
  35741. ],
  35742. "properties": {
  35743. "areauserid": {
  35744. "description": "所属机构",
  35745. "type": "integer"
  35746. },
  35747. "convertfactor": {
  35748. "description": "标仓系数",
  35749. "type": "number"
  35750. },
  35751. "createtime": {
  35752. "description": "创建时间",
  35753. "type": "string"
  35754. },
  35755. "creatorid": {
  35756. "description": "创建人",
  35757. "type": "integer"
  35758. },
  35759. "deliverygoodsid": {
  35760. "description": "品种ID",
  35761. "type": "integer"
  35762. },
  35763. "deliverygoodsname": {
  35764. "description": "交割商品名称",
  35765. "type": "string"
  35766. },
  35767. "factoryitemjson": {
  35768. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  35769. "type": "string"
  35770. },
  35771. "isvalid": {
  35772. "description": "是否有效 - 0:无效 1:有效",
  35773. "type": "integer"
  35774. },
  35775. "minivalue": {
  35776. "description": "最小变动值",
  35777. "type": "integer"
  35778. },
  35779. "minivaluedp": {
  35780. "description": "最小变动值小数位",
  35781. "type": "integer"
  35782. },
  35783. "realminivalue": {
  35784. "description": "实际最小变动值",
  35785. "type": "integer"
  35786. },
  35787. "realminivaluedp": {
  35788. "description": "实际最小变动值小数位",
  35789. "type": "integer"
  35790. },
  35791. "remark": {
  35792. "description": "备注",
  35793. "type": "string"
  35794. },
  35795. "unitid": {
  35796. "description": "单位ID",
  35797. "type": "integer"
  35798. },
  35799. "unitname": {
  35800. "description": "单位",
  35801. "type": "string"
  35802. },
  35803. "updatetime": {
  35804. "description": "更新时间",
  35805. "type": "string"
  35806. },
  35807. "updatorid": {
  35808. "description": "更新人",
  35809. "type": "integer"
  35810. },
  35811. "wrsstatus": {
  35812. "description": "状态 - 作废 - 0:未激活 1:正常",
  35813. "type": "integer"
  35814. },
  35815. "wrstandardcode": {
  35816. "description": "现货品类代码",
  35817. "type": "string"
  35818. },
  35819. "wrstandardid": {
  35820. "description": "现货品类ID(SEQ_WRSTANDARD)",
  35821. "type": "integer"
  35822. },
  35823. "wrstandardname": {
  35824. "description": "现货品类名称",
  35825. "type": "string"
  35826. }
  35827. }
  35828. },
  35829. "models.WRTradeBargainApply": {
  35830. "type": "object",
  35831. "properties": {
  35832. "accountid": {
  35833. "description": "摘牌资金账号",
  35834. "type": "integer"
  35835. },
  35836. "applyprice": {
  35837. "description": "申请价格(议价价格)",
  35838. "type": "string"
  35839. },
  35840. "applyqty": {
  35841. "description": "摘牌数量(议价数量)",
  35842. "type": "number"
  35843. },
  35844. "applyremark": {
  35845. "description": "申请备注",
  35846. "type": "string"
  35847. },
  35848. "applystatus": {
  35849. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  35850. "type": "integer"
  35851. },
  35852. "applytime": {
  35853. "description": "申请时间(议价时间)",
  35854. "type": "string"
  35855. },
  35856. "begindate": {
  35857. "description": "开始交易日(yyyymmdd)",
  35858. "type": "string"
  35859. },
  35860. "buyorsell": {
  35861. "description": "买卖(挂牌类型) - 0:买 1:卖",
  35862. "type": "integer"
  35863. },
  35864. "confirmremark": {
  35865. "description": "确认备注",
  35866. "type": "string"
  35867. },
  35868. "confirmtime": {
  35869. "description": "确认时间",
  35870. "type": "string"
  35871. },
  35872. "confirmuserid": {
  35873. "description": "确认人",
  35874. "type": "integer"
  35875. },
  35876. "deliverygoodscode": {
  35877. "description": "品种代码",
  35878. "type": "string"
  35879. },
  35880. "deliverygoodsid": {
  35881. "description": "品种ID",
  35882. "type": "integer"
  35883. },
  35884. "deliverygoodsname": {
  35885. "description": "品种名称",
  35886. "type": "string"
  35887. },
  35888. "deliverymonth": {
  35889. "description": "交收月",
  35890. "type": "string"
  35891. },
  35892. "enddate": {
  35893. "description": "结束交易日(yyyymmdd)",
  35894. "type": "string"
  35895. },
  35896. "enumdicname": {
  35897. "description": "单位名称",
  35898. "type": "string"
  35899. },
  35900. "fixedprice": {
  35901. "description": "挂牌价格",
  35902. "type": "number"
  35903. },
  35904. "handlestatus": {
  35905. "description": "处理状态",
  35906. "type": "integer"
  35907. },
  35908. "marginvalue": {
  35909. "description": "履约保证金比例",
  35910. "type": "number"
  35911. },
  35912. "marketid": {
  35913. "description": "市场ID",
  35914. "type": "integer"
  35915. },
  35916. "matchaccountid": {
  35917. "description": "挂牌方资金账号",
  35918. "type": "integer"
  35919. },
  35920. "matchuserid": {
  35921. "description": "挂牌方用户id",
  35922. "type": "integer"
  35923. },
  35924. "matchusername": {
  35925. "description": "挂牌方用户名称(已脱敏)",
  35926. "type": "string"
  35927. },
  35928. "minivalue": {
  35929. "description": "现货商品最小变动值",
  35930. "type": "integer"
  35931. },
  35932. "optioncompare": {
  35933. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35934. "type": "string"
  35935. },
  35936. "orderqty": {
  35937. "description": "挂牌数量",
  35938. "type": "integer"
  35939. },
  35940. "refprice": {
  35941. "description": "参考价格",
  35942. "type": "string"
  35943. },
  35944. "retcode": {
  35945. "description": "委托返回代码",
  35946. "type": "integer"
  35947. },
  35948. "templatename": {
  35949. "description": "履约方式(履约模板名称)",
  35950. "type": "string"
  35951. },
  35952. "tradedate": {
  35953. "description": "交易日(yyyyMMdd)",
  35954. "type": "string"
  35955. },
  35956. "userid": {
  35957. "description": "摘牌人用户ID(议价人ID)",
  35958. "type": "integer"
  35959. },
  35960. "username": {
  35961. "description": "议价人名字(已脱敏)",
  35962. "type": "string"
  35963. },
  35964. "validtime": {
  35965. "description": "有效期限",
  35966. "type": "string"
  35967. },
  35968. "warehouseid": {
  35969. "description": "仓库ID",
  35970. "type": "integer"
  35971. },
  35972. "warehousename": {
  35973. "description": "仓库名称",
  35974. "type": "string"
  35975. },
  35976. "wrbargainid": {
  35977. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  35978. "type": "string"
  35979. },
  35980. "wrfactortypeid": {
  35981. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35982. "type": "string"
  35983. },
  35984. "wrfactortypename": {
  35985. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35986. "type": "string"
  35987. },
  35988. "wrstandardcode": {
  35989. "description": "现货商品代码",
  35990. "type": "string"
  35991. },
  35992. "wrstandardid": {
  35993. "description": "现货商品ID",
  35994. "type": "integer"
  35995. },
  35996. "wrstandardname": {
  35997. "description": "商品名称",
  35998. "type": "string"
  35999. },
  36000. "wrtradeorderid": {
  36001. "description": "关联委托单ID",
  36002. "type": "string"
  36003. },
  36004. "wrtypename": {
  36005. "description": "商品",
  36006. "type": "string"
  36007. }
  36008. }
  36009. },
  36010. "models.Warehouseinfo": {
  36011. "type": "object",
  36012. "required": [
  36013. "autoid",
  36014. "warehousecode"
  36015. ],
  36016. "properties": {
  36017. "address": {
  36018. "description": "详细地址",
  36019. "type": "string"
  36020. },
  36021. "areauserid": {
  36022. "description": "所属机构",
  36023. "type": "integer"
  36024. },
  36025. "autoid": {
  36026. "description": "自增ID",
  36027. "type": "integer"
  36028. },
  36029. "cityid": {
  36030. "description": "市",
  36031. "type": "integer"
  36032. },
  36033. "contactname": {
  36034. "description": "联系人",
  36035. "type": "string"
  36036. },
  36037. "contactnum": {
  36038. "description": "联系电话",
  36039. "type": "string"
  36040. },
  36041. "countryid": {
  36042. "description": "国家",
  36043. "type": "integer"
  36044. },
  36045. "createtime": {
  36046. "description": "创建时间",
  36047. "type": "string"
  36048. },
  36049. "districtid": {
  36050. "description": "区",
  36051. "type": "integer"
  36052. },
  36053. "hasvideo": {
  36054. "description": "是否有视频 - 0:无 1:有",
  36055. "type": "integer"
  36056. },
  36057. "provinceid": {
  36058. "description": "省",
  36059. "type": "integer"
  36060. },
  36061. "remark": {
  36062. "description": "审核备注",
  36063. "type": "string"
  36064. },
  36065. "videourl": {
  36066. "description": "视频地址",
  36067. "type": "string"
  36068. },
  36069. "warehousecode": {
  36070. "description": "仓库代码",
  36071. "type": "string"
  36072. },
  36073. "warehousename": {
  36074. "description": "仓库名称",
  36075. "type": "string"
  36076. },
  36077. "warehousestatus": {
  36078. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  36079. "type": "integer"
  36080. },
  36081. "warehousetype": {
  36082. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  36083. "type": "integer"
  36084. }
  36085. }
  36086. },
  36087. "models.WrAverageTradePrice": {
  36088. "type": "object",
  36089. "properties": {
  36090. "averageprice": {
  36091. "description": "成交均价",
  36092. "type": "number"
  36093. },
  36094. "tradedate": {
  36095. "description": "交易日yyyymm",
  36096. "type": "string"
  36097. }
  36098. }
  36099. },
  36100. "models.WrBrandAndYears": {
  36101. "type": "object",
  36102. "properties": {
  36103. "brandlst": {
  36104. "description": "品牌列表",
  36105. "type": "array",
  36106. "items": {
  36107. "$ref": "#/definitions/models.DgFactoryItem"
  36108. }
  36109. },
  36110. "yearslst": {
  36111. "description": "年份列表",
  36112. "type": "array",
  36113. "items": {
  36114. "$ref": "#/definitions/models.DgFactoryItem"
  36115. }
  36116. }
  36117. }
  36118. },
  36119. "models.WrBsGoodsInfo": {
  36120. "type": "object",
  36121. "properties": {
  36122. "buyorsell": {
  36123. "description": "买卖方向 0-买 1-卖",
  36124. "type": "integer"
  36125. },
  36126. "goodsid": {
  36127. "description": "交易合约ID",
  36128. "type": "integer"
  36129. },
  36130. "lstitem": {
  36131. "description": "商品信息项",
  36132. "type": "array",
  36133. "items": {
  36134. "$ref": "#/definitions/models.WrTypeItem"
  36135. }
  36136. },
  36137. "lststep": {
  36138. "description": "履约规则",
  36139. "type": "array",
  36140. "items": {
  36141. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36142. }
  36143. }
  36144. }
  36145. },
  36146. "models.WrBuybackDetail": {
  36147. "type": "object",
  36148. "properties": {
  36149. "buybackamount": {
  36150. "description": "回购金额",
  36151. "type": "number"
  36152. },
  36153. "buybackqty": {
  36154. "description": "回购数量",
  36155. "type": "number"
  36156. },
  36157. "buybackreleasemargin": {
  36158. "description": "回购释放保证金",
  36159. "type": "number"
  36160. },
  36161. "buybacktime": {
  36162. "description": "回购时间",
  36163. "type": "string"
  36164. },
  36165. "errordesc": {
  36166. "description": "错误描述",
  36167. "type": "string"
  36168. },
  36169. "handlestatus": {
  36170. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  36171. "type": "integer"
  36172. },
  36173. "relatedwrid": {
  36174. "description": "关联仓单ID",
  36175. "type": "integer"
  36176. },
  36177. "scfcontractid": {
  36178. "description": "SCF合同ID",
  36179. "type": "string"
  36180. },
  36181. "scfwrbuybackid": {
  36182. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  36183. "type": "integer"
  36184. },
  36185. "tradedate": {
  36186. "description": "交易日(yyyyMMdd)",
  36187. "type": "string"
  36188. }
  36189. }
  36190. },
  36191. "models.WrClientAdSpaceConfig": {
  36192. "type": "object",
  36193. "properties": {
  36194. "adspaceid": {
  36195. "description": "广告位ID",
  36196. "type": "integer"
  36197. },
  36198. "adspacename": {
  36199. "description": "广告位名称",
  36200. "type": "string"
  36201. },
  36202. "adspacetype": {
  36203. "description": "广告位类型 - 1:固定广告位",
  36204. "type": "integer"
  36205. },
  36206. "areauserid": {
  36207. "description": "所属机构ID",
  36208. "type": "integer"
  36209. },
  36210. "createdate": {
  36211. "description": "创建时间",
  36212. "type": "string"
  36213. },
  36214. "imagepath": {
  36215. "description": "图片",
  36216. "type": "string"
  36217. },
  36218. "modifierid": {
  36219. "description": "操作人",
  36220. "type": "integer"
  36221. },
  36222. "recsize": {
  36223. "description": "推荐尺寸",
  36224. "type": "string"
  36225. },
  36226. "title": {
  36227. "description": "标题",
  36228. "type": "string"
  36229. },
  36230. "updatedate": {
  36231. "description": "更新时间",
  36232. "type": "string"
  36233. },
  36234. "urlcontent": {
  36235. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  36236. "type": "string"
  36237. },
  36238. "urltype": {
  36239. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  36240. "type": "integer"
  36241. }
  36242. }
  36243. },
  36244. "models.WrDeliveryAvalidHoldLB": {
  36245. "type": "object",
  36246. "properties": {
  36247. "accountid": {
  36248. "description": "资金账号",
  36249. "type": "integer"
  36250. },
  36251. "avalidqty": {
  36252. "description": "数量(可点选数量)",
  36253. "type": "number"
  36254. },
  36255. "deliverygoodsid": {
  36256. "description": "品种id",
  36257. "type": "integer"
  36258. },
  36259. "enumdicname": {
  36260. "description": "单位名称",
  36261. "type": "string"
  36262. },
  36263. "goodsid": {
  36264. "description": "x合约商品id",
  36265. "type": "integer"
  36266. },
  36267. "ladingbillid": {
  36268. "description": "提单id",
  36269. "type": "string"
  36270. },
  36271. "pgoodscode": {
  36272. "description": "p商品代码(点价合约)",
  36273. "type": "string"
  36274. },
  36275. "pgoodsid": {
  36276. "description": "p商品id(点价合约)",
  36277. "type": "integer"
  36278. },
  36279. "pgoodsname": {
  36280. "description": "p商品名称(点价合约)",
  36281. "type": "string"
  36282. },
  36283. "pricemove": {
  36284. "description": "升贴水",
  36285. "type": "number"
  36286. },
  36287. "subnum": {
  36288. "description": "提单子id",
  36289. "type": "integer"
  36290. },
  36291. "userid": {
  36292. "description": "用户id",
  36293. "type": "integer"
  36294. },
  36295. "username": {
  36296. "description": "仓单持有人",
  36297. "type": "string"
  36298. },
  36299. "warehousecode": {
  36300. "description": "仓库代码",
  36301. "type": "string"
  36302. },
  36303. "warehouseid": {
  36304. "description": "仓库id",
  36305. "type": "integer"
  36306. },
  36307. "warehousename": {
  36308. "description": "仓库名称",
  36309. "type": "string"
  36310. },
  36311. "wrfactortypeid": {
  36312. "description": "仓单要素id",
  36313. "type": "string"
  36314. },
  36315. "wrstandardcode": {
  36316. "description": "品代码",
  36317. "type": "string"
  36318. },
  36319. "wrstandardid": {
  36320. "description": "品类d",
  36321. "type": "integer"
  36322. },
  36323. "wrstandardname": {
  36324. "description": "品类名称",
  36325. "type": "string"
  36326. },
  36327. "wrtypename": {
  36328. "description": "商品",
  36329. "type": "string"
  36330. },
  36331. "xgoodscode": {
  36332. "description": "x合约代码",
  36333. "type": "string"
  36334. },
  36335. "xgoodsname": {
  36336. "description": "x合约名称",
  36337. "type": "string"
  36338. }
  36339. }
  36340. },
  36341. "models.WrDeliveryDetail": {
  36342. "type": "object",
  36343. "properties": {
  36344. "accountid": {
  36345. "description": "账号ID",
  36346. "type": "integer"
  36347. },
  36348. "averageprice": {
  36349. "description": "交割均价 = 交割金额 / 交割数量",
  36350. "type": "number"
  36351. },
  36352. "begindate": {
  36353. "description": "开始交易日(yyyymmdd)",
  36354. "type": "string"
  36355. },
  36356. "buyorsell": {
  36357. "description": "方向 - 0:买 1:卖",
  36358. "type": "integer"
  36359. },
  36360. "deliveryamount": {
  36361. "description": "货款金额(X总货款+P总货款)",
  36362. "type": "number"
  36363. },
  36364. "deliveryid": {
  36365. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  36366. "type": "string"
  36367. },
  36368. "deliveryorderid": {
  36369. "description": "申报单号",
  36370. "type": "string"
  36371. },
  36372. "deliverypricemove": {
  36373. "description": "升贴水(升贴水总额)",
  36374. "type": "number"
  36375. },
  36376. "deliveryqty": {
  36377. "description": "交收数量(点选数量)",
  36378. "type": "number"
  36379. },
  36380. "deliverystatus": {
  36381. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  36382. "type": "integer"
  36383. },
  36384. "deliverytime": {
  36385. "description": "交割时间",
  36386. "type": "string"
  36387. },
  36388. "deliverytotalamount": {
  36389. "description": "交收金额",
  36390. "type": "number"
  36391. },
  36392. "enddate": {
  36393. "description": "结束交易日(yyyymmdd)",
  36394. "type": "string"
  36395. },
  36396. "enumdicname": {
  36397. "description": "单位名称",
  36398. "type": "string"
  36399. },
  36400. "matchaccountid": {
  36401. "description": "对手账号ID",
  36402. "type": "integer"
  36403. },
  36404. "matchusername": {
  36405. "description": "对手方名称(仓单持有人)",
  36406. "type": "string"
  36407. },
  36408. "p1goodsremainamount": {
  36409. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  36410. "type": "number"
  36411. },
  36412. "pdeliverycloseqty": {
  36413. "description": "p合约平仓数量",
  36414. "type": "number"
  36415. },
  36416. "pdeliveryprice": {
  36417. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  36418. "type": "number"
  36419. },
  36420. "pgoodscode": {
  36421. "description": "商品代码",
  36422. "type": "string"
  36423. },
  36424. "pgoodsid": {
  36425. "description": "p点选合约id",
  36426. "type": "integer"
  36427. },
  36428. "pgoodsname": {
  36429. "description": "商品名称",
  36430. "type": "string"
  36431. },
  36432. "ppricemode": {
  36433. "description": "点价价格方式 - 1:商品价 2:固定值",
  36434. "type": "integer"
  36435. },
  36436. "tradedate": {
  36437. "description": "交易日(yyyymmdd)",
  36438. "type": "string"
  36439. },
  36440. "userid": {
  36441. "description": "用户id",
  36442. "type": "integer"
  36443. },
  36444. "username": {
  36445. "description": "用户名称",
  36446. "type": "string"
  36447. },
  36448. "warehousename": {
  36449. "description": "仓库名称",
  36450. "type": "string"
  36451. },
  36452. "wrfactortypeid": {
  36453. "description": "仓单要素类型ID",
  36454. "type": "string"
  36455. },
  36456. "wrtypename": {
  36457. "description": "商品",
  36458. "type": "string"
  36459. },
  36460. "xdeliverycloseqty": {
  36461. "description": "合约数量",
  36462. "type": "number"
  36463. },
  36464. "xgoodsamount": {
  36465. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  36466. "type": "number"
  36467. },
  36468. "xgoodscode": {
  36469. "description": "商品代码",
  36470. "type": "string"
  36471. },
  36472. "xgoodsid": {
  36473. "description": "x交易合约ID",
  36474. "type": "integer"
  36475. },
  36476. "xgoodsname": {
  36477. "description": "商品名称",
  36478. "type": "string"
  36479. }
  36480. }
  36481. },
  36482. "models.WrDeliveryGoodsSection": {
  36483. "type": "object",
  36484. "properties": {
  36485. "dglst": {
  36486. "description": "板块商品列表",
  36487. "type": "array",
  36488. "items": {
  36489. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  36490. }
  36491. },
  36492. "imagepath": {
  36493. "description": "图片地址",
  36494. "type": "string"
  36495. },
  36496. "orderindex": {
  36497. "description": "排序",
  36498. "type": "integer"
  36499. },
  36500. "sectionid": {
  36501. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  36502. "type": "integer"
  36503. },
  36504. "sectionname": {
  36505. "description": "版块名称",
  36506. "type": "string"
  36507. },
  36508. "sectiontype": {
  36509. "description": "版块类型 - 1:指数版块 2:普通版块",
  36510. "type": "integer"
  36511. }
  36512. }
  36513. },
  36514. "models.WrDeliveryGoodsSectionConfig": {
  36515. "type": "object",
  36516. "properties": {
  36517. "deliverygoodscode": {
  36518. "description": "现货商品代码",
  36519. "type": "string"
  36520. },
  36521. "deliverygoodsid": {
  36522. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36523. "type": "integer"
  36524. },
  36525. "deliverygoodsname": {
  36526. "description": "现货商品名称",
  36527. "type": "string"
  36528. },
  36529. "orderindex": {
  36530. "description": "排序",
  36531. "type": "integer"
  36532. }
  36533. }
  36534. },
  36535. "models.WrDraftUserInfo": {
  36536. "type": "object",
  36537. "properties": {
  36538. "address": {
  36539. "description": "地址",
  36540. "type": "string"
  36541. },
  36542. "attachment1": {
  36543. "description": "附件1",
  36544. "type": "string"
  36545. },
  36546. "attachment2": {
  36547. "description": "附件2",
  36548. "type": "string"
  36549. },
  36550. "attachment3": {
  36551. "description": "附件3",
  36552. "type": "string"
  36553. },
  36554. "attachment4": {
  36555. "description": "附件4",
  36556. "type": "string"
  36557. },
  36558. "attachment5": {
  36559. "description": "附件5",
  36560. "type": "string"
  36561. },
  36562. "bankaccount": {
  36563. "description": "银行帐号 (加密存储)",
  36564. "type": "string"
  36565. },
  36566. "bankaccountname": {
  36567. "description": "收款人名称",
  36568. "type": "string"
  36569. },
  36570. "bankcardfrontphotourl": {
  36571. "description": "银行卡正面照地址",
  36572. "type": "string"
  36573. },
  36574. "bankid": {
  36575. "description": "银行编码",
  36576. "type": "string"
  36577. },
  36578. "bankname": {
  36579. "description": "银行名称",
  36580. "type": "string"
  36581. },
  36582. "birthday": {
  36583. "description": "生日(个人:年月日)",
  36584. "type": "string"
  36585. },
  36586. "biznature": {
  36587. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  36588. "type": "integer"
  36589. },
  36590. "bizscope": {
  36591. "description": "企业经营范围(企业)",
  36592. "type": "string"
  36593. },
  36594. "biztype": {
  36595. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  36596. "type": "integer"
  36597. },
  36598. "cardbackphotourl": {
  36599. "description": "证件背面图片地址",
  36600. "type": "string"
  36601. },
  36602. "cardfrontphotourl": {
  36603. "description": "证件正面图片地址",
  36604. "type": "string"
  36605. },
  36606. "cardnum": {
  36607. "description": "证件号码(加密存储)",
  36608. "type": "string"
  36609. },
  36610. "cardtypeid": {
  36611. "description": "证件类型ID",
  36612. "type": "integer"
  36613. },
  36614. "cityid": {
  36615. "description": "市",
  36616. "type": "integer"
  36617. },
  36618. "company": {
  36619. "description": "公司(个人)",
  36620. "type": "string"
  36621. },
  36622. "contactcardbackphotourl": {
  36623. "description": "联系人证件背面图片地址",
  36624. "type": "string"
  36625. },
  36626. "contactcardfrontphotourl": {
  36627. "description": "联系人证件正面图片地址",
  36628. "type": "string"
  36629. },
  36630. "contactname": {
  36631. "description": "联系人",
  36632. "type": "string"
  36633. },
  36634. "countryid": {
  36635. "description": "国家",
  36636. "type": "integer"
  36637. },
  36638. "createtime": {
  36639. "description": "创建时间",
  36640. "type": "string"
  36641. },
  36642. "creatorid": {
  36643. "description": "创建人",
  36644. "type": "integer"
  36645. },
  36646. "creditquota": {
  36647. "description": "授信额度(金瑞)",
  36648. "type": "number"
  36649. },
  36650. "customername": {
  36651. "description": "客户名称(企业名称)",
  36652. "type": "string"
  36653. },
  36654. "districtid": {
  36655. "description": "地区",
  36656. "type": "integer"
  36657. },
  36658. "email": {
  36659. "description": "邮件(加密存储)",
  36660. "type": "string"
  36661. },
  36662. "fax": {
  36663. "description": "传真(加密存储)",
  36664. "type": "string"
  36665. },
  36666. "halfbodyphotourl": {
  36667. "description": "半身照地址",
  36668. "type": "string"
  36669. },
  36670. "hasencrypt": {
  36671. "description": "数据是否已加密 - 0:未加密 1:已加密",
  36672. "type": "integer"
  36673. },
  36674. "headurl": {
  36675. "description": "头像地址",
  36676. "type": "string"
  36677. },
  36678. "legalcardbackphotourl": {
  36679. "description": "法人身份证背面照地址",
  36680. "type": "string"
  36681. },
  36682. "legalcardfrontphotourl": {
  36683. "description": "法人身份证正面照地址",
  36684. "type": "string"
  36685. },
  36686. "legalpersonname": {
  36687. "description": "法人姓名(企业)",
  36688. "type": "string"
  36689. },
  36690. "mobile": {
  36691. "description": "手机号码(加密存储)",
  36692. "type": "string"
  36693. },
  36694. "mobile2": {
  36695. "description": "手机号码[明文-尚志]",
  36696. "type": "string"
  36697. },
  36698. "modifierid": {
  36699. "description": "修改人",
  36700. "type": "integer"
  36701. },
  36702. "modifiertime": {
  36703. "description": "修改时间",
  36704. "type": "string"
  36705. },
  36706. "needinvoice": {
  36707. "description": "是否需要发票 - 0:不需要 1:需要",
  36708. "type": "integer"
  36709. },
  36710. "nickname": {
  36711. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  36712. "type": "string"
  36713. },
  36714. "openmode": {
  36715. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  36716. "type": "integer"
  36717. },
  36718. "otherurl": {
  36719. "description": "其它图片地址[使用分号分隔]",
  36720. "type": "string"
  36721. },
  36722. "postalcode": {
  36723. "description": "邮政编码",
  36724. "type": "string"
  36725. },
  36726. "provinceid": {
  36727. "description": "省",
  36728. "type": "integer"
  36729. },
  36730. "proxystatementurl": {
  36731. "description": "授权委托书",
  36732. "type": "string"
  36733. },
  36734. "qq": {
  36735. "description": "QQ(加密存储",
  36736. "type": "string"
  36737. },
  36738. "remark": {
  36739. "description": "备注",
  36740. "type": "string"
  36741. },
  36742. "sex": {
  36743. "description": "用户性别 0: 女 1: 男",
  36744. "type": "integer"
  36745. },
  36746. "signpdfurl": {
  36747. "description": "签约pdf文件",
  36748. "type": "string"
  36749. },
  36750. "taxpayernum": {
  36751. "description": "纳税人识别号",
  36752. "type": "string"
  36753. },
  36754. "telphone": {
  36755. "description": "联系电话(加密存储)",
  36756. "type": "string"
  36757. },
  36758. "userid": {
  36759. "description": "用户ID",
  36760. "type": "integer"
  36761. },
  36762. "userinfotype": {
  36763. "description": "用户信息类型 - 1:个人 2:企业",
  36764. "type": "integer"
  36765. },
  36766. "userstatus": {
  36767. "description": "用户状态 - 1:正常 2:注销",
  36768. "type": "integer"
  36769. },
  36770. "usertype": {
  36771. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  36772. "type": "integer"
  36773. },
  36774. "wechat": {
  36775. "description": "微信(加密存储)",
  36776. "type": "string"
  36777. },
  36778. "wskhinfo": {
  36779. "description": "开户申请信息(JSON)",
  36780. "type": "string"
  36781. }
  36782. }
  36783. },
  36784. "models.WrFAProductDetail": {
  36785. "type": "object",
  36786. "properties": {
  36787. "accountid": {
  36788. "description": "资金账号",
  36789. "type": "integer"
  36790. },
  36791. "areauserid": {
  36792. "description": "金融机构ID",
  36793. "type": "integer"
  36794. },
  36795. "financingdays": {
  36796. "description": "天数(天)",
  36797. "type": "integer"
  36798. },
  36799. "interestminlen": {
  36800. "description": "最小起息天数",
  36801. "type": "integer"
  36802. },
  36803. "interestrate": {
  36804. "description": "利率",
  36805. "type": "number"
  36806. },
  36807. "interestratemode": {
  36808. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36809. "type": "integer"
  36810. },
  36811. "interestsettlemode": {
  36812. "description": "结息方式 - 1:按日结息 3:按月结息",
  36813. "type": "integer"
  36814. },
  36815. "interestsettlevalue": {
  36816. "description": "结息方式值",
  36817. "type": "integer"
  36818. },
  36819. "isautoloan": {
  36820. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  36821. "type": "integer"
  36822. },
  36823. "loantag": {
  36824. "description": "放款标识: \"放款快\" 或者为空",
  36825. "type": "string"
  36826. },
  36827. "marginratio": {
  36828. "description": "保证金比率质押率 - [仓单质押]",
  36829. "type": "number"
  36830. },
  36831. "productdetailid": {
  36832. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  36833. "type": "integer"
  36834. },
  36835. "productid": {
  36836. "description": "金融产品ID",
  36837. "type": "integer"
  36838. },
  36839. "productname": {
  36840. "description": "产品名称",
  36841. "type": "string"
  36842. },
  36843. "updatetime": {
  36844. "description": "更新时间",
  36845. "type": "string"
  36846. },
  36847. "username": {
  36848. "description": "融出方",
  36849. "type": "string"
  36850. }
  36851. }
  36852. },
  36853. "models.WrFactorTypeInfo": {
  36854. "type": "object",
  36855. "properties": {
  36856. "deliverygoodscode": {
  36857. "description": "品种代码",
  36858. "type": "string"
  36859. },
  36860. "deliverygoodsname": {
  36861. "description": "品种名称",
  36862. "type": "string"
  36863. },
  36864. "dgfactoryitemid": {
  36865. "description": "选择项id",
  36866. "type": "integer"
  36867. },
  36868. "dgfactoryitemtypeid": {
  36869. "description": "要素选择项ID (1-仓库 2-品牌)",
  36870. "type": "integer"
  36871. },
  36872. "dgfactoryitemvalue": {
  36873. "description": "要素项值",
  36874. "type": "string"
  36875. },
  36876. "itemtypename": {
  36877. "description": "要素项名称",
  36878. "type": "string"
  36879. },
  36880. "optioncompare": {
  36881. "description": "选择比较串",
  36882. "type": "string"
  36883. },
  36884. "warehouseid": {
  36885. "description": "仓库id",
  36886. "type": "integer"
  36887. },
  36888. "wrfactortypeid": {
  36889. "description": "仓单要素ID",
  36890. "type": "string"
  36891. },
  36892. "wrfactortypename": {
  36893. "description": "要素名称",
  36894. "type": "string"
  36895. },
  36896. "wrfactortypename2": {
  36897. "description": "要素名称(不含仓库)",
  36898. "type": "string"
  36899. },
  36900. "wrstandardcode": {
  36901. "description": "品类代码",
  36902. "type": "string"
  36903. },
  36904. "wrstandardid": {
  36905. "description": "品类id",
  36906. "type": "integer"
  36907. },
  36908. "wrstandardname": {
  36909. "description": "品类名称",
  36910. "type": "string"
  36911. }
  36912. }
  36913. },
  36914. "models.WrFilterItem": {
  36915. "type": "object",
  36916. "properties": {
  36917. "itemcode": {
  36918. "description": "代码",
  36919. "type": "string"
  36920. },
  36921. "itemid": {
  36922. "description": "项id",
  36923. "type": "integer"
  36924. },
  36925. "itemname": {
  36926. "description": "名称",
  36927. "type": "string"
  36928. },
  36929. "itemtype": {
  36930. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  36931. "type": "integer"
  36932. }
  36933. }
  36934. },
  36935. "models.WrFinanceBuyApply": {
  36936. "type": "object",
  36937. "properties": {
  36938. "applydate": {
  36939. "description": "申请时间",
  36940. "type": "string"
  36941. },
  36942. "applystatus": {
  36943. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  36944. "type": "integer"
  36945. },
  36946. "applyuserid": {
  36947. "description": "申请人",
  36948. "type": "integer"
  36949. },
  36950. "auditdate": {
  36951. "description": "审核时间",
  36952. "type": "string"
  36953. },
  36954. "auditremark": {
  36955. "description": "审核备注",
  36956. "type": "string"
  36957. },
  36958. "audituserid": {
  36959. "description": "审核人",
  36960. "type": "integer"
  36961. },
  36962. "buyaccountid": {
  36963. "description": "买方资金账号",
  36964. "type": "integer"
  36965. },
  36966. "buyorsell": {
  36967. "description": "买卖 - 0:买 1:卖",
  36968. "type": "integer"
  36969. },
  36970. "buyuserid": {
  36971. "description": "买方用户ID",
  36972. "type": "integer"
  36973. },
  36974. "buyusername": {
  36975. "description": "买方名称",
  36976. "type": "string"
  36977. },
  36978. "buywrtradeorderid": {
  36979. "description": "融资方买委托单ID",
  36980. "type": "string"
  36981. },
  36982. "deliverygoodscode": {
  36983. "description": "品种代码",
  36984. "type": "string"
  36985. },
  36986. "deliverygoodsid": {
  36987. "description": "品种ID",
  36988. "type": "integer"
  36989. },
  36990. "deliverygoodsname": {
  36991. "description": "品种名称",
  36992. "type": "string"
  36993. },
  36994. "deliverymonth": {
  36995. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  36996. "type": "string"
  36997. },
  36998. "enumdicname": {
  36999. "description": "单位名称",
  37000. "type": "string"
  37001. },
  37002. "financeaccountid": {
  37003. "description": "融资方资金帐户ID",
  37004. "type": "integer"
  37005. },
  37006. "financeapplyid": {
  37007. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37008. "type": "string"
  37009. },
  37010. "financeareauserid": {
  37011. "description": "融资方用户ID",
  37012. "type": "string"
  37013. },
  37014. "financename": {
  37015. "description": "融出方名称",
  37016. "type": "string"
  37017. },
  37018. "financetype": {
  37019. "description": "融资类型 1-融资回购",
  37020. "type": "integer"
  37021. },
  37022. "financingdays": {
  37023. "description": "天数(天)",
  37024. "type": "integer"
  37025. },
  37026. "freezebuymargin": {
  37027. "description": "冻结融资保证金(买方)",
  37028. "type": "number"
  37029. },
  37030. "handleremark": {
  37031. "description": "处理备注",
  37032. "type": "string"
  37033. },
  37034. "handlestatus": {
  37035. "description": "处理状态",
  37036. "type": "integer"
  37037. },
  37038. "interestminlen": {
  37039. "description": "最小起息天数",
  37040. "type": "integer"
  37041. },
  37042. "interestrate": {
  37043. "description": "利率",
  37044. "type": "number"
  37045. },
  37046. "interestratemode": {
  37047. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  37048. "type": "integer"
  37049. },
  37050. "interestsettlemode": {
  37051. "description": "结息方式 - 1:按日结息 3:按月结息",
  37052. "type": "integer"
  37053. },
  37054. "interestsettlevalue": {
  37055. "description": "结息方式值",
  37056. "type": "integer"
  37057. },
  37058. "isautoloan": {
  37059. "description": "是否自动放款 - 0:手动 1:自动",
  37060. "type": "integer"
  37061. },
  37062. "marginratio": {
  37063. "description": "保证金比率质押率 - [仓单质押]",
  37064. "type": "number"
  37065. },
  37066. "marketid": {
  37067. "description": "市场ID",
  37068. "type": "integer"
  37069. },
  37070. "minivalue": {
  37071. "description": "现货商品最小变动值",
  37072. "type": "integer"
  37073. },
  37074. "optioncompare": {
  37075. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37076. "type": "string"
  37077. },
  37078. "orderqty": {
  37079. "description": "委托数量(商品数量)",
  37080. "type": "number"
  37081. },
  37082. "productdetailid": {
  37083. "description": "产品组合ID",
  37084. "type": "integer"
  37085. },
  37086. "productid": {
  37087. "description": "金融产品ID",
  37088. "type": "integer"
  37089. },
  37090. "productname": {
  37091. "description": "产品名称",
  37092. "type": "string"
  37093. },
  37094. "remark": {
  37095. "description": "备注",
  37096. "type": "string"
  37097. },
  37098. "scfcontractid": {
  37099. "description": "仓单回购合同ID",
  37100. "type": "string"
  37101. },
  37102. "sellaccountid": {
  37103. "description": "卖方资金账号",
  37104. "type": "integer"
  37105. },
  37106. "selluserid": {
  37107. "description": "卖方用户ID",
  37108. "type": "integer"
  37109. },
  37110. "sellwrtradeorderid": {
  37111. "description": "卖方委托单ID",
  37112. "type": "string"
  37113. },
  37114. "tradeamount": {
  37115. "description": "成交金额(借款金额)",
  37116. "type": "number"
  37117. },
  37118. "tradedate": {
  37119. "description": "交易日(yyyyMMdd)",
  37120. "type": "string"
  37121. },
  37122. "tradeprice": {
  37123. "description": "成交价格",
  37124. "type": "number"
  37125. },
  37126. "warehouseid": {
  37127. "description": "仓库ID",
  37128. "type": "integer"
  37129. },
  37130. "warehousename": {
  37131. "description": "仓库名称",
  37132. "type": "string"
  37133. },
  37134. "wrfactortypeid": {
  37135. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37136. "type": "string"
  37137. },
  37138. "wrfactortypename": {
  37139. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37140. "type": "string"
  37141. },
  37142. "wrpricetype": {
  37143. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  37144. "type": "integer"
  37145. },
  37146. "wrstandardcode": {
  37147. "description": "现货商品代码",
  37148. "type": "string"
  37149. },
  37150. "wrstandardid": {
  37151. "description": "现货商品ID",
  37152. "type": "integer"
  37153. },
  37154. "wrstandardname": {
  37155. "description": "商品名称",
  37156. "type": "string"
  37157. },
  37158. "wrtypename": {
  37159. "description": "商品",
  37160. "type": "string"
  37161. }
  37162. }
  37163. },
  37164. "models.WrFriendApply": {
  37165. "type": "object",
  37166. "properties": {
  37167. "applicantid": {
  37168. "description": "申请人",
  37169. "type": "integer"
  37170. },
  37171. "applyname": {
  37172. "description": "申请人名称",
  37173. "type": "string"
  37174. },
  37175. "applysrc": {
  37176. "description": "申请来源 - 1:管理端 2:终端",
  37177. "type": "integer"
  37178. },
  37179. "applystatus": {
  37180. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  37181. "type": "integer"
  37182. },
  37183. "applytime": {
  37184. "description": "申请时间",
  37185. "type": "string"
  37186. },
  37187. "auditname": {
  37188. "description": "审核人名称",
  37189. "type": "string"
  37190. },
  37191. "auditorid": {
  37192. "description": "审核人",
  37193. "type": "integer"
  37194. },
  37195. "auditremark": {
  37196. "description": "审核备注",
  37197. "type": "string"
  37198. },
  37199. "auditsrc": {
  37200. "description": "审核来源 - 1:管理端 2:终端",
  37201. "type": "integer"
  37202. },
  37203. "audittime": {
  37204. "description": "审核时间",
  37205. "type": "string"
  37206. },
  37207. "friendapplyid": {
  37208. "description": "申请ID(SEQ_FRIENDAPPLY)",
  37209. "type": "string"
  37210. },
  37211. "friendname": {
  37212. "description": "好友名字(已脱敏)",
  37213. "type": "string"
  37214. },
  37215. "frienduserid": {
  37216. "description": "好友用户ID",
  37217. "type": "string"
  37218. },
  37219. "remark": {
  37220. "description": "备注",
  37221. "type": "string"
  37222. },
  37223. "userid": {
  37224. "description": "申请人用户ID",
  37225. "type": "integer"
  37226. }
  37227. }
  37228. },
  37229. "models.WrFtDeliveryGoods": {
  37230. "type": "object",
  37231. "properties": {
  37232. "deliverygoodscode": {
  37233. "description": "品种代码",
  37234. "type": "string"
  37235. },
  37236. "deliverygoodsid": {
  37237. "description": "品种ID",
  37238. "type": "integer"
  37239. },
  37240. "deliverygoodsname": {
  37241. "description": "品种名称",
  37242. "type": "string"
  37243. },
  37244. "wdlst": {
  37245. "description": "商品列表",
  37246. "type": "array",
  37247. "items": {
  37248. "$ref": "#/definitions/models.WrFtWrstandard"
  37249. }
  37250. }
  37251. }
  37252. },
  37253. "models.WrFtWrstandard": {
  37254. "type": "object",
  37255. "properties": {
  37256. "enumdicname": {
  37257. "description": "单位名称",
  37258. "type": "string"
  37259. },
  37260. "minivalue": {
  37261. "description": "最小变动值",
  37262. "type": "integer"
  37263. },
  37264. "wrstandardcode": {
  37265. "description": "现货商品代码",
  37266. "type": "string"
  37267. },
  37268. "wrstandardid": {
  37269. "description": "现货商品ID",
  37270. "type": "integer"
  37271. },
  37272. "wrstandardname": {
  37273. "description": "商品名称",
  37274. "type": "string"
  37275. }
  37276. }
  37277. },
  37278. "models.WrGoodsInfo": {
  37279. "type": "object",
  37280. "properties": {
  37281. "haswr": {
  37282. "description": "0:仓单预售 1:仓单贸易",
  37283. "type": "integer"
  37284. },
  37285. "lstitem": {
  37286. "description": "商品信息项",
  37287. "type": "array",
  37288. "items": {
  37289. "$ref": "#/definitions/models.WrTypeItem"
  37290. }
  37291. },
  37292. "lststep": {
  37293. "description": "履约规则",
  37294. "type": "array",
  37295. "items": {
  37296. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37297. }
  37298. },
  37299. "marketid": {
  37300. "description": "市场id",
  37301. "type": "integer"
  37302. }
  37303. }
  37304. },
  37305. "models.WrGoodsPerformanceStep": {
  37306. "type": "object",
  37307. "properties": {
  37308. "autoid": {
  37309. "description": "AutoID",
  37310. "type": "integer"
  37311. },
  37312. "isauto": {
  37313. "description": "是否自动 - 0:不自动 1:自动",
  37314. "type": "integer"
  37315. },
  37316. "remark": {
  37317. "description": "备注",
  37318. "type": "string"
  37319. },
  37320. "stepdate": {
  37321. "description": "天数信息(T+N)",
  37322. "type": "string"
  37323. },
  37324. "stepdays": {
  37325. "description": "距离上一步天数",
  37326. "type": "integer"
  37327. },
  37328. "stepindex": {
  37329. "description": "步骤序号",
  37330. "type": "integer"
  37331. },
  37332. "stepinfo": {
  37333. "description": "步骤信息(步骤名称+步骤值)",
  37334. "type": "string"
  37335. },
  37336. "steptypeid": {
  37337. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  37338. "type": "integer"
  37339. },
  37340. "steptypename": {
  37341. "description": "步骤名称",
  37342. "type": "string"
  37343. },
  37344. "stepvalue": {
  37345. "description": "步骤值",
  37346. "type": "number"
  37347. },
  37348. "templateid": {
  37349. "description": "履约计划模板ID",
  37350. "type": "integer"
  37351. }
  37352. }
  37353. },
  37354. "models.WrHoldLB": {
  37355. "type": "object",
  37356. "properties": {
  37357. "accountid": {
  37358. "description": "持有人帐户ID",
  37359. "type": "integer"
  37360. },
  37361. "bannerpicurl": {
  37362. "description": "Banner图",
  37363. "type": "string"
  37364. },
  37365. "createtime": {
  37366. "description": "创建时间(过户时间)",
  37367. "type": "string"
  37368. },
  37369. "deliverygoodscode": {
  37370. "description": "品种代码",
  37371. "type": "string"
  37372. },
  37373. "deliverygoodsid": {
  37374. "description": "品种ID",
  37375. "type": "integer"
  37376. },
  37377. "deliverygoodsname": {
  37378. "description": "品种名称",
  37379. "type": "string"
  37380. },
  37381. "enableqty": {
  37382. "description": "可用数量",
  37383. "type": "number"
  37384. },
  37385. "enumdicname": {
  37386. "description": "单位名称",
  37387. "type": "string"
  37388. },
  37389. "freezerqty": {
  37390. "description": "冻结数量",
  37391. "type": "number"
  37392. },
  37393. "ladingbillid": {
  37394. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  37395. "type": "string"
  37396. },
  37397. "minivalue": {
  37398. "description": "现货商品最小变动值",
  37399. "type": "integer"
  37400. },
  37401. "optioncompare": {
  37402. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37403. "type": "string"
  37404. },
  37405. "parentsubnum": {
  37406. "description": "拆分父子单号",
  37407. "type": "integer"
  37408. },
  37409. "pledgeqty": {
  37410. "description": "质押数量",
  37411. "type": "number"
  37412. },
  37413. "qty": {
  37414. "description": "数量",
  37415. "type": "number"
  37416. },
  37417. "subnum": {
  37418. "description": "提单子单号",
  37419. "type": "integer"
  37420. },
  37421. "thumurls": {
  37422. "description": "缩略图",
  37423. "type": "string"
  37424. },
  37425. "tradedate": {
  37426. "description": "交易日(yyyyMMdd)",
  37427. "type": "string"
  37428. },
  37429. "userid": {
  37430. "description": "持有人ID",
  37431. "type": "integer"
  37432. },
  37433. "warehouseid": {
  37434. "description": "仓库ID",
  37435. "type": "integer"
  37436. },
  37437. "warehousename": {
  37438. "description": "仓库名称",
  37439. "type": "string"
  37440. },
  37441. "wrfactortypeid": {
  37442. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37443. "type": "string"
  37444. },
  37445. "wrfactortypename": {
  37446. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37447. "type": "string"
  37448. },
  37449. "wrholdeno": {
  37450. "description": "仓单编号",
  37451. "type": "string"
  37452. },
  37453. "wrid": {
  37454. "description": "仓单变更ID",
  37455. "type": "string"
  37456. },
  37457. "wrstandardcode": {
  37458. "description": "现货商品代码",
  37459. "type": "string"
  37460. },
  37461. "wrstandardid": {
  37462. "description": "现货商品ID",
  37463. "type": "integer"
  37464. },
  37465. "wrstandardname": {
  37466. "description": "商品名称",
  37467. "type": "string"
  37468. },
  37469. "wrtypename": {
  37470. "description": "商品",
  37471. "type": "string"
  37472. }
  37473. }
  37474. },
  37475. "models.WrMarketTradeConfig": {
  37476. "type": "object",
  37477. "properties": {
  37478. "basisdownratio": {
  37479. "description": "浮动价基差下限比例(仓单贸易)",
  37480. "type": "number"
  37481. },
  37482. "basisupratio": {
  37483. "description": "浮动价基差上限比例(仓单贸易)",
  37484. "type": "number"
  37485. },
  37486. "buychargealgorithm": {
  37487. "description": "买方手续费收取方式 1:比率 2:固定",
  37488. "type": "integer"
  37489. },
  37490. "buychargealgorithm2": {
  37491. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  37492. "type": "integer"
  37493. },
  37494. "buychargealgorithmvalue": {
  37495. "description": "买方手续费设置值(交易所部分)",
  37496. "type": "number"
  37497. },
  37498. "buychargealgorithmvalue2": {
  37499. "description": "买方手续费设置值(会员部分)",
  37500. "type": "number"
  37501. },
  37502. "buychargealgorithmvalue3": {
  37503. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  37504. "type": "number"
  37505. },
  37506. "buychargealgorithmvalue4": {
  37507. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  37508. "type": "number"
  37509. },
  37510. "buyfirstmarginalgorithm": {
  37511. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  37512. "type": "integer"
  37513. },
  37514. "buyfirstmarginvalue": {
  37515. "description": "买方出价保证金设置值 - [竞拍]",
  37516. "type": "number"
  37517. },
  37518. "buymarginalgorithm": {
  37519. "description": "买方保证金方式 - 1:比率 2:固定",
  37520. "type": "integer"
  37521. },
  37522. "buymarginvalue": {
  37523. "description": "买方保证金设置值",
  37524. "type": "number"
  37525. },
  37526. "buyreleaseratio": {
  37527. "description": "买方释放比率[2:分步履约]",
  37528. "type": "number"
  37529. },
  37530. "executemode": {
  37531. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  37532. "type": "integer"
  37533. },
  37534. "executeside": {
  37535. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  37536. "type": "integer"
  37537. },
  37538. "failedchargealgorithm": {
  37539. "description": "流拍手续费收取方式 1:比率 2:固定",
  37540. "type": "integer"
  37541. },
  37542. "failedchargevalue": {
  37543. "description": "流拍手续费设置值",
  37544. "type": "number"
  37545. },
  37546. "failedchargevalue2": {
  37547. "description": "流拍卖方手续费设置值",
  37548. "type": "number"
  37549. },
  37550. "holddays": {
  37551. "description": "合同期限[2:分步履约]",
  37552. "type": "integer"
  37553. },
  37554. "listingmode": {
  37555. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37556. "type": "integer"
  37557. },
  37558. "marketid": {
  37559. "description": "市场ID-仓单贸易、竞拍、预售",
  37560. "type": "integer"
  37561. },
  37562. "minqty": {
  37563. "description": "最小执行量[2:分步履约]",
  37564. "type": "number"
  37565. },
  37566. "modifierid": {
  37567. "description": "修改人",
  37568. "type": "integer"
  37569. },
  37570. "nowrquotaflag": {
  37571. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  37572. "type": "integer"
  37573. },
  37574. "performancetempid": {
  37575. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  37576. "type": "integer"
  37577. },
  37578. "performancetempid2": {
  37579. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  37580. "type": "integer"
  37581. },
  37582. "performancetempid2s": {
  37583. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  37584. "type": "string"
  37585. },
  37586. "performancetempids": {
  37587. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  37588. "type": "string"
  37589. },
  37590. "performanceway": {
  37591. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  37592. "type": "integer"
  37593. },
  37594. "sellchargealgorithm": {
  37595. "description": "卖方手续费收取方式 1:比率 2:固定",
  37596. "type": "integer"
  37597. },
  37598. "sellchargealgorithm2": {
  37599. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  37600. "type": "integer"
  37601. },
  37602. "sellchargealgorithmvalue": {
  37603. "description": "卖方手续费设置值(交易所部分)",
  37604. "type": "number"
  37605. },
  37606. "sellchargealgorithmvalue2": {
  37607. "description": "卖方手续费设置值(会员部分)",
  37608. "type": "number"
  37609. },
  37610. "sellchargealgorithmvalue3": {
  37611. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  37612. "type": "number"
  37613. },
  37614. "sellchargealgorithmvalue4": {
  37615. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  37616. "type": "number"
  37617. },
  37618. "sellmarginalgorithm": {
  37619. "description": "卖方保证金方式 - 1:比率 2:固定",
  37620. "type": "integer"
  37621. },
  37622. "sellmarginvalue": {
  37623. "description": "卖方保证金设置值",
  37624. "type": "number"
  37625. },
  37626. "sellmarginvalue2": {
  37627. "description": "卖方保证金设置值(无仓单)",
  37628. "type": "number"
  37629. },
  37630. "sellreleaseratio": {
  37631. "description": "卖方释放比率[2:分步履约]",
  37632. "type": "number"
  37633. },
  37634. "updatetime": {
  37635. "description": "更新时间",
  37636. "type": "string"
  37637. }
  37638. }
  37639. },
  37640. "models.WrOrderDetail": {
  37641. "type": "object",
  37642. "properties": {
  37643. "accountid": {
  37644. "description": "交易账号(资金账号)",
  37645. "type": "integer"
  37646. },
  37647. "allfriendsflag": {
  37648. "description": "是否全好友可见 - 0:否 1:是",
  37649. "type": "integer"
  37650. },
  37651. "amount": {
  37652. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  37653. "type": "number"
  37654. },
  37655. "bannerpicurl": {
  37656. "description": "Banner图",
  37657. "type": "string"
  37658. },
  37659. "begindate": {
  37660. "description": "开始交易日(yyyymmdd)",
  37661. "type": "string"
  37662. },
  37663. "buyorsell": {
  37664. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37665. "type": "integer"
  37666. },
  37667. "canbargain": {
  37668. "description": "是否可议价 - 0:不可 1:可",
  37669. "type": "integer"
  37670. },
  37671. "cancelqty": {
  37672. "description": "撤销数量",
  37673. "type": "number"
  37674. },
  37675. "canpart": {
  37676. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  37677. "type": "integer"
  37678. },
  37679. "delistminqty": {
  37680. "description": "起摘数量",
  37681. "type": "integer"
  37682. },
  37683. "deliverygoodscode": {
  37684. "description": "品种代码",
  37685. "type": "string"
  37686. },
  37687. "deliverygoodsid": {
  37688. "description": "品种ID",
  37689. "type": "integer"
  37690. },
  37691. "deliverygoodsname": {
  37692. "description": "品种名称",
  37693. "type": "string"
  37694. },
  37695. "deliverymonth": {
  37696. "description": "交收月",
  37697. "type": "string"
  37698. },
  37699. "enddate": {
  37700. "description": "结束交易日(yyyymmdd)",
  37701. "type": "string"
  37702. },
  37703. "enumdicname": {
  37704. "description": "单位名称",
  37705. "type": "string"
  37706. },
  37707. "fixedprice": {
  37708. "description": "固定价格 - [挂牌]",
  37709. "type": "number"
  37710. },
  37711. "freezecharge": {
  37712. "description": "冻结手续费",
  37713. "type": "number"
  37714. },
  37715. "freezemargin": {
  37716. "description": "冻结保证金(保证金)",
  37717. "type": "number"
  37718. },
  37719. "futupricemove": {
  37720. "description": "期货升贴水",
  37721. "type": "number"
  37722. },
  37723. "futushow": {
  37724. "description": "期货合约/升贴水",
  37725. "type": "string"
  37726. },
  37727. "goodscode": {
  37728. "description": "期货合约",
  37729. "type": "string"
  37730. },
  37731. "goodsid": {
  37732. "description": "期货商品id",
  37733. "type": "integer"
  37734. },
  37735. "goodsname": {
  37736. "description": "商品名称",
  37737. "type": "string"
  37738. },
  37739. "haswr": {
  37740. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37741. "type": "integer"
  37742. },
  37743. "isspecified": {
  37744. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  37745. "type": "integer"
  37746. },
  37747. "ladingbillid": {
  37748. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  37749. "type": "string"
  37750. },
  37751. "marginvalue": {
  37752. "description": "保证金设置值(履约保证金)",
  37753. "type": "number"
  37754. },
  37755. "marketid": {
  37756. "description": "市场ID",
  37757. "type": "integer"
  37758. },
  37759. "matchusername": {
  37760. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  37761. "type": "string"
  37762. },
  37763. "minivalue": {
  37764. "description": "现货商品最小变动值",
  37765. "type": "integer"
  37766. },
  37767. "optioncompare": {
  37768. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37769. "type": "string"
  37770. },
  37771. "orderqty": {
  37772. "description": "委托数量",
  37773. "type": "number"
  37774. },
  37775. "ordertime": {
  37776. "description": "委托时间(挂牌时间)",
  37777. "type": "string"
  37778. },
  37779. "performancetemplateid": {
  37780. "description": "履约模板id",
  37781. "type": "integer"
  37782. },
  37783. "pricemove": {
  37784. "description": "升贴水(浮动价时填写) - [挂牌]",
  37785. "type": "number"
  37786. },
  37787. "taname": {
  37788. "description": "交易用户名称(资金账号名称)",
  37789. "type": "string"
  37790. },
  37791. "thumurls": {
  37792. "description": "缩略图",
  37793. "type": "string"
  37794. },
  37795. "tradedate": {
  37796. "description": "交易日(yyyyMMdd)",
  37797. "type": "string"
  37798. },
  37799. "tradeprice": {
  37800. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  37801. "type": "number"
  37802. },
  37803. "tradeqty": {
  37804. "description": "成交数量",
  37805. "type": "number"
  37806. },
  37807. "userid": {
  37808. "description": "用户ID",
  37809. "type": "integer"
  37810. },
  37811. "validtime": {
  37812. "description": "挂牌有效期",
  37813. "type": "string"
  37814. },
  37815. "validtype": {
  37816. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  37817. "type": "integer"
  37818. },
  37819. "warehouseid": {
  37820. "description": "仓库ID",
  37821. "type": "integer"
  37822. },
  37823. "warehousename": {
  37824. "description": "仓库名称",
  37825. "type": "string"
  37826. },
  37827. "wrfactortypeid": {
  37828. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37829. "type": "string"
  37830. },
  37831. "wrfactortypename": {
  37832. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37833. "type": "string"
  37834. },
  37835. "wrpricetype": {
  37836. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  37837. "type": "integer"
  37838. },
  37839. "wrstandardcode": {
  37840. "description": "现货商品代码",
  37841. "type": "string"
  37842. },
  37843. "wrstandardid": {
  37844. "description": "现货商品ID",
  37845. "type": "integer"
  37846. },
  37847. "wrstandardname": {
  37848. "description": "商品名称",
  37849. "type": "string"
  37850. },
  37851. "wrtradeorderid": {
  37852. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37853. "type": "string"
  37854. },
  37855. "wrtradeorderstatus": {
  37856. "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:撤单解冻贷款失败",
  37857. "type": "integer"
  37858. },
  37859. "wrtradetype": {
  37860. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37861. "type": "integer"
  37862. },
  37863. "wrtypename": {
  37864. "description": "商品",
  37865. "type": "string"
  37866. }
  37867. }
  37868. },
  37869. "models.WrOrderQuote": {
  37870. "type": "object",
  37871. "properties": {
  37872. "bannerpicurl": {
  37873. "description": "Banner图",
  37874. "type": "string"
  37875. },
  37876. "buyprice": {
  37877. "description": "买价",
  37878. "type": "number"
  37879. },
  37880. "buypricemove": {
  37881. "description": "买升贴水(基差)",
  37882. "type": "number"
  37883. },
  37884. "buyqty": {
  37885. "description": "买量",
  37886. "type": "number"
  37887. },
  37888. "deliverygoodscode": {
  37889. "description": "品种代码",
  37890. "type": "string"
  37891. },
  37892. "deliverygoodsid": {
  37893. "description": "品种id",
  37894. "type": "integer"
  37895. },
  37896. "deliverygoodsname": {
  37897. "description": "品种名称",
  37898. "type": "string"
  37899. },
  37900. "deliverymonth": {
  37901. "description": "交收月",
  37902. "type": "string"
  37903. },
  37904. "enumdicname": {
  37905. "description": "单位名称",
  37906. "type": "string"
  37907. },
  37908. "goodscode": {
  37909. "description": "商品合约(浮动价列表才有)",
  37910. "type": "string"
  37911. },
  37912. "goodsid": {
  37913. "description": "商品id(浮动价列表才有)",
  37914. "type": "integer"
  37915. },
  37916. "minivalue": {
  37917. "description": "现货商品最小变动值",
  37918. "type": "integer"
  37919. },
  37920. "pictureurls": {
  37921. "description": "详情图片(逗号分隔)",
  37922. "type": "string"
  37923. },
  37924. "sellprice": {
  37925. "description": "卖价",
  37926. "type": "number"
  37927. },
  37928. "sellpricemove": {
  37929. "description": "卖升贴水(基差)",
  37930. "type": "number"
  37931. },
  37932. "sellqty": {
  37933. "description": "卖量",
  37934. "type": "number"
  37935. },
  37936. "thumurls": {
  37937. "description": "缩略图片(1:1)(逗号分隔)",
  37938. "type": "string"
  37939. },
  37940. "warehousecode": {
  37941. "description": "仓库代码",
  37942. "type": "string"
  37943. },
  37944. "warehouseid": {
  37945. "description": "仓库id",
  37946. "type": "integer"
  37947. },
  37948. "warehousename": {
  37949. "description": "仓库名称",
  37950. "type": "string"
  37951. },
  37952. "wrfactortypeid": {
  37953. "description": "仓单要素id",
  37954. "type": "string"
  37955. },
  37956. "wrfactortypename": {
  37957. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37958. "type": "string"
  37959. },
  37960. "wrgoodsname": {
  37961. "description": "商品(商品名称+仓库要素名称 拼接)",
  37962. "type": "string"
  37963. },
  37964. "wrstandardcode": {
  37965. "description": "商品代码",
  37966. "type": "string"
  37967. },
  37968. "wrstandardid": {
  37969. "description": "商品id",
  37970. "type": "integer"
  37971. },
  37972. "wrstandardname": {
  37973. "description": "商品名称",
  37974. "type": "string"
  37975. }
  37976. }
  37977. },
  37978. "models.WrOrderQuoteDetail": {
  37979. "type": "object",
  37980. "properties": {
  37981. "buyorsell": {
  37982. "description": "买卖 - 0:买 1:卖",
  37983. "type": "integer"
  37984. },
  37985. "delistminqty": {
  37986. "description": "起摘数量",
  37987. "type": "number"
  37988. },
  37989. "deliverymonth": {
  37990. "description": "交收月",
  37991. "type": "string"
  37992. },
  37993. "enumdicname": {
  37994. "description": "单位名称",
  37995. "type": "string"
  37996. },
  37997. "fixedprice": {
  37998. "description": "买(卖)价",
  37999. "type": "number"
  38000. },
  38001. "marketid": {
  38002. "description": "市场id",
  38003. "type": "integer"
  38004. },
  38005. "minivalue": {
  38006. "description": "现货商品最小变动值",
  38007. "type": "integer"
  38008. },
  38009. "orderqty": {
  38010. "description": "买(卖)量(=委托量-成交量)",
  38011. "type": "number"
  38012. },
  38013. "ordertime": {
  38014. "description": "委托时间",
  38015. "type": "string"
  38016. },
  38017. "pricemove": {
  38018. "description": "买(卖)升贴水- 基差",
  38019. "type": "number"
  38020. },
  38021. "userid": {
  38022. "description": "购买方(销售方)用户ID",
  38023. "type": "integer"
  38024. },
  38025. "username": {
  38026. "description": "购买方(销售方)",
  38027. "type": "string"
  38028. },
  38029. "wrtradeorderid": {
  38030. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38031. "type": "string"
  38032. }
  38033. }
  38034. },
  38035. "models.WrOutInApply": {
  38036. "type": "object",
  38037. "properties": {
  38038. "applyid": {
  38039. "description": "申请单id",
  38040. "type": "string"
  38041. },
  38042. "applystatus": {
  38043. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  38044. "type": "integer"
  38045. },
  38046. "applytime": {
  38047. "description": "申请时间",
  38048. "type": "string"
  38049. },
  38050. "applytype": {
  38051. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  38052. "type": "integer"
  38053. },
  38054. "bannerpicurl": {
  38055. "description": "Banner图",
  38056. "type": "string"
  38057. },
  38058. "begindate": {
  38059. "description": "开始交易日(yyyymmdd)",
  38060. "type": "string"
  38061. },
  38062. "deliverygoodscode": {
  38063. "description": "品种代码",
  38064. "type": "string"
  38065. },
  38066. "deliverygoodsid": {
  38067. "description": "品种ID",
  38068. "type": "integer"
  38069. },
  38070. "deliverygoodsname": {
  38071. "description": "品种名称",
  38072. "type": "string"
  38073. },
  38074. "enddate": {
  38075. "description": "结束交易日(yyyymmdd)",
  38076. "type": "string"
  38077. },
  38078. "enumdicname": {
  38079. "description": "单位名称",
  38080. "type": "string"
  38081. },
  38082. "expresscompany": {
  38083. "description": "物流公司",
  38084. "type": "string"
  38085. },
  38086. "expressnum": {
  38087. "description": "物流单号",
  38088. "type": "string"
  38089. },
  38090. "minivalue": {
  38091. "description": "现货商品最小变动值",
  38092. "type": "integer"
  38093. },
  38094. "optioncompare": {
  38095. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38096. "type": "string"
  38097. },
  38098. "qty": {
  38099. "description": "数量",
  38100. "type": "integer"
  38101. },
  38102. "userid": {
  38103. "description": "用户id",
  38104. "type": "integer"
  38105. },
  38106. "warehouseid": {
  38107. "description": "仓库ID",
  38108. "type": "integer"
  38109. },
  38110. "warehousename": {
  38111. "description": "仓库名称",
  38112. "type": "string"
  38113. },
  38114. "wrfactortypeid": {
  38115. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38116. "type": "string"
  38117. },
  38118. "wrfactortypename": {
  38119. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38120. "type": "string"
  38121. },
  38122. "wrstandardcode": {
  38123. "description": "现货商品代码",
  38124. "type": "string"
  38125. },
  38126. "wrstandardid": {
  38127. "description": "现货商品ID",
  38128. "type": "integer"
  38129. },
  38130. "wrstandardname": {
  38131. "description": "商品名称",
  38132. "type": "string"
  38133. },
  38134. "wrtypename": {
  38135. "description": "商品",
  38136. "type": "string"
  38137. }
  38138. }
  38139. },
  38140. "models.WrPerformancePlan": {
  38141. "type": "object",
  38142. "required": [
  38143. "userid"
  38144. ],
  38145. "properties": {
  38146. "activatemonth": {
  38147. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  38148. "type": "string"
  38149. },
  38150. "amount": {
  38151. "description": "履约金额(总金额)",
  38152. "type": "number"
  38153. },
  38154. "begindate": {
  38155. "description": "开始交易日(yyyymmdd)",
  38156. "type": "string"
  38157. },
  38158. "buyaccountid": {
  38159. "description": "买方账号",
  38160. "type": "integer"
  38161. },
  38162. "buyerfreezeamount": {
  38163. "description": "履约冻结(买履约)",
  38164. "type": "number"
  38165. },
  38166. "buyerfreezeamountremain": {
  38167. "description": "履约冻结剩余(买履约)",
  38168. "type": "number"
  38169. },
  38170. "buyorsell": {
  38171. "description": "买卖方向 0-买 1-卖",
  38172. "type": "integer"
  38173. },
  38174. "buypaidamount": {
  38175. "description": "买方已冻/已扣金额 (已付金额)",
  38176. "type": "number"
  38177. },
  38178. "buyusername": {
  38179. "description": "买方名字",
  38180. "type": "string"
  38181. },
  38182. "contractid": {
  38183. "description": "合同ID",
  38184. "type": "integer"
  38185. },
  38186. "createtime": {
  38187. "description": "创建时间",
  38188. "type": "string"
  38189. },
  38190. "creatorid": {
  38191. "description": "创建人",
  38192. "type": "integer"
  38193. },
  38194. "curstepdeadline": {
  38195. "description": "当前步骤到期时间",
  38196. "type": "string"
  38197. },
  38198. "curstepid": {
  38199. "description": "当前步骤ID",
  38200. "type": "string"
  38201. },
  38202. "curstepname": {
  38203. "description": "当前步骤名称",
  38204. "type": "string"
  38205. },
  38206. "deliverygoodscode": {
  38207. "description": "品种代码",
  38208. "type": "string"
  38209. },
  38210. "deliverygoodsid": {
  38211. "description": "品种ID",
  38212. "type": "integer"
  38213. },
  38214. "deliverygoodsname": {
  38215. "description": "品种名称",
  38216. "type": "string"
  38217. },
  38218. "enddate": {
  38219. "description": "结束交易日(yyyymmdd)",
  38220. "type": "string"
  38221. },
  38222. "enumdicname": {
  38223. "description": "单位名称",
  38224. "type": "string"
  38225. },
  38226. "expressfee": {
  38227. "description": "运费",
  38228. "type": "number"
  38229. },
  38230. "expressfeeconfirmed": {
  38231. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  38232. "type": "integer"
  38233. },
  38234. "hasovershort": {
  38235. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  38236. "type": "integer"
  38237. },
  38238. "haswr": {
  38239. "description": "类型 0-仓单预售 1-仓单贸易",
  38240. "type": "integer"
  38241. },
  38242. "marketid": {
  38243. "description": "市场ID",
  38244. "type": "integer"
  38245. },
  38246. "middleaccountid": {
  38247. "description": "中间商资金账号ID",
  38248. "type": "integer"
  38249. },
  38250. "middleuserid": {
  38251. "description": "中间商用户ID",
  38252. "type": "integer"
  38253. },
  38254. "minivalue": {
  38255. "description": "现货商品最小变动值",
  38256. "type": "integer"
  38257. },
  38258. "optioncompare": {
  38259. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38260. "type": "string"
  38261. },
  38262. "overshortamount": {
  38263. "description": "溢短金额",
  38264. "type": "number"
  38265. },
  38266. "overshortqty": {
  38267. "description": "溢短数量",
  38268. "type": "number"
  38269. },
  38270. "paymenttype": {
  38271. "description": "付款方式 - 1:冻结 2:扣款",
  38272. "type": "integer"
  38273. },
  38274. "performanceplanid": {
  38275. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  38276. "type": "string"
  38277. },
  38278. "performancestatus": {
  38279. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  38280. "type": "integer"
  38281. },
  38282. "performancetype": {
  38283. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  38284. "type": "integer"
  38285. },
  38286. "qty": {
  38287. "description": "履约数量",
  38288. "type": "number"
  38289. },
  38290. "relatedorderid": {
  38291. "description": "关联单号(履约类型的关联单号)",
  38292. "type": "string"
  38293. },
  38294. "remark": {
  38295. "description": "备注",
  38296. "type": "string"
  38297. },
  38298. "sellaccountid": {
  38299. "description": "卖方账号",
  38300. "type": "integer"
  38301. },
  38302. "sellerfreezeamount": {
  38303. "description": "履约冻结(卖履约)",
  38304. "type": "number"
  38305. },
  38306. "sellerfreezeamountremain": {
  38307. "description": "履约冻结剩余(卖履约)",
  38308. "type": "number"
  38309. },
  38310. "sellreceivedamount": {
  38311. "description": "卖方已收金额",
  38312. "type": "number"
  38313. },
  38314. "sellusername": {
  38315. "description": "卖方名字",
  38316. "type": "string"
  38317. },
  38318. "shipremark": {
  38319. "description": "发货备注[物流单号]",
  38320. "type": "string"
  38321. },
  38322. "starttime": {
  38323. "description": "开始时间",
  38324. "type": "string"
  38325. },
  38326. "steptypeid": {
  38327. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  38328. "type": "integer"
  38329. },
  38330. "typename": {
  38331. "description": "履约类型 名称",
  38332. "type": "string"
  38333. },
  38334. "unpaidamount": {
  38335. "description": "剩余款(待支付金额)",
  38336. "type": "number"
  38337. },
  38338. "userid": {
  38339. "description": "用户id",
  38340. "type": "integer"
  38341. },
  38342. "warehouseid": {
  38343. "description": "仓库ID",
  38344. "type": "integer"
  38345. },
  38346. "warehousename": {
  38347. "description": "仓库名称",
  38348. "type": "string"
  38349. },
  38350. "wrfactortypeid": {
  38351. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38352. "type": "string"
  38353. },
  38354. "wrfactortypename": {
  38355. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38356. "type": "string"
  38357. },
  38358. "wrstandardcode": {
  38359. "description": "现货商品代码",
  38360. "type": "string"
  38361. },
  38362. "wrstandardid": {
  38363. "description": "现货商品ID",
  38364. "type": "integer"
  38365. },
  38366. "wrstandardname": {
  38367. "description": "商品名称",
  38368. "type": "string"
  38369. },
  38370. "wrtransferuserid": {
  38371. "description": "仓单受让用户",
  38372. "type": "integer"
  38373. },
  38374. "wrtypename": {
  38375. "description": "商品",
  38376. "type": "string"
  38377. }
  38378. }
  38379. },
  38380. "models.WrPerformancePlanStep": {
  38381. "type": "object",
  38382. "properties": {
  38383. "delaydays": {
  38384. "description": "延期申请天数",
  38385. "type": "integer"
  38386. },
  38387. "deliverygoodscode": {
  38388. "description": "品种代码",
  38389. "type": "string"
  38390. },
  38391. "deliverygoodsid": {
  38392. "description": "品种ID",
  38393. "type": "integer"
  38394. },
  38395. "deliverygoodsname": {
  38396. "description": "品种名称",
  38397. "type": "string"
  38398. },
  38399. "endtime": {
  38400. "description": "结束日期",
  38401. "type": "string"
  38402. },
  38403. "enumdicname": {
  38404. "description": "单位名称",
  38405. "type": "string"
  38406. },
  38407. "executeside": {
  38408. "description": "步骤执行方 - 1:买方 2:卖方",
  38409. "type": "integer"
  38410. },
  38411. "handlestatus": {
  38412. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  38413. "type": "integer"
  38414. },
  38415. "isauto": {
  38416. "description": "是否自动 - 0:不自动 1:自动",
  38417. "type": "integer"
  38418. },
  38419. "islastreceivestep": {
  38420. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  38421. "type": "integer"
  38422. },
  38423. "minivalue": {
  38424. "description": "现货商品最小变动值",
  38425. "type": "integer"
  38426. },
  38427. "optioncompare": {
  38428. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38429. "type": "string"
  38430. },
  38431. "overdays": {
  38432. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  38433. "type": "integer"
  38434. },
  38435. "performancestepid": {
  38436. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  38437. "type": "string"
  38438. },
  38439. "planid": {
  38440. "description": "所属履约计划ID",
  38441. "type": "string"
  38442. },
  38443. "realamount": {
  38444. "description": "实际完成金额",
  38445. "type": "number"
  38446. },
  38447. "relatedorderid": {
  38448. "description": "关联单号",
  38449. "type": "string"
  38450. },
  38451. "remaindays": {
  38452. "description": "剩余天数",
  38453. "type": "integer"
  38454. },
  38455. "remark": {
  38456. "description": "错误备注",
  38457. "type": "string"
  38458. },
  38459. "starttime": {
  38460. "description": "开始日期",
  38461. "type": "string"
  38462. },
  38463. "stepamount": {
  38464. "description": "步骤金额",
  38465. "type": "number"
  38466. },
  38467. "stepdays": {
  38468. "description": "距离上一步天数(分钟)",
  38469. "type": "integer"
  38470. },
  38471. "stepindex": {
  38472. "description": "步骤序号",
  38473. "type": "integer"
  38474. },
  38475. "steplanchtype": {
  38476. "description": "步骤启动类型 - 1:系统自动 2:手动",
  38477. "type": "integer"
  38478. },
  38479. "stepremark": {
  38480. "description": "步骤备注",
  38481. "type": "string"
  38482. },
  38483. "stepstatus": {
  38484. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  38485. "type": "integer"
  38486. },
  38487. "steptypeid": {
  38488. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  38489. "type": "integer"
  38490. },
  38491. "steptypename": {
  38492. "description": "步骤名称",
  38493. "type": "string"
  38494. },
  38495. "stepvalue": {
  38496. "description": "步骤值",
  38497. "type": "number"
  38498. },
  38499. "warehouseid": {
  38500. "description": "仓库ID",
  38501. "type": "integer"
  38502. },
  38503. "warehousename": {
  38504. "description": "仓库名称",
  38505. "type": "string"
  38506. },
  38507. "wrfactortypeid": {
  38508. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38509. "type": "string"
  38510. },
  38511. "wrfactortypename": {
  38512. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38513. "type": "string"
  38514. },
  38515. "wrstandardcode": {
  38516. "description": "现货商品代码",
  38517. "type": "string"
  38518. },
  38519. "wrstandardid": {
  38520. "description": "现货商品ID",
  38521. "type": "integer"
  38522. },
  38523. "wrstandardname": {
  38524. "description": "商品名称",
  38525. "type": "string"
  38526. },
  38527. "wrtypename": {
  38528. "description": "商品",
  38529. "type": "string"
  38530. }
  38531. }
  38532. },
  38533. "models.WrPerformanceStepType": {
  38534. "type": "object",
  38535. "properties": {
  38536. "canauto": {
  38537. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  38538. "type": "integer"
  38539. },
  38540. "steptypeid": {
  38541. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  38542. "type": "integer"
  38543. },
  38544. "steptypename": {
  38545. "description": "步骤类型名称",
  38546. "type": "string"
  38547. }
  38548. }
  38549. },
  38550. "models.WrPerformanceTemplateEx": {
  38551. "type": "object",
  38552. "properties": {
  38553. "autoid": {
  38554. "description": "AutoID 模板id",
  38555. "type": "integer"
  38556. },
  38557. "createtime": {
  38558. "description": "创建时间",
  38559. "type": "string"
  38560. },
  38561. "creatorid": {
  38562. "description": "创建人",
  38563. "type": "integer"
  38564. },
  38565. "lstStep": {
  38566. "description": "步骤信息列表",
  38567. "type": "array",
  38568. "items": {
  38569. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  38570. }
  38571. },
  38572. "paymenttype": {
  38573. "description": "支付方式 - 1:冻结 2:扣款",
  38574. "type": "integer"
  38575. },
  38576. "takemode": {
  38577. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  38578. "type": "integer"
  38579. },
  38580. "templatename": {
  38581. "description": "模板名称",
  38582. "type": "string"
  38583. },
  38584. "templatetype": {
  38585. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  38586. "type": "integer"
  38587. },
  38588. "userid": {
  38589. "description": "所属用户",
  38590. "type": "integer"
  38591. }
  38592. }
  38593. },
  38594. "models.WrPosition": {
  38595. "type": "object",
  38596. "properties": {
  38597. "accountid": {
  38598. "description": "帐户ID",
  38599. "type": "integer"
  38600. },
  38601. "buyexcuteqty": {
  38602. "description": "采购履约中数量",
  38603. "type": "number"
  38604. },
  38605. "creditcurqty": {
  38606. "description": "授信当前数量(预售仓单:预售当前量)",
  38607. "type": "number"
  38608. },
  38609. "creditenableqty": {
  38610. "description": "授信可用数量(预售仓单: 可用数量)",
  38611. "type": "number"
  38612. },
  38613. "creditfreezeqty": {
  38614. "description": "授信冻结数量(预售仓单: 当前数量)",
  38615. "type": "number"
  38616. },
  38617. "credittotalqty": {
  38618. "description": "授信总数量(预售仓单:预售总量)",
  38619. "type": "number"
  38620. },
  38621. "credittradeqty": {
  38622. "description": "授信成交数量(预售仓单:成交总量)",
  38623. "type": "number"
  38624. },
  38625. "deliverygoodscode": {
  38626. "description": "品种代码",
  38627. "type": "string"
  38628. },
  38629. "deliverygoodsid": {
  38630. "description": "品种ID",
  38631. "type": "integer"
  38632. },
  38633. "deliverygoodsname": {
  38634. "description": "品种名称",
  38635. "type": "string"
  38636. },
  38637. "enalbeqty": {
  38638. "description": "可用数量",
  38639. "type": "number"
  38640. },
  38641. "enumdicname": {
  38642. "description": "单位名称",
  38643. "type": "string"
  38644. },
  38645. "freezeqty": {
  38646. "description": "总冻结数量",
  38647. "type": "number"
  38648. },
  38649. "haswr": {
  38650. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  38651. "type": "integer"
  38652. },
  38653. "minivalue": {
  38654. "description": "现货商品最小变动值",
  38655. "type": "integer"
  38656. },
  38657. "modifytime": {
  38658. "description": "修改时间(过户时间)",
  38659. "type": "string"
  38660. },
  38661. "optioncompare": {
  38662. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38663. "type": "string"
  38664. },
  38665. "pledgeqty": {
  38666. "description": "质押数量",
  38667. "type": "number"
  38668. },
  38669. "querytype": {
  38670. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  38671. "type": "integer"
  38672. },
  38673. "sellexcuteqty": {
  38674. "description": "销售履约中数量",
  38675. "type": "number"
  38676. },
  38677. "totalqty": {
  38678. "description": "总数量(库存数量)",
  38679. "type": "number"
  38680. },
  38681. "warehouseid": {
  38682. "description": "仓库ID",
  38683. "type": "integer"
  38684. },
  38685. "warehousename": {
  38686. "description": "仓库名称",
  38687. "type": "string"
  38688. },
  38689. "wrfactortypeid": {
  38690. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38691. "type": "string"
  38692. },
  38693. "wrfactortypename": {
  38694. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38695. "type": "string"
  38696. },
  38697. "wrpositionid": {
  38698. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  38699. "type": "string"
  38700. },
  38701. "wrpositionno": {
  38702. "description": "仓单编号",
  38703. "type": "string"
  38704. },
  38705. "wrstandardcode": {
  38706. "description": "现货商品代码",
  38707. "type": "string"
  38708. },
  38709. "wrstandardid": {
  38710. "description": "现货商品ID",
  38711. "type": "integer"
  38712. },
  38713. "wrstandardname": {
  38714. "description": "商品名称",
  38715. "type": "string"
  38716. },
  38717. "wrtypename": {
  38718. "description": "商品",
  38719. "type": "string"
  38720. },
  38721. "wruserid": {
  38722. "description": "持有人ID",
  38723. "type": "integer"
  38724. }
  38725. }
  38726. },
  38727. "models.WrPreSaleInfo": {
  38728. "type": "object",
  38729. "properties": {
  38730. "bannerpicurl": {
  38731. "description": "Banner图",
  38732. "type": "string"
  38733. },
  38734. "baseqty": {
  38735. "description": "中签基数",
  38736. "type": "number"
  38737. },
  38738. "createtime": {
  38739. "description": "创建时间",
  38740. "type": "string"
  38741. },
  38742. "deliverygoodsid": {
  38743. "description": "现货品种ID",
  38744. "type": "integer"
  38745. },
  38746. "enddate": {
  38747. "description": "预售结束日期",
  38748. "type": "string"
  38749. },
  38750. "enumdicname": {
  38751. "description": "单位名称",
  38752. "type": "string"
  38753. },
  38754. "lotteryflag": {
  38755. "description": "摇号标识 - 0:未摇号 1:已摇号",
  38756. "type": "integer"
  38757. },
  38758. "lotteryqty": {
  38759. "description": "摇号总量",
  38760. "type": "number"
  38761. },
  38762. "luckyqty": {
  38763. "description": "已中签量",
  38764. "type": "number"
  38765. },
  38766. "marketid": {
  38767. "description": "市场ID",
  38768. "type": "integer"
  38769. },
  38770. "maxbuyqty": {
  38771. "description": "单人最大申购量",
  38772. "type": "number"
  38773. },
  38774. "maxluckyqty": {
  38775. "description": "单人最大中签量",
  38776. "type": "number"
  38777. },
  38778. "pictureurls": {
  38779. "description": "详情图片(逗号分隔)",
  38780. "type": "string"
  38781. },
  38782. "placeqty": {
  38783. "description": "已配售量",
  38784. "type": "number"
  38785. },
  38786. "presaleapplyid": {
  38787. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  38788. "type": "string",
  38789. "example": "0"
  38790. },
  38791. "presaleqty": {
  38792. "description": "预售总量",
  38793. "type": "number"
  38794. },
  38795. "presalestatus": {
  38796. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  38797. "type": "integer"
  38798. },
  38799. "sellaccountid": {
  38800. "description": "发行方资金账户ID",
  38801. "type": "integer"
  38802. },
  38803. "selluserid": {
  38804. "description": "发行方用户ID",
  38805. "type": "integer"
  38806. },
  38807. "sellwrtradeorderid": {
  38808. "description": "发行方卖委托单ID",
  38809. "type": "string"
  38810. },
  38811. "startdate": {
  38812. "description": "预售开始日期",
  38813. "type": "string"
  38814. },
  38815. "takestartdate": {
  38816. "description": "提货开始日期",
  38817. "type": "string"
  38818. },
  38819. "thumurls": {
  38820. "description": "缩略图片(1:1)(逗号分隔)",
  38821. "type": "string"
  38822. },
  38823. "tradedate": {
  38824. "description": "交易日",
  38825. "type": "string"
  38826. },
  38827. "unitid": {
  38828. "description": "单位ID",
  38829. "type": "integer"
  38830. },
  38831. "unitprice": {
  38832. "description": "商品单价",
  38833. "type": "number"
  38834. },
  38835. "username": {
  38836. "description": "发行方用户名称",
  38837. "type": "string"
  38838. },
  38839. "warehousecode": {
  38840. "description": "仓库代码(仓库简称)",
  38841. "type": "string"
  38842. },
  38843. "warehouseid": {
  38844. "description": "仓库ID",
  38845. "type": "integer"
  38846. },
  38847. "warehousename": {
  38848. "description": "仓库名称",
  38849. "type": "string"
  38850. },
  38851. "wrfactortypeid": {
  38852. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  38853. "type": "string",
  38854. "example": "0"
  38855. },
  38856. "wrstandardid": {
  38857. "description": "现货商品ID",
  38858. "type": "integer"
  38859. },
  38860. "wrstandardname": {
  38861. "description": "现货商品名称",
  38862. "type": "string"
  38863. }
  38864. }
  38865. },
  38866. "models.WrQuoteOrderMyq": {
  38867. "type": "object",
  38868. "properties": {
  38869. "buyorsell": {
  38870. "description": "买卖 - 0:买 1:卖",
  38871. "type": "integer"
  38872. },
  38873. "canbargain": {
  38874. "description": "是否可议价 - 0:不可 1:可",
  38875. "type": "integer"
  38876. },
  38877. "canpart": {
  38878. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  38879. "type": "integer"
  38880. },
  38881. "delistminqty": {
  38882. "description": "起摘数量",
  38883. "type": "number"
  38884. },
  38885. "deliverygoodscode": {
  38886. "description": "品种代码",
  38887. "type": "string"
  38888. },
  38889. "deliverygoodsid": {
  38890. "description": "品种ID",
  38891. "type": "integer"
  38892. },
  38893. "deliverygoodsname": {
  38894. "description": "品种名称",
  38895. "type": "string"
  38896. },
  38897. "deliverymonth": {
  38898. "description": "交收月",
  38899. "type": "string"
  38900. },
  38901. "enumdicname": {
  38902. "description": "单位名称",
  38903. "type": "string"
  38904. },
  38905. "fixedprice": {
  38906. "description": "买(卖)价",
  38907. "type": "number"
  38908. },
  38909. "goodscode": {
  38910. "description": "商品合约代码",
  38911. "type": "string"
  38912. },
  38913. "marginflag": {
  38914. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  38915. "type": "integer"
  38916. },
  38917. "marginvalue": {
  38918. "description": "保证金设置值",
  38919. "type": "number"
  38920. },
  38921. "minivalue": {
  38922. "description": "现货商品最小变动值",
  38923. "type": "integer"
  38924. },
  38925. "orderqty": {
  38926. "description": "买(卖)量(=委托量-成交量)",
  38927. "type": "number"
  38928. },
  38929. "ordertime": {
  38930. "description": "委托时间",
  38931. "type": "string"
  38932. },
  38933. "performancetemplateid": {
  38934. "description": "履约模板id",
  38935. "type": "integer"
  38936. },
  38937. "pricemove": {
  38938. "description": "买(卖)升贴水- 基差",
  38939. "type": "number"
  38940. },
  38941. "templatename": {
  38942. "description": "履约模板名称",
  38943. "type": "string"
  38944. },
  38945. "userid": {
  38946. "description": "购买方(销售方)用户ID",
  38947. "type": "integer"
  38948. },
  38949. "username": {
  38950. "description": "购买方(销售方)",
  38951. "type": "string"
  38952. },
  38953. "validtime": {
  38954. "description": "有效期限",
  38955. "type": "string"
  38956. },
  38957. "validtype": {
  38958. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  38959. "type": "integer"
  38960. },
  38961. "warehousename": {
  38962. "description": "仓库名称",
  38963. "type": "string"
  38964. },
  38965. "wrfactortypeid": {
  38966. "description": "仓单要素id",
  38967. "type": "string"
  38968. },
  38969. "wrstandardcode": {
  38970. "description": "现货商品代码",
  38971. "type": "string"
  38972. },
  38973. "wrstandardid": {
  38974. "description": "现货商品ID",
  38975. "type": "integer"
  38976. },
  38977. "wrstandardname": {
  38978. "description": "商品名称",
  38979. "type": "string"
  38980. },
  38981. "wrtradeorderid": {
  38982. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38983. "type": "string"
  38984. },
  38985. "wrtypename": {
  38986. "description": "商品",
  38987. "type": "string"
  38988. }
  38989. }
  38990. },
  38991. "models.WrReckonSpotGoodsTradeSum": {
  38992. "type": "object",
  38993. "properties": {
  38994. "begindate": {
  38995. "description": "开始日期(结果含开始日期) yyyymmdd",
  38996. "type": "string"
  38997. },
  38998. "enddate": {
  38999. "description": "结束日期(结果含结束日期) yyyymmdd",
  39000. "type": "string"
  39001. },
  39002. "istoday": {
  39003. "description": "是否当日",
  39004. "type": "boolean"
  39005. },
  39006. "marketid": {
  39007. "description": "市场ID",
  39008. "type": "integer"
  39009. },
  39010. "price": {
  39011. "description": "价格 = 日成交金额 / 日成交数量",
  39012. "type": "string"
  39013. },
  39014. "reckondate": {
  39015. "description": "日期 格式 yyyymmdd",
  39016. "type": "string"
  39017. },
  39018. "tradeamount": {
  39019. "description": "日成交金额(当日单方向成交金额)",
  39020. "type": "number"
  39021. },
  39022. "tradeqty": {
  39023. "description": "日成交数量(当日单方向成交数量)",
  39024. "type": "number"
  39025. },
  39026. "wrstandardid": {
  39027. "description": "现货商品ID",
  39028. "type": "integer"
  39029. }
  39030. }
  39031. },
  39032. "models.WrScfContract": {
  39033. "type": "object",
  39034. "properties": {
  39035. "borroweruserid": {
  39036. "description": "借款用户ID",
  39037. "type": "integer"
  39038. },
  39039. "buybackwrpositionqty": {
  39040. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  39041. "type": "number"
  39042. },
  39043. "closeinterest": {
  39044. "description": "已结利息 -\u003e 已结费用",
  39045. "type": "number"
  39046. },
  39047. "currisklevel": {
  39048. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  39049. "type": "integer"
  39050. },
  39051. "deadline": {
  39052. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  39053. "type": "string"
  39054. },
  39055. "deliverygoodscode": {
  39056. "description": "品种代码",
  39057. "type": "string"
  39058. },
  39059. "deliverygoodsid": {
  39060. "description": "品种ID",
  39061. "type": "integer"
  39062. },
  39063. "deliverygoodsname": {
  39064. "description": "品种名称",
  39065. "type": "string"
  39066. },
  39067. "enumdicname": {
  39068. "description": "单位名称",
  39069. "type": "string"
  39070. },
  39071. "financingdays": {
  39072. "description": "天数(天)",
  39073. "type": "integer"
  39074. },
  39075. "initmargin": {
  39076. "description": "保证金 - [仓单回购]",
  39077. "type": "number"
  39078. },
  39079. "interestamount": {
  39080. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  39081. "type": "number"
  39082. },
  39083. "interestdebt": {
  39084. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  39085. "type": "number"
  39086. },
  39087. "interestminlen": {
  39088. "description": "最小起息天数",
  39089. "type": "integer"
  39090. },
  39091. "interestrate": {
  39092. "description": "利率",
  39093. "type": "number"
  39094. },
  39095. "interestratemode": {
  39096. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39097. "type": "integer"
  39098. },
  39099. "interestsettlemode": {
  39100. "description": "结息方式 - 1:按日结息 3:按月结息",
  39101. "type": "integer"
  39102. },
  39103. "interestsettlevalue": {
  39104. "description": "结息方式值",
  39105. "type": "integer"
  39106. },
  39107. "isautoloan": {
  39108. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  39109. "type": "integer"
  39110. },
  39111. "lastcloseinterestday": {
  39112. "description": "最近结息日(yyyyMMdd)",
  39113. "type": "string"
  39114. },
  39115. "lenderamount": {
  39116. "description": "贷款金额 -\u003e 借款金额",
  39117. "type": "number"
  39118. },
  39119. "lenderuserid": {
  39120. "description": "贷款方用户ID -\u003e 融出方用户ID",
  39121. "type": "integer"
  39122. },
  39123. "lenderusername": {
  39124. "description": "融出方",
  39125. "type": "string"
  39126. },
  39127. "marginratio": {
  39128. "description": "保证金比率质押率 - [仓单质押]",
  39129. "type": "number"
  39130. },
  39131. "marketid": {
  39132. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  39133. "type": "integer"
  39134. },
  39135. "minivalue": {
  39136. "description": "现货商品最小变动值",
  39137. "type": "integer"
  39138. },
  39139. "optioncompare": {
  39140. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39141. "type": "string"
  39142. },
  39143. "pricemove": {
  39144. "description": "估值升贴水值",
  39145. "type": "number"
  39146. },
  39147. "productdetailid": {
  39148. "description": "产品组合ID",
  39149. "type": "integer"
  39150. },
  39151. "productid": {
  39152. "description": "金融产品ID",
  39153. "type": "integer"
  39154. },
  39155. "productname": {
  39156. "description": "产品名称",
  39157. "type": "string"
  39158. },
  39159. "remainamount": {
  39160. "description": "合同剩余金额 -\u003e 剩余金额",
  39161. "type": "number"
  39162. },
  39163. "remainwrpositionqty": {
  39164. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  39165. "type": "number"
  39166. },
  39167. "remark": {
  39168. "description": "备注",
  39169. "type": "string"
  39170. },
  39171. "scfcontractid": {
  39172. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  39173. "type": "string"
  39174. },
  39175. "scfcontractstatus": {
  39176. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  39177. "type": "integer"
  39178. },
  39179. "scfcontracttype": {
  39180. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  39181. "type": "integer"
  39182. },
  39183. "startinterestday": {
  39184. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  39185. "type": "string"
  39186. },
  39187. "totalinterest": {
  39188. "description": "已计利息 -\u003e 已计费用",
  39189. "type": "number"
  39190. },
  39191. "unpaidinterest": {
  39192. "description": "未结费用",
  39193. "type": "number"
  39194. },
  39195. "updatetime": {
  39196. "description": "更新时间",
  39197. "type": "string"
  39198. },
  39199. "warehouseid": {
  39200. "description": "仓库ID",
  39201. "type": "integer"
  39202. },
  39203. "warehousename": {
  39204. "description": "仓库名称",
  39205. "type": "string"
  39206. },
  39207. "wrfactortypeid": {
  39208. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39209. "type": "string"
  39210. },
  39211. "wrfactortypename": {
  39212. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39213. "type": "string"
  39214. },
  39215. "wrqty": {
  39216. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  39217. "type": "number"
  39218. },
  39219. "wrstandardcode": {
  39220. "description": "现货商品代码",
  39221. "type": "string"
  39222. },
  39223. "wrstandardid": {
  39224. "description": "现货商品ID",
  39225. "type": "integer"
  39226. },
  39227. "wrstandardname": {
  39228. "description": "商品名称",
  39229. "type": "string"
  39230. },
  39231. "wrtypename": {
  39232. "description": "商品",
  39233. "type": "string"
  39234. }
  39235. }
  39236. },
  39237. "models.WrScfContractInterest": {
  39238. "type": "object",
  39239. "properties": {
  39240. "closeinterest": {
  39241. "description": "已结利息",
  39242. "type": "number"
  39243. },
  39244. "closeintereststatus": {
  39245. "description": "结息状态 - 1:未结 2:已结",
  39246. "type": "integer"
  39247. },
  39248. "closetime": {
  39249. "description": "结息时间",
  39250. "type": "string"
  39251. },
  39252. "closetradedate": {
  39253. "description": "结息交易日",
  39254. "type": "string"
  39255. },
  39256. "creatorid": {
  39257. "description": "操作人ID",
  39258. "type": "integer"
  39259. },
  39260. "dayrate": {
  39261. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  39262. "type": "number"
  39263. },
  39264. "interest": {
  39265. "description": "利息",
  39266. "type": "number"
  39267. },
  39268. "interestamount": {
  39269. "description": "计息金额",
  39270. "type": "number"
  39271. },
  39272. "interestday": {
  39273. "description": "计息日(yyyyMMdd)",
  39274. "type": "string"
  39275. },
  39276. "scfcontractid": {
  39277. "description": "SCF合同ID",
  39278. "type": "string"
  39279. },
  39280. "scfcontractinterestid": {
  39281. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  39282. "type": "integer"
  39283. },
  39284. "updatetime": {
  39285. "description": "更新时间",
  39286. "type": "string"
  39287. }
  39288. }
  39289. },
  39290. "models.WrSearchUser": {
  39291. "type": "object",
  39292. "required": [
  39293. "username"
  39294. ],
  39295. "properties": {
  39296. "userid": {
  39297. "description": "用户ID",
  39298. "type": "integer"
  39299. },
  39300. "username": {
  39301. "description": "用户名称(已脱敏)",
  39302. "type": "string"
  39303. },
  39304. "username2": {
  39305. "description": "用户名称(未脱敏)",
  39306. "type": "string"
  39307. },
  39308. "usertype": {
  39309. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  39310. "type": "integer"
  39311. }
  39312. }
  39313. },
  39314. "models.WrSiteColumnDetail": {
  39315. "type": "object",
  39316. "properties": {
  39317. "brief": {
  39318. "description": "简介",
  39319. "type": "string"
  39320. },
  39321. "context": {
  39322. "description": "内容",
  39323. "type": "string"
  39324. },
  39325. "coverimage": {
  39326. "description": "封面图片",
  39327. "type": "string"
  39328. },
  39329. "creaedate": {
  39330. "description": "创建时间",
  39331. "type": "string"
  39332. },
  39333. "id": {
  39334. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  39335. "type": "integer"
  39336. },
  39337. "istop": {
  39338. "description": "是否置顶 - 0:不置 1:置顶",
  39339. "type": "integer"
  39340. },
  39341. "publishdate": {
  39342. "description": "发布日期",
  39343. "type": "string"
  39344. },
  39345. "title": {
  39346. "description": "标题",
  39347. "type": "string"
  39348. },
  39349. "updatedate": {
  39350. "description": "修改时间",
  39351. "type": "string"
  39352. }
  39353. }
  39354. },
  39355. "models.WrSpecialMatchOrder": {
  39356. "type": "object",
  39357. "properties": {
  39358. "amount": {
  39359. "description": "金额 = 数量 * 价格",
  39360. "type": "number"
  39361. },
  39362. "buyorsell": {
  39363. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39364. "type": "integer"
  39365. },
  39366. "cancelqty": {
  39367. "description": "撤销数量",
  39368. "type": "number"
  39369. },
  39370. "deliverygoodscode": {
  39371. "description": "品种代码",
  39372. "type": "string"
  39373. },
  39374. "deliverygoodsid": {
  39375. "description": "品种ID",
  39376. "type": "integer"
  39377. },
  39378. "deliverygoodsname": {
  39379. "description": "品种名称",
  39380. "type": "string"
  39381. },
  39382. "enumdicname": {
  39383. "description": "单位名称",
  39384. "type": "string"
  39385. },
  39386. "fixedprice": {
  39387. "description": "固定价格(价格)",
  39388. "type": "number"
  39389. },
  39390. "haswr": {
  39391. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39392. "type": "integer"
  39393. },
  39394. "isspecified": {
  39395. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  39396. "type": "integer"
  39397. },
  39398. "marketid": {
  39399. "description": "市场ID",
  39400. "type": "integer"
  39401. },
  39402. "matchuserid": {
  39403. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  39404. "type": "integer"
  39405. },
  39406. "matchusername": {
  39407. "description": "指定方",
  39408. "type": "string"
  39409. },
  39410. "minivalue": {
  39411. "description": "现货商品最小变动值",
  39412. "type": "integer"
  39413. },
  39414. "optioncompare": {
  39415. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39416. "type": "string"
  39417. },
  39418. "orderqty": {
  39419. "description": "委托数量",
  39420. "type": "number"
  39421. },
  39422. "ordertime": {
  39423. "description": "委托时间",
  39424. "type": "string"
  39425. },
  39426. "pricemove": {
  39427. "description": "升贴水(浮动价时填写) - [挂牌]",
  39428. "type": "number"
  39429. },
  39430. "tradedate": {
  39431. "description": "交易日(yyyyMMdd)",
  39432. "type": "string"
  39433. },
  39434. "tradeprice": {
  39435. "description": "成交价格",
  39436. "type": "number"
  39437. },
  39438. "tradeqty": {
  39439. "description": "成交数量",
  39440. "type": "number"
  39441. },
  39442. "userid": {
  39443. "description": "用户ID",
  39444. "type": "integer"
  39445. },
  39446. "username": {
  39447. "description": "发起方",
  39448. "type": "string"
  39449. },
  39450. "warehouseid": {
  39451. "description": "仓库ID",
  39452. "type": "integer"
  39453. },
  39454. "warehousename": {
  39455. "description": "仓库名称",
  39456. "type": "string"
  39457. },
  39458. "wrfactortypeid": {
  39459. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39460. "type": "string"
  39461. },
  39462. "wrfactortypename": {
  39463. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39464. "type": "string"
  39465. },
  39466. "wrpricetype": {
  39467. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39468. "type": "integer"
  39469. },
  39470. "wrstandardcode": {
  39471. "description": "现货商品代码",
  39472. "type": "string"
  39473. },
  39474. "wrstandardid": {
  39475. "description": "现货商品ID",
  39476. "type": "integer"
  39477. },
  39478. "wrstandardname": {
  39479. "description": "商品名称",
  39480. "type": "string"
  39481. },
  39482. "wrtradeorderid": {
  39483. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39484. "type": "string"
  39485. },
  39486. "wrtradeorderstatus": {
  39487. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  39488. "type": "integer"
  39489. },
  39490. "wrtradetype": {
  39491. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39492. "type": "integer"
  39493. },
  39494. "wrtypename": {
  39495. "description": "商品",
  39496. "type": "string"
  39497. }
  39498. }
  39499. },
  39500. "models.WrSpotGroupTradeSum": {
  39501. "type": "object",
  39502. "properties": {
  39503. "deliverygoodscode": {
  39504. "description": "现货品种代码",
  39505. "type": "string"
  39506. },
  39507. "deliverygoodsid": {
  39508. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39509. "type": "integer"
  39510. },
  39511. "deliverygoodsname": {
  39512. "description": "现货品种名称",
  39513. "type": "string"
  39514. },
  39515. "lastavgprice": {
  39516. "description": "上上个交易日价格(前2天价格)",
  39517. "type": "string"
  39518. },
  39519. "lastreckondate": {
  39520. "description": "上上个交易日(前2天交易日)",
  39521. "type": "string"
  39522. },
  39523. "reckondate": {
  39524. "description": "上个交易日(前1天交易日)",
  39525. "type": "string"
  39526. },
  39527. "todayavgprice": {
  39528. "description": "上个交易日价格(前1天价格)",
  39529. "type": "string"
  39530. },
  39531. "updown": {
  39532. "description": "涨跌",
  39533. "type": "string"
  39534. },
  39535. "updownratio": {
  39536. "description": "涨幅(已格式化, 直接显示即可)",
  39537. "type": "string"
  39538. }
  39539. }
  39540. },
  39541. "models.WrSpotGroupTradeSumDetail": {
  39542. "type": "object",
  39543. "properties": {
  39544. "deliverygoodsid": {
  39545. "description": "现货商品id",
  39546. "type": "integer"
  39547. },
  39548. "price": {
  39549. "description": "价格",
  39550. "type": "number"
  39551. },
  39552. "reckondate": {
  39553. "description": "日期(yyymmdd, 如:20211031)",
  39554. "type": "string"
  39555. }
  39556. }
  39557. },
  39558. "models.WrSpotGroupTradeSumEx": {
  39559. "type": "object",
  39560. "properties": {
  39561. "lst": {
  39562. "description": "指数列表",
  39563. "type": "array",
  39564. "items": {
  39565. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  39566. }
  39567. },
  39568. "prereckondate": {
  39569. "description": "上上个交易日(yyymmdd)",
  39570. "type": "string"
  39571. },
  39572. "reckondate": {
  39573. "description": "上个交易日(yyyymmdd)",
  39574. "type": "string"
  39575. }
  39576. }
  39577. },
  39578. "models.WrStandardFactoryItem": {
  39579. "type": "object",
  39580. "properties": {
  39581. "dgfactoryitemid": {
  39582. "description": "选择项id",
  39583. "type": "integer"
  39584. },
  39585. "dgfactoryitemvalue": {
  39586. "description": "要素项值",
  39587. "type": "string"
  39588. },
  39589. "warehouseid": {
  39590. "description": "仓库id",
  39591. "type": "integer"
  39592. }
  39593. }
  39594. },
  39595. "models.WrStandardFactoryItemEx": {
  39596. "type": "object",
  39597. "properties": {
  39598. "dgfactoryitemtypeid": {
  39599. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  39600. "type": "integer"
  39601. },
  39602. "itemlst": {
  39603. "description": "要素项列表",
  39604. "type": "array",
  39605. "items": {
  39606. "$ref": "#/definitions/models.WrStandardFactoryItem"
  39607. }
  39608. },
  39609. "itemtypename": {
  39610. "description": "要素项类型名称",
  39611. "type": "string"
  39612. },
  39613. "wrstandardid": {
  39614. "description": "品类",
  39615. "type": "integer"
  39616. }
  39617. }
  39618. },
  39619. "models.WrTradeDetail": {
  39620. "type": "object",
  39621. "properties": {
  39622. "accountid": {
  39623. "description": "资金账号",
  39624. "type": "integer"
  39625. },
  39626. "bannerpicurl": {
  39627. "description": "Banner图",
  39628. "type": "string"
  39629. },
  39630. "begindate": {
  39631. "description": "开始交易日(yyyymmdd)",
  39632. "type": "string"
  39633. },
  39634. "buyorsell": {
  39635. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39636. "type": "integer"
  39637. },
  39638. "chargevalue": {
  39639. "description": "手续费",
  39640. "type": "number"
  39641. },
  39642. "deliverygoodscode": {
  39643. "description": "品种代码",
  39644. "type": "string"
  39645. },
  39646. "deliverygoodsid": {
  39647. "description": "品种ID",
  39648. "type": "integer"
  39649. },
  39650. "deliverygoodsname": {
  39651. "description": "品种名称",
  39652. "type": "string"
  39653. },
  39654. "deliverymonth": {
  39655. "description": "交收月",
  39656. "type": "string"
  39657. },
  39658. "enddate": {
  39659. "description": "结束交易日(yyyymmdd)",
  39660. "type": "string"
  39661. },
  39662. "enumdicname": {
  39663. "description": "单位名称",
  39664. "type": "string"
  39665. },
  39666. "haswr": {
  39667. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39668. "type": "integer"
  39669. },
  39670. "marketid": {
  39671. "description": "市场ID",
  39672. "type": "integer"
  39673. },
  39674. "matchaccountid": {
  39675. "description": "对手账号",
  39676. "type": "integer"
  39677. },
  39678. "matchusername": {
  39679. "description": "对手方",
  39680. "type": "string"
  39681. },
  39682. "minivalue": {
  39683. "description": "现货商品最小变动值",
  39684. "type": "integer"
  39685. },
  39686. "optioncompare": {
  39687. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39688. "type": "string"
  39689. },
  39690. "thumurls": {
  39691. "description": "缩略图",
  39692. "type": "string"
  39693. },
  39694. "tradedate": {
  39695. "description": "交易日(yyyyMMdd)",
  39696. "type": "string"
  39697. },
  39698. "tradeprice": {
  39699. "description": "成交价格",
  39700. "type": "number"
  39701. },
  39702. "tradeqty": {
  39703. "description": "成交数量",
  39704. "type": "number"
  39705. },
  39706. "tradetime": {
  39707. "description": "成交时间",
  39708. "type": "string"
  39709. },
  39710. "userid": {
  39711. "description": "用户ID",
  39712. "type": "integer"
  39713. },
  39714. "warehouseid": {
  39715. "description": "仓库ID",
  39716. "type": "integer"
  39717. },
  39718. "warehousename": {
  39719. "description": "仓库名称",
  39720. "type": "string"
  39721. },
  39722. "wrfactortypeid": {
  39723. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39724. "type": "string"
  39725. },
  39726. "wrfactortypename": {
  39727. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39728. "type": "string"
  39729. },
  39730. "wrstandardcode": {
  39731. "description": "现货商品代码",
  39732. "type": "string"
  39733. },
  39734. "wrstandardid": {
  39735. "description": "现货商品ID",
  39736. "type": "integer"
  39737. },
  39738. "wrstandardname": {
  39739. "description": "商品名称",
  39740. "type": "string"
  39741. },
  39742. "wrtradedetailid": {
  39743. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  39744. "type": "string"
  39745. },
  39746. "wrtradetype": {
  39747. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39748. "type": "integer"
  39749. },
  39750. "wrtypename": {
  39751. "description": "商品",
  39752. "type": "string"
  39753. }
  39754. }
  39755. },
  39756. "models.WrTradeOrderDetail": {
  39757. "type": "object",
  39758. "properties": {
  39759. "buyorsell": {
  39760. "description": "买卖方向 0-买 1-卖",
  39761. "type": "integer"
  39762. },
  39763. "goodsid": {
  39764. "description": "商品id",
  39765. "type": "integer"
  39766. },
  39767. "orderid": {
  39768. "description": "委托单号",
  39769. "type": "string"
  39770. },
  39771. "orderprice": {
  39772. "description": "委托价格",
  39773. "type": "number"
  39774. },
  39775. "orderqty": {
  39776. "description": "委托数量",
  39777. "type": "integer"
  39778. },
  39779. "userid": {
  39780. "description": "用户id",
  39781. "type": "integer"
  39782. },
  39783. "username": {
  39784. "description": "用户名称(已脱敏)",
  39785. "type": "string"
  39786. }
  39787. }
  39788. },
  39789. "models.WrTypeItem": {
  39790. "type": "object",
  39791. "properties": {
  39792. "name": {
  39793. "description": "名称",
  39794. "type": "string"
  39795. },
  39796. "value": {
  39797. "description": "值",
  39798. "type": "string"
  39799. }
  39800. }
  39801. },
  39802. "models.WrUserFriend": {
  39803. "type": "object",
  39804. "properties": {
  39805. "friendname": {
  39806. "description": "朋友名称(已脱敏)",
  39807. "type": "string"
  39808. },
  39809. "frienduserid": {
  39810. "description": "朋友id",
  39811. "type": "integer"
  39812. },
  39813. "isfriend": {
  39814. "description": "是否好友 0-不是 1-是",
  39815. "type": "integer"
  39816. },
  39817. "userid": {
  39818. "description": "用户id",
  39819. "type": "integer"
  39820. }
  39821. }
  39822. },
  39823. "models.WrUserReceiptInfo": {
  39824. "type": "object",
  39825. "properties": {
  39826. "address": {
  39827. "description": "地址[发票类型:企业]",
  39828. "type": "string"
  39829. },
  39830. "autoid": {
  39831. "description": "AutoID",
  39832. "type": "integer"
  39833. },
  39834. "contactinfo": {
  39835. "description": "联系方式",
  39836. "type": "string"
  39837. },
  39838. "idnum": {
  39839. "description": "身份证号码[发票类型:个人]",
  39840. "type": "string"
  39841. },
  39842. "isdefault": {
  39843. "description": "是否默认地址 - 0:否 1:是",
  39844. "type": "integer"
  39845. },
  39846. "receiptaccount": {
  39847. "description": "发票帐号[发票类型:企业]",
  39848. "type": "string"
  39849. },
  39850. "receiptbank": {
  39851. "description": "发票开户行[发票类型:企业]",
  39852. "type": "string"
  39853. },
  39854. "receipttype": {
  39855. "description": "发票类型 - 1:个人 2:企业",
  39856. "type": "integer"
  39857. },
  39858. "taxpayerid": {
  39859. "description": "纳税人识别号",
  39860. "type": "string"
  39861. },
  39862. "userid": {
  39863. "description": "用户ID",
  39864. "type": "integer"
  39865. },
  39866. "username": {
  39867. "description": "户名(个人姓名或企业名称)",
  39868. "type": "string"
  39869. }
  39870. }
  39871. },
  39872. "models.XHBRAND": {
  39873. "type": "object",
  39874. "properties": {
  39875. "brandid": {
  39876. "description": "品牌id",
  39877. "type": "integer"
  39878. },
  39879. "brandname": {
  39880. "description": "品牌名称",
  39881. "type": "string"
  39882. },
  39883. "isvalid": {
  39884. "description": "是否有效 0-无效 1-有效",
  39885. "type": "integer"
  39886. }
  39887. }
  39888. },
  39889. "models.XHDeliveryGoods": {
  39890. "type": "object",
  39891. "properties": {
  39892. "areauserid": {
  39893. "description": "所属机构",
  39894. "type": "integer"
  39895. },
  39896. "bdlst": {
  39897. "description": "品牌列表",
  39898. "type": "array",
  39899. "items": {
  39900. "$ref": "#/definitions/models.XHBRAND"
  39901. }
  39902. },
  39903. "deliverygoodscode": {
  39904. "description": "现货品种代码",
  39905. "type": "string"
  39906. },
  39907. "deliverygoodsid": {
  39908. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39909. "type": "integer"
  39910. },
  39911. "deliverygoodsname": {
  39912. "description": "现货品种名称",
  39913. "type": "string"
  39914. },
  39915. "dgstatus": {
  39916. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  39917. "type": "integer"
  39918. },
  39919. "filterSubEmpty": {
  39920. "description": "过滤下级为空的",
  39921. "type": "integer"
  39922. },
  39923. "isvalid": {
  39924. "description": "是否有效 - 0:无效 1:有效",
  39925. "type": "integer"
  39926. },
  39927. "remark": {
  39928. "description": "备注",
  39929. "type": "string"
  39930. },
  39931. "unitid": {
  39932. "description": "单位id(目前看,数据库中是空值)",
  39933. "type": "integer"
  39934. },
  39935. "wdlst": {
  39936. "description": "品类(现货商品)列表",
  39937. "type": "array",
  39938. "items": {
  39939. "$ref": "#/definitions/models.XHWrstandard"
  39940. }
  39941. }
  39942. }
  39943. },
  39944. "models.XHMiddleGoods": {
  39945. "type": "object",
  39946. "properties": {
  39947. "GPLST": {
  39948. "description": "期货品种列表",
  39949. "type": "array",
  39950. "items": {
  39951. "$ref": "#/definitions/models.TBGoodsGroup"
  39952. }
  39953. },
  39954. "convertratio": {
  39955. "description": "拆算系数",
  39956. "type": "number"
  39957. },
  39958. "costratio": {
  39959. "description": "成本权重",
  39960. "type": "number"
  39961. },
  39962. "deliverygoodsid": {
  39963. "description": "现货商品id",
  39964. "type": "integer"
  39965. },
  39966. "enumdicname": {
  39967. "description": "单位名称",
  39968. "type": "string"
  39969. },
  39970. "middlegoodscode": {
  39971. "description": "套保品种代码",
  39972. "type": "string"
  39973. },
  39974. "middlegoodsid": {
  39975. "description": "套保品种id",
  39976. "type": "integer"
  39977. },
  39978. "middlegoodsname": {
  39979. "description": "套保品种名称",
  39980. "type": "string"
  39981. },
  39982. "unitid": {
  39983. "description": "单位id",
  39984. "type": "integer"
  39985. }
  39986. }
  39987. },
  39988. "models.XHWrstandard": {
  39989. "type": "object",
  39990. "properties": {
  39991. "bannerpicurl": {
  39992. "description": "banner图",
  39993. "type": "string"
  39994. },
  39995. "deliverygoodsid": {
  39996. "description": "品种ID",
  39997. "type": "integer"
  39998. },
  39999. "enumdicname": {
  40000. "description": "单位名称",
  40001. "type": "string"
  40002. },
  40003. "mglst": {
  40004. "description": "套保品列表",
  40005. "type": "array",
  40006. "items": {
  40007. "$ref": "#/definitions/models.XHMiddleGoods"
  40008. }
  40009. },
  40010. "pictureurls": {
  40011. "description": "详情图片(逗号分隔)",
  40012. "type": "string"
  40013. },
  40014. "thumurls": {
  40015. "description": "缩略图片(1:1)(逗号分隔)",
  40016. "type": "string"
  40017. },
  40018. "unitid": {
  40019. "description": "单位id",
  40020. "type": "integer"
  40021. },
  40022. "vatrate": {
  40023. "description": "增值税率",
  40024. "type": "number"
  40025. },
  40026. "wrstandardcode": {
  40027. "description": "现货商品代码",
  40028. "type": "string"
  40029. },
  40030. "wrstandardid": {
  40031. "description": "现货商品ID(SEQ_WRSTANDARD)",
  40032. "type": "integer"
  40033. },
  40034. "wrstandardname": {
  40035. "description": "现货商品名称",
  40036. "type": "string"
  40037. }
  40038. }
  40039. },
  40040. "models.XhcpSellBackApplyEx": {
  40041. "type": "object",
  40042. "required": [
  40043. "userid"
  40044. ],
  40045. "properties": {
  40046. "applyremark": {
  40047. "description": "申请备注",
  40048. "type": "string"
  40049. },
  40050. "expirytype": {
  40051. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  40052. "type": "integer"
  40053. },
  40054. "goodsspec": {
  40055. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  40056. "type": "integer"
  40057. },
  40058. "holeflag": {
  40059. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  40060. "type": "integer"
  40061. },
  40062. "isunopened": {
  40063. "description": "是否原封 - 1:否 2:是",
  40064. "type": "integer"
  40065. },
  40066. "mpflag": {
  40067. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  40068. "type": "integer"
  40069. },
  40070. "openflag": {
  40071. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  40072. "type": "integer"
  40073. },
  40074. "phonenum": {
  40075. "description": "联系电话",
  40076. "type": "string"
  40077. },
  40078. "userid": {
  40079. "description": "所属用户ID",
  40080. "type": "integer"
  40081. },
  40082. "zpflag": {
  40083. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  40084. "type": "integer"
  40085. }
  40086. }
  40087. },
  40088. "models.Xhcpsellbackapply": {
  40089. "type": "object",
  40090. "required": [
  40091. "userid"
  40092. ],
  40093. "properties": {
  40094. "applyid": {
  40095. "description": "申请人",
  40096. "type": "integer"
  40097. },
  40098. "applyremark": {
  40099. "description": "申请备注",
  40100. "type": "string"
  40101. },
  40102. "applysrc": {
  40103. "description": "申请来源 - 1:管理端 2:终端",
  40104. "type": "integer"
  40105. },
  40106. "applystatus": {
  40107. "description": "申请状态 - 1:待确认 2:已处理",
  40108. "type": "integer"
  40109. },
  40110. "applytime": {
  40111. "description": "申请时间",
  40112. "type": "string"
  40113. },
  40114. "auditremark": {
  40115. "description": "审核备注",
  40116. "type": "string"
  40117. },
  40118. "auditsrc": {
  40119. "description": "审核来源 - 1:管理端 2:终端",
  40120. "type": "integer"
  40121. },
  40122. "expirytype": {
  40123. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  40124. "type": "integer"
  40125. },
  40126. "goodsspec": {
  40127. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  40128. "type": "integer"
  40129. },
  40130. "holeflag": {
  40131. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  40132. "type": "integer"
  40133. },
  40134. "isunopened": {
  40135. "description": "是否原封 - 1:否 2:是",
  40136. "type": "integer"
  40137. },
  40138. "mpflag": {
  40139. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  40140. "type": "integer"
  40141. },
  40142. "openflag": {
  40143. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  40144. "type": "integer"
  40145. },
  40146. "phonenum": {
  40147. "description": "联系电话",
  40148. "type": "string"
  40149. },
  40150. "sellbackapplyid": {
  40151. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  40152. "type": "string"
  40153. },
  40154. "userid": {
  40155. "description": "所属用户ID",
  40156. "type": "integer"
  40157. },
  40158. "zpflag": {
  40159. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  40160. "type": "integer"
  40161. }
  40162. }
  40163. },
  40164. "order.QueryHisTradeDetailRsp": {
  40165. "type": "object",
  40166. "required": [
  40167. "accountid",
  40168. "buyorsell",
  40169. "goodsid",
  40170. "histradedate",
  40171. "marketid",
  40172. "memberuserid",
  40173. "orderid",
  40174. "tradeamount",
  40175. "tradedate",
  40176. "tradeid",
  40177. "tradeprice",
  40178. "tradeqty",
  40179. "tradetime"
  40180. ],
  40181. "properties": {
  40182. "accountid": {
  40183. "description": "账户ID[报价币种]",
  40184. "type": "integer"
  40185. },
  40186. "advanceratio": {
  40187. "description": "首付比率",
  40188. "type": "number"
  40189. },
  40190. "buildtype": {
  40191. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  40192. "type": "integer"
  40193. },
  40194. "buyorsell": {
  40195. "description": "方向 - 0:买 1:卖",
  40196. "type": "integer"
  40197. },
  40198. "charge": {
  40199. "description": "手续费",
  40200. "type": "number"
  40201. },
  40202. "closecharge": {
  40203. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  40204. "type": "number"
  40205. },
  40206. "closeexchagechargevalue": {
  40207. "description": "平仓交易所手续费设置值",
  40208. "type": "number"
  40209. },
  40210. "closefeealgorithm": {
  40211. "description": "平仓手续费收取方式 1:比率 2:固定",
  40212. "type": "integer"
  40213. },
  40214. "closememberchargevalue": {
  40215. "description": "平仓会员手续费设置值",
  40216. "type": "number"
  40217. },
  40218. "closepl": {
  40219. "description": "平仓盈亏",
  40220. "type": "number"
  40221. },
  40222. "closepl2": {
  40223. "description": "平仓盈亏[逐笔]",
  40224. "type": "number"
  40225. },
  40226. "closeqty": {
  40227. "description": "平仓数量(先建后平操作 需要记录)",
  40228. "type": "number"
  40229. },
  40230. "creditamount": {
  40231. "description": "授信金额",
  40232. "type": "number"
  40233. },
  40234. "decimalplace": {
  40235. "description": "商品报价小数位",
  40236. "type": "integer"
  40237. },
  40238. "enumdicname": {
  40239. "description": "单位名称",
  40240. "type": "string"
  40241. },
  40242. "gcaccountid": {
  40243. "description": "账户ID[合约币种]",
  40244. "type": "integer"
  40245. },
  40246. "goodscode": {
  40247. "description": "商品代码",
  40248. "type": "string"
  40249. },
  40250. "goodsid": {
  40251. "description": "商品ID",
  40252. "type": "integer"
  40253. },
  40254. "goodsname": {
  40255. "description": "商品名称",
  40256. "type": "string"
  40257. },
  40258. "goodunitid": {
  40259. "description": "商品单位id",
  40260. "type": "integer"
  40261. },
  40262. "histradedate": {
  40263. "description": "历史交易日",
  40264. "type": "string"
  40265. },
  40266. "intclosepl": {
  40267. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  40268. "type": "integer"
  40269. },
  40270. "isconfirmexercise": {
  40271. "description": "是否确认行权- 0:否 1:是",
  40272. "type": "integer"
  40273. },
  40274. "ismain": {
  40275. "description": "是否主单 - 0:不是 1:是",
  40276. "type": "integer"
  40277. },
  40278. "ispreexercise": {
  40279. "description": "是否预申报- 0:否 1:是",
  40280. "type": "integer"
  40281. },
  40282. "isreckoned": {
  40283. "description": "是否结算 - 0:未结算 1:已结算",
  40284. "type": "integer"
  40285. },
  40286. "isvaliddata": {
  40287. "description": "是否有效 - 0:无效 1:有效",
  40288. "type": "integer"
  40289. },
  40290. "listingselecttype": {
  40291. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  40292. "type": "integer"
  40293. },
  40294. "marketid": {
  40295. "description": "市场ID",
  40296. "type": "integer"
  40297. },
  40298. "marketname": {
  40299. "description": "市场名称",
  40300. "type": "string"
  40301. },
  40302. "matchaccountid": {
  40303. "description": "对手账号id",
  40304. "type": "integer"
  40305. },
  40306. "memberuserid": {
  40307. "description": "会员id 个人投资者 需要填写",
  40308. "type": "integer"
  40309. },
  40310. "opencharge": {
  40311. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  40312. "type": "number"
  40313. },
  40314. "openexchagechargevalue": {
  40315. "description": "建仓交易所手续费设置值",
  40316. "type": "number"
  40317. },
  40318. "openfeealgorithm": {
  40319. "description": "建仓手续费收取方式 1:比率 2:固定",
  40320. "type": "integer"
  40321. },
  40322. "openmemberchargevalue": {
  40323. "description": "建仓会员手续费设置值",
  40324. "type": "number"
  40325. },
  40326. "openqty": {
  40327. "description": "开仓数量(先建后平操作 需要记录)",
  40328. "type": "number"
  40329. },
  40330. "optiontype": {
  40331. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40332. "type": "integer"
  40333. },
  40334. "orderid": {
  40335. "description": "委托单号",
  40336. "type": "string"
  40337. },
  40338. "payamount": {
  40339. "description": "支付金额(付款金额)",
  40340. "type": "number"
  40341. },
  40342. "performanceplanid": {
  40343. "description": "履约计划ID[期权]",
  40344. "type": "integer"
  40345. },
  40346. "performancestatus": {
  40347. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  40348. "type": "integer"
  40349. },
  40350. "preexerciseprice": {
  40351. "description": "预申报价格",
  40352. "type": "number"
  40353. },
  40354. "premium": {
  40355. "description": "权利金 - [持仓单的权利金]",
  40356. "type": "number"
  40357. },
  40358. "qtydecimalplace": {
  40359. "description": "商品报价小数位",
  40360. "type": "integer"
  40361. },
  40362. "recvamount": {
  40363. "description": "到账金额 = 成交金额 - 手续费",
  40364. "type": "number"
  40365. },
  40366. "relatedouttradeid": {
  40367. "description": "关联外部成交单ID",
  40368. "type": "integer"
  40369. },
  40370. "status": {
  40371. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  40372. "type": "integer"
  40373. },
  40374. "totalamount": {
  40375. "description": "订单总额 = 成交金额 + 手续费",
  40376. "type": "number"
  40377. },
  40378. "tradeamount": {
  40379. "description": "成交金额[账户币种,用于所有权]",
  40380. "type": "number"
  40381. },
  40382. "tradedate": {
  40383. "description": "交易日(yyyyMMdd)",
  40384. "type": "string"
  40385. },
  40386. "tradeid": {
  40387. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40388. "type": "string"
  40389. },
  40390. "trademode": {
  40391. "description": "交易模式",
  40392. "type": "integer"
  40393. },
  40394. "tradeprice": {
  40395. "description": "成交价格",
  40396. "type": "number"
  40397. },
  40398. "tradeproperty": {
  40399. "description": "交易属性",
  40400. "type": "integer"
  40401. },
  40402. "tradeqty": {
  40403. "description": "成交数量",
  40404. "type": "number"
  40405. },
  40406. "tradetime": {
  40407. "description": "成交时间",
  40408. "type": "string"
  40409. },
  40410. "tradetype": {
  40411. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  40412. "type": "integer"
  40413. }
  40414. }
  40415. },
  40416. "order.QueryHisTradeOrderDetailRsp": {
  40417. "type": "object",
  40418. "required": [
  40419. "accountid",
  40420. "buildtype",
  40421. "buyorsell",
  40422. "goodsid",
  40423. "histradedate",
  40424. "marketid",
  40425. "memberuserid",
  40426. "operatetype",
  40427. "orderid",
  40428. "orderqty",
  40429. "ordertime",
  40430. "pricemode",
  40431. "tradedate",
  40432. "validtype"
  40433. ],
  40434. "properties": {
  40435. "accountid": {
  40436. "description": "账户ID[报价币种]",
  40437. "type": "integer"
  40438. },
  40439. "buildtype": {
  40440. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  40441. "type": "integer"
  40442. },
  40443. "buyorsell": {
  40444. "description": "买卖 - 0:买 1:卖",
  40445. "type": "integer"
  40446. },
  40447. "cancelorderid": {
  40448. "description": "撤单单号(撤单时填写)",
  40449. "type": "string"
  40450. },
  40451. "cancelqty": {
  40452. "description": "撤单数量",
  40453. "type": "number"
  40454. },
  40455. "clientordertime": {
  40456. "description": "客户端委托时间",
  40457. "type": "string"
  40458. },
  40459. "clientticket": {
  40460. "description": "客户端流水号",
  40461. "type": "string"
  40462. },
  40463. "clienttype": {
  40464. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  40465. "type": "integer"
  40466. },
  40467. "closeexchagechargevalue": {
  40468. "description": "平仓交易所手续费设置值",
  40469. "type": "number"
  40470. },
  40471. "closefeealgorithm": {
  40472. "description": "平仓手续费收取方式 1:比率 2:固定",
  40473. "type": "integer"
  40474. },
  40475. "closefreezecharge": {
  40476. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  40477. "type": "number"
  40478. },
  40479. "closememberchargevalue": {
  40480. "description": "平仓会员手续费设置值",
  40481. "type": "number"
  40482. },
  40483. "closeqty": {
  40484. "description": "平仓数量(先建后平操作 需要记录)",
  40485. "type": "number"
  40486. },
  40487. "closetradeqty": {
  40488. "description": "平仓成交数量(先建后平操作,需要记录)",
  40489. "type": "number"
  40490. },
  40491. "closeunfreezecharge": {
  40492. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  40493. "type": "number"
  40494. },
  40495. "decimalplace": {
  40496. "description": "商品报价小数位",
  40497. "type": "integer"
  40498. },
  40499. "delistingtype": {
  40500. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  40501. "type": "integer"
  40502. },
  40503. "enumdicname": {
  40504. "description": "单位名称",
  40505. "type": "string"
  40506. },
  40507. "freezecharge": {
  40508. "description": "冻结手续费",
  40509. "type": "number"
  40510. },
  40511. "freezemargin": {
  40512. "description": "冻结保证金(冻结交易金额)",
  40513. "type": "number"
  40514. },
  40515. "gcaccountid": {
  40516. "description": "账户ID[合约币种]",
  40517. "type": "integer"
  40518. },
  40519. "goodscode": {
  40520. "description": "商品代码",
  40521. "type": "string"
  40522. },
  40523. "goodsid": {
  40524. "description": "商品ID",
  40525. "type": "integer"
  40526. },
  40527. "goodsname": {
  40528. "description": "商品名称",
  40529. "type": "string"
  40530. },
  40531. "goodunitid": {
  40532. "description": "商品单位id",
  40533. "type": "integer"
  40534. },
  40535. "histradedate": {
  40536. "description": "历史交易日",
  40537. "type": "string"
  40538. },
  40539. "isconfirmexercise": {
  40540. "description": "是否确认行权- 0:否 1:是",
  40541. "type": "integer"
  40542. },
  40543. "ispreexercise": {
  40544. "description": "是否预申报- 0:否 1:是",
  40545. "type": "integer"
  40546. },
  40547. "isvaliddata": {
  40548. "description": "是否有效 - 0:无效 1:有效",
  40549. "type": "integer"
  40550. },
  40551. "listingselecttype": {
  40552. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  40553. "type": "integer"
  40554. },
  40555. "marginalgorithm": {
  40556. "description": "保证金收取方式 1:比率 2:固定",
  40557. "type": "integer"
  40558. },
  40559. "marginvalue": {
  40560. "description": "即市保证金设置值",
  40561. "type": "number"
  40562. },
  40563. "marketid": {
  40564. "description": "市场ID",
  40565. "type": "integer"
  40566. },
  40567. "marketmaxsub": {
  40568. "description": "市价最大偏移范围",
  40569. "type": "number"
  40570. },
  40571. "marketname": {
  40572. "description": "市场名称",
  40573. "type": "string"
  40574. },
  40575. "memberuserid": {
  40576. "description": "所属会员UserID",
  40577. "type": "integer"
  40578. },
  40579. "openexchagechargevalue": {
  40580. "description": "建仓交易所手续费设置值",
  40581. "type": "number"
  40582. },
  40583. "openfeealgorithm": {
  40584. "description": "建仓手续费收取方式 1:比率 2:固定",
  40585. "type": "integer"
  40586. },
  40587. "openfreezecharge": {
  40588. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  40589. "type": "number"
  40590. },
  40591. "openmemberchargevalue": {
  40592. "description": "建仓会员手续费设置值",
  40593. "type": "number"
  40594. },
  40595. "openqty": {
  40596. "description": "开仓数量(先建后平操作,需要记录)",
  40597. "type": "number"
  40598. },
  40599. "opentradeqty": {
  40600. "description": "开仓成交数量(先建后平操作,需要记录)",
  40601. "type": "number"
  40602. },
  40603. "openunfreezecharge": {
  40604. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  40605. "type": "number"
  40606. },
  40607. "operatetype": {
  40608. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  40609. "type": "integer"
  40610. },
  40611. "operatorid": {
  40612. "description": "登录账号(LoginID)",
  40613. "type": "integer"
  40614. },
  40615. "optiontype": {
  40616. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40617. "type": "integer"
  40618. },
  40619. "orderid": {
  40620. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40621. "type": "string"
  40622. },
  40623. "orderprice": {
  40624. "description": "委托价格",
  40625. "type": "number"
  40626. },
  40627. "orderqty": {
  40628. "description": "委托数量",
  40629. "type": "number"
  40630. },
  40631. "ordersrc": {
  40632. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  40633. "type": "integer"
  40634. },
  40635. "orderstatus": {
  40636. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  40637. "type": "integer"
  40638. },
  40639. "ordertime": {
  40640. "description": "委托时间",
  40641. "type": "string"
  40642. },
  40643. "preexerciseprice": {
  40644. "description": "预申报价格",
  40645. "type": "number"
  40646. },
  40647. "premium": {
  40648. "description": "权利金",
  40649. "type": "number"
  40650. },
  40651. "preorderid": {
  40652. "description": "关联预埋单号(止盈止损单时填写)",
  40653. "type": "string"
  40654. },
  40655. "pricemode": {
  40656. "description": "取价方式 - 1:市价 2: 限价",
  40657. "type": "integer"
  40658. },
  40659. "qtydecimalplace": {
  40660. "description": "成交量小数位",
  40661. "type": "integer"
  40662. },
  40663. "quoteid": {
  40664. "description": "报价单ID",
  40665. "type": "integer"
  40666. },
  40667. "relatedid": {
  40668. "description": "关联单号(交割单)",
  40669. "type": "string"
  40670. },
  40671. "retcode": {
  40672. "description": "错误代码",
  40673. "type": "integer"
  40674. },
  40675. "sessionid": {
  40676. "description": "会话ID",
  40677. "type": "integer"
  40678. },
  40679. "tradedate": {
  40680. "description": "交易日(yyyyMMdd)",
  40681. "type": "string"
  40682. },
  40683. "trademode": {
  40684. "description": "交易模式",
  40685. "type": "integer"
  40686. },
  40687. "tradeproperty": {
  40688. "description": "交易属性",
  40689. "type": "integer"
  40690. },
  40691. "tradeqty": {
  40692. "description": "成交数量",
  40693. "type": "number"
  40694. },
  40695. "unfreezecharge": {
  40696. "description": "解冻手续费",
  40697. "type": "number"
  40698. },
  40699. "unfreezemargin": {
  40700. "description": "解冻保证金",
  40701. "type": "number"
  40702. },
  40703. "updatetime": {
  40704. "description": "更新时间",
  40705. "type": "string"
  40706. },
  40707. "uuid": {
  40708. "description": "发起端唯一id",
  40709. "type": "string"
  40710. },
  40711. "validtime": {
  40712. "description": "有效期限",
  40713. "type": "string"
  40714. },
  40715. "validtype": {
  40716. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  40717. "type": "integer"
  40718. },
  40719. "volumetype": {
  40720. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  40721. "type": "integer"
  40722. }
  40723. }
  40724. },
  40725. "order.QueryTradeDetailRsp": {
  40726. "type": "object",
  40727. "required": [
  40728. "accountid",
  40729. "buyorsell",
  40730. "goodsid",
  40731. "marketid",
  40732. "memberuserid",
  40733. "orderid",
  40734. "tradeamount",
  40735. "tradedate",
  40736. "tradeid",
  40737. "tradeprice",
  40738. "tradeqty",
  40739. "tradetime"
  40740. ],
  40741. "properties": {
  40742. "accountid": {
  40743. "description": "账户ID[报价币种]",
  40744. "type": "integer"
  40745. },
  40746. "advanceratio": {
  40747. "description": "首付比率",
  40748. "type": "number"
  40749. },
  40750. "buildtype": {
  40751. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  40752. "type": "integer"
  40753. },
  40754. "buyorsell": {
  40755. "description": "方向 - 0:买 1:卖",
  40756. "type": "integer"
  40757. },
  40758. "charge": {
  40759. "description": "手续费",
  40760. "type": "number"
  40761. },
  40762. "closecharge": {
  40763. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  40764. "type": "number"
  40765. },
  40766. "closeexchagechargevalue": {
  40767. "description": "平仓交易所手续费设置值",
  40768. "type": "number"
  40769. },
  40770. "closefeealgorithm": {
  40771. "description": "平仓手续费收取方式 1:比率 2:固定",
  40772. "type": "integer"
  40773. },
  40774. "closememberchargevalue": {
  40775. "description": "平仓会员手续费设置值",
  40776. "type": "number"
  40777. },
  40778. "closepl": {
  40779. "description": "平仓盈亏",
  40780. "type": "number"
  40781. },
  40782. "closepl2": {
  40783. "description": "平仓盈亏[逐笔]",
  40784. "type": "number"
  40785. },
  40786. "closeqty": {
  40787. "description": "平仓数量(先建后平操作 需要记录)",
  40788. "type": "number"
  40789. },
  40790. "creditamount": {
  40791. "description": "授信金额",
  40792. "type": "number"
  40793. },
  40794. "decimalplace": {
  40795. "description": "商品报价小数位",
  40796. "type": "integer"
  40797. },
  40798. "enumdicname": {
  40799. "description": "单位名称",
  40800. "type": "string"
  40801. },
  40802. "gcaccountid": {
  40803. "description": "账户ID[合约币种]",
  40804. "type": "integer"
  40805. },
  40806. "goodscode": {
  40807. "description": "商品代码",
  40808. "type": "string"
  40809. },
  40810. "goodsid": {
  40811. "description": "商品ID",
  40812. "type": "integer"
  40813. },
  40814. "goodsname": {
  40815. "description": "商品名称",
  40816. "type": "string"
  40817. },
  40818. "goodunitid": {
  40819. "description": "商品单位id",
  40820. "type": "integer"
  40821. },
  40822. "intclosepl": {
  40823. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  40824. "type": "integer"
  40825. },
  40826. "isconfirmexercise": {
  40827. "description": "是否确认行权- 0:否 1:是",
  40828. "type": "integer"
  40829. },
  40830. "ismain": {
  40831. "description": "是否主单 - 0:不是 1:是",
  40832. "type": "integer"
  40833. },
  40834. "ispreexercise": {
  40835. "description": "是否预申报- 0:否 1:是",
  40836. "type": "integer"
  40837. },
  40838. "isreckoned": {
  40839. "description": "是否结算 - 0:未结算 1:已结算",
  40840. "type": "integer"
  40841. },
  40842. "listingselecttype": {
  40843. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  40844. "type": "integer"
  40845. },
  40846. "marketid": {
  40847. "description": "市场ID",
  40848. "type": "integer"
  40849. },
  40850. "marketname": {
  40851. "description": "市场名称",
  40852. "type": "string"
  40853. },
  40854. "matchaccountid": {
  40855. "description": "对手账号id",
  40856. "type": "integer"
  40857. },
  40858. "memberuserid": {
  40859. "description": "会员id 个人投资者 需要填写",
  40860. "type": "integer"
  40861. },
  40862. "opencharge": {
  40863. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  40864. "type": "number"
  40865. },
  40866. "openexchagechargevalue": {
  40867. "description": "建仓交易所手续费设置值",
  40868. "type": "number"
  40869. },
  40870. "openfeealgorithm": {
  40871. "description": "建仓手续费收取方式 1:比率 2:固定",
  40872. "type": "integer"
  40873. },
  40874. "openmemberchargevalue": {
  40875. "description": "建仓会员手续费设置值",
  40876. "type": "number"
  40877. },
  40878. "openqty": {
  40879. "description": "开仓数量(先建后平操作 需要记录)",
  40880. "type": "number"
  40881. },
  40882. "optiontype": {
  40883. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40884. "type": "integer"
  40885. },
  40886. "orderid": {
  40887. "description": "委托单号",
  40888. "type": "string"
  40889. },
  40890. "payamount": {
  40891. "description": "支付金额(付款金额)",
  40892. "type": "number"
  40893. },
  40894. "performanceplanid": {
  40895. "description": "履约计划ID[期权]",
  40896. "type": "integer"
  40897. },
  40898. "performancestatus": {
  40899. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  40900. "type": "integer"
  40901. },
  40902. "preexerciseprice": {
  40903. "description": "预申报价格",
  40904. "type": "number"
  40905. },
  40906. "premium": {
  40907. "description": "权利金 - [持仓单的权利金]",
  40908. "type": "number"
  40909. },
  40910. "qtydecimalplace": {
  40911. "description": "商品报价小数位",
  40912. "type": "integer"
  40913. },
  40914. "recvamount": {
  40915. "description": "到账金额 = 成交金额 - 手续费",
  40916. "type": "number"
  40917. },
  40918. "relatedouttradeid": {
  40919. "description": "关联外部成交单ID",
  40920. "type": "integer"
  40921. },
  40922. "status": {
  40923. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  40924. "type": "integer"
  40925. },
  40926. "totalamount": {
  40927. "description": "订单总额 = 成交金额 + 手续费",
  40928. "type": "number"
  40929. },
  40930. "tradeamount": {
  40931. "description": "成交金额[账户币种,用于所有权]",
  40932. "type": "number"
  40933. },
  40934. "tradedate": {
  40935. "description": "交易日(yyyyMMdd)",
  40936. "type": "string"
  40937. },
  40938. "tradeid": {
  40939. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40940. "type": "string"
  40941. },
  40942. "trademode": {
  40943. "description": "交易模式",
  40944. "type": "integer"
  40945. },
  40946. "tradeprice": {
  40947. "description": "成交价格",
  40948. "type": "number"
  40949. },
  40950. "tradeproperty": {
  40951. "description": "交易属性",
  40952. "type": "integer"
  40953. },
  40954. "tradeqty": {
  40955. "description": "成交数量",
  40956. "type": "number"
  40957. },
  40958. "tradetime": {
  40959. "description": "成交时间",
  40960. "type": "string"
  40961. },
  40962. "tradetype": {
  40963. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  40964. "type": "integer"
  40965. }
  40966. }
  40967. },
  40968. "order.QueryTradeOrderDetailRsp": {
  40969. "type": "object",
  40970. "required": [
  40971. "accountid",
  40972. "buildtype",
  40973. "buyorsell",
  40974. "goodsid",
  40975. "marketid",
  40976. "operatetype",
  40977. "orderqty",
  40978. "ordertime",
  40979. "pricemode",
  40980. "tradedate",
  40981. "validtype"
  40982. ],
  40983. "properties": {
  40984. "accountid": {
  40985. "description": "账户ID[报价币种]",
  40986. "type": "integer"
  40987. },
  40988. "buildtype": {
  40989. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  40990. "type": "integer"
  40991. },
  40992. "buyorsell": {
  40993. "description": "买卖 - 0:买 1:卖",
  40994. "type": "integer"
  40995. },
  40996. "cancelorderid": {
  40997. "description": "撤单单号(撤单时填写)",
  40998. "type": "string"
  40999. },
  41000. "cancelqty": {
  41001. "description": "撤单数量",
  41002. "type": "number"
  41003. },
  41004. "clienttype": {
  41005. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  41006. "type": "integer"
  41007. },
  41008. "closefreezecharge": {
  41009. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  41010. "type": "number"
  41011. },
  41012. "closeqty": {
  41013. "description": "平仓数量(先建后平操作 需要记录)",
  41014. "type": "number"
  41015. },
  41016. "closetradeqty": {
  41017. "description": "平仓成交数量(先建后平操作,需要记录)",
  41018. "type": "number"
  41019. },
  41020. "closeunfreezecharge": {
  41021. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  41022. "type": "number"
  41023. },
  41024. "decimalplace": {
  41025. "description": "商品报价小数位",
  41026. "type": "integer"
  41027. },
  41028. "delistingtype": {
  41029. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  41030. "type": "integer"
  41031. },
  41032. "enableqty": {
  41033. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  41034. "type": "number"
  41035. },
  41036. "enumdicname": {
  41037. "description": "单位名称",
  41038. "type": "string"
  41039. },
  41040. "freezecharge": {
  41041. "description": "冻结手续费",
  41042. "type": "number"
  41043. },
  41044. "freezemargin": {
  41045. "description": "冻结保证金(冻结交易金额)",
  41046. "type": "number"
  41047. },
  41048. "goodscode": {
  41049. "description": "商品代码",
  41050. "type": "string"
  41051. },
  41052. "goodsid": {
  41053. "description": "商品ID",
  41054. "type": "integer"
  41055. },
  41056. "goodsname": {
  41057. "description": "商品名称",
  41058. "type": "string"
  41059. },
  41060. "goodunitid": {
  41061. "description": "商品单位id",
  41062. "type": "integer"
  41063. },
  41064. "listingselecttype": {
  41065. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  41066. "type": "integer"
  41067. },
  41068. "marketid": {
  41069. "description": "市场ID",
  41070. "type": "integer"
  41071. },
  41072. "marketname": {
  41073. "description": "市场名称",
  41074. "type": "string"
  41075. },
  41076. "openfreezecharge": {
  41077. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  41078. "type": "number"
  41079. },
  41080. "openqty": {
  41081. "description": "开仓数量(先建后平操作,需要记录)",
  41082. "type": "number"
  41083. },
  41084. "opentradeqty": {
  41085. "description": "开仓成交数量(先建后平操作,需要记录)",
  41086. "type": "number"
  41087. },
  41088. "openunfreezecharge": {
  41089. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  41090. "type": "number"
  41091. },
  41092. "operatetype": {
  41093. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  41094. "type": "integer"
  41095. },
  41096. "operatorid": {
  41097. "description": "登录账号(LoginID)",
  41098. "type": "integer"
  41099. },
  41100. "orderid": {
  41101. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  41102. "type": "string"
  41103. },
  41104. "orderprice": {
  41105. "description": "委托价格",
  41106. "type": "number"
  41107. },
  41108. "orderqty": {
  41109. "description": "委托数量",
  41110. "type": "number"
  41111. },
  41112. "ordersrc": {
  41113. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  41114. "type": "integer"
  41115. },
  41116. "orderstatus": {
  41117. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  41118. "type": "integer"
  41119. },
  41120. "ordertime": {
  41121. "description": "委托时间",
  41122. "type": "string"
  41123. },
  41124. "preorderid": {
  41125. "description": "关联预埋单号(止盈止损单时填写)",
  41126. "type": "string"
  41127. },
  41128. "pricemode": {
  41129. "description": "取价方式 - 1:市价 2: 限价",
  41130. "type": "integer"
  41131. },
  41132. "qtydecimalplace": {
  41133. "description": "商品报价小数位",
  41134. "type": "integer"
  41135. },
  41136. "relatedid": {
  41137. "description": "关联单号(交割单)",
  41138. "type": "string"
  41139. },
  41140. "tradedate": {
  41141. "description": "交易日(yyyyMMdd)",
  41142. "type": "string"
  41143. },
  41144. "trademode": {
  41145. "description": "交易模式",
  41146. "type": "integer"
  41147. },
  41148. "tradeqty": {
  41149. "description": "成交数量",
  41150. "type": "number"
  41151. },
  41152. "unfreezecharge": {
  41153. "description": "解冻手续费",
  41154. "type": "number"
  41155. },
  41156. "unfreezemargin": {
  41157. "description": "解冻保证金",
  41158. "type": "number"
  41159. },
  41160. "validtime": {
  41161. "description": "有效期限",
  41162. "type": "string"
  41163. },
  41164. "validtype": {
  41165. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  41166. "type": "integer"
  41167. },
  41168. "volumetype": {
  41169. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  41170. "type": "integer"
  41171. }
  41172. }
  41173. },
  41174. "order.QueryTradePositionRsp": {
  41175. "type": "object",
  41176. "required": [
  41177. "goodsid"
  41178. ],
  41179. "properties": {
  41180. "accountid": {
  41181. "description": "资金账户",
  41182. "type": "integer"
  41183. },
  41184. "agreeunit": {
  41185. "description": "合约单位",
  41186. "type": "number"
  41187. },
  41188. "averageprice": {
  41189. "description": "持仓均价",
  41190. "type": "number"
  41191. },
  41192. "buyorsell": {
  41193. "description": "方向 - 0:买 1:卖",
  41194. "type": "integer"
  41195. },
  41196. "closetotalqty": {
  41197. "description": "平仓总数量",
  41198. "type": "number"
  41199. },
  41200. "curholderamount": {
  41201. "description": "当前持仓总金额[商品币种]",
  41202. "type": "number"
  41203. },
  41204. "curpositionqty": {
  41205. "description": "当前持仓总数量",
  41206. "type": "number"
  41207. },
  41208. "currencyid": {
  41209. "description": "报价货币ID",
  41210. "type": "integer"
  41211. },
  41212. "curtdposition": {
  41213. "description": "期末今日头寸",
  41214. "type": "number"
  41215. },
  41216. "decimalplace": {
  41217. "description": "报价小数位",
  41218. "type": "integer"
  41219. },
  41220. "enableqty": {
  41221. "description": "可用量",
  41222. "type": "number"
  41223. },
  41224. "fretdposition": {
  41225. "description": "冻结今日头寸",
  41226. "type": "number"
  41227. },
  41228. "frozenqty": {
  41229. "description": "持仓冻结数量",
  41230. "type": "number"
  41231. },
  41232. "goodscode": {
  41233. "description": "商品代码",
  41234. "type": "string"
  41235. },
  41236. "goodsid": {
  41237. "description": "商品Id",
  41238. "type": "integer"
  41239. },
  41240. "goodsname": {
  41241. "description": "商品名称",
  41242. "type": "string"
  41243. },
  41244. "goodunit": {
  41245. "description": "报价单位",
  41246. "type": "string"
  41247. },
  41248. "goodunitid": {
  41249. "description": "报价单位ID",
  41250. "type": "integer"
  41251. },
  41252. "holderamount": {
  41253. "description": "期初持仓总金额[商品币种]",
  41254. "type": "number"
  41255. },
  41256. "lastprice": {
  41257. "description": "最新价",
  41258. "type": "number"
  41259. },
  41260. "marketamount": {
  41261. "description": "市值",
  41262. "type": "number"
  41263. },
  41264. "marketid": {
  41265. "description": "所属市场ID",
  41266. "type": "integer"
  41267. },
  41268. "openreqqty": {
  41269. "description": "开仓申请数量(用于比较最大持仓数量)",
  41270. "type": "number"
  41271. },
  41272. "opentotalqty": {
  41273. "description": "开仓总数量",
  41274. "type": "number"
  41275. },
  41276. "otherfrozenqty": {
  41277. "description": "持仓其他冻结数量(交割冻结)",
  41278. "type": "number"
  41279. },
  41280. "positionpl": {
  41281. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  41282. "type": "number"
  41283. },
  41284. "positionplrate": {
  41285. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  41286. "type": "number"
  41287. },
  41288. "positionqty": {
  41289. "description": "期初持仓数量",
  41290. "type": "number"
  41291. },
  41292. "qtydecimalplace": {
  41293. "description": "成交量小数位",
  41294. "type": "integer"
  41295. },
  41296. "refgoodscode": {
  41297. "description": "参考商品代码",
  41298. "type": "string"
  41299. },
  41300. "refgoodsid": {
  41301. "description": "参考商品ID",
  41302. "type": "integer"
  41303. },
  41304. "tnqty": {
  41305. "description": "T+N冻结总量",
  41306. "type": "number"
  41307. },
  41308. "tnusedqty": {
  41309. "description": "T+N使用量(可以使用T+N的冻结数量)",
  41310. "type": "number"
  41311. },
  41312. "trademode": {
  41313. "description": "交易模式",
  41314. "type": "integer"
  41315. },
  41316. "tradeproperty": {
  41317. "description": "交易属性",
  41318. "type": "integer"
  41319. },
  41320. "usedmargin": {
  41321. "description": "占用保证金[商品币种]",
  41322. "type": "number"
  41323. }
  41324. }
  41325. },
  41326. "pb.GoodsMarginCfgStruct": {
  41327. "type": "object",
  41328. "properties": {
  41329. "CustomerTypeID": {
  41330. "description": "投资者客户类型",
  41331. "type": "integer"
  41332. },
  41333. "GoodsID": {
  41334. "description": "商品ID",
  41335. "type": "integer"
  41336. },
  41337. "IsDefault": {
  41338. "description": "是否默认标志位",
  41339. "type": "integer"
  41340. },
  41341. "LockMarginValue": {
  41342. "description": "锁仓保证金",
  41343. "type": "number"
  41344. },
  41345. "MarginAlgorithm": {
  41346. "description": "保证金计算方式",
  41347. "type": "integer"
  41348. },
  41349. "MarketMarginValue": {
  41350. "description": "即市保证金值",
  41351. "type": "number"
  41352. },
  41353. "RealMarginAlgorithm": {
  41354. "description": "实付保证金计算方式",
  41355. "type": "integer"
  41356. },
  41357. "RealMarginValue": {
  41358. "description": "实付比例",
  41359. "type": "number"
  41360. },
  41361. "ReckonMarginValue": {
  41362. "description": "结算保证金值",
  41363. "type": "number"
  41364. }
  41365. }
  41366. },
  41367. "quote.HistoryData": {
  41368. "type": "object",
  41369. "properties": {
  41370. "c": {
  41371. "description": "收盘价",
  41372. "type": "number"
  41373. },
  41374. "f": {
  41375. "description": "是否补充数据",
  41376. "type": "boolean"
  41377. },
  41378. "h": {
  41379. "description": "最高价",
  41380. "type": "number"
  41381. },
  41382. "hv": {
  41383. "description": "持仓量",
  41384. "type": "integer"
  41385. },
  41386. "l": {
  41387. "description": "最低价",
  41388. "type": "number"
  41389. },
  41390. "o": {
  41391. "description": "开盘价",
  41392. "type": "number"
  41393. },
  41394. "s": {
  41395. "description": "结算价,日线周期(包括)以上才有",
  41396. "type": "number"
  41397. },
  41398. "ts": {
  41399. "description": "时间",
  41400. "type": "string"
  41401. },
  41402. "tt": {
  41403. "description": "总金额",
  41404. "type": "number"
  41405. },
  41406. "tv": {
  41407. "description": "总量(成交量)",
  41408. "type": "integer"
  41409. }
  41410. }
  41411. },
  41412. "quote.HistoryTikData": {
  41413. "type": "object",
  41414. "properties": {
  41415. "AV": {
  41416. "description": "卖量",
  41417. "type": "integer"
  41418. },
  41419. "Ask": {
  41420. "description": "卖价",
  41421. "type": "number"
  41422. },
  41423. "BV": {
  41424. "description": "买量",
  41425. "type": "integer"
  41426. },
  41427. "Bid": {
  41428. "description": "买价",
  41429. "type": "number"
  41430. },
  41431. "HI": {
  41432. "description": "单笔持仓",
  41433. "type": "integer"
  41434. },
  41435. "HV": {
  41436. "description": "持仓量",
  41437. "type": "integer"
  41438. },
  41439. "PE": {
  41440. "description": "现价",
  41441. "type": "number"
  41442. },
  41443. "TDR": {
  41444. "description": "交易方向,0:买 1:卖",
  41445. "type": "integer"
  41446. },
  41447. "TK": {
  41448. "description": "交易类型",
  41449. "type": "integer"
  41450. },
  41451. "TS": {
  41452. "description": "行情时间文本",
  41453. "type": "string"
  41454. },
  41455. "TT": {
  41456. "description": "现金额",
  41457. "type": "number"
  41458. },
  41459. "Vol": {
  41460. "description": "现量",
  41461. "type": "integer"
  41462. }
  41463. }
  41464. },
  41465. "quote.QueryQuoteDayRsp": {
  41466. "type": "object",
  41467. "properties": {
  41468. "ask": {
  41469. "description": "卖1",
  41470. "type": "number"
  41471. },
  41472. "ask10": {
  41473. "description": "卖10",
  41474. "type": "number"
  41475. },
  41476. "ask2": {
  41477. "description": "卖2",
  41478. "type": "number"
  41479. },
  41480. "ask3": {
  41481. "description": "卖3",
  41482. "type": "number"
  41483. },
  41484. "ask4": {
  41485. "description": "卖4",
  41486. "type": "number"
  41487. },
  41488. "ask5": {
  41489. "description": "卖5",
  41490. "type": "number"
  41491. },
  41492. "ask6": {
  41493. "description": "卖6",
  41494. "type": "number"
  41495. },
  41496. "ask7": {
  41497. "description": "卖7",
  41498. "type": "number"
  41499. },
  41500. "ask8": {
  41501. "description": "卖8",
  41502. "type": "number"
  41503. },
  41504. "ask9": {
  41505. "description": "卖9",
  41506. "type": "number"
  41507. },
  41508. "askorderid": {
  41509. "description": "卖单号1",
  41510. "type": "integer"
  41511. },
  41512. "askorderid2": {
  41513. "description": "卖单号2",
  41514. "type": "integer"
  41515. },
  41516. "askorderid3": {
  41517. "description": "卖单号3",
  41518. "type": "integer"
  41519. },
  41520. "askorderid4": {
  41521. "description": "卖单号4",
  41522. "type": "integer"
  41523. },
  41524. "askorderid5": {
  41525. "description": "卖单号5",
  41526. "type": "integer"
  41527. },
  41528. "askordervolume": {
  41529. "description": "卖单量1",
  41530. "type": "integer"
  41531. },
  41532. "askordervolume10": {
  41533. "description": "卖单量10",
  41534. "type": "integer"
  41535. },
  41536. "askordervolume2": {
  41537. "description": "卖单量2",
  41538. "type": "integer"
  41539. },
  41540. "askordervolume3": {
  41541. "description": "卖单量3",
  41542. "type": "integer"
  41543. },
  41544. "askordervolume4": {
  41545. "description": "卖单量4",
  41546. "type": "integer"
  41547. },
  41548. "askordervolume5": {
  41549. "description": "卖单量5",
  41550. "type": "integer"
  41551. },
  41552. "askordervolume6": {
  41553. "description": "卖单量6",
  41554. "type": "integer"
  41555. },
  41556. "askordervolume7": {
  41557. "description": "卖单量7",
  41558. "type": "integer"
  41559. },
  41560. "askordervolume8": {
  41561. "description": "卖单量8",
  41562. "type": "integer"
  41563. },
  41564. "askordervolume9": {
  41565. "description": "卖单量9",
  41566. "type": "integer"
  41567. },
  41568. "askqueueinfo": {
  41569. "description": "大利市卖港股用",
  41570. "type": "string"
  41571. },
  41572. "askvolume": {
  41573. "description": "卖量1",
  41574. "type": "integer"
  41575. },
  41576. "askvolume10": {
  41577. "description": "卖量10",
  41578. "type": "integer"
  41579. },
  41580. "askvolume2": {
  41581. "description": "卖量2",
  41582. "type": "integer"
  41583. },
  41584. "askvolume3": {
  41585. "description": "卖量3",
  41586. "type": "integer"
  41587. },
  41588. "askvolume4": {
  41589. "description": "卖量4",
  41590. "type": "integer"
  41591. },
  41592. "askvolume5": {
  41593. "description": "卖量5",
  41594. "type": "integer"
  41595. },
  41596. "askvolume6": {
  41597. "description": "卖量6",
  41598. "type": "integer"
  41599. },
  41600. "askvolume7": {
  41601. "description": "卖量7",
  41602. "type": "integer"
  41603. },
  41604. "askvolume8": {
  41605. "description": "卖量8",
  41606. "type": "integer"
  41607. },
  41608. "askvolume9": {
  41609. "description": "卖量9",
  41610. "type": "integer"
  41611. },
  41612. "averageprice": {
  41613. "description": "均价",
  41614. "type": "number"
  41615. },
  41616. "bid": {
  41617. "description": "买1",
  41618. "type": "number"
  41619. },
  41620. "bid10": {
  41621. "description": "买10",
  41622. "type": "number"
  41623. },
  41624. "bid2": {
  41625. "description": "买2",
  41626. "type": "number"
  41627. },
  41628. "bid3": {
  41629. "description": "买3",
  41630. "type": "number"
  41631. },
  41632. "bid4": {
  41633. "description": "买4",
  41634. "type": "number"
  41635. },
  41636. "bid5": {
  41637. "description": "买5",
  41638. "type": "number"
  41639. },
  41640. "bid6": {
  41641. "description": "买6",
  41642. "type": "number"
  41643. },
  41644. "bid7": {
  41645. "description": "买7",
  41646. "type": "number"
  41647. },
  41648. "bid8": {
  41649. "description": "买8",
  41650. "type": "number"
  41651. },
  41652. "bid9": {
  41653. "description": "买9",
  41654. "type": "number"
  41655. },
  41656. "bidorderid": {
  41657. "description": "买单号1",
  41658. "type": "integer"
  41659. },
  41660. "bidorderid2": {
  41661. "description": "买单号2",
  41662. "type": "integer"
  41663. },
  41664. "bidorderid3": {
  41665. "description": "买单号3",
  41666. "type": "integer"
  41667. },
  41668. "bidorderid4": {
  41669. "description": "买单号4",
  41670. "type": "integer"
  41671. },
  41672. "bidorderid5": {
  41673. "description": "买单号5",
  41674. "type": "integer"
  41675. },
  41676. "bidordervolume": {
  41677. "description": "买单量1",
  41678. "type": "integer"
  41679. },
  41680. "bidordervolume10": {
  41681. "description": "买单量10",
  41682. "type": "integer"
  41683. },
  41684. "bidordervolume2": {
  41685. "description": "买单量2",
  41686. "type": "integer"
  41687. },
  41688. "bidordervolume3": {
  41689. "description": "买单量3",
  41690. "type": "integer"
  41691. },
  41692. "bidordervolume4": {
  41693. "description": "买单量4",
  41694. "type": "integer"
  41695. },
  41696. "bidordervolume5": {
  41697. "description": "买单量5",
  41698. "type": "integer"
  41699. },
  41700. "bidordervolume6": {
  41701. "description": "买单量6",
  41702. "type": "integer"
  41703. },
  41704. "bidordervolume7": {
  41705. "description": "买单量7",
  41706. "type": "integer"
  41707. },
  41708. "bidordervolume8": {
  41709. "description": "买单量8",
  41710. "type": "integer"
  41711. },
  41712. "bidordervolume9": {
  41713. "description": "买单量9",
  41714. "type": "integer"
  41715. },
  41716. "bidqueueinfo": {
  41717. "description": "大利市买港股用",
  41718. "type": "string"
  41719. },
  41720. "bidvolume": {
  41721. "description": "买量1",
  41722. "type": "integer"
  41723. },
  41724. "bidvolume10": {
  41725. "description": "买量10",
  41726. "type": "integer"
  41727. },
  41728. "bidvolume2": {
  41729. "description": "买量2",
  41730. "type": "integer"
  41731. },
  41732. "bidvolume3": {
  41733. "description": "买量3",
  41734. "type": "integer"
  41735. },
  41736. "bidvolume4": {
  41737. "description": "买量4",
  41738. "type": "integer"
  41739. },
  41740. "bidvolume5": {
  41741. "description": "买量5",
  41742. "type": "integer"
  41743. },
  41744. "bidvolume6": {
  41745. "description": "买量6",
  41746. "type": "integer"
  41747. },
  41748. "bidvolume7": {
  41749. "description": "买量7",
  41750. "type": "integer"
  41751. },
  41752. "bidvolume8": {
  41753. "description": "买量8",
  41754. "type": "integer"
  41755. },
  41756. "bidvolume9": {
  41757. "description": "买量9",
  41758. "type": "integer"
  41759. },
  41760. "calloptionpremiums": {
  41761. "description": "认购期权1",
  41762. "type": "integer"
  41763. },
  41764. "calloptionpremiums2": {
  41765. "description": "认购期权2",
  41766. "type": "integer"
  41767. },
  41768. "calloptionpremiums3": {
  41769. "description": "认购期权3",
  41770. "type": "integer"
  41771. },
  41772. "calloptionpremiums4": {
  41773. "description": "认购期权4",
  41774. "type": "integer"
  41775. },
  41776. "calloptionpremiums5": {
  41777. "description": "认购期权5",
  41778. "type": "integer"
  41779. },
  41780. "cleartime": {
  41781. "description": "清盘时间",
  41782. "type": "integer"
  41783. },
  41784. "exchangecode": {
  41785. "description": "交易所代码",
  41786. "type": "integer"
  41787. },
  41788. "exchangedate": {
  41789. "description": "交易日",
  41790. "type": "integer"
  41791. },
  41792. "goodscode": {
  41793. "description": "商品代码",
  41794. "type": "string"
  41795. },
  41796. "grepmarketprice": {
  41797. "description": "暗盘价 港股专用",
  41798. "type": "number"
  41799. },
  41800. "highest": {
  41801. "description": "最高价",
  41802. "type": "number"
  41803. },
  41804. "holdincrement": {
  41805. "description": "单笔持仓",
  41806. "type": "integer"
  41807. },
  41808. "holdvolume": {
  41809. "description": "持仓",
  41810. "type": "integer"
  41811. },
  41812. "iep": {
  41813. "description": "平衡价 港股专用",
  41814. "type": "number"
  41815. },
  41816. "iev": {
  41817. "description": "平衡量 港股专用",
  41818. "type": "number"
  41819. },
  41820. "inventory": {
  41821. "description": "库存",
  41822. "type": "integer"
  41823. },
  41824. "iscleared": {
  41825. "description": "是否清盘标志",
  41826. "type": "integer"
  41827. },
  41828. "issettled": {
  41829. "description": "是否结算标志",
  41830. "type": "integer"
  41831. },
  41832. "last": {
  41833. "description": "最新价",
  41834. "type": "number"
  41835. },
  41836. "lastlot": {
  41837. "description": "最新成交手数",
  41838. "type": "integer"
  41839. },
  41840. "lasttime": {
  41841. "description": "行情时间(只有现价变化行情时间才变化)",
  41842. "type": "string"
  41843. },
  41844. "lastturnover": {
  41845. "description": "最新成交金额",
  41846. "type": "number"
  41847. },
  41848. "lastvolume": {
  41849. "description": "最新成交量",
  41850. "type": "integer"
  41851. },
  41852. "limitdown": {
  41853. "description": "跌停价",
  41854. "type": "number"
  41855. },
  41856. "limitup": {
  41857. "description": "涨停价",
  41858. "type": "number"
  41859. },
  41860. "lowest": {
  41861. "description": "最低价",
  41862. "type": "number"
  41863. },
  41864. "nontotalholdervolume": {
  41865. "description": "非交易持仓量",
  41866. "type": "integer"
  41867. },
  41868. "nontotallot": {
  41869. "description": "非交易总手数",
  41870. "type": "integer"
  41871. },
  41872. "nontotalturnover": {
  41873. "description": "非交易总金额",
  41874. "type": "integer"
  41875. },
  41876. "nontotalvolume": {
  41877. "description": "非交易总量",
  41878. "type": "integer"
  41879. },
  41880. "opened": {
  41881. "description": "开盘价",
  41882. "type": "number"
  41883. },
  41884. "opentime": {
  41885. "description": "开盘时间",
  41886. "type": "string"
  41887. },
  41888. "orderid": {
  41889. "description": "序号",
  41890. "type": "integer"
  41891. },
  41892. "preclose": {
  41893. "description": "昨收",
  41894. "type": "number"
  41895. },
  41896. "preholdvolume": {
  41897. "description": "昨持仓",
  41898. "type": "integer"
  41899. },
  41900. "presettle": {
  41901. "description": "昨结价",
  41902. "type": "number"
  41903. },
  41904. "publictradetype": {
  41905. "description": "公共交易标志类型 港股专用",
  41906. "type": "string"
  41907. },
  41908. "putoptionpremiums": {
  41909. "description": "认沽期权1",
  41910. "type": "integer"
  41911. },
  41912. "putoptionpremiums2": {
  41913. "description": "认沽期权2",
  41914. "type": "integer"
  41915. },
  41916. "putoptionpremiums3": {
  41917. "description": "认沽期权3",
  41918. "type": "integer"
  41919. },
  41920. "putoptionpremiums4": {
  41921. "description": "认沽期权4",
  41922. "type": "integer"
  41923. },
  41924. "putoptionpremiums5": {
  41925. "description": "认沽期权5",
  41926. "type": "integer"
  41927. },
  41928. "settle": {
  41929. "description": "结算价",
  41930. "type": "number"
  41931. },
  41932. "strikeprice": {
  41933. "description": "发行价",
  41934. "type": "number"
  41935. },
  41936. "totalaskvolume": {
  41937. "description": "内盘",
  41938. "type": "integer"
  41939. },
  41940. "totalbidvolume": {
  41941. "description": "外盘",
  41942. "type": "integer"
  41943. },
  41944. "totallot": {
  41945. "description": "总手数",
  41946. "type": "integer"
  41947. },
  41948. "totalturnover": {
  41949. "description": "总金额",
  41950. "type": "number"
  41951. },
  41952. "totalvolume": {
  41953. "description": "总量",
  41954. "type": "integer"
  41955. },
  41956. "utclasttime": {
  41957. "description": "utc的行情时间",
  41958. "type": "string"
  41959. }
  41960. }
  41961. },
  41962. "quote.QueryTSDataRsp": {
  41963. "type": "object",
  41964. "properties": {
  41965. "Count": {
  41966. "description": "交易日应有数据个数",
  41967. "type": "integer"
  41968. },
  41969. "decimalPlace": {
  41970. "description": "小数位",
  41971. "type": "integer"
  41972. },
  41973. "endTime": {
  41974. "description": "结束时间",
  41975. "type": "string"
  41976. },
  41977. "goodsCode": {
  41978. "description": "商品代码",
  41979. "type": "string"
  41980. },
  41981. "historyDatas": {
  41982. "description": "历史数据",
  41983. "type": "array",
  41984. "items": {
  41985. "$ref": "#/definitions/quote.HistoryData"
  41986. }
  41987. },
  41988. "outGoodsCode": {
  41989. "description": "外部商品代码",
  41990. "type": "string"
  41991. },
  41992. "preSettle": {
  41993. "description": "昨结价",
  41994. "type": "number"
  41995. },
  41996. "runSteps": {
  41997. "description": "交易日开休市计划",
  41998. "type": "array",
  41999. "items": {
  42000. "$ref": "#/definitions/quote.TSDataRunStep"
  42001. }
  42002. },
  42003. "startTime": {
  42004. "description": "开始时间",
  42005. "type": "string"
  42006. },
  42007. "tradeDate": {
  42008. "description": "交易日",
  42009. "type": "string"
  42010. }
  42011. }
  42012. },
  42013. "quote.TSDataRunStep": {
  42014. "type": "object",
  42015. "properties": {
  42016. "end": {
  42017. "description": "真实结束时间",
  42018. "type": "string"
  42019. },
  42020. "endflag": {
  42021. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  42022. "type": "integer"
  42023. },
  42024. "endtime": {
  42025. "description": "结束时间(HH:mm)",
  42026. "type": "string"
  42027. },
  42028. "endweekday": {
  42029. "description": "结束周几",
  42030. "type": "integer"
  42031. },
  42032. "groupid": {
  42033. "description": "分组ID",
  42034. "type": "integer"
  42035. },
  42036. "runstep": {
  42037. "description": "运行阶段 - 2:连续交易",
  42038. "type": "integer"
  42039. },
  42040. "sectionid": {
  42041. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  42042. "type": "integer"
  42043. },
  42044. "start": {
  42045. "description": "真实开始时间",
  42046. "type": "string"
  42047. },
  42048. "startflag": {
  42049. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  42050. "type": "integer"
  42051. },
  42052. "starttime": {
  42053. "description": "起始时间(HH:mm)",
  42054. "type": "string"
  42055. },
  42056. "startweekday": {
  42057. "description": "起始周几",
  42058. "type": "integer"
  42059. },
  42060. "tradeweekday": {
  42061. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  42062. "type": "integer"
  42063. }
  42064. }
  42065. },
  42066. "szdz.QueryConvertLogRsp": {
  42067. "type": "object",
  42068. "required": [
  42069. "logid"
  42070. ],
  42071. "properties": {
  42072. "accountid": {
  42073. "description": "资金账户ID",
  42074. "type": "integer"
  42075. },
  42076. "clientticket": {
  42077. "description": "客户端流水号",
  42078. "type": "string"
  42079. },
  42080. "converttype": {
  42081. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  42082. "type": "integer"
  42083. },
  42084. "createtime": {
  42085. "description": "记账时间",
  42086. "type": "string"
  42087. },
  42088. "daymaxvalue": {
  42089. "description": "配置当日最大转入限制",
  42090. "type": "number"
  42091. },
  42092. "daymaxvalue2": {
  42093. "description": "配置当日最大转入限制(转入)",
  42094. "type": "number"
  42095. },
  42096. "goodscode": {
  42097. "description": "商品代码",
  42098. "type": "string"
  42099. },
  42100. "goodsname": {
  42101. "description": "商品名称",
  42102. "type": "string"
  42103. },
  42104. "handlestatus": {
  42105. "description": "处理状态",
  42106. "type": "integer"
  42107. },
  42108. "innergoodsid": {
  42109. "description": "内部商品ID",
  42110. "type": "integer"
  42111. },
  42112. "inratio": {
  42113. "description": "配置转入比值",
  42114. "type": "integer"
  42115. },
  42116. "invalue": {
  42117. "description": "目标值",
  42118. "type": "number"
  42119. },
  42120. "logid": {
  42121. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42122. "type": "integer"
  42123. },
  42124. "mobile": {
  42125. "description": "手机号码(加密存储)",
  42126. "type": "string"
  42127. },
  42128. "outergoodscode": {
  42129. "description": "外部商品代码[JD\\PD]",
  42130. "type": "string"
  42131. },
  42132. "outratio": {
  42133. "description": "配置转出比值",
  42134. "type": "integer"
  42135. },
  42136. "outvalue": {
  42137. "description": "源值",
  42138. "type": "number"
  42139. },
  42140. "pddecimalplace": {
  42141. "description": "PD小数位",
  42142. "type": "integer"
  42143. },
  42144. "qty": {
  42145. "description": "数量",
  42146. "type": "string"
  42147. },
  42148. "remark": {
  42149. "description": "备注",
  42150. "type": "string"
  42151. },
  42152. "sessionid": {
  42153. "description": "会话ID",
  42154. "type": "integer"
  42155. },
  42156. "timemaxvalue": {
  42157. "description": "配置单次最大转入限制",
  42158. "type": "number"
  42159. },
  42160. "timemaxvalue2": {
  42161. "description": "配置单次最大转入限制(转入)",
  42162. "type": "number"
  42163. },
  42164. "timeminvalue": {
  42165. "description": "配置单次最小数量限制",
  42166. "type": "number"
  42167. },
  42168. "timeminvalue2": {
  42169. "description": "配置单次最小数量限制(转入)",
  42170. "type": "number"
  42171. },
  42172. "tradedate": {
  42173. "description": "交易日(yyyyMMdd)",
  42174. "type": "string"
  42175. },
  42176. "userid": {
  42177. "description": "用户ID",
  42178. "type": "integer"
  42179. }
  42180. }
  42181. },
  42182. "szdz.QueryGoodsPickupRsp": {
  42183. "type": "object",
  42184. "required": [
  42185. "takeorderid"
  42186. ],
  42187. "properties": {
  42188. "accountid": {
  42189. "description": "账户ID",
  42190. "type": "integer"
  42191. },
  42192. "address": {
  42193. "description": "提货人详细地址",
  42194. "type": "string"
  42195. },
  42196. "auditer": {
  42197. "description": "审核人",
  42198. "type": "integer"
  42199. },
  42200. "audittime": {
  42201. "description": "审核时间",
  42202. "type": "string"
  42203. },
  42204. "cardnum": {
  42205. "description": "提货人证件号码",
  42206. "type": "string"
  42207. },
  42208. "cardtypeid": {
  42209. "description": "提货人证件类型",
  42210. "type": "integer"
  42211. },
  42212. "checkremark": {
  42213. "description": "审核备注",
  42214. "type": "string"
  42215. },
  42216. "goodscode": {
  42217. "description": "商品代码",
  42218. "type": "string"
  42219. },
  42220. "goodsid": {
  42221. "description": "商品ID",
  42222. "type": "integer"
  42223. },
  42224. "goodsname": {
  42225. "description": "商品名称",
  42226. "type": "string"
  42227. },
  42228. "handlestatus": {
  42229. "description": "处理状态",
  42230. "type": "integer"
  42231. },
  42232. "marketid": {
  42233. "description": "市场ID",
  42234. "type": "integer"
  42235. },
  42236. "phonenum": {
  42237. "description": "提货人联系方式",
  42238. "type": "string"
  42239. },
  42240. "qty": {
  42241. "description": "提货数量",
  42242. "type": "number"
  42243. },
  42244. "recivername": {
  42245. "description": "提货人姓名",
  42246. "type": "string"
  42247. },
  42248. "reqtime": {
  42249. "description": "更新时间",
  42250. "type": "string"
  42251. },
  42252. "takemode": {
  42253. "description": "提货方式 - 2:自提 3:配送",
  42254. "type": "integer"
  42255. },
  42256. "takeorderid": {
  42257. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  42258. "type": "string"
  42259. },
  42260. "takeorderstatus": {
  42261. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  42262. "type": "integer"
  42263. },
  42264. "takeremark": {
  42265. "description": "提货备注",
  42266. "type": "string"
  42267. },
  42268. "tradedate": {
  42269. "description": "交易日(yyyyMMdd)",
  42270. "type": "string"
  42271. },
  42272. "userid": {
  42273. "description": "用户ID",
  42274. "type": "integer"
  42275. }
  42276. }
  42277. },
  42278. "szdz.QueryRecieptOrderRsp": {
  42279. "type": "object",
  42280. "required": [
  42281. "ordertime"
  42282. ],
  42283. "properties": {
  42284. "accountName": {
  42285. "description": "所属账号名称(已脱敏)",
  42286. "type": "string"
  42287. },
  42288. "accountid": {
  42289. "description": "资金账号",
  42290. "type": "integer"
  42291. },
  42292. "buyorsell": {
  42293. "description": "方向 - 0:买 1:卖",
  42294. "type": "integer"
  42295. },
  42296. "enableqty": {
  42297. "description": "可摘数量",
  42298. "type": "integer"
  42299. },
  42300. "goodscode": {
  42301. "description": "商品代码",
  42302. "type": "string"
  42303. },
  42304. "goodsid": {
  42305. "description": "商品ID",
  42306. "type": "integer"
  42307. },
  42308. "goodsname": {
  42309. "description": "商品名称",
  42310. "type": "string"
  42311. },
  42312. "orderid": {
  42313. "description": "委托单号",
  42314. "type": "string"
  42315. },
  42316. "orderprice": {
  42317. "description": "委托价格",
  42318. "type": "number"
  42319. },
  42320. "ordertime": {
  42321. "description": "委托时间",
  42322. "type": "string"
  42323. },
  42324. "tradedate": {
  42325. "description": "交易日(yyyyMMdd)",
  42326. "type": "string"
  42327. }
  42328. }
  42329. },
  42330. "szdz.QuerySZDZTradePositionRsp": {
  42331. "type": "object",
  42332. "properties": {
  42333. "accountid": {
  42334. "description": "账号Id",
  42335. "type": "integer"
  42336. },
  42337. "agreeunit": {
  42338. "description": "合约单位",
  42339. "type": "number"
  42340. },
  42341. "averageprice": {
  42342. "description": "持仓均价",
  42343. "type": "number"
  42344. },
  42345. "buyorsell": {
  42346. "description": "方向 - 0:买 1:卖",
  42347. "type": "integer"
  42348. },
  42349. "closetotalqty": {
  42350. "description": "平仓总数量",
  42351. "type": "integer"
  42352. },
  42353. "curholderamount": {
  42354. "description": "当前持仓总金额",
  42355. "type": "number"
  42356. },
  42357. "curpositionqty": {
  42358. "description": "当前持仓总数量",
  42359. "type": "integer"
  42360. },
  42361. "currencyid": {
  42362. "description": "报价货币ID",
  42363. "type": "integer"
  42364. },
  42365. "curtdposition": {
  42366. "description": "期末今日头寸",
  42367. "type": "integer"
  42368. },
  42369. "decimalplace": {
  42370. "description": "报价小数位",
  42371. "type": "integer"
  42372. },
  42373. "enableqty": {
  42374. "description": "可用量",
  42375. "type": "integer"
  42376. },
  42377. "fretdposition": {
  42378. "description": "冻结今日头寸",
  42379. "type": "integer"
  42380. },
  42381. "frozenqty": {
  42382. "description": "持仓冻结数量",
  42383. "type": "integer"
  42384. },
  42385. "goodscode": {
  42386. "description": "商品代码(内部)",
  42387. "type": "string"
  42388. },
  42389. "goodsid": {
  42390. "description": "商品Id",
  42391. "type": "integer"
  42392. },
  42393. "goodsname": {
  42394. "description": "商品名称",
  42395. "type": "string"
  42396. },
  42397. "goodunit": {
  42398. "description": "报价单位",
  42399. "type": "string"
  42400. },
  42401. "goodunitid": {
  42402. "description": "报价单位ID",
  42403. "type": "integer"
  42404. },
  42405. "holderamount": {
  42406. "description": "期初持仓总金额",
  42407. "type": "number"
  42408. },
  42409. "marketid": {
  42410. "description": "市场ID",
  42411. "type": "integer"
  42412. },
  42413. "openreqqty": {
  42414. "description": "开仓申请数量",
  42415. "type": "integer"
  42416. },
  42417. "opentotalqty": {
  42418. "description": "开仓总数量",
  42419. "type": "integer"
  42420. },
  42421. "otherfrozenqty": {
  42422. "description": "持仓其他冻结数量(交割冻结)",
  42423. "type": "integer"
  42424. },
  42425. "positionqty": {
  42426. "description": "期初持仓数量",
  42427. "type": "integer"
  42428. },
  42429. "szdz3freezqty": {
  42430. "description": "尚志大宗转换冻结总数量",
  42431. "type": "integer"
  42432. },
  42433. "tnqty": {
  42434. "description": "T+N冻结总量",
  42435. "type": "integer"
  42436. },
  42437. "tnusedqty": {
  42438. "description": "T+N使用量",
  42439. "type": "integer"
  42440. },
  42441. "trademode": {
  42442. "description": "交易模式",
  42443. "type": "integer"
  42444. },
  42445. "usedmargin": {
  42446. "description": "占用保证金",
  42447. "type": "number"
  42448. }
  42449. }
  42450. },
  42451. "taaccount.QueryAmountLogRsp": {
  42452. "type": "object",
  42453. "required": [
  42454. "accountid",
  42455. "amount",
  42456. "amountadjusttype",
  42457. "autoid",
  42458. "balance",
  42459. "createtime",
  42460. "currentbalance",
  42461. "operatetype"
  42462. ],
  42463. "properties": {
  42464. "OPERATETYPENAME": {
  42465. "description": "资金操作类型名称",
  42466. "type": "string"
  42467. },
  42468. "accountid": {
  42469. "description": "资金账户ID",
  42470. "type": "integer"
  42471. },
  42472. "agoodscode": {
  42473. "description": "竞拍商品代码",
  42474. "type": "string"
  42475. },
  42476. "agoodsname": {
  42477. "description": "竞拍商品名称",
  42478. "type": "string"
  42479. },
  42480. "amount": {
  42481. "description": "资金金额",
  42482. "type": "number"
  42483. },
  42484. "amountadjusttype": {
  42485. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  42486. "type": "integer"
  42487. },
  42488. "autoid": {
  42489. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  42490. "type": "integer"
  42491. },
  42492. "balance": {
  42493. "description": "期初余额",
  42494. "type": "number"
  42495. },
  42496. "businesscode": {
  42497. "description": "业务编号",
  42498. "type": "integer"
  42499. },
  42500. "createtime": {
  42501. "description": "发生时间",
  42502. "type": "string"
  42503. },
  42504. "currencyid": {
  42505. "description": "币种ID",
  42506. "type": "integer"
  42507. },
  42508. "currentbalance": {
  42509. "description": "期末余额(变动后金额)",
  42510. "type": "number"
  42511. },
  42512. "dgoodscode": {
  42513. "description": "交割商品代码",
  42514. "type": "string"
  42515. },
  42516. "dgoodsname": {
  42517. "description": "交割商品名称",
  42518. "type": "string"
  42519. },
  42520. "goodscode": {
  42521. "description": "商品代码",
  42522. "type": "string"
  42523. },
  42524. "goodsid": {
  42525. "description": "商品ID",
  42526. "type": "integer"
  42527. },
  42528. "goodsname": {
  42529. "description": "商品名称",
  42530. "type": "string"
  42531. },
  42532. "marketid": {
  42533. "description": "市场ID",
  42534. "type": "integer"
  42535. },
  42536. "marketname": {
  42537. "description": "市场名称",
  42538. "type": "string"
  42539. },
  42540. "moneyticket": {
  42541. "description": "资金流水号:银行端流水号",
  42542. "type": "integer"
  42543. },
  42544. "operatetype": {
  42545. "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:营销收款",
  42546. "type": "integer"
  42547. },
  42548. "relationorderid": {
  42549. "description": "关联单号",
  42550. "type": "string"
  42551. },
  42552. "remark": {
  42553. "description": "备注",
  42554. "type": "string"
  42555. },
  42556. "trademode": {
  42557. "description": "交易模式",
  42558. "type": "integer"
  42559. }
  42560. }
  42561. },
  42562. "taaccount.QueryHisAmountLogRsp": {
  42563. "type": "object",
  42564. "required": [
  42565. "accountid",
  42566. "amount",
  42567. "amountadjusttype",
  42568. "autoid",
  42569. "balance",
  42570. "createtime",
  42571. "currentbalance",
  42572. "histradedate",
  42573. "operatetype"
  42574. ],
  42575. "properties": {
  42576. "OPERATETYPENAME": {
  42577. "description": "资金操作类型名称",
  42578. "type": "string"
  42579. },
  42580. "accountid": {
  42581. "description": "资金账户ID",
  42582. "type": "integer"
  42583. },
  42584. "agoodscode": {
  42585. "description": "竞拍商品代码",
  42586. "type": "string"
  42587. },
  42588. "agoodsname": {
  42589. "description": "竞拍商品名称",
  42590. "type": "string"
  42591. },
  42592. "amount": {
  42593. "description": "资金金额",
  42594. "type": "number"
  42595. },
  42596. "amountadjusttype": {
  42597. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  42598. "type": "integer"
  42599. },
  42600. "autoid": {
  42601. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  42602. "type": "integer"
  42603. },
  42604. "balance": {
  42605. "description": "期初余额",
  42606. "type": "number"
  42607. },
  42608. "businesscode": {
  42609. "description": "业务编号",
  42610. "type": "integer"
  42611. },
  42612. "createtime": {
  42613. "description": "发生时间",
  42614. "type": "string"
  42615. },
  42616. "currencyid": {
  42617. "description": "币种ID",
  42618. "type": "integer"
  42619. },
  42620. "currentbalance": {
  42621. "description": "期末余额(变动后金额)",
  42622. "type": "number"
  42623. },
  42624. "dgoodscode": {
  42625. "description": "交割商品代码",
  42626. "type": "string"
  42627. },
  42628. "dgoodsname": {
  42629. "description": "交割商品名称",
  42630. "type": "string"
  42631. },
  42632. "goodscode": {
  42633. "description": "商品代码",
  42634. "type": "string"
  42635. },
  42636. "goodsid": {
  42637. "description": "商品ID",
  42638. "type": "integer"
  42639. },
  42640. "goodsname": {
  42641. "description": "商品名称",
  42642. "type": "string"
  42643. },
  42644. "histradedate": {
  42645. "description": "历史交易日",
  42646. "type": "string"
  42647. },
  42648. "isvaliddata": {
  42649. "description": "是否有效 - 0:无效 1:有效",
  42650. "type": "integer"
  42651. },
  42652. "marketid": {
  42653. "description": "市场ID",
  42654. "type": "integer"
  42655. },
  42656. "marketname": {
  42657. "description": "市场名称",
  42658. "type": "string"
  42659. },
  42660. "moneyticket": {
  42661. "description": "资金流水号:银行端流水号",
  42662. "type": "integer"
  42663. },
  42664. "operatetype": {
  42665. "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:营销收款",
  42666. "type": "integer"
  42667. },
  42668. "relationorderid": {
  42669. "description": "关联单号",
  42670. "type": "string"
  42671. },
  42672. "remark": {
  42673. "description": "备注",
  42674. "type": "string"
  42675. },
  42676. "trademode": {
  42677. "description": "交易模式",
  42678. "type": "integer"
  42679. }
  42680. }
  42681. },
  42682. "trade.QueryRecieptOrderRsp": {
  42683. "type": "object",
  42684. "required": [
  42685. "ordertime"
  42686. ],
  42687. "properties": {
  42688. "accountName": {
  42689. "description": "所属账号名称(已脱敏)",
  42690. "type": "string"
  42691. },
  42692. "accountid": {
  42693. "description": "资金账号",
  42694. "type": "integer"
  42695. },
  42696. "buyorsell": {
  42697. "description": "方向 - 0:买 1:卖",
  42698. "type": "integer"
  42699. },
  42700. "enableqty": {
  42701. "description": "可摘数量",
  42702. "type": "integer"
  42703. },
  42704. "goodscode": {
  42705. "description": "商品代码",
  42706. "type": "string"
  42707. },
  42708. "goodsid": {
  42709. "description": "商品ID",
  42710. "type": "integer"
  42711. },
  42712. "goodsname": {
  42713. "description": "商品名称",
  42714. "type": "string"
  42715. },
  42716. "orderid": {
  42717. "description": "委托单号",
  42718. "type": "string"
  42719. },
  42720. "orderprice": {
  42721. "description": "委托价格",
  42722. "type": "number"
  42723. },
  42724. "ordertime": {
  42725. "description": "委托时间",
  42726. "type": "string"
  42727. },
  42728. "tradedate": {
  42729. "description": "交易日(yyyyMMdd)",
  42730. "type": "string"
  42731. }
  42732. }
  42733. },
  42734. "user.LoginQueryRsp": {
  42735. "type": "object",
  42736. "properties": {
  42737. "areaRoles": {
  42738. "description": "所属角色信息",
  42739. "type": "array",
  42740. "items": {
  42741. "$ref": "#/definitions/models.Arearole"
  42742. }
  42743. },
  42744. "externalExchanges": {
  42745. "description": "外部交易所",
  42746. "type": "array",
  42747. "items": {
  42748. "$ref": "#/definitions/models.Externalexchange"
  42749. }
  42750. },
  42751. "goodsgroups": {
  42752. "description": "商品组",
  42753. "type": "array",
  42754. "items": {
  42755. "$ref": "#/definitions/models.Goodsgroup"
  42756. }
  42757. },
  42758. "loginAccount": {
  42759. "description": "登录账号",
  42760. "$ref": "#/definitions/models.Loginaccount"
  42761. },
  42762. "markets": {
  42763. "description": "市场",
  42764. "type": "array",
  42765. "items": {
  42766. "$ref": "#/definitions/models.Market"
  42767. }
  42768. },
  42769. "systemParams": {
  42770. "description": "系统参数",
  42771. "type": "array",
  42772. "items": {
  42773. "$ref": "#/definitions/models.Systemparam"
  42774. }
  42775. },
  42776. "userAccount": {
  42777. "description": "用户账号",
  42778. "$ref": "#/definitions/models.Useraccount"
  42779. },
  42780. "userInfo": {
  42781. "description": "用户信息",
  42782. "$ref": "#/definitions/models.Userinfo"
  42783. },
  42784. "username": {
  42785. "description": "用户姓名",
  42786. "type": "string"
  42787. }
  42788. }
  42789. }
  42790. },
  42791. "securityDefinitions": {
  42792. "ApiKeyAuth": {
  42793. "type": "apiKey",
  42794. "name": "Authorization",
  42795. "in": "header"
  42796. }
  42797. }
  42798. }`
  42799. type swaggerInfo struct {
  42800. Version string
  42801. Host string
  42802. BasePath string
  42803. Schemes []string
  42804. Title string
  42805. Description string
  42806. }
  42807. // SwaggerInfo holds exported Swagger Info so clients can modify it
  42808. var SwaggerInfo = swaggerInfo{
  42809. Version: "1.0",
  42810. Host: "",
  42811. BasePath: "/api",
  42812. Schemes: []string{},
  42813. Title: "MTP2.0 查询服务 API",
  42814. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  42815. }
  42816. type s struct{}
  42817. func (s *s) ReadDoc() string {
  42818. sInfo := SwaggerInfo
  42819. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  42820. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  42821. "marshal": func(v interface{}) string {
  42822. a, _ := json.Marshal(v)
  42823. return string(a)
  42824. },
  42825. }).Parse(doc)
  42826. if err != nil {
  42827. return doc
  42828. }
  42829. var tpl bytes.Buffer
  42830. if err := t.Execute(&tpl, sInfo); err != nil {
  42831. return doc
  42832. }
  42833. return tpl.String()
  42834. }
  42835. func init() {
  42836. swag.Register(swag.Name, &s{})
  42837. }